Atmel AVR4901 Instrucciones de instalación y funcionamiento

Atmel AVR4901: ASF - USB Vendor Class
Application
Features
• USB 2.0 compliance
- Chapter 9 compliance
- Full Speed (12Mbit/s), High Speed (480Mbit/s) data rates
• Control, Bulk, Isochronous and Interrupt transfer types
• Small stack size frees space for main application
• Remote wakeup support
• USB bus powered support
• Real time (O.S. compliance, interrupt driven)
• Support 8-bit and 32-bit AVR®
1 Introduction
The aim of this document is to provide an easy way to integrate a USB vendor
class application on a new or existing project.
8-/32-bit Atmel
Microcontrollers
Application Note
Rev. 8481A-AVR-01/12

2 Atmel AVR49011
8481A-AVR-01/12
2 Abbreviations
ASF: AVR Software Framework
CD: Composite Device: a USB device with more than one interface
CDC: Communication Device Class
FS: USB Full Speed
HID: Human Interface Device
HS: USB High Speed
LS: USB Low Speed
MSC: Mass Storage Class
UDC: USB device Controller
UDD: USB device Descriptor
UDI: USB device Interface
USB: Universal Serial Bus
SOF: Start of Frame

Atmel AVR49011
3
8481A-AVR-01/12
3 Overview
This document includes six sections for all types of requirements when building a
USB device vendor application:
•Vendor class Specification
Provides information to help users with the vendor class specification and when
they need such solution
•Quick start
Describes how to start a ready to use vendor class device example
•Example description
Describes a vendor class device example
•Building a USB device vendor
Describes how to add a USB device vendor interface in a project
•Building a USB vendor class application
Describes how to add a USB vendor class application
•Vendor class in a USB composite device
Describes how to integrate a vendor class interface in a composite device project
For all these sections, it is recommended to know the main modules organization of a
vendor class application:
•User Application
•USB device Interface VENDOR (UDI-VENDOR)
•USB device Controller (UDC)
•USB device Driver (UDD)
For more advanced information concerning the USB stack implementation, please
refer to the Atmel®AVR4900 ASF USB Device stack application note.
Figure 3-1. USB vendor class solution architecture.
NOTE The USB device stack is available in the ASF in the common/services/usb directory.
UDD
UDC UDI – VENDOR
Application
USB Device stack from the ASF