USBD init() and uninit()

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Idanba on Thu Mar 19 06:26:02 MST 2015

Looking at the examples supplied I can clearly see the init() routine through all the interfaces supplied by the stack( USBD_API->hw->Init, USBD_API->cdc->init etc.)
but, I don't understand what shall I do in case I'd like to uninit the stack and stop its operation ?
If I want to use another ( different ) USB SW stack with the same USB resource I'm currently working through USBD stack, what do I need to do in order to stop the operation of the USBD stack?

Thanks in advance,