1.18.2.9 CANx_MessageAcceptanceFilterMaskSet Function
C
void CANx_MessageAcceptanceFilterMaskSet(uint8_t acceptanceFilterMaskNum, uint32_t id) // x - Instance of the CAN peripheral
Summary
Set Message acceptance filter mask configuration.
Description
This routine sets Message acceptance filter mask configuration.
Precondition
CANx_Initialize must have been called for the associated CAN instance.
Parameters
Param | Description |
---|---|
acceptanceFilterMaskNum | Acceptance Filter Mask number |
id | 11-bit or 29-bit identifier |
Returns
None
Example
CAN1_MessageAcceptanceFilterMaskSet(0, 0x435);
Remarks
None.