User's Manual

Table Of Contents
S3C2450X RISC MICROPROCESSOR AC97 CONTROLLER
27-13
8.2 AC97 GLOBAL CONTROL REGISTER (AC_GLBCTRL)
This is the global register of the AC97 controller. There are interrupt control registers, DMA control registers, AC-
Link control register, data transmission control register and related reset control register.
Register Address R/W Description Reset Value
AC_GLBCTRL 0x5B000000 R/W AC97 Global Control Register 0x000000
AC_GLBCTRL Bit Description Initial State
- [31:23] Reserved. 0
Codec ready interrupt enable [22] 0 = Disable
1 = Enable
0
PCM out channel underrun
interrupt enable
[21] 0 = Disable
1 = Enable ( FIFO is empty)
0
PCM in channel overrun
interrupt enable
[20] 0 = Disable
1 = Enable ( FIFO is full)
0
Mic in channel overrun
interrupt enable
[19] 0 = Disable
1 = Enable ( FIFO is full)
0
PCM out channel threshold
interrupt enable
[18] 0 = Disable
1 = Enable ( FIFO is half empty)
0
PCM in channel threshold
interrupt enable
[17] 0 = Disable
1 = Enable ( FIFO is half full)
0
MIC in channel threshold
interrupt enable
[16] 0 = Disable
1 = Enable ( FIFO is half full)
0
- [15:14]
Reserved.
00
PCM out channel transfer
mode
[13:12]
00 = Off 01 = PIO 10 = DMA 11 = Reserved
00
PCM in channel transfer
mode
[11:10]
00 = Off 01 = PIO 10 = DMA 11 = Reserved
00
MIC in channel transfer mode [9:8]
00 = Off 01 = PIO 10 = DMA 11 = Reserved
00
- [7:4]
Reserved.
0000
Transfer data enable using
AC-link
[3]
0 = Disable 1 = Enable
0
AC-Link on [2] 0 = Off
1 = SYNC signal transfer to Codec
0
Warm reset [1] 0 = Normal
1 = Wake up codec from power down
0
Cold reset [0]
0 = Normal
(note 2)
1 = Reset Codec and Controller Registers
(note 1)
0
NOTES:
1. During Cold reset, writing to any AC97 Registers will not affected.
2. When recovering from Cold reset, writing to any AC97 Registers will not be affected.
Example: For consecutive Cold reset and Warm reset, first set AC_GLBCTRL=0x1 then set AC_GLBCTRL=0x0.
After recovering from cold reset set AC_GLBCTRL=0x2 then AC_GLBCTRL=0x0.