⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adsmx21_defs.h

📁 基于Freescale的MX21处理器的bootloader程序
💻 H
📖 第 1 页 / 共 4 页
字号:
#define RTOR10       (*(volatile unsigned *)0x10001318)   
#define RTOR11       (*(volatile unsigned *)0x10001358)   
#define RTOR12       (*(volatile unsigned *)0x10001398)   
#define RTOR13       (*(volatile unsigned *)0x100013D8)   
#define RTOR14       (*(volatile unsigned *)0x10001418)   
#define RTOR15       (*(volatile unsigned *)0x10001458)   
/* Channel Bus Utilization Control Registers */
/* Attention: BUCRx have the same address with RTORx */
#define BUCR0        (*(volatile unsigned *)0x10001098)
#define BUCR1        (*(volatile unsigned *)0x100010D8)
#define BUCR2        (*(volatile unsigned *)0x10001118)
#define BUCR3        (*(volatile unsigned *)0x10001158)
#define BUCR4        (*(volatile unsigned *)0x10001198)
#define BUCR5        (*(volatile unsigned *)0x100011D8)
#define BUCR6        (*(volatile unsigned *)0x10001218)
#define BUCR7        (*(volatile unsigned *)0x10001258)
#define BUCR8        (*(volatile unsigned *)0x10001298)
#define BUCR9        (*(volatile unsigned *)0x100012D8)
#define BUCR10       (*(volatile unsigned *)0x10001318)
#define BUCR11       (*(volatile unsigned *)0x10001358)
#define BUCR12       (*(volatile unsigned *)0x10001398)
#define BUCR13       (*(volatile unsigned *)0x100013D8)
#define BUCR14       (*(volatile unsigned *)0x10001418)
#define BUCR15       (*(volatile unsigned *)0x10001458)
/* Channel Counter Register */
#define CCNR0        (*(volatile unsigned *)0x1000109C)  
#define CCNR1        (*(volatile unsigned *)0x100010DC)  
#define CCNR2        (*(volatile unsigned *)0x1000111C)  
#define CCNR3        (*(volatile unsigned *)0x1000115C)  
#define CCNR4        (*(volatile unsigned *)0x1000119C)  
#define CCNR5        (*(volatile unsigned *)0x100011DC)  
#define CCNR6        (*(volatile unsigned *)0x1000121C)  
#define CCNR7        (*(volatile unsigned *)0x1000125C)  
#define CCNR8        (*(volatile unsigned *)0x1000129C)  
#define CCNR9        (*(volatile unsigned *)0x100012DC)  
#define CCNR10       (*(volatile unsigned *)0x1000131C)  
#define CCNR11       (*(volatile unsigned *)0x1000135C)  
#define CCNR12       (*(volatile unsigned *)0x1000139C)  
#define CCNR13       (*(volatile unsigned *)0x100013DC)  
#define CCNR14       (*(volatile unsigned *)0x1000141C)  
#define CCNR15       (*(volatile unsigned *)0x1000145C)  

/*-----------------------------------------------------------------------------
       AUDMUX Module                     
------------------------------------------------------------------------------*/
#define HPCR1        (*(volatile unsigned *)0x10016000)  
#define HPCR2        (*(volatile unsigned *)0x10016004)  
#define HPCR3        (*(volatile unsigned *)0x10016008)  
#define PPCR1        (*(volatile unsigned *)0x10016010)  
#define PPCR2        (*(volatile unsigned *)0x10016014)  
#define PPCR3        (*(volatile unsigned *)0x1001601C)  


/*-----------------------------------------------------------------------------
       SSI Module                     
------------------------------------------------------------------------------*/
#define STX10        (*(volatile unsigned *)0x10010000)
#define STX11        (*(volatile unsigned *)0x10010004)
#define STX20        (*(volatile unsigned *)0x10011000)
#define STX21        (*(volatile unsigned *)0x10011004)
#define SRX10        (*(volatile unsigned *)0x10010008)
#define SRX11        (*(volatile unsigned *)0x1001000C)
#define SRX20        (*(volatile unsigned *)0x10011008)
#define SRX21        (*(volatile unsigned *)0x1001100C)
#define SCR1         (*(volatile unsigned *)0x10010010)
#define SCR2         (*(volatile unsigned *)0x10011010)
#define SISR1        (*(volatile unsigned *)0x10010014)
#define SISR2        (*(volatile unsigned *)0x10011014)
#define SIER1        (*(volatile unsigned *)0x10010018)
#define SIER2        (*(volatile unsigned *)0x10011018)
#define STCR1        (*(volatile unsigned *)0x1001001C)
#define STCR2        (*(volatile unsigned *)0x1001101C)
#define SRCR1        (*(volatile unsigned *)0x10010020)
#define SRCR2        (*(volatile unsigned *)0x10011020)
#define STCCR1       (*(volatile unsigned *)0x10010024)
#define STCCR2       (*(volatile unsigned *)0x10011024)
#define SRCCR1       (*(volatile unsigned *)0x10010028)
#define SRCCR2       (*(volatile unsigned *)0x10011028)
#define SFCSR1       (*(volatile unsigned *)0x1001002C)
#define SFCSR2       (*(volatile unsigned *)0x1001102C)
#define STR1         (*(volatile unsigned *)0x10010030)
#define STR2         (*(volatile unsigned *)0x10011030)
#define SOR1         (*(volatile unsigned *)0x10010034)
#define SOR2         (*(volatile unsigned *)0x10011034)
#define SACNT1       (*(volatile unsigned *)0x10010038)
#define SACNT2       (*(volatile unsigned *)0x10011038)
#define SACADD1      (*(volatile unsigned *)0x1001003C)
#define SACADD2      (*(volatile unsigned *)0x1001103C)
#define SACDAT1      (*(volatile unsigned *)0x10010040)
#define SACDAT2      (*(volatile unsigned *)0x10011040)
#define SATAG1       (*(volatile unsigned *)0x10010044)
#define SATAG2       (*(volatile unsigned *)0x10011044)
#define STMSK1       (*(volatile unsigned *)0x10010048)
#define STMSK2       (*(volatile unsigned *)0x10011048)
#define SRMSK1       (*(volatile unsigned *)0x1001004C)
#define SRMSK2       (*(volatile unsigned *)0x1001104C)

