Chapter 6 8-bit Timers
VI - 12
Control Registers
Timer 4 Mode Register (TM4MD)
Figure 6-2-11 Timer 4 Mode Register (TM4MD : x'03F64', R/W)
TM4CK2
-
0
TM4CK1
0
1
1
tm4psc
(Prescaler output)
fx
Synchronous fx
Clock source
fosc
0
0
1
1
TM4IO input
Synchronous TM4IO input
0
1
TM4CK0
01245673
( At reset : - - 0 0 0 0 0 0 )
TM4MD
TM4CK0TM4CK1TM4CK2TM4EN
TM4PWMTM4MOD
--
0
1
Disable the count
Timer 4 count control
Enable the count
TM4EN
0
1
Normal timer operation
Timer 4 operation mode
PWM operation
TM4PWM
0
1
Normal timer operation
Pulse width
measurement control
Measure the pulse width of P24/IRQ4
TM4MOD