/* Exit FlexCAN Freeze Mode. 
This function makes the FlexCAN leave Freeze Mode. */
static void FLEXCAN_ExitFreezeMode(CAN_Type *base)
/* Exit FlexCAN Freeze Mode. 
This function makes the FlexCAN leave Freeze Mode. */
static void FLEXCAN_ExitFreezeMode(CAN_Type *base)
{
    base->MCR &= ~CAN_MCR_HALT_MASK;
    base->MCR &= ~CAN_MCR_FRZ_MASK;
    while (base->MCR & CAN_MCR_FRZACK_MASK)
    {
    }
}