Production Data
WM8352
13.12 ADDITIONAL CODEC FUNCTIONS
13.12.1 HEADPHONE JACK DETECT
The IN2L and IN2R pins can be selected as headphone jack detect inputs, to enable automatic
control of the analogue outputs when a headphone is plugged into a jack socket.
Jack Detection on the IN2L or IN2R pins is enabled by register bits JDL_ENA or JDR_ENA
respectively. When Jack Detection is enabled, the associated second level interrupts
CODEC_JCK_DET_L_EINT and CODEC_JCK_DET_R_EINT indicate the status of the jack socket.
See Section 13.12.7 for further details.
The Headphone Jack Detect function requires the internal slow clock to be enabled - see
Section 12.3.6.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R77 (4Dh)
15
JDL_ENA
0
Jack Detect Enable for inputs connected
to IN2L
Jack Detect
0 = disabled
1 = enabled
14
JDR_ENA
0
Jack Detect Enable for input connected
to IN2R
0 = disabled
1 = enabled
Table 48 Headphone Jack Detect
PD, February 2011, Rev 4.4
99
w