Select one of the symbols to view example projects that use it.
 
Outline
#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"
#include "ff_gen_drv.h"
#include "usbh_diskio_dma.h"
Exported constants
#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 RGB565_BYTE_PER_PIXEL
#define CAMERA_FRAME_BUFFER
#define CONVERTED_FRAME_BUFFER
Files
loading...
CodeScopeSTM32 Libraries and SamplesCamera_To_USBDiskInc/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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @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 includes Includes/* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ #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 #define RGB565_BYTE_PER_PIXEL 2 /* LTDC foreground layer address 800x480 in ARGB8888 */ #define CAMERA_FRAME_BUFFER (LCD_FB_START_ADDRESS + (LCD_SCREEN_WIDTH * LCD_SCREEN_HEIGHT * ARGB8888_BYTE_PER_PIXEL)) #define CONVERTED_FRAME_BUFFER (CAMERA_FRAME_BUFFER + (CAMERA_480x272_RES_X * CAMERA_480x272_RES_Y * RGB565_BYTE_PER_PIXEL)) 9 defines Exported constants/* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ /* ... */ #endif /* __MAIN_H */