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

📄 cdefbf534.h

📁 此代码实现blackfin系列DSP的上电监控代码
💻 H
📖 第 1 页 / 共 4 页
字号:
#define pPORTHIO_MASKA_TOGGLE	((volatile unsigned short *)PORTHIO_MASKA_TOGGLE)#define pPORTHIO_MASKB			((volatile unsigned short *)PORTHIO_MASKB)#define pPORTHIO_MASKB_CLEAR	((volatile unsigned short *)PORTHIO_MASKB_CLEAR)#define pPORTHIO_MASKB_SET		((volatile unsigned short *)PORTHIO_MASKB_SET)#define pPORTHIO_MASKB_TOGGLE	((volatile unsigned short *)PORTHIO_MASKB_TOGGLE)#define pPORTHIO_DIR 			((volatile unsigned short *)PORTHIO_DIR)#define pPORTHIO_POLAR 			((volatile unsigned short *)PORTHIO_POLAR)#define pPORTHIO_EDGE 			((volatile unsigned short *)PORTHIO_EDGE)#define pPORTHIO_BOTH 			((volatile unsigned short *)PORTHIO_BOTH)#define pPORTHIO_INEN 			((volatile unsigned short *)PORTHIO_INEN)/* UART1 Controller		(0xFFC02000 - 0xFFC020FF)								*/#define pUART1_THR 			((volatile unsigned short *)UART1_THR)#define pUART1_RBR 			((volatile unsigned short *)UART1_RBR)#define pUART1_DLL 			((volatile unsigned short *)UART1_DLL)#define pUART1_IER 			((volatile unsigned short *)UART1_IER)#define pUART1_DLH 			((volatile unsigned short *)UART1_DLH)#define pUART1_IIR 			((volatile unsigned short *)UART1_IIR)#define pUART1_LCR 			((volatile unsigned short *)UART1_LCR)#define pUART1_MCR 			((volatile unsigned short *)UART1_MCR)#define pUART1_LSR 			((volatile unsigned short *)UART1_LSR)#define pUART1_MSR			((volatile unsigned short *)UART1_LSR)#define pUART1_SCR 			((volatile unsigned short *)UART1_SCR)#define pUART1_GCTL 		((volatile unsigned short *)UART1_GCTL)/* default UART controller */#if (CONFIG_UART_CONSOLE==1)#define pUART_THR			pUART1_THR#define pUART_RBR			pUART1_RBR#define pUART_DLL			pUART1_DLL#define pUART_IER			pUART1_IER#define pUART_DLH			pUART1_DLH#define pUART_IIR			pUART1_IIR#define pUART_LCR			pUART1_LCR#define pUART_MCR			pUART1_MCR#define pUART_LSR			pUART1_LSR#define pUART_MSR			pUART1_MSR#define pUART_SCR			pUART1_SCR#define pUART_GCTL			pUART1_GCTL#else#define pUART_THR			pUART0_THR#define pUART_RBR			pUART0_RBR#define pUART_DLL			pUART0_DLL#define pUART_IER			pUART0_IER#define pUART_DLH			pUART0_DLH#define pUART_IIR			pUART0_IIR#define pUART_LCR			pUART0_LCR#define pUART_MCR			pUART0_MCR#define pUART_LSR			pUART0_LSR#define pUART_MSR			pUART0_MSR#define pUART_SCR			pUART0_SCR#define pUART_GCTL			pUART0_GCTL#endif/* CAN Controller		(0xFFC02A00 - 0xFFC02FFF)								*//* For Mailboxes 0-15 */#define pCAN_MC1			((volatile unsigned short *)CAN_MC1)#define pCAN_MD1			((volatile unsigned short *)CAN_MD1)#define pCAN_TRS1			((volatile unsigned short *)CAN_TRS1)#define pCAN_TRR1			((volatile unsigned short *)CAN_TRR1)#define pCAN_TA1			((volatile unsigned short *)CAN_TA1)#define pCAN_AA1			((volatile unsigned short *)CAN_AA1)#define pCAN_RMP1			((volatile unsigned short *)CAN_RMP1)#define pCAN_RML1			((volatile unsigned short *)CAN_RML1)#define pCAN_MBTIF1			((volatile unsigned short *)CAN_MBTIF1)#define pCAN_MBRIF1			((volatile unsigned short *)CAN_MBRIF1)#define pCAN_MBIM1			((volatile unsigned short *)CAN_MBIM1)#define pCAN_RFH1			((volatile unsigned short *)CAN_RFH1)#define pCAN_OPSS1			((volatile unsigned short *)CAN_OPSS1)/* For Mailboxes 16-31 */#define pCAN_MC2			((volatile unsigned short *)CAN_MC2)#define pCAN_MD2			((volatile unsigned short *)CAN_MD2)#define pCAN_TRS2			((volatile unsigned short *)CAN_TRS2)#define pCAN_TRR2			((volatile unsigned short *)CAN_TRR2)#define pCAN_TA2			((volatile unsigned short *)CAN_TA2)#define pCAN_AA2			((volatile unsigned short *)CAN_AA2)#define pCAN_RMP2			((volatile unsigned short *)CAN_RMP2)#define pCAN_RML2			((volatile unsigned short *)CAN_RML2)#define pCAN_MBTIF2			((volatile unsigned short *)CAN_MBTIF2)#define pCAN_MBRIF2			((volatile unsigned short *)CAN_MBRIF2)#define pCAN_MBIM2			((volatile unsigned short *)CAN_MBIM2)#define pCAN_RFH2			((volatile unsigned short *)CAN_RFH2)#define pCAN_OPSS2			((volatile unsigned short *)CAN_OPSS2)#define pCAN_CLOCK			((volatile unsigned short *)CAN_CLOCK)#define pCAN_TIMING			((volatile unsigned short *)CAN_TIMING)#define pCAN_DEBUG			((volatile unsigned short *)CAN_DEBUG)#define pCAN_STATUS			((volatile unsigned short *)CAN_STATUS)#define pCAN_CEC			((volatile unsigned short *)CAN_CEC)#define pCAN_GIS			((volatile unsigned short *)CAN_GIS)#define pCAN_GIM			((volatile unsigned short *)CAN_GIM)#define pCAN_GIF			((volatile unsigned short *)CAN_GIF)#define pCAN_CONTROL		((volatile unsigned short *)CAN_CONTROL)#define pCAN_INTR			((volatile unsigned short *)CAN_INTR)#define pCAN_SFCMVER		((volatile unsigned short *)CAN_SFCMVER)#define pCAN_MBTD			((volatile unsigned short *)CAN_MBTD)#define pCAN_EWR			((volatile unsigned short *)CAN_EWR)#define pCAN_ESR			((volatile unsigned short *)CAN_ESR)#define pCAN_UCREG			((volatile unsigned short *)CAN_UCREG)#define pCAN_UCCNT			((volatile unsigned short *)CAN_UCCNT)#define pCAN_UCRC			((volatile unsigned short *)CAN_UCRC)#define pCAN_UCCNF			((volatile unsigned short *)CAN_UCCNF)#define pCAN_SFCMVER2		((volatile unsigned short *)CAN_SFCMVER2)/* Mailbox Acceptance Masks */#define pCAN_AM00L			((volatile unsigned short *)CAN_AM00L)#define pCAN_AM00H			((volatile unsigned short *)CAN_AM00H)#define pCAN_AM01L			((volatile unsigned short *)CAN_AM01L)#define pCAN_AM01H			((volatile unsigned short *)CAN_AM01H)#define pCAN_AM02L			((volatile unsigned short *)CAN_AM02L)#define pCAN_AM02H			((volatile unsigned short *)CAN_AM02H)#define pCAN_AM03L			((volatile unsigned short *)CAN_AM03L)#define pCAN_AM03H			((volatile unsigned short *)CAN_AM03H)#define pCAN_AM04L			((volatile unsigned short *)CAN_AM04L)#define pCAN_AM04H			((volatile unsigned short *)CAN_AM04H)#define pCAN_AM05L			((volatile unsigned short *)CAN_AM05L)#define pCAN_AM05H			((volatile unsigned short *)CAN_AM05H)#define pCAN_AM06L			((volatile unsigned short *)CAN_AM06L)#define pCAN_AM06H			((volatile unsigned short *)CAN_AM06H)#define pCAN_AM07L			((volatile unsigned short *)CAN_AM07L)#define pCAN_AM07H			((volatile unsigned short *)CAN_AM07H)#define pCAN_AM08L			((volatile unsigned short *)CAN_AM08L)#define pCAN_AM08H			((volatile unsigned short *)CAN_AM08H)#define pCAN_AM09L			((volatile unsigned short *)CAN_AM09L)#define pCAN_AM09H			((volatile unsigned short *)CAN_AM09H)#define pCAN_AM10L			((volatile unsigned short *)CAN_AM10L)#define pCAN_AM10H			((volatile unsigned short *)CAN_AM10H)#define pCAN_AM11L			((volatile unsigned short *)CAN_AM11L)#define pCAN_AM11H			((volatile unsigned short *)CAN_AM11H)#define pCAN_AM12L			((volatile unsigned short *)CAN_AM12L)#define pCAN_AM12H			((volatile unsigned short *)CAN_AM12H)#define pCAN_AM13L			((volatile unsigned short *)CAN_AM13L)#define pCAN_AM13H			((volatile unsigned short *)CAN_AM13H)#define pCAN_AM14L			((volatile unsigned short *)CAN_AM14L)#define pCAN_AM14H			((volatile unsigned short *)CAN_AM14H)#define pCAN_AM15L			((volatile unsigned short *)CAN_AM15L)#define pCAN_AM15H			((volatile unsigned short *)CAN_AM15H)#define pCAN_AM16L			((volatile unsigned short *)CAN_AM16L)#define pCAN_AM16H			((volatile unsigned short *)CAN_AM16H)#define pCAN_AM17L			((volatile unsigned short *)CAN_AM17L)#define pCAN_AM17H			((volatile unsigned short *)CAN_AM17H)#define pCAN_AM18L			((volatile unsigned short *)CAN_AM18L)#define pCAN_AM18H			((volatile unsigned short *)CAN_AM18H)#define pCAN_AM19L			((volatile unsigned short *)CAN_AM19L)#define pCAN_AM19H			((volatile unsigned short *)CAN_AM19H)#define pCAN_AM20L			((volatile unsigned short *)CAN_AM20L)#define pCAN_AM20H			((volatile unsigned short *)CAN_AM20H)#define pCAN_AM21L			((volatile unsigned short *)CAN_AM21L)#define pCAN_AM21H			((volatile unsigned short *)CAN_AM21H)#define pCAN_AM22L			((volatile unsigned short *)CAN_AM22L)#define pCAN_AM22H			((volatile unsigned short *)CAN_AM22H)#define pCAN_AM23L			((volatile unsigned short *)CAN_AM23L)#define pCAN_AM23H			((volatile unsigned short *)CAN_AM23H)#define pCAN_AM24L			((volatile unsigned short *)CAN_AM24L)#define pCAN_AM24H			((volatile unsigned short *)CAN_AM24H)#define pCAN_AM25L			((volatile unsigned short *)CAN_AM25L)#define pCAN_AM25H			((volatile unsigned short *)CAN_AM25H)#define pCAN_AM26L			((volatile unsigned short *)CAN_AM26L)#define pCAN_AM26H			((volatile unsigned short *)CAN_AM26H)#define pCAN_AM27L			((volatile unsigned short *)CAN_AM27L)#define pCAN_AM27H			((volatile unsigned short *)CAN_AM27H)#define pCAN_AM28L			((volatile unsigned short *)CAN_AM28L)#define pCAN_AM28H			((volatile unsigned short *)CAN_AM28H)#define pCAN_AM29L			((volatile unsigned short *)CAN_AM29L)#define pCAN_AM29H			((volatile unsigned short *)CAN_AM29H)#define pCAN_AM30L			((volatile unsigned short *)CAN_AM30L)#define pCAN_AM30H			((volatile unsigned short *)CAN_AM30H)#define pCAN_AM31L			((volatile unsigned short *)CAN_AM31L)#define pCAN_AM31H			((volatile unsigned short *)CAN_AM31H)/* CAN Acceptance Mask Area Macros	*/#define pCAN_AM_L(x)			((volatile unsigned short *)CAN_AM_L(x))#define pCAN_AM_H(x)			((volatile unsigned short *)CAN_AM_H(x))/* Mailbox Registers */#define pCAN_MB00_ID1		((volatile unsigned short *)CAN_MB00_ID1)#define pCAN_MB00_ID0		((volatile unsigned short *)CAN_MB00_ID0)#define pCAN_MB00_TIMESTAMP	((volatile unsigned short *)CAN_MB00_TIMESTAMP)#define pCAN_MB00_LENGTH	((volatile unsigned short *)CAN_MB00_LENGTH)#define pCAN_MB00_DATA3		((volatile unsigned short *)CAN_MB00_DATA3)#define pCAN_MB00_DATA2		((volatile unsigned short *)CAN_MB00_DATA2)#define pCAN_MB00_DATA1		((volatile unsigned short *)CAN_MB00_DATA1)#define pCAN_MB00_DATA0		((volatile unsigned short *)CAN_MB00_DATA0)#define pCAN_MB01_ID1		((volatile unsigned short *)CAN_MB01_ID1)#define pCAN_MB01_ID0		((volatile unsigned short *)CAN_MB01_ID0)#define pCAN_MB01_TIMESTAMP	((volatile unsigned short *)CAN_MB01_TIMESTAMP)#define pCAN_MB01_LENGTH	((volatile unsigned short *)CAN_MB01_LENGTH)#define pCAN_MB01_DATA3		((volatile unsigned short *)CAN_MB01_DATA3)#define pCAN_MB01_DATA2		((volatile unsigned short *)CAN_MB01_DATA2)#define pCAN_MB01_DATA1		((volatile unsigned short *)CAN_MB01_DATA1)#define pCAN_MB01_DATA0		((volatile unsigned short *)CAN_MB01_DATA0)#define pCAN_MB02_ID1		((volatile unsigned short *)CAN_MB02_ID1)#define pCAN_MB02_ID0		((volatile unsigned short *)CAN_MB02_ID0)#define pCAN_MB02_TIMESTAMP	((volatile unsigned short *)CAN_MB02_TIMESTAMP)#define pCAN_MB02_LENGTH	((volatile unsigned short *)CAN_MB02_LENGTH)#define pCAN_MB02_DATA3		((volatile unsigned short *)CAN_MB02_DATA3)#define pCAN_MB02_DATA2		((volatile unsigned short *)CAN_MB02_DATA2)#define pCAN_MB02_DATA1		((volatile unsigned short *)CAN_MB02_DATA1)#define pCAN_MB02_DATA0		((volatile unsigned short *)CAN_MB02_DATA0)#define pCAN_MB03_ID1		((volatile unsigned short *)CAN_MB03_ID1)#define pCAN_MB03_ID0		((volatile unsigned short *)CAN_MB03_ID0)#define pCAN_MB03_TIMESTAMP	((volatile unsigned short *)CAN_MB03_TIMESTAMP)#define pCAN_MB03_LENGTH	((volatile unsigned short *)CAN_MB03_LENGTH)#define pCAN_MB03_DATA3		((volatile unsigned short *)CAN_MB03_DATA3)#define pCAN_MB03_DATA2		((volatile unsigned short *)CAN_MB03_DATA2)#define pCAN_MB03_DATA1		((volatile unsigned short *)CAN_MB03_DATA1)#define pCAN_MB03_DATA0		((volatile unsigned short *)CAN_MB03_DATA0)#define pCAN_MB04_ID1		((volatile unsigned short *)CAN_MB04_ID1)#define pCAN_MB04_ID0		((volatile unsigned short *)CAN_MB04_ID0)#define pCAN_MB04_TIMESTAMP	((volatile unsigned short *)CAN_MB04_TIMESTAMP)#define pCAN_MB04_LENGTH	((volatile unsigned short *)CAN_MB04_LENGTH)#define pCAN_MB04_DATA3		((volatile unsigned short *)CAN_MB04_DATA3)#define pCAN_MB04_DATA2		((volatile unsigned short *)CAN_MB04_DATA2)#define pCAN_MB04_DATA1		((volatile unsigned short *)CAN_MB04_DATA1)#define pCAN_MB04_DATA0		((volatile unsigned short *)CAN_MB04_DATA0)#define pCAN_MB05_ID1		((volatile unsigned short *)CAN_MB05_ID1)#define pCAN_MB05_ID0		((volatile unsigned short *)CAN_MB05_ID0)#define pCAN_MB05_TIMESTAMP	((volatile unsigned short *)CAN_MB05_TIMESTAMP)#define pCAN_MB05_LENGTH	((volatile unsigned short *)CAN_MB05_LENGTH)#define pCAN_MB05_DATA3		((volatile unsigned short *)CAN_MB05_DATA3)#define pCAN_MB05_DATA2		((volatile unsigned short *)CAN_MB05_DATA2)#define pCAN_MB05_DATA1		((volatile unsigned short *)CAN_MB05_DATA1)#define pCAN_MB05_DATA0		((volatile unsigned short *)CAN_MB05_DATA0)#define pCAN_MB06_ID1		((volatile unsigned short *)CAN_MB06_ID1)#define pCAN_MB06_ID0		((volatile unsigned short *)CAN_MB06_ID0)#define pCAN_MB06_TIMESTAMP	((volatile unsigned short *)CAN_MB06_TIMESTAMP)#define pCAN_MB06_LENGTH	((volatile unsigned short *)CAN_MB06_LENGTH)#define pCAN_MB06_DATA3		((volatile unsigned short *)CAN_MB06_DATA3)#define pCAN_MB06_DATA2		((volatile unsigned short *)CAN_MB06_DATA2)#define pCAN_MB06_DATA1		((volatile unsigned short *)CAN_MB06_DATA1)#define pCAN_MB06_DATA0		((volatile unsigned short *)CAN_MB06_DATA0)#define pCAN_MB07_ID1		((volatile unsigned short *)CAN_MB07_ID1)#define pCAN_MB07_ID0		((volatile unsigned short *)CAN_MB07_ID0)#define pCAN_MB07_TIMESTAMP	((volatile unsigned short *)CAN_MB07_TIMESTAMP)#define pCAN_MB07_LENGTH	((volatile unsigned short *)CAN_MB07_LENGTH)#define pCAN_MB07_DATA3		((volatile unsigned short *)CAN_MB07_DATA3) #define pCAN_MB07_DATA2		((volatile unsigned short *)CAN_MB07_DATA2)#define pCAN_MB07_DATA1		((volatile unsigned short *)CAN_MB07_DATA1)#define pCAN_MB07_DATA0		((volatile unsigned short *)CAN_MB07_DATA0)#define pCAN_MB08_ID1		((volatile unsigned short *)CAN_MB08_ID1)		#define pCAN_MB08_ID0		((volatile unsigned short *)CAN_MB08_ID0)		#define pCAN_MB08_TIMESTAMP	((volatile unsigned short *)CAN_MB08_TIMESTAMP)	#define pCAN_MB08_LENGTH	((volatile unsigned short *)CAN_MB08_LENGTH)	

⌨️ 快捷键说明

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