m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 127

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
TIMER A
7.4 Event counter mode
7-24
7.4.3 Switching between countup and countdown
Figure 7.4.5 shows structures of the up-down registers 0 and 1.
The up-down register or the input signal from the TAi
countdown. This switching is performed by the up-down bit when the up-down switching factor select bit
(bit 4 at addresses 56
up-down switching factor select bit is “1.”
When the switching between countup and countdown is set while counting is in progress, this switching is
actually performed when the count source’s next valid edge is input.
(1) Switching by up-down bit
(2) Switching by TAi
bit is “1.” Figure 7.4.5 shows the structures of the up-down registers 0 and 1.
when the TAi
port P2, and port P4 direction registers’ bits which correspond to the TAi
Countdown is performed when the up-down bit is “0,” and countup is performed when the up-down
Countdown is performed when the TAi
When using the TAi
OUT
16
pin’s input signal is at “H” level.
to 5A
OUT
OUT
pin’s input signal
pin’s input signal to switch countup from and to countdown, set the port P6,
16
, D6
16
to DA
7905 Group User’s Manual Rev.1.0
16
OUT
) is “0,” and by the input signal from the TAi
pin’s input signal is at “L” level, and countup is performed
OUT
pin is used to switch countup from and to
OUT
pin for the input mode.
OUT
pin when the

Related parts for m37905