Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
gpio_params.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2016-2017 Inria
3
* SPDX-FileCopyrightText: 2016 Freie Universität Berlin
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
19
20
#include "board.h"
21
#include "
saul/periph.h
"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
30
static
const
saul_gpio_params_t
saul_gpio_params
[] =
31
{
32
{
33
.name =
LED0_NAME
,
34
.pin = LED0_PIN,
35
.mode =
GPIO_OUT
36
},
37
};
38
39
#ifdef __cplusplus
40
}
41
#endif
42
saul_gpio_params
static const saul_gpio_params_t saul_gpio_params[]
LED configuration.
Definition
gpio_params.h:29
LED0_NAME
#define LED0_NAME
LED0 name.
Definition
board.h:38
GPIO_OUT
@ GPIO_OUT
select GPIO MASK as output
Definition
periph_cpu.h:164
periph.h
Parameter definitions for mapping peripherals directly to SAUL.
saul_gpio_params_t
Direct mapped GPIO configuration values.
Definition
periph.h:50
Generated on Wed Aug 27 2025 20:40:39 by
1.13.2