1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nucleo-xx: added pin define for user button

This commit is contained in:
Hauke Petersen 2016-03-02 12:10:55 +01:00
parent 754a028929
commit c08cbb1700
6 changed files with 26 additions and 4 deletions

View File

@ -56,6 +56,11 @@ extern "C" {
#define LED_ORANGE_TOGGLE
/** @} */
/**
* @brief User button
*/
#define BTN_B1_PIN GPIO_PIN(PORT_C, 13)
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/

View File

@ -60,11 +60,9 @@ extern "C" {
/** @} */
/**
* @name Buttons
* @{
* @brief User button
*/
#define BUTTON_USER_GPIO GPIO_PIN(PORT_C, 13)
/** @} */
#define BTN_B1_PIN GPIO_PIN(PORT_C, 13)
/**
* @name xtimer configuration

View File

@ -57,6 +57,11 @@ extern "C" {
#define LED_ORANGE_TOGGLE
/** @} */
/**
* @brief User button
*/
#define BTN_B1_PIN GPIO_PIN(PORT_C, 13)
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/

View File

@ -55,6 +55,11 @@ extern "C" {
#define LED_ORANGE_TOGGLE
/** @} */
/**
* @brief User button
*/
#define BTN_B1_PIN GPIO_PIN(PORT_C, 13)
/**
* @name xtimer tuning values
* @{

View File

@ -64,6 +64,10 @@ extern "C" {
#define LED_ORANGE_TOGGLE
/** @} */
/**
* @brief User button
*/
#define BTN_B1_PIN GPIO_PIN(PORT_C, 13)
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO

View File

@ -65,6 +65,11 @@ extern "C" {
#define LED_ORANGE_TOGGLE
/** @} */
/**
* @brief User button
*/
#define BTN_B1_PIN GPIO_PIN(PORT_C, 13)
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/