Production Data
WM8321
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
REFER TO
GP1_FN [3:0]
GPIO1 Pin Function
Input functions:
3:0
0000
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
8 = DC-DC1 DVS Done
9 = DC-DC2 DVS Done
10 = External Power Enable1
11 = External Power Enable2
12 = System Supply Good (SYSOK)
13 = Converter Power Good (PWR_GOOD)
14 = External Power Clock (2MHz)
15 = Auxiliary Reset
Register 4038h GPIO1 Control
REGISTER
ADDRESS
BIT
LABEL
GP2_DIR
DEFAULT
DESCRIPTION
REFER TO
R16441
(4039h)
GPIO2
Control
15
1
GPIO2 pin direction
0 = Output
1 = Input
GP2_PULL
[1:0]
GPIO2 Pull-Up / Pull-Down configuration
00 = No pull resistor
01 = Pull-down enabled
10 = Pull-up enabled
11 = Reserved
14:13
01
GP2_INT_MOD
E
GPIO2 Interrupt Mode
12
0
0 = GPIO interrupt is rising edge triggered (if
GP2_POL=1) or falling edge triggered (if GP2_POL=0)
1 = GPIO interrupt is triggered on rising and falling
PD, February 2012, Rev 4.0
169
w