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

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

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

浏览该文件的源代码.

宏定义

#define GC2145_SCCB_ADDR   0x3C
#define GC2145_PID   0x2145

函数

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

详细描述

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

The GC2145 has no JPEG encoder: RGB565 only, up to UXGA (1600x1200).

函数说明

◆ gc2145_detect()

int gc2145_detect ( sensor_t * sensor)

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

返回
0 if detected

◆ gc2145_init_sensor()

int gc2145_init_sensor ( sensor_t * sensor)

Fill sensor_t function pointers and write the default register set.

返回
0 on success
English version