PicoCamera 0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
Loading...
Searching...
No Matches
ov3660.h File Reference

OV3660 sensor driver (16-bit SCCB register addresses). More...

#include "../sensor.h"
Include dependency graph for ov3660.h:

Go to the source code of this file.

Macros

#define OV3660_SCCB_ADDR   0x3C
#define OV3660_PID   0x3660

Functions

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

Detailed Description

OV3660 sensor driver (16-bit SCCB register addresses).

Function Documentation

◆ ov3660_detect()

int ov3660_detect ( sensor_t * sensor)

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

Returns
0 if detected

◆ ov3660_init_sensor()

int ov3660_init_sensor ( sensor_t * sensor)

Fill sensor_t function pointers and write the default register set.

Returns
0 on success
中文文档