L3Gxxxx device initialization parameters. More...
#include <l3gxxxx.h>
Data Fields | |
| l3gxxxx_if_params_t | if_params |
| Interface parameters (I2C/SPI) | |
| l3gxxxx_odr_t | odr |
| ODR and LPF2 cutoff frequency. | |
| l3gxxxx_scale_t | scale |
| Full scale. | |
| l3gxxxx_filter_sel_t | filter_sel |
| HPF/LPF2 filter selection. | |
| l3gxxxx_hpf_mode_t | hpf_mode |
| HPF mode. | |
| uint8_t | hpf_cutoff |
| HPF cutoff frequency 0..9, see l3gxxxx_config_hpf for details. | |
| l3gxxxx_fifo_mode_t | fifo_mode |
| FIFO operation mode. | |
| uint8_t | fifo_watermark |
| FIFO watermark setting 0..31. | |
| gpio_t | int2_pin |
MCU GPIO pin for data interrupts on signal INT2/DRDY pin. | |
| l3gxxxx_int_event_cfg_t | int1_cfg |
| event interrupt parameters | |
| gpio_t | int1_pin |
MCU GPIO pin for event interrupts on signal INT1 | |