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

GC032A sensor driver (8-bit SCCB register addresses). More...

#include "../sensor.h"
Include dependency graph for gc032a.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GC032A_SCCB_ADDR   0x21
#define GC032A_PID   0x232A

Functions

int gc032a_detect (sensor_t *sensor)
 Probe the bus for a GC032A. On success fills sensor->id.
int gc032a_init_sensor (sensor_t *sensor)
 Fill sensor_t function pointers and write the default register set.

Detailed Description

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

The GC032A has no JPEG encoder: RGB565 only, up to VGA (640x480).

Function Documentation

◆ gc032a_detect()

int gc032a_detect ( sensor_t * sensor)

Probe the bus for a GC032A. On success fills sensor->id.

Returns
0 if detected

◆ gc032a_init_sensor()

int gc032a_init_sensor ( sensor_t * sensor)

Fill sensor_t function pointers and write the default register set.

Returns
0 on success
中文文档