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" }
Low-level UART peripheral driver interface definition.
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.