All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

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.
 
static const saul_reg_info_t hdc1000_saul_info []
 Additional meta information to keep in the SAUL registry.
 

Default configuration parameters for the HDC1000 driver

#define HDC1000_PARAM_I2C   I2C_DEV(0)
 I2C bus the HDC1000 is connected to.
 
#define HDC1000_PARAM_ADDR   (CONFIG_HDC1000_I2C_ADDRESS)
 I2C address of the HDC1000.
 
#define HDC1000_PARAM_RES   HDC1000_14BIT
 Resolution to sample the humidity and temperature at.
 
#define HDC1000_PARAM_RENEW_INTERVAL   (1000000ul)
 Interval at which the driver should renew the sensor data cache.
 
#define HDC1000_PARAMS
 Parameters to initialize the HDC1000 driver with.
 
#define HDC1000_SAUL_INFO   { .name = "hdc1000" }
 SAUL info to register HDC1000 driver instances with.
 

Macro Definition Documentation

◆ HDC1000_PARAM_ADDR

#define HDC1000_PARAM_ADDR   (CONFIG_HDC1000_I2C_ADDRESS)

I2C address of the HDC1000.

Definition at line 45 of file hdc1000_params.h.

◆ HDC1000_PARAM_I2C

#define HDC1000_PARAM_I2C   I2C_DEV(0)

I2C bus the HDC1000 is connected to.

Definition at line 38 of file hdc1000_params.h.

◆ HDC1000_PARAM_RENEW_INTERVAL

#define HDC1000_PARAM_RENEW_INTERVAL   (1000000ul)

Interval at which the driver should renew the sensor data cache.

Definition at line 59 of file hdc1000_params.h.

◆ HDC1000_PARAM_RES

#define HDC1000_PARAM_RES   HDC1000_14BIT

Resolution to sample the humidity and temperature at.

Definition at line 52 of file hdc1000_params.h.

◆ HDC1000_PARAMS

#define HDC1000_PARAMS
Value:
{ .i2c = HDC1000_PARAM_I2C, \
.addr = HDC1000_PARAM_ADDR, \
.renew_interval = HDC1000_PARAM_RENEW_INTERVAL }
#define HDC1000_PARAM_ADDR
I2C address of the HDC1000.
#define HDC1000_PARAM_I2C
I2C bus the HDC1000 is connected to.
#define HDC1000_PARAM_RENEW_INTERVAL
Interval at which the driver should renew the sensor data cache.
#define HDC1000_PARAM_RES
Resolution to sample the humidity and temperature at.

Parameters to initialize the HDC1000 driver with.

Definition at line 66 of file hdc1000_params.h.

◆ HDC1000_SAUL_INFO

#define HDC1000_SAUL_INFO   { .name = "hdc1000" }

SAUL info to register HDC1000 driver instances with.

Definition at line 76 of file hdc1000_params.h.

Variable Documentation

◆ hdc1000_params

const hdc1000_params_t hdc1000_params[]
static
Initial value:
=
{
}
#define HDC1000_PARAMS
Parameters to initialize the HDC1000 driver with.

HDC1000 configuration.

Definition at line 83 of file hdc1000_params.h.

◆ hdc1000_saul_info

const saul_reg_info_t hdc1000_saul_info[]
static
Initial value:
=
{
}
#define HDC1000_SAUL_INFO
SAUL info to register HDC1000 driver instances with.

Additional meta information to keep in the SAUL registry.

Definition at line 91 of file hdc1000_params.h.