libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Macros | |
#define | DMA2D_CR MMIO32(DMA2D_BASE + 0x0U) |
DMA2D Control Register. More... | |
#define | DMA2D_CR_MODE_SHIFT 16 |
#define | DMA2D_CR_MODE_MASK 0x3 |
#define | DMA2D_CR_MODE_M2M 0 /* memory to memory */ |
#define | DMA2D_CR_MODE_M2MWPFC 1 /* memory to memory with pix convert */ |
#define | DMA2D_CR_MODE_M2MWB 2 /* memory to memory with blend */ |
#define | DMA2D_CR_MODE_R2M 3 /* register to memory */ |
#define | DMA2D_CR_CEIE (1 << 13) |
#define | DMA2D_CR_CTCIE (1 << 12) |
#define | DMA2D_CR_CAEIE (1 << 11) |
#define | DMA2D_CR_TWIE (1 << 10) |
#define | DMA2D_CR_TCIE (1 << 9) |
#define | DMA2D_CR_TEIE (1 << 8) |
#define | DMA2D_CR_ABORT (1 << 2) |
#define | DMA2D_CR_SUSP (1 << 1) |
#define | DMA2D_CR_START (1 << 0) |
#define | DMA2D_ISR MMIO32(DMA2D_BASE + 0x4U) |
DMA2D Interrupt Status Register. More... | |
#define | DMA2D_ISR_CEIF (1 << 5) |
#define | DMA2D_ISR_CTCIF (1 << 4) |
#define | DMA2D_ISR_CAEIF (1 << 3) |
#define | DMA2D_ISR_TWIF (1 << 2) |
#define | DMA2D_ISR_TCIF (1 << 1) |
#define | DMA2D_ISR_TEIF (1 << 0) |
#define | DMA2D_IFCR MMIO32(DMA2D_BASE + 0x8U) |
DMA2D Interrupt Flag Clear Register. More... | |
#define | DMA2D_IFCR_CCEIF (1 << 5) |
#define | DMA2D_IFCR_CCTCIF (1 << 4) |
#define | DMA2D_IFCR_CCAEIF (1 << 3) |
#define | DMA2D_IFCR_CTWIF (1 << 2) |
#define | DMA2D_IFCR_CTCIF (1 << 1) |
#define | DMA2D_IFCR_CTEIF (1 << 0) |
#define | DMA2D_FGMAR MMIO32(DMA2D_BASE + 0xCU) |
DMA2D Foreground Memory Address Register. More... | |
#define | DMA2D_FGOR MMIO32(DMA2D_BASE + 0x10U) |
DMA2D Foreground Offset Register. More... | |
#define | DMA2D_FGOR_LO_SHIFT 0 |
#define | DMA2D_FGOR_LO_MASK 0x3fff |
#define | DMA2D_BGMAR MMIO32(DMA2D_BASE + 0x14U) |
DMA2D Background Memory Address Register. More... | |
#define | DMA2D_BGOR MMIO32(DMA2D_BASE + 0x18U) |
DMA2D Background Offset Register. More... | |
#define | DMA2D_BGOR_LO_SHIFT 0 |
#define | DMA2D_BGOR_LO_MASK 0x3fff |
#define | DMA2D_FGPFCCR MMIO32(DMA2D_BASE + 0x1cU) |
DMA2D Foreground and Background PFC Control Register. More... | |
#define | DMA2D_BGPFCCR MMIO32(DMA2D_BASE + 0x24U) |
#define | DMA2D_xPFCCR_ALPHA_SHIFT 24 |
#define | DMA2D_xPFCCR_ALPHA_MASK 0xff |
#define | DMA2D_xPFCCR_AM_SHIFT 16 |
#define | DMA2D_xPFCCR_AM_MASK 0x3 |
#define | DMA2D_xPFCCR_AM_NONE 0 |
#define | DMA2D_xPFCCR_AM_FORCE 1 |
#define | DMA2D_xPFCCR_AM_PRODUCT 2 |
#define | DMA2D_xPFCCR_CS_SHIFT 8 |
#define | DMA2D_xPFCCR_CS_MASK 0xff |
#define | DMA2D_xPFCCR_START (1 << 5) |
#define | DMA2D_xPFCCR_CCM_ARGB8888 (0 << 4) |
#define | DMA2D_xPFCCR_CCM_RGB888 (1 << 4) |
#define | DMA2D_xPFCCR_CM_SHIFT 0 |
#define | DMA2D_xPFCCR_CM_MASK 0xf |
#define | DMA2D_xPFCCR_CM_ARGB8888 0 |
#define | DMA2D_xPFCCR_CM_RGB888 1 |
#define | DMA2D_xPFCCR_CM_RGB565 2 |
#define | DMA2D_xPFCCR_CM_ARGB1555 3 |
#define | DMA2D_xPFCCR_CM_ARGB4444 4 |
#define | DMA2D_xPFCCR_CM_L8 5 |
#define | DMA2D_xPFCCR_CM_AL44 6 |
#define | DMA2D_xPFCCR_CM_AL88 7 |
#define | DMA2D_xPFCCR_CM_L4 8 |
#define | DMA2D_xPFCCR_CM_A8 9 |
#define | DMA2D_xPFCCR_CM_A4 10 |
#define | DMA2D_FGCOLR MMIO32(DMA2D_BASE + 0x20U) |
DMA2D Foreground and Background Color Register. More... | |
#define | DMA2D_BGCOLR MMIO32(DMA2D_BASE + 0x28U) |
#define | DMA2D_xCOLR_RED_SHIFT 16 |
#define | DMA2D_xCOLR_RED_MASK 0xff |
#define | DMA2D_xCOLR_GREEN_SHIFT 8 |
#define | DMA2D_xCOLR_GREEN_MASK 0xff |
#define | DMA2D_xCOLR_BLUE_SHIFT 0 |
#define | DMA2D_xCOLR_BLUE_MASK 0xff |
#define | DMA2D_FGCMAR MMIO32(DMA2D_BASE + 0x2CU) |
DMA2D Foreground CLUT Memory Address Register. More... | |
#define | DMA2D_BGCMAR MMIO32(DMA2D_BASE + 0x30U) |
DMA2D Background CLUT Memory Address Register. More... | |
#define | DMA2D_OPFCCR MMIO32(DMA2D_BASE + 0x34U) |
DMA2D Output PFC Control Register. More... | |
#define | DMA2D_OPFCCR_CM_SHIFT 0 |
#define | DMA2D_OPFCCR_CM_MASK 0x3 |
#define | DMA2D_OPFCCR_CM_ARGB8888 0 |
#define | DMA2D_OPFCCR_CM_RGB888 1 |
#define | DMA2D_OPFCCR_CM_RGB565 2 |
#define | DMA2D_OPFCCR_CM_ARGB1555 3 |
#define | DMA2D_OPFCCR_CM_ARGB4444 4 |
#define | DMA2D_OCOLR MMIO32(DMA2D_BASE + 0x38U) |
DMA2D Output Color Register. More... | |
#define | DMA2D_OMAR MMIO32(DMA2D_BASE + 0x3CU) |
DMA2D Output Memory Address Register. More... | |
#define | DMA2D_OOR MMIO32(DMA2D_BASE + 0x40U) |
DMA2D Output offset Register. More... | |
#define | DMA2D_OOR_LO_SHIFT 0 |
#define | DMA2D_OOR_LO_MASK 0x3fff |
#define | DMA2D_NLR MMIO32(DMA2D_BASE + 0x44U) |
DMA2D Number of Lines Register. More... | |
#define | DMA2D_NLR_PL_SHIFT 16 |
#define | DMA2D_NLR_PL_MASK 0x3fff |
#define | DMA2D_NLR_NL_SHIFT 0 |
#define | DMA2D_NLR_NL_MASK 0xffff |
#define | DMA2D_LWR MMIO32(DMA2D_BASE + 0x48U) |
DMA2D Line Watermark Register. More... | |
#define | DMA2D_LWR_LW_SHIFT 0 |
#define | DMA2D_LWR_LW_MASK 0xffff |
#define | DMA2D_AMTCR MMIO32(DMA2D_BASE + 0x4CU) |
DMA2D AHB Master Timer Config Register. More... | |
#define | DMA2D_AMTCR_DT_SHIFT 8 |
#define | DMA2D_AMTCR_DT_MASK 0xff |
#define | DMA2D_AMTCR_EN (1 << 0) |
#define | DMA2D_FG_CLUT (uint32_t *)(DMA2D_BASE + 0x400U) |
DMA2D Foreground Color Lookup table. More... | |
#define | DMA2D_BG_CLUT (uint32_t *)(DMA2D_BASE + 0x800U) |
DMA2D Background Color Lookup table. More... | |