Default configuration for L3G4200D devices. More...

Detailed Description

Default configuration for L3G4200D devices.

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

Definition in file l3g4200d_params.h.

#include "board.h"
#include "l3g4200d.h"
#include "saul_reg.h"
+ Include dependency graph for l3g4200d_params.h:

Go to the source code of this file.

Variables

static const l3g4200d_params_t l3g4200d_params []
 Allocate some memory to store the actual configuration. More...
 
static const saul_reg_info_t l3g4200d_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Set default configuration parameters

#define L3G4200D_PARAM_I2C   I2C_DEV(0)
 
#define L3G4200D_PARAM_ADDR   (CONFIG_L3G4200D_DEFAULT_ADDRESS)
 
#define L3G4200D_PARAM_INT1   (GPIO_PIN(0, 0))
 
#define L3G4200D_PARAM_INT2   (GPIO_PIN(0, 1))
 
#define L3G4200D_PARAM_MODE   (L3G4200D_MODE_200_25)
 
#define L3G4200D_PARAM_SCALE   (L3G4200D_SCALE_500DPS)
 
#define L3G4200D_PARAMS
 
#define L3G4200D_SAUL_INFO   { .name = "l3g4200d" }
 

Macro Definition Documentation

◆ L3G4200D_PARAMS

#define L3G4200D_PARAMS
Value:
{ .i2c = L3G4200D_PARAM_I2C, \
.addr = L3G4200D_PARAM_ADDR, \
.int1 = L3G4200D_PARAM_INT1, \
.int2 = L3G4200D_PARAM_INT2, \
.mode = L3G4200D_PARAM_MODE, \
.scale = L3G4200D_PARAM_SCALE }

Definition at line 54 of file l3g4200d_params.h.

Variable Documentation

◆ l3g4200d_params

const l3g4200d_params_t l3g4200d_params[]
static
Initial value:
=
{
L3G4200D_PARAMS
}

Allocate some memory to store the actual configuration.

Definition at line 69 of file l3g4200d_params.h.

◆ l3g4200d_saul_info

const saul_reg_info_t l3g4200d_saul_info[]
static
Initial value:
=
{
L3G4200D_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 77 of file l3g4200d_params.h.