...
The uC/OS BSP can use USB device as peripherals for various functions using the uC/USB-Host module.
Configuration
To enable the usb host function the ucos_usbh library should be added to the project as seen in figure .
...
Initialization
Since the function of a USB must be defined before enumeration the uC/OS BSP startup code will only configure and interface but won't start it. Once fully configured a USB interface can be started by calling USBD_DevStart()USB Host module can dynamically enumerate devices at runtime, the interface is not started before the user application has a chance to begin. Please look at the uC/USB-Host user manual and the provided demonstration template for details of starting a host interface.