Chapter 4 Timer Functions
85
Timer Function Control Registers
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)

Figure 4-9-13 Timer 2 Mode Register (TM2MD: X'03F82', R/W)

01245673
(at reset: ---00XXX)–––
TM2MD
TM2CK0
TM2CK1TM2CK2
0
1
1
X
1
0
0
0
0
1
1
0
1
1
Normal timer operation
TM2 operation mode selection
TM2 count control
PWM operation
TM2CK0
TM2CK1TM2CK2
TM2PWMTM2EN
fs
fs/4
fx *
TM2IO input
Synchronous fx *
Synchronous TM2IO input
Clock source selection
TM2PWM
0
1
Halt the count
Operate the count
TM2EN
* 48QFH package only