Dependencies: BSP_DISCO_F746NG
Diff: hal_stm_lvgl/tft/tft.h
- Revision:
- 3:4f5dc253eb7b
- Child:
- 5:071136c3eefa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hal_stm_lvgl/tft/tft.h Sat Apr 24 19:08:28 2021 +0000 @@ -0,0 +1,43 @@ +/** + * @file tft.h + * + */ + +#ifndef DISP_H +#define DISP_H + +#ifdef __cplusplus + extern "C" { +#endif + +/********************* + * INCLUDES + *********************/ +#include <stdint.h> +#include "lvgl/src/lv_misc/lv_color.h" +#include "lvgl/src/lv_misc/lv_area.h" + +/********************* + * DEFINES + *********************/ +#define TFT_HOR_RES 480 +#define TFT_VER_RES 272 + +/********************** + * TYPEDEFS + **********************/ + +/********************** + * GLOBAL PROTOTYPES + **********************/ +void tft_init(void); + +/********************** + * MACROS + **********************/ +#ifdef __cplusplus +} +#endif + +#endif +