1.11.1.23 ADCHS_ComparatorxLimitSet Function

C

void ADCHS_ComparatorxLimitSet(uint16_t low_threshold, uint16_t high_threshold) // x - Comparator number 

Summary

Sets lower and higher threshold for comparator

Description

Sets lower and higher threshold for comparator

Precondition

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

Parameters

Param Description
low_threshold lower limit of comparator
high_threshold higher limit of compartor

Returns

None

Example

ADCHS_Comparator1LimitSet(0x100, 0x200);

Remarks

None