
SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 88
Revision 1.93
P5 – Port 5 Data Register
SN8P1702\ SN8P1704
Register Name
P5
Address 0D5H
Bit
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit’s
Name
- - -
P54
P53
P52
P51
P50
Read/Write
- - -
R/W R/W R/W R/W R/W
Initial
Value
- - - 0 0 0 0 0
Bit5 ~ Bit7
Undefined
P50~P55
P5.0 ~ P5.5 Data Buffer
0
Data
0.
1
Data
1.
SN8P1706\ SN8P1707\ SN8P1708
Register Name
P5
Address 0D5H
Bit
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit’s
Name P57 P56 P55 P54 P53 P52 P51 P50
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
P50~P57
P5.0 ~ P5.7 Data Buffer
0
Data
0.
1
Data
1.
Note: In input direction, the read instructions get P5 data from external condition and the write
instructions put data into the latch buffer of P5. In output direction, the read and write instructions
access P5 data through P5 latch buffer.