TIMER B
6.3 Timer mode
6.3.3 Operation in timer mode
When the count start bit is set to "1," the counter starts counting of the count source.
When the counter underflows, the reload register's contents are reloaded and counting continues.
The timer Bi interrupt request bit is set to "1" when the counter underflows in
bit remains set to "1" until the interrupt request is accepted or the interrupt request bit is cleared to "0"
by software.
Figure 6.3.3 shows an example of operation in the timer mode.
FFFF
16
n
0000
16
"1"
Count start bit
"0"
Timer Bi interrupt
"1"
request bit
"0"
fi = frequency of count source
(f
/f
, f
2
4
Fig. 6.3.3 Example of operation in timer mode
6–12
n = Reload register's contents
Starts counting.
Set to "1" by software.
/f
, f
/f
, f
/f
)
16
32
64
128
512
1024
1 / f
(n+1)
i
Cleared to "0" by software.
Cleared to "0" when interrupt request is
accepted or cleared by software.
7751 Group User's Manual
. The interrupt request
Stops counting.
Restarts counting.
Set to "1" by software.
Time