1.6.2.23 1.7.2.23 1.10.1.23 1.11.1.23 1.12.1.23 1.13.1.23 1.22.1.23 1.23.1.23 1.24.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