31#ifndef SDS011_PARAM_UART_DEV
32#define SDS011_PARAM_UART_DEV (UART_DEV(1))
34#ifndef SDS011_PARAM_PWR_PIN
35#define SDS011_PARAM_PWR_PIN (GPIO_PIN(0, 0))
37#ifndef SDS011_PARAM_PWR_PIN_AH
38#define SDS011_PARAM_PWR_PIN_AH (true)
42#define SDS011_PARAMS { .uart = SDS011_PARAM_UART_DEV, \
43 .pwr_pin = SDS011_PARAM_PWR_PIN, \
44 .pwr_ah = SDS011_PARAM_PWR_PIN_AH, \
45 .dev_id = SDS011_DEVID_WILDCARD }
48#ifndef SDS011_SAUL_INFO
49#define SDS011_SAUL_INFO { .name = "SDS011" }
SAUL registry interface definition.
Interface for controlling SDS011 Laser Dust Sensor.
static const sds011_params_t sds011_params[]
SDS011 configuration.
saul_reg_info_t sds011_saul_info[]
Allocate and configure entries to the SAUL registry.
Additional data to collect for each entry.
Configuration parameters for SDS011 Laser Dust Sensor.
Low-level UART peripheral driver interface definition.