/* Configures the CAN_Basic reception filter according to the specified parameters in the CAN_Basic_FilterInitStruct.  */
void CAN_FilterInit(CAN_TypeDef *CANx, CAN_Basic_FilterInitTypeDef *CAN_Basic_FilterInitStruct)
/* Configures the CAN_Basic reception filter according to the specified parameters in the CAN_Basic_FilterInitStruct.  */
void CAN_FilterInit(CAN_TypeDef *CANx, CAN_Basic_FilterInitTypeDef *CAN_Basic_FilterInitStruct)
{
    CANx->ACR = CAN_Basic_FilterInitStruct->CAN_FilterId;
    CANx->AMR = CAN_Basic_FilterInitStruct->CAN_FilterMaskId;
}