1.25.3.9 CANx_MessageTimestampGet Function

C

uint16_t CANx_MessageTimestampGet(CAN_MAILBOX_NUM mailbox) // x - Instance of the CAN peripheral

Summary

Get the message timestamp from a mailbox.

Precondition

CANx_Initialize must have been called for the associated CAN instance.

Parameters

Param Description
mailbox Mailbox number

Returns

Returns the message timestamp from a mailbox.

Example

uint16_t timestamp;
timestamp = CAN0_MessageTimestampGet(CAN_MAILBOX_0);

Remarks

None.