33 #ifndef L3G4200D_PARAM_I2C 
   34 #define L3G4200D_PARAM_I2C          I2C_DEV(0) 
   36 #ifndef L3G4200D_PARAM_ADDR 
   37 #define L3G4200D_PARAM_ADDR         (CONFIG_L3G4200D_DEFAULT_ADDRESS) 
   39 #ifndef L3G4200D_PARAM_INT1 
   40 #define L3G4200D_PARAM_INT1         (GPIO_PIN(0, 0)) 
   42 #ifndef L3G4200D_PARAM_INT2 
   43 #define L3G4200D_PARAM_INT2         (GPIO_PIN(0, 1)) 
   45 #ifndef L3G4200D_PARAM_MODE 
   46 #define L3G4200D_PARAM_MODE         (L3G4200D_MODE_200_25) 
   48 #ifndef L3G4200D_PARAM_SCALE 
   49 #define L3G4200D_PARAM_SCALE        (L3G4200D_SCALE_500DPS) 
   52 #ifndef L3G4200D_PARAMS 
   53 #define L3G4200D_PARAMS             { .i2c   = L3G4200D_PARAM_I2C,  \ 
   54                                       .addr  = L3G4200D_PARAM_ADDR, \ 
   55                                       .int1  = L3G4200D_PARAM_INT1, \ 
   56                                       .int2  = L3G4200D_PARAM_INT2, \ 
   57                                       .mode  = L3G4200D_PARAM_MODE, \ 
   58                                       .scale = L3G4200D_PARAM_SCALE } 
   60 #ifndef L3G4200D_SAUL_INFO 
   61 #define L3G4200D_SAUL_INFO          { .name = "l3g4200d" }
 
Device driver interface for the L3G4200D gyroscope.
static const saul_reg_info_t l3g4200d_saul_info[]
Additional meta information to keep in the SAUL registry.
static const l3g4200d_params_t l3g4200d_params[]
Allocate some memory to store the actual configuration.
SAUL registry interface definition.
Device initialization parameters.
Additional data to collect for each entry.