1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00

48 lines
771 B
C

/*
* SPDX-FileCopyrightText: 2024 Marian Buschsieweke
* SPDX-License-Identifier: LGPL-2.1-only
*/
#pragma once
/**
* @ingroup boards_gd32vf103c_start
* @{
*
* @file
* @brief Configuration of SAUL mapped GPIO pins
*
* @author Marian Buschsieweke <marian.buschsieweke@posteo.net>
*/
#include "board.h"
#include "saul/periph.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief LED/Button SAUL configuration
*/
static const saul_gpio_params_t saul_gpio_params[] =
{
{
.name = "Wakeup",
.pin = BTN0_PIN,
.mode = BTN0_MODE,
},
{
.name = "LED0",
.pin = LED0_PIN,
.mode = GPIO_OUT,
.flags = SAUL_GPIO_INIT_CLEAR,
},
};
#ifdef __cplusplus
}
#endif
/** @} */