34#ifndef SDS011_PARAM_UART_DEV 
   35#define SDS011_PARAM_UART_DEV       (UART_DEV(1)) 
   37#ifndef SDS011_PARAM_PWR_PIN 
   38#define SDS011_PARAM_PWR_PIN        (GPIO_PIN(0, 0)) 
   40#ifndef SDS011_PARAM_PWR_PIN_AH 
   41#define SDS011_PARAM_PWR_PIN_AH     (true) 
   45#define SDS011_PARAMS               { .uart    = SDS011_PARAM_UART_DEV, \ 
   46                                      .pwr_pin = SDS011_PARAM_PWR_PIN, \ 
   47                                      .pwr_ah  = SDS011_PARAM_PWR_PIN_AH, \ 
   48                                      .dev_id  = SDS011_DEVID_WILDCARD } 
   51#ifndef SDS011_SAUL_INFO 
   52#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.