CHAPTER 9 TIMER/COUNTER FUNCTION
230
User’s Manual U15195EJ5V0UD
Table 9-4. Operation Modes of Timer 0 (TM0n)
TMC0n Register
MOD01 MOD00
Operation Mode
TM0n
Operation
Timer Clear
Source
Interrupt
Source
BFCMn3
→
CM0n3
Timing
BFCMn0 to BFCMn2,
BFCMn4, BFCMn5
→
CM0n0 to CM0n2,
CM0n4, CM0n5 Timing
0
0
PWM mode 0
(Symmetric
triangular wave)
Up/down
−
INTTM0n,
INTCM010 to
INTCM012,
INTCM0n3 to
INTCM0n5
INTTM0n INTTM0n
0
1
PWM mode 1
(Asymmetric
triangular wave)
Up/down
−
INTTM0n,
INTCM010 to
INTCM012,
INTCM0n3 to
INTCM0n5
INTTM0n INTTM0n,
INTCM0n3
1
0
PWM mode 2
(Sawtooth wave)
Up INTCM0n3
INTCM010
to
INTCM012,
INTCM0n3 to
INTCM0n5
INTCM0n3 INTCM0n3
1 1
Setting
prohibited
Caution Changing the MOD01 and MOD00 bits during TM0n operation (TM0CEn = 1) is prohibited.
Remark
n = 0, 1
The various operation modes are described below.