FDCAN HAL API uses a confusing name
The FDCAN_RxHeaderTypeDef typedef (for the STM32G4) includes:
uint32_t IsFilterMatchingFrame; /*!< Specifies whether the accepted frame did not match any Rx filter.
Acceptance of non-matching frames may be enabled via
HAL_FDCAN_ConfigGlobalFilter().
This parameter takes 0 if the frame matched an Rx filter or
1 if it did not match any Rx filter */From the code, this member is loaded with the ANMF bit of an RX FIFO element. The documentation for this shows that ANMF is an abbreviation for “Accepted non-matching frame” - so the comment is correct (‘1’ → did not match a filter). Which means the member name should be something like ‘IsNotFilterMatchingFrame’.
Code completion within CubeIDE does not show the comment:

which means it is easy to get the state wrong if the name is interpreted semantically!
Probably not a lot that can be done about this now, but it’s one to watch out for.
