3.3.4.23 EMAFE_GetInterruptSatus Function

C

uint32_t EMAFE_GetInterruptSatus(void);

Summary

Read current status of the interrupt flags.

Description

Read current status of the interrupt flags. All status interrupt flags are cleared on read.

Precondition

None.

Parameters

None.

Returns

Interrupt status flags. If flag is 1, the corresponding interrupt is raised.

Example


interruptStatus = EMAFE_GetInterruptSatus();

Remarks

Table 3-14. Interrupt Status Description
Status MaskDescription when value = 1
EMAFE_ISR_DRDY_MskOne data has been written since the last read in EMAFE_DATAx.
EMAFE_ISR_RXUDR_MskAt least one general underrun error has occurred since the last read of EMAFE_ISR.
EMAFE_ISR_RXFULL_MskFIFO is full since the last read of EMAFE_ISR.
EMAFE_ISR_RXEMPTY_MskFIFO is empty since the last read of EMAFE_ISR.
EMAFE_ISR_CHCHG_MskAt least one detection of significant channel data variation has occurred since the last read of EMAFE_ISR.
EMAFE_ISR_CHDIFF_MskAt least one channel difference comparison event has occurred since the last read of EMAFE_ISR.
EMAFE_ISR_PARERROR_MskAt least one parity error event has occurred since the last read of EMAFE_ISR.
EMAFE_ISR_ENDRX_MskPDC transfer is ended.
EMAFE_ISR_RXBUFF_MskPDC Buffer is full.
EMAFE_ISR_CHAEVT_MskChannel A is not in the range since the last read of EMAFE_ISR.
EMAFE_ISR_CHBEVT_MskChannel B is not in the range since the last read of EMAFE_ISR.