162
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User
’
s Manual U14701EJ3V0UD
(8) Timer operation
<1>
Even if 16-bit timer counter 0 (TM0) is read, the value is not captured by 16-bit timer capture/compare
register 01 (CR01).
Regardless of the CPU
’
s operation mode, when the timer stops, the signals input to pins TI00/TI01 are
not acknowledged.
<2>
(9) Capture operation
<1>
If TI00 is specified as the valid edge of the count clock, capture operation by the capture register specified
as the trigger for TI00 is not possible.
If both the rising and falling edges are selected as the valid edges of TI00, capture is not performed.
To ensure the reliability of the capture operation, the capture trigger requires a pulse two times longer than
the count clock selected by prescaler mode register 0 (PRM0).
The capture operation is performed at the fall of the count clock. An interrupt request input (INTTM0n),
however, is generated at the rise of the next count clock.
<2>
<3>
<4>
(10) Compare operation
<1>
The INTTM0 may not be generated if the set value of 16-bit timer capture registers 00, 01 (CR00, CR01)
and the count value of 16-bit timer counter 0 (TM0) match and CR00 and CR01 are overwritten at the timing
of INTTM0 generation. Therefore, do not overwrite CR00 and CR01 frequently even if overwriting the same
value.
Capture operation may not be performed for CR00/CR01 set in compare mode even if a capture trigger
has been input.
<2>