
24. Programmable I/O Ports
Figure 24.7
PS0 Register, PS1 Register
b7 b6 b5 b4
b1
b2
b3
Symbol
PS0
Address
03B0h
After Reset
00h
b0
Function
Bit Symbol
Bit Name
RW
PS0_5
PS0_7
Port P6_3
output function select bit
Port P6_7
output function select bit
RW
PS0_4
RW
PS0_3
Port P6_5
output function select bit
Port P6_6
output function select bit
PS0_6
Function Select Register A0
Port P6_4
output function select bit
Port P6_1
output function select bit
PS0_1
RW
Port P6_2
output function select bit
RW
PS0_2
0: I/O port
1: Select by the PSL0_0 bit
Port P6_0
output function select bit
PS0_0
RW
0: I/O port
1: Select by the PSL0_1 bit
0: I/O port
1: Select by the PSL0_2 bit
0: I/O port
1: Select by the PSL0_3 bit
0: I/O port
1: Select by the PSL0_4 bit
0: I/O port
1: Select by the PSL0_5 bit
0: I/O port
1: Select by the PSL0_6 bit
0: I/O port
1: Select by the PSL0_7 bit
b7 b6 b5 b4
b1
b2
b3
Symbol
PS1
Address
03B1h
After Reset
00h
b0
Function
Bit Symbol
Bit Name
RW
PS1_5
PS1_7
Port P7_3
output function select bit
Port P7_7
output function select bit
RW
PS1_4
RW
PS1_3
Port P7_5
output function select bit
Port P7_6
output function select bit
PS1_6
Function Select Register A1
Port P7_4
output function select bit
Port P7_1
output function select bit
PS1_1
RW
Port P7_2
output function select bit
RW
PS1_2
0: I/O port
1: Select by the PSL1_0 bit
Port P7_0
output function select bit
PS1_0
RW
0: I/O port
1: Select by the PSL1_1 bit
0: I/O port
1: Select by the PSL1_2 bit
0: I/O port
1: Select by the PSL1_3 bit
0: I/O port
1: Select by the PSL1_4 bit
0: I/O port
1: Select by the PSL1_5 bit
0: I/O port
1: Select by the PSL1_6 bit
0: I/O port
1: Select by the PSL1_7 bit