Event Counter Mode - Renesas 7700 FAMILY User Manual

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

TIMER B

6.4 Event counter mode

6.4 Event counter mode
In this mode, the timer counts an external signal. (Refer to Table 6.4.1.) Figure 6.4.1 shows the structures
of the timer Bi mode register and the timer Bi register in the event counter mode.
Table 6.4.1 Specifications of event counter mode
Item
Count source
Count operation
Count start condition
Count stop condition
Interrupt request occurrence timing
TBi
pin function
IN
Read from timer Bi register
Write to timer Bi register
6–14
•External signal input to the TBi
•The count source's valid edge can be selected from the falling edge, the rising edge,
or both of the falling and rising edges by software.
•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.
Count source input
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
reload register and counter.
While counting is in progress
When a value is written to the timer Bi register, it is written to only
reload register. (Transferred to counter at next reload time.)
7751 Group User's Manual
Specifications
pin
IN

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents