⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sensor.h

📁 MMI层OBJ不能完全编译
💻 H
字号:
/* 联想  密级:绝密 保密期限:3年                  */

/***CONFIDENTIAL *****************************************************
本文件属于公司秘密信息,请您恪守保密义务,勿向第三人透露。谢谢合作。 
This file is confidential. Recipient(s) is(are) obligated to maintain secrecy
and is(are) not permitted to disclose the contents of this communication to others. 
Thank you. 
***********************************************************************/
/**************************************************************************
*
*                         联想移动上海研发中心
*							软件二处
*
*			 联想移动上海研发中心 版权所有(c)  
*
* 文件名    :   sensor.h
*
* 目的      :   Neo Camera source file on CLC712S8 platform
*               
* 作者      :   Mark Hu
* 
* 生成日期  :   2005.01.20
*
* 修改纪录  :
* 
*-------------------------------------------------------------------------
* 姓名          日期            版本            描述
*-------------------------------------------------------------------------
* Mark hu   2004.01.20          0.1             创建
***************************************************************************/
#ifndef __SENSOR_H__
#define __SENSOR_H__

#define MG_SENSOR			0x00
#define OV_SENSOR			0x01
#define UNKNOWN_SENSOR	0x02
#define OV_SENSOR_ID		0x60		// I2C device ID for OV9640 CMOS Camera Module
#define MG_SENSOR_ID		0xba		
#define VGA_PREVIEW		0
#define SXGA_PREVIEW		1

#define VGA_CAPTURE		10
#define SXGA_CAPTURE		11

#define AWB_AUTO               0x01
#define AWB_SUNNY              0x02 
#define AWB_CLOUD              0x03
#define AWB_FLUORESCENT        0x04
#define AWB_TUNGSTEN           0x05
#define AWB_HORIZON            0x06


void Sensor_WriteReg(U16 usReg, U16 usData);
U16	Sensor_ReadReg(U16 usReg);
void Sensor_WriteTable(U8* point);

void Sensor_SetType(U8 ucType);
void Sensor_PowerOnOff(U8 ucOnOff);
U8 	Sensor_Check(void);
void Sensor_Init(void);

void Sensor_MGProcess(U8 ucMode);
void Sensor_OVProcess(U8 ucMode);
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -