s3c2440头文件之2440addr.h
#define rDISRC3 (*(volatile unsigned *)0x4b0000c0)//DMA 3 Initial source
#define rDISRCC3 (*(volatile unsigned *)0x4b0000c4)//DMA 3 Initial source control
#define rDIDST3 (*(volatile unsigned *)0x4b0000c8)//DMA 3 Initial Destination
#define rDIDSTC3 (*(volatile unsigned *)0x4b0000cc)//DMA 3 Initial Destination control
#define rDCON3 (*(volatile unsigned *)0x4b0000d0)//DMA 3 Control
#define rDSTAT3 (*(volatile unsigned *)0x4b0000d4)//DMA 3 Status
#define rDCSRC3 (*(volatile unsigned *)0x4b0000d8)//DMA 3 Current source
#define rDCDST3 (*(volatile unsigned *)0x4b0000dc)//DMA 3 Current destination
#define rDMASKTRIG3 (*(volatile unsigned *)0x4b0000e0)//DMA 3 Mask trigger
// CLOCK & POWER MANAGEMENT
#define rLOCKTIME (*(volatile unsigned *)0x4c000000)//PLL lock time counter
#define rMPLLCON (*(volatile unsigned *)0x4c000004)//MPLL Control
#define rUPLLCON (*(volatile unsigned *)0x4c000008)//UPLL Control
#define rCLKCON (*(volatile unsigned *)0x4c00000c)//Clock generator control
#define rCLKSLOW (*(volatile unsigned *)0x4c000010)//Slow clock control
#define rCLKdivN (*(volatile unsigned *)0x4c000014)//Clock divider control
#define rCAMdivN (*(volatile unsigned *)0x4c000018)//USB, CAM Clock divider control
// LCD CONTROLLER
#define rLCDCON1 (*(volatile unsigned *)0x4d000000)//LCD control 1
#define rLCDCON2 (*(volatile unsigned *)0x4d000004)//LCD control 2
#define rLCDCON3 (*(volatile unsigned *)0x4d000008)//LCD control 3
#define rLCDCON4 (*(volatile unsigned *)0x4d00000c)//LCD control 4
#define rLCDCON5 (*(volatile unsigned *)0x4d000010)//LCD control 5
#define rLCDSADDR1 (*(volatile unsigned *)0x4d000014)//STN/TFT Frame buffer start address 1
#define rLCDSADDR2 (*(volatile unsigned *)0x4d000018)//STN/TFT Frame buffer start address 2
#define rLCDSADDR3 (*(volatile unsigned *)0x4d00001c)//STN/TFT Virtual screen address set
#define rREDLUT (*(volatile unsigned *)0x4d000020)//STN Red lookup table
#define rGREENLUT (*(volatile unsigned *)0x4d000024)//STN Green lookup table
#define rBLUELUT (*(volatile unsigned *)0x4d000028)//STN Blue lookup table
#define rDITHMODE (*(volatile unsigned *)0x4d00004c)//STN Dithering mode
#define rTPAL (*(volatile unsigned *)0x4d000050)//TFT Temporary palette
#define rLCDINTPND (*(volatile unsigned *)0x4d000054)//LCD Interrupt pending
#define rLCDSRCPND (*(volatile unsigned *)0x4d000058)//LCD Interrupt source
#define rLCDINTMSK (*(volatile unsigned *)0x4d00005c)//LCD Interrupt mask
#define rTCONSEL (*(volatile unsigned *)0x4d000060)//LPC3600 Control --- edited by junon
#define PALETTE 0x4d000400//Palette start address
//Nand Flash
#define rNFCONF(*(volatile unsigned *)0x4E000000)//NAND Flash configuration
#define rNFCONT(*(volatile unsigned *)0x4E000004) //NAND Flash control
#define rNFCMD(*(volatile unsigned *)0x4E000008) //NAND Flash command
#define rNFADDR(*(volatile unsigned *)0x4E00000C) //NAND Flash address
#define rNFDATA(*(volatile unsigned *)0x4E000010) //NAND Flash da
#define rNFDATA8(*(volatile unsigned char *)0x4E000010) //NAND Flash da
#define NFDATA(0x4E000010) //NAND Flash da
#define rNFMECCD0(*(volatile unsigned *)0x4E000014) //NAND Flash ECC for Main Area
#define rNFMECCD1(*(volatile unsigned *)0x4E000018)
#define rNFSECCD(*(volatile unsigned *)0x4E00001C)//NAND Flash ECC for Spare Area
#define rNFSTAT(*(volatile unsigned *)0x4E000020)//NAND Flash operation status
#define rNFESTAT0(*(volatile unsigned *)0x4E000024)
#define rNFESTAT1(*(volatile unsigned *)0x4E000028)
#define rNFMECC0(*(volatile unsigned *)0x4E00002C)
#define rNFMECC1(*(volatile unsigned *)0x4E000030)
#define rNFSECC(*(volatile unsigned *)0x4E000034)
#define rNFSBLK(*(volatile unsigned *)0x4E000038)//NAND Flash Start block address
#define rNFEBLK(*(volatile unsigned *)0x4E00003C)//NAND Flash End block address
s3c2440头文件2440addr 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)