This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-USB: usbd_uninit?

Hi,

I'm using MCB4300 with MDK4 ( V4.60 )

Is there an uninit function for usbd stack? I can see only uninit for usbh stack...

In case I'd like to init my USB0 as device and than as host, Am I right with the functions need to be called and the order of appearance ?

usbd_init
connect(TRUE)
...
Working as a device
...
switching to host

connect(FALSE)
usbh_init(0)
...
Working as a host

Thanks in advance,
Idan

Parents
  • In RL there is no such function but in new Middleware 6.xx there is a function to uninitilize USB Device stack it is USBD_Uninitialize.

    Also, you can implement uninitialize function yourself and basically do the reverse of what is done in initialize function.

Reply
  • In RL there is no such function but in new Middleware 6.xx there is a function to uninitilize USB Device stack it is USBD_Uninitialize.

    Also, you can implement uninitialize function yourself and basically do the reverse of what is done in initialize function.

Children