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

0