21 #ifndef MHZ19_PARAMS_H
22 #define MHZ19_PARAMS_H
36 #ifdef MODULE_MHZ19_UART
37 #ifndef MHZ19_PARAM_UART_DEV
38 #define MHZ19_PARAM_UART_DEV UART_DEV(1)
42 #define MHZ19_PARAMS { .uart = MHZ19_PARAM_UART_DEV }
46 #ifdef MODULE_MHZ19_PWM
47 #ifndef MHZ19_PARAM_PIN
48 #define MHZ19_PARAM_PIN (GPIO_PIN(0, 0))
52 #define MHZ19_PARAMS { .pin = MHZ19_PARAM_PIN }
56 #ifndef MHZ19_SAUL_INFO
57 #define MHZ19_SAUL_INFO { .name = "mh-z19" }
Interface definition for the MH-Z19 CO2 sensor driver.
static const mhz19_params_t mhz19_params[]
Configure MHZ19.
static const saul_reg_info_t mhz19_saul_info[]
Configuration details of SAUL registry entries.
SAUL registry interface definition.
Additional data to collect for each entry.