Board specific configuration of direct mapped GPIOs.
More...
Board specific configuration of direct mapped GPIOs.
- Author
- Kees Bakker kees@.nosp@m.soda.nosp@m.q.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 Green",
},
{
.name = "LED Red",
},
{
.name = "LED Blue",
.pin = LED_BLUE_PIN,
},
{
.name = "Button",
.pin = BTN0_PIN,
.mode = BTN0_MODE,
},
}
@ GPIO_OUT
select GPIO MASK as output
#define LED_GREEN_PIN
LED1 is a green LED.
#define LED_RED_PIN
LED0 is a red LED.
@ 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.