📄 adsmx21_defs.h
字号:
#define IADR (*(volatile unsigned *)0x10012000)
#define IFDR (*(volatile unsigned *)0x10012004)
#define I2CR (*(volatile unsigned *)0x10012008)
#define I2SR (*(volatile unsigned *)0x1001200c)
#define I2DR (*(volatile unsigned *)0x10012010)
/*-----------------------------------------------------------------------------
AIPI Module
------------------------------------------------------------------------------*/
#define AIPI1_PSR0 (*(volatile unsigned *)0x10000000)
#define AIPI1_PSR1 (*(volatile unsigned *)0x10000004)
#define AIPI1_PAR (*(volatile unsigned *)0x10000008)
#define AIPI2_PSR0 (*(volatile unsigned *)0x10020000)
#define AIPI2_PSR1 (*(volatile unsigned *)0x10020004)
#define AIPI2_PAR (*(volatile unsigned *)0x10020008)
/*-----------------------------------------------------------------------------
PrP Module
------------------------------------------------------------------------------*/
#define PrP_CNTL (*(volatile unsigned *)0x10026400) /* PrP Control Register */
#define PrP_INTRCNTL (*(volatile unsigned *)0x10026404) /* PrP Interrupt Control */
#define PrP_INTRSTATUS (*(volatile unsigned *)0x10026408) /* PrP interrupt Status */
#define PrP_SOURCE_Y_PTR (*(volatile unsigned *)0x1002640C) /* PrP Source Y Frame Start Address */
#define PrP_SOURCE_CB_PTR (*(volatile unsigned *)0x10026410) /* PrP Source CB Frame Start Address */
#define PrP_SOURCE_CR_PTR (*(volatile unsigned *)0x10026414) /* PrP Source CR Frame Start Address */
#define PrP_DEST_RGB1_PTR (*(volatile unsigned *)0x10026418) /* PrP Destination RGB Frame-1 Start Address */
#define PrP_DEST_RGB2_PTR (*(volatile unsigned *)0x1002641C) /* PrP Destination RGB Frame-2 Start Address */
#define PrP_DEST_Y_PTR (*(volatile unsigned *)0x10026420) /* PrP Destination Y Frame Start Address */
#define PrP_DEST_CB_PTR (*(volatile unsigned *)0x10026424) /* PrP Destination CB Frame Start Address */
#define PrP_DEST_CR_PTR (*(volatile unsigned *)0x10026428) /* PrP Destination CR Frame Start Address */
#define PrP_SOURCE_FRAME_SIZE (*(volatile unsigned *)0x1002642C) /* PrP Source Frame Size */
#define PrP_CH1_LINE_STRIDE (*(volatile unsigned *)0x10026430) /* PrP Channel-1 Line stride */
#define PrP_SRC_PIXEL_FORMAT_CNTL (*(volatile unsigned *)0x10026434) /* PrP Source Pixel Format Control */
#define PrP_CH1_PIXEL_FORMAT_CNTL (*(volatile unsigned *)0x10026438) /* PrP CH1 Pixel Format Control */
#define PrP_CH1_OUT_IMAGE_SIZE (*(volatile unsigned *)0x1002643C) /* PrP CH1 Output Image Size */
#define PrP_CH2_OUT_IMAGE_SIZE (*(volatile unsigned *)0x10026440) /* PrP CH2 Output Image Size */
#define PrP_SOURCE_LINE_STRIDE (*(volatile unsigned *)0x10026444) /* PrP Source Line Stride */
#define PrP_CSC_COEF_012 (*(volatile unsigned *)0x10026448) /* PrP CSC Coefficients C0, C1, C2 */
#define PrP_CSC_COEF_345 (*(volatile unsigned *)0x1002644C) /* PrP CSC Coefficients C3 to C5 */
#define PrP_CSC_COEF_678 (*(volatile unsigned *)0x10026450) /* PrP CSC Coefficients C6 to C8 */
#define PrP_CH1_RZ_HORI_COEF1 (*(volatile unsigned *)0x10026454) /* PrP Channel 1 Resize horizontal coefficients. */
#define PrP_CH1_RZ_HORI_COEF2 (*(volatile unsigned *)0x10026458) /* PrP Channel 1 Resize horizontal coefficients. */
#define PrP_CH1_RZ_HORI_VALID (*(volatile unsigned *)0x1002645C) /* PrP Channel 1 Resize horizontal output data valid. */
#define PrP_CH1_RZ_VERT_COEF1 (*(volatile unsigned *)0x10026460) /* PrP Channel 1 Resize vertical coefficients. */
#define PrP_CH1_RZ_VERT_COEF2 (*(volatile unsigned *)0x10026464) /* PrP Channel 1 Resize vertical coefficients. */
#define PrP_CH1_RZ_VERT_VALID (*(volatile unsigned *)0x10026468) /* PrP Channel 1 Resize vertical output data valid. */
#define PrP_CH2_RZ_HORI_COEF1 (*(volatile unsigned *)0x1002646C) /* PrP Channel 2 Resize horizontal coefficients. */
#define PrP_CH2_RZ_HORI_COEF2 (*(volatile unsigned *)0x10026470) /* PrP Channel 2 resize horizontal coefficients. */
#define PrP_CH2_RZ_HORI_VALID (*(volatile unsigned *)0x10026474) /* PrP Channel 2 resize horizontal output data valid. */
#define PrP_CH2_RZ_VERT_COEF1 (*(volatile unsigned *)0x10026478) /* PrP Channel 2 resize vertical coefficients. */
#define PrP_CH2_RZ_VERT_COEF2 (*(volatile unsigned *)0x1002647C) /* PrP Channel 2 resize vertical coefficients. */
#define PrP_CH2_RZ_VERT_VALID (*(volatile unsigned *)0x10026480) /* PrP Channel 2 resize vertical output data valid. */
/*-----------------------------------------------------------------------------
DMA Module
------------------------------------------------------------------------------*/
#define DCR (*(volatile unsigned *)0x10001000)
#define DISR (*(volatile unsigned *)0x10001004)
#define DIMR (*(volatile unsigned *)0x10001008)
#define DBTOSR (*(volatile unsigned *)0x1000100c)
#define DRTOSR (*(volatile unsigned *)0x10001010)
#define DTESR (*(volatile unsigned *)0x10001014)
#define DBOSR (*(volatile unsigned *)0x10001018)
#define DBTOCR (*(volatile unsigned *)0x1000101c)
#define WSRA (*(volatile unsigned *)0x10001040)
#define WSRB (*(volatile unsigned *)0x1000104c)
#define XSRA (*(volatile unsigned *)0x10001044)
#define XSRB (*(volatile unsigned *)0x10001050)
#define YSRA (*(volatile unsigned *)0x10001048)
#define YSRB (*(volatile unsigned *)0x10001054)
/* Channel Source Address Registers */
#define SAR0 (*(volatile unsigned *)0x10001080)
#define SAR1 (*(volatile unsigned *)0x100010C0)
#define SAR2 (*(volatile unsigned *)0x10001100)
#define SAR3 (*(volatile unsigned *)0x10001140)
#define SAR4 (*(volatile unsigned *)0x10001180)
#define SAR5 (*(volatile unsigned *)0x100011C0)
#define SAR6 (*(volatile unsigned *)0x10001200)
#define SAR7 (*(volatile unsigned *)0x10001240)
#define SAR8 (*(volatile unsigned *)0x10001280)
#define SAR9 (*(volatile unsigned *)0x100012C0)
#define SAR10 (*(volatile unsigned *)0x10001300)
#define SAR11 (*(volatile unsigned *)0x10001340)
#define SAR12 (*(volatile unsigned *)0x10001380)
#define SAR13 (*(volatile unsigned *)0x100013C0)
#define SAR14 (*(volatile unsigned *)0x10001400)
#define SAR15 (*(volatile unsigned *)0x10001440)
/* Channel Destination Address Registers */
#define DAR0 (*(volatile unsigned *)0x10001084)
#define DAR1 (*(volatile unsigned *)0x100010C4)
#define DAR2 (*(volatile unsigned *)0x10001104)
#define DAR3 (*(volatile unsigned *)0x10001144)
#define DAR4 (*(volatile unsigned *)0x10001184)
#define DAR5 (*(volatile unsigned *)0x100011C4)
#define DAR6 (*(volatile unsigned *)0x10001204)
#define DAR7 (*(volatile unsigned *)0x10001244)
#define DAR8 (*(volatile unsigned *)0x10001284)
#define DAR9 (*(volatile unsigned *)0x100012C4)
#define DAR10 (*(volatile unsigned *)0x10001304)
#define DAR11 (*(volatile unsigned *)0x10001344)
#define DAR12 (*(volatile unsigned *)0x10001384)
#define DAR13 (*(volatile unsigned *)0x100013C4)
#define DAR14 (*(volatile unsigned *)0x10001404)
#define DAR15 (*(volatile unsigned *)0x10001444)
/* Channel Count Registers */
#define CNTR0 (*(volatile unsigned *)0x10001088)
#define CNTR1 (*(volatile unsigned *)0x100010C8)
#define CNTR2 (*(volatile unsigned *)0x10001108)
#define CNTR3 (*(volatile unsigned *)0x10001148)
#define CNTR4 (*(volatile unsigned *)0x10001188)
#define CNTR5 (*(volatile unsigned *)0x100011C8)
#define CNTR6 (*(volatile unsigned *)0x10001208)
#define CNTR7 (*(volatile unsigned *)0x10001248)
#define CNTR8 (*(volatile unsigned *)0x10001288)
#define CNTR9 (*(volatile unsigned *)0x100012C8)
#define CNTR10 (*(volatile unsigned *)0x10001308)
#define CNTR11 (*(volatile unsigned *)0x10001348)
#define CNTR12 (*(volatile unsigned *)0x10001388)
#define CNTR13 (*(volatile unsigned *)0x100013C8)
#define CNTR14 (*(volatile unsigned *)0x10001408)
#define CNTR15 (*(volatile unsigned *)0x10001448)
/* Channel Control Registers */
#define CCR0 (*(volatile unsigned *)0x1000108C)
#define CCR1 (*(volatile unsigned *)0x100010CC)
#define CCR2 (*(volatile unsigned *)0x1000110C)
#define CCR3 (*(volatile unsigned *)0x1000114C)
#define CCR4 (*(volatile unsigned *)0x1000118C)
#define CCR5 (*(volatile unsigned *)0x100011CC)
#define CCR6 (*(volatile unsigned *)0x1000120C)
#define CCR7 (*(volatile unsigned *)0x1000124C)
#define CCR8 (*(volatile unsigned *)0x1000128C)
#define CCR9 (*(volatile unsigned *)0x100012CC)
#define CCR10 (*(volatile unsigned *)0x1000130C)
#define CCR11 (*(volatile unsigned *)0x1000134C)
#define CCR12 (*(volatile unsigned *)0x1000138C)
#define CCR13 (*(volatile unsigned *)0x100013CC)
#define CCR14 (*(volatile unsigned *)0x1000140C)
#define CCR15 (*(volatile unsigned *)0x1000144C)
/* Channel Request Source Select Registers */
#define RSSR0 (*(volatile unsigned *)0x10001090)
#define RSSR1 (*(volatile unsigned *)0x100010D0)
#define RSSR2 (*(volatile unsigned *)0x10001110)
#define RSSR3 (*(volatile unsigned *)0x10001150)
#define RSSR4 (*(volatile unsigned *)0x10001190)
#define RSSR5 (*(volatile unsigned *)0x100011D0)
#define RSSR6 (*(volatile unsigned *)0x10001210)
#define RSSR7 (*(volatile unsigned *)0x10001250)
#define RSSR8 (*(volatile unsigned *)0x10001290)
#define RSSR9 (*(volatile unsigned *)0x100012D0)
#define RSSR10 (*(volatile unsigned *)0x10001310)
#define RSSR11 (*(volatile unsigned *)0x10001350)
#define RSSR12 (*(volatile unsigned *)0x10001390)
#define RSSR13 (*(volatile unsigned *)0x100013D0)
#define RSSR14 (*(volatile unsigned *)0x10001410)
#define RSSR15 (*(volatile unsigned *)0x10001450)
/* Channel Burst Length Registers */
#define BLR0 (*(volatile unsigned *)0x10001094)
#define BLR1 (*(volatile unsigned *)0x100010D4)
#define BLR2 (*(volatile unsigned *)0x10001114)
#define BLR3 (*(volatile unsigned *)0x10001154)
#define BLR4 (*(volatile unsigned *)0x10001194)
#define BLR5 (*(volatile unsigned *)0x100011D4)
#define BLR6 (*(volatile unsigned *)0x10001214)
#define BLR7 (*(volatile unsigned *)0x10001254)
#define BLR8 (*(volatile unsigned *)0x10001294)
#define BLR9 (*(volatile unsigned *)0x100012D4)
#define BLR10 (*(volatile unsigned *)0x10001314)
#define BLR11 (*(volatile unsigned *)0x10001354)
#define BLR12 (*(volatile unsigned *)0x10001394)
#define BLR13 (*(volatile unsigned *)0x100013D4)
#define BLR14 (*(volatile unsigned *)0x10001414)
#define BLR15 (*(volatile unsigned *)0x10001454)
/* Channel Request Time-Out Registers */
#define RTOR0 (*(volatile unsigned *)0x10001098)
#define RTOR1 (*(volatile unsigned *)0x100010D8)
#define RTOR2 (*(volatile unsigned *)0x10001118)
#define RTOR3 (*(volatile unsigned *)0x10001158)
#define RTOR4 (*(volatile unsigned *)0x10001198)
#define RTOR5 (*(volatile unsigned *)0x100011D8)
#define RTOR6 (*(volatile unsigned *)0x10001218)
#define RTOR7 (*(volatile unsigned *)0x10001258)
#define RTOR8 (*(volatile unsigned *)0x10001298)
#define RTOR9 (*(volatile unsigned *)0x100012D8)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -