⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pb0111.h

📁 中星微301摄想头最新驱动
💻 H
字号:
#ifndef h_PB0111_h#define h_PB0111_h/* Define a unique identifier for this sensor (begin of MD5(PB0111)in Hex) */#define PB0111 0xB72B39F6const signature sig_PB0111 ={    /* 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 = PB0111};const SensorConfig sc_PB0111 = {    .Addresses = { 0x00 },    .Values    = { 0x00 },    .Length    = 0};/* PB0111 Sensor initialization */__u8 PB0111_CMD[]={	0xFF,0x20,0x00,0x00, 0xF0,0x01,0x03,0x00, 0xF0,0x02,0x03,0x04};__u8 PB0111_Initial[]={	0x00,0x00,0x01,0xcc,0x00,0x08,0x03,0xcc,0x00,0x10,0x0b,0xcc,0x00,0x02,0x00,0xcc,0x00,0x03,0x01,0xcc,	0x00,0x04,0x60,0xcc,0x00,0x05,0x01,0xcc,0x00,0x06,0x20,0xcc,0x00,0x01,0x01,0xcc,0x00,0x12,0x03,0xcc,	0x00,0x12,0x01,0xcc,0x00,0x98,0x00,0xcc,0x00,0x9a,0x00,0xcc,0x01,0x1a,0x00,0xcc,0x01,0x1c,0x00,0xcc,	0x01,0x00,0x09,0xbb,0x02,0x00,0x15,0xbb,0x03,0x01,0x25,0xbb,0x04,0x01,0x65,0xbb,0x06,0x00,0x00,0xbb,	0x0a,0x00,0x00,0xbb,0x35,0x00,0x09,0xbb,0x3e,0x00,0x29,0xbb,0x07,0x20,0xaa,0xbb,0x00,0x87,0x10,0xcc,	0x01,0x01,0xf7,0xcc,0x00,0x12,0x05,0xcc,0x00,0x19,0x00,0xcc,0x01,0x81,0x03,0xcc,0x01,0x82,0x08,0xcc,	0x01,0x83,0x16,0xcc,0x01,0x84,0x03,0xcc,0x01,0x85,0x05,0xcc,0x01,0x86,0x14,0xcc,0x01,0x8d,0x78,0xcc,	0x01,0xa8,0x58,0xcc,0x01,0x00,0x0d,0xcc,0x01,0x89,0x06,0xcc,0x01,0xc5,0x03,0xcc,0x01,0xcb,0x13,0xcc,	0x02,0x50,0x08,0xcc,0x03,0x01,0x08,0xcc};__u8 PB0111_50HZ[]={	0x00,0x19,0x00,0xcc,0x05,0x00,0x20,0xbb,0x09,0x02,0xd0,0xbb,0x10,0x00,0x02,0xbb,0x01,0xa9,0x0a,0xcc,	0x01,0xaa,0x2a,0xcc,0x01,0x90,0x00,0xcc,0x01,0x91,0x07,0xcc,0x01,0x92,0xf8,0xcc,0x01,0x95,0x00,0xcc,	0x01,0x96,0x00,0xcc,0x01,0x97,0x78,0xcc,0x01,0x8c,0x10,0xcc,0x01,0x8f,0x20,0xcc,0x00,0x1d,0x20,0xcc,	0x00,0x1e,0x50,0xcc,0x00,0x1f,0xa8,0xcc,0x00,0x20,0xff,0xcc};__u8 PB0111_60HZ[]={	0x00,0x19,0x00,0xcc,0x05,0x00,0x25,0xbb,0x09,0x02,0x52,0xbb,0x10,0x00,0x02,0xbb,0x01,0xa9,0x0a,0xcc,	0x01,0xaa,0x2a,0xcc,0x01,0x90,0x00,0xcc,0x01,0x91,0x07,0xcc,0x01,0x92,0xbc,0xcc,0x01,0x95,0x00,0xcc,	0x01,0x96,0x00,0xcc,0x01,0x97,0x63,0xcc,0x01,0x8c,0x10,0xcc,0x01,0x8f,0x20,0xcc,0x00,0x1d,0x25,0xcc,	0x00,0x1e,0x50,0xcc,0x00,0x1f,0xa8,0xcc,0x00,0x20,0xff,0xcc};__u8 PB0111_NoFliker[]={	0x00,0x19,0x00,0xcc,0x05,0x00,0x09,0xbb,0x09,0x01,0x80,0xbb,0x10,0x00,0x01,0xbb,0x01,0xa9,0x00,0xcc,	0x01,0xaa,0x00,0xcc,0x01,0x90,0x00,0xcc,0x01,0x91,0x07,0xcc,0x01,0x92,0xf0,0xcc,0x01,0x95,0x00,0xcc,	0x01,0x96,0x00,0xcc,0x01,0x97,0x10,0xcc,0x01,0x8c,0x10,0xcc,0x01,0x8f,0x20,0xcc,0x00,0x1d,0x09,0xcc,	0x00,0x1e,0x40,0xcc,0x00,0x1f,0x90,0xcc,0x00,0x20,0xe0,0xcc};/* PB0111 Sensor specific settings */__u8 PB0111_Gamma[]={	0x04};__u8 PB0111_GammaT[]={	0x13,0x38,0x59,0x79,0x92,0xa7,0xb9,0xc8,0xd4,0xdf,0xe7,0xee,0xf4,0xf9,0xfc,0xff,0x26,0x22,0x20,0x1c,	0x16,0x13,0x10,0x0d,0x0b,0x09,0x07,0x06,0x05,0x04,0x03,0x02};__u8 PB0111_MatrixT[]={	0x78,0xe4,0xe4,0xe4,0x78,0xe4,0xe4,0xe4,0x78};__u8 PB0111_RJMatrixT[]={	0x78,0xe4,0xe4,0xe4,0x78,0xe4,0xe4,0xe4,0x78};__u8 PB0111_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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -