AVR32 - Cycle Counter Driver Documentation

Introduction

This documents gives an example of the usage of the CPU Cycle counter. The cycle counter is a COUNT register, that increments once every clock. The count register can be used together with the COMPARE register to create a timer with interrupt functionality. The COMPARE register holds a value that the COUNT register is compared against. When the COMPARE and COUNT registers match, a compare interrupt request is generated and COUNT is reset to 0.

Example's Operating Mode

This example shows how to use the COUNT register together with the COMPARE register to generate an interrupt periodically. Here is the operating mode of the example:

Main Files

Compilation Info

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.

Configuration Information

This example has been tested with the following configuration:

Contact Information

For further information, visit Atmel AVR32.
Support and FAQ: http://support.atmel.no/

Generated on Fri Feb 19 02:24:24 2010 for AVR32 - Cycle Counter Driver by  doxygen 1.5.5