
Code commenté du projet LED
Dependencies: BSP_DISCO_F746NG
hal_stm_lvgl/tft/tft.h@6:72febbe3ea91, 2022-06-16 (annotated)
- Committer:
- treina
- Date:
- Thu Jun 16 09:58:06 2022 +0000
- Revision:
- 6:72febbe3ea91
- Parent:
- 5:071136c3eefa
azd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JohnnyK | 3:4f5dc253eb7b | 1 | /** |
JohnnyK | 3:4f5dc253eb7b | 2 | * @file tft.h |
JohnnyK | 3:4f5dc253eb7b | 3 | * |
JohnnyK | 3:4f5dc253eb7b | 4 | */ |
JohnnyK | 3:4f5dc253eb7b | 5 | |
JohnnyK | 3:4f5dc253eb7b | 6 | #ifdef __cplusplus |
JohnnyK | 3:4f5dc253eb7b | 7 | extern "C" { |
JohnnyK | 3:4f5dc253eb7b | 8 | #endif |
JohnnyK | 3:4f5dc253eb7b | 9 | |
JohnnyK | 5:071136c3eefa | 10 | #ifndef DISP_H |
JohnnyK | 5:071136c3eefa | 11 | #define DISP_H |
JohnnyK | 5:071136c3eefa | 12 | |
JohnnyK | 3:4f5dc253eb7b | 13 | /********************* |
JohnnyK | 3:4f5dc253eb7b | 14 | * INCLUDES |
JohnnyK | 3:4f5dc253eb7b | 15 | *********************/ |
JohnnyK | 3:4f5dc253eb7b | 16 | #include <stdint.h> |
JohnnyK | 5:071136c3eefa | 17 | #include "lvgl/lvgl.h" |
JohnnyK | 3:4f5dc253eb7b | 18 | |
JohnnyK | 3:4f5dc253eb7b | 19 | /********************* |
JohnnyK | 3:4f5dc253eb7b | 20 | * DEFINES |
JohnnyK | 3:4f5dc253eb7b | 21 | *********************/ |
JohnnyK | 3:4f5dc253eb7b | 22 | #define TFT_HOR_RES 480 |
JohnnyK | 3:4f5dc253eb7b | 23 | #define TFT_VER_RES 272 |
JohnnyK | 3:4f5dc253eb7b | 24 | |
JohnnyK | 3:4f5dc253eb7b | 25 | /********************** |
JohnnyK | 3:4f5dc253eb7b | 26 | * TYPEDEFS |
JohnnyK | 3:4f5dc253eb7b | 27 | **********************/ |
JohnnyK | 3:4f5dc253eb7b | 28 | |
JohnnyK | 3:4f5dc253eb7b | 29 | /********************** |
JohnnyK | 3:4f5dc253eb7b | 30 | * GLOBAL PROTOTYPES |
JohnnyK | 3:4f5dc253eb7b | 31 | **********************/ |
JohnnyK | 3:4f5dc253eb7b | 32 | void tft_init(void); |
JohnnyK | 3:4f5dc253eb7b | 33 | |
JohnnyK | 3:4f5dc253eb7b | 34 | /********************** |
JohnnyK | 3:4f5dc253eb7b | 35 | * MACROS |
JohnnyK | 3:4f5dc253eb7b | 36 | **********************/ |
JohnnyK | 3:4f5dc253eb7b | 37 | #ifdef __cplusplus |
JohnnyK | 3:4f5dc253eb7b | 38 | } |
JohnnyK | 3:4f5dc253eb7b | 39 | #endif |
JohnnyK | 3:4f5dc253eb7b | 40 | |
JohnnyK | 5:071136c3eefa | 41 | #endif |