Board specific configuration of direct mapped GPIOs.
More...
Board specific configuration of direct mapped GPIOs.
- Author
- Leandro Lanzieri leand.nosp@m.ro.l.nosp@m.anzie.nosp@m.ri@h.nosp@m.aw-ha.nosp@m.mbur.nosp@m.g.de
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 Builtin",
.pin = LED0_PIN,
},
{
.name = "LED Red",
},
{
.name = "LED Green",
},
{
.name = "LED Blue",
.pin = LED3_PIN,
}
}
#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
GPIO pin configuration.
Definition at line 32 of file gpio_params.h.