35 #ifdef MODULE_MHZ19_UART
36 #ifndef MHZ19_PARAM_UART_DEV
37 #define MHZ19_PARAM_UART_DEV UART_DEV(1)
41 #define MHZ19_PARAMS { .uart = MHZ19_PARAM_UART_DEV }
45 #ifdef MODULE_MHZ19_PWM
46 #ifndef MHZ19_PARAM_PIN
47 #define MHZ19_PARAM_PIN (GPIO_PIN(0, 0))
51 #define MHZ19_PARAMS { .pin = MHZ19_PARAM_PIN }
55 #ifndef MHZ19_SAUL_INFO
56 #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.