/* Sets Line Coding for the USB CDC ACM Virtual COM Port. 
The function is a callback function that forwards USB CDC ACM request to set communication settings to the Virtual COM Port. */
__WEAK int32_t USBD_CDC_ACM_SetLineCoding(void)
/* Sets Line Coding for the USB CDC ACM Virtual COM Port. 
The function is a callback function that forwards USB CDC ACM request to set communication settings to the Virtual COM Port. */
__WEAK int32_t USBD_CDC_ACM_SetLineCoding(void)
{
    line_coding.dwDTERate   = (USBD_EP0Buf[0] <<  0) |
                              (USBD_EP0Buf[1] <<  8) |
                              (USBD_EP0Buf[2] << 16) |
                              (USBD_EP0Buf[3] << 24) ;
    line_coding.bCharFormat =  USBD_EP0Buf[4];
    line_coding.bParityType =  USBD_EP0Buf[5];
    line_coding.bDataBits   =  USBD_EP0Buf[6];
    return (USBD_CDC_ACM_PortSetLineCoding(&line_coding));
}