/*-----------------------------------------------------------------------------
       RTC Module                     
------------------------------------------------------------------------------*/
#define DAYR         (*(volatile unsigned *)0x10007020) /* RTC Days Counter Register */
#define HOURMIN      (*(volatile unsigned *)0x10007000) /* RTC Hours and Minutes Counter Register */
#define SECONDS      (*(volatile unsigned *)0x10007004) /* RTC Seconds Counter Register */
#define DAYALARM     (*(volatile unsigned *)0x10007024) /* RTC Day Alarm Register */
#define ALRM_HM      (*(volatile unsigned *)0x10007008) /* RTC Hours and Minutes Alarm Register */
#define ALRM_SEC     (*(volatile unsigned *)0x1000700C) /* RTC Seconds Alarm Register */             
#define RCCTL        (*(volatile unsigned *)0x10007010) /* RTC Control Register */
#define RTCISR       (*(volatile unsigned *)0x10007014) /* RTC Interrupt Status Register */
#define RTCIENR      (*(volatile unsigned *)0x10007018) /* RTC Interrupt Enable Register */
#define STPWCH       (*(volatile unsigned *)0x1000701C) /* Stopwatch Minutes Register */

/*-----------------------------------------------------------------------------
       UART Module                     
------------------------------------------------------------------------------*/
#define URXD_1       (*(volatile unsigned *)0x1000A000) /* UART1 Receiver Register */
#define URXD_2       (*(volatile unsigned *)0x1000B000) /* UART2 Receiver Register */
#define URXD_3       (*(volatile unsigned *)0x1000C000) /* UART3 Receiver Register */
#define URXD_4       (*(volatile unsigned *)0x1000D000) /* UART4 Receiver Register */
#define UTXD_1       (*(volatile unsigned *)0x1000A040) /* UART1 Transmitter Register */
#define UTXD_2       (*(volatile unsigned *)0x1000B040) /* UART2 Transmitter Register */
#define UTXD_3       (*(volatile unsigned *)0x1000C040) /* UART3 Transmitter Register */
#define UTXD_4       (*(volatile unsigned *)0x1000D040) /* UART4 Transmitter Register */
#define UCR1_1       (*(volatile unsigned *)0x1000A080) /* UART1 Control Register 1 */
#define UCR1_2       (*(volatile unsigned *)0x1000B080) /* UART2 Control Register 1 */
#define UCR1_3       (*(volatile unsigned *)0x1000C080) /* UART3 Control Register 1 */
#define UCR1_4       (*(volatile unsigned *)0x1000D080) /* UART4 Control Register 1 */
#define UCR2_1       (*(volatile unsigned *)0x1000A084) /* UART1 Control Register 2 */ 
#define UCR2_2       (*(volatile unsigned *)0x1000B084) /* UART2 Control Register 2 */ 
#define UCR2_3       (*(volatile unsigned *)0x1000C084) /* UART3 Control Register 2 */ 
#define UCR2_4       (*(volatile unsigned *)0x1000D084) /* UART4 Control Register 2 */ 
#define UCR3_1       (*(volatile unsigned *)0x1000A088) /* UART1 Control Register 3 */
#define UCR3_2       (*(volatile unsigned *)0x1000B088) /* UART2 Control Register 3 */
#define UCR3_3       (*(volatile unsigned *)0x1000C088) /* UART3 Control Register 3 */
#define UCR3_4       (*(volatile unsigned *)0x1000D088) /* UART4 Control Register 3 */
#define UCR4_1       (*(volatile unsigned *)0x1000A08C) /* UART1 Control Register 4 */
#define UCR4_2       (*(volatile unsigned *)0x1000B08C) /* UART2 Control Register 4 */
#define UCR4_3       (*(volatile unsigned *)0x1000C08C) /* UART3 Control Register 4 */
#define UCR4_4       (*(volatile unsigned *)0x1000D08C) /* UART4 Control Register 4 */
#define UFCR_1       (*(volatile unsigned *)0x1000A090) /* UART1 FIFO Control Register */
#define UFCR_2       (*(volatile unsigned *)0x1000B090) /* UART2 FIFO Control Register */
#define UFCR_3       (*(volatile unsigned *)0x1000C090) /* UART3 FIFO Control Register */
#define UFCR_4       (*(volatile unsigned *)0x1000D090) /* UART4 FIFO Control Register */
#define USR1_1       (*(volatile unsigned *)0x1000A094) /* UART1 Status Register 1 */
#define USR1_2       (*(volatile unsigned *)0x1000B094) /* UART2 Status Register 1 */
#define USR1_3       (*(volatile unsigned *)0x1000C094) /* UART3 Status Register 1 */
#define USR1_4       (*(volatile unsigned *)0x1000D094) /* UART4 Status Register 1 */
#define USR2_1       (*(volatile unsigned *)0x1000A098) /* UART1 Status Register 2 */
#define USR2_2       (*(volatile unsigned *)0x1000B098) /* UART2 Status Register 2 */
#define USR2_3       (*(volatile unsigned *)0x1000C098) /* UART3 Status Register 2 */
#define USR2_4       (*(volatile unsigned *)0x1000D098) /* UART4 Status Register 2 */
#define UESC_1       (*(volatile unsigned *)0x1000A09C) /* UART1 Escape Character Register */
#define UESC_2       (*(volatile unsigned *)0x1000B09C) /* UART2 Escape Character Register */
#define UESC_3       (*(volatile unsigned *)0x1000C09C) /* UART3 Escape Character Register */
#define UESC_4       (*(volatile unsigned *)0x1000D09C) /* UART4 Escape Character Register */
#define UTIM_1       (*(volatile unsigned *)0x1000A0A0) /* UART1 Escape Timer Register */
#define UTIM_2       (*(volatile unsigned *)0x1000B0A0) /* UART2 Escape Timer Register */
#define UTIM_3       (*(volatile unsigned *)0x1000C0A0) /* UART3 Escape Timer Register */
#define UTIM_4       (*(volatile unsigned *)0x1000D0A0) /* UART4 Escape Timer Register */
#define UBIR_1       (*(volatile unsigned *)0x1000A0A4) /* UART1 BRM Incremental Register */
#define UBIR_2       (*(volatile unsigned *)0x1000B0A4) /* UART2 BRM Incremental Register */
#define UBIR_3       (*(volatile unsigned *)0x1000C0A4) /* UART3 BRM Incremental Register */
#define UBIR_4       (*(volatile unsigned *)0x1000D0A4) /* UART4 BRM Incremental Register */
#define UBMR_1       (*(volatile unsigned *)0x1000A0A8) /* UART1 BRM Modulator Register */
#define UBMR_2       (*(volatile unsigned *)0x1000B0A8) /* UART2 BRM Modulator Register */
#define UBMR_3       (*(volatile unsigned *)0x1000C0A8) /* UART3 BRM Modulator Register */
#define UBMR_4       (*(volatile unsigned *)0x1000D0A8) /* UART4 BRM Modulator Register */
#define UBRC_1       (*(volatile unsigned *)0x1000A0AC) /* UART1 Baud Rate Count Register */
#define UBRC_2       (*(volatile unsigned *)0x1000B0AC) /* UART2 Baud Rate Count Register */
#define UBRC_3       (*(volatile unsigned *)0x1000C0AC) /* UART3 Baud Rate Count Register */
#define UBRC_4       (*(volatile unsigned *)0x1000D0AC) /* UART4 Baud Rate Count Register */
#define ONEMS_1      (*(volatile unsigned *)0x1000A0B0) /* UART1 One Millisecond Register */ 
#define ONEMS_2      (*(volatile unsigned *)0x1000B0B0) /* UART2 One Millisecond Register */ 
#define ONEMS_3      (*(volatile unsigned *)0x1000C0B0) /* UART3 One Millisecond Register */ 
#define ONEMS_4      (*(volatile unsigned *)0x1000D0B0) /* UART4 One Millisecond Register */ 
#define UTS_1        (*(volatile unsigned *)0x1000A0B4) /* UART1 Test Register 1 */ 
#define UTS_2        (*(volatile unsigned *)0x1000B0B4) /* UART2 Test Register 1 */ 
#define UTS_3        (*(volatile unsigned *)0x1000C0B4) /* UART3 Test Register 1 */ 
#define UTS_4        (*(volatile unsigned *)0x1000D0B4) /* UART4 Test Register 1 */ 


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -