HAL_CAN_GetTxTimestamp() function
Return timestamp of Tx message sent, if time triggered communication mode is enabled.
Arguments
hcan
pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
TxMailbox
Tx Mailbox where the timestamp of message sent will be read. This parameter can be one value of @arg CAN_Tx_Mailboxes.
Return value
Timestamp of message sent from Tx Mailbox.