1.25.3.5 CANx_MessageIDSet Function
C
void CANx_MessageIDSet(CAN_MAILBOX_NUM mailbox, uint32_t id) // x - Instance of the CAN peripheral
Summary
Set Message ID in mailbox.
Precondition
CANx_Initialize must have been called for the associated CAN instance.
Parameters
Param | Description |
---|---|
mailbox | Mailbox number |
id | 11-bit or 29-bit identifier |
Returns
None.
Example
CAN0_MessageIDSet(CAN_MAILBOX_0, 0x555);
Remarks
None.