1.22.1.25 ADCHS_ComparatorxAnalogInputIDGet Function

C

uint8_t ADCHS_ComparatorxAnalogInputIDGet(void) // x - Comparator number

Summary

Identifies the analog input for which the comparator event is generated

Description

Identifies the analog input for which the comparator event is generated

Precondition

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

Parameters

None

Returns

uint8_t - Analog input id for which the comparator event is generated

Example

uint8_t ain_id;
ain_id = ADCHS_Comparator1AnalogInputIDGet();

Remarks

None