2017-08-01 02:55 AM
HI
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
2017-08-01 04:59 AM
Hello!
Need more details about your hardware or your configuration..
In general
hyour_device, is your initialised USB handle
Check if..
if(hyour_device.dev_state == USBD_STATE_CONFIGURED)
If is TRUE means that device is connected to Host machine and cofigured properly.