Chapter 5 Input/Output Interfaces
5-30 Compaq iPAQ Family of Internet Devices
First Edition March 2000
5.8.5 AUDIO PROGRAMMING
Audio subsystem programming consists configuration, typically accomplished during POST, and
control, which occurs during runtime. The register maps are described in the following
subsections.
5.8.5.1 Audio Configuration
The audio subsystem is configured according to PCI protocol through the AC97 audio controller
function of the 82801 ICH. Table 5-19 lists the PCI configuration registers of the audio
subsystem.
Table 519. AC97 Audio Controller PCI Configuration Registers
Table 5-19.
AC97 Audio Controller
PCI Configuration Registers (82801 Device 31/Function 5)
PCI
Conf.
Addr. Register
Value
on
Reset
PCI
Conf.
Addr. Register
Value
on
Reset
00-01h Vender ID 8086h 14-17h Native Audio Bus Mstr. Addr. 1h
02-03h Device ID 2415h 18-1Bh Reser ved 1h
04-05h PCI Command 0000h 1C-2Bh Reserv ed 1h
06-07h PCI Status 0280h 2C-2Dh Subsystem Vender ID 0000h
08h Revision ID xxh 2E-2Fh Subsystem ID 0000h
09h Programming 01h 30-3B h Reserved 0s
0Ah Sub-Class 01h 3Ch Inter rupt Line 00h
0Bh Base Class Code 04h 3Dh Interrupt Pin 03h
0Eh Header Type 00h 3E-FFh Reserved 0s
10-13h Native Audio Mix er Base Addr. 1h -- -- --
5.8.5.2 Audio Control
The audio subsystem is controlled through a set of indexed registers that physically reside in the
audio codec . The register addresses are decoded by the audio controller and forwarded to the
audio codec over the AC97 Link Bus previously described. The audio codecs control registers
(Table 5-20) are mapped into 64 kilobytes of variable I/O space.
Table 520. AC97 Audio Codec Control Registers
Table 5-20.
AC97 Audio Codec Control Registers
Offset
Addr. / Register
Value
On
Reset
Offset
Addr. / Register
Value
On
Reset
Offset
Addr. / Register
Value
On
Reset
00h Reset 0100h 14h Video Vol. 8808h 28h E xt. Audio ID. 0001h
02h Master Vol. 8000h 16h Aux Vol. 8808h 2Ah Ext. Audio Ctr l/Sts 0000h
04h Reserved X 18h PC M Out Vol. 8808h 2Ch PCM DAC SRate BB80h
06h Mono Mstr. Vol. 8000h 1Ah Rec ord Sel. 0000h 32h P CM ADC SRate BB80h
08h Reserved X 1Ch R ecord Gain 8000h 34h Reserved X
0Ah PC Beep Vol. 8000h 1Eh Reserved X 72h R eserved X
0Ch Phone In Vol. 8008h 20h Gen. Purpose 0000h 74h S erial Config. 7x0xh
0Eh Mic Vol. 8008h 22h 3D Control 0000h 76h Misc . Control Bits 0404h
10h Line In Vol. 8808h 24h Reserved X 7Ch Vender ID1 4144h
12h CD Vol. 8808h 26h Pwr Mgnt. 000x h 7Eh Vender ID2 5340h