/* Deinitializes the CAN peripheral registers to their default reset values.  */
void CAN_DeInit(CAN_Module *CANx)
/* Deinitializes the CAN peripheral registers to their default reset values.  */
void CAN_DeInit(CAN_Module *CANx)
{
    assert_param(IS_CAN_ALL_PERIPH(CANx));
    RCC_EnableAPB1PeriphReset(RCC_APB1_PERIPH_CAN, ENABLE);
    RCC_EnableAPB1PeriphReset(RCC_APB1_PERIPH_CAN, DISABLE);
}