Figure 9.3A Block Diagram Of 16-Bit Timer/Counter Pin; Structure Of 16-Bit Timer/Counter - Fujitsu F2MC-8L MB89620 Series Hardware Manual

8-bit microcontroller
Table of Contents

Advertisement

3
9.

Structure of 16-bit Timer/Counter

This section describes the pin, pin block diagram, registers, and interrupt source of
the 16-bit timer/counter.
n 16-bit Timer/Counter Pin
The 16-bit timer/counter uses the P34/EC pin. This pin can function either as a general-purpose
I/O port (P34) or as the external pulse input for the counter (EC).
EC: The counter function counts specified edges on pulses input to this pin.
n Block Diagram of 16-bit Timer/Counter Pin
SPL: Pin state specification bit in the standby control register (STBC)
Note: Pins with a pull-up resistor (optional) go to the "H" level during a reset or in stop mode (SPL = "1").
184
CHAPTER 9 16-BIT TIMER/COUNTER
Set the P34/EC pin as an input port in the port data direction register (DDR3: bit 4 = "0")
when the counter function is using the pin as the EC pin.
PDR
(Port data register)
PDR read
PDR read (for bit manipulation instructions)
Output latch
PDR write
DDR
(Port data direction register)
DDR write

Figure 9.3a Block Diagram of 16-bit Timer/Counter Pin

To the input of the
16-bit timer/counter
Input buffer
Stop mode (SPL = "1")
Pull-up resistor
(optional)
Approx. 50 kΩ/5.0 V
P34/EC
Output buffer
Pin
MB89620 series

Advertisement

Table of Contents
loading

Table of Contents