ITG320X device initialization parameters. More...
#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. | |