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