Go to the documentation of this file.
19 #ifndef SDS011_PARAMS_H
20 #define SDS011_PARAMS_H
35 #ifndef SDS011_PARAM_UART_DEV
36 #define SDS011_PARAM_UART_DEV (UART_DEV(1))
38 #ifndef SDS011_PARAM_PWR_PIN
39 #define SDS011_PARAM_PWR_PIN (GPIO_PIN(0, 0))
41 #ifndef SDS011_PARAM_PWR_PIN_AH
42 #define SDS011_PARAM_PWR_PIN_AH (true)
46 #define SDS011_PARAMS { .uart = SDS011_PARAM_UART_DEV, \
47 .pwr_pin = SDS011_PARAM_PWR_PIN, \
48 .pwr_ah = SDS011_PARAM_PWR_PIN_AH, \
49 .dev_id = SDS011_DEVID_WILDCARD }
52 #ifndef SDS011_SAUL_INFO
53 #define SDS011_SAUL_INFO { .name = "SDS011" }
Additional data to collect for each entry.
Configuration parameters for SDS011 Laser Dust Sensor.
Low-level UART peripheral driver interface definition.
static const sds011_params_t sds011_params[]
SDS011 configuration.
SAUL registry interface definition.
saul_reg_info_t sds011_saul_info[]
Allocate and configure entries to the SAUL registry.
Interface for controlling SDS011 Laser Dust Sensor.