 |
WebRadioApp
0.1
|
Go to the documentation of this file.
45 #ifndef EW_BSP_GRAPHICS_H
46 #define EW_BSP_GRAPHICS_H
48 #if defined STM32F746xx || defined STM32F750xx || defined STM32F756xx || \
50 #include "stm32f7xx_hal.h"
53 #if defined STM32F429xx || defined STM32F439xx || defined STM32F469xx
54 #include "stm32f4xx_hal.h"
57 #if defined STM32L496xx || defined STM32L4R9xx
58 #include "stm32l4xx_hal.h"
61 #if defined STM32H743xx || defined STM32H745xx || defined STM32H747xx || \
62 defined STM32H750xx || defined STM32H7B3xxQ
63 #include "stm32h7xx_hal.h"
79 #ifndef EW_USE_DMA2D_INTERRUPT_MODE
80 #define EW_USE_DMA2D_INTERRUPT_MODE 1
83 #if EW_USE_DMA2D_INTERRUPT_MODE == 0
84 #undef EW_USE_DMA2D_INTERRUPT_MODE
180 uint32_t aHeight, uint32_t aDstColorMode,
205 uint32_t aWidth, uint32_t aHeight,
206 uint32_t aDstColorMode, uint32_t aSrcColor);
233 uint32_t aDstOffset, uint32_t aSrcOffset,
234 uint32_t aWidth, uint32_t aHeight,
235 uint32_t aDstColorMode, uint32_t aSrcColorMode,
263 uint32_t aDstOffset, uint32_t aSrcOffset,
264 uint32_t aWidth, uint32_t aHeight,
265 uint32_t aDstColorMode, uint32_t aSrcColorMode,
void HAL_DMA2D_MspInit(DMA2D_HandleTypeDef *hdma2d)
DMA2D MSP Initialization This function configures the hardware resources used in this example:
Definition: ew_bsp_graphics.c:75
void EwBspGraphicsConcurrentOperation(int aEnable)
The function EwBspGraphicsConcurrentOperation configures the operation mode of DMA2D and CPU....
Definition: ew_bsp_graphics.c:212
void EwBspGraphicsWaitForCompletion()
The function EwBspGraphicsWaitForCompletion returns as soon as the DMA2D has completed a pending grap...
Definition: ew_bsp_graphics.c:166
void EwBspGraphicsFillBlend(uint32_t aDstAddr, uint32_t aDstOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColor)
The function EwBspGraphicsFillBlend is used by the Graphics Engine, when a rectangular area should be...
Definition: ew_bsp_graphics.c:280
void EwBspGraphicsFill(uint32_t aDstAddr, uint32_t aDstOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColor)
The function EwBspGraphicsFill is used by the Graphics Engine, when a rectangular area should be fill...
Definition: ew_bsp_graphics.c:231
static volatile char TransferInProgress
Definition: ew_bsp_graphics.c:63
void DMA2D_IRQHandler(void)
DMA2D Interrupt Handler.
Definition: ew_bsp_graphics.c:547
int EwBspGraphicsInit(uint32_t aDstColorMode)
Initialize the DMA2D graphics accelerator.
Definition: ew_bsp_graphics.c:115
#define CPU_LOAD_SET_ACTIVE()
Definition: ew_bsp_clock.h:56
static char ConcurrentOperation
Definition: ew_bsp_graphics.c:64
void EwBspGraphicsDone(void)
Deinitialize the DMA2D graphics accelerator.
Definition: ew_bsp_graphics.c:153
static DMA2D_HandleTypeDef Accelerator
Definition: ew_bsp_graphics.c:65
void HAL_DMA2D_MspDeInit(DMA2D_HandleTypeDef *hdma2d)
DMA2D MSP De-Initialization This function frees the hardware resources used in this example:
Definition: ew_bsp_graphics.c:95
#define CPU_LOAD_SET_IDLE()
Definition: ew_bsp_clock.h:55
void EwBspGraphicsCopyBlend(uint32_t aDstAddr, uint32_t aSrcAddr, uint32_t aDstOffset, uint32_t aSrcOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColorMode, uint32_t aSrcColor)
The function EwBspGraphicsCopyBlend is used by the Graphics Engine, when a source bitmap should be bl...
Definition: ew_bsp_graphics.c:431
This file contains general configuration settings for the target system, like memory ranges and displ...
void EwBspGraphicsCopy(uint32_t aDstAddr, uint32_t aSrcAddr, uint32_t aDstOffset, uint32_t aSrcOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColorMode, uint32_t aSrcColor)
The function EwBspGraphicsCopy is used by the Graphics Engine, when a source bitmap should be copied ...
Definition: ew_bsp_graphics.c:357
void EwBspGraphicsLoadClut(uint32_t aClutAddr, uint32_t aClutSize)
The function EwBspGraphicsLoadClut is used by the Graphics Engine, when a Index8 source bitmap should...
Definition: ew_bsp_graphics.c:508