MotionAC Software Library: MOTION_AC_Exported_Functions

Motion AC

MotionAC Software Library
MotionAC Software Library Documentation
MOTION_AC_Exported_Functions

Functions

void MotionAC_Initialize (int sampletime, unsigned short int enable)
 Initialize the MotionAC engine. More...
 
void MotionAC_Update (MAC_input_t *data_in)
 Run accelerometer calibration algorithm. More...
 
void MotionAC_GetCalParams (MAC_output_t *data_out)
 Get the accelerometer compensation parameters. More...
 
uint8_t MotionAC_GetLibVersion (char *version)
 Get the library version. More...
 

Detailed Description

Function Documentation

void MotionAC_GetCalParams ( MAC_output_t data_out)

Get the accelerometer compensation parameters.

Parameters
data_outpointer to actual accelerometer offset [g], scale factor correction matrix [-] and quality factor
Return values
none
uint8_t MotionAC_GetLibVersion ( char *  version)

Get the library version.

Parameters
versionpointer to an array of 35 char
Return values
Numberof characters in the version string
void MotionAC_Initialize ( int  sampletime,
unsigned short int  enable 
)

Initialize the MotionAC engine.

Parameters
sampletimeperiod in [ms] between the update function call
enableenable or disable the library
Return values
none
void MotionAC_Update ( MAC_input_t data_in)

Run accelerometer calibration algorithm.

Parameters
data_inpointer to accaleration [g] and timestamp values [ms]
Return values
none
Generated on Fri Mar 31 2017 10:53:54 for MotionAC Software Library by   doxygen 1.8.9.1