initial commit
This commit is contained in:
13
components/app_bsp/lvgl_bsp.h
Normal file
13
components/app_bsp/lvgl_bsp.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "lvgl.h"
|
||||
|
||||
#define LVGL_TICK_PERIOD_MS 5
|
||||
#define LVGL_TASK_MAX_DELAY_MS 500
|
||||
#define LVGL_TASK_MIN_DELAY_MS 50
|
||||
|
||||
typedef void (*DispFlushCb)(struct _lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p);
|
||||
|
||||
void Lvgl_PortInit(int width, int height,DispFlushCb flush_cb);
|
||||
bool Lvgl_lock(int timeout_ms);
|
||||
void Lvgl_unlock(void);
|
||||
Reference in New Issue
Block a user