156
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
User’s Manual U12697EJ3V0UM
Cautions 1. Before changing the clear mode and TO0 output timing, be sure to stop the timer operation
(reset TMC02 and TMC03 to 0, 0).
The valid edge of the TI00 pin is selected by using prescaler mode register 0 (PRM0).
2. When a mode in which the timer is cleared and started on match between TM0 and CR00,
the OVF0 flag is set to 1 when the count value of TM0 changes from FFFFH to 0000H with
CR00 set to FFFFH.
3. The software trigger (bit 6 (OSPT) of 16-bit timer output control register 0 (TOC0) = 1) and
the external trigger (TI00 input) are always valid in one-shot pulse output mode.
If the software trigger is used in one-shot pulse output mode, the TI00 pin cannot be used
as a general-purpose port pin. Therefore, fix the TI00 pin to either high level or low level.
Remark
TO0:
Output pin of the 16-bit timer/event counter
TI00:
Input pin of the 16-bit timer/event counter
TM0:
16-bit timer counter 0
CR00: Compare register 00
CR01: Compare register 01