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.
Return Value
The usbh_init function returns one of the following
manifest constants.
__TRUE
Success.
__FALSE
Indicates that function has failed. Function usbh_get_last_error
can be called to determine reason of function failure.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.