AT90USBxxx Mouse demonstration

License

Use of this program is subject to Atmel's End User License Agreement.

Please read file lic_page for copyright notice.

Description

This embedded application source code illustrates how to implement a HID mouse application over the AT90USBxxx controller.

About the sample application

By default the sample code is delivered configured for STK525, but this sample application can be configured for STK525, STK600 or AT90USBKey hardware, see TARGET_BOARD define value in config.h file.

About the source code

This source code is usable with the following compilers:

Support for other compilers may required modifications or attention for:

Revision

V2.0.6
USB Device:

V2.0.5
USB Stack

V2.0.4
USB Stack

V2.0.3
USB Stack

Fix error on DataFlash I/O initialization

V2.0.2
USB Stack

New watchdog driver

V2.0.1 and before
Old versions

Architecture

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:

arch_full.gif

Generated on Mon Sep 14 13:21:26 2009 for ATMEL by  doxygen 1.5.3