1.22.1.28 ADCHS_FilterxIsReady Function

C

bool ADCHS_FilterxIsReady(void) // x - ADC filter number

Summary

Returns the status of ADC filter

Description

Returns the status of ADC filter

Precondition

ADCHS_Initialize() must have been called first for the associated instance.

Parameters

None

Returns

Returns ADC filter status

Example

if (ADCHS_Filter1IsReady())
{
    uint16_t filter_data;
    
    filter_data = ADCHS_Filter1DataGet();
}

Remarks

None