Move drivers from the lv_port_esp32 to here

This commit is contained in:
C47D 2020-12-17 00:02:55 -06:00
parent 5a32d98f83
commit 08384030b0
69 changed files with 14977 additions and 2 deletions

36
lvgl_tft/jd79653a.h Normal file
View file

@ -0,0 +1,36 @@
/**
* @file il3820.h
*
*/
#ifndef JD79653A_H
#define JD79653A_H
#ifdef __cplusplus
extern "C"
{
#endif
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
void jd79653a_init();
void jd79653a_deep_sleep();
void jd79653a_lv_set_fb_cb(struct _disp_drv_t * disp_drv, uint8_t* buf, lv_coord_t buf_w, lv_coord_t x, lv_coord_t y,
lv_color_t color, lv_opa_t opa);
void jd79653a_lv_rounder_cb(struct _disp_drv_t * disp_drv, lv_area_t *area);
void jd79653a_lv_fb_flush(lv_disp_drv_t *drv, const lv_area_t *area, lv_color_t *color_map);
void jd79653a_fb_set_full_color(uint8_t color);
void jd79653a_fb_full_update(uint8_t *data, size_t len);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif // JD79653A_H