Rename up_irqbutton() to board_button_irq()

This commit is contained in:
Gregory Nutt
2014-01-24 14:04:07 -06:00
parent 1ac245b9c6
commit 1d5b2d3d3e
36 changed files with 144 additions and 143 deletions
+4 -4
View File
@@ -79,7 +79,7 @@ static const uint16_t g_buttons[NUM_BUTTONS] =
* Description:
* board_button_initialize() must be called to initialize button resources.
* After that, board_buttons() may be called to collect the current state of
* all buttons or up_irqbutton() may be called to register button interrupt
* all buttons or board_button_irq() may be called to register button interrupt
* handlers.
*
****************************************************************************/
@@ -138,7 +138,7 @@ uint8_t board_buttons(void)
* Description:
* board_button_initialize() must be called to initialize button resources.
* After that, board_buttons() may be called to collect the current state of
* all buttons or up_irqbutton() may be called to register button interrupt
* all buttons or board_button_irq() may be called to register button interrupt
* handlers.
*
* After board_button_initialize() has been called, board_buttons() may be
@@ -147,7 +147,7 @@ uint8_t board_buttons(void)
* BUTTON_*_BIT and JOYSTICK_*_BIT definitions in board.h for the meaning
* of each bit.
*
* up_irqbutton() may be called to register an interrupt handler that will
* board_button_irq() may be called to register an interrupt handler that will
* be called when a button is depressed or released. The ID value is a
* button enumeration value that uniquely identifies a button resource. See
* the
@@ -158,7 +158,7 @@ uint8_t board_buttons(void)
****************************************************************************/
#ifdef CONFIG_ARCH_IRQBUTTONS
xcpt_t up_irqbutton(int id, xcpt_t irqhandler)
xcpt_t board_button_irq(int id, xcpt_t irqhandler)
{
xcpt_t oldhandler = NULL;