SN8P2740 Series
ADC, OP-amp, Comparator 8-Bit Micro-Controller
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
P0.1
P0.2
P0.3
I/O
O
I/O
I/O
INT0
PWM0
CM0P
CM0N
RST
VPP
XOUT
BZ
XIN
OPN
OPP
OPO
CM2N
CM2P
CM1N
CM1P
AIN0
DC
DC
AC
AC
DC
HV
AC
DC
AC
AC
AC
AC
AC
AC
AC
AC
AC
AC
AC
P00IEN=1
PWM0OUT=1.
CM0EN=1
CM0EN=1
Reset_Pin code option = Reset
OTP Programming
High_CLK code option = 32K, 4M, 12M
BZEN=1
High_CLK code option = RC, 32K, 4M, 12M
OPEN=1
OPEN=1
OPEN=1
CM2EN=1
CM2EN=1, CM2RS[2:0]=000b
CM1EN=1
P0.4
P0.5
I
I/O
P0.6
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
CM1EN=1, CM1RS[2:0]=000b
ADENB=1, GCHS=1, CHS[2:0] = 000b
ADENB=1, AVREFH=1
ADENB=1, GCHS=1, CHS[2:0] = 001b~111b
P4.0
I/O
I/O
AVREFH
AIN[7:1]
P4[7:1]
* DC: Digital Characteristic. AC: Analog Characteristic. HV: High Voltage Characteristic.
SONiX TECHNOLOGY CO., LTD
Page 68
Version 2.0