1.24.1.29 ADCHS_FilterxDataGet Function

C

uint16_t ADCHS_FilterxDataGet(void) // x - Filter number

Summary

Returns the ADC filter data

Description

Returns the ADC filter data.

Precondition

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

Parameters

None

Returns

uint16_t - Filter data.

Example

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

Remarks

None