Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Timeout example 1 for XMEGA A1 Xplained Documentation

Introduction

This simple example shows how to use the Timeout service XMEGA to toggle 4-8 LEDs (depending on the board) at different speeds.

Main files

Timeout service

The timeout service can be found here.

Device Info

All XMEGA devices with RTC or RTC32 can be used

Description of the example

The example will configure a tick speed of 4 Hz and use 4/8 different periodic timeouts channels to toggle 4/8 different LEDs at different speeds.

Compilation Info

This software was written for the GNU GCC for AVR. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/