108
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
Preliminary User’s Manual U16035EJ1V0UM
6.3 Registers to Control 16-Bit Timer/Event Counter 0
The following five types of registers are used to control the 16-bit timer/event counter 0.
• 16-bit timer mode control register 0 (TMC0)
• Capture/compare control register 0 (CRC0)
• 16-bit timer output control register 0 (TOC0)
• Prescaler mode register 0 (PRM0)
• Port mode register 7 (PM7)
(1) 16-bit timer mode control register 0 (TMC0)
This register sets the 16-bit timer operating mode, the 16-bit timer counter 0 (TM0) clear mode, and output timing,
and detects an overflow.
TMC0 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TMC0 value to 00H.
Caution
The 16-bit timer counter 0 (TM0) starts operation at the moment a value other than 0, 0
(operation stop mode) is set in TMC02 and TMC03, respectively. Set 0, 0 in TMC02 and TMC03
to stop the operation.