summaryrefslogtreecommitdiff
path: root/ucoo/arch
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/arch')
-rw-r--r--ucoo/arch/reg.stm32f4.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ucoo/arch/reg.stm32f4.hh b/ucoo/arch/reg.stm32f4.hh
index 1f5f2cf..6cedaba 100644
--- a/ucoo/arch/reg.stm32f4.hh
+++ b/ucoo/arch/reg.stm32f4.hh
@@ -128,6 +128,11 @@
#define DESIG_FLASH_SIZE_BASE 0x1fff7a22
#define DESIG_UNIQUE_ID_BASE 0x1fff7a10
+#define DMA2D_CR_MODE_MemoryToMemory 0
+#define DMA2D_CR_MODE_MemoryToMemoryFPC DMA2D_CR_MODE_0
+#define DMA2D_CR_MODE_MemoryToMemoryBlend DMA2D_CR_MODE_1
+#define DMA2D_CR_MODE_RegisterToMemory (DMA2D_CR_MODE_1 | DMA2D_CR_MODE_0)
+
#ifdef DSI_BASE
# define DSI_VMCR_VMT_NonBurstSyncPulses 0
# define DSI_VMCR_VMT_NonBurstSyncEvents 1