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

📄 halir.h

📁 威望公司MP3 + USB MCU 的参考软件
💻 H
字号:
/****************************************************************
*                      Viaon Technology (Suzhou) Co.,Ltd
*
*    Copyright 2007, Viaon Technology (Suzhou) Co.,Ltd,Suzhou,China
*                    All rights reserved.
*
*
* Filename:      	halir.h
*
* Programmer:    	Greg 
*
* Created: 	 	1/2/2008
*
* Description: 		public functions 
*              
*        
* Change History (most recent first):	2008.1.2
****************************************************************/

#ifndef __HALIR_H__
#define __HALIR_H__


//This function will init the IR module.
void halIRINTInit(void);

//This function will try to get the IR CODE 
//Input Param.: DWORD *pIRDat is the address for IR CODE
//Return Value: 	IR_LEAD if a new IR CODE is got.
//				IR_REPEAT if a repeated IR CODE is got
//				IR_NULL if no new IR CODE
#define IR_NULL 		0X00
#define IR_LEAD		0X01
#define IR_REPEAT	0X02
BYTE halIRGet(DWORD *pIRDat);
#if 0
void halT1Reset(void);
WORD halT1GetCur(void);
#endif
//If no IR input in some time, clear the IR repeat variables to avoid the IR disturb.
//void halIRClr(void);


#endif

⌨️ 快捷键说明

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