Loading...
Searching...
No Matches

Default configuration for TMP00X (TMP006 and TMP007) devices. More...

Detailed Description

Default configuration for TMP00X (TMP006 and TMP007) devices.

Author
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file tmp00x_params.h.

#include "board.h"
#include "tmp00x.h"
#include "saul_reg.h"
+ Include dependency graph for tmp00x_params.h:

Go to the source code of this file.

Variables

static const tmp00x_params_t tmp00x_params []
 TMP00X configuration.
 
static const saul_reg_info_t tmp00x_saul_info []
 Additional meta information to keep in the SAUL registry.
 

Set default configuration parameters for the TMP00X driver

#define TMP00X_PARAM_I2C   I2C_DEV(0)
 The I2C bus the TMP00X device is connected to.
 
#define TMP00X_PARAM_ADDR   (CONFIG_TMP00X_I2C_ADDRESS)
 The I2C address of the TMP00X device.
 
#define TMP00X_PARAM_RATE   TMP00X_CONFIG_CR_DEF
 The conversion rate to configure the TMP00X device with.
 
#define TMP00X_PARAMS
 The parameters to initialize the TMP00X device driver with.
 
#define TMP00X_SAUL_INFO   { .name = "tmp00x" }
 The SAUL info to register the TMP00x device driver instances with.
 

Macro Definition Documentation

◆ TMP00X_PARAM_ADDR

#define TMP00X_PARAM_ADDR   (CONFIG_TMP00X_I2C_ADDRESS)

The I2C address of the TMP00X device.

Definition at line 46 of file tmp00x_params.h.

◆ TMP00X_PARAM_I2C

#define TMP00X_PARAM_I2C   I2C_DEV(0)

The I2C bus the TMP00X device is connected to.

Definition at line 39 of file tmp00x_params.h.

◆ TMP00X_PARAM_RATE

#define TMP00X_PARAM_RATE   TMP00X_CONFIG_CR_DEF

The conversion rate to configure the TMP00X device with.

Definition at line 53 of file tmp00x_params.h.

◆ TMP00X_PARAMS

#define TMP00X_PARAMS
Value:
{ .i2c = TMP00X_PARAM_I2C, \
.addr = TMP00X_PARAM_ADDR, \
#define TMP00X_PARAM_I2C
The I2C bus the TMP00X device is connected to.
#define TMP00X_PARAM_ADDR
The I2C address of the TMP00X device.
#define TMP00X_PARAM_RATE
The conversion rate to configure the TMP00X device with.

The parameters to initialize the TMP00X device driver with.

Definition at line 60 of file tmp00x_params.h.

◆ TMP00X_SAUL_INFO

#define TMP00X_SAUL_INFO   { .name = "tmp00x" }

The SAUL info to register the TMP00x device driver instances with.

Definition at line 69 of file tmp00x_params.h.

Variable Documentation

◆ tmp00x_params

const tmp00x_params_t tmp00x_params[]
static
Initial value:
=
{
}
#define TMP00X_PARAMS
The parameters to initialize the TMP00X device driver with.

TMP00X configuration.

Definition at line 76 of file tmp00x_params.h.

◆ tmp00x_saul_info

const saul_reg_info_t tmp00x_saul_info[]
static
Initial value:
=
{
}
#define TMP00X_SAUL_INFO
The SAUL info to register the TMP00x device driver instances with.

Additional meta information to keep in the SAUL registry.

Definition at line 84 of file tmp00x_params.h.