Usb Vendor Functions; Vendor Class And Usb Host Support - Atmel AVR4901 Application Note

Table of Contents

Advertisement

7.3.3 USB vendor functions

7.4 Vendor class and USB Host support

Atmel AVR49011
16
The USB vendor class functions described in
data.
Table 7-2. UDI vendor class – data functions.
Declaration
udi_vendor_interrupt_in_run ()
udi_vendor_interrupt_out_run ()
udi_vendor_bulk_in_run ()
udi_vendor_bulk_out_run ()
udi_vendor_iso_in_run ()
udi_vendor_iso_out_run ()
Since the USB vendor class is specified by the user, there is no native support with
any operating system. The user has to build an own driver and host application.
However some solutions exist to help to build a fast solution. The most popular and
free of charge are:
Libusb: This solution has the advantage to support multi-operating system
o
platforms (Windows, Linux
Atmel provide an example using this solution available within the Atmel
AVR4901 application note. For further information regarding libusb, please
refer to
http://www.libusb.org/
WinUSB: This solution is provided by and dedicated to Windows platforms
o
(native form Windows Vista
mode. For further information please refer to
us/library/windows/hardware/ff540196(v=vs.85).aspx
Table 7-2
allow to send or to receive
Description
Start transfer in an IN interrupt endpoint
Start transfer in an OUT interrupt endpoint
Start transfer in an IN bulk endpoint
Start transfer in an OUT bulk endpoint
Start transfer in an IN isochronous endpoint
Start transfer in an OUT isochronous endpoint
®
®
, Mac OS
) and offers an open source solution.
®
). WinUSB does not support isochronous transfer
http://msdn.microsoft.com/en-
8481A-AVR-01/12

Advertisement

Table of Contents
loading

Table of Contents