1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 23:12:45 +01:00
RIOT/boards/stm32f469i-disco/include/gpio_params.h

55 lines
1021 B
C
Raw Normal View History

2021-09-27 19:13:06 +02:00
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
#ifdef __cplusplus
extern "C"
{
#endif
/**
* @name LEDs and BTN configuration
* @{
*/
static const saul_gpio_params_t saul_gpio_params[] =
{
{
.name = "LED1",
.pin = LED0_PIN,
.mode = GPIO_OUT,
.flags = SAUL_GPIO_INIT_SET,
},
{
.name = "LED2",
.pin = LED1_PIN,
.mode = GPIO_OUT,
.flags = SAUL_GPIO_INIT_SET,
},
{
.name = "LED3",
.pin = LED2_PIN,
.mode = GPIO_OUT,
.flags = SAUL_GPIO_INIT_SET,
},
{
.name = "LED4",
.pin = LED3_PIN,
.mode = GPIO_OUT,
.flags = SAUL_GPIO_INIT_SET,
},
{
.name = "BTN USER",
.pin = BTN0_PIN,
.mode = BTN0_MODE,
},
};
#ifdef __cplusplus
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */