Select one of the symbols to view example projects that use it.
 
Outline
#define __MAIN_H
Includes
#include "stm32469i_discovery.h"
#include "stm32469i_discovery_lcd.h"
#include "stm32469i_discovery_ts.h"
#include "stm32469i_discovery_sdram.h"
#include "stm32469i_discovery_sd.h"
#include <stdlib.h>
#include <stdio.h>
#include "ff_gen_drv.h"
#include "sd_diskio.h"
Exported constants
#define LCD_FRAME_BUFFER
#define WVGA_RES_X
#define WVGA_RES_Y
#define LCD_SCREEN_WIDTH
#define LCD_SCREEN_HEIGHT
#define ARGB8888_BYTE_PER_PIXEL
#define RGB888_BYTE_PER_PIXEL
#define CONVERTED_FRAME_BUFFER
Imported globals
TS_State;
Exported functions
Touchscreen_Calibration();
TouchScreen_Get_Calibrated_X(uint16_t);
TouchScreen_Get_Calibrated_Y(uint16_t);
TouchScreen_IsCalibrationDone();
Files
loading...
CodeScopeSTM32 Libraries and SamplesLCD_PaintInc/main.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file Display/LCD_Paint/Inc/main.h * @author MCD Application Team * @brief Header for main.c module ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __MAIN_H #define __MAIN_H /* Includes ------------------------------------------------------------------*/ #include "stm32469i_discovery.h" #include "stm32469i_discovery_lcd.h" #include "stm32469i_discovery_ts.h" #include "stm32469i_discovery_sdram.h" #include "stm32469i_discovery_sd.h" #include <stdlib.h> #include <stdio.h> /* FatFs includes component */ #include "ff_gen_drv.h" #include "sd_diskio.h" 9 includes Includes/* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* Alias for LCD_FB_START_ADDRESS : frame buffer displayed on LCD */ #define LCD_FRAME_BUFFER LCD_FB_START_ADDRESS #define WVGA_RES_X 800 #define WVGA_RES_Y 480 #define LCD_SCREEN_WIDTH WVGA_RES_X #define LCD_SCREEN_HEIGHT WVGA_RES_Y #define ARGB8888_BYTE_PER_PIXEL 4 #define RGB888_BYTE_PER_PIXEL 3 /* Buffer LCD Converted to RGB888 in SDRAM in order to be copied to SD Card */ /* Starts directly at end of LCD frame buffer */ #define CONVERTED_FRAME_BUFFER LCD_FRAME_BUFFER + (LCD_SCREEN_WIDTH * LCD_SCREEN_HEIGHT * ARGB8888_BYTE_PER_PIXEL) 8 defines Exported constants/* Imported globals ----------------------------------------------------------*/ extern TS_StateTypeDef TS_State; Imported globals /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ uint8_t Touchscreen_Calibration(void); uint16_t TouchScreen_Get_Calibrated_X(uint16_t x); uint16_t TouchScreen_Get_Calibrated_Y(uint16_t y); uint8_t TouchScreen_IsCalibrationDone(void); Exported functions /* ... */#endif /* __MAIN_H */