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 Page History

Version 1 Current »

shows the general architecture between the host and the device using the Vendor class. In this example, the host operating system is Windows.

On the Windows side, the application communicates with the vendor device by interacting with the USBDev_API library. This library provided by Micrium offers an API to manage a device and its associated pipes, and to communicate with the device through control, bulk and interrupt endpoints. USBDev_API is a wrapper that allows the use of the WinUSB functions exposed by Winusb.dll.

On the device side, the Vendor class is composed of the following endpoints:

  • A pair of control IN and OUT endpoints called the default endpoint.
  • A pair of bulk IN and OUT endpoints.
  • A pair of interrupt IN and OUT endpoints. This pair is optional.

indicates the usage of the different endpoints:

The device application can use bulk and interrupt endpoints to send or receive data to or from the host. It can only use the default endpoint to decode vendor-specific requests sent by the host. The standard requests are managed internally by the Core layer of µC/USB-Device.

  • No labels