mikroSDK Reference Manual
lv_gpu_swm341_dma2d.h
Go to the documentation of this file.
1
6#ifndef LV_GPU_SWM341_DMA2D_H
7#define LV_GPU_SWM341_DMA2D_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "../../misc/lv_color.h"
18#include "../sw/lv_draw_sw.h"
19
20#if LV_USE_GPU_SWM341_DMA2D
21
22/*********************
23 * DEFINES
24 *********************/
25
26#define LV_SWM341_DMA2D_ARGB8888 0
27#define LV_SWM341_DMA2D_RGB888 1
28#define LV_SWM341_DMA2D_RGB565 2
29
30/**********************
31 * TYPEDEFS
32 **********************/
33typedef lv_draw_sw_ctx_t lv_draw_swm341_dma2d_ctx_t;
34
35struct _lv_disp_drv_t;
36
37/**********************
38 * GLOBAL PROTOTYPES
39 **********************/
40
44void lv_draw_swm341_dma2d_init(void);
45
46void lv_draw_swm341_dma2d_ctx_init(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx);
47
48void lv_draw_swm341_dma2d_ctx_deinit(struct _lv_disp_drv_t * drv, lv_draw_ctx_t * draw_ctx);
49
50void lv_draw_swm341_dma2d_blend(lv_draw_ctx_t * draw_ctx, const lv_draw_sw_blend_dsc_t * dsc);
51
52void lv_gpu_swm341_dma2d_wait_cb(lv_draw_ctx_t * draw_ctx);
53
54/**********************
55 * MACROS
56 **********************/
57
58#endif /*LV_USE_GPU_SWM341_DMA2D*/
59
60#ifdef __cplusplus
61} /*extern "C"*/
62#endif
63
64#endif /*LV_GPU_SWM341_DMA2D_H*/
Definition lv_hal_disp.h:77
Definition lv_draw.h:59
Definition lv_draw_sw_blend.h:29
Definition lv_draw_sw.h:32