32 #ifndef DOSE_PARAM_UART
33 #define DOSE_PARAM_UART (UART_DEV(1))
35 #ifndef DOSE_PARAM_BAUDRATE
36 #define DOSE_PARAM_BAUDRATE (115200)
38 #ifndef DOSE_PARAM_SENSE_PIN
39 #define DOSE_PARAM_SENSE_PIN (GPIO_UNDEF)
41 #ifndef DOSE_PARAM_STANDBY_PIN
42 #define DOSE_PARAM_STANDBY_PIN (GPIO_UNDEF)
46 #ifdef MODULE_PERIPH_UART_RXSTART_IRQ
47 #define DOSE_PARAMS { \
48 .uart = DOSE_PARAM_UART, \
49 .baudrate = DOSE_PARAM_BAUDRATE, \
50 .standby_pin = DOSE_PARAM_STANDBY_PIN, \
53 #define DOSE_PARAMS { \
54 .uart = DOSE_PARAM_UART, \
55 .baudrate = DOSE_PARAM_BAUDRATE, \
56 .standby_pin = DOSE_PARAM_STANDBY_PIN, \
57 .sense_pin = DOSE_PARAM_SENSE_PIN, \
static const dose_params_t dose_params[]
DOSE configuration.
Struct containing the required configuration.