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:
parent
754a028929
commit
c08cbb1700
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
* @{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user