English
Language : 

WM8946 Datasheet, PDF (123/175 Pages) Wolfson Microelectronics plc – Stereo Low-Power CODEC with Video Buffer
Production Data
WM8946
REGISTER
ADDRESS
R15 (0Fh)
GPIO4
Control
BIT
LABEL
DEFAULT
DESCRIPTION
15
GP4_DIR
14:13 GP4_PULL[1:0]
12 GP4_INT_MOD
E
10
GP4_POL
5
GP4_LVL
3:0 GP4_FN[3:0]
1
00
0
0
0
0000
GPIO4 Pin Direction
0 = Output
1 = Input
GPIO4 pull-up / pull-down Enable
00 = no pull-up or pull-down
01 = pull-down
10 = pull-up
11 = reserved
GPIO4 Interrupt Mode
0 = GPIO interrupt is rising edge triggered (if
GP4_POL=0) or falling edge triggered (if GP4_POL =1)
1 = GPIO interrupt is triggered on rising and falling
edges
GPIO4 Polarity Select
0 = Non-inverted
1 = Inverted
GPIO4 level. Write to this bit to set a GPIO output.
Read from this bit to read GPIO input level.
When GP4_POL is set, the register contains the
opposite logic level to the external pin.
GPIO4 Pin Function
0000 = Logic Level Input
0001 = Edge Detection Input
0010 = CLKOUT output
0011 = Interrupt (IRQ) output
0100 = Reserved
0101 = Reserved
0110 = Reserved
0111 = Temperature flag output
1000 = Reserved
1001 = DMICCLK output
1010 = Logic Level output
1011 = LDO_UV output
1100 = Reserved
1101 = Reserved
1110 = Reserved
1111 = Reserved
Register 0Fh GPIO4 Control
REFER TO
w
PD, July 2012, Rev 4.3
123