2021-06-27 11:42 PM
I am using standard USB libraries available on ST website. Is there a function available in these libraries where I can check a status flag and confirm whether a data transfer via USB virtual Com port is complete or not?
2021-06-28 06:51 AM
CubeMX libraries? You can check the state variable
USBD_CDC_HandleTypeDef *hcdc = (USBD_CDC_HandleTypeDef*)hUsbDeviceHS.pClassData;
if (hcdc->TxState != 0){
return USBD_BUSY;
}
.
2021-06-29 09:53 PM
I am using "STM32F USB Drivers & Liberary"
2021-06-29 09:59 PM
I see no useful Google results for "STM32F USB Drivers & Liberary".
2021-06-29 10:28 PM
Please find the link below: