AT90USBxxx Mouse demonstration
Use of this program is subject to Atmel's End User License Agreement.
Please read file lic_page for copyright notice.
- V2.0.5
Update license
- V2.0.4
USB Stack
- Secure the Attach process
Fix compilation error under GCC (add flash_drv.s file)
- V2.0.3
USB Stack
- Improve USB chap9 compliance
- V2.0.2
USB Stack
- Fix implementation of HID IDLE request
- V2.0.1
USB Stack
- Add three possibilities for SN on USB
- Move VBus interrupt to VBus pooling
- Fix USB constant about Device Status
New watchdog driver
Fixed Set/Clear prescaler
- V2.0.0
- First release
This embedded application source code illustrates how to implement a HID mouse application over the AT90USBxxx controller.
The sample code is delivered for STK526.
As illustrated in the figure bellow, the application entry point is located is the main.c file. The main function first performs the initialization of a scheduler module and then runs it in an infinite loop. The scheduler is a simple infinite loop calling all its tasks defined in the conf_scheduler.h file. No real time schedule is performed, when a task ends, the scheduler calls the next task defined in the configuration file (conf_scheduler.h).
The sample dual role application is based on two different tasks:
- The usb_task (usb_task.c associated source file), is the task performing the USB low level enumeration process in device mode.
- The mouse task performs mouse events decoding and report construction to the USB host.
Generated on Fri Sep 11 14:33:08 2009 for ATMEL by
1.5.3