wm8400 Wolfson Microelectronics plc, wm8400 Datasheet - Page 100

no-image

wm8400

Manufacturer Part Number
wm8400
Description
Wolfson Audioplustm Hi-fi Audio Codec And Power Management Unit For Mobile Multimedia
Manufacturer
Wolfson Microelectronics plc
Datasheet
WM8400
w
Table 63 GPIO Configuration and CODEC Interrupt Control
The following table describes the coding of the fields referenced in Table 63.
Table 64 GPIO Function Control Bits
Each of the available GPIO functions is described in turn in the following sections.
REGISTER
ADDRESS
R23 (17h)
Registers
R19 (13h)
to
R22 (15h)
(See Table
63)
REGISTER
ADDRESS
7:0
BIT
GPIOn_DEB_ENA
(n = 1 to 8)
GPIOn_IRQ_ENA
(n = 1 to 8)
GPIOn_PU
(n = 1 to 6)
GPIOn_PD
(n = 1 to 6)
GPIOn_SEL[3:0]
(n = 1 to 6)
GPIn_ENA
(n = 7 or 8)
GPIO_POL [7:0]
LABEL
LABEL
DEFAULT
0b
0b
0b
See
Table 63
0000b
0b
00h
DEFAULT
De-Bounce
0 = disabled (Not de-bounced)
1 = enabled (Requires MCLK input and
TOCLK_ENA = 1)
IRQ Enable
0 = disabled
1 = enabled
GPIO Pull-Up Resistor Enable
0 = Pull-up disabled
1 = Pull-up enabled (Approx 150kΩ)
GPIO Pull-Down Resistor Enable
0 = Pull-down disabled
1 = Pull-down enabled (Approx 150kΩ)
GPIOn Pin Function Select
0000 = Input pin
0001 = Clock output (SYSCLK/OPCLKDIV)
0010 = Logic '0'
0011 = Logic '1'
0100 = FLL Lock output
0101 = Temperature OK output
0110 = Reserved
0111 = CODEC IRQ output
1000 = MIC Detect
1001 = MIC Short Circuit Detect
1010 = MIC Detect
1011 = MIC Short Circuit Detect
1100 to 1111 = Reserved
GPIn Input Pin Enable
0 = pin disabled as GPIn input
1 = pin enabled as GPIn input
GPIOn Input Polarity
0 = Non-inverted
1 = Inverted
GPIO_POL[7] = GPI8 polarity
GPIO_POL[6] = GPI7 polarity
GPIO_POL[5] = GPIO6 polarity
GPIO_POL[4] = GPIO5 polarity
GPIO_POL[3] = GPIO4 polarity
GPIO_POL[2] = GPIO3 polarity
GPIO_POL[1] = GPIO2 polarity
GPIO_POL[0] = GPIO1 polarity
DESCRIPTION
DESCRIPTION
PP, April 2009, Rev 3.0
Pre-Production
100

Related parts for wm8400