Loading...
Searching...
No Matches

ITG320X device initialization parameters. More...

Detailed Description

ITG320X device initialization parameters.

Definition at line 148 of file itg320x.h.

#include <itg320x.h>

Data Fields

i2c_t dev
 I2C device (default I2C_DEV(0))
 
uint8_t addr
 I2C slave address (default ITG320X_I2C_ADDRESS_1)
 
uint8_t isr_div
 Internal sample rate divider ISR_DIV (default 99) ODR = ISR / (ISR_DIV + 1) where internal sample rate is 1 kHz or 8 kHz dependent on the low pass filter bandwidth lpf_bw.
 
itg320x_lpf_bw_t lpf_bw
 Low pass filter bandwidth (default ITG320X_LPF_BW_5, ISR 1 kHz)
 
itg320x_clk_sel_t clk_sel
 Clock source selection (default ITG320X_CLK_PLL_X_GYRO)
 
gpio_t int_pin
 DRDY interrupt pin: GPIO_UNDEF if not used.
 
itg320x_int_level_t int_level
 Logic level for INT output pin (default ITG320X_INT_LOW)
 
itg320x_int_drive_t int_drive
 Drive type for INT output pin (default ITG320X_INT_PUSH_PULL.
 

Field Documentation

◆ addr

uint8_t itg320x_params_t::addr

I2C slave address (default ITG320X_I2C_ADDRESS_1)

Definition at line 150 of file itg320x.h.

◆ clk_sel

itg320x_clk_sel_t itg320x_params_t::clk_sel

Clock source selection (default ITG320X_CLK_PLL_X_GYRO)

Definition at line 159 of file itg320x.h.

◆ dev

i2c_t itg320x_params_t::dev

I2C device (default I2C_DEV(0))

Definition at line 149 of file itg320x.h.

◆ int_drive

itg320x_int_drive_t itg320x_params_t::int_drive

Drive type for INT output pin (default ITG320X_INT_PUSH_PULL.

Definition at line 167 of file itg320x.h.

◆ int_level

itg320x_int_level_t itg320x_params_t::int_level

Logic level for INT output pin (default ITG320X_INT_LOW)

Definition at line 165 of file itg320x.h.

◆ int_pin

gpio_t itg320x_params_t::int_pin

DRDY interrupt pin: GPIO_UNDEF if not used.

Definition at line 163 of file itg320x.h.

◆ isr_div

uint8_t itg320x_params_t::isr_div

Internal sample rate divider ISR_DIV (default 99) ODR = ISR / (ISR_DIV + 1) where internal sample rate is 1 kHz or 8 kHz dependent on the low pass filter bandwidth lpf_bw.

Definition at line 152 of file itg320x.h.

◆ lpf_bw

itg320x_lpf_bw_t itg320x_params_t::lpf_bw

Low pass filter bandwidth (default ITG320X_LPF_BW_5, ISR 1 kHz)

Definition at line 157 of file itg320x.h.


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