SN8P2711A
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 74
Version 0.1
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
- - - -
P03R
P02R
P01R
P00R
Read/Write
- - - - W
W
W
W
After
reset
- - - - 0 0 0 0
0E4H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P4UR
-
-
- P44R P43R P42R P41R P40R
Read/Write
- - - W W W W W
After
reset
- - - 0 0 0 0 0
0E5H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P5UR
- - - P54R
P53R - - -
Read/Write
- - - W W - - -
After
reset
- - - 0 0 - - -
Note: P0.4 is input only pin and without pull-up resister. The P0UR.4 keeps “1”.
¾
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