Figure 7.3A Block Diagram Of 8-Bit Pwm Timer Pin; Structure Of 8-Bit Pwm Timer - Fujitsu F2MC-8L MB89620 Series Hardware Manual

8-bit microcontroller
Table of Contents

Advertisement

3
7.

Structure of 8-bit PWM Timer

This section describes the pin, pin block diagram, register source, and interrupts of
the 8-bit PWM timer.
n 8-bit PWM Timer Pin
The 8-bit PWM timer uses the P37/PTO pin. This pin can function either as a general-purpose
I/O port (P37) or as the interval timer or PWM timer output (PTO).
PTO: When the interval timer function is selected, the square waves are output to this pin.
When the PWM timer function is selected, the pin outputs the PWM wave.
Setting the P37/PTO pin as a dedicated pin in the output pin control bit (CNTR: OE = "1")
automatically sets the pin as an output pin, regardless of the port data direction register
(DDR3: bit 7) value, and sets the pin to function as the PTO pin.
n Block Diagram of 8-bit PWM Timer 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").
142
CHAPTER 7 8-BIT PWM TIMER
PDR
(Port data register)
PDR read
PDR read (for bit manipulation instructions)
Output latch
PDR write
DDR
(Port data direction register)
DDR write
Stop mode (SPL="1")

Figure 7.3a Block Diagram of 8-bit PWM Timer Pin

From the output
pin control bit
From timer
output
(CNTR: OE)
Input buffer
Output buffer
Pull-up resistor
(optional)
Approx. 50 kΩ /5.0 V
P37/PTO
Pin
MB89620 series

Advertisement

Table of Contents
loading

Table of Contents