WM8985_07 WOLFSON [Wolfson Microelectronics plc], WM8985_07 Datasheet - Page 83

no-image

WM8985_07

Manufacturer Part Number
WM8985_07
Description
Multimedia CODEC With Class D Headphone and Line Out
Manufacturer
WOLFSON [Wolfson Microelectronics plc]
Datasheet
Pre-Production
GENERAL PURPOSE INPUT/OUTPUT
w
The WM8985 has three dual purpose input/output pins.
The GPIO2 and GPIO3 functions are provided for use as jack detection inputs.
The GPIO1 function is provided for use as jack detection input or general purpose output.
The default configuration for the CSB/GPIO1 is to be an input.
When setup as an input, the CSB/GPIO1 pin can either be used as CSB or for jack detection,
depending on how the MODE pin is set.
Table 45 illustrates the functionality of the GPIO1 pin when used as a general purpose output.
Table 45 CSB/GPIO Control
Note:
If MODE is set to 3 wire mode, CSB/GPIO1 is used as CSB input irrespective of the GPIO1SEL[2:0]
bits.
R8 (08h)
GPIO
Control
REGISTER
ADDRESS
CSB/GPIO1: CSB / GPIO1 pin
L2/GPIO2: Left channel line input / headphone detection input
R2/GPIO3: Right channel line input / headphone detection input
2:0
3
5:4
6
7
8
BIT
GPIO1SEL
GPIO1POL
OPCLKDIV
GPIO1GPD
GPIO1GPU
GPIO1GP
LABEL
000
0
00
0
0
0
DEFAULT
CSB/GPIO1 pin function select:
000 = input (CSB / Jack detection:
depending on MODE setting)
001 = reserved
010 = Temp ok
011 = Amute active
100 = PLL clk output
101 = PLL lock
110 = logic 0
111 = logic 1
GPIO1 Polarity invert
0 = Non inverted
1 = Inverted
PLL Output clock division ratio
00 = divide by 1
01 = divide by 2
10 = divide by 3
11 = divide by 4
GPIO1 Internal pull-down enable:
0 = Internal pull-down disabled
1 = Internal pull-down enabled
GPIO1 Internal pull-up enable:
0 = Internal pull-up disabled
1 = Internal pull-up enabled
GPIO1 Open drain enable
0 = Open drain disabled
1 = Open drain enabled
DESCRIPTION
PP, Rev 3.5, January 2007
WM8985
83

Related parts for WM8985_07