/** ****************************************************************************** * @file Camera/Camera_To_USBDisk/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"stm32469i_eval_sdram.h"#include"stm32469i_eval_camera.h"#include"stm32469i_eval_ts.h"/* FatFs includes component */#include"ff_gen_drv.h"#include"usbh_diskio_dma.h"7 includesIncludes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*/#defineWVGA_RES_X800#defineWVGA_RES_Y480#defineLCD_SCREEN_WIDTHWVGA_RES_X#defineLCD_SCREEN_HEIGHTWVGA_RES_Y#defineARGB8888_BYTE_PER_PIXEL4#defineRGB888_BYTE_PER_PIXEL3#defineRGB565_BYTE_PER_PIXEL2/* LTDC foreground layer address 800x480 in ARGB8888 */#defineCAMERA_FRAME_BUFFER(LCD_FB_START_ADDRESS+(LCD_SCREEN_WIDTH*LCD_SCREEN_HEIGHT*ARGB8888_BYTE_PER_PIXEL))#defineCONVERTED_FRAME_BUFFER(CAMERA_FRAME_BUFFER+(CAMERA_480x272_RES_X*CAMERA_480x272_RES_Y*RGB565_BYTE_PER_PIXEL))9 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- *//* ... */#endif/* __MAIN_H */