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

📄 irfunc.h

📁 mstar716驱动源代码
💻 H
字号:
/******************************************************************************
 Copyright (c) 2003 MStar Semiconductor, Inc.
 All rights reserved.

 [Module Name]: Isr.h
 [Date]:        05-Feb-2004
 [Comment]:
   Remote control function header file.
 [Reversion History]:
*******************************************************************************/
#ifndef _IRFUNC_H_
#define _IRFUNC_H_

#include "board.h"


#ifdef _IRFUNC_C_
#define _IRFUNCDEC_
#else
#define _IRFUNCDEC_ extern
#endif

//////////////////////////////////////////////////////
// Definition
//////////////////////////////////////////////////////
// tuner change channel delay time
#define IR_NUMKEY_DELAY_TIME1 (3000 / ISR_TIMER0_INTERVAL) // IR 0-9 key press ending delay time (1st key)
#define IR_NUMKEY_DELAY_TIME2 (1000 / ISR_TIMER0_INTERVAL) // IR 0-9 key press ending delay time (2,3 key)

#if(IR_FORMAT == IR_RC5)
 #include "IRParameter_RC5.h"
#endif
#if(IR_FORMAT == IR_NEC)
 #include "IRParameter_NEC.h"
#endif
#if(IR_FORMAT == IR_SANYO)
 #include "IRParameter_SANYO.h"
 #endif


// key definition
typedef enum _IrControlMenuType
{
    IR_MENU_CHANNEL1,
    IR_MENU_CHANNEL2,

    IR_MENU_NULL
}IrControlMenuTyp;

///////////////////////////////////////////////////
// Subroutines
///////////////////////////////////////////////////
_IRFUNCDEC_ void irDecodeCommand(void);
_IRFUNCDEC_ void irDecodeNumKey(void);
#endif

⌨️ 快捷键说明

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