TIMER B
8.3 Timer mode
8.3 Timer mode
In this mode, the timer counts an internally generated count source. Table 8.3.1 lists the specifications of
the timer mode. Figure 8.3.1 shows the structures of the timer Bi register and timer Bi mode register in the
timer mode.
Table 8.3.1 Specifications of timer mode
Item
Specifications
Count source f
i
f2, f16, f64, or f512
Count operation
•Countdown
•When a counter underflow occurs, reload register’s contents are re-
loaded, and counting continues.
Division ratio
1
n: Timer Bi register’s set value
(n + 1)
Count start condition
Count stop condition
When the count start bit is set to “1.”
When the count start bit is cleared to “0.”
Interrupt request occurrence timing When a counter underflow occurs.
TBiIN pin’s function
Programmable I/O port pin
Read from timer Bi register
Write to timer Bi register
Counter value can be read out.
ꢀ While counting is stopped
When a value is written to the timer Bi register, it is written to both
of the reload register and counter.
ꢀ While counting is in progress
When a value is written to the timer Bi register, it is written only to the
reload register. (Transferred to the counter at the next reload timing.)
7906 Group User’s Manual Rev.2.0
8-8