Functions
Calibration_api

Functions

void EM_initalizeCalibrationValues (uint8_t *pWorkingCalibration, uint8_t *pFlashCalibration)
 The following API is used to copies calibration values from flapFlashCalibration to pWorkingCalibration if the flash has been written to during the calibration process. If the flash buffer has not been written to, then the default values stored in pWorkingCalibration will be used at run time. More...
 
void EM_updateFlashCalibrationValues (uint8_t *pWorkingCalibration, uint8_t *pFlashCalibration)
 The following API is used store working (RAM) pWorkingCalibration values to the pFlashCalibration structure stored in flash. When there is a power cycle this values will be loaded to the working calibration buffer by using the EM_initalizeCalibrationValues API. More...
 

Detailed Description

Function Documentation

§ EM_initalizeCalibrationValues()

void EM_initalizeCalibrationValues ( uint8_t *  pWorkingCalibration,
uint8_t *  pFlashCalibration 
)

The following API is used to copies calibration values from flapFlashCalibration to pWorkingCalibration if the flash has been written to during the calibration process. If the flash buffer has not been written to, then the default values stored in pWorkingCalibration will be used at run time.

Parameters
[in]pWorkingCalibrationis a pointer to the working calibration buffer
[in]pFlashCalibrationis a pointer to the flash calibration buffer
Returns
None

§ EM_updateFlashCalibrationValues()

void EM_updateFlashCalibrationValues ( uint8_t *  pWorkingCalibration,
uint8_t *  pFlashCalibration 
)

The following API is used store working (RAM) pWorkingCalibration values to the pFlashCalibration structure stored in flash. When there is a power cycle this values will be loaded to the working calibration buffer by using the EM_initalizeCalibrationValues API.

Parameters
[in]pWorkingCalibrationis a pointer to the working calibration buffer
[in]pFlashCalibrationis a pointer to the flash calibration buffer
Returns
None
Copyright 2018, Texas Instruments Incorporated