What is the correct way to close or de-initialize the USBX Host Framework?
I need that, when my application ends, all the interrupts and callbacks should never be called again.
The only way I found so far is to manually disable the USBHS module writing "0" to the USBE bit of the SYSCFG register.
But I think it is a little "rude" way...
EDIT: No, it does not work either..
Thank you!