summaryrefslogtreecommitdiff
path: root/nuttx/configs/open1788/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-24 13:50:23 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-24 13:50:23 -0600
commitea439de0bb25f37ffc4004b6532bf53810511c3d (patch)
tree577b3e0aaa6a2878a6cc5d91792383781879fc28 /nuttx/configs/open1788/include
parent1e646824d1fee99cba2f721cfc2181cfdd31d7f1 (diff)
downloadpx4-nuttx-ea439de0bb25f37ffc4004b6532bf53810511c3d.tar.gz
px4-nuttx-ea439de0bb25f37ffc4004b6532bf53810511c3d.tar.bz2
px4-nuttx-ea439de0bb25f37ffc4004b6532bf53810511c3d.zip
Rename up_buttoninit to board_button_intialize
Diffstat (limited to 'nuttx/configs/open1788/include')
-rw-r--r--nuttx/configs/open1788/include/board.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/nuttx/configs/open1788/include/board.h b/nuttx/configs/open1788/include/board.h
index ac5feb64c..fd1d76d4d 100644
--- a/nuttx/configs/open1788/include/board.h
+++ b/nuttx/configs/open1788/include/board.h
@@ -483,61 +483,6 @@ EXTERN void lpc17_setled(int led, bool ledon);
EXTERN void lpc17_setleds(uint8_t ledset);
#endif
-/************************************************************************************
- * Name: up_buttoninit
- *
- * Description:
- * up_buttoninit() must be called to initialize button resources. After that,
- * up_buttons() may be called to collect the current state of all buttons or
- * up_irqbutton() may be called to register button interrupt handlers.
- *
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_BUTTONS
-EXTERN void up_buttoninit(void);
-
-/************************************************************************************
- * Name: up_buttons
- *
- * Description:
- * up_buttoninit() must be called to initialize button resources. After that,
- * up_buttons() may be called to collect the current state of all buttons.
- *
- * After up_buttoninit() has been called, up_buttons() may be called to collect
- * the state of all buttons. up_buttons() returns an 8-bit bit set with each bit
- * associated with a button. See the BOARD_BUTTON_*_BIT and BOARD_JOYSTICK_*_BIT
- * definitions above for the meaning of each bit.
- *
- ************************************************************************************/
-
-EXTERN uint8_t up_buttons(void);
-
-/************************************************************************************
- * Button support.
- *
- * Description:
- * up_buttoninit() must be called to initialize button resources. After that,
- * up_irqbutton() may be called to register button interrupt handlers.
- *
- * up_irqbutton() 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 BOARD_BUTTON_* and
- * BOARD_JOYSTICK_* definitions in above for the meaning of enumeration values
- * The previous interrupt handler address is returned (so that it may restored, if
- * so desired).
- *
- * Note that up_irqbutton() also enables button interrupts. Button interrupts
- * will remain enabled after the interrupt handler is attached. Interrupts may
- * be disabled (and detached) by calling up_irqbutton with irqhandler equal to
- * NULL.
- *
- ************************************************************************************/
-
-#if defined(CONFIG_ARCH_IRQBUTTONS) && defined(CONFIG_GPIO_IRQ)
-EXTERN xcpt_t up_irqbutton(int id, xcpt_t irqhandler);
-#endif
-#endif /* CONFIG_ARCH_BUTTONS */
-
#undef EXTERN
#if defined(__cplusplus)
}