Description: one sensor driver based on MTK 6225 platform :#define OV7670
#ifndef HW_SCCB
void SCCB_send_byte(kal_uint8 send_byte)
{
volatile signed char i
volatile kal_uint32 j
for (i=7 i>=0 i--)
{ /* data bit 7~0*/
if (send_byte & (1<<i))
{
SET_SCCB_DATA_HIGH
}
else
{
SET_SCCB_DATA_LOW
}
for(j=0 j<SENSOR_I2C_DELAY j++)
SET_SCCB_CLK_HIGH
for(j=0 j<SENSOR_I2C_DELAY j++)
SET_SCCB_CLK_LOW
for(j=0 j<SENSOR_I2C_DELAY j++)
}
/* don t care bit, 9th bit*/
SET_SCCB_DATA_LOW
SET_SCCB_DATA_INPUT
SET_SCCB_CLK_HIGH
for(j=0 j<SENSOR_I2C_DELAY j++)
SET_SCCB_CLK_LOW
SET_SCCB_DATA_OUTPUT
} /* SCCB_send_byte()*/
.....
- [ov7670] - OV7670 chip source code, cell phone came
- [OV7680_YUV_07B] - MTK platform, OV7680 sensor yuv driver c
- [AT89C51] - Entrance requirements: dividend in R2, R
- [OV7670] - Image sensor OV7670C language examples
- [ov7670] - Control the camera sensor module with ME
- [ov7660_tft] - verilog write ov7670 the i2c control is
File list (Check if you may need any files):
image_sensor.c