![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_273.png)
MB90560 series
CHAPTER 11 16-BIT RELOAD TIMER
249
I
Event count mode (external clock mode)
When selected valid edges (rising, falling, and both edges) are input to TIN0 and TIN1 pins, the
timer counts down at these edges.
When an external clock with a constant period is used, this timer can also be used as an interval
timer.
I
Counter operation
G
Reload mode
When an underflow (from “0000
H
” to “FFFF
H
”) occurs during counting down, the count setting
value is reloaded to continue counting. Since the 16-bit reload timer causes an interrupt request
to occur for an underflow condition, it can be used as an interval timer.
A toggle waveform inverted at each underflow can also be output from TO0 and TO1 pins.
Table 11.1-2 lists the intervals for the 16-bit reload timer.
Table 11.1-2 Intervals for the 16-bit reload timer
φ
: Machine clock
Values in parentheses are for a 16 MHz machine clock.
G
Single-shot mode
When an underflow (from “0000
H
” to “FFFF
H
”) occurs during counting down, counting stops,
causing an interrupt to occur for the underflow condition.
During counter operation, a rectangular waveform that indicates when the count is in progress
can be output from the TO0 and TO1 pins.
Reference
16-bit reload timer 0 can be used to create the baud rate of UART0/UART1.
16-bit reload timer 1 can be used as the start trigger of the A/D converter.
Count clock
Count clock period
Interval
Internal clock
2
1
/
φ
(0.125 μs)
0.125 μs to 8.192 ms
2
3
/
φ
(0.5 μs)
0.5 μs to 32.768 ms
2
5
/
φ
(2.0 μs)
2.0 μs to 131.1 ms
External clock
2
3
/
φ
or more (0.5 μs)
0.5 μs or more