<acronym id="xonnx"></acronym>
      <td id="xonnx"></td>
    1. <pre id="xonnx"></pre>

      1. 專注電子技術學習與研究
        當前位置:單片機教程網 >> MCU設計實例 >> 瀏覽文章

        S3C6410_SYS_CONTROLL.h文件源碼下載

        作者:huqin   來源:本站原創   點擊數:  更新時間:2014年04月08日   【字體:

        S3C6410_SYS_CONTROLL.h文件的代碼給大家共享出來,右鍵另存保存為文件即下載:
         

        #ifndef _S3C6410_SYS_CONTROLL_H_
        #define _S3C6410_SYS_CONTROLL_H_
        
        #define SYS_BASE 0x7E00F000
        
        #define rAPLL_LOCK	(*(volatile unsigned *)(SYS_BASE + 0x000))
        #define rMPLL_LOCK	(*(volatile unsigned *)(SYS_BASE + 0x004))
        #define rEPLL_LOCK	(*(volatile unsigned *)(SYS_BASE + 0x008))
        #define rAPLL_CON	(*(volatile unsigned *)(SYS_BASE + 0x00C))
        #define rMPLL_CON	(*(volatile unsigned *)(SYS_BASE + 0x010))
        #define rEPLL_CON0	(*(volatile unsigned *)(SYS_BASE + 0x014))
        #define rEPLL_CON1	(*(volatile unsigned *)(SYS_BASE + 0x018))
        #define rCLK_SRC	(*(volatile unsigned *)(SYS_BASE + 0x01C))
        #define rCLK_DIV0	(*(volatile unsigned *)(SYS_BASE + 0x020))
        #define rCLK_DIV1	(*(volatile unsigned *)(SYS_BASE + 0x024))
        #define rCLK_DIV2	(*(volatile unsigned *)(SYS_BASE + 0x028))
        #define rCLK_OUT	(*(volatile unsigned *)(SYS_BASE + 0x02C))
        #define rHCLK_GATE	(*(volatile unsigned *)(SYS_BASE + 0x030))
        #define rPCLK_GATE	(*(volatile unsigned *)(SYS_BASE + 0x034))
        #define rSCLK_GATE	(*(volatile unsigned *)(SYS_BASE + 0x038))
        #define rAHB_CON0	(*(volatile unsigned *)(SYS_BASE + 0x100))
        #define rAHB_CON1	(*(volatile unsigned *)(SYS_BASE + 0x104))
        #define rAHB_CON2	(*(volatile unsigned *)(SYS_BASE + 0x108))
        #define rSDMA_SEL	(*(volatile unsigned *)(SYS_BASE + 0x110))
        #define rSW_RST	(*(volatile unsigned *)(SYS_BASE + 0x114))
        #define rSYS_ID	(*(volatile unsigned const*)(SYS_BASE + 0x118))
        #define rMEM_SYS_CFG	(*(volatile unsigned *)(SYS_BASE + 0x120))
        #define rQOS_OVERRIDE0	(*(volatile unsigned *)(SYS_BASE + 0x124))
        #define rQOS_OVERRIDE1	(*(volatile unsigned *)(SYS_BASE + 0x128))
        #define rMEM_CFG_STAT	(*(volatile unsigned const*)(SYS_BASE + 0x12C))
        #define rPWR_CFG	(*(volatile unsigned *)(SYS_BASE + 0x804))
        #define rEINT_MASK	(*(volatile unsigned *)(SYS_BASE + 0x808))
        #define rNORMAL_CFG	(*(volatile unsigned *)(SYS_BASE + 0x810))
        #define rSTOP_CFG	(*(volatile unsigned *)(SYS_BASE + 0x814))
        #define rSLEEP_CFG	(*(volatile unsigned *)(SYS_BASE + 0x818))
        #define rOSC_FREQ	(*(volatile unsigned *)(SYS_BASE + 0x820))
        #define rPWR_STABLE	(*(volatile unsigned *)(SYS_BASE + 0x828))
        #define rMTC_STABLE	(*(volatile unsigned *)(SYS_BASE + 0x830))
        #define rOTHERS	(*(volatile unsigned *)(SYS_BASE + 0x900))
        #define rRST_STAT	(*(volatile unsigned const*)(SYS_BASE + 0x904))
        #define rWAKEUP_STAT	(*(volatile unsigned *)(SYS_BASE + 0x908))
        #define rBLK_PWR_STAT	(*(volatile unsigned const*)(SYS_BASE + 0x90C))
        #define rINFORM0	(*(volatile unsigned *)(SYS_BASE + 0xA00))
        #define rINFORM1	(*(volatile unsigned *)(SYS_BASE + 0xA04))
        #define rINFORM2	(*(volatile unsigned *)(SYS_BASE + 0xA08))
        #define rINFORM3	(*(volatile unsigned *)(SYS_BASE + 0xA0C))
        //DRAM Control
        #define rP0MEMSTAT	(*(volatile unsigned const*)0x7E000000)
        #define rP1MEMSTAT	(*(volatile unsigned const*)0x7E001000)
        #define rP0MEMCCMD	(*(volatile unsigned *)0x7E000004)
        #define rP1MEMCCMD	(*(volatile unsigned *)0x7E001004)
        #define rP0DIRECTCMD	(*(volatile unsigned *)0x7E000008)
        #define rP1DIRECTCMD	(*(volatile unsigned *)0x7E001008)
        #define rP0MEMCFG	(*(volatile unsigned *)0x7E00000C)
        #define rP1MEMCFG	(*(volatile unsigned *)0x7E00100C)
        #define rP0REFRESH	(*(volatile unsigned *)0x7E000010)
        #define rP1REFRESH	(*(volatile unsigned *)0x7E001010)
        #define rP0CASLAT	(*(volatile unsigned *)0x7E000014)
        #define rP1CASLAT	(*(volatile unsigned *)0x7E001014)
        #define rP0T_DQSS	(*(volatile unsigned *)0x7E000018)
        #define rP1T_DQSS	(*(volatile unsigned *)0x7E001018)
        #define rP0T_MRD	(*(volatile unsigned *)0x7E00001C)
        #define rP1T_MRD	(*(volatile unsigned *)0x7E00101C)
        #define rP0T_RAS	(*(volatile unsigned *)0x7E000020)
        #define rP1T_RAS	(*(volatile unsigned *)0x7E001020)
        #define rP0T_RC	(*(volatile unsigned *)0x7E000024)
        #define rP1T_RC	(*(volatile unsigned *)0x7E001024)
        #define rP0T_RCD	(*(volatile unsigned *)0x7E000028)
        #define rP1T_RCD	(*(volatile unsigned *)0x7E001028)
        #define rP0T_RFC	(*(volatile unsigned *)0x7E00002C)
        #define rP0T_RFC	(*(volatile unsigned *)0x7E00102C)
        #define rP0T_RP	(*(volatile unsigned *)0x7E000030)
        #define rP1T_RP	(*(volatile unsigned *)0x7E000030)
        #define rP0T_RRD	(*(volatile unsigned *)0x7E000034)
        #define rP1T_RRD	(*(volatile unsigned *)0x7E001034)
        #define rP0T_WR	(*(volatile unsigned *)0x7E000038)
        #define rP1T_WR	(*(volatile unsigned *)0x7E001038)
        #define rP0T_WTR	(*(volatile unsigned *)0x7E00003C)
        #define rP1T_WTR	(*(volatile unsigned *)0x7E00103C)
        #define rP0T_XP	(*(volatile unsigned *)0x7E000040)
        #define rP1T_XP	(*(volatile unsigned *)0x7E001040)
        #define rP0T_XSR	(*(volatile unsigned *)0x7E000044)
        #define rP1T_XSR	(*(volatile unsigned *)0x7E001044)
        #define rP0T_ESR	(*(volatile unsigned *)0x7E000048)
        #define rP1T_ESR	(*(volatile unsigned *)0x7E001048)
        #define rP0MEMCFG2	(*(volatile unsigned *)0x7E00004C)
        #define rP1MEMCFG2	(*(volatile unsigned *)0x7E00104C)
        #define rP0_ID0_CFG	(*(volatile unsigned *)0x7E000100)
        #define rP1_ID0_CFG	(*(volatile unsigned *)0x7E001100)
        #define rP0_ID1_CFG	(*(volatile unsigned *)0x7E000104)
        #define rP1_ID1_CFG	(*(volatile unsigned *)0x7E001104)
        #define rP0_ID2_CFG	(*(volatile unsigned *)0x7E000108)
        #define rP1_ID2_CFG	(*(volatile unsigned *)0x7E001108)
        #define rP0_ID3_CFG	(*(volatile unsigned *)0x7E00010C)
        #define rP1_ID3_CFG	(*(volatile unsigned *)0x7E00110C)
        #define rP0_ID4_CFG	(*(volatile unsigned *)0x7E000110)
        #define rP1_ID4_CFG	(*(volatile unsigned *)0x7E001110)
        #define rP0_ID5_CFG	(*(volatile unsigned *)0x7E000114)
        #define rP1_ID5_CFG	(*(volatile unsigned *)0x7E001114)
        #define rP0_ID6_CFG	(*(volatile unsigned *)0x7E000118)
        #define rP1_ID6_CFG	(*(volatile unsigned *)0x7E001118)
        #define rP0_ID7_CFG	(*(volatile unsigned *)0x7E00011C)
        #define rP1_ID7_CFG	(*(volatile unsigned *)0x7E00111C)
        #define rP0_ID8_CFG	(*(volatile unsigned *)0x7E000120)
        #define rP1_ID8_CFG	(*(volatile unsigned *)0x7E001120)
        #define rP0_ID9_CFG	(*(volatile unsigned *)0x7E000124)
        #define rP1_ID9_CFG	(*(volatile unsigned *)0x7E001124)
        #define rP0_ID10_CFG	(*(volatile unsigned *)0x7E000128)
        #define rP1_ID10_CFG	(*(volatile unsigned *)0x7E001128)
        #define rP0_ID11_CFG	(*(volatile unsigned *)0x7E00012C)
        #define rP1_ID11_CFG	(*(volatile unsigned *)0x7E00112C)
        #define rP0_ID12_CFG	(*(volatile unsigned *)0x7E000130)
        #define rP1_ID12_CFG	(*(volatile unsigned *)0x7E001130)
        #define rP0_ID13_CFG	(*(volatile unsigned *)0x7E000134)
        #define rP1_ID13_CFG	(*(volatile unsigned *)0x7E001134)
        #define rP0_ID14_CFG	(*(volatile unsigned *)0x7E000138)
        #define rP1_ID14_CFG	(*(volatile unsigned *)0x7E001138)
        #define rP0_ID15_CFG	(*(volatile unsigned *)0x7E00013C)
        #define rP1_ID15_CFG	(*(volatile unsigned *)0x7E00113C)
        #define rP0_CHIP0_CFG	(*(volatile unsigned *)0x7E000200)
        #define rP1_CHIP0_CFG	(*(volatile unsigned *)0x7E001200)
        #define rP0_CHIP1_CFG	(*(volatile unsigned *)0x7E000204)
        #define rP1_CHIP1_CFG	(*(volatile unsigned *)0x7E001204)
        #define rP0_USER_START	(*(volatile unsigned *)0x7E000300)
        #define rP1_USER_START	(*(volatile unsigned *)0x7E001300)
        #define rP0_USER_CFG	(*(volatile unsigned *)0x7E000304)
        #define rP1_USER_CFG	(*(volatile unsigned *)0x7E001304)
        //SROM
        #define rSROM_BW	(*(volatile unsigned *)0x70000000)
        #define rSROM_BC0	(*(volatile unsigned *)0x70000004)
        #define rSROM_BC1	(*(volatile unsigned *)0x70000008)
        #define rSROM_BC2	(*(volatile unsigned *)0x7000000C)
        #define rSROM_BC3	(*(volatile unsigned *)0x70000010)
        #define rSROM_BC4	(*(volatile unsigned *)0x70000014)
        #define rSROM_BC5	(*(volatile unsigned *)0x70000018)
        //ONENAND	BANK0	
        #define rMEM_CFG0	(*(volatile unsigned *)0x70100000)
        #define rBURST_LEN0	(*(volatile unsigned *)0x70100010)
        #define rMEM_RESET0	(*(volatile unsigned *)0x70100020)
        #define rINT_ERR_STAT0	(*(volatile unsigned *)0x70100030)
        #define rINT_ERR_MASK0	(*(volatile unsigned *)0x70100040)
        #define rINT_ERR_ACK0	(*(volatile unsigned *)0x70100050)
        #define rECC_ERR_STAT0	(*(volatile unsigned *)0x70100060)
        #define rMANUFACT_ID0	(*(volatile unsigned const*)0x70100070)
        #define rDEVICE_ID0	(*(volatile unsigned const*)0x70100080)
        #define rDATA_BUF_SIZE0	(*(volatile unsigned const*)0x70100090)
        #define rBOOT_BUF_SIZE0	(*(volatile unsigned const*)0x701000A0)
        #define rBUF_AMOUNT0	(*(volatile unsigned const*)0x701000B0)
        #define rTECH0	(*(volatile unsigned const*)0x701000C0)
        #define rFBA_WIDTH0	(*(volatile unsigned*)0x701000D0)
        #define rFPA_WIDTH0	(*(volatile unsigned*)0x701000E0)
        #define rFSA_WIDTH0	(*(volatile unsigned*)0x701000F0)
        #define rREVISION0	(*(volatile unsigned const*)0x70100100)
        #define rDATARAM00	(*(volatile unsigned*)0x70100110)
        #define rDATARAM10	(*(volatile unsigned*)0x70100120)
        #define rSYNC_MODE0	(*(volatile unsigned const*)0x70100130)
        #define rTRANS_SPARE0	(*(volatile unsigned*)0x70100140)
        #define rLOCK_BIT0	(*(volatile unsigned*)0x70100150)
        #define rDBS_DFS_WIDTH0	(*(volatile unsigned*)0x70100160)
        #define rPAGE_CNT0	(*(volatile unsigned const*)0x70100170)
        #define rERR_PAGE_ADDR0	(*(volatile unsigned const*)0x70100180)
        #define rBURST_RD_LAT0	(*(volatile unsigned const*)0x70100190)
        #define rINT_PIN_ENABLE0	(*(volatile unsigned*)0x701001A0)
        #define rINT_MON_CYC0	(*(volatile unsigned*)0x701001B0)
        #define rACC_CLOCK0	(*(volatile unsigned*)0x701001C0)
        #define rSLOW_RD_PATH0	(*(volatile unsigned*)0x701001D0)
        #define rERR_BLK_ADDR0	(*(volatile unsigned const*)0x701001E0)
        #define rFLASH_VER_ID0	(*(volatile unsigned const*)0x701001F0)
        //ONENAND	BANK1	
        #define rMEM_CFG1	(*(volatile unsigned *)0x70180000)
        #define rBURST_LEN1	(*(volatile unsigned *)0x70180010)
        #define rMEM_RESET1	(*(volatile unsigned *)0x70180020)
        #define rINT_ERR_STAT1	(*(volatile unsigned *)0x70180030)
        #define rINT_ERR_MASK1	(*(volatile unsigned *)0x70180040)
        #define rINT_ERR_ACK1	(*(volatile unsigned *)0x70180050)
        #define rECC_ERR_STAT1	(*(volatile unsigned *)0x70180060)
        #define rMANUFACT_ID1	(*(volatile unsigned const*)0x70180070)
        #define rDEVICE_ID1	(*(volatile unsigned const*)0x70180080)
        #define rDATA_BUF_SIZE1	(*(volatile unsigned const*)0x70180090)
        #define rBOOT_BUF_SIZE1	(*(volatile unsigned const*)0x701800A0)
        #define rBUF_AMOUNT1	(*(volatile unsigned const*)0x701800B0)
        #define rTECH1	(*(volatile unsigned const*)0x701800C0)
        #define rFBA_WIDTH1	(*(volatile unsigned*)0x701800D0)
        #define rFPA_WIDTH1	(*(volatile unsigned*)0x701800E0)
        #define rFSA_WIDTH1	(*(volatile unsigned*)0x701800F0)
        #define rREVISION1	(*(volatile unsigned const*)0x70180100)
        #define rDATARAM01	(*(volatile unsigned*)0x70180110)
        #define rDATARAM11	(*(volatile unsigned*)0x70180120)
        #define rSYNC_MODE1	(*(volatile unsigned const*)0x70180130)
        #define rTRANS_SPARE1	(*(volatile unsigned*)0x70180140)
        #define rLOCK_BIT1	(*(volatile unsigned*)0x70180150)
        #define rDBS_DFS_WIDTH1	(*(volatile unsigned*)0x70180160)
        #define rPAGE_CNT1	(*(volatile unsigned const*)0x70180170)
        #define rERR_PAGE_ADDR1	(*(volatile unsigned const*)0x70180180)
        #define rBURST_RD_LAT1	(*(volatile unsigned const*)0x70180190)
        #define rINT_PIN_ENABLE1	(*(volatile unsigned*)0x701801A0)
        #define rINT_MON_CYC1	(*(volatile unsigned*)0x701801B0)
        #define rACC_CLOCK1	(*(volatile unsigned*)0x701801C0)
        #define rSLOW_RD_PATH1	(*(volatile unsigned*)0x701801D0)
        #define rERR_BLK_ADDR1	(*(volatile unsigned const*)0x701801E0)
        #define rFLASH_VER_ID1	(*(volatile unsigned const*)0x701801F0)
        //NAND FLASH	
        #define rNFCONF	(*(volatile unsigned*)0x70200000)
        #define rNFCONT	(*(volatile unsigned*)0x70200004)
        #define rNFCMMD	(*(volatile unsigned*)0x70200008)
        #define rNFADDR	(*(volatile unsigned*)0x7020000C)
        #define rNFDATA	(*(volatile unsigned*)0x70200010)
        #define rNFMECCD0	(*(volatile unsigned*)0x70200014)
        #define rNFMECCD1	(*(volatile unsigned*)0x70200018)
        #define rNFSECCD	(*(volatile unsigned*)0x7020001C)
        #define rNFSBLK	(*(volatile unsigned*)0x70200020)
        #define rNFEBLK	(*(volatile unsigned*)0x70200024)
        #define rNFSTAT	(*(volatile unsigned*)0x70200028)
        #define rNFECCERR0	(*(volatile unsigned const*)0x7020002C)
        #define rNFECCERR1	(*(volatile unsigned const*)0x70200030)
        #define rNFMECC0	(*(volatile unsigned const*)0x70200034)
        #define rNFMECC1	(*(volatile unsigned const*)0x70200038)
        #define rNFSECC	(*(volatile unsigned const*)0x7020003C)	
        #define rNFMLCBITPT	(*(volatile unsigned const*)0x70200040)
        #define rNF8ECCERR0	(*(volatile unsigned const*)0x70200044)
        #define rNF8ECCERR1	(*(volatile unsigned const*)0x70200048)
        #define rNF8ECCERR2	(*(volatile unsigned const*)0x7020004C)
        #define rNFM8ECC0	(*(volatile unsigned const*)0x70200050)
        #define rNFM8ECC1	(*(volatile unsigned const*)0x70200054)
        #define rNFM8ECC2	(*(volatile unsigned const*)0x70200058)
        #define rNFM8ECC3	(*(volatile unsigned const*)0x7020005C)
        #define rNFMLC8BITPT0	(*(volatile unsigned const*)0x70200060)
        #define rNFMLC8BITPT1	(*(volatile unsigned const*)0x70200064)
        //CFCON
        #define SFR_BASE 0x703018
        
        #define rMUX_REG	(*(volatile unsigned*)SFR_BASE00)
        #define rPCCARD_CNF&STATUS	(*(volatile unsigned*)SFR_BASE20)
        #define rPCCARD_INTMSK&SRC	(*(volatile unsigned*)SFR_BASE24)
        #define rPCCARD_ATTR	(*(volatile unsigned*)SFR_BASE28)
        #define rPCCARD_I/O	(*(volatile unsigned*)SFR_BASE2C)
        #define rPCCARD_COMM	(*(volatile unsigned*)SFR_BASE30)
        
        #define ATA_BASE 0x703019
        
        #define rATA_CONTROL	(*(volatile unsigned*)ATA_BASE00)
        #define rATA_STATUS	(*(volatile unsigned*)ATA_BASE04)
        #define rATA_COMMAND	(*(volatile unsigned*)ATA_BASE08)
        #define rATA_SWRST	(*(volatile unsigned*)ATA_BASE0C)
        #define rATA_IRQ	(*(volatile unsigned*)ATA_BASE10)
        #define rATA_IRQ_MASK	(*(volatile unsigned*)ATA_BASE14)
        #define rATA_CFG	(*(volatile unsigned*)ATA_BASE18)
        #define rATA_PIO_TIME	(*(volatile unsigned*)ATA_BASE2C)
        #define rATA_UDMA_TIME	(*(volatile unsigned*)ATA_BASE30)
        #define rATA_XFR_NUM	(*(volatile unsigned*)ATA_BASE34)
        #define rATA_XFR_CNT	(*(volatile unsigned*)ATA_BASE38)
        #define rATA_TBUF_START	(*(volatile unsigned*)ATA_BASE3C)
        #define rATA_TBUF_SIZE	(*(volatile unsigned*)ATA_BASE40)
        #define rATA_SBUF_START	(*(volatile unsigned*)ATA_BASE44)
        #define rATA_SBUF_SIZE	(*(volatile unsigned*)ATA_BASE48)
        #define rATA_CADR_TBUF	(*(volatile unsigned*)ATA_BASE4C)
        #define rATA_CADR_SBUF	(*(volatile unsigned*)ATA_BASE50)
        #define rATA_PIO_DTR	(*(volatile unsigned*)ATA_BASE54)
        #define rATA_PIO_FED	(*(volatile unsigned*)ATA_BASE58)
        #define rATA_PIO_SCR	(*(volatile unsigned*)ATA_BASE5C)
        #define rATA_PIO_LLR	(*(volatile unsigned*)ATA_BASE60)
        #define rATA_PIO_LMR	(*(volatile unsigned*)ATA_BASE64)
        #define rATA_PIO_LHR	(*(volatile unsigned*)ATA_BASE68)
        #define rATA_PIO_DVR	(*(volatile unsigned*)ATA_BASE6C)
        #define rATA_PIO_CSD	(*(volatile unsigned*)ATA_BASE70)
        #define rATA_PIO_DAD	(*(volatile unsigned*)ATA_BASE74)
        #define rATA_PIO_RDATA	(*(volatile unsigned*)ATA_BASE7C)
        #define rATA_FIFO_STATUS	(*(volatile unsigned*)ATA_BASE94)
        #endif
        
        關閉窗口

        相關文章

        欧美性色欧美精品视频,99热这里只有精品mp4,日韩高清亚洲日韩精品一区二区,2020国自产拍精品高潮