Configuration of SAUL mapped GPIO pins.
More...
Configuration of SAUL mapped GPIO pins.
- 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 Green",
},
{
.name = "LED Blue",
},
{
.name = "Reset",
.pin = BTN0_PIN,
.mode = GPIO_IN_PU,
},
}
#define LED1_PIN
TX LED yellow.
#define LED2_PIN
RX LED yellow.
@ GPIO_OUT
select GPIO MASK as output
@ SAUL_GPIO_INIT_CLEAR
set pin inactive after init
@ SAUL_GPIO_INVERTED
pin is used as inverted
LED and button configuration for SAUL.
Definition at line 32 of file gpio_params.h.