Microchip AVR16DU20 Handleiding


Bekijk gratis de handleiding van Microchip AVR16DU20 (233 pagina’s), behorend tot de categorie Niet gecategoriseerd. Deze gids werd als nuttig beoordeeld door 2 mensen en kreeg gemiddeld 4.4 sterren uit 1.5 reviews. Heb je een vraag over Microchip AVR16DU20 of wil je andere gebruikers van dit product iets vragen? Stel een vraag

Pagina 1/233
Draft User Guide
© 2024 Microchip Technology Inc. and its subsidiaries
DS50003697A - 1
Introducon
The USB Device Stack provides embedded application developers with a framework to design and develop
several USB devices. The USB Device Stack facilitates the development of standard USB devices through
function drivers that implement standard USB Device class specications. The stack is structured in layers,
where the Hardware Abstraction Layer (HAL) interacts with the USB peripherals and endpoints, the core
layer handles transactions between the HAL and the class layer, and the class layer handles the class-specic
interactions with the host.
The USB Device Stack is a part of the MPLAB
®
Code Congurator (MCC) Melody installation accompanied,
by example applications highlighting stack usage. These examples will also be modied or updated to build
custom applications.
The USB Device Stack features the following:
Support for dierent USB device classes (CDC, HID and Vendor)
Support for multiple congurations
Support for full-speed operation
Support for deferred control transfer responses
A completely non-blocking architecture
Support for both polled and interrupted operations
Support for Graphical User Interface (GUI) conguration through MCC
This document serves as a getting-started guide and provides information on the following:
USB Device Stack architecture
HID, CDC and Vendor Class examples with How-to guides
USB Device Stack - API documentation
USB Device Stack User Guide
USB Device Stack
USB Device Stack
Draft User Guide
© 2024 Microchip Technology Inc. and its subsidiaries
DS50003697A - 2
Table of Contents
Introduction...........................................................................................................................................................................1
1. USB Device Stack Acronyms and Abbreviations........................................................................................................ 3
2. USB Device Stack Architecture.....................................................................................................................................4
2.1. Hardware Abstraction Layer (HAL)...................................................................................................................4
2.2. Core Layer...........................................................................................................................................................4
2.3. Class Layer.......................................................................................................................................................... 5
3. User Guide......................................................................................................................................................................6
3.1. USB Stack Handling............................................................................................................................................6
3.2. HID Overview......................................................................................................................................................6
3.3. HID - How to use................................................................................................................................................ 6
3.4. HID Mouse - How to use................................................................................................................................... 7
3.5. HID Keyboard - How to use ..............................................................................................................................7
3.6. CDC Overview..................................................................................................................................................... 8
3.7. USB CDC - How to use ...................................................................................................................................... 8
3.8. CDC: Virtual Serial Port - How to use...............................................................................................................9
3.9. Vendor Overview..............................................................................................................................................10
3.10. Vendor - How to use........................................................................................................................................ 10
4. USB Device Stack API Documentation...................................................................................................................... 12
4.1. Project MISRA C:2012 deviations................................................................................................................... 12
4.2. Specic MISRA C:2012 deviations.................................................................................................................. 12
4.3. Supported MISRA C:2012 Rules..................................................................................................................... 13
4.4. Module Documentation.................................................................................................................................. 17
4.5. Data Structure Documentation....................................................................................................................121
4.6. File Documentation....................................................................................................................................... 143
5. Document Revision History..................................................................................................................................... 229
5.1. Revision History............................................................................................................................................. 229
Microchip Information..................................................................................................................................................... 230
The Microchip Website............................................................................................................................................. 230
Product Change Notication Service...................................................................................................................... 230
Customer Support.................................................................................................................................................... 230
Microchip Devices Code Protection Feature..........................................................................................................230
Legal Notice............................................................................................................................................................... 230
Trademarks................................................................................................................................................................ 231
Quality Management System.................................................................................................................................. 232
Worldwide Sales and Service...................................................................................................................................233


Product specificaties

Merk: Microchip
Categorie: Niet gecategoriseerd
Model: AVR16DU20

Heb je hulp nodig?

Als je hulp nodig hebt met Microchip AVR16DU20 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden