📄 ov9650.h
字号:
/*
OV9650 CMOS sensor driver
Copyright (C) 2005, ucdragon
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _ADCM2650_H_
#define _ADCM2650_H_
#include "camera.h"
//////////////////////////////////////////////////////////////////////////////////////
//
// Prototypes
//
//////////////////////////////////////////////////////////////////////////////////////
void sccb_sendbyte(unsigned char subaddr, unsigned char data);
unsigned char sccb_receivebyte(unsigned char subaddr);
void camera_ov9650_set_level(int lvl);
int camera_func_ov9650_init( p_camera_context_t );
int camera_func_ov9650_deinit( p_camera_context_t );
int camera_func_ov9650_set_capture_format( p_camera_context_t );
int camera_func_ov9650_start_capture( p_camera_context_t, unsigned int frames );
int camera_func_ov9650_stop_capture( p_camera_context_t );
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -