1.26.6.16 MCANx_InterruptGet Function
C
bool MCANx_InterruptGet(MCAN_INTERRUPT_MASK interruptMask) // x - Instance of the MCAN peripheral
Summary
Returns the Interrupt status.
Precondition
MCANx_Initialize must have been called for the associated MCAN instance.
Parameters
Param | Description |
---|---|
interruptMask | Interrupt mask to check if requested interrupt occurred |
Returns
true - Requested interrupt is occurred.
false - Requested interrupt is not occurred.
Example
MCAN_INTERRUPT_MASK interruptMask = MCAN_INTERRUPT_RF0W_MASK; if (MCAN0_InterruptGet(interruptMask)) { }
Remarks
None.