1.32.3.15 CANx_InterruptClear Function

C

void CANx_InterruptClear(CAN_INTERRUPT_MASK interruptMask) // x - Instance of the CAN peripheral

Summary

Clears Interrupt status.

Precondition

CANx_Initialize must have been called for the associated CAN instance.

Parameters

Param Description
interruptMask Interrupt to be cleared

Returns

None

Example

CAN_INTERRUPT_MASK interruptMask = CAN_INTERRUPT_RF0W_MASK;
CAN0_InterruptClear(interruptMask);

Remarks

None.