SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 158
Revision 1.93
1
1
1
0
0
0
I/O PORT
OVERVIEW
The SN8P1700 provides up to 5 ports for users’ application, consisting of one input only port (P0), four I/O ports (P1,
P2, P4, P5). The direction of I/O port is selected by PnM register and a macro @SET_PUR is defined for user setting
pull-up register. After the system resets, all ports work as input function without pull-up resistors.
Figure 10-1. The I/O Port Block Diagram
Note : All of the latch output circuits are push-pull structures.
Port0 structure
PUR
Pin
Int. bus
PUR
PnM
Pin
Int. bus
PnM
Latch
Port1, 2, 4, 5 structure
PnM
Port0 structure
PUR
Pin
Int. bus
PUR
PnM
Pin
Int. bus
PnM
Latch
Port1, 2, 4, 5 structure
PnM