Loading...
Searching...
No Matches

L3Gxxxx device initialization parameters. More...

Detailed Description

L3Gxxxx device initialization parameters.

Definition at line 1433 of file l3gxxxx.h.

#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
 

Field Documentation

◆ fifo_mode

l3gxxxx_fifo_mode_t l3gxxxx_params_t::fifo_mode

FIFO operation mode.

Definition at line 1444 of file l3gxxxx.h.

◆ fifo_watermark

uint8_t l3gxxxx_params_t::fifo_watermark

FIFO watermark setting 0..31.

Definition at line 1445 of file l3gxxxx.h.

◆ filter_sel

l3gxxxx_filter_sel_t l3gxxxx_params_t::filter_sel

HPF/LPF2 filter selection.

Definition at line 1439 of file l3gxxxx.h.

◆ hpf_cutoff

uint8_t l3gxxxx_params_t::hpf_cutoff

HPF cutoff frequency 0..9, see l3gxxxx_config_hpf for details.

Definition at line 1441 of file l3gxxxx.h.

◆ hpf_mode

l3gxxxx_hpf_mode_t l3gxxxx_params_t::hpf_mode

HPF mode.

Definition at line 1440 of file l3gxxxx.h.

◆ if_params

l3gxxxx_if_params_t l3gxxxx_params_t::if_params

Interface parameters (I2C/SPI)

Definition at line 1434 of file l3gxxxx.h.

◆ int1_cfg

l3gxxxx_int_event_cfg_t l3gxxxx_params_t::int1_cfg

event interrupt parameters

Definition at line 1454 of file l3gxxxx.h.

◆ int1_pin

gpio_t l3gxxxx_params_t::int1_pin

MCU GPIO pin for event interrupts on signal INT1

Definition at line 1455 of file l3gxxxx.h.

◆ int2_pin

gpio_t l3gxxxx_params_t::int2_pin

MCU GPIO pin for data interrupts on signal INT2/DRDY pin.

Definition at line 1449 of file l3gxxxx.h.

◆ odr

l3gxxxx_odr_t l3gxxxx_params_t::odr

ODR and LPF2 cutoff frequency.

Definition at line 1436 of file l3gxxxx.h.

◆ scale

l3gxxxx_scale_t l3gxxxx_params_t::scale

Full scale.

Definition at line 1437 of file l3gxxxx.h.


The documentation for this struct was generated from the following file: