/* : Select the can work as peli mode or basic mode  */
void CAN_Mode_Cmd(CAN_TypeDef *CANx, uint32_t CAN_MODE)
/* : Select the can work as peli mode or basic mode  */
void CAN_Mode_Cmd(CAN_TypeDef *CANx, uint32_t CAN_MODE)
{
    assert_param(IS_CAN_ALL_PERIPH(CANx));
    CANx->CDR |= CAN_MODE;
}