微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > s3c2440头文件之2440addr.h

s3c2440头文件之2440addr.h

时间:11-11 来源:互联网 点击:

#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 data
#define rNFDATA8(*(volatile unsigned char *)0x4E000010) //NAND Flash data
#define NFDATA(0x4E000010) //NAND Flash data address
#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

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top