1.25.3.7 CANx_MessageAcceptanceMaskSet Function
C
void CANx_MessageAcceptanceMaskSet(CAN_MAILBOX_NUM mailbox, uint32_t id) // x - Instance of the CAN peripheral
Summary
Set Message acceptance identifier mask 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_MessageAcceptanceMaskSet(CAN_MAILBOX_0, 0x111);
Remarks
None.