Board specific configuration of direct mapped GPIOs.
More...
Board specific configuration of direct mapped GPIOs.
- Author
- Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t
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,
.flags = 0x0,
},
{
.name = "LED(green)",
.flags = 0x0,
},
{
.name = "LED(blue)",
.flags = 0x0,
},
{
.name = "Button(User)",
.pin = BTN0_PIN,
.mode = BTN0_MODE,
},
}
#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.