Renesas M32R/ECU Series User Manual page 327

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10
(3) Precautions on using TOP single-shot output mode
The following describes precautions to be observed when using TOP 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.
• Because the timer operates synchronously with the count clock, a count clock-dependent delay is included
before F/F output is inverted after the timer is enabled.
• When writing to the correction register, be careful not to cause the counter to overflow. 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 re-
quest is generated for an underflow that includes the overflowed count.
MULTIJUNCTION TIMERS
10.3 TOP (Output-Related 16-Bit Timer)
10-84
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents