1.25.3.15 CANx_InterruptEnable Function

C

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

Summary

Enables CAN Interrupt.

Precondition

CANx_Initialize must have been called for the associated CAN instance.

Parameters

Param Description
interruptMask Interrupt to be enabled

Returns

None

Example

CAN_INTERRUPT_MASK interruptMask = CAN_INTERRUPT_MB0_MASK;
CAN0_InterruptEnable(interruptMask);

Remarks

None.