/* Vitual COM Port retrieve communication settings. 
The function retrieves communication settings of the port used as the Virtual COM Port. */
int32_t USBD_CDC_ACM_PortGetLineCoding(CDC_LINE_CODING *line_coding)
/* Vitual COM Port retrieve communication settings. 
The function retrieves communication settings of the port used as the Virtual COM Port. */
int32_t USBD_CDC_ACM_PortGetLineCoding(CDC_LINE_CODING *line_coding)
{
    line_coding->dwDTERate   = UART_Config.Baudrate;
    line_coding->bDataBits   = UART_Config.DataBits;
    line_coding->bParityType = UART_Config.Parity;
    line_coding->bCharFormat = UART_Config.StopBits;
    return (1);
}