Chapter 15:
16-Bit Reload Timer (with Event Count Function)
15.1 Outline
The 16-bit reload timer 1 consists of a 16-bit down-counter, a 16-bit reload register, one input pin (TIN) and
one output pin (TOUT), and a control register.
It has an internal clock mode for counting down in synchronization to three types of internal clocks and an
event count mode for counting down detecting a given edge of the pulse input to the external bus pin, and
either of the two functions can be selectively used.
For this timer, an "underflow" is defined as the timing of transition from the counter value of "0000
"FFFF
". According to this definition, an underflow occurs after [re-load register setting value + 1] counts.
H
In operating the counter, the re-load mode for repeating counting operation after re-loading a counter value
after an underflow or the one-shot mode for stopping the counting operation after an underflow can be
selectively used.
Because the timer can generate an interrupt upon an underflow, the timer conforms to the extended intelli-
gent I/O service (EI
The output pin (TOUT) outputs a toggle output waveform in reload mode or a square waveform during
counting in one-shot mode. The input pin (TIN) functions as the event input in event count mode, or as the
trigger input or gate input in internal clock mode.
2
OS).
" to
H