rt-thread/bsp/sep4020/sep4020.h

638 lines
48 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*************************************************************************************
*
* File name: sep4020.h
*
* Change Logs:
* Date Author Notes
* 2010-03-17 zchong first version
**************************************************************************************/
#ifndef __SEP4020_H__
#define __SEP4020_H__
/*************************************
macros for INTC
*************************************/
/*interrupt resources */
#define INTGLOBAL 32
#define INT_RTC 31
#define INT_DMAC 30
#define INT_EMI 29
#define INT_MAC 28
#define INT_TIMER1 27
#define INT_TIMER2 26
#define INT_TIMER3 25
#define INT_UART0 24
#define INT_UART1 23
#define INT_UART2 22
#define INT_UART3 21
#define INT_PWM 20
#define INT_LCDC 19
#define INT_I2S 18
#define INT_SSI 17
#define INT_NOTUSED16 16
#define INT_USB 15
#define INT_SMC0 14
#define INT_SMC1 13
#define INT_SDIO 12
#define INT_EXINT10 11
#define INT_EXINT9 10
#define INT_EXINT8 9
#define INT_EXINT7 8
#define INT_EXINT6 7
#define INT_EXINT5 6
#define INT_EXINT4 5
#define INT_EXINT3 4
#define INT_EXINT2 3
#define INT_EXINT1 2
#define INT_EXINT0 1
#define INT_NOTUSED0 0
/******************************************************************************************
* INTCÄ£¿é
* »ùÖ·: 0x10000000
******************************************************************************************/
#define INTC_IER (*(volatile unsigned *)0x10000000) /* IRQ interrupt enable register */
#define INTC_IMR (*(volatile unsigned *)0x10000008) /* IRQ interrupt mask register */
#define INTC_IFR (*(volatile unsigned *)0x10000010) /* IRQÈí¼þÇ¿ÖÆÖжϼĴæÆ÷ */
#define INTC_IRSR (*(volatile unsigned *)0x10000018) /* IRQδ´¦ÀíÖжÏ״̬¼Ä´æÆ÷ */
#define INTC_ISR (*(volatile unsigned *)0x10000020) /* IRQÖжÏ״̬¼Ä´æÆ÷ */
#define INTC_IMSR (*(volatile unsigned *)0x10000028) /* IRQÆÁ±ÎÖжÏ״̬¼Ä´æÆ÷ */
#define INTC_IFSR (*(volatile unsigned *)0x10000030) /* IRQÖжÏ×îÖÕ״̬¼Ä´æÆ÷ */
#define INTC_FIER (*(volatile unsigned *)0x100000C0) /* FIQÖжÏÔÊÐí¼Ä´æÆ÷ */
#define INTC_FIMR (*(volatile unsigned *)0x100000C4) /* FIQÖжÏÆÁ±Î¼Ä´æÆ÷ */
#define INTC_FIFR (*(volatile unsigned *)0x100000C8) /* FIQÈí¼þÇ¿ÖÆÖжϼĴæÆ÷ */
#define INTC_FIRSR (*(volatile unsigned *)0x100000CC) /* FIQδ´¦ÀíÖжÏ״̬¼Ä´æÆ÷ */
#define INTC_FISR (*(volatile unsigned *)0x100000D0) /* FIQÖжÏ״̬¼Ä´æÆ÷ */
#define INTC_FIFSR (*(volatile unsigned *)0x100000D4) /* FIQÖжÏ×îÖÕ״̬¼Ä´æÆ÷ */
#define INTC_IPLR (*(volatile unsigned *)0x100000D8) /* IRQÖжÏÓÅÏȼ¶¼Ä´æÆ÷ */
#define INTC_ICR1 (*(volatile unsigned *)0x100000DC) /* IRQÄÚ²¿ÖжÏÓÅÏȼ¶¿ØÖƼĴæÆ÷1 */
#define INTC_ICR2 (*(volatile unsigned *)0x100000E0) /* IRQÄÚ²¿ÖжÏÓÅÏȼ¶¿ØÖƼĴæÆ÷2 */
#define INTC_EXICR1 (*(volatile unsigned *)0x100000E4) /* IRQÍⲿÖжÏÓÅÏȼ¶¿ØÖƼĴæÆ÷1 */
#define INTC_EXICR2 (*(volatile unsigned *)0x100000E8) /* IRQÍⲿÖжÏÓÅÏȼ¶¿ØÖƼĴæÆ÷2 */
/******************************************************************************************
* PMCÄ£¿é
* »ùÖ·: 0x10001000
******************************************************************************************/
#define PMC_PLTR (*(volatile unsigned *)0x10001000) /* PLLµÄÎȶ¨¹ý¶Éʱ¼ä */
#define PMC_PMCR (*(volatile unsigned *)0x10001004) /* ϵͳÖ÷ʱÖÓPLLµÄ¿ØÖƼĴæÆ÷ */
#define PMC_PUCR (*(volatile unsigned *)0x10001008) /* USBʱÖÓPLLµÄ¿ØÖƼĴæÆ÷ */
#define PMC_PCSR (*(volatile unsigned *)0x1000100C) /* ÄÚ²¿Ä£¿éʱÖÓÔ´¹©¸øµÄ¿ØÖƼĴæÆ÷ */
#define PMC_PDSLOW (*(volatile unsigned *)0x10001010) /* SLOW״̬ÏÂʱÖӵķÖƵÒò×Ó */
#define PMC_PMDR (*(volatile unsigned *)0x10001014) /* оƬ¹¤×÷ģʽ¼Ä´æÆ÷ */
#define PMC_RCTR (*(volatile unsigned *)0x10001018) /* Reset¿ØÖƼĴæÆ÷ */
#define PMC_CLRWAKUP (*(volatile unsigned *)0x1000101C) /* WakeUpÇå³ý¼Ä´æÆ÷ */
/******************************************************************************************
* RTCÄ£¿é
* »ùÖ·: 0x10002000
******************************************************************************************/
#define RTC_STA_YMD (*(volatile unsigned *)0x10002000) /* Äê, ÔÂ, ÈÕ¼ÆÊý¼Ä´æÆ÷ */
#define RTC_STA_HMS (*(volatile unsigned *)0x10002004) /* Сʱ, ·ÖÖÓ, Ãë¼Ä´æÆ÷ */
#define RTC_ALARM_ALL (*(volatile unsigned *)0x10002008) /* ¶¨Ê±ÔÂ, ÈÕ, ʱ, ·Ö¼Ä´æÆ÷ */
#define RTC_CTR (*(volatile unsigned *)0x1000200C) /* ¿ØÖƼĴæÆ÷ */
#define RTC_INT_EN (*(volatile unsigned *)0x10002010) /* ÖжÏʹÄܼĴæÆ÷ */
#define RTC_INT_STS (*(volatile unsigned *)0x10002014) /* ÖжÏ״̬¼Ä´æÆ÷ */
#define RTC_SAMP (*(volatile unsigned *)0x10002018) /* ²ÉÑùÖÜÆڼĴæÆ÷ */
#define RTC_WD_CNT (*(volatile unsigned *)0x1000201C) /* Watch-Dog¼ÆÊýÖµ¼Ä´æÆ÷ */
#define RTC_WD_SEV (*(volatile unsigned *)0x10002020) /* Watch-Dog·þÎñ¼Ä´æÆ÷ */
#define RTC_CONFIG_CHECK (*(volatile unsigned *)0x10002024) /* ÅäÖÃʱ¼äÈ·ÈϼĴæÆ÷ (ÔÚÅäÖÃʱ¼ä֮ǰÏÈд0xaaaaaaaa) */
#define RTC_SOFTRESET (*(volatile unsigned *)0x10002028) /* Èí¼þ¸´Î»¿ØÖƼĴæÆ÷, 4020Öб»È¥µôÁË */
#define RTC_KEY0 (*(volatile unsigned *)0x1000202C) /* ÃÜÔ¿¼Ä´æÆ÷0, 4020ÖÐÖ»ÓÐÕâÒ»¸ö¼Ä´æÆ÷ */
#define RTC_KEY1 (*(volatile unsigned *)0x10002030) /* ÃÜÔ¿¼Ä´æÆ÷1 */
#define RTC_KEY2 (*(volatile unsigned *)0x10002034) /* ÃÜÔ¿¼Ä´æÆ÷2 */
#define RTC_KEY3 (*(volatile unsigned *)0x10002038) /* ÃÜÔ¿¼Ä´æÆ÷3 */
#define RTC_KEY4 (*(volatile unsigned *)0x1000203C) /* ÃÜÔ¿¼Ä´æÆ÷4 */
#define RTC_KEY5 (*(volatile unsigned *)0x10002040) /* ÃÜÔ¿¼Ä´æÆ÷5 */
/******************************************************************************************
* TIMERÄ£¿é
* »ùÖ·: 0x10003000
******************************************************************************************/
#define TIMER_T1LCR (*(volatile unsigned *)0x10003000) /* ͨµÀ1¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T1CCR (*(volatile unsigned *)0x10003004) /* ͨµÀ1µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T1CR (*(volatile unsigned *)0x10003008) /* ͨµÀ1¿ØÖƼĴæÆ÷ */
#define TIMER_T1ISCR (*(volatile unsigned *)0x1000300C) /* ͨµÀ1ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T1IMSR (*(volatile unsigned *)0x10003010) /* ͨµÀ1ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T2LCR (*(volatile unsigned *)0x10003020) /* ͨµÀ2¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T2CCR (*(volatile unsigned *)0x10003024) /* ͨµÀ2µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T2CR (*(volatile unsigned *)0x10003028) /* ͨµÀ2¿ØÖƼĴæÆ÷ */
#define TIMER_T2ISCR (*(volatile unsigned *)0x1000302C) /* ͨµÀ2ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T2IMSR (*(volatile unsigned *)0x10003030) /* ͨµÀ2ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T3LCR (*(volatile unsigned *)0x10003040) /* ͨµÀ3¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T3CCR (*(volatile unsigned *)0x10003044) /* ͨµÀ3µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T3CR (*(volatile unsigned *)0x10003048) /* ͨµÀ3¿ØÖƼĴæÆ÷ */
#define TIMER_T3ISCR (*(volatile unsigned *)0x1000304C) /* ͨµÀ3ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T3IMSR (*(volatile unsigned *)0x10003050) /* ͨµÀ3ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T3CAPR (*(volatile unsigned *)0x10003054) /* ͨµÀ3²¶»ñ¼Ä´æÆ÷ */
#define TIMER_T4LCR (*(volatile unsigned *)0x10003060) /* ͨµÀ4¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T4CCR (*(volatile unsigned *)0x10003064) /* ͨµÀ4µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T4CR (*(volatile unsigned *)0x10003068) /* ͨµÀ4¿ØÖƼĴæÆ÷ */
#define TIMER_T4ISCR (*(volatile unsigned *)0x1000306C) /* ͨµÀ4ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T4IMSR (*(volatile unsigned *)0x10003070) /* ͨµÀ4ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T4CAPR (*(volatile unsigned *)0x10003074) /* ͨµÀ4²¶»ñ¼Ä´æÆ÷ */
#define TIMER_T5LCR (*(volatile unsigned *)0x10003080) /* ͨµÀ5¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T5CCR (*(volatile unsigned *)0x10003084) /* ͨµÀ5µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T5CR (*(volatile unsigned *)0x10003088) /* ͨµÀ5¿ØÖƼĴæÆ÷ */
#define TIMER_T5ISCR (*(volatile unsigned *)0x1000308C) /* ͨµÀ5ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T5IMSR (*(volatile unsigned *)0x10003090) /* ͨµÀ5ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T5CAPR (*(volatile unsigned *)0x10003094) /* ͨµÀ5²¶»ñ¼Ä´æÆ÷ */
#define TIMER_T6LCR (*(volatile unsigned *)0x100030A0) /* ͨµÀ6¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T6CCR (*(volatile unsigned *)0x100030A4) /* ͨµÀ6µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T6CR (*(volatile unsigned *)0x100030A8) /* ͨµÀ6¿ØÖƼĴæÆ÷ */
#define TIMER_T6ISCR (*(volatile unsigned *)0x100030AC) /* ͨµÀ6ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T6IMSR (*(volatile unsigned *)0x100030B0) /* ͨµÀ6ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T6CAPR (*(volatile unsigned *)0x100030B4) /* ͨµÀ6²¶»ñ¼Ä´æÆ÷ */
#define TIMER_T7LCR (*(volatile unsigned *)0x100030C0) /* ͨµÀ7¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T7CCR (*(volatile unsigned *)0x100030C4) /* ͨµÀ7µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T7CR (*(volatile unsigned *)0x100030C8) /* ͨµÀ7¿ØÖƼĴæÆ÷ */
#define TIMER_T7ISCR (*(volatile unsigned *)0x100030CC) /* ͨµÀ7ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T7IMSR (*(volatile unsigned *)0x100030D0) /* ͨµÀ7ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T8LCR (*(volatile unsigned *)0x100030E0) /* ͨµÀ8¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T8CCR (*(volatile unsigned *)0x100030E4) /* ͨµÀ8µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T8CR (*(volatile unsigned *)0x100030E8) /* ͨµÀ8¿ØÖƼĴæÆ÷ */
#define TIMER_T8ISCR (*(volatile unsigned *)0x100030EC) /* ͨµÀ8ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T8IMSR (*(volatile unsigned *)0x100030F0) /* ͨµÀ8ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T9LCR (*(volatile unsigned *)0x10003100) /* ͨµÀ9¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T9CCR (*(volatile unsigned *)0x10003104) /* ͨµÀ9µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T9CR (*(volatile unsigned *)0x10003108) /* ͨµÀ9¿ØÖƼĴæÆ÷ */
#define TIMER_T9ISCR (*(volatile unsigned *)0x1000310C) /* ͨµÀ9ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T9IMSR (*(volatile unsigned *)0x10003110) /* ͨµÀ9ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_T10LCR (*(volatile unsigned *)0x10003120) /* ͨµÀ10¼ÓÔؼÆÊý¼Ä´æÆ÷ */
#define TIMER_T10CCR (*(volatile unsigned *)0x10003124) /* ͨµÀ10µ±Ç°¼ÆÊýÖµ¼Ä´æÆ÷ */
#define TIMER_T10CR (*(volatile unsigned *)0x10003128) /* ͨµÀ10¿ØÖƼĴæÆ÷ */
#define TIMER_T10ISCR (*(volatile unsigned *)0x1000312C) /* ͨµÀ10ÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_T10IMSR (*(volatile unsigned *)0x10003130) /* ͨµÀ10ÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_TIMSR (*(volatile unsigned *)0x10003140) /* TIMERÖжÏÆÁ±Î״̬¼Ä´æÆ÷ */
#define TIMER_TISCR (*(volatile unsigned *)0x10003144) /* TIMERÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define TIMER_TISR (*(volatile unsigned *)0x10003148) /* TIMERÖжÏ״̬¼Ä´æÆ÷ */
/******************************************************************************************
* PWMÄ£¿é
* »ùÖ·: 0x10004000
******************************************************************************************/
#define PWM1_CTRL (*(volatile unsigned *)0x10004000) /* PWM1¿ØÖƼĴæÆ÷ */
#define PWM1_DIV (*(volatile unsigned *)0x10004004) /* PWM1·ÖƵ¼Ä´æÆ÷ */
#define PWM1_PERIOD (*(volatile unsigned *)0x10004008) /* PWM1ÖÜÆڼĴæÆ÷ */
#define PWM1_DATA (*(volatile unsigned *)0x1000400C) /* PWM1Êý¾Ý¼Ä´æÆ÷ */
#define PWM1_CNT (*(volatile unsigned *)0x10004010) /* PWM1¼ÆÊý¼Ä´æÆ÷ */
#define PWM1_STATUS (*(volatile unsigned *)0x10004014) /* PWM1״̬¼Ä´æÆ÷ */
#define PWM2_CTRL (*(volatile unsigned *)0x10004020) /* PWM2¿ØÖƼĴæÆ÷ */
#define PWM2_DIV (*(volatile unsigned *)0x10004024) /* PWM2·ÖƵ¼Ä´æÆ÷ */
#define PWM2_PERIOD (*(volatile unsigned *)0x10004028) /* PWM2ÖÜÆڼĴæÆ÷ */
#define PWM2_DATA (*(volatile unsigned *)0x1000402C) /* PWM2Êý¾Ý¼Ä´æÆ÷ */
#define PWM2_CNT (*(volatile unsigned *)0x10004030) /* PWM2¼ÆÊý¼Ä´æÆ÷ */
#define PWM2_STATUS (*(volatile unsigned *)0x10004034) /* PWM2״̬¼Ä´æÆ÷ */
#define PWM3_CTRL (*(volatile unsigned *)0x10004040) /* PWM3¿ØÖƼĴæÆ÷ */
#define PWM3_DIV (*(volatile unsigned *)0x10004044) /* PWM3·ÖƵ¼Ä´æÆ÷ */
#define PWM3_PERIOD (*(volatile unsigned *)0x10004048) /* PWM3ÖÜÆڼĴæÆ÷ */
#define PWM3_DATA (*(volatile unsigned *)0x1000404C) /* PWM3Êý¾Ý¼Ä´æÆ÷ */
#define PWM3_CNT (*(volatile unsigned *)0x10004050) /* PWM3¼ÆÊý¼Ä´æÆ÷ */
#define PWM3_STATUS (*(volatile unsigned *)0x10004054) /* PWM3״̬¼Ä´æÆ÷ */
#define PWM4_CTRL (*(volatile unsigned *)0x10004060) /* PWM4¿ØÖƼĴæÆ÷ */
#define PWM4_DIV (*(volatile unsigned *)0x10004064) /* PWM4·ÖƵ¼Ä´æÆ÷ */
#define PWM4_PERIOD (*(volatile unsigned *)0x10004068) /* PWM4ÖÜÆڼĴæÆ÷ */
#define PWM4_DATA (*(volatile unsigned *)0x1000406C) /* PWM4Êý¾Ý¼Ä´æÆ÷ */
#define PWM4_CNT (*(volatile unsigned *)0x10004070) /* PWM4¼ÆÊý¼Ä´æÆ÷ */
#define PWM4_STATUS (*(volatile unsigned *)0x10004074) /* PWM4״̬¼Ä´æÆ÷ */
#define PWM_INTMASK (*(volatile unsigned *)0x10004080) /* PWMÖжÏÆÁ±Î¼Ä´æÆ÷ */
#define PWM_INT (*(volatile unsigned *)0x10004084) /* PWMÖжϼĴæÆ÷ */
#define PWM_ENABLE (*(volatile unsigned *)0x10004088) /* PWMʹÄܼĴæÆ÷ */
/******************************************************************************************
* UART0Ä£¿é
* »ùÖ·: 0x10005000
******************************************************************************************/
#define UART0BASE ((volatile unsigned *)0x10005000)
#define UART0_DLBL (*(volatile unsigned char*)0x10005000) /* ²¨ÌØÂÊÉèÖõͰËλ¼Ä´æÆ÷ */
#define UART0_RXFIFO (*(volatile unsigned char*)0x10005000) /* ½ÓÊÕFIFO */
#define UART0_TXFIFO (*(volatile unsigned char*)0x10005000) /* ·¢ËÍFIFO */
#define UART0_DLBH (*(volatile unsigned char*)0x10005004) /* ²¨ÌØÂÊÉèÖø߰Ëλ¼Ä´æÆ÷ */
#define UART0_IER (*(volatile unsigned char*)0x10005004) /* ÖжÏʹÄܼĴæÆ÷ */
#define UART0_IIR (*(volatile unsigned *)0x10005008) /* ÖжÏʶ±ð¼Ä´æÆ÷ */
#define UART0_FCR (*(volatile unsigned *)0x10005008) /* FIFO¿ØÖƼĴæÆ÷ */
#define UART0_LCR (*(volatile unsigned *)0x1000500C) /* ÐпØÖƼĴæÆ÷ */
#define UART0_MCR (*(volatile unsigned *)0x10005010) /* Modem¿ØÖƼĴæÆ÷ */
#define UART0_LSR (*(volatile unsigned *)0x10005014) /* ÐÐ״̬¼Ä´æÆ÷ */
#define UART0_MSR (*(volatile unsigned *)0x10005018) /* Modem״̬¼Ä´æÆ÷ */
/******************************************************************************************
* UART1Ä£¿é
* »ùÖ·: 0x10006000
******************************************************************************************/
#define UART1BASE ((volatile unsigned *)0x10006000)
#define UART1_DLBL (*(volatile unsigned *)0x10006000) /* ²¨ÌØÂÊÉèÖõͰËλ¼Ä´æÆ÷ */
#define UART1_RXFIFO (*(volatile unsigned *)0x10006000) /* ½ÓÊÕFIFO */
#define UART1_TXFIFO (*(volatile unsigned *)0x10006000) /* ·¢ËÍFIFO */
#define UART1_DLBH (*(volatile unsigned *)0x10006004) /* ²¨ÌØÂÊÉèÖø߰Ëλ¼Ä´æÆ÷ */
#define UART1_IER (*(volatile unsigned *)0x10006004) /* ÖжÏʹÄܼĴæÆ÷ */
#define UART1_IIR (*(volatile unsigned *)0x10006008) /* ÖжÏʶ±ð¼Ä´æÆ÷ */
#define UART1_FCR (*(volatile unsigned *)0x10006008) /* FIFO¿ØÖƼĴæÆ÷ */
#define UART1_LCR (*(volatile unsigned *)0x1000600C) /* ÐпØÖƼĴæÆ÷ */
#define UART1_MCR (*(volatile unsigned *)0x10006010) /* Modem¿ØÖƼĴæÆ÷ */
#define UART1_LSR (*(volatile unsigned *)0x10006014) /* ÐÐ״̬¼Ä´æÆ÷ */
#define UART1_MSR (*(volatile unsigned *)0x10006018) /* Modem״̬¼Ä´æÆ÷ */
/******************************************************************************************
* UART2Ä£¿é
* »ùÖ·: 0x10007000
******************************************************************************************/
#define UART2BASE ((volatile unsigned *)0x10007000)
#define UART2_DLBL (*(volatile unsigned *)0x10007000) /* ²¨ÌØÂÊÉèÖõͰËλ¼Ä´æÆ÷ */
#define UART2_RXFIFO (*(volatile unsigned *)0x10007000) /* ½ÓÊÕFIFO */
#define UART2_TXFIFO (*(volatile unsigned *)0x10007000) /* ·¢ËÍFIFO */
#define UART2_DLBH (*(volatile unsigned *)0x10007004) /* ²¨ÌØÂÊÉèÖø߰Ëλ¼Ä´æÆ÷ */
#define UART2_IER (*(volatile unsigned *)0x10007004) /* ÖжÏʹÄܼĴæÆ÷ */
#define UART2_IIR (*(volatile unsigned *)0x10007008) /* ÖжÏʶ±ð¼Ä´æÆ÷ */
#define UART2_FCR (*(volatile unsigned *)0x10007008) /* FIFO¿ØÖƼĴæÆ÷ */
#define UART2_LCR (*(volatile unsigned *)0x1000700C) /* ÐпØÖƼĴæÆ÷ */
#define UART2_MCR (*(volatile unsigned *)0x10007010) /* Modem¿ØÖƼĴæÆ÷ */
#define UART2_LSR (*(volatile unsigned *)0x10007014) /* ÐÐ״̬¼Ä´æÆ÷ */
#define UART2_MSR (*(volatile unsigned *)0x10007018) /* Modem״̬¼Ä´æÆ÷ */
/******************************************************************************************
* UART3Ä£¿é
* »ùÖ·: 0x10008000
******************************************************************************************/
#define UART3BASE ((volatile unsigned *)0x10008000)
#define UART3_DLBL (*(volatile unsigned *)0x10008000) /* ²¨ÌØÂÊÉèÖõͰËλ¼Ä´æÆ÷ */
#define UART3_RXFIFO (*(volatile unsigned *)0x10008000) /* ½ÓÊÕFIFO */
#define UART3_TXFIFO (*(volatile unsigned *)0x10008000) /* ·¢ËÍFIFO */
#define UART3_DLBH (*(volatile unsigned *)0x10008004) /* ²¨ÌØÂÊÉèÖø߰Ëλ¼Ä´æÆ÷ */
#define UART3_IER (*(volatile unsigned *)0x10008004) /* ÖжÏʹÄܼĴæÆ÷ */
#define UART3_IIR (*(volatile unsigned *)0x10008008) /* ÖжÏʶ±ð¼Ä´æÆ÷ */
#define UART3_FCR (*(volatile unsigned *)0x10008008) /* FIFO¿ØÖƼĴæÆ÷ */
#define UART3_LCR (*(volatile unsigned *)0x1000800C) /* ÐпØÖƼĴæÆ÷ */
#define UART3_MCR (*(volatile unsigned *)0x10008010) /* Modem¿ØÖƼĴæÆ÷ */
#define UART3_LSR (*(volatile unsigned *)0x10008014) /* ÐÐ״̬¼Ä´æÆ÷ */
#define UART3_MSR (*(volatile unsigned *)0x10008018) /* Modem״̬¼Ä´æÆ÷ */
/******************************************************************************************
* SSIÄ£¿é
* »ùÖ·: 0x10009000
******************************************************************************************/
#define SSI_CONTROL0 (*(volatile unsigned *)0x10009000) /* ¿ØÖƼĴæÆ÷0 */
#define SSI_CONTROL1 (*(volatile unsigned *)0x10009004) /* ¿ØÖƼĴæÆ÷1 */
#define SSI_SSIENR (*(volatile unsigned *)0x10009008) /* SSIʹÄܼĴæÆ÷ */
#define SSI_MWCR (*(volatile unsigned *)0x1000900C) /* Microwire¿ØÖƼĴæÆ÷ */
#define SSI_SER (*(volatile unsigned *)0x10009010) /* ´ÓÉ豸ʹÄܼĴæÆ÷ */
#define SSI_BAUDR (*(volatile unsigned *)0x10009014) /* ²¨ÌØÂÊÉèÖüĴæÆ÷ */
#define SSI_TXFTLR (*(volatile unsigned *)0x10009018) /* ·¢ËÍFIFOãÐÖµ¼Ä´æÆ÷ */
#define SSI_RXFTLR (*(volatile unsigned *)0x1000901C) /* ½ÓÊÕFIFOãÐÖµ¼Ä´æÆ÷ */
#define SSI_TXFLR (*(volatile unsigned *)0x10009020) /* ·¢ËÍFIFO״̬¼Ä´æÆ÷ */
#define SSI_RXFLR (*(volatile unsigned *)0x10009024) /* ½ÓÊÕFIFO״̬¼Ä´æÆ÷ */
#define SSI_SR (*(volatile unsigned *)0x10009028) /* ״̬¼Ä´æÆ÷ */
#define SSI_IMR (*(volatile unsigned *)0x1000902C) /* ÖжÏÆÁ±Î¼Ä´æÆ÷ */
#define SSI_ISR (*(volatile unsigned *)0x10009030) /* ÖжÏ×îÖÕ״̬¼Ä´æÆ÷ */
#define SSI_RISR (*(volatile unsigned *)0x10009034) /* ÖжÏԭʼ״̬¼Ä´æÆ÷ */
#define SSI_TXOICR (*(volatile unsigned *)0x10009038) /* ·¢ËÍFIFOÉÏÒçÖжÏÇå³ý¼Ä´æÆ÷ */
#define SSI_RXOICR (*(volatile unsigned *)0x1000903C) /* ½ÓÊÕFIFOÉÏÒçÖжÏÇå³ý¼Ä´æÆ÷ */
#define SSI_RXUICR (*(volatile unsigned *)0x10009040) /* ½ÓÊÕFIFOÏÂÒçÖжÏÇå³ý¼Ä´æÆ÷ */
#define SSI_ICR (*(volatile unsigned *)0x1000902C) /* ÖжÏÇå³ý¼Ä´æÆ÷ */
#define SSI_DMACR (*(volatile unsigned *)0x1000904C) /* DMA¿ØÖƼĴæÆ÷ */
#define SSI_DMATDLR (*(volatile unsigned *)0x10009050) /* DMA·¢ËÍ״̬¼Ä´æÆ÷ */
#define SSI_DMARDLR (*(volatile unsigned *)0x10009054) /* DMA½ÓÊÕ״̬¼Ä´æÆ÷ */
#define SSI_DR (*(volatile unsigned *)0x10009060) /* Êý¾Ý¼Ä´æÆ÷ */
/******************************************************************************************
* I2SÄ£¿é
* »ùÖ·: 0x1000A000
******************************************************************************************/
#define I2S_CTRL (*(volatile unsigned *)0x1000A000) /* I2S¿ØÖƼĴæÆ÷ */
#define I2S_DATA (*(volatile unsigned *)0x1000A004) /* I2SÊý¾Ý¼Ä´æÆ÷ */
#define I2S_INT (*(volatile unsigned *)0x1000A008) /* I2SÖжϼĴæÆ÷ */
#define I2S_STATUS (*(volatile unsigned *)0x1000A00C) /* I2S״̬¼Ä´æÆ÷ */
/******************************************************************************************
* GPIOÄ£¿é
* »ùÖ·: 0x1000F000
******************************************************************************************/
#define GPIO_DBCLK_DIV (*(volatile unsigned *)0x1000F000) /* ȥë´Ì²ÉÓÃʱÖÓ·ÖƵ±ÈÅäÖüĴæÆ÷ */
#define GPIO_PORTA_DIR (*(volatile unsigned *)0x1000F004) /* A×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTA_SEL (*(volatile unsigned *)0x1000F008) /* A×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTA_INCTL (*(volatile unsigned *)0x1000F00C) /* A×é¶Ë¿ÚͨÓÃÓÃ;ÊäÈëʱÀàÐÍÅäÖüĴæÆ÷ */
#define GPIO_PORTA_INTRCTL (*(volatile unsigned *)0x1000F010) /* A×é¶Ë¿ÚÖжϴ¥·¢ÀàÐÍÅäÖüĴæÆ÷ */
#define GPIO_PORTA_INTRCLR (*(volatile unsigned *)0x1000F014) /* A×é¶Ë¿ÚͨÓÃÓÃ;ÖжÏÇå³ýÅäÖüĴæÆ÷ */
#define GPIO_PORTA_DATA (*(volatile unsigned *)0x1000F018) /* A×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTB_DIR (*(volatile unsigned *)0x1000F01C) /* B×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTB_SEL (*(volatile unsigned *)0x1000F020) /* B×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTB_DATA (*(volatile unsigned *)0x1000F024) /* B×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTC_DIR (*(volatile unsigned *)0x1000F028) /* C×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTC_SEL (*(volatile unsigned *)0x1000F02C) /* C×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTC_DATA (*(volatile unsigned *)0x1000F030) /* C×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTD_DIR (*(volatile unsigned *)0x1000F034) /* D×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTD_SEL (*(volatile unsigned *)0x1000F038) /* D×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTD_SPECII (*(volatile unsigned *)0x1000F03C) /* D×é¶Ë¿ÚרÓÃÓÃ;2Ñ¡ÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTD_DATA (*(volatile unsigned *)0x1000F040) /* D×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTE_DIR (*(volatile unsigned *)0x1000F044) /* E×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTE_SEL (*(volatile unsigned *)0x1000F048) /* E×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTE_DATA (*(volatile unsigned *)0x1000F04C) /* E×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTF_DIR (*(volatile unsigned *)0x1000F050) /* F×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTF_SEL (*(volatile unsigned *)0x1000F054) /* F×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTF_INCTL (*(volatile unsigned *)0x1000F058) /* F×é¶Ë¿ÚͨÓÃÓÃ;ÊäÈëʱÀàÐÍÅäÖüĴæÆ÷ */
#define GPIO_PORTF_INTRCTL (*(volatile unsigned *)0x1000F05C) /* F×é¶Ë¿ÚÖжϴ¥·¢ÀàÐÍÅäÖüĴæÆ÷ */
#define GPIO_PORTF_INTRCLR (*(volatile unsigned *)0x1000F060) /* F×é¶Ë¿ÚͨÓÃÓÃ;ÖжÏÇå³ýÅäÖüĴæÆ÷ */
#define GPIO_PORTF_DATA (*(volatile unsigned *)0x1000F064) /* F×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTG_DIR (*(volatile unsigned *)0x1000F068) /* G×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTG_SEL (*(volatile unsigned *)0x1000F06C) /* G×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTG_DATA (*(volatile unsigned *)0x1000F070) /* G×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTH_DIR (*(volatile unsigned *)0x1000F074) /* H×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTH_SEL (*(volatile unsigned *)0x1000F078) /* H×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTH_DATA (*(volatile unsigned *)0x1000F07c) /* H×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
#define GPIO_PORTI_DIR (*(volatile unsigned *)0x1000F080) /* I×é¶Ë¿ÚÊäÈëÊä³ö·½ÏòÅäÖüĴæÆ÷ */
#define GPIO_PORTI_SEL (*(volatile unsigned *)0x1000F084) /* I×é¶Ë¿ÚͨÓÃÓÃ;ѡÔñÅäÖüĴæÆ÷ */
#define GPIO_PORTI_DATA (*(volatile unsigned *)0x1000F088) /* I×é¶Ë¿ÚͨÓÃÓÃ;Êý¾ÝÅäÖüĴæÆ÷ */
/******************************************************************************************
* SMC0Ä£¿é
* »ùÖ·: 0x1000C000
******************************************************************************************/
#define SMC0_CTRL (*(volatile unsigned *)0x1000C000) /* SMC0¿ØÖƼĴæÆ÷ */
#define SMC0_INT (*(volatile unsigned *)0x1000C004) /* SMC0ÖжϼĴæÆ÷ */
#define SMC0_FD (*(volatile unsigned *)0x1000C008) /* SMC0»ù±¾µ¥ÔªÊ±¼ä¼Ä´æÆ÷ */
#define SMC0_CT (*(volatile unsigned *)0x1000C00C) /* SMC0×Ö·û´«Êäʱ¼ä¼Ä´æÆ÷ */
#define SMC0_BT (*(volatile unsigned *)0x1000C010) /* SMC0¿é´«Êäʱ¼ä¼Ä´æÆ÷ */
/******************************************************************************************
* SMC1Ä£¿é
* »ùÖ·: 0x1000D000
******************************************************************************************/
#define SMC1_CTRL (*(volatile unsigned *)0x1000D000) /* SMC1¿ØÖƼĴæÆ÷ */
#define SMC1_INT (*(volatile unsigned *)0x1000D004) /* SMC1ÖжϼĴæÆ÷ */
#define SMC1_FD (*(volatile unsigned *)0x1000D008) /* SMC1»ù±¾µ¥ÔªÊ±¼ä¼Ä´æÆ÷ */
#define SMC1_CT (*(volatile unsigned *)0x1000D00C) /* SMC1×Ö·û´«Êäʱ¼ä¼Ä´æÆ÷ */
#define SMC1_BT (*(volatile unsigned *)0x1000D010) /* SMC1¿é´«Êäʱ¼ä¼Ä´æÆ÷ */
/******************************************************************************************
* USBDÄ£¿é
* »ùÖ·: 0x1000E000
******************************************************************************************/
#define USBD_PROTOCOLINTR (*(volatile unsigned *)0x1000E000) /* USBЭÒéÖжϼĴæÆ÷ */
#define USBD_INTRMASK (*(volatile unsigned *)0x1000E004) /* USBÖжÏÆÁ±Î¼Ä´æÆ÷ */
#define USBD_INTRCTRL (*(volatile unsigned *)0x1000E008) /* USBÖжÏÀàÐÍ¿ØÖƼĴæÆ÷ */
#define USBD_EPINFO (*(volatile unsigned *)0x1000E00C) /* USB»î¶¯¶Ëµã״̬¼Ä´æÆ÷ */
#define USBD_BCONFIGURATIONVALUE (*(volatile unsigned *)0x1000E010) /* SET_CCONFIGURATION¼Ç¼ */
#define USBD_BMATTRIBUTES (*(volatile unsigned *)0x1000E014) /* µ±Ç°ÅäÖÃÊôÐԼĴæÆ÷ */
#define USBD_DEVSPEED (*(volatile unsigned *)0x1000E018) /* µ±Ç°É豸¹¤×÷ËٶȼĴæÆ÷ */
#define USBD_FRAMENUMBER (*(volatile unsigned *)0x1000E01C) /* ¼Ç¼µ±Ç°SOF°üÄÚµÄÖ¡ºÅ */
#define USBD_EPTRANSACTIONS0 (*(volatile unsigned *)0x1000E020) /* ¼Ç¼Ï´ÎÒªÇóµÄ´«Êä´ÎÊý */
#define USBD_EPTRANSACTIONS1 (*(volatile unsigned *)0x1000E024) /* ¼Ç¼Ï´ÎÒªÇóµÄ´«Êä´ÎÊý */
#define USBD_APPIFUPDATE (*(volatile unsigned *)0x1000E028) /* ½Ó¿ÚºÅ¿ìËÙ¸üмĴæÆ÷ */
#define USBD_CFGINTERFACE0 (*(volatile unsigned *)0x1000E02c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE1 (*(volatile unsigned *)0x1000E030) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE2 (*(volatile unsigned *)0x1000E034) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE3 (*(volatile unsigned *)0x1000E038) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE4 (*(volatile unsigned *)0x1000E03c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE5 (*(volatile unsigned *)0x1000E040) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE6 (*(volatile unsigned *)0x1000E044) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE7 (*(volatile unsigned *)0x1000E048) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE8 (*(volatile unsigned *)0x1000E04c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE9 (*(volatile unsigned *)0x1000E050) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE10 (*(volatile unsigned *)0x1000E054) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE11 (*(volatile unsigned *)0x1000E058) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE12 (*(volatile unsigned *)0x1000E05c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE13 (*(volatile unsigned *)0x1000E060) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE14 (*(volatile unsigned *)0x1000E064) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE15 (*(volatile unsigned *)0x1000E068) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE16 (*(volatile unsigned *)0x1000E06c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE17 (*(volatile unsigned *)0x1000E070) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE18 (*(volatile unsigned *)0x1000E074) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE19 (*(volatile unsigned *)0x1000E078) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE20 (*(volatile unsigned *)0x1000E07c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE21 (*(volatile unsigned *)0x1000E080) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE22 (*(volatile unsigned *)0x1000E084) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE23 (*(volatile unsigned *)0x1000E088) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE24 (*(volatile unsigned *)0x1000E08c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE25 (*(volatile unsigned *)0x1000E090) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE26 (*(volatile unsigned *)0x1000E094) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE27 (*(volatile unsigned *)0x1000E098) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE28 (*(volatile unsigned *)0x1000E09c) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE29 (*(volatile unsigned *)0x1000E0a0) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE30 (*(volatile unsigned *)0x1000E0a4) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_CFGINTERFACE31 (*(volatile unsigned *)0x1000E0a8) /* ¼Ç¼½Ó¿ÚµÄÖµ */
#define USBD_PKTPASSEDCTRL (*(volatile unsigned *)0x1000E0ac) /* ¼Ç¼³É¹¦½ÓÊյİüÊý */
#define USBD_PKTDROPPEDCTRL (*(volatile unsigned *)0x1000E0b0) /* ¼Ç¼¶ªÊ§µÄ°üÊý */
#define USBD_CRCERRCTRL (*(volatile unsigned *)0x1000E0b4) /* ¼Ç¼CRC´íÎóµÄ°üÊý */
#define USBD_BITSTUFFERRCTRL (*(volatile unsigned *)0x1000E0b8) /* ¼Ç¼λÌî³ä´íÎóµÄ°üÊý */
#define USBD_PIDERRCTRL (*(volatile unsigned *)0x1000E0bc) /* ¼Ç¼PID´íÎóµÄ°üÊý */
#define USBD_FRAMINGERRCTL (*(volatile unsigned *)0x1000E0c0) /* ¼Ç¼ÓÐSYNCºÍEOPµÄ°üÊý */
#define USBD_TXPKTCTRL (*(volatile unsigned *)0x1000E0c4) /* ¼Ç¼·¢ËÍ°üµÄÊýÁ¿ */
#define USBD_STATCTRLOV (*(volatile unsigned *)0x1000E0c8) /* ¼Ç¼ͳ¼Æ¼Ä´æÆ÷Òç³öÇé¿ö */
#define USBD_TXLENGTH (*(volatile unsigned *)0x1000E0cc) /* ¼Ç¼ÿ´ÎIN´«ÊäÊÂÎñ°ü³¤¶È */
#define USBD_RXLENGTH (*(volatile unsigned *)0x1000E0d0) /* ¼Ç¼OUT´«ÊäÊÂÎñ°ü³¤¶È */
#define USBD_RESUME (*(volatile unsigned *)0x1000E0d4) /* USB»½ÐѼĴæÆ÷ */
#define USBD_READFLAG (*(volatile unsigned *)0x1000E0d8) /* ¶ÁÒ첽״̬¼Ä´æÆ÷±êÖ¾ */
#define USBD_RECEIVETYPE (*(volatile unsigned *)0x1000E0dc) /* ´«Êä״̬¼Ä´æÆ÷ */
#define USBD_APPLOCK (*(volatile unsigned *)0x1000E0e0) /* ËøÐźżĴæÆ÷ */
#define USBD_EP0OUTADDR (*(volatile unsigned *)0x1000E100) /* ¶Ëµã0¶ËµãºÅºÍ·½Ïò */
#define USBD_EP0OUTBMATTR (*(volatile unsigned *)0x1000E104) /* ¶Ëµã0ÀàÐͼĴæÆ÷ */
#define USBD_EP0OUTMAXPKTSIZE (*(volatile unsigned *)0x1000E108) /* ¶Ëµã0×î´ó°ü³ß´ç¼Ä´æÆ÷ */
#define USBD_EP0OUTIFNUM (*(volatile unsigned *)0x1000E10c) /* ¶Ëµã0½Ó¿ÚºÅ¼Ä´æÆ÷ */
#define USBD_EP0OUTSTAT (*(volatile unsigned *)0x1000E110) /* ¶Ëµã0״̬¼Ä´æÆ÷ */
#define USBD_EP0OUTBMREQTYPE (*(volatile unsigned *)0x1000E114) /* ¶Ëµã0 SETUPÊÂÎñÇëÇóÀà */
#define USBD_EP0OUTBREQUEST (*(volatile unsigned *)0x1000E118) /* ¶Ëµã0 SETUPÊÂÎñÇëÇóÄÚÈÝ */
#define USBD_EP0OUTWVALUE (*(volatile unsigned *)0x1000E11c) /* ¶Ëµã0 SETUPÊÂÎñÇëÇóÖµ */
#define USBD_EP0OUTWINDEX (*(volatile unsigned *)0x1000E120) /* ¶Ëµã0 SETUPÊÂÎñÇëÇóË÷Òý */
#define USBD_EP0OUTWLENGTH (*(volatile unsigned *)0x1000E120) /* ¶Ëµã0 SETUPÊÂÎñÇëÇó³¤¶È */
#define USBD_EP0OUTSYNCHFRAME (*(volatile unsigned *)0x1000E128) /* ¶Ëµã0ͬ²½°üÖ¡ºÅ */
#define USBD_EP1OUTADDR (*(volatile unsigned *)0x1000E12c) /* ¶Ëµã1Êä³ö¶ËµãºÅºÍ·½Ïò */
#define USBD_EP1OUTBMATTR (*(volatile unsigned *)0x1000E130) /* ¶Ëµã1Êä³öÀàÐͼĴæÆ÷ */
#define USBD_EP1OUTMAXPKTSIZE (*(volatile unsigned *)0x1000E134) /* ¶Ëµã1Êä³ö×î´ó°ü³ß´ç¼Ä´æÆ÷ */
#define USBD_EP1OUTIFNUM (*(volatile unsigned *)0x1000E138) /* ¶Ëµã1Êä³ö½Ó¿ÚºÅ¼Ä´æÆ÷ */
#define USBD_EP1OUTSTAT (*(volatile unsigned *)0x1000E13c) /* ¶Ëµã1Êä³ö״̬¼Ä´æÆ÷ */
#define USBD_EP1OUTBMREQTYPE (*(volatile unsigned *)0x1000E140) /* ¶Ëµã1Êä³öSETUPÊÂÎñÇëÇóÀàÐÍ */
#define USBD_EP1OUTBREQUEST (*(volatile unsigned *)0x1000E144) /* ¶Ëµã1Êä³öSETUPÊÂÎñÇëÇóÄÚÈÝ */
#define USBD_EP1OUTWVALUE (*(volatile unsigned *)0x1000E148) /* ¶Ëµã1Êä³öSETUPÊÂÎñÇëÇóÖµ */
#define USBD_EP1OUTWINDX (*(volatile unsigned *)0x1000E14c) /* ¶Ëµã1Êä³öSETUPÊÂÎñÇëÇóË÷Òý */
#define USBD_EP1OUTWLENGH (*(volatile unsigned *)0x1000E150) /* ¶Ëµã1Êä³öSETUPÊÂÎñÇëÇóÓò³¤¶È */
#define USBD_EP1OUTSYNCHFRAME (*(volatile unsigned *)0x1000E154) /* ¶Ëµã1Êä³öͬ²½°üÖ¡ºÅ */
#define USBD_EP1INADDR (*(volatile unsigned *)0x1000E158) /* ¶Ëµã1ÊäÈë¶ËµãºÅºÍ·½Ïò */
#define USBD_EP1INBMATTR (*(volatile unsigned *)0x1000E15c) /* ¶Ëµã1ÊäÈëÀàÐͼĴæÆ÷ */
#define USBD_EP1INMAXPKTSIZE (*(volatile unsigned *)0x1000E160) /* ¶Ëµã1ÊäÈë×î´ó°ü³ß´ç¼Ä´æÆ÷ */
#define USBD_EP1INIFNUM (*(volatile unsigned *)0x1000E164) /* ¶Ëµã1ÊäÈë½Ó¿ÚºÅ¼Ä´æÆ÷ */
#define USBD_EP1INSTAT (*(volatile unsigned *)0x1000E168) /* ¶Ëµã1ÊäÈë״̬¼Ä´æÆ÷ */
#define USBD_EP1INBMREQTYPE (*(volatile unsigned *)0x1000E16c) /* ¶Ëµã1ÊäÈëSETUPÊÂÎñÇëÇóÀàÐÍ */
#define USBD_EP1INBREQUEST (*(volatile unsigned *)0x1000E170) /* ¶Ëµã1ÊäÈëSETUPÊÂÎñÇëÇóÄÚÈÝ */
#define USBD_EP1INWVALUE (*(volatile unsigned *)0x1000E174) /* ¶Ëµã1ÊäÈëSETUPÊÂÎñÇëÇóÖµ */
#define USBD_EP1INWINDEX (*(volatile unsigned *)0x1000E178) /* ¶Ëµã1ÊäÈëSETUPÊÂÎñÇëÇóË÷Òý */
#define USBD_EP1INWLENGTH (*(volatile unsigned *)0x1000E17c) /* ¶Ëµã1ÊäÈëSETUPÊÂÎñÇëÇóÓò³¤¶È */
#define USBD_EP1INSYNCHFRAME (*(volatile unsigned *)0x1000E180) /* ¶Ëµã1ÊäÈëͬ²½°üÖ¡ºÅ */
#define USBD_EP2OUTADDR (*(volatile unsigned *)0x1000E184) /* ¶Ëµã2Êä³ö¶ËµãºÅºÍ·½Ïò */
#define USBD_EP2OUTBMATTR (*(volatile unsigned *)0x1000E188) /* ¶Ëµã2Êä³öÀàÐͼĴæÆ÷ */
#define USBD_EP2OUTMAXPKTSIZE (*(volatile unsigned *)0x1000E18c) /* ¶Ëµã2Êä³ö×î´ó°ü³ß´ç¼Ä´æÆ÷ */
#define USBD_EP2OUTIFNUM (*(volatile unsigned *)0x1000E190) /* ¶Ëµã2Êä³ö½Ó¿ÚºÅ¼Ä´æÆ÷ */
#define USBD_EP2OUTSTAT (*(volatile unsigned *)0x1000E194) /* ¶Ëµã2Êä³ö״̬¼Ä´æÆ÷ */
#define USBD_EP2OUTBMREQTYPE (*(volatile unsigned *)0x1000E198) /* ¶Ëµã2Êä³öSETUPÊÂÎñÇëÇóÀàÐÍ */
#define USBD_EP2OUTBREQUEST (*(volatile unsigned *)0x1000E19c) /* ¶Ëµã2Êä³öSETUPÊÂÎñÇëÇóÄÚÈÝ */
#define USBD_EP2OUTWVALUE (*(volatile unsigned *)0x1000E1a0) /* ¶Ëµã2Êä³öSETUPÊÂÎñÇëÇóÖµ */
#define USBD_EP2OUTWINDEX (*(volatile unsigned *)0x1000E1a4) /* ¶Ëµã2Êä³öSETUPÊÂÎñÇëÇóË÷Òý */
#define USBD_EP2OUTWLENGTH (*(volatile unsigned *)0x1000E1a8) /* ¶Ëµã2Êä³öSETUPÊÂÎñÇëÇóÓò³¤¶È */
#define USBD_EP2OUTSYNCHFRAME (*(volatile unsigned *)0x1000E1ac) /* ¶Ëµã2Êä³öͬ²½°üÖ¡ºÅ */
#define USBD_EP2INADDR (*(volatile unsigned *)0x1000E1b0) /* ¶Ëµã2ÊäÈë¶ËµãºÅºÍ·½Ïò */
#define USBD_EP2INBMATTR (*(volatile unsigned *)0x1000E1b4) /* ¶Ëµã2ÊäÈëÀàÐͼĴæÆ÷ */
#define USBD_EP2INMAXPKTSIZE (*(volatile unsigned *)0x1000E1b8) /* ¶Ëµã2ÊäÈë×î´ó°ü³ß´ç¼Ä´æÆ÷ */
#define USBD_EP2INIFNUM (*(volatile unsigned *)0x1000E1bc) /* ¶Ëµã2ÊäÈë½Ó¿ÚºÅ¼Ä´æÆ÷ */
#define USBD_EP2INSTAT (*(volatile unsigned *)0x1000E1c0) /* ¶Ëµã2ÊäÈë״̬¼Ä´æÆ÷ */
#define USBD_EP2INBMREQTYPE (*(volatile unsigned *)0x1000E1c4) /* ¶Ëµã2ÊäÈëSETUPÊÂÎñÇëÇóÀàÐÍ */
#define USBD_EP2INBREQUEST (*(volatile unsigned *)0x1000E1c8) /* ¶Ëµã2ÊäÈëSETUPÊÂÎñÇëÇóÄÚÈÝ */
#define USBD_EP2INWVALUE (*(volatile unsigned *)0x1000E1cc) /* ¶Ëµã2ÊäÈëSETUPÊÂÎñÇëÇóÖµ */
#define USBD_EP2INWINDEX (*(volatile unsigned *)0x1000E1d0) /* ¶Ëµã2ÊäÈëSETUPÊÂÎñÇëÇóË÷Òý */
#define USBD_EP2INWLENGTH (*(volatile unsigned *)0x1000E1d4) /* ¶Ëµã2ÊäÈëSETUPÊÂÎñÇëÇóÓò³¤¶È */
#define USBD_EP2INSYNCHFRAME (*(volatile unsigned *)0x1000E1d8) /* ¶Ëµã2ÊäÈëͬ²½°üÖ¡ºÅ */
#define USBD_RXFIFO (*(volatile unsigned *)0x1000E200) /* ½ÓÊÜFIFO */
#define USBD_TXFIFO (*(volatile unsigned *)0x1000E300) /* ·¢ËÍFIFO */
/******************************************************************************************
* EMIÄ£¿é
* »ùÖ·: 0x11000000
******************************************************************************************/
#define EMI_CSACONF (*(volatile unsigned *)0x11000000) /* CSA²ÎÊýÅäÖüĴæÆ÷ */
#define EMI_CSBCONF (*(volatile unsigned *)0x11000004) /* CSB²ÎÊýÅäÖüĴæÆ÷ */
#define EMI_CSCCONF (*(volatile unsigned *)0x11000008) /* CSC²ÎÊýÅäÖüĴæÆ÷ */
#define EMI_CSDCONF (*(volatile unsigned *)0x1100000c) /* CSD²ÎÊýÅäÖüĴæÆ÷ */
#define EMI_CSECONF (*(volatile unsigned *)0x11000010) /* CSE²ÎÊýÅäÖüĴæÆ÷ */
#define EMI_CSFCONF (*(volatile unsigned *)0x11000014) /* CSF²ÎÊýÅäÖüĴæÆ÷ */
#define EMI_SDCONF1 (*(volatile unsigned *)0x11000018) /* SDRAMʱÐòÅäÖüĴæÆ÷1 */
#define EMI_SDCONF2 (*(volatile unsigned *)0x1100001c) /* SDRAMʱÐòÅäÖüĴæÆ÷2, SDRAM³õʼ»¯Óõ½µÄÅäÖÃÐÅÏ¢ */
#define EMI_REMAPCONF (*(volatile unsigned *)0x11000020) /* Ƭѡ¿Õ¼ä¼°µØÖ·Ó³ÉäREMAPÅäÖüĴæÆ÷ */
#define EMI_NAND_ADDR1 (*(volatile unsigned *)0x11000100) /* NAND FLASHµÄµØÖ·¼Ä´æÆ÷1 */
#define EMI_NAND_COM (*(volatile unsigned *)0x11000104) /* NAND FLASHµÄ¿ØÖÆ×ּĴæÆ÷ */
#define EMI_NAND_STA (*(volatile unsigned *)0x1100010c) /* NAND FLASHµÄ״̬¼Ä´æÆ÷ */
#define EMI_ERR_ADDR1 (*(volatile unsigned *)0x11000110) /* ¶Á²Ù×÷³ö´íµÄµØÖ·¼Ä´æÆ÷1 */
#define EMI_ERR_ADDR2 (*(volatile unsigned *)0x11000114) /* ¶Á²Ù×÷³ö´íµÄµØÖ·¼Ä´æÆ÷2 */
#define EMI_NAND_CONF1 (*(volatile unsigned *)0x11000118) /* NAND FLASHµÄÅäÖÃÆ÷´æÆ÷1 */
#define EMI_NAND_INTR (*(volatile unsigned *)0x1100011c) /* NAND FLASHÖжϼĴæÆ÷ */
#define EMI_NAND_ECC (*(volatile unsigned *)0x11000120) /* ECCУÑéÍê³É¼Ä´æÆ÷ */
#define EMI_NAND_IDLE (*(volatile unsigned *)0x11000124) /* NAND FLASH¿ÕÏмĴæÆ÷ */
#define EMI_NAND_CONF2 (*(volatile unsigned *)0x11000128) /* NAND FLASHµÄÅäÖÃÆ÷´æÆ÷2 */
#define EMI_NAND_ADDR2 (*(volatile unsigned *)0x1100012c) /* NAND FLASHµÄµØÖ·¼Ä´æÆ÷2 */
#define EMI_NAND_ID (*(volatile unsigned *)0x11000130) /* NAND FLASHµÄID¼Ä´æÆ÷*/
#define EMI_NAND_DATA (*(volatile unsigned *)0x11000200) /* NAND FLASHµÄÊý¾Ý¼Ä´æÆ÷ */
/******************************************************************************************
* DMACÄ£¿é
* »ùÖ·: 0x11001000
******************************************************************************************/
#define DMAC_INTSTATUS (*(volatile unsigned *)0x11001020) /* DAMCÖжÏ״̬¼Ä´æÆ÷¡£ */
#define DMAC_INTTCSTATUS (*(volatile unsigned *)0x11001050) /* DMAC´«ÊäÍê³ÉÖжÏ״̬¼Ä´æÆ÷ */
#define DMAC_INTTCCLEAR (*(volatile unsigned *)0x11001060) /* DMAC´«ÊäÍê³ÉÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define DMAC_INTERRORSTATUS (*(volatile unsigned *)0x11001080) /* DMAC´«Êä´íÎóÖжÏ״̬¼Ä´æÆ÷ */
#define DMAC_INTERRCLR (*(volatile unsigned *)0x11001090) /* DMAC´«Êä´íÎóÖжÏ״̬Çå³ý¼Ä´æÆ÷ */
#define DMAC_ENBLDCHNS (*(volatile unsigned *)0x110010b0) /* DMACͨµÀʹÄÜ״̬¼Ä´æÆ÷ */
#define DMAC_C0SRCADDR (*(volatile unsigned *)0x11001000) /* DMACµÀ0Ô´µØÖ·¼Ä´æÆ÷ */
#define DMAC_C0DESTADD (*(volatile unsigned *)0x11001004) /* DMACµÀ0Ä¿µÄµØÖ·¼Ä´æÆ÷ */
#define DMAC_C0CONTROL (*(volatile unsigned *)0x1100100c) /* DMACµÀ0¿ØÖƼĴæÆ÷ */
#define DMAC_C0CONFIGURATION (*(volatile unsigned *)0x11001010) /* DMACµÀ0ÅäÖüĴæÆ÷ */
#define DMAC_C0DESCRIPTOR (*(volatile unsigned *)0x11001014) /* DMACµÀ0Á´±íµØÖ·¼Ä´æÆ÷ */
#define DMAC_C1SRCADDR (*(volatile unsigned *)0x11001100) /* DMACµÀ1Ô´µØÖ·¼Ä´æÆ÷ */
#define DMAC_C1DESTADDR (*(volatile unsigned *)0x11001104) /* DMACµÀ1Ä¿µÄµØÖ·¼Ä´æÆ÷ */
#define DMAC_C1CONTROL (*(volatile unsigned *)0x1100110c) /* DMACµÀ1¿ØÖƼĴæÆ÷ */
#define DMAC_C1CONFIGURATION (*(volatile unsigned *)0x11001110) /* DMACµÀ1ÅäÖüĴæÆ÷ */
#define DMAC_C1DESCRIPTOR (*(volatile unsigned *)0x11001114) /* DMACµÀ1Á´±íµØÖ·¼Ä´æÆ÷ */
#define DMAC_C2SRCADDR (*(volatile unsigned *)0x11001200) /* DMACµÀ2Ô´µØÖ·¼Ä´æÆ÷ */
#define DMAC_C2DESTADDR (*(volatile unsigned *)0x11001204) /* DMACµÀ2Ä¿µÄµØÖ·¼Ä´æÆ÷ */
#define DMAC_C2CONTROL (*(volatile unsigned *)0x1100120c) /* DMACµÀ2¿ØÖƼĴæÆ÷ */
#define DMAC_C2CONFIGURATION (*(volatile unsigned *)0x11001210) /* DMACµÀ2ÅäÖüĴæÆ÷ */
#define DMAC_C2DESCRIPTOR (*(volatile unsigned *)0x11001214) /* DMACµÀ2Á´±íµØÖ·¼Ä´æÆ÷ */
#define DMAC_C3SRCADDR (*(volatile unsigned *)0x11001300) /* DMACµÀ3Ô´µØÖ·¼Ä´æÆ÷ */
#define DMAC_C3DESTADDR (*(volatile unsigned *)0x11001304) /* DMACµÀ3Ä¿µÄµØÖ·¼Ä´æÆ÷ */
#define DMAC_C3CONTROL (*(volatile unsigned *)0x1100130c) /* DMACµÀ3¿ØÖƼĴæÆ÷ */
#define DMAC_C3CONFIGURATION (*(volatile unsigned *)0x11001310) /* DMACµÀ3ÅäÖüĴæÆ÷ */
#define DMAC_C3DESCRIPTOR (*(volatile unsigned *)0x11001314) /* DMACµÀ3Á´±íµØÖ·¼Ä´æÆ÷ */
#define DMAC_C4SRCADDR (*(volatile unsigned *)0x11001400) /* DMACµÀ4Ô´µØÖ·¼Ä´æÆ÷ */
#define DMAC_C4DESTADDR (*(volatile unsigned *)0x11001404) /* DMACµÀ4Ä¿µÄµØÖ·¼Ä´æÆ÷ */
#define DMAC_C4CONTROL (*(volatile unsigned *)0x1100140c) /* DMACµÀ4¿ØÖƼĴæÆ÷ */
#define DMAC_C4CONFIGURATION (*(volatile unsigned *)0x11001410) /* DMACµÀ4ÅäÖüĴæÆ÷ */
#define DMAC_C4DESCRIPTOR (*(volatile unsigned *)0x11001414) /* DMACµÀ4Á´±íµØÖ·¼Ä´æÆ÷ */
#define DMAC_C5SRCADDR (*(volatile unsigned *)0x11001500) /* DMACµÀ5Ô´µØÖ·¼Ä´æÆ÷ */
#define DMAC_C5DESTADDR (*(volatile unsigned *)0x11001504) /* DMACµÀ5Ä¿µÄµØÖ·¼Ä´æÆ÷ */
#define DMAC_C5CONTROL (*(volatile unsigned *)0x1100150c) /* DMACµÀ5¿ØÖƼĴæÆ÷ */
#define DMAC_C5CONFIGURATION (*(volatile unsigned *)0x11001510) /* DMACµÀ5ÅäÖüĴæÆ÷ */
#define DMAC_C5DESCRIPTOR (*(volatile unsigned *)0x11001514) /* DMACµÀ5Á´±íµØÖ·¼Ä´æÆ÷ */
/******************************************************************************************
* LCDCÄ£¿é
* »ùÖ·: 0x11002000
******************************************************************************************/
#define LCDC_SSA (*(volatile unsigned *)0x11002000) /* ÆÁÄ»ÆðʼµØÖ·¼Ä´æÆ÷ */
#define LCDC_SIZE (*(volatile unsigned *)0x11002004) /* ÆÁÄ»³ß´ç¼Ä´æÆ÷ */
#define LCDC_PCR (*(volatile unsigned *)0x11002008) /* Ãæ°åÅäÖüĴæÆ÷ */
#define LCDC_HCR (*(volatile unsigned *)0x1100200c) /* ˮƽÅäÖüĴæÆ÷ */
#define LCDC_VCR (*(volatile unsigned *)0x11002010) /* ´¹Ö±ÅäÖüĴæÆ÷ */
#define LCDC_PWMR (*(volatile unsigned *)0x11002014) /* PWM¶Ô±È¶È¿ØÖƼĴæÆ÷ */
#define LCDC_LECR (*(volatile unsigned *)0x11002018) /* ʹÄÜ¿ØÖƼĴæÆ÷ */
#define LCDC_DMACR (*(volatile unsigned *)0x1100201c) /* DMA¿ØÖƼĴæÆ÷ */
#define LCDC_LCDISREN (*(volatile unsigned *)0x11002020) /* ÖжÏʹÄܼĴæÆ÷ */
#define LCDC_LCDISR (*(volatile unsigned *)0x11002024) /* ÖжÏ״̬¼Ä´æÆ÷ */
#define LCDC_LGPMR (*(volatile unsigned *)0x11002040) /* »Ò¶Èµ÷É«Ó³Éä¼Ä´æÆ÷×é */
/*(0x40-0x7c 16¸ö32bit¼Ä´æÆ÷) */
/******************************************************************************************
* MACÄ£¿é
* »ùÖ·: 0x11003000
******************************************************************************************/
#define MAC_CTRL (*(volatile unsigned *)0x11003000) /* MAC¿ØÖƼĴæÆ÷ */
#define MAC_INTSRC (*(volatile unsigned *)0x11003004) /* MACÖжÏÔ´¼Ä´æÆ÷ */
#define MAC_INTMASK (*(volatile unsigned *)0x11003008) /* MACÖжÏÆÁ±Î¼Ä´æÆ÷ */
#define MAC_IPGT (*(volatile unsigned *)0x1100300c) /* Á¬ÐøÖ¡¼ä¸ô¼Ä´æÆ÷ */
#define MAC_IPGR1 (*(volatile unsigned *)0x11003010) /* µÈ´ý´°¿Ú¼Ä´æÆ÷ */
#define MAC_IPGR2 (*(volatile unsigned *)0x11003014) /* µÈ´ý´°¿Ú¼Ä´æÆ÷ */
#define MAC_PACKETLEN (*(volatile unsigned *)0x11003018) /* Ö¡³¤¶È¼Ä´æÆ÷ */
#define MAC_COLLCONF (*(volatile unsigned *)0x1100301c) /* ÅöײÖØ·¢¼Ä´æÆ÷ */
#define MAC_TXBD_NUM (*(volatile unsigned *)0x11003020) /* ·¢ËÍÃèÊö·û¼Ä´æÆ÷ */
#define MAC_FLOWCTRL (*(volatile unsigned *)0x11003024) /* Á÷¿Ø¼Ä´æÆ÷ */
#define MAC_MII_CTRL (*(volatile unsigned *)0x11003028) /* PHY¿ØÖƼĴæÆ÷ */
#define MAC_MII_CMD (*(volatile unsigned *)0x1100302c) /* PHYÃüÁî¼Ä´æÆ÷ */
#define MAC_MII_ADDRESS (*(volatile unsigned *)0x11003030) /* PHYµØÖ·¼Ä´æÆ÷ */
#define MAC_MII_TXDATA (*(volatile unsigned *)0x11003034) /* PHYдÊý¾Ý¼Ä´æÆ÷ */
#define MAC_MII_RXDATA (*(volatile unsigned *)0x11003038) /* PHY¶ÁÊý¾Ý¼Ä´æÆ÷ */
#define MAC_MII_STATUS (*(volatile unsigned *)0x1100303c) /* PHY״̬¼Ä´æÆ÷ */
#define MAC_ADDR0 (*(volatile unsigned *)0x11003040) /* MACµØÖ·¼Ä´æÆ÷ */
#define MAC_ADDR1 (*(volatile unsigned *)0x11003044) /* MACµØÖ·¼Ä´æÆ÷ */
#define MAC_HASH0 (*(volatile unsigned *)0x11003048) /* MAC HASH¼Ä´æÆ÷ */
#define MAC_HASH1 (*(volatile unsigned *)0x1100304c) /* MAC HASH¼Ä´æÆ÷ */
#define MAC_TXPAUSE (*(volatile unsigned *)0x11003050) /* MAC¿ØÖÆÖ¡¼Ä´æÆ÷ */
#define MAC_BD /* 0x4*/
#endif
/*******************END OF FILE*************************/