Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

Introduction

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 . 

The uC/OS BSP can configure a USB port automatically as a host. To do so select it in the ucos configuration panel specifying that the port should be used a host instead of a device.

  

Initialization

Since the 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.

  • No labels