Aim AVR7 User Manual

Browse online or download User Manual for Keyboards Aim AVR7. ASF - USB Device HID Keyboard Application

  • Download
  • Add to my manuals
  • Print
  • Page
    / 15
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Atmel AVR4904: ASF - USB Device HID
Keyboard Application
Features
USB 2.0 compliance
- Chapter 9 compliance
- USB HID compliance
- Low Speed (1.5Mbit/s), Full Speed (12Mbit/s) data rates
Standard USB HID keyboard implementation
- Key
- Modifier keys (shift, CTRL, …)
- LED report
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 keyboard
device application on a new or existing project.
Atmel
Microcontrollers
Application Note
Rev. 8446A-AVR-10/11
Page view 0
1 2 3 4 5 6 ... 14 15

Summary of Contents

Page 1 - 1 Introduction

Atmel AVR4904: ASF - USB Device HID Keyboard Application Features • USB 2.0 compliance - Chapter 9 compliance - USB HID compliance - Low Spe

Page 2

10 Atmel AVR4904 8446A-AVR-10/11 There is one configuration section for each USB modules: UDC, UDI and UDD. The UDC configuration possibilities are d

Page 3

Atmel AVR4904 118446A-AVR-10/11 NOTE In case of a new project, the USB stack requires to enable interrupts and to initialize the clock and sleepmgr

Page 4

12 Atmel AVR4904 8446A-AVR-10/11 6.3.3 USB keyboard control The USB HID keyboard functions described in Table 6-1 allow the application to control th

Page 5

Atmel AVR4904 138446A-AVR-10/11 7 Keyboard in a USB composite device The information required to build a composite device is available in the Atmel A

Page 6

14 Atmel AVR4904 8446A-AVR-10/11 8 Table of contents Features...

Page 7

8446A-AVR-10/11 Atmel Corporation 2325 Orcha

Page 8

2 Atmel AVR4904 8446A-AVR-10/11 2 Abbreviations ASF: AVR Software Framework CD: Composite Device: a USB device with more than one interface FS: US

Page 9

Atmel AVR4904 38446A-AVR-10/11 3 Overview This document includes four sections for all types of requirements when building a USB device HID keyboard

Page 10 - Atmel AVR4904

4 Atmel AVR4904 8446A-AVR-10/11 4 Quick start The USB device keyboard examples are available in Atmel AVR Studio® 5 and ASF. It provides a keyboard p

Page 11

Atmel AVR4904 58446A-AVR-10/11 Figure 4-1. Example with Atmel XMEGA® A3BU Xplained board. The user interface description (specific to the board) is

Page 12

6 Atmel AVR4904 8446A-AVR-10/11 5 Example description The Atmel AVR Software Framework (ASF) provides a USB device keyboard example for various Atmel

Page 13

Atmel AVR4904 78446A-AVR-10/11 Sequence_running = true; } // Sequence process running each 200ms if (200 > cpt_sof) { return; } cpt_sof = 0; i

Page 14

8 Atmel AVR4904 8446A-AVR-10/11 Figure 5-1. Example behavior sequence. Application udc start() UDC / UDI / UDD udc attach() VBus high UDI_HID_KBD_EN

Page 15

Atmel AVR4904 98446A-AVR-10/11 6 Building a USB device keyboard The USB device keyboard modules are available in Atmel AVR Studio 5 and can be import

Comments to this Manuals

No comments