Samsung S3C2440A User Manual
Page 41

PRODUCT OVERVIEW
S3C2440A RISC MICROPROCESSOR
1-40
Table 1-4. S3C2440A Special Registers (Sheet 14 of 14)
Register
Name
Address
(B. Endian)
Address
(L. Endian)
Acc. Unit
Read/
Write
Function
AC97 Audio-CODEC Interface
AC_GLBCTRL
0x5B000000
R/W
AC97 Global Control Register
AC_GLBSTAT
0x5B000004
R
AC97 Global Status Register
AC_CODEC_CMD
0x5B000008
R/W
AC97 Codec Command Register
AC_CODEC_STAT
0x5B00000C
R
AC97 Codec Status Register
AC_PCMADDR
0x5B000010
AC97 PCM Out/In Channel FIFO
Address Register
AC_MICADDR
0x5B000014
AC97 Mic In Channel FIFO Address
Register
AC_PCMDATA
0x5B000018
R/W
AC97 PCM Out/In Channel FIFO
Data Register
AC_MICDATA 0x5B00001C
←
W
AC97 MIC In Channel FIFO Data
Register
Cautions on S3C2440A Special Registers
1. In the little endian mode ‘L’, endian address must be used. In the big endian mode ‘B’ endian address must be
used.
2. The special registers have to be accessed for each recommended access unit.
3. All registers except ADC registers, RTC registers and UART registers must be read/write in word unit (32bit) in
little/big endian.
4. Make sure that the ADC registers, RTC registers and UART registers be read/write by the specified access
unit and the specified address. Moreover, one must carefully consider which endian mode is used.
5. W : 32-bit register, which must be accessed by LDR/STR or int type pointer(int *).
HW : 16-bit register, which must be accessed by LDRH/STRH or short int type pointer(short int *).
B : 8-bit register, which must be accessed by LDRB/STRB or char type pointer(char int *).