English
Language : 

CS4294 Datasheet, PDF (28/42 Pages) Cirrus Logic – SoundFusion Audio/Docking Codec 97 (AMC 97)
CS4294
6.1.28 GPIO Pin Wakeup Mask (Index 4Ch)
D15 D14 D13 D12 D11 D10 D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
GW8 GW7 GW6 GW5 GW4 GW3
GW[8:3] Wake up mask. If set, allow the GPIO input to generate AC-LINK wake up protocol.
Default 0000h
The CS4294 has the ability to generate a “wake up” cycle by a transition of a GPIO pin when the
AC-Link has been powered down. If a mask bit is set, a one being set in the corresponding GPIO Pin
Status (Index 54h) will initiate a wake up interrupt. Bit 0 of SDATA_IN Slot 12 will be set indicating
a GPIO interrupt. GPIO pins must be defined as “input”, “sticky”, and the mask set to allow a GPIO
interrupt. The GPIO interrupt is cleared by writing a 0 to the respective status bit in GPIO Pin Status
(Index 54h) register.
6.1.29 GPIO Pin Status (Index 54h)
D15 D14 D13 D12 D11 D10 D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
GI8 GI7 GI6 GI5 GI4 GI3
GI[8:3]
GPIO pin status. Reflects the state of all GPIO pins either input or output. If the GPIO pin is defined as
an output, the respective bit reflects the state of SDATA_OUT Slot 12. If the GPIO pin is defined as an
input, the register is reflected in SDATA_IN Slot 12. GPIO output pins cannot be accessed by Slot 1,2
register access, only by SDATA_OUT Slot 12.
6.1.30 AC Mode Control (Index 5Eh)
D15 D14 D13 D12 D11 D10 D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
EDM EAM DDM
MD1 MD0
DDM
EAM
EDM
MD[1:0]
Default
DAC Direct Mode. This bit controls the source to the line and alternate line output drivers. When set, the
Left and Right DAC directly drive the line and alternate line outputs by bypassing the audio mixer. When
clear, the audio mixer is the source for the line and alternate line outputs.
Extended Audio Mode. When set the output of EDAC2 and EDAC1 are mapped to the ALT_LINE OUT-
PUT. The Extended Audio DAC volumes are set by the Alternate Line Volume (Index 04h) register when
in this mode.
Extended Docking Mode. When set the output of the analog input mixer is routed to the EADC1 and
EADC2 inputs. This allows any analog input mix to be digitized and routed to a second AC ‘97 codec or
allows the host controller to add effects processing to analog sources.
Mode. Sets basic operating mode for the codec. This effects the mapping of the ADCs and DACs to AC-
LINK Slot locations. See the Mode of Operation subsection for additional detail. Table 8 below details
the Slot mapping.
0000h
Mode
Type
0
Basic
MD[1:0]
0,0
1
Extended 4
Channel
1,1
Audio
DAC1
Left
3
Sur’nd
Left
7
Audio
DAC2
Right
4
Sur’nd
Right
8
Audio
ADC1
Left
3
Left
3
Audio
ADC2
Right
4
Right
4
Ext’d
DAC1
Ext’d
Left
5
Center
6
Ext’d
DAC2
Ext’d
Right
11
LFE
9
Ext’d
ADC1
Left
Mixer
5
Left
Mixer
5
Ext’d
ADC2
Right
Mixer
11
Right
Mixer
11
GPIO
12
12
Table 8. Slot Assignments
28
DS326PP4