82 static uint32_t s5k5cag_ConvertValue(uint32_t feature, uint32_t value);
3118 for(index=0; index<(
sizeof(
S5K5CAG_VGA)/4); index++)
3141 void s5k5cag_Config(uint16_t DeviceAddr, uint32_t feature, uint32_t value, uint32_t brightness_value)
3145 uint32_t r_gain = 0xA0;
3146 uint32_t g_gain = 0xA0;
3147 uint32_t b_gain = 0xA0;
3150 value_tmp = s5k5cag_ConvertValue(feature, value);
3292 static uint32_t s5k5cag_ConvertValue(uint32_t feature, uint32_t value)
#define CAMERA_BLACK_WHITE_NORMAL
const uint16_t S5K5CAG_QQVGA[][2]
const uint16_t S5K5CAG_480x272[][2]
#define CAMERA_BLACK_WHITE
#define S5K5CAG_COLOR_EFFECT_NONE
#define CAMERA_BRIGHTNESS_LEVEL0
#define CAMERA_BLACK_WHITE_BW_NEGATIVE
#define CAMERA_BRIGHTNESS_LEVEL1
const uint16_t S5K5CAG_VGA[][2]
#define S5K5CAG_CONTRAST_LEVEL2
#define S5K5CAG_BRIGHTNESS_LEVEL3
void s5k5cag_Config(uint16_t DeviceAddr, uint32_t feature, uint32_t value, uint32_t brightness_value)
Configures the S5K5CAG camera feature.
#define CAMERA_BRIGHTNESS_LEVEL3
#define CAMERA_COLOR_EFFECT_RED
#define S5K5CAG_BLACK_WHITE_NORMAL
uint16_t s5k5cag_ReadID(uint16_t DeviceAddr)
Read the S5K5CAG Camera identity.
#define S5K5CAG_INFO_CHIPID1
S5K5CAG Registers.
#define CAMERA_BRIGHTNESS_LEVEL2
#define S5K5CAG_COLOR_EFFECT_RED
This file contains all the functions prototypes for the s5k5cag.c driver.
#define S5K5CAG_CONTRAST_LEVEL0
#define CAMERA_CONTRAST_LEVEL2
#define CAMERA_COLOR_EFFECT
#define S5K5CAG_BLACK_WHITE_NEGATIVE
#define S5K5CAG_CONTRAST_LEVEL3
#define S5K5CAG_BRIGHTNESS_LEVEL0
S5K5CAG Features Parameters.
#define S5K5CAG_CONTRAST_LEVEL1
#define CAMERA_BLACK_WHITE_NEGATIVE
#define CAMERA_CONTRAST_LEVEL1
#define S5K5CAG_COLOR_EFFECT_BLUE
void CAMERA_IO_Write(uint8_t addr, uint8_t reg, uint8_t value)
void CAMERA_Delay(uint32_t delay)
#define S5K5CAG_BRIGHTNESS_LEVEL1
#define CAMERA_COLOR_EFFECT_BLUE
uint8_t CAMERA_IO_Read(uint8_t addr, uint8_t reg)
#define S5K5CAG_COLOR_EFFECT_GREEN
void s5k5cag_Init(uint16_t DeviceAddr, uint32_t resolution)
Initializes the S5K5CAG CAMERA component.
#define CAMERA_CONTRAST_LEVEL0
#define CAMERA_COLOR_EFFECT_GREEN
#define S5K5CAG_BLACK_WHITE_BW
#define CAMERA_BLACK_WHITE_BW
#define CAMERA_CONTRAST_BRIGHTNESS
#define S5K5CAG_BLACK_WHITE_BW_NEGATIVE
const uint16_t S5K5CAG_QVGA[][2]
#define CAMERA_CONTRAST_LEVEL4
#define CAMERA_CONTRAST_LEVEL3
#define S5K5CAG_COLOR_EFFECT_ANTIQUE
#define S5K5CAG_CONTRAST_LEVEL4
#define S5K5CAG_BRIGHTNESS_LEVEL2
#define S5K5CAG_BRIGHTNESS_LEVEL4
const uint16_t S5K5CAG_Common[][2]
void CAMERA_IO_Init(void)
CAMERA_DrvTypeDef s5k5cag_drv
#define CAMERA_COLOR_EFFECT_ANTIQUE
#define CAMERA_BRIGHTNESS_LEVEL4