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