1.2.13.5 1.3.12.2 1.4.10.2 1.5.11.2 1.6.12.2 1.7.13.2 1.9.11.2 1.29.12.2 1.32.13.2 1.38.10.2 1.40.10.2 FREQM_MeasurementStart Function

C

bool FREQM_MeasurementStart(void)

Summary

This function starts the frequency measurement.

Description

This function starts the frequency measurement. This function is always non-blocking. Calling this function when a frequency measurement is already in progress will result in a functional no operation. The FREQM_IsBusy() function will return true when a frequency measurement is in progress. The completion of the measurement operation is indicated by the FREQM_IsBusy() function returing false or a registered callback function being called.

Precondition

FREQM module should be initialized with the required configuration parameters from the MHC GUI in the FREQM_Initialize() function

Parameters

None

Returns

Returns false if the peripheral is busy

Example

bool status = false;
status = FREQM_MeasurementStart();

Remarks

None.