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 | |
l3gxxxx_fifo_mode_t l3gxxxx_params_t::fifo_mode |
uint8_t l3gxxxx_params_t::fifo_watermark |
l3gxxxx_filter_sel_t l3gxxxx_params_t::filter_sel |
uint8_t l3gxxxx_params_t::hpf_cutoff |
l3gxxxx_hpf_mode_t l3gxxxx_params_t::hpf_mode |
l3gxxxx_if_params_t l3gxxxx_params_t::if_params |
l3gxxxx_int_event_cfg_t l3gxxxx_params_t::int1_cfg |
gpio_t l3gxxxx_params_t::int1_pin |
gpio_t l3gxxxx_params_t::int2_pin |
l3gxxxx_odr_t l3gxxxx_params_t::odr |
l3gxxxx_scale_t l3gxxxx_params_t::scale |