Operation In Timer Mode - Renesas 7700 FAMILY User Manual

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

TIMER A
5.3 Timer mode

5.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 Ai 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 5.3.4 shows an example of operation in the timer mode.
FFFF
16
n
0000
16
"1"
Count start bit
"0"
"1"
Timer Ai interrupt
request bit
"0"
fi = frequency of count source
(f
/f
, f
/f
2
4
16
Fig. 5.3.4 Example of operation in timer mode (without pulse output and gate functions)
5–14
n = Reload register's contents
Starts counting.
Set to "1" by software.
, f
/f
, f
/f
)
32
64
128
512
1024
7751 Group User's Manual
Stops counting.
1 / f
(n+1)
i
Cleared to "0" by software.
Cleared to "0" when interrupt request is
accepted or cleared by software.
. The interrupt request
Restarts counting.
Time
Set to "1" by software.

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents