PicoCamera 0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
载入中...
搜索中...
未找到
ov7725.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
20extern "C" {
21#endif
22
23#define OV7725_SCCB_ADDR 0x21 // 0x42 >> 1
24#define OV7725_PID 0x77
25
30int ov7725_detect(sensor_t *sensor);
31
36int ov7725_init_sensor(sensor_t *sensor);
37
38#ifdef __cplusplus
39}
40#endif
int ov7725_detect(sensor_t *sensor)
Probe the bus for an OV7725. On success fills sensor->id.
定义 ov7725.cpp:330
int ov7725_init_sensor(sensor_t *sensor)
Fill sensor_t function pointers and write the default register set.
定义 ov7725.cpp:351
Common camera sensor types, aligned with esp32-camera's sensor.h (subset).
English version