PicoCamera
0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
Toggle main menu visibility
载入中...
搜索中...
未找到
gc0308.h
浏览该文件的文档.
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
20
extern
"C"
{
21
#endif
22
23
#define GC0308_SCCB_ADDR 0x21
// 0x42 >> 1
24
#define GC0308_PID 0x9B
25
30
int
gc0308_detect
(sensor_t *sensor);
31
36
int
gc0308_init_sensor
(sensor_t *sensor);
37
38
#ifdef __cplusplus
39
}
40
#endif
gc0308_init_sensor
int gc0308_init_sensor(sensor_t *sensor)
Fill sensor_t function pointers and write the default register set.
定义
gc0308.cpp:260
gc0308_detect
int gc0308_detect(sensor_t *sensor)
Probe the bus for a GC0308. On success fills sensor->id.
定义
gc0308.cpp:242
sensor.h
Common camera sensor types, aligned with esp32-camera's sensor.h (subset).
English version
制作者
doxygen
1.18.0