switch_wait.h
来自「CODE for embedded C ,hand coding version」· C头文件 代码 · 共 24 行
H
24 行
/*---------------------------------------------------------------*-
Switch_wait.H (v1.00)
Author:06_Digital_Media
All Right Reserved
------------------------------------------------------------------
-See Switch_wait.C for details
-*----------------------------------------------------------------*/
#ifndef _SWITCH_WAIT_H
#define _SWITCH_WAIT_H
//-----------Public constants------------------------------------
//Return values from Switch_Get_Input()
#define SWITCH_NOT_PRESSED (bit) 0
#define SWITCH_PRESSED (bit) 1
//-----------Public function prototype --------------------------
void SWITCH_Init(void);
bit SWITCH_Get_Input(const tByte);
#endif
/*---------------------------------------------------------------*-
---------END OF FILE---------------------------------------------
-*---------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?