Electronics America 8-Bit Single-Chip Microcontrollers User's Manual

225
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 1 AND 2
(2) 8-bit timer mode control register (TMC1)
This register enables/stops operation of 8-bit timer registers 1 and 2 and sets the operating mode of 8-bit timer
register 1 and 2.
TMC1 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TMC1 to 00H.
Figure 9-5. 8-Bit Timer Mode Control Register 1 Format
Cautions 1. Switch the operating mode after stopping timer operation.
2. When used as 16-bit timer register, TCE1 should be used for control enable/stop.
<0><1>234567Symbol
TCE1
FF49H 00H R/W
Address After Reset R/W
TCE2TMC1200000
TMC1
TCE1
8-Bit Timer Register 1 Operation Control
0
Operation stop (TM1 clear to 0)
1
Operation enable
TCE2
8-Bit Timer Register 2 Operation Control
Operation stop (TM2 clear to 0)
Operation enable
0
1
TMC12
Operating Mode Selection
8-Bit timer register × 2 channel mode (TM1, TM2)
16-Bit timer register × 1 channel mode (TMS)
0
1