/* * Copyright (C) 2019 Juergen Fitschen * * 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 drivers_dose * @{ * @file * @brief Default configuration for the Differentially Operated Serial Ethernet driver * * @author Juergen Fitschen */ #ifndef DOSE_PARAMS_H #define DOSE_PARAMS_H #include "board.h" #ifdef __cplusplus extern "C" { #endif /** * @name Set default configuration parameters for the DOSE driver * @{ */ #ifndef DOSE_PARAM_UART #define DOSE_PARAM_UART (UART_DEV(0)) #endif #ifndef DOSE_PARAM_BAUDRATE #define DOSE_PARAM_BAUDRATE (115200) #endif #ifndef DOSE_PARAM_SENSE_PIN #define DOSE_PARAM_SENSE_PIN (GPIO_PIN(0, 0)) #endif #ifndef DOSE_PARAMS #define DOSE_PARAMS { .uart = DOSE_PARAM_UART, \ .baudrate = DOSE_PARAM_BAUDRATE, \ .sense_pin = DOSE_PARAM_SENSE_PIN } #endif /**@}*/ /** * @brief DOSE configuration */ static const dose_params_t dose_params[] = { DOSE_PARAMS }; #ifdef __cplusplus } #endif #endif /* DOSE_PARAMS_H */ /** @} */