1.32.2.14 ADCx_InterruptsEnable Function

C

void ADCx_InterruptsEnable(ADC_STATUS interruptMask); // x is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.

Summary

This function enables the interrupts.

Description

This function enables the multiple interrupts.

Precondition

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

Parameters

Param Description
interruptMask interrupt flags to be enabled

Returns

None

Example

ADC0_Initialize();
ADC0_InterruptsEnable(ADC_STATUS_RESRDY);

Remarks

None