SN8P1829
8-Bit MCU build-in 12-bit ADC + PGIA + Charge-pump Reg 128 dots LCD driver
SONiX TECHNOLOGY CO., LTD
Page 52
Version 1.0
EXTERNAL WAKEUP TRIGGER CONTROL
In the SN8P1829, the wakeup trigger direction is control by PEDGE register.
PEDGE initial value = 0xx0 0xxx
0BFH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PEDGE
PEDGEN
-
- P00G1
P00G0 -
-
-
R/W
- -
R/W
R/W
- - -
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: Both Wakeup and interrupt trigger are controlled by P00G1 and P00G0 bits.
P0.1: Both wakeup and interrupt trigger are Level change (falling or rising edge).
Port 1: Wakeup trigger is Level change (falling or rising edge).
Bit[4:3]
P00G[1:0]:
Port 0.0 edge select bits.
00 = reserved,
01 = falling edge,
10 = rising edge,
11 = rising/falling bi-direction.