Loading...
Searching...
No Matches

Default configuration for FXOS8700 devices. More...

Detailed Description

Default configuration for FXOS8700 devices.

Author
Hyung-Sin Kim hs.ki.nosp@m.m@cs.nosp@m..berk.nosp@m.eley.nosp@m..edu

Definition in file fxos8700_params.h.

#include "board.h"
#include "fxos8700.h"
#include "saul_reg.h"
+ Include dependency graph for fxos8700_params.h:

Go to the source code of this file.

Variables

static const fxos8700_params_t fxos8700_params []
 FXOS8700 configuration.
 
static const saul_reg_info_t fxos8700_saul_info []
 Additional meta information to keep in the SAUL registry.
 

Default configuration parameters for the FXOS8700 driver

#define FXOS8700_PARAM_I2C   I2C_DEV(0)
 The I2C bus the FXOS8700 is connected to.
 
#define FXOS8700_PARAM_ADDR   0x1E
 The I2C address of the FXOS8700.
 
#define FXOS8700_PARAM_ACC_RANGE   FXOS8700_REG_XYZ_DATA_CFG_FS__8G
 The accelerator full-scale range to configure the FXOS8700 with.
 
#define FXOS8700_PARAM_RENEW_INTERVAL   1000000ul
 The interval for cache renewal to configure the driver with.
 
#define FXOS8700_PARAMS
 The parameters to initialize the FXOS8700 driver with.
 
#define FXOS8700_SAUL_INFO   { .name = "fxos8700" }
 The SAUL info to register the FXOS8700 driver instances with.
 

Macro Definition Documentation

◆ FXOS8700_PARAM_ACC_RANGE

#define FXOS8700_PARAM_ACC_RANGE   FXOS8700_REG_XYZ_DATA_CFG_FS__8G

The accelerator full-scale range to configure the FXOS8700 with.

Definition at line 55 of file fxos8700_params.h.

◆ FXOS8700_PARAM_ADDR

#define FXOS8700_PARAM_ADDR   0x1E

The I2C address of the FXOS8700.

The valid address range is 0x1E - 0x1F depending on the configuration of the address pins SA0 and SA1.

Definition at line 48 of file fxos8700_params.h.

◆ FXOS8700_PARAM_I2C

#define FXOS8700_PARAM_I2C   I2C_DEV(0)

The I2C bus the FXOS8700 is connected to.

Definition at line 38 of file fxos8700_params.h.

◆ FXOS8700_PARAM_RENEW_INTERVAL

#define FXOS8700_PARAM_RENEW_INTERVAL   1000000ul

The interval for cache renewal to configure the driver with.

Definition at line 62 of file fxos8700_params.h.

◆ FXOS8700_PARAMS

#define FXOS8700_PARAMS
Value:
{ .i2c = FXOS8700_PARAM_I2C, \
.acc_range = FXOS8700_PARAM_ACC_RANGE, \
.renew_interval = FXOS8700_PARAM_RENEW_INTERVAL }
#define FXOS8700_PARAM_ADDR
The I2C address of the FXOS8700.
#define FXOS8700_PARAM_I2C
The I2C bus the FXOS8700 is connected to.
#define FXOS8700_PARAM_ACC_RANGE
The accelerator full-scale range to configure the FXOS8700 with.
#define FXOS8700_PARAM_RENEW_INTERVAL
The interval for cache renewal to configure the driver with.

The parameters to initialize the FXOS8700 driver with.

Definition at line 69 of file fxos8700_params.h.

◆ FXOS8700_SAUL_INFO

#define FXOS8700_SAUL_INFO   { .name = "fxos8700" }

The SAUL info to register the FXOS8700 driver instances with.

Definition at line 78 of file fxos8700_params.h.

Variable Documentation

◆ fxos8700_params

const fxos8700_params_t fxos8700_params[]
static
Initial value:
=
{
}
#define FXOS8700_PARAMS
The parameters to initialize the FXOS8700 driver with.

FXOS8700 configuration.

Definition at line 85 of file fxos8700_params.h.

◆ fxos8700_saul_info

const saul_reg_info_t fxos8700_saul_info[]
static
Initial value:
=
{
}
#define FXOS8700_SAUL_INFO
The SAUL info to register the FXOS8700 driver instances with.

Additional meta information to keep in the SAUL registry.

Definition at line 93 of file fxos8700_params.h.