sds011_params_t Struct Reference

Configuration parameters for SDS011 Laser Dust Sensor. More...

Detailed Description

Configuration parameters for SDS011 Laser Dust Sensor.

Definition at line 69 of file sds011.h.

#include <sds011.h>

Data Fields

uart_t uart
 UART device the sensor is connected to.
 
gpio_t pwr_pin
 GPIO pin for disabling supply voltage for the sensor.
 
uint16_t dev_id
 Unique sensor device ID.
 
bool pwr_ah
 Logic level of the power pin (true for active high)
 

The documentation for this struct was generated from the following file: