1.2.13.2 1.3.12.6 1.4.10.6 1.5.11.6 1.6.12.6 1.7.13.6 1.9.11.6 1.29.12.6 1.32.13.6 1.38.10.6 1.40.10.6 FREQM_ErrorGet Function
C
FREQM_ERROR FREQM_ErrorGet(void)
Summary
Returns error that may have occurred during the frequency measurement process.
Description
This function returns the error that may have occurred during the frequency measurement process. The function returns the error for the last completed operation. The value returned by the FREQM_FrequencyGet() function is valid only if this function returns FREQM_ERROR_NONE.
Precondition
FREQM_Initialize() and FREQM_MeasurementStart() functions should be called.
Parameters
None.
Returns
Errors occurred as listed by FREQM_ERROR.
Example
if (FREQM_ERROR_OVERFLOW == FREQM_ErrorGet()) { //Handle overflow error here } else { measuredFrequency = FREQM_FrequencyGet(); }
Remarks
None.