/* * Copyright (C) 2018 Federico Pellegrin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup boards_common_silabs * @brief SiLabs Boards configuration for the Arduino API * @file * @author Federico Pellegrin * @{ */ #ifndef ARDUINO_PINMAP_H #define ARDUINO_PINMAP_H #include "board.h" #include "periph_cpu.h" #include "periph/adc.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Arduino's digital pins mappings */ #define ARDUINO_PIN_0 LED0_PIN #define ARDUINO_PIN_1 LED1_PIN #define ARDUINO_PIN_2 PB0_PIN #define ARDUINO_PIN_3 PB1_PIN /** * @brief Arduino's analog pins mappings */ #define ARDUINO_A0 ADC_LINE(0) #ifdef __cplusplus } #endif #endif /* ARDUINO_PINMAP_H */ /** @} */