Chapter 8
8-bit Timer
8-bit Timer Control Registers VIII - 9
8.2.3 Timer Mode Registers
Timer 0 Mode Register (TM0MD: 0x03F74)
bp 7 6543210
Bit name - TM0POP TM0MOD TM0PWM TM0EN - TM0CK1-0
At reset0 0000000
Access R R/W R/W R/W R/W R R/W R/W
bp Bit name Description
7 - Always read as 0.
6TM0POP
Initial polarity of output signal select
0: Timer output Low→High, PWM High→Low
1: Timer output High→Low, PWM Low→High
5 TM0MOD
Pulse width measurement control
0: Normal timer operation
1: Pulse width measurement (P10/P60)
4TM0PWM
Timer 0 operation mode control
0: Normal timer operation
1: PWM operation
3TM0EN
Timer 0 count enable
0: Disabled
1: Enabled
2 - Always read as 0.
1-0 TM0CK1-0
Clock source select
00: HCLK
01: TM0PSC (prescaler output)
10: SCLK
11: TM0IO input