|
是不是要把自动暴光给关掉呢?下面是自动暴光的设置,怎么改啊?
***************************************************set auto exposure*********/
gpio_i2c_write(I2C_MT9D131, 0xf0, 0x00);
gpio_i2c_write(I2C_MT9D131, 0xf1, 0x01);
/* Max R12 (B)(Shutter Delay) 402 */
gpio_i2c_write(I2C_MT9D131,0xC6, 0x22);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x0b);
gpio_i2c_write(I2C_MT9D131,0xC8, 0x01);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x92);
/* IndexTH23 Zone number to start gain increase in low-light.
Sets frame rate at normal illumination. 4 */
gpio_i2c_write(I2C_MT9D131,0xC6, 0xA2);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x17);
gpio_i2c_write(I2C_MT9D131,0xC8, 0x00);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x04);
/* RowTime (msclk per)/4 Row time divided by 4 (in master clock periods) 527 */
gpio_i2c_write(I2C_MT9D131,0xC6, 0x22);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x28);
gpio_i2c_write(I2C_MT9D131,0xC8, 0x02);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x0f);
/* R9 Step Integration time of one zone 156 */
gpio_i2c_write(I2C_MT9D131,0xC6, 0x22);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x2f);
gpio_i2c_write(I2C_MT9D131,0xC8, 0x00);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x9c);
/* Maximum allowed zone number (that is maximumintegration time) 4 */
gpio_i2c_write(I2C_MT9D131,0xC6, 0xa2);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x0e);
gpio_i2c_write(I2C_MT9D131,0xC8, 0x00);
gpio_i2c_write(I2C_MT9D131,0xf1, 0x04);
/***************************************************set auto exposure end*********/ |
|