SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 73
Revision 1.93
P5M – Port 5 Input/Output Direction Register
Register Name
P5M
Address 0C5H
Bit
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit’s
Name P57M P56M P55M P54M P53M P52M P51M P50M
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial
Value
0 0 0 0 0 0 0 0
P57M~P50M
Bit 7~Bit0 of Port 5 Input/Output Direction Control Bit
0
Set P5.7~P5.0 to input direction.
1
Set P5.7~P5.0 to output direction.