Example of using the LVGL (8.3.4) with the MbedOS (6.16 - bare metal) on the Disco-F746NG board

Dependencies:   BSP_DISCO_F746NG

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers tft.h Source File

tft.h

Go to the documentation of this file.
00001 /**
00002  * @file tft.h
00003  *
00004  */
00005 #ifdef __cplusplus
00006  extern "C" {
00007 #endif
00008 
00009 
00010 #ifndef DISP_H
00011 #define DISP_H
00012 
00013 /*********************
00014  *      INCLUDES
00015  *********************/
00016 #include <stdint.h>
00017 #include "lvgl/src/misc/lv_color.h"
00018 #include "lvgl/src/misc/lv_area.h"
00019 
00020 /*********************
00021  *      DEFINES
00022  *********************/
00023 #define TFT_HOR_RES 480
00024 #define TFT_VER_RES 272
00025 
00026 /**********************
00027  *      TYPEDEFS
00028  **********************/
00029 
00030 /**********************
00031  * GLOBAL PROTOTYPES
00032  **********************/
00033 void tft_init(void);
00034 
00035 /**********************
00036  *      MACROS
00037  **********************/
00038 #ifdef __cplusplus
00039 }
00040 #endif
00041 
00042 #endif