/* Retrieves number of bytes received over the USB CDC ACM Virtual COM Port. 
The function retrieves number of bytes available in the intermediate buffer that were received over the Virtual COM Port. */
int32_t USBD_CDC_ACM_DataAvailable(void)
/* Retrieves number of bytes received over the USB CDC ACM Virtual COM Port. 
The function retrieves number of bytes available in the intermediate buffer that were received over the Virtual COM Port. */
int32_t USBD_CDC_ACM_DataAvailable(void)
{
    return (ptr_data_received - ptr_data_read);
}