EFM32 Pearl Gecko 12 Software Documentation
efm32pg12-doc-5.1.2
|
Inertial Measurement Unit Fusion driver.
Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com
This file is licensed under the Silicon Labs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file imu_fuse.c.
Go to the source code of this file.
Functions | |
void | IMU_fuseAccelerometerSetSampleRate (IMU_SensorFusion *f, float rate) |
Sets the accelerometer sample rate in the IMU_SensorFusion structure. More... | |
void | IMU_fuseAccelerometerUpdateFilter (IMU_SensorFusion *f, float avec[3]) |
The current accelerometer data is added to the accumulator. More... | |
void | IMU_fuseGyroCorrection (IMU_SensorFusion *f, bool accValid, bool dirValid, float dirZ) |
Calculates the gyro correction vector. More... | |
void | IMU_fuseGyroCorrectionClear (IMU_SensorFusion *f) |
Clears the gyro correction vector. More... | |
void | IMU_fuseGyroSetSampleRate (IMU_SensorFusion *f, float rate) |
Sets the gyro sample rate and related values in the IMU_SensorFusion structure. More... | |
void | IMU_fuseGyroUpdate (IMU_SensorFusion *f, float gvec[3]) |
Updates the fusion calculation with a new gyro data. More... | |
void | IMU_fuseNew (IMU_SensorFusion *f) |
Initializes a new IMU_SensorFusion structure. More... | |
void | IMU_fuseReset (IMU_SensorFusion *f) |
Clears the values of the sensor fusion object. More... | |
void | IMU_fuseUpdate (IMU_SensorFusion *f) |
Updates the fusion calculation. More... | |
Variables | |
uint8_t | IMU_state |
uint8_t IMU_state |
DO_NOT_INCLUDE_WITH_DOXYGEN IMU state variable
Definition at line 41 of file imu.c.
Referenced by IMU_config(), IMU_deInit(), IMU_fuseUpdate(), IMU_getAccelerometerData(), IMU_getGyroData(), IMU_getState(), IMU_init(), IMU_isDataReady(), and IMU_isDataReadyFlag().