Select one of the symbols to view example projects that use it.
 
Outline
#define __CAMERA_APP_H
Includes
#include "main.h"
Exported constants
#define CAMERA_FRAME_BUFFER
#define CAMERA_CVRT_BUFFER
#define RGB_HEADER_SIZE
#define IMAGE_BUFFER_SIZE
#define MAX_IMAGE_SIZE
#define IMAGE_COLUMN_SIZE
#define IMAGE_LINE_SIZE
Exported types
CameraSettingsTypeDef
CAMERA_Init();
CAMERA_Suspend();
CAMERA_Resume();
CAMERA_Stop();
CAMERA_Set_ContrastBrightness(uint32_t, uint32_t);
CAMERA_SelectEffect(uint32_t);
CAMERA_SaveToFile(uint8_t *);
CAMERA_GetState();
Files
loading...
CodeScopeSTM32 Libraries and SamplesMB1063Modules/camera/camera_app.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 camera_app.h * @author MCD Application Team * @brief Camera application header file ****************************************************************************** * @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 __CAMERA_APP_H #define __CAMERA_APP_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "main.h" Includes /* Exported constants --------------------------------------------------------*/ #define CAMERA_FRAME_BUFFER 0xC0000000 #define CAMERA_CVRT_BUFFER 0xC0025800 #define RGB_HEADER_SIZE 54 #define IMAGE_BUFFER_SIZE (320*240*2) /* Size of RGB16 image */ #define MAX_IMAGE_SIZE (320*240*3) /* Size of RGB24 image */ #define IMAGE_COLUMN_SIZE 240 #define IMAGE_LINE_SIZE 320 7 defines Exported constants /* Exported types ------------------------------------------------------------*/ typedef union { uint32_t d32; struct { uint32_t brightness : 3; uint32_t contrast : 3; ...}b; ...} CameraSettingsTypeDef; Exported types /* Exported macros -----------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void CAMERA_Init(void); void CAMERA_Suspend(void); void CAMERA_Resume(void); void CAMERA_Stop(void); void CAMERA_Set_ContrastBrightness(uint32_t contrast_level, uint32_t brightness_level); void CAMERA_SelectEffect(uint32_t effect); uint8_t CAMERA_SaveToFile(uint8_t *path); uint8_t CAMERA_GetState(void); #ifdef __cplusplus }extern "C" { ... } #endif /* ... */ #endif /*__CAMERA_APP_H */