Location:
Search - ov7680
Search list
Description: MTK平台 OV7680 sensor yuv 驱动代码-MTK platform, OV7680 sensor yuv driver code
Platform: |
Size: 23552 |
Author: mouse |
Hits:
Description: Sensor驱动代码 OV7680 的 是我们做的尝试 双摄象头 不过容易出现一些小问题 要做稳定需要好好调试-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()*/
.....
Platform: |
Size: 16384 |
Author: bill |
Hits: