Default configuration for ST L3Gxxxx 3-axis gyroscope sensor family. More...
Default configuration for ST L3Gxxxx 3-axis gyroscope sensor family.
Definition in file l3gxxxx_params.h.
Go to the source code of this file.
Variables | |
static const l3gxxxx_params_t | l3gxxxx_params [] |
Allocate some memory to store the actual configuration. | |
static const saul_reg_info_t | l3gxxxx_saul_info [] |
Additional meta information to keep in the SAUL registry. | |
Default hardware configuration | |
#define | L3GXXXX_I2C_DEV (I2C_DEV(0)) |
Default I2C device, if the I2C interface is used. | |
#define | L3GXXXX_I2C_ADDR (L3GXXXX_I2C_ADDR_2) |
Default I2C address, if the I2C interface is used. | |
#define | L3GXXXX_I2C_IF_PARAMS |
Default I2C interface parameter set. | |
#define | L3GXXXX_SPI_DEV SPI_DEV(0) |
Default SPI device, if the SPI interface is used. | |
#define | L3GXXXX_SPI_CLK (SPI_CLK_1MHZ) |
Default SPI clock frequency, if the SPI interface is used. | |
#define | L3GXXXX_SPI_CS (GPIO_PIN(0, 0)) |
Default SPI CS signal, if the SPI interface is used. | |
#define | L3GXXXX_SPI_IF_PARAMS |
Default SPI interface parameter set. | |
#define | L3GXXXX_INT1_PIN (GPIO_PIN(0, 1)) |
Default MCU pin for INT1 signal. | |
#define | L3GXXXX_INT2_PIN (GPIO_PIN(0, 2)) |
Default MCU pin for INT2/DRDY signal. | |
Default sensor configuration | |
#define | CONFIG_L3GXXXX_ODR (L3GXXXX_ODR_100_25) |
Default ODR and cut-off frequency. | |
#define | CONFIG_L3GXXXX_SCALE (L3GXXXX_SCALE_245_DPS) |
Default full scale. | |
#define | CONFIG_L3GXXXX_FILTER_SEL (L3GXXXX_HPF_AND_LPF2) |
Default filter selection used for output data. | |
#define | CONFIG_L3GXXXX_HPF_MODE (L3GXXXX_HPF_NORMAL) |
Default HPF mode used for output data. | |
#define | CONFIG_L3GXXXX_HPF_CUTOFF (0) |
Default HPF cutoff frequency 8 Hz. | |
#define | CONFIG_L3GXXXX_FIFO_MODE (L3GXXXX_FIFO) |
Default FIFO mode if FIO is used. | |
#define | CONFIG_L3GXXXX_FIFO_WATERMARK (23) |
Default FIFO watermark level (threshold) value if FIO is used. | |
#define | CONFIG_L3GXXXX_INT1_X_THRESH (4012) |
Default INT1 threshold for X axis events (~30 dps at fulls scale of ±245 dps) | |
#define | CONFIG_L3GXXXX_INT1_X_GT_THRESH (true) |
Default INT1 interrupt enable for |X| > X threshold (X high event) | |
#define | CONFIG_L3GXXXX_INT1_X_LT_THRESH (false) |
Default INT1 interrupt enable for |X| < X threshold (X low event) | |
#define | CONFIG_L3GXXXX_INT1_Y_THRESH (4012) |
Default INT1 threshold for Y axis events (~30 dps at fulls scale of ±245 dps) | |
#define | CONFIG_L3GXXXX_INT1_Y_GT_THRESH (true) |
Default INT1 interrupt enable for |Y| < Y threshold (Y low event) | |
#define | CONFIG_L3GXXXX_INT1_Y_LT_THRESH (false) |
Default INT1 interrupt enable for |Y| > Y threshold (Y high event) | |
#define | CONFIG_L3GXXXX_INT1_Z_THRESH (4012) |
Default INT1 threshold for Z axis events (~30 dps at fulls scale of ±245 dps) | |
#define | CONFIG_L3GXXXX_INT1_Z_GT_THRESH (true) |
Default INT1 interrupt enable for |Z| < Z threshold (Z low event) | |
#define | CONFIG_L3GXXXX_INT1_Z_LT_THRESH (false) |
Default INT1 interrupt enable for |Z| > Z threshold (Z high event) | |
#define | CONFIG_L3GXXXX_INT1_FILTER (L3GXXXX_HPF_AND_LPF2) |
Default filter selection used for INT1 interrupt. | |
#define | CONFIG_L3GXXXX_INT1_AND (false) |
Default event interrupt combination is OR. | |
#define | CONFIG_L3GXXXX_INT1_LATCH (true) |
Default INT1 event interrupt latch enabled. | |
#define | L3GXXXX_INT1_PARAMS |
Default INT1 parameter set. | |
#define | L3GXXXX_INT2_PARAMS .int2_pin = L3GXXXX_INT2_PIN, |
Default INT2 parameter set. | |
#define | L3GXXXX_FIFO_PARAMS |
Default FIFO parameter set. | |
#define | L3GXXXX_I2C_PARAMS |
Default I2C device parameter set. | |
#define | L3GXXXX_SPI_PARAMS |
Default SPI device parameter set. | |
#define | L3GXXXX_SAUL_INFO { .name = "l3gxxxx" } |
Default SAUL device info. | |
#define CONFIG_L3GXXXX_FIFO_MODE (L3GXXXX_FIFO) |
Default FIFO mode if FIO is used.
Definition at line 216 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_FIFO_WATERMARK (23) |
Default FIFO watermark level (threshold) value if FIO is used.
Definition at line 221 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_FILTER_SEL (L3GXXXX_HPF_AND_LPF2) |
Default filter selection used for output data.
Definition at line 201 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_HPF_CUTOFF (0) |
Default HPF cutoff frequency 8 Hz.
Definition at line 211 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_HPF_MODE (L3GXXXX_HPF_NORMAL) |
Default HPF mode used for output data.
Definition at line 206 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_AND (false) |
Default event interrupt combination is OR.
Definition at line 276 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_FILTER (L3GXXXX_HPF_AND_LPF2) |
Default filter selection used for INT1 interrupt.
Definition at line 271 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_LATCH (true) |
Default INT1 event interrupt latch enabled.
Definition at line 281 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_X_GT_THRESH (true) |
Default INT1 interrupt enable for |X| > X threshold (X high event)
Definition at line 231 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_X_LT_THRESH (false) |
Default INT1 interrupt enable for |X| < X threshold (X low event)
Definition at line 236 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_X_THRESH (4012) |
Default INT1 threshold for X axis events (~30 dps at fulls scale of ±245 dps)
Definition at line 226 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_Y_GT_THRESH (true) |
Default INT1 interrupt enable for |Y| < Y threshold (Y low event)
Definition at line 246 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_Y_LT_THRESH (false) |
Default INT1 interrupt enable for |Y| > Y threshold (Y high event)
Definition at line 251 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_Y_THRESH (4012) |
Default INT1 threshold for Y axis events (~30 dps at fulls scale of ±245 dps)
Definition at line 241 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_Z_GT_THRESH (true) |
Default INT1 interrupt enable for |Z| < Z threshold (Z low event)
Definition at line 261 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_Z_LT_THRESH (false) |
Default INT1 interrupt enable for |Z| > Z threshold (Z high event)
Definition at line 266 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_INT1_Z_THRESH (4012) |
Default INT1 threshold for Z axis events (~30 dps at fulls scale of ±245 dps)
Definition at line 256 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_ODR (L3GXXXX_ODR_100_25) |
Default ODR and cut-off frequency.
Definition at line 191 of file l3gxxxx_params.h.
#define CONFIG_L3GXXXX_SCALE (L3GXXXX_SCALE_245_DPS) |
Default full scale.
Definition at line 196 of file l3gxxxx_params.h.
#define L3GXXXX_FIFO_PARAMS |
Default FIFO parameter set.
Definition at line 312 of file l3gxxxx_params.h.
#define L3GXXXX_I2C_ADDR (L3GXXXX_I2C_ADDR_2) |
Default I2C address, if the I2C interface is used.
Definition at line 41 of file l3gxxxx_params.h.
#define L3GXXXX_I2C_DEV (I2C_DEV(0)) |
Default I2C device, if the I2C interface is used.
Definition at line 36 of file l3gxxxx_params.h.
#define L3GXXXX_I2C_IF_PARAMS |
Default I2C interface parameter set.
Definition at line 46 of file l3gxxxx_params.h.
#define L3GXXXX_I2C_PARAMS |
Default I2C device parameter set.
Definition at line 322 of file l3gxxxx_params.h.
#define L3GXXXX_INT1_PARAMS |
Default INT1 parameter set.
Definition at line 286 of file l3gxxxx_params.h.
#define L3GXXXX_INT1_PIN (GPIO_PIN(0, 1)) |
Default MCU pin for INT1 signal.
Definition at line 82 of file l3gxxxx_params.h.
#define L3GXXXX_INT2_PARAMS .int2_pin = L3GXXXX_INT2_PIN, |
Default INT2 parameter set.
Definition at line 305 of file l3gxxxx_params.h.
#define L3GXXXX_INT2_PIN (GPIO_PIN(0, 2)) |
Default MCU pin for INT2/DRDY signal.
Definition at line 87 of file l3gxxxx_params.h.
#define L3GXXXX_SAUL_INFO { .name = "l3gxxxx" } |
Default SAUL device info.
Definition at line 355 of file l3gxxxx_params.h.
#define L3GXXXX_SPI_CLK (SPI_CLK_1MHZ) |
Default SPI clock frequency, if the SPI interface is used.
Definition at line 62 of file l3gxxxx_params.h.
#define L3GXXXX_SPI_CS (GPIO_PIN(0, 0)) |
Default SPI CS signal, if the SPI interface is used.
Definition at line 67 of file l3gxxxx_params.h.
#define L3GXXXX_SPI_DEV SPI_DEV(0) |
Default SPI device, if the SPI interface is used.
Definition at line 57 of file l3gxxxx_params.h.
#define L3GXXXX_SPI_IF_PARAMS |
Default SPI interface parameter set.
Definition at line 72 of file l3gxxxx_params.h.
#define L3GXXXX_SPI_PARAMS |
Default SPI device parameter set.
Definition at line 339 of file l3gxxxx_params.h.
|
static |
Allocate some memory to store the actual configuration.
Definition at line 362 of file l3gxxxx_params.h.
|
static |
Additional meta information to keep in the SAUL registry.
Definition at line 375 of file l3gxxxx_params.h.