Fujitsu MB89202 Computer Hardware User Manual


 
141
CHAPTER 7 8-BIT PWM TIMER
7.3 Pin of 8-bit PWM Timer
This section describes the pin and provides a block diagram of the pin related to the 8-
bit PWM timer.
Pin Related to the 8-bit PWM Timer
The pin related to the 8-bit PWM timer is the P50/PWM pin.
P50/PWM pin
This pin can be used as a general-purpose I/O port (P50) and for output of the interval timer or PWM timer
(PWM).
PWM:
While the pin functions as the interval timer, the square wave is output to the pin.
While the pin functions as the PWM timer, the PWM wave is output to the pin.
When the bit to control the output pin is set to the dedicated pin (CNTR: OE = 1), the P50/PWM pin
automatically functions as an output pin, regardless of the value of the port 5 data direction register
(DDR5: bit0), and as the PWM pin.
Block Diagram of the Pin Related to the 8-bit PWM Timer
Figure 7.3-1 Block Diagram of the Pin Related to the 8-bit PWM Timer
DDR
Pch
Nch
PDR
PUL
P50/PWM
(SPL=1)
Stop mode (SPL=1)
Pull-up resistor
PDR read
Resource output
Resource
output is
enabled
(At read-modify-write)
PDR read
Internal data bus
Output latch
PDR write
Pin
DDR write
PUL read
PUL write
Stop mode
DDR read