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

📄 camif.h

📁 2440 开发板的测试程序。包括uart,iic,lcd
💻 H
字号:
/******************************************************************************

 Filename:	camif.h

 Descriptions		
 - header file of camif.c

 History
 - July 23, 2003. Draft Version 0.0 by purnnamu
 - Janualy 15, 2004. Modifed by Boaz
 
 Copyright (c) 2003 SAMSUNG Electronics.
 # However, Anybody can use this code without our permission.  

 ******************************************************************************/


#ifndef __CAMIF_H__
#define __CAMIF_H__

#ifdef __cplusplus
extern "C"
{
#endif

#include "camdef.h"


#if 0 //If you have to use 
extern volatile U32 camTestMode;
extern volatile U32 camCodecCaptureCount;
extern volatile U32 camPviewCaptureCount;
extern volatile U32 camPviewStatus;
extern volatile U32 camCodecStatus;
#endif


	void CalculateBurstSize( U32 dstHSize , U32* mainBurstSize , U32* RemainedBurstSize );
	void CalculatePrescalerRatioShift( U32 srcWidth , U32 dstWidth , U32* ratio , U32* shift );

	void __irq CamPviewIsr( void );
	void __irq CamCodecIsr( void );
	void __irq CamIsr( void );


	void CamPortSet( void );
	void CamPortReturn( void );
	void CamPreviewIntUnmask( void );
	void CamCodecIntUnmask( void );
	void CamPreviewIntMask( void );
	void CamCodecIntMask( void );
	void CamReset( void );
	void CamModuleReset( void );
	void SetCAMClockDivider( int divn );

	void CamCaptureStart( U32 mode );
	void CamCaptureStop( void );
	void _CamPviewStopHw( void );
	void _CamCodecStopHw( void );


	void Test_CamPreview( void );
	void Camera_Test( void );


#ifdef __cplusplus
}
#endif

#endif /*__CAMIF_H__*/

⌨️ 快捷键说明

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