hal_button.h

来自「cc2x30_sw_examples: 适用于SmartRF05EB 支持CC」· C头文件 代码 · 共 51 行

H
51
字号
/*******************************************************************************
  Filename:     hal_button.h

  Description:  HAL button control header file

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

#ifndef HAL_BUTTON_H
#define HAL_BUTTON_H

#ifdef __cplusplus
extern "C" {
#endif


/******************************************************************************
 * INCLUDES
 */
#include "hal_types.h"


/******************************************************************************
 * CONSTANTS AND DEFINES
 */
enum {
    HAL_BUTTON_NONE = 0,
   	HAL_BUTTON_1,
	HAL_BUTTON_2,
};


/******************************************************************************
 * GLOBAL FUNCTIONS
 */
void  halButtonInit(void);
uint8 halButtonPushed(void);


#ifdef  __cplusplus
}
#endif

#endif

/*------------------------------------------------------------------------------
										  0ooo                                     
								ooo0	 (	 )                                     
								(	)	  ) /                                      
								 \ (	 (_/                                       
								  \_)		 Modify By:cuiqingwei [gary]                  
------------------------------------------------------------------------------*/

⌨️ 快捷键说明

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