Chapter 8
8-bit Timer
VIII - 42 Cascade Connection
■ Cascade Connection Operation (When using timers as a 32-bit timer)
Table:8.7.3 shows timer functions at 32-bit timer cascade connection.
Table:8.7.3 Cascade Connection Operation (When using timers as a 32-bit timer)
■ Count Timing of Cascade Connection
Figure:8.7.1 shows timing when cascaded timer 1 and timer 0 count down as a 16-bit timer.
Figure:8.7.1 Count Timing of Cascade Connection
32-bit timer Timer 3 + timer 2 + timer 1
+ timer 0
Timer 7 + timer 6 + timer 5
+ timer 4
Timer 17 + timer 16 + timer 15
+ timer 14
Interrupt source TM3IRQ TM7IRQ TM17IRQ
Interval timer O O O
TImer output Timer 3 Timer 7 Timer 17
Event counter Timer 0 Timer 4 Timer 14
Cascade connection set-
ting register
TM3MD
TM2MD
TM1MD
TM7MD
TM6MD
TM5MD
TM17MD
TM16MD
TM15MD
Count clock source set-
ting register
TM0MD TM4MD TM14MD
Count value setting regis-
ter
TM3BR+TM2BR+TM1BR
+TM0BR
TM7BR+TM6BR+TM5BR
+TM4BR
TM17BR+TM16BR+TM15BR
+TM14BR
01 M-1M00
N
M
01 00 FF FE 01 00 N N-1 01 00 FF FE FD
Timer 0
binary counter
Interrupt request
TMIRQ0
Count clock
Timer 0
base register
Timer 1
base register
Timer 1
binary counter
Interrupt request
TMIRQ1