Loading...
Searching...
No Matches
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)
 

Field Documentation

◆ dev_id

uint16_t sds011_params_t::dev_id

Unique sensor device ID.

Definition at line 72 of file sds011.h.

◆ pwr_ah

bool sds011_params_t::pwr_ah

Logic level of the power pin (true for active high)

Definition at line 73 of file sds011.h.

◆ pwr_pin

gpio_t sds011_params_t::pwr_pin

GPIO pin for disabling supply voltage for the sensor.

Definition at line 71 of file sds011.h.

◆ uart

uart_t sds011_params_t::uart

UART device the sensor is connected to.

Definition at line 70 of file sds011.h.


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