📄 button.h
字号:
/**************************************************************************
*
* ARM - Strategic Support Group
*
**************************************************************************/
/***************************************************************************
*
* Module : button.h
* Description : Services the button being pressed and toggles LED(1)
*
* Tool Chain : ARM Developer Suite
* Platform : Evaluator7T
* History :
*
* 990929 ASloss
* - started working on button.c
*
* 2000-04-02 Andrew N. Sloss
* - ported to Evaluator7T
*
**************************************************************************/
/**************************************************************************
* IMPORTS
**************************************************************************/
// none...
/**************************************************************************
* MACROS
**************************************************************************/
// none...
/**************************************************************************
* STATICS
**************************************************************************/
// none...
/**************************************************************************
* IMPORTS
**************************************************************************/
/* -- button_init ------------------------------------------------------
*
* Description : Initialises the button interrupt
*
* Parameters : none...
* Return : none...
* Notes : none...
*
*/
void button_init (void);
/* -- button_pressed ----------------------------------------------------
*
* Description : The interrupt button has been pressed. Toggles D1 LED...
*
* Parameters : none...
* Return : none...
* Notes : none...
*
*/
void button_pressed (void);
/* -- button_irq ----------------------------------------------------------
*
* Description : handles the button press interrupt...
*
* Parameters : none...
* Return : none...
* Notes : none...
*
*/
void button_irq (void);
/**************************************************************************
* END OF button.h
**************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -