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. More...
 
static const saul_reg_info_t fxos8700_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 
#define FXOS8700_PARAM_I2C   I2C_DEV(0)
 Default configuration parameters for the FXOS8700 driver. More...
 
#define FXOS8700_PARAM_ADDR   0x1E
 
#define FXOS8700_PARAM_ACC_RANGE   FXOS8700_REG_XYZ_DATA_CFG_FS__8G
 
#define FXOS8700_PARAM_RENEW_INTERVAL   1000000ul
 
#define FXOS8700_PARAMS
 
#define FXOS8700_SAUL_INFO   { .name = "fxos8700" }
 

Macro Definition Documentation

◆ FXOS8700_PARAM_I2C

#define FXOS8700_PARAM_I2C   I2C_DEV(0)

Default configuration parameters for the FXOS8700 driver.

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

Definition at line 39 of file fxos8700_params.h.

◆ FXOS8700_PARAMS

#define FXOS8700_PARAMS
Value:
{ .i2c = FXOS8700_PARAM_I2C, \
.addr = FXOS8700_PARAM_ADDR, \
.acc_range = FXOS8700_PARAM_ACC_RANGE, \
.renew_interval = FXOS8700_PARAM_RENEW_INTERVAL }

Definition at line 52 of file fxos8700_params.h.

Variable Documentation

◆ fxos8700_params

const fxos8700_params_t fxos8700_params[]
static
Initial value:
=
{
FXOS8700_PARAMS
}

FXOS8700 configuration.

Definition at line 65 of file fxos8700_params.h.

◆ fxos8700_saul_info

const saul_reg_info_t fxos8700_saul_info[]
static
Initial value:
=
{
FXOS8700_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 73 of file fxos8700_params.h.

FXOS8700_PARAM_I2C
#define FXOS8700_PARAM_I2C
Default configuration parameters for the FXOS8700 driver.
Definition: fxos8700_params.h:39