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
| Status Mask | Description when value = 1 |
|---|---|
| EMAFE_ISR_DRDY_Msk | One data has been written since the last read in EMAFE_DATAx. |
| EMAFE_ISR_RXUDR_Msk | At least one general underrun error has occurred since the last read of EMAFE_ISR. |
| EMAFE_ISR_RXFULL_Msk | FIFO is full since the last read of EMAFE_ISR. |
| EMAFE_ISR_RXEMPTY_Msk | FIFO is empty since the last read of EMAFE_ISR. |
| EMAFE_ISR_CHCHG_Msk | At least one detection of significant channel data variation has occurred since the last read of EMAFE_ISR. |
| EMAFE_ISR_CHDIFF_Msk | At least one channel difference comparison event has occurred since the last read of EMAFE_ISR. |
| EMAFE_ISR_PARERROR_Msk | At least one parity error event has occurred since the last read of EMAFE_ISR. |
| EMAFE_ISR_ENDRX_Msk | PDC transfer is ended. |
| EMAFE_ISR_RXBUFF_Msk | PDC Buffer is full. |
| EMAFE_ISR_CHAEVT_Msk | Channel A is not in the range since the last read of EMAFE_ISR. |
| EMAFE_ISR_CHBEVT_Msk | Channel B is not in the range since the last read of EMAFE_ISR. |
