The usbh_hw_delay_ms function provides a functionality to the custom USB Host controller driver to delay execution for a specified time in milliseconds. This function is used by custom USB Host controller driver for hardware specific request that require specific timing, for example for hardware initialization and port resetting. The usbh_hw_delay_ms function is part of the RL-USB Host software stack. You can modify this function to suit different CPU clock settings. 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. |