STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
Eclipse_WS2
STM32F769IDiscovery
Utilities
Components
Common
camera.h
Go to the documentation of this file.
1
39
/* Define to prevent recursive inclusion -------------------------------------*/
40
#ifndef __CAMERA_H
41
#define __CAMERA_H
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
47
/* Includes ------------------------------------------------------------------*/
48
#include <stdint.h>
49
70
typedef
struct
71
{
72
void (*Init)(uint16_t, uint32_t);
73
uint16_t (*ReadID)(uint16_t);
74
void (*Config)(uint16_t, uint32_t, uint32_t, uint32_t);
75
}
CAMERA_DrvTypeDef
;
87
#define CAMERA_R160x120 0x00
/* QQVGA Resolution */
88
#define CAMERA_R320x240 0x01
/* QVGA Resolution */
89
#define CAMERA_R480x272 0x02
/* 480x272 Resolution */
90
#define CAMERA_R640x480 0x03
/* VGA Resolution */
91
92
#define CAMERA_CONTRAST_BRIGHTNESS 0x00
/* Camera contrast brightness features */
93
#define CAMERA_BLACK_WHITE 0x01
/* Camera black white feature */
94
#define CAMERA_COLOR_EFFECT 0x03
/* Camera color effect feature */
95
96
#define CAMERA_BRIGHTNESS_LEVEL0 0x00
/* Brightness level -2 */
97
#define CAMERA_BRIGHTNESS_LEVEL1 0x01
/* Brightness level -1 */
98
#define CAMERA_BRIGHTNESS_LEVEL2 0x02
/* Brightness level 0 */
99
#define CAMERA_BRIGHTNESS_LEVEL3 0x03
/* Brightness level +1 */
100
#define CAMERA_BRIGHTNESS_LEVEL4 0x04
/* Brightness level +2 */
101
102
#define CAMERA_CONTRAST_LEVEL0 0x05
/* Contrast level -2 */
103
#define CAMERA_CONTRAST_LEVEL1 0x06
/* Contrast level -1 */
104
#define CAMERA_CONTRAST_LEVEL2 0x07
/* Contrast level 0 */
105
#define CAMERA_CONTRAST_LEVEL3 0x08
/* Contrast level +1 */
106
#define CAMERA_CONTRAST_LEVEL4 0x09
/* Contrast level +2 */
107
108
#define CAMERA_BLACK_WHITE_BW 0x00
/* Black and white effect */
109
#define CAMERA_BLACK_WHITE_NEGATIVE 0x01
/* Negative effect */
110
#define CAMERA_BLACK_WHITE_BW_NEGATIVE 0x02
/* BW and Negative effect */
111
#define CAMERA_BLACK_WHITE_NORMAL 0x03
/* Normal effect */
112
113
#define CAMERA_COLOR_EFFECT_NONE 0x00
/* No effects */
114
#define CAMERA_COLOR_EFFECT_BLUE 0x01
/* Blue effect */
115
#define CAMERA_COLOR_EFFECT_GREEN 0x02
/* Green effect */
116
#define CAMERA_COLOR_EFFECT_RED 0x03
/* Red effect */
117
#define CAMERA_COLOR_EFFECT_ANTIQUE 0x04
/* Antique effect */
118
135
#ifdef __cplusplus
136
}
137
#endif
138
139
#endif
/* __CAMERA_H */
140
141
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
CAMERA_DrvTypeDef
Definition:
camera.h:70
Generated by
1.8.11