1.42.6.22 MCANx_ExtendedFilterElementGet Function

C

bool MCANx_ExtendedFilterElementGet(uint8_t filterNumber, mcan_xidfe_registers_t *extMsgIDFilterElement) // x - Instance of the MCAN peripheral

Summary

Get a Extended filter element configuration.

Precondition

MCANx_Initialize and MCANx_MessageRAMConfigSet must have been called for the associated MCAN instance.

Parameters

Param Description
filterNumber Extended Filter number to get filter configuration.
extMsgIDFilterElement Pointer to Extended Filter Element configuration for storing filter configuration

Returns

Request status. true - Request was successful

false - Request has failed

Example

mcan_xidfe_registers_t extMsgIDFilterElement;
MCAN0_ExtendedFilterElementGet(1, &extMsgIDFilterElement);

Remarks

None.