PicoCamera 0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
Loading...
Searching...
No Matches
gc032a.h
Go to the documentation of this file.
1/*
2 * This file is part of the PicoCamera project.
3 * https://github.com/umeiko/PicoCamera
4 *
5 * Author: umeko <umeko@stu.xmu.edu.cn>
6 * License: MIT
7 */
8
15#pragma once
16
17#include "../sensor.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#define GC032A_SCCB_ADDR 0x21 // 0x42 >> 1
24#define GC032A_PID 0x232A
25
30int gc032a_detect(sensor_t *sensor);
31
36int gc032a_init_sensor(sensor_t *sensor);
37
38#ifdef __cplusplus
39}
40#endif
int gc032a_detect(sensor_t *sensor)
Probe the bus for a GC032A. On success fills sensor->id.
Definition gc032a.cpp:201
int gc032a_init_sensor(sensor_t *sensor)
Fill sensor_t function pointers and write the default register set.
Definition gc032a.cpp:221
Common camera sensor types, aligned with esp32-camera's sensor.h (subset).
中文文档