English
Language : 

PD17012_15 Datasheet, PDF (160/320 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DIGITAL TUNING SYSTEM HARDWARE
µPD17012, 17P012
14.3 Output Select Blocks
14.3.1 Configuration of output select blocks
Figure 14-2 shows the configuration of the output select blocks.
Figure 14-2. Configuration of Output Select Blocks
PWM1SEL flag
PWM0SEL flag
P0C1/PWM1
P0C0/PWM0
1
Duty setting block
0
Output latch
1
Duty setting block
0
Output latch
14.3.2 Function of output select blocks
The output select blocks select whether the P1B2/PWM1 and P1B1/PWM0 pins are used as general-purpose
output port pins or D/A converter pins.
This selection can be made by the PWM1SEL and PWM0SEL flags of the PWM mode select register. Each
pin can be set in the port mode or D/A converter mode independently.
The P0C1/PWM1 and P0C0/PWM0 pins are N-ch open-drain output pins and must be connected with an
external pull-up resistor.
The configuration and function of the PWM mode select register is shown in Figure 14-3.
158
Data Sheet U10101EJ4V0DS