A36 PCB1.1 软件工程整理
This commit is contained in:
59
fr3092_lvglcode/lv_drivers/display/fbdev.h
Normal file
59
fr3092_lvglcode/lv_drivers/display/fbdev.h
Normal file
@ -0,0 +1,59 @@
|
||||
/**
|
||||
* @file fbdev.h
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef FBDEV_H
|
||||
#define FBDEV_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#ifndef LV_DRV_NO_CONF
|
||||
#ifdef LV_CONF_INCLUDE_SIMPLE
|
||||
#include "lv_drv_conf.h"
|
||||
#else
|
||||
#include "../../lv_drv_conf.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if USE_FBDEV || USE_BSD_FBDEV
|
||||
|
||||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
void fbdev_init(void);
|
||||
void fbdev_exit(void);
|
||||
void fbdev_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_p);
|
||||
void fbdev_get_sizes(uint32_t *width, uint32_t *height);
|
||||
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
#endif /*USE_FBDEV*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*FBDEV_H*/
|
Reference in New Issue
Block a user