ON STM32f cubmx mass storage device i need understanding device connect to pc or not
please help me how can write program for understand cable is connect or not
Need more details about your hardware or your configuration..
hyour_device, is your initialised USB handle
if(hyour_device.dev_state == USBD_STATE_CONFIGURED)
If is TRUE means that device is connected to Host machine and cofigured properly.
Retrieving data ...