From 64ad33b0a946f0bd062047e1d25032056a9797d3 Mon Sep 17 00:00:00 2001 From: Michael Golovanov Date: Tue, 24 Dec 2024 17:50:05 +0300 Subject: [PATCH] Fix timer0_mode2_reload - TH0 value should be set, now used TL0 --- VERSION_HISTORY.md | 4 ++-- docs/html/group__timer0__mode2.html | 4 ++-- docs/html/md_VERSION_HISTORY.html | 4 ++-- docs/html/timer0__mode2_8h_source.html | 4 ++-- examples/.sconsign.dblite | Bin 67261 -> 67261 bytes include/timer0_mode2.h | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/VERSION_HISTORY.md b/VERSION_HISTORY.md index 253ef83..d484b8d 100644 --- a/VERSION_HISTORY.md +++ b/VERSION_HISTORY.md @@ -75,11 +75,11 @@ 0.9 * Pin module set port mode routines implemented +* Fix examples/mode0/timer2 compilation +* Fix timer0_mode2_reload - TH0 value should be set, now used TL0 Next releases todo * TODO Implement timer_modeX_direct_*(TxH, TxL) for direct set TLx, THx registers -* Fix timer0_mode2_reload - TH0 value should be set, now used TL0 -* Fix examples/mode0/timer2 compilation * TODO Does not recompile examples every time. Compile only when it changed. * TODO Suppress compiler output for examples on non verbose build * TODO Implement counters diff --git a/docs/html/group__timer0__mode2.html b/docs/html/group__timer0__mode2.html index 2c38bd8..b23be7a 100644 --- a/docs/html/group__timer0__mode2.html +++ b/docs/html/group__timer0__mode2.html @@ -373,8 +373,8 @@

Value:
{ \
-
/* Load timer high and low bytes value */ \
-
TL0 = (0xff - ticks); \
+
/* Load timer value */ \
+
TH0 = (0xff - ticks); \
}

Reload timer0 mode2 ticks on the fly.

diff --git a/docs/html/md_VERSION_HISTORY.html b/docs/html/md_VERSION_HISTORY.html index 10707fc..e46a374 100644 --- a/docs/html/md_VERSION_HISTORY.html +++ b/docs/html/md_VERSION_HISTORY.html @@ -142,11 +142,11 @@

0.9

  • Pin module set port mode routines implemented
  • +
  • Fix examples/mode0/timer2 compilation
  • +
  • Fix timer0_mode2_reload - TH0 value should be set, now used TL0

Next releases todo