English
Language : 

WM8994 Datasheet, PDF (147/359 Pages) Wolfson Microelectronics plc – Multi-Channel Audio Hub CODEC for Smartphones
Production Data
REGISTER
ADDRESS
R1793
(0701h)
GPIO2
BIT
LABEL
15
GP2_DIR
14
GP2_PU
13
GP2_PD
10
GP2_POL
8
GP2_DB
6
GP2_LVL
4:0 GP2_FN [4:0]
Table 79 GPIO2 Control
DEFAULT
WM8994
DESCRIPTION
1
0
1
0
1
0
0001
GPIO2 Pin Direction
0 = Reserved
1 = Input
GPIO2 Pull-Up Enable
0 = Disabled
1 = Enabled
GPIO2 Pull-Down Enable
0 = Disabled
1 = Enabled
GPIO2 Polarity Select
0 = Non-inverted (Active High)
1 = Inverted (Active Low)
GPIO2 Input De-bounce
0 = Disabled
1 = Enabled
GPIO2 level. Read from this bit to
read GPIO input level.
GPIO2 Pin Function
(see Table 81 for details)
REGISTER
BIT
ADDRESS
LABEL
DEFAULT
DESCRIPTION
R1794
(0701h)
GPIO3
15
GPn_DIR
1
GPIOn Pin Direction
0 = Output
1 = Input
14
GPn_PU
0
GPIOn Pull-Up Enable
to
0 = Disabled
R1802
(070Ah)
GPIO11
13
GPn_PD
1 = Enabled
1
GPIOn Pull-Down Enable
0 = Disabled
1 = Enabled
10
GPn_POL
0
GPIOn Polarity Select
0 = Non-inverted (Active High)
1 = Inverted (Active Low)
9
GPn_OP_CFG
0
GPIOn Output Configuration
0 = CMOS
1 = Open Drain
8
GPn_DB
1
GPIOn Input De-bounce
0 = Disabled
1 = Enabled
6
GPn_LVL
0
GPIOn level. Write to this bit to set
a GPIO output. Read from this bit to
read GPIO input level.
For output functions only, when
GPn_POL is set, the register
contains the opposite logic level to
the external pin.
4:0 GPn_FN [4:0]
0001
GPIOn Pin Function
(see Table 81 for details)
Note: n is a number between 3 and 11 that identifies the individual GPIO.
Table 80 GPIO3 to GPIO11 Control
w
PD, April 2012, Rev 4.4
147