1.2.2.4 1.9.1.4 ADC_CompareEnable Function

C

void ADC_CompareEnable(ADC_CORE_NUM core, ADC_CHANNEL_NUM channel)

Summary

Enables digital comparisons for the given channel on the specified ADC core

Description

This function enables digital comparisons for the given channel on the specified ADC core.

Precondition

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

Parameters

Param Description
core ADC core n
channel channel number on ADC core n

Returns

None.

Example

ADC_CompareEnable(ADC_CORE_NUM1, ADC_CH0);

Remarks

None