WM8321
Production Data
REFER TO
REGISTER
ADDRESS
BIT
LABEL
GP7_DIR
DEFAULT
DESCRIPTION
R16446
(403Eh)
GPIO7
Control
GPIO7 pin direction
0 = Output
15
1
1 = Input
GP7_PULL
[1:0]
GPIO7 Pull-Up / Pull-Down configuration
00 = No pull resistor
14:13
01
01 = Pull-down enabled
10 = Pull-up enabled
11 = Reserved
GP7_INT_MOD
E
GPIO7 Interrupt Mode
12
0
0 = GPIO interrupt is rising edge triggered (if
GP7_POL=1) or falling edge triggered (if GP7_POL=0)
1 = GPIO interrupt is triggered on rising and falling
edges
GP7_PWR_DO
M
GPIO7 Power Domain select
0 = DBVDD
11
10
9
0
1
1 = PMICVDD (LDO12)
GPIO7 Polarity select
GP7_POL
GP7_OD
0 = Inverted (active low)
1 = Non-Inverted (active high)
GPIO7 Output pin configuration
0 = CMOS
0
1 = Open Drain
7
GP7_ENA
GP7_FN [3:0]
0
GPIO7 Enable control
0 = GPIO pin is tri-stated
1 = Normal operation
GPIO7 Pin Function
3:0
0000
Input functions:
0 = GPIO input (long de-bounce)
1 = GPIO input
2 = Power On/Off request
3 = Sleep/Wake request
4 = Sleep/Wake request (long de-bounce)
5 = Sleep request
6 = Power On request
7 = Watchdog Reset input
8 = DVS1 input
9 = DVS2 input
10 = HW Enable1 input
11 = HW Enable2 input
12 = HW Control1 input
13 = HW Control2 input
14 = HW Control1 input (long de-bounce)
15 = HW Control2 input (long de-bounce)
Output functions:
0 = GPIO output
1 = 32.768kHz oscillator output
2 = ON state
3 = SLEEP state
4 = Power State Change
5 = Reserved
6 = Reserved
7 = Reserved
PD, February 2012, Rev 4.0
176
w