Default configuration for HDC1000 devices. More...

Detailed Description

Default configuration for HDC1000 devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file hdc1000_params.h.

#include "board.h"
#include "hdc1000.h"
#include "saul_reg.h"
+ Include dependency graph for hdc1000_params.h:

Go to the source code of this file.

Variables

static const hdc1000_params_t hdc1000_params []
 HDC1000 configuration. More...
 
static const saul_reg_info_t hdc1000_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Set default configuration parameters for the HDC1000 driver

#define HDC1000_PARAM_I2C   I2C_DEV(0)
 
#define HDC1000_PARAM_ADDR   (CONFIG_HDC1000_I2C_ADDRESS)
 
#define HDC1000_PARAM_RES   HDC1000_14BIT
 
#define HDC1000_PARAM_RENEW_INTERVAL   (1000000ul)
 
#define HDC1000_PARAMS
 
#define HDC1000_SAUL_INFO   { .name = "hdc1000" }
 

Macro Definition Documentation

◆ HDC1000_PARAMS

#define HDC1000_PARAMS
Value:
{ .i2c = HDC1000_PARAM_I2C, \
.addr = HDC1000_PARAM_ADDR, \
.res = HDC1000_PARAM_RES, \
.renew_interval = HDC1000_PARAM_RENEW_INTERVAL }

Definition at line 48 of file hdc1000_params.h.

Variable Documentation

◆ hdc1000_params

const hdc1000_params_t hdc1000_params[]
static
Initial value:
=
{
HDC1000_PARAMS
}

HDC1000 configuration.

Definition at line 61 of file hdc1000_params.h.

◆ hdc1000_saul_info

const saul_reg_info_t hdc1000_saul_info[]
static
Initial value:
=
{
HDC1000_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 69 of file hdc1000_params.h.

HDC1000_PARAM_ADDR
#define HDC1000_PARAM_ADDR
HDC1000 Temperature & Humidity sensor.
Definition: board.h:154