English
Language : 

PD17012_15 Datasheet, PDF (212/320 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DIGITAL TUNING SYSTEM HARDWARE
µPD17012, 17P012
18.2 I/O Select Block and Output Select Block
The I/O select block sets the P0B1/BEEP1 and P0B0/BEEP0 pins in the input or output mode by using the port 0B
bit I/O select register. These pins must be set in the output mode when they are used as the BEEP pins.
The output select block sets the P0B1/BEEP1 and P0B0/BEEP0 pins in the general-purpose output port or BEEP
output mode by using the BEEP select register.
Figure 18-2 shows the configuration and function of the port 0B bit I/O select register.
Figure 18-3 shows the configuration and function of the BEEP select register.
Figure 18-2. Configuration of Port 0B Bit I/O Select Register
Name
Port 0B bit I/O select
register
Flag symbol Address
b3 b2 b1 b0
P P P P 36H
0000
BBBB
BBBB
IIII
OOOO
3210
Read/
write
R/W
Sets input or output of port
0 Sets P0B0/BEEP0 pin in input mode
1 Sets P0B0/BEEP0 pin in output mode
Sets input or output of port
0
Sets P0B1/BEEP1 pin in input mode
1
Sets P0B1/BEEP1 pin in output mode
Sets input or output of port
0
Sets P0B2/FCG0 pin in input mode
1
Sets P0B2/FCG0 pin in output mode
Sets input or output of port
0
Sets P0B3/FCG1 pin in input mode
1
Sets P0B3/FCG1 pin in output mode
Power-on
Clock stop
CE
0000
0000
0000
210
Data Sheet U10101EJ4V0DS