s3c2440头文件之2440addr.h
// WATCH DOG TIMER
#define rWTCON (*(volatile unsigned *)0x53000000)//Watch-dog timer mode
#define rWTDAT (*(volatile unsigned *)0x53000004)//Watch-dog timer da
#define rWTCNT (*(volatile unsigned *)0x53000008)//Eatch-dog timer count
// IIC
#define rIICCON(*(volatile unsigned *)0x54000000)//IIC control
#define rIICSTAT(*(volatile unsigned *)0x54000004)//IIC status
#define rIICADD(*(volatile unsigned *)0x54000008)//IIC address
#define rIICDS(*(volatile unsigned *)0x5400000c)//IIC da
#define rIICLC(*(volatile unsigned *)0x54000010)//IIC multi-master line control
// IIS
#define rIISCON (*(volatile unsigned *)0x55000000)//IIS Control
#define rIISMOD (*(volatile unsigned *)0x55000004)//IIS Mode
#define rIISPSR (*(volatile unsigned *)0x55000008)//IIS Prescaler
#define rIISFCON (*(volatile unsigned *)0x5500000c)//IIS FIFO control
#ifdef __BIG_ENDIAN
#define IISFIFO ((volatile unsigned short *)0x55000012)//IIS FIFO entry
#else //Little Endian
#define IISFIFO ((volatile unsigned short *)0x55000010)//IIS FIFO entry
#endif
//AC97, Added for S3C2440A
#define rAC_GLBCTRL*(volatile unsigned *)0x5b000000
#define rAC_GLBSTAT*(volatile unsigned *)0x5b000004
#define rAC_CODEC_CMD*(volatile unsigned *)0x5b000008
#define rAC_CODEC_STAT*(volatile unsigned *)0x5b00000C
#define rAC_PCMADDR*(volatile unsigned *)0x5b000010
#define rAC_MICADDR*(volatile unsigned *)0x5b000014
#define rAC_PCMDATA*(volatile unsigned *)0x5b000018
#define rAC_MICDATA*(volatile unsigned *)0x5b00001C
#define AC_PCMDATA0x5b000018
#define AC_MICDATA0x5b00001C
// I/O PORT
#define rGPACON (*(volatile unsigned *)0x56000000)//Port A control
#define rGPADAT (*(volatile unsigned *)0x56000004)//Port A da
#define rGPBCON (*(volatile unsigned *)0x56000010)//Port B control
#define rGPBDAT (*(volatile unsigned *)0x56000014)//Port B da
#define rGPBUP (*(volatile unsigned *)0x56000018)//Pull-up control B
#define rGPCCON (*(volatile unsigned *)0x56000020)//Port C control
#define rGPCDAT (*(volatile unsigned *)0x56000024)//Port C da
#define rGPCUP (*(volatile unsigned *)0x56000028)//Pull-up control C
#define rGPDCON (*(volatile unsigned *)0x56000030)//Port D control
#define rGPDDAT (*(volatile unsigned *)0x56000034)//Port D da
#define rGPDUP (*(volatile unsigned *)0x56000038)//Pull-up control D
#define rGPECON (*(volatile unsigned *)0x56000040)//Port E control
#define rGPEDAT (*(volatile unsigned *)0x56000044)//Port E da
#define rGPEUP (*(volatile unsigned *)0x56000048)//Pull-up control E
#define rGPFCON (*(volatile unsigned *)0x56000050)//Port F control
#define rGPFDAT (*(volatile unsigned *)0x56000054)//Port F da
#define rGPFUP (*(volatile unsigned *)0x56000058)//Pull-up control F
#define rGPGCON (*(volatile unsigned *)0x56000060)//Port G control
#define rGPGDAT (*(volatile unsigned *)0x56000064)//Port G da
#define rGPGUP (*(volatile unsigned *)0x56000068)//Pull-up control G
#define rGPHCON (*(volatile unsigned *)0x56000070)//Port H control
#define rGPHDAT (*(volatile unsigned *)0x56000074)//Port H da
#define rGPHUP (*(volatile unsigned *)0x56000078)//Pull-up control H
#define rGPJCON (*(volatile unsigned *)0x560000d0)//Port J control
#define rGPJDAT (*(volatile unsigned *)0x560000d4)//Port J da
#define rGPJUP (*(volatile unsigned *)0x560000d8)//Pull-up control J
#define rMISCCR (*(volatile unsigned *)0x56000080)//Miscellaneous control
#define rDCLKCON (*(volatile unsigned *)0x56000084)//DCLK0/1 control
#define rEXTINT0 (*(volatile unsigned *)0x56000088)//External interrupt control register 0
#define rEXTINT1 (*(volatile unsigned *)0x5600008c)//External interrupt control register 1
#define rEXTINT2 (*(volatile unsigned *)0x56000090)//External interrupt control register 2
#define rEINTFLT0 (*(volatile unsigned *)0x56000094)//Reserved
#define rEINTFLT1 (*(volatile unsigned *)0x56000098)//Reserved
#define rEINTFLT2 (*(volatile unsigned *)0x5600009c)//External interrupt filter control register 2
#define rEINTFLT3 (*(volatile unsigned *)0x560000a0)//External interrupt filter control register 3
#define rEINTMASK (*(volatile unsigned *)0x560000a4)//External interrupt mask
#define rEINTPEND (*(volatile unsigned *)0x560000a8)//External interrupt pending
#define rGSTATUS0 (*(volatile unsigned *)0x560000ac)//External pin status
#define rGSTATUS1 (*(volatile unsigned *)0x560000b0)//Chip ID(0x32440000)
#define rGSTATUS2 (*(volatile unsigned *)0x560000b4)//Reset type
#define rGSTATUS3 (*(volatile unsigned *)0x560000b8)//Saved da
#define rGSTATUS4 (*(volatile unsigned *)0x560000bc)//Saved da
s3c2440头文件2440addr 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)