Loading...
Searching...
No Matches
sds011_params.h File Reference

SDS011 sensor specific configuration. More...

Detailed Description

SDS011 sensor specific configuration.

Author
Michel Rottleuthner miche.nosp@m.l.ro.nosp@m.ttleu.nosp@m.thne.nosp@m.r@haw.nosp@m.-ham.nosp@m.burg..nosp@m.de

Definition in file sds011_params.h.

#include "board.h"
#include "periph/uart.h"
#include "saul_reg.h"
#include "sds011.h"
+ Include dependency graph for sds011_params.h:

Go to the source code of this file.

Variables

static const sds011_params_t sds011_params []
 SDS011 configuration.
 
saul_reg_info_t sds011_saul_info []
 Allocate and configure entries to the SAUL registry.
 

Set default configuration parameters for the SDS011 driver

#define SDS011_PARAM_UART_DEV   (UART_DEV(1))
 
#define SDS011_PARAM_PWR_PIN   (GPIO_PIN(0, 0))
 
#define SDS011_PARAM_PWR_PIN_AH   (true)
 
#define SDS011_PARAMS
 
#define SDS011_SAUL_INFO   { .name = "SDS011" }
 

Macro Definition Documentation

◆ SDS011_PARAM_PWR_PIN

#define SDS011_PARAM_PWR_PIN   (GPIO_PIN(0, 0))

Definition at line 39 of file sds011_params.h.

◆ SDS011_PARAM_PWR_PIN_AH

#define SDS011_PARAM_PWR_PIN_AH   (true)

Definition at line 42 of file sds011_params.h.

◆ SDS011_PARAM_UART_DEV

#define SDS011_PARAM_UART_DEV   (UART_DEV(1))

Definition at line 36 of file sds011_params.h.

◆ SDS011_PARAMS

#define SDS011_PARAMS
Value:
{ .uart = SDS011_PARAM_UART_DEV, \
.pwr_pin = SDS011_PARAM_PWR_PIN, \
.pwr_ah = SDS011_PARAM_PWR_PIN_AH, \
#define SDS011_DEVID_WILDCARD
SDS011 wildcard address to address all devices.
Definition sds011.h:38

Definition at line 46 of file sds011_params.h.

◆ SDS011_SAUL_INFO

#define SDS011_SAUL_INFO   { .name = "SDS011" }

Definition at line 53 of file sds011_params.h.

Variable Documentation

◆ sds011_params

const sds011_params_t sds011_params[]
static
Initial value:
=
{
SDS011_PARAMS
}

SDS011 configuration.

Definition at line 60 of file sds011_params.h.

◆ sds011_saul_info

saul_reg_info_t sds011_saul_info[]
Initial value:
=
{
SDS011_SAUL_INFO
}

Allocate and configure entries to the SAUL registry.

Definition at line 68 of file sds011_params.h.