Jump to main content

##

# 2.48.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 MCC 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.