#include <RTL.h>
#include <rl_usb.h>
BOOL usbh_hw_init (
BOOL on
);
Description
The usbh_hw_init function is used for initialization or
uninitialization of hardware (clocks, pins) for the custom USB Host
controller. The argument on specify if function should do
initialize or uninitialize.
The usbh_hw_init function is part of the RL-USB Host
software stack.
You can modify this function to suit different custom controller
hardware. This function will need to be changed if custom controller
is used on a chip that does not yet have a low level driver
provided.
Return Value
The usbh_hw_init function returns one of the following
manifest constants.
__TRUE
Success.
__FALSE
Indicates that the initialization/uninitialization of hardware has
failed.
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.