The usbh_ohci_hw_port_power function is used for supplying or removing power on the OHCI USB Host controller ports. The argument on specify if function should do power on or off of ports. This function should be adapted if OHCI is not used for driving power but power driving is manual by GPIO pin for example. The usbh_ohci_hw_port_power function is part of the RL-USB Host software stack. You can modify this function to suit different OHCI controller hardware. This function will need to be changed if OHCI controller is used on a chip that does not yet have a low level driver provided. |