Board specific configuration of direct mapped GPIOs.
More...
Board specific configuration of direct mapped GPIOs.
- Author
- Joakim NohlgÄrd joaki.nosp@m.m.no.nosp@m.hlgar.nosp@m.d@ei.nosp@m.stec..nosp@m.se
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 = "LED1(green)",
.pin = LED0_PIN,
},
{
.name = "LED2(red)",
},
{
.name = "SW1",
.mode = GPIO_IN_PU
},
}
#define LED1_PIN
TX LED yellow.
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ GPIO_OUT
select GPIO MASK as output
@ SAUL_GPIO_INVERTED
pin is used as inverted
LED configuration.
Definition at line 32 of file gpio_params.h.