From c5162d97ad6059cfea292beaf3b9a7b67ca8f982 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Wed, 3 Aug 2016 12:55:46 +0200 Subject: ucoo/hal/frame_buffer: add LTDC, DSI & DMA2D --- ucoo/arch/reg.stm32f4.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ucoo/arch') 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 -- cgit v1.2.3