Preliminary
SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
EXTERNAL WAKEUP TRIGGER CONTROL
In the SN8P1702A/SN8P1703A, the wakeup trigger direction is control by PEDGE register.
PEDGE initial value = 0xx0 0xxx
0BFH
PEDGE
Bit 7
PEDGEN
R/W
Bit 6
-
-
Bit 5
-
-
Bit 4
P00G1
R/W
Bit 3
P00G0
R/W
Bit 2
-
-
Bit 1
-
-
Bit 0
-
-
Bit7
PEDGEN: Interrupt and wakeup trigger edge control bit.
0 = Disable edge trigger function.
Port 0: Low-level wakeup trigger and falling edge interrupt trigger.
Port 1: Low-level wakeup trigger.
1 = Enable edge trigger function.
P0.0: Wakeup and interrupt trigger is controlled by P00G1 and P00G0 bits.
Port 1: Level change (falling or rising edge) wakeup trigger.
Bit[4:3]
P00G[1:0]: Port 0.0 edge select bits.
00 = reserved,
01 = rising edge,
10 = falling edge,
11 = rising/falling bi-direction.
SONiX TECHNOLOGY CO., LTD
Page 52
Revision 0.5