ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
Loading...
Searching...
No Matches
imu_config_t Struct Reference

#include <imu_lsm6dsv16x.h>

Data Fields

imu_odr_t odr
 same ODR for gyro and acc

 
uint8_t watermark_words
 4 = 2 gyro + 2 acc -> one interrupt every 2 samples
 
uint8_t gy_lpf1_bw
 lsm6dsv16x_filt_gy_lp1_bandwidth_t

 
uint8_t xl_lpf2_enable
 
uint8_t xl_lpf2_bw
 lsm6dsv16x_filt_xl_lp2_bandwidth_t

 
uint8_t mag_enable
 LIS2MDL via sensor hub (requires IKS4A1 Mode 3)

 
uint8_t mag_fast
 0: LIS2MDL 50 Hz / hub 60 Hz; 1: 100 Hz / 120 Hz

 
uint8_t baro_enable
 

Detailed Description

Definition at line 31 of file imu_lsm6dsv16x.h.

Field Documentation

◆ odr

imu_odr_t imu_config_t::odr

same ODR for gyro and acc

Definition at line 32 of file imu_lsm6dsv16x.h.

Referenced by imu_init(), and ImuTask().

◆ watermark_words

uint8_t imu_config_t::watermark_words

4 = 2 gyro + 2 acc -> one interrupt every 2 samples

Definition at line 33 of file imu_lsm6dsv16x.h.

Referenced by imu_init().

◆ gy_lpf1_bw

uint8_t imu_config_t::gy_lpf1_bw

lsm6dsv16x_filt_gy_lp1_bandwidth_t

Definition at line 34 of file imu_lsm6dsv16x.h.

Referenced by imu_init().

◆ xl_lpf2_enable

uint8_t imu_config_t::xl_lpf2_enable

Definition at line 35 of file imu_lsm6dsv16x.h.

Referenced by imu_init().

◆ xl_lpf2_bw

uint8_t imu_config_t::xl_lpf2_bw

lsm6dsv16x_filt_xl_lp2_bandwidth_t

Definition at line 36 of file imu_lsm6dsv16x.h.

Referenced by imu_init().

◆ mag_enable

uint8_t imu_config_t::mag_enable

LIS2MDL via sensor hub (requires IKS4A1 Mode 3)

Definition at line 37 of file imu_lsm6dsv16x.h.

Referenced by imu_init().

◆ mag_fast

uint8_t imu_config_t::mag_fast

0: LIS2MDL 50 Hz / hub 60 Hz; 1: 100 Hz / 120 Hz

Definition at line 38 of file imu_lsm6dsv16x.h.

Referenced by imu_init().

◆ baro_enable

uint8_t imu_config_t::baro_enable

Definition at line 39 of file imu_lsm6dsv16x.h.

Referenced by imu_init().


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