Jump to main content

##

# 2.3.11 ADCx_InterruptsClear Function

## C

    void ADCx_InterruptsClear(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 clears the interrupt flags.

## Description

This function clears the interrupt flags.

## Precondition

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

## Parameters

Param | Description
--- | ---
interruptMask | interrupt flags to be cleared

## Returns

None

## Example

    ADC0_Initialize();
    ADC0_InterruptsClear(ADC_STATUS_RESRDY);

## Remarks

None