Hi Scott,
The function you need to call is USB_DeviceStop, this function disables the device functionality and detach the device from the host.
Referring the other functions, USB_DeviceDeinit is called inside USB_DeviceClassDeinit. This will discard all the parameters registered as USB devices. Please keep in mind that this function should be called after USB_DeviceStop.
I hope this helps.
Have a great day,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------