The usbh_ohci_hw_port_power function is used for supplying
or removing power on the EHCI USB Host controller ports. The argument
ctrl is the index of USB Host Controller. The argument
on specify if function should do power on or off of the ports.
This function should be adapted if EHCI is not used for driving power
but power driving is manual by GPIO pin for example.
The usbh_ehci_hw_port_power function is part of the
RL-USB Host software stack.
You can modify this function to suit different EHCI controller
hardware. This function will need to be changed if EHCI controller is
used on a chip that does not yet have a low level driver
provided.
Return Value
The usbh_ehci_hw_port_power function returns one of the
following manifest constants.
__TRUE
Success.
__FALSE
Indicates that the port power driving 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.