SN8P2740 Series
ADC, OP-amp, Comparator 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 9
Version 2.0
P1.3/CM2N
I/O
P1.3: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
Level change wake-up.
CM2N: The negative input pin of comparator.
P1.4/CM2P
I/O
P1.4: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
Level change wake-up.
CM2P: The positive input pin of comparator.
P1.5/CM1N
I/O
P1.5: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
Level change wake-up.
CM1N: The negative input pin of comparator.
P1.6/CM1P
I/O
P1.6: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
Level change wake-up.
CM1P: The positive input pin of comparator.
P4.0/AIN0/AVREFH
I/O
P4.0: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN0: ADC analog input pin.
AVREFH: ADC reference high voltage input pin.
P4.1/AIN1/CM2O
I/O
P4.1: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN1: ADC analog input pin.
CM2O: The output pin of comparator.
P4.2/AIN2/CM1O
I/O
P4.2: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN2: ADC analog input pin.
CM1O: The output pin of comparator.
P4.3/AIN3/CM0O
I/O
P4.3: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN3: ADC analog input pin.
CM0O: The output pin of comparator.
P4.4/AIN4
I/O
P4.4: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN4: ADC analog input pin.
P4.5/AIN5
I/O
P4.5: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN5: ADC analog input pin.
P4.6/AIN6
I/O
P4.6: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN6: ADC analog input pin.
P4.7/AIN7
I/O
P4.7: Bi-direction pin. Schmitt trigger structure as input mode. Built-in pull-up resisters.
AIN7: ADC analog input pin. Refer to ADC section.
1.5 PIN CIRCUIT DIAGRAMS
Reset shared pin structure:
Pin
Ext. Reset
Code Option
I/O Input Bus
Reset
Oscillator shared pin structure:
Pull-Up
Resistor
Output
Latch
Pin
PnUR
PnM
I/O Input Bus
I/O Output Bus
PnM
High_Clk
Code Option
Oscillator Driver
GPIO structure: