Device descriptor definition for SDS011 Laser Dust Sensor. More...

Detailed Description

Device descriptor definition for SDS011 Laser Dust Sensor.

Definition at line 92 of file sds011.h.

#include <sds011.h>

Data Fields

sds011_params_t params
 parameters for SDS011 device
 
mutex_t dev_lock
 mutex to synchronize device access
 
mutex_t cb_lock
 mutex to synchronize callbacks
 
sds011_callback_t cb
 callback deliver values async
 
void * cbctx
 user context for the callback
 
uint16_t checksum
 iteratively calculated checksum
 
uint8_t rx_mem [SDS011_FRAME_RECV_LEN]
 receive buffer
 
uint8_t pos
 receive buffer position counter
 

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