BAT32G1x9 user manual | Chapter 10 Timer M
352 / 1149
Rev.1.02
10.3.18
Timer M counter i(TMi) (i=0, 1).
[Timer mode].
TMi registers must be accessed in 16 bits, not 8 bits.
[Reset Synchronous PWM Mode and PWM3 Mode].
The TM0 register must be accessed in 16 bits, not 8 bits. In reset synchronous PWM mode and PWM3
mode, TM1 is not used Register.
[Complementary PWM mode (TM0)].
The TM0 register must be accessed in 16 bits, not 8 bits.
[Complementary PWM mode (TM1)].
The TM1 register must be accessed in 16 bits, not 8 bits.
Figure 10-30
Format of timer M counter i(TMi) (i=0, 1) [timer mode].
Address: 0x40042A76
(TM0),
0x40042A86
(TM1) after reset:
0000H R/W
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMi
—
function
Configure range
bit15
~
0
Increment the count on the count source.
If an overflow occurs, the OVF bit of the TMSRi register becomes "1".
0000H~FFFFH
Figure 10-31 Format of the timer M counter i(TMi) (i=0, 1) [Reset Synchronous PWM mode and PWM3
mode].
Address: 0x40042A76
(TM0),
0x40042A86
(TM1) after reset:
0000H R/W
Symbol 15 14 13 12 11
10 9 8 7 6 5 4 3 2 1 0
TMi
—
function
Configure
range
bit15
~
0
Increment the count on the count source.
If an overflow occurs, the OVF bit of the TMSR0 register becomes
"1".
0000H~FFFFH