CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
238
User’s Manual U14492EJ3V0UD
(4/4)
Bit Position
Bit Name
Function
Specifies the operation mode of TM0n.
MOD
01
MOD
00
Operation Mode
TM0n
Operation
Timer Clear
Source
BFCMn3
→
CM0n3
Timing
BFCMn0 to
BFCMn2
→
CM0n0 to
CM0n2
Timing
0
0
PWM mode 0
(symmetric
triangular wave)
Up/down
−
INTTM0n
INTTM0n
0
1
PWM mode 1
(asymmetric
triangular wave)
Up/down
−
INTTM0n
INTTM0n,
INTCM0n3
1
0
PWM mode 2
(sawtooth wave)
Up
INTCM0n3
INTCM0n3
INTCM0n3
1
1
Setting prohibited
1, 0
MOD01,
MOD00
Caution Changing the value of the MOD01, MOD00 bits during TM0n operation
(TM0CEn bit = 1) is prohibited.
Remark
n = 0, 1
Figure 9-4. Specification of INTTM0n Interrupt During PWM Mode 0 (Symmetric Triangular Wave), PWM
Mode 1 (Asymmetric Triangular Wave) (MOD01, MOD00 Bits of TMC0n Register = 0n)
CM0n3
TM0n count value
0000H
TM0CEn
Specification from occurrence of
INTTM0n at first start after reset is
possible with STINTn bit
INTTM0n occurrence can be
specified with STINTn bit
INTTM0n
occurrence
INTTM0n
occurrence
Timer operation
stopped
Remark
n = 0, 1