5.3 Timer mode
In this mode, the timer counts an internally generated count source. (Refer to Table 5.3.1.) Figure 5.3.1
shows the structures of the timer Ai mode register and timer Ai register in the timer mode.
Table 5.3.1 Specifications of timer mode
Item
Count source
Count operation
Count start condition
Count stop condition
Interrupt request occurrence timing
TAi
pin function
IN
TAi
pin function
OUT
Read from timer Ai register
Write to timer Ai register
f
/f
, f
/f
, f
/f
, or f
2
4
16
32
64
128
• Down-count
• When the counter underflows, reload register's contents are reloaded
and counting continues.
When count start bit is set to "1."
When count start bit is cleared to "0."
When the counter underflows.
Programmable I/O port or gate input
Programmable I/O port or pulse output
Counter value can be read out.
While counting is stopped
When a value is written to timer Ai register, it is written to both
reload register and counter.
While counting is in progress
When a value is written to timer Ai register, it is written to only
reload register. (Transferred to counter at next reload timing.)
7751 Group User's Manual
Specifications
/f
512
1024
TIMER A
5.3 Timer mode
5–9