2.8.53 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

ParamDescription
interruptMaskInterrupt to be enabled

Returns

None

Example

CAN_INTERRUPT_MASK interruptMask = CAN_INTERRUPT_MB0_MASK;
CAN0_InterruptEnable(interruptMask);

Remarks

None.