SN8P2740 Series
ADC, OP-amp, Comparator 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 68
Version 2.0
7
7
7
I/O PORT
7.1 OVERVIEW
The micro-controller builds in 22 pin I/O. Most of the I/O pins are mixed with analog pins and special function pins. The
I/O shared pin list is as following.
I/O Pin
Shared Pin
Shared Pin Control Condition
Name
Type
Name
Type
P0.0
I/O
INT0
DC
P00IEN=1
P0.1
O
PWM0
DC
PWM0OUT=1.
P0.2
I/O
CM0P
AC
CM0EN=1
P0.3
I/O
CM0N
AC
CM0EN=1
P0.4
I
RST
DC
Reset_Pin code option = Reset
VPP
HV
OTP Programming
P0.5
I/O
XOUT
AC
High_CLK code option = 32K, 4M, 12M
BZ
DC
BZEN=1
P0.6
I/O
XIN
AC
High_CLK code option = RC, 32K, 4M, 12M
P1.0
I/O
OPN
AC
OPEN=1
P1.1
I/O
OPP
AC
OPEN=1
P1.2
I/O
OPO
AC
OPEN=1
P1.3
I/O
CM2N
AC
CM2EN=1
P1.4
I/O
CM2P
AC
CM2EN=1, CM2RS[2:0]=000b
P1.5
I/O
CM1N
AC
CM1EN=1
P1.6
I/O
CM1P
AC
CM1EN=1, CM1RS[2:0]=000b
P4.0
I/O
AIN0
AC
ADENB=1, GCHS=1, CHS[2:0] = 000b
AVREFH
AC
ADENB=1, AVREFH=1
P4[7:1]
I/O
AIN[7:1]
AC
ADENB=1, GCHS=1, CHS[2:0] = 001b~111b
* DC: Digital Characteristic. AC: Analog Characteristic. HV: High Voltage Characteristic.