1.26.6.21 MCANx_ExtendedFilterElementSet Function
C
bool MCANx_ExtendedFilterElementSet(uint8_t filterNumber, mcan_xidfe_registers_t *extMsgIDFilterElement) // x - Instance of the MCAN peripheral
Summary
Set 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 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
mcan_xidfe_registers_t extMsgIDFilterElement; extMsgIDFilterElement.MCAN_XIDFE_0 = 0x00; extMsgIDFilterElement.MCAN_XIDFE_1 = 0x00; MCAN0_ExtendedFilterElementSet(1, &extMsgIDFilterElement);
Remarks
None.