Jump to main content

# 3.3.4.21 EMAFE_DisableInterrupt Function

## C

    void EMAFE_DisableInterrupt (uint32_t mask);

## Summary

Clear the interrupt source of the EMAFE peripheral.

## Description

Disables interrupt sources. The mask parameter can combine different interrupt sources.

## Precondition

None.

## Parameters

Parameters | Description
--- | ---
mask | Bit mask to indicate the interrupts to be disabled

## Returns

None.

## Example

    EMAFE_DisableInterrupt(EMAFE_IER_ENDRX_Msk);

## Remarks

Mask Value | Description
--- | ---
EMAFE_IDR_DRDY_Msk | Data Ready Interrupt Disable
EMAFE_IDR_RXUDR_Msk | Receive Underflow Flow Interrupt Disable
EMAFE_IDR_RXFULL_Msk | Receive FIFO Full Interrupt Disable
EMAFE_IDR_RXEMPTY_Msk | Receive FIFO Empty Interrupt Disable
EMAFE_IDR_CHCHG_Msk | Channel Data Change Interrupt Disable
EMAFE_IDR_CHDIFF_Msk | Comparison Flag Interrupt Disable
EMAFE_IDR_PARERROR_Msk | Parity Error Interrupt Disable
EMAFE_IDR_ENDRX_Msk | PDC Receive Transfer End Interrupt Disable
EMAFE_IDR_RXBUFF_Msk | PDC Receive Buffer Full Interrupt Disable
EMAFE_IDR_CHAEVT_Msk | Channel A Event Interrupt Disable
EMAFE_IDR_CHBEVT_Msk | Channel B Event Interrupt Disable

Rev: E