Configuration of SAUL mapped GPIO pins.  
More...
Configuration of SAUL mapped GPIO pins. 
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr 
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",
        .pin   = LED1_PIN,
    },
    {
        .name  = "Led Blue",
    },
    {
        .name  = "Button 1",
        .pin   = BTN0_PIN,
        .mode  = BTN0_MODE,
    },
}
#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 configuration. 
Definition at line 28 of file gpio_params.h.