The usbh_init function initializes the USB Host Stack and USB Host Controller Hardware. The argument ctrl is the index of USB Host Controller. It prepares the USB Host Controller to detect connection or disconnection of a device on the bus and do enumeration of connected device. In any application, the usbh_init or usbh_init_all function must be called before calling any other USB Host function. The function does not initialize any non-USB Host hardware features. The usbh_init function is part of the RL-USB Host Software Stack. |