EasyManuals Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #333 background imageLoading...
Page #333 background image
10
10-90
MULTIJUNCTION TIMERS
10.3 TOP (Output-Related 16-Bit Timer)
32180 Group Users Manual (Rev.1.0)
(3) Precautions on using TOP delayed single-shot output mode
The following describes precautions to be observed when using TOP delayed single-shot output mode.
If the counter stops due to an underflow in the same clock period as the timer is enabled by external input,
the former has priority so that the counter stops.
If the counter stops due to an underflow in the same clock period as count is enabled by writing to the enable
bit, the latter has priority so that count is enabled.
If the timer is enabled by external input in the same clock period as count is disabled by writing to the enable
bit, the latter has priority so that count is disabled.
Even if the counter overflows due to correction of counts, no interrupt requests are generated for reasons of
an overflow. Therefore, if the counter underflows in the subsequent down-count after an overflow, a false
interrupt request is generated for an underflow that includes the overflowed count.
If the counter is accessed for read immediately after being reloaded pursuant to an underflow, the counter
value temporarily reads as HFFFF but immediately changes to (reload value 1) at the next clock edge.
Figure 10.3.16 Counter Value Immediately after Underflow
Count clock
Enable bit
"H"
H'0001 H'0000 H'FFFF H'AAA9 H'AAA8
Counter value
H'AAAA
Reload register
Reload due to underflow
H'(AAAA-1) H'(AAAA-2)
What is seen during reload cycle is always H'FFFF,
and not the reload register value (in this case, H'AAAA).
Count down from the
reload register value
Reload cycle

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals