CHAPTER 9 TIMER/COUNTER FUNCTION
321
User’s Manual U15195EJ5V0UD
(3) Interrupt signal output upon compare match
An interrupt signal is output when the count value of TM10 matches the set value of the CM100, CM101,
CC100
Note
, or CC101
Note
register. The interrupt generation timing is as follows.
Note
When CC100 and CC101 are set to the compare register mode.
Figure 9-62. Interrupt Output upon Compare Match
(CM101 with Operation Mode Set to General-Purpose Timer Mode and Count Clock Set to f
CLK
/2)
Count clock
f
CLK
CM101
0007H
TM10
Internal match signal
INTCM101
0008H
000BH
0009H
0009H
000AH
Remark
f
CLK
: Base clock
An interrupt signal such as the one illustrated in Figure 9-62 is output at the next count clock following a
match of the TM10 count value and the set value of the corresponding compare register.
(4) TM1UBD0 flag (bit 0 of STATUS0 register) operation
In the UDC mode (CMD bit of TUM0 register = 1), the TM1UBD0 flag changes as follows during TM10
up/down count operation at every internal operation clock.
Figure 9-63. TM1UBD0 Flag Operation
Count clock
TM1UBD0
0001H
0000H
TM10
0000H
0001H
0001H
0000H