82 static uint64_t ov9655_ConvertValue(uint32_t feature, uint32_t value);
599 for(index=0; index<(
sizeof(
OV9655_QVGA)/2); index++)
613 for(index=0; index<(
sizeof(
OV9655_VGA)/2); index++)
635 void ov9655_Config(uint16_t DeviceAddr, uint32_t feature, uint32_t value, uint32_t brightness_value)
637 uint8_t tslb, mtx1, mtx2, mtx3, mtx4, mtx5, mtx6;
642 value_tmp = ov9655_ConvertValue(feature, value);
656 tslb = (uint8_t)(value_tmp >> 48);
657 mtx1 = (uint8_t)(value_tmp >> 40);
658 mtx2 = (uint8_t)(value_tmp >> 32);
659 mtx3 = (uint8_t)(value_tmp >> 24);
660 mtx4 = (uint8_t)(value_tmp >> 16);
661 mtx5 = (uint8_t)(value_tmp >> 8);
662 mtx6 = (uint8_t)(value_tmp);
702 static uint64_t ov9655_ConvertValue(uint32_t feature, uint32_t value)
#define CAMERA_BLACK_WHITE_NORMAL
#define OV9655_BLACK_WHITE_BW
#define CAMERA_BLACK_WHITE
#define OV9655_SENSOR_COM7
#define CAMERA_BRIGHTNESS_LEVEL0
#define CAMERA_BLACK_WHITE_BW_NEGATIVE
#define CAMERA_BRIGHTNESS_LEVEL1
uint16_t ov9655_ReadID(uint16_t DeviceAddr)
Read the OV9655 Camera identity.
#define OV9655_SENSOR_MTX4
const char OV9655_QQVGA[][2]
#define CAMERA_BRIGHTNESS_LEVEL3
#define CAMERA_COLOR_EFFECT_RED
#define CAMERA_BRIGHTNESS_LEVEL2
const unsigned char OV9655_QVGA[][2]
#define OV9655_SENSOR_MTX6
#define OV9655_SENSOR_MTX5
#define OV9655_BLACK_WHITE_NORMAL
#define OV9655_SENSOR_CNST1
#define OV9655_BRIGHTNESS_LEVEL3
#define OV9655_BLACK_WHITE_BW_NEGATIVE
#define OV9655_BRIGHTNESS_LEVEL2
#define OV9655_COLOR_EFFECT_RED
#define CAMERA_COLOR_EFFECT_NONE
#define CAMERA_CONTRAST_LEVEL2
#define CAMERA_COLOR_EFFECT
#define OV9655_COLOR_EFFECT_BLUE
#define OV9655_SENSOR_MTX1
#define OV9655_CONTRAST_LEVEL1
CAMERA_DrvTypeDef ov9655_drv
#define CAMERA_BLACK_WHITE_NEGATIVE
#define OV9655_SENSOR_TSLB
#define OV9655_COLOR_EFFECT_GREEN
#define OV9655_SENSOR_PIDH
OV9655 Registers.
#define CAMERA_CONTRAST_LEVEL1
void CAMERA_IO_Write(uint8_t addr, uint8_t reg, uint8_t value)
void CAMERA_Delay(uint32_t delay)
#define CAMERA_COLOR_EFFECT_BLUE
#define OV9655_CONTRAST_LEVEL4
#define OV9655_BRIGHTNESS_LEVEL0
OV9655 Features Parameters.
#define OV9655_CONTRAST_LEVEL0
#define OV9655_COLOR_EFFECT_ANTIQUE
#define OV9655_SENSOR_MTX3
uint8_t CAMERA_IO_Read(uint8_t addr, uint8_t reg)
void ov9655_Init(uint16_t DeviceAddr, uint32_t resolution)
Initializes the OV9655 CAMERA component.
#define OV9655_BRIGHTNESS_LEVEL1
#define CAMERA_CONTRAST_LEVEL0
#define CAMERA_COLOR_EFFECT_GREEN
#define OV9655_BLACK_WHITE_NEGATIVE
#define CAMERA_BLACK_WHITE_BW
void ov9655_Config(uint16_t DeviceAddr, uint32_t feature, uint32_t value, uint32_t brightness_value)
Configures the OV9655 camera feature.
#define CAMERA_CONTRAST_BRIGHTNESS
const unsigned char OV9655_VGA[][2]
#define CAMERA_CONTRAST_LEVEL4
#define OV9655_CONTRAST_LEVEL2
#define CAMERA_CONTRAST_LEVEL3
#define OV9655_SENSOR_MTX2
#define OV9655_SENSOR_BRTN
#define OV9655_CONTRAST_LEVEL3
#define OV9655_BRIGHTNESS_LEVEL4
void CAMERA_IO_Init(void)
#define OV9655_COLOR_EFFECT_NONE
#define CAMERA_COLOR_EFFECT_ANTIQUE
#define CAMERA_BRIGHTNESS_LEVEL4
This file contains all the functions prototypes for the ov9655.c driver.