AVR32 UC3 - EIC Driver Example 1 Documentation
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:
- At the beginning, the CPU is set in the Static sleep mode.
- The user needs to press the Joystick (on EVK1100), PB0 (on EVK1101), PA20 (on EVK1104) or PA29 (on UC3C_EK) to leave the sleep mode. 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
- Note:
- on EVK1101 Rev. B, PB0 is named PB2.
This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.
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
CPU speed:
Switch to oscillator external FOSC0.
For further information, visit
Atmel AVR32.
Support and FAQ:
http://support.atmel.no/