CHAPTER 9 TIMER/COUNTER FUNCTION
395
User’s Manual U15195EJ5V0UD
9.5 Timer 4
9.5.1 Features (timer 4)
Timer 4 (TM4) functions as a 16-bit interval timer.
9.5.2 Function overview (timer 4)
•
16-bit interval timer: 1 channel
•
Compare register: 1
•
Count clock selected from divisions of internal system clock (set the frequency of the count clock to 16 MHz or
less)
•
Base clock (f
CLK
): 1 type (set f
CLK
to 32 MHz or less)
f
XX
/2
•
Prescaler division ratio
The following division ratios can be selected according to the base clock (f
CLK
).
Division Ratio
Base Clock (f
CLK
)
1/2 f
XX
/4
1/4 f
XX
/8
1/8 f
XX
/16
1/16 f
XX
/32
1/32 f
XX
/64
1/64 f
XX
/128
1/128 f
XX
/256
1/256 f
XX
/512
•
Interrupt request source: 1
•
Compare match interrupt
INTCM4 generated by CM4 match signal
•
Timer clear
The TM4 register can be cleared by a CM4 register match.
Remark
f
XX
: Internal system clock