Board specific configuration of direct mapped GPIOs.
More...
Board specific configuration of direct mapped GPIOs.
- Author
- Benjamin Valentin benpi.nosp@m.cco@.nosp@m.googl.nosp@m.emai.nosp@m.l.com
Definition in file gpio_params.h.
#include "board.h"
#include "saul/periph.h"
Go to the source code of this file.
◆ saul_gpio_params
Initial value:=
{
{
.name = "LED (red)",
.pin = LED0_PIN,
},
{
.name = "LED (blue)",
},
{
.name = "LED (green)",
},
{
.name = "Button (SW0)",
.pin = BTN0_PIN,
.mode = BTN0_MODE,
},
{
.name = "Button (SW1)",
},
}
#define BTN1_MODE
Button B mode.
#define BTN1_PIN
Button B pin.
#define LED1_PIN
TX LED yellow.
#define LED2_PIN
RX LED yellow.
@ GPIO_OUT
select GPIO MASK as output
@ SAUL_GPIO_INVERTED
pin is used as inverted
GPIO pin configuration.
Definition at line 32 of file gpio_params.h.