1.8.2.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.