button.h
来自「AT91所有开发板的资料 AT91所有开发板的资料」· C头文件 代码 · 共 86 行
H
86 行
/**************************************************************************
*
* 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 + =
减小字号Ctrl + -
显示快捷键?