WM8904
Pre-Production
GPIO2
The GPIO2 pin is configured using the register bits described in Table 76. By default, this pin is GPIO
input with pull-down resistor enabled.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
GPIO2 pull-up resistor enable
0 = pull-up disabled
5
GPIO2_PU
0
R122 (7Ah)
GPIO
1 = pull-up enabled
Control 2
GPIO2 pull-down resistor enable
0 = pull-down disabled
1 = pull-down enabled
GPIO2 Function Select
0000 = Input pin (default)
4
GPIO2_PD
1
3:0
GPIO2_SEL [3:0]
0000
0001 = Clock output
(f=SYSCLK/OPCLKDIV)
0010 = Logic '0'
0011 = Logic '1'
0100 = IRQ
0101 = FLL Lock
0110 = Mic Detect
0111 = Mic Short
1000 = DMIC clock out
1001 = FLL Clock Output
1010 to 1111 = Reserved
Table 76 GPIO2 Control
GPIO3
The GPIO3 pin is configured using the register bits described in Table 77. By default, this pin is GPIO
input with pull-down resistor enabled.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
GPIO3 pull-up resistor enable
0 = pull-up disabled
5
GPIO3_PU
0
R123 (7Bh)
GPIO
1 = pull-up enabled
Control 3
GPIO3 pull-down resistor enable
0 = pull-down disabled
1 = pull-down enabled
GPIO3 Function Select
0000 = Input pin (default)
4
GPIO3_PD
1
3:0
GPIO3_SEL [3:0]
0000
0001 = Clock output
(f=SYSCLK/OPCLKDIV)
0010 = Logic '0'
0011 = Logic '1'
0100 = IRQ
0101 = FLL Lock
0110 = Mic Detect
0111 = Mic Short
1000 = DMIC clock out
1001 = FLL Clock Output
1010 to 1111 = Reserved
Table 77 GPIO3 Control
PP, Rev 3.3, September 2012
116
w