CHAPTER 6 PERIPHERAL HARDWARE FUNCTION
137
Users Manual U10676EJ3V0UM
Figure 6-31. Setting of Timer Counter Mode Register (3/3)(c) Timer counter (channel 2)
76543210
TM20TM21TM23 TM22TM24TM25TM26
Address
TM2
F90H
Symbol
TM23 Clears counter and IRQT2 flag when "1" is written. Starts count operation
if bit 2 is set to "1".
Timer start command bit
Operation mode
TM22
0
1
Stops (count value retained)
Count operation
Count operation
Count pulse (CP) select bit
TM26 Count pulse (CP)
TM25
0f
X
/2
1
f
X
10
01
1f
X
/2
8
0
f
X
/2
6
f
X
/2
10
TM24
0
1
0
1
110
f
X
/2
4
111
Operation mode select bit
TM21
0 8-bit timer counter mode
Mode
TM20
0
Setting prohibited
Other