MotionMC Software Library
MotionMC Software Library Documentation
|
MOTION_MC_Exported_Functions
Functions | |
void | MotionMC_Initialize (int sampletime, unsigned short int enable) |
Initialize the MotionMC engine. More... | |
void | MotionMC_Update (MMC_Input_t *data_in) |
Run Magnetic Calibration algorithm. More... | |
void | MotionMC_GetCalParams (MMC_Output_t *data_out) |
Get the magnetic compensation for hard/soft iron. More... | |
uint8_t | MotionMC_GetLibVersion (char *version) |
Get the library version. More... | |
Detailed Description
Function Documentation
void MotionMC_GetCalParams | ( | MMC_Output_t * | data_out | ) |
Get the magnetic compensation for hard/soft iron.
- Parameters
-
data_out Structure containing output data
- Return values
-
none
uint8_t MotionMC_GetLibVersion | ( | char * | version | ) |
Get the library version.
- Parameters
-
version pointer to an array of 35 char
- Return values
-
Number of characters in the version string
void MotionMC_Initialize | ( | int | sampletime, |
unsigned short int | enable | ||
) |
Initialize the MotionMC engine.
- Parameters
-
sampletime period in milliseconds [ms] between the update function call enable Enable (1) or disable (0) library
- Return values
-
none
void MotionMC_Update | ( | MMC_Input_t * | data_in | ) |
Run Magnetic Calibration algorithm.
- Parameters
-
data_in Structure containing input data
- Return values
-
none
Generated on Fri Mar 31 2017 11:11:15 for MotionMC Software Library by 1.8.9.1