EasyManua.ls Logo

ST X-CUBE-MEMS1 - API Flow Chart; Demo Code; Figure 3. Motionfx API Logic Sequence

ST X-CUBE-MEMS1
24 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2.2.8 API flow chart
Figure 3. MotionFX API logic sequence
Wait Expiring Timer
Update
Read Acc+Gyr+Mag Data
GetLibVersion
Start
Get MotionFX Outputs
Data Read Interrupt
Initialize
MagCal_Init
getKnobs/setKnobs
Propagate
MagCal_run / MagCal_getParams
2.2.9 Demo code
The following demonstration code reads data from the accelerometer, gyroscope and magnetometer sensors and
gets the rotation, quaternions, gravity and linear acceleration.
UM2220
MotionFX library
UM2220 - Rev 7
page 12/24

Other manuals for ST X-CUBE-MEMS1

Related product manuals