Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
EIC Example1 for EVK1100 Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the EIC driver. This documentation is also bundled with an example.

This example shows how to use an external interrupt to wake up the cpu when in sleep mode (static).
Operating mode:

  1. At the beginning, the CPU is set in the Static sleep mode.
  2. To leave the sleep mode, the user needs :
    • Press the Joystick on EVK1100
    • Press the pushbutton PB0 on EVK1101
    • Set PA20 low on EVK1104
    • Set PA29 low (press button PB1) on UC3C_EK
    • Set PA09 low on AT32UC3L-EK.
    • Press SWITCHES.SW0 (setup can be found in conf_example1) In normal mode (i.e. out of the sleep mode), the led LED0 toggles for a short while; the CPU is then switched back again into the Static sleep mode (back to step 1)...etc

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.

Device Info

All AVR32 devices with a EIC module can be used. This example has been tested with the following setup:

  • EVK1100 evaluation kit
  • EVK1101 evaluation kit
  • EVK1104 evaluation kit
  • UC3C_EK evaluation kit
  • STK600+RCUCD routing card;

Setup Information

CPU speed: Switch to oscillator external FOSC0.

Contact Information

For further information, visit Atmel AVR32.