1.3.3.19 1.9.3.19 1.29.3.19 1.32.3.19 CANx_ExtendedFilterElementSet Function

C

bool CANx_ExtendedFilterElementSet(uint8_t filterNumber, can_xidfe_registers_t *extMsgIDFilterElement) // x - Instance of the CAN peripheral

Summary

Set a Extended filter element configuration.

Precondition

CANx_Initialize and CANx_MessageRAMConfigSet must have been called for the associated CAN instance.

Parameters

Param Description
filterNumber Extended Filter number to be configured.
extMsgIDFilterElement Pointer to Extended Filter Element configuration to be set on specific filterNumber.

Returns

Request status. true - Request was successful

false - Request has failed

Example

can_xidfe_registers_t extMsgIDFilterElement;
extMsgIDFilterElement.CAN_XIDFE_0 = 0x00;
extMsgIDFilterElement.CAN_XIDFE_1 = 0x00;
CAN0_ExtendedFilterElementSet(1, &extMsgIDFilterElement);

Remarks

None.