1.8.2.4 1.25.1.4 1.26.1.4 1.27.2.4 1.28.2.4 1.35.1.4 1.36.1.4 1.41.1.4 ADC_ChannelsInterruptEnable Function

C

void ADC_ChannelsInterruptEnable(ADC_INTERRUPT_MASK channelsInterruptMask)
void ADC_ChannelsInterruptEnable(ADC_INTERRUPT_EOC_MASK channelsInterruptMask)

Summary

Enables the ADC interrupt sources

Description

This function enables interrupt sources specified in channelsInterruptMask.

Precondition

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

Parameters

Param Description
channelsInterruptMask interrupt sources

Returns

None.

Example

ADC_Initialize();
ADC_ChannelsInterruptEnable(ADC_INTERRUPT_EOC_0_MASK);

Remarks

This function does not disable interrupts which are not included in the mask.