SN8P2714X_2715
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 89
V1.4
10
I/O PORT
10.1 OVERVIEW
The SN8P2710 provides up to four ports for users’ application, consisting of one input only port (P0), three I/O ports
( P2, P4, P5). The direction of I/O port is selected by PnM register and register PnUR is defined for user setting pull-up
register. After the system resets, all ports work as input function without pull-up resistors.
Port 0.1 and P0.2 structure:
Pin
Int. Bus
Int. Rst
Pull-Up
PnUR
Port 0.3 structure:
Pin
Ext. Reset
Code Option
Int. Bus
Int. Rst
Port 2, 5 structure:
Pull-Up
Pin
Output
Latch
PnM, PnUR
Input Bus
PnM
Output Bus
Port 4 structure:
GCHS
Int. ADC
P4CON
Pull-Up
Output
Latch
PnM, PnUR
Input Bus
PnM
Output Bus
Pin
Figure 10-1. The I/O pin circuit Diagram