English
Language : 

PD17012_15 Datasheet, PDF (222/320 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DIGITAL TUNING SYSTEM HARDWARE
µPD17012, 17P012
19.4 Segment Signal/General-Purpose Output Port Select Block
Figure 19-6 shows the configuration of the segment signal/general-purpose output port select block.
This block specifies whether each pin is used as a segment signal output pin or a general-purpose output port pin,
by using the P2HSEL through P2ESEL flags of the LCD port select register and the PYASEL flag of the LCD mode
select register. When each flag is 1, the corresponding pin is set in the general-purpose output port mode; when the
flag is 0, the pin is set in the segment signal output mode.
The LCD15/KS15/PYA15 to LCD0/KS0/PYA0 pins can simultaneously output segment signals and key source signals.
When port YA is selected, however, port output takes precedence.
Figure 19-7 shows the configuration and function of the LCD port select register.
Figure 19-9 shows the configuration and function of the LCD mode select register.
Figure 19-6. Configuration of Segment Signal/General-Purpose Output Port Select Block
LCD19/P2H0
P2HSEL flagNote
1
Port data
From bit 0 of LCDD19Note
0
From segment signal/key source
Segment signal signal output timing control block
LCD16/P2E0
LCD15/KS15/PYA15
PYASEL flag
1
Port data From key source data register/
port YA group register
0
From segment signal/key source
Segment signal signal output timing control block
LCD0/KS0/PYA0
Note
P2GSEL flag and LCDD18 for LCD18/P2G0 pin.
P2FSEL flag and LCDD17 for LCD17/P2F0 pin.
P2ESEL flag and LCDD16 for LCD16/P2E0 pin.
220
Data Sheet U10101EJ4V0DS