mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-18 01:58:56 +00:00
42 lines
616 B
C
42 lines
616 B
C
/*
|
|
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Authors: matteo <duanmt@artinchip.com>
|
|
*/
|
|
|
|
#ifndef __DRV_CAMERA_INNER_H__
|
|
#define __DRV_CAMERA_INNER_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "rtdef.h"
|
|
|
|
struct rt_i2c_bus_device *camera_i2c_get(void);
|
|
|
|
u32 camera_xclk_rate_get(void);
|
|
void camera_xclk_enable(void);
|
|
void camera_xclk_disable(void);
|
|
|
|
u32 camera_rst_pin_get(void);
|
|
u32 camera_pwdn_pin_get(void);
|
|
|
|
struct reg8_info {
|
|
u8 reg;
|
|
u8 val;
|
|
};
|
|
|
|
struct reg16_info {
|
|
u16 reg;
|
|
u8 val;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|