The usbh_hw_get_connect function is used for retrieving a connection state on the custom USB Host controller ports. The usbh_hw_get_connect function is part of the RL-USB Host software stack. You can modify this function to suit different custom controller register interface. 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. |