/* CAN MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_CAN_MspDeInit(CAN_HandleTypeDef *hcan)
/* CAN MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_CAN_MspDeInit(CAN_HandleTypeDef *hcan)
{
  if(hcan->Instance==CAN)
  {
    __HAL_RCC_CAN1_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
  }
}