1.27.9.14 MCANx_ErrorGet Function

C

MCAN_ERROR MCANx_ErrorGet(void) // x - Instance of the MCAN peripheral

Summary

Returns the error during transfer.

Precondition

MCANx_Initialize must have been called for the associated MCAN instance.

Parameters

None.

Returns

Error during transfer.

Example

MCAN_ERROR error;
error = MCAN0_ErrorGet();

Remarks

None.