/** ****************************************************************************** * @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 includesIncludes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*//* Alias for LCD_FB_START_ADDRESS : frame buffer displayed on LCD */#defineLCD_FRAME_BUFFERLCD_FB_START_ADDRESS#defineWVGA_RES_X800#defineWVGA_RES_Y480#defineLCD_SCREEN_WIDTHWVGA_RES_X#defineLCD_SCREEN_HEIGHTWVGA_RES_Y#defineARGB8888_BYTE_PER_PIXEL4#defineRGB888_BYTE_PER_PIXEL3/* Buffer LCD Converted to RGB888 in SDRAM in order to be copied to SD Card *//* Starts directly at end of LCD frame buffer */#defineCONVERTED_FRAME_BUFFERLCD_FRAME_BUFFER+(LCD_SCREEN_WIDTH*LCD_SCREEN_HEIGHT*ARGB8888_BYTE_PER_PIXEL)8 definesExported constants/* Imported globals ----------------------------------------------------------*/externTS_StateTypeDefTS_State;Imported globals/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- */uint8_tTouchscreen_Calibration(void);uint16_tTouchScreen_Get_Calibrated_X(uint16_tx);uint16_tTouchScreen_Get_Calibrated_Y(uint16_ty);uint8_tTouchScreen_IsCalibrationDone(void);Exported functions/* ... */#endif/* __MAIN_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.