mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-04-23 14:57:20 +00:00
38 lines
650 B
C
38 lines
650 B
C
/**
|
|
* @file disp.h
|
|
*
|
|
*/
|
|
|
|
#ifndef DISP_H
|
|
#define DISP_H
|
|
|
|
/*********************
|
|
* INCLUDES
|
|
*********************/
|
|
#include <stdint.h>
|
|
#include "lvgl.h"
|
|
|
|
/*********************
|
|
* DEFINES
|
|
*********************/
|
|
#define TFT_HOR_RES TFT_WIDTH
|
|
#define TFT_VER_RES TFT_HEIGHT
|
|
|
|
#define TFT_EXT_FB 1 /*Frame buffer is located into an external SDRAM*/
|
|
#define TFT_USE_GPU 0 /*Enable hardware accelerator*/
|
|
|
|
/**********************
|
|
* TYPEDEFS
|
|
**********************/
|
|
|
|
/**********************
|
|
* GLOBAL PROTOTYPES
|
|
**********************/
|
|
void tft_init(void);
|
|
|
|
/**********************
|
|
* MACROS
|
|
**********************/
|
|
|
|
#endif
|