/** ****************************************************************************** * @file Display/LCD_AnimatedPictureFromSDCard/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_eval.h"#include"stm32469i_eval_lcd.h"#include"otm8009a.h"#include<stdlib.h>#include"fatfs_storage.h"/* FatFs includes component */#include"ff_gen_drv.h"#include"sd_diskio.h"7 includesIncludes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*/#defineLCD_SCREEN_WIDTH800#defineLCD_SCREEN_HEIGHT480#defineARGB8888_BYTE_PER_PIXEL4/* LTDC foreground layer address 800x480 in ARGB8888 */#defineLCD_FG_LAYER_ADDRESSLCD_FB_START_ADDRESS/* LTDC background layer address 800x480 in ARGB8888 following the foreground layer */#defineLCD_BG_LAYER_ADDRESSLCD_FG_LAYER_ADDRESS+(LCD_SCREEN_WIDTH*LCD_SCREEN_HEIGHT*ARGB8888_BYTE_PER_PIXEL)#defineINTERNAL_BUFFER_START_ADDRESSLCD_BG_LAYER_ADDRESS+(LCD_SCREEN_WIDTH*LCD_SCREEN_HEIGHT*ARGB8888_BYTE_PER_PIXEL)6 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- *//* ... */#endif/* __MAIN_H */