mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
committed by
Abdelatif Guettouche
parent
1b47aa1cb2
commit
a61b8a13c6
@@ -60,18 +60,19 @@
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* The Sure DB_DP11215 PIC32 Storage Demo Board has three buttons.
|
||||
*
|
||||
* SW1 (SW_UP, left arrow) RB3 Pulled high, Grounded/low when depressed
|
||||
* SW2 (SW_DOWN, down/right arrow) RB2 Pulled high, Grounded/low when depressed
|
||||
* SW3 (SW_OK, right arrow) RB4 Pulled high, Grounded/low when depressed
|
||||
* SW1 (SW_UP, left arrow) RB3 Pulled high, Grounded/low when depressed
|
||||
* SW2 (SW_DOWN, down arrow) RB2 Pulled high, Grounded/low when depressed
|
||||
* SW3 (SW_OK, right arrow) RB4 Pulled high, Grounded/low when depressed
|
||||
*
|
||||
* The Sure DB-DP11212 PIC32 General Purpose Demo Board also has three buttons,
|
||||
* but these are connected differently:
|
||||
* The Sure DB-DP11212 PIC32 General Purpose Demo Board also has three
|
||||
* buttons, but these are connected differently:
|
||||
*
|
||||
* SW2-1 RF0 Pulled high, Grounded/low when depressed
|
||||
* SW3-1 RF1 Pulled high, Grounded/low when depressed
|
||||
* SW5-1 RD6 Pulled high, Grounded/low when depressed
|
||||
* SW2-1 RF0 Pulled high, Grounded/low when depressed
|
||||
* SW3-1 RF1 Pulled high, Grounded/low when depressed
|
||||
* SW5-1 RD6 Pulled high, Grounded/low when depressed
|
||||
*
|
||||
* Internal pull-ups are not required since the LEDs are pull-up externally.
|
||||
* Change notification interrupts are not *automatically* enabled. Change
|
||||
@@ -131,8 +132,8 @@ static const uint8_t g_buttoncn[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 board_button_irq() may be called to register button
|
||||
* After that, board_buttons() may be called to collect the current state
|
||||
* of all buttons or board_button_irq() may be called to register button
|
||||
* interrupt handlers.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user