Panasonic MN103001G/F01K User Manual page 249

Panax series microcomputer
Table of Contents

Advertisement

Differences between using a timer as a prescaler and when cascaded
The following explanation of these differences uses the cases where the clock source for timer 1 is set to "timer 0
underflow" and to "cascaded with timer 0" as examples.
When "timer 0 underflow" is set, operation is as shown in Fig. 10-6-6. (IOCLK is selected as the clock source for
timer 0.)
When TM0BC underflows, the value that is set in TM0BR is loaded into TM0BC, and the value in TM1BC is
decremented by one.
When TM1BC underflows, the value that is set in TM1BR is loaded into TM1BC.
IOCLK
TM0BC value
x'01
Interrupt request
signal (TM0IRQ)
TM1BC value
x'01
Interrupt request
signal (TM1IRQ)
x'00
TM0BR value TM0BR value-1
x'00
Fig. 10-6-6 Operation of Timers 0 and 1 (1)
x'01
x'00
TM0BR value TM0BR value-1
TM1BR value
8-bit Timers
x'01
x'00
TM0BR value
10-29

Advertisement

Table of Contents
loading

Table of Contents