1.26.6.20 1.27.9.20 1.28.10.20 1.34.7.20 1.41.8.20 1.42.6.20 MCANx_StandardFilterElementGet Function
C
bool MCANx_StandardFilterElementGet(uint8_t filterNumber, mcan_sidfe_registers_t *stdMsgIDFilterElement) // x - Instance of the MCAN peripheral
Summary
Get a standard filter element configuration.
Precondition
MCANx_Initialize and MCANx_MessageRAMConfigSet must have been called for the associated MCAN instance.
Parameters
Param | Description |
---|---|
filterNumber | Standard Filter number to get filter configuration |
stdMsgIDFilterElement | Pointer to Standard Filter Element configuration for storing filter configuration |
Returns
Request status. true - Request was successful
false - Request has failed
Example
mcan_sidfe_registers_t stdMsgIDFilterElement;
MCAN0_StandardFilterElementGet(1, &stdMsgIDFilterElement);
Remarks
None.