CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
315
User’s Manual U14492EJ3V0UD
(a) In general-purpose timer mode (CMD bit of TUMn register = 0)
The count clock is fixed to the internal clock. The clock rate of TM1n is specified with bits PRM12 to
PRM10.
(b) UDC mode (CMD bit of TUMn register = 1)
The TM1n count sources in the UDC mode are as follows.
Operation Mode
TM1n Operation
Mode 1
Down count when TCUD1n = high level
Up count when TCUD1n = low level
Mode 2
Up count upon detection of valid edge of TIUD1n input
Down count upon detection of valid edge of TCUD1n input
Mode 3
Automatic judgment with TCUD1n input level upon detection of valid edge of TIUD1n input
Mode 4
Automatic judgment upon detection of both edges of TIUD1n input and both edges of TCUD1n input