Jump to main content

# 3.3.4.22 EMAFE_GetInterruptMask Function

## C

    uint32_t EMAFE_GetInterruptMask(void);

## Summary

Read interrupt flags mask.

## Description

Read interrupt flags mask.

## Precondition

None.

## Parameters

None.

## Returns

Interrupt enabled flags. If flag is 1, the corresponding interrupt is enabled.

## Example

    interruptMask = EMAFE_GetInterruptMask();

## Remarks

Mask Value | Description
--- | ---
EMAFE_IMR_DRDY_Msk | Data Ready Interrupt Mask
EMAFE_IMR_RXUDR_Msk | Receive Underflow Flow Interrupt Mask
EMAFE_IMR_RXFULL_Msk | Receive FIFO Full Interrupt Mask
EMAFE_IMR_RXEMPTY_Msk | Receive FIFO Empty Interrupt Mask
EMAFE_IMR_CHCHG_Msk | Channel Data Change Interrupt Mask
EMAFE_IMR_CHDIFF_Msk | Comparison Flag Interrupt Mask
EMAFE_IMR_PARERROR_Msk | Parity Error Interrupt Mask
EMAFE_IMR_ENDRX_Msk | PDC Receive Transfer End Interrupt Mask
EMAFE_IMR_RXBUFF_Msk | PDC Receive Buffer Full Interrupt Mask
EMAFE_IMR_CHAEVT_Msk | Channel A Event Interrupt Mask
EMAFE_IMR_CHBEVT_Msk | Channel B Event Interrupt Mask

Rev: E