ovcif.h

来自「AVR单片机视频采集,主要是为了在自主导航的微型机器人里使用。 获取图像后」· C头文件 代码 · 共 93 行

H
93
字号
#ifndef h_OVCIF_h#define h_OVCIF_h/* Define a unique identifier for this sensor (begin of MD5(OVCIF)in Hex) */#define OVCIF 0x6009F598const signature sig_OVCIF ={    /* Define the read only register address on I2C bus */    .i2c_reg_addr = { 0x54,0x9F,0xA0,0xA1, 0xA2,0xA3,0xA4,0xA5,       0xA7,0xA9,0xAB,0xAD, 0xB0,0xB1},    /* Define the read only register values on I2C bus */    .i2c_ro_value = { 0x04,0x20,0x04,0x8C, 0x03,0x21,0x04,0x64,       0x1A,0x40,0x03,0x80, 0xFC,0x03},    /* Then define the length of the signature */    .signature_length = 0,    /* Define the sensor id */    .sensor_id = OVCIF};const SensorConfig sc_OVCIF = {    .Addresses = { 0x00 },    .Values    = { 0x00 },    .Length    = 0};/* OVCIF Sensor initialization */__u8 OVCIF_Initial[]={	0x00,0x00,0x00,0xff};__u8 OVCIF_50HZ[]={	0x00,0x00,0x00,0xff};__u8 OVCIF_60HZ[]={	0x00,0x00,0x00,0xff};__u8 OVCIF_NoFliker[]={	0x00,0x00,0x00,0xff};/* OVCIF Sensor specific settings */__u8 OVCIF_Gamma[]={	0x04};__u8 OVCIF_GammaT[]={	0x40};__u8 OVCIF_MatrixT[]={	0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40};__u8 OVCIF_RJMatrixT[]={	0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40};__u8 OVCIF_defaultSettings[]={       7, /*           BandWidth */      20, /*          Brightness */      20, /*            Contrast */      18, /*                 Hue */      50, /*          Saturation */       3, /*           Sharpness */       4, /*               Gamma */       1, /*        WhiteBalance */       0, /*           BackLight */       1, /*         ColorEnable */       7, /*           FrameRate */       5, /*            Exposure */       1, /*                Gain */       0, /*              Mirror */       1, /*             Flicker */       1, /*             Default */       1, /*        ExposureAuto */       1, /*    WhiteBalanceAuto */       1, /*            GainAuto */       1, /*       BandWidthAuto */       0, /*            Vertical */      64, /*               Rgain */      64, /*               Ggain */      64 /*               Bgain */};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?