10
10-90
MULTIJUNCTION TIMERS
10.3 TOP (Output-Related 16-Bit Timer)
32180 Group User’s 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 H’FFFF 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
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...