2.8.59 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

ParamDescription
acceptanceFilterMaskNumAcceptance Filter Mask number
id11-bit or 29-bit identifier

Returns

None

Example

CAN1_MessageAcceptanceFilterMaskSet(0, 0x435);

Remarks

None.