1.3.3.18 1.9.3.18 1.29.3.18 1.32.3.18 CANx_StandardFilterElementGet Function

C

bool CANx_StandardFilterElementGet(uint8_t filterNumber, can_sidfe_registers_t *stdMsgIDFilterElement) // x - Instance of the CAN peripheral

Summary

Get a standard filter element configuration.

Precondition

CANx_Initialize and CANx_MessageRAMConfigSet must have been called for the associated CAN 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

can_sidfe_registers_t stdMsgIDFilterElement;
CAN0_StandardFilterElementGet(1, &stdMsgIDFilterElement);

Remarks

None.