60 6.5 GPIO Special Function Registers
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
6.5.1 149Bwakeup registers
Register 6-30 PWKEN – Port wakeup enable
WKPND3
0 = No INT3 wakeup event occurred
1 = INT3 wakeup event occurred
WKPND2
0 = No INT2/DP/DM/IRTWKO wakeup event occurred
1 = INT2/DP/DM/IRTWKO wakeup event occurred
WKPND1
0 = No INT1 wakeup event occurred
1 = INT1 wakeup event occurred
WKPND0
0 = No INT0 wakeup event occurred
1 = INT0 wakeup event occurred
PWKEN3
0 = Enable INT3 Wakeup
1 = Disable INT3 Wakeup
PWKEN2
0 = Enable INT3/DP/DM/IRTWKO Wakeup
1 = Disable INT3/DP/DM/IRTWKO Wakeup
PWKEN1
0 = Enable INT1 Wakeup
1 = Disable INT1 Wakeup
PWKEN0
0 = Enable INT0 Wakeup
1 = Disable INT0 Wakeup
Note:
1. to enable WKPNDx, set PWKENx to „0‟.
2. To clear WKPNDx, write „0‟ to WKPNDx. WKPNDx will be „0‟ 2 clocks later after write „0‟ to WKPNDx.
3. WKPNDx is cleared when PWKENx is „1‟.
Register 6-31 PWKEDGE – Port wakeup Event select