PicoCamera 0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
载入中...
搜索中...
未找到
ov7670.h 文件参考

OV7670 sensor driver (8-bit SCCB register addresses). 更多...

#include "../sensor.h"
ov7670.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

宏定义

#define OV7670_SCCB_ADDR   0x21
#define OV7670_PID   0x76

函数

int ov7670_detect (sensor_t *sensor)
 Probe the bus for an OV7670. On success fills sensor->id.
int ov7670_init_sensor (sensor_t *sensor)
 Fill sensor_t function pointers and write the default register set.

详细描述

OV7670 sensor driver (8-bit SCCB register addresses).

The OV7670 has no JPEG encoder: RGB565 only, up to VGA.

函数说明

◆ ov7670_detect()

int ov7670_detect ( sensor_t * sensor)

Probe the bus for an OV7670. On success fills sensor->id.

返回
0 if detected

◆ ov7670_init_sensor()

int ov7670_init_sensor ( sensor_t * sensor)

Fill sensor_t function pointers and write the default register set.

返回
0 on success
English version