SN8P275X Series
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 79
Version 0.7
7.2 I/O PULL UP REGISTER
0E0H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P0UR
- - - - -
P02R
P01R
P00R
Read/Write
- - - - - W
W
W
After
reset
- - - - - 0 0 0
0E1H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P1UR
P17R P16R P15R P14R P13R P12R P11R P10R
Read/Write
W W W W W W W W
After
reset
0 0 0 0 0 0 0 0
0E2H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P2UR
P27R P26R P25R P24R P23R P22R P21R P20R
Read/Write
W W W W W W W W
After
reset
0 0 0 0 0 0 0 0
0E3H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P3UR
- - - - -
P32R
P31R
P30R
Read/Write
- - - - - W
W
W
After
reset
- - - - - 0 0 0
0E4H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P4UR
P47R P46R P45R P44R P43R P42R P41R P40R
Read/Write
W W W W W W W W
After
reset
0 0 0 0 0 0 0 0
0E5H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P5UR
P57R P56R P55R P54R P53R P52R P51R P50R
Read/Write
W W W W W W W W
After
reset
0 0 0 0 0 0 0 0
¾
Example: I/O Pull up Register
MOV
A, #0FFH
; Enable Port0, 4, 5 Pull-up register,
B0MOV
P0UR,
A
;
B0MOV
P4UR,A
B0MOV
P5UR,
A