CHAPTER 9 TIMER/COUNTER FUNCTION
320
User’s Manual U15195EJ5V0UD
Figure 9-60. Clear Operation After Match of CM101 Register Set Value and TM10 Count Value
(a) Down count
→
Down count
Count clock
(Rising edge set as valid edge)
CM101 register
00FFH
TM10 cleared
TM10
00FEH
0000H
FFFFH
00FEH
Down count
Down count
(b) Down
→
Up count
Count clock
(Rising edge set as valid edge)
CM101 register
00FFH
TM10 not cleared
TM10
00FEH
00FFH
0100H
00FEH
Down count
Up count
(2) Transfer operation
If TM10 becomes 0000H during down counting when the RLEN bit of the TMC10 register is 1 in UDC mode
A, the set value of the CM100 register is transferred to TM10 at the next count clock. The transfer operation
is not performed during up counting.
Figure 9-61. Internal Operation During Transfer Operation
Count clock
(Rising edge set as valid edge)
CM100 register
0001H
Transfer operation performed.
TM10
0000H
CM100
set value
CM100
set value
−
1
FFFFH
Down count
Down count