4-9-3 Timer Mode Registers
Four readable and writable 6-byte timer mode registers. Control timers 2, 3, 4, 5, and
the time base.
(1) Timer 2 mode register (TM2MD)
7
6
–
–
TM2MD
Figure 4-9-13 Timer 2 Mode Register (TM2MD: X'03F82', R/W)
5
4
3
2
–
TM2EN
TM2PWM
TM2CK2
1
0
(at reset: ---00XXX)
TM2CK1
TM2CK0
TM2CK2
X
0
1
* 48QFH package only
TM2PWM
0
1
TM2EN
0
1
Chapter 4 Timer Functions
Clock source selection
TM2CK1
TM2CK0
0
fs
0
1
fs/4
fx *
0
1
1
TM2IO input
Synchronous fx *
0
1
Synchronous TM2IO input
1
TM2 operation mode selection
Normal timer operation
PWM operation
TM2 count control
Halt the count
Operate the count
Timer Function Control Registers
85