TIMER B
8.3 Timer mode
8.3.2 Operation in timer mode
ꢀ When the count start bit is set to “1,” the counter starts counting of the count source.
ꢀ When a counter underflow occurs, the reload register’s contents are reloaded and counting continues.
ꢀ The timer Bi interrupt request bit is set to “1” at the counter underflow in ꢀ. The interrupt request bit
remains set to “1” until the interrupt request is accepted or until the interrupt request bit is cleared to
“0” by software.
Figure 8.3.3 shows an example of operation in the timer mode.
FFFF16
n
Starts counting.
Stops counting.
1 / f
i
ꢀ (n+1)
Restarts counting.
000016
Time
Set to “1” by software.
Set to “1” by software.
Cleared to “0” by software.
Count start bit
Timer Bi interrupt
request bit
f
i
: Frequency of count source
n : Reload register’s contents
Cleared to “0” when interrupt request is
accepted or cleared by software.
Fig. 8.3.3 Example of operation in timer mode
7906 Group User’s Manual Rev.2.0
8-11