1.25.3.6 CANx_MessageIDGet Function
C
uint32_t CANx_MessageIDGet(CAN_MAILBOX_NUM mailbox) // x - Instance of the CAN peripheral
Summary
Get Message ID from mailbox.
Precondition
CANx_Initialize must have been called for the associated CAN instance.
Parameters
Param | Description |
---|---|
mailbox | Mailbox number |
Returns
Returns Message ID.
Example
uint32_t id = 0; id = CAN0_MessageIDGet(CAN_MAILBOX_0);
Remarks
None.