Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
EIC Example3 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 the SCAN KEYPAD interface. It is not straightforward to access this feature on the EVKs. Thus, an external connection should be done using wires between EXTINT lines and SCAN lines. Operating mode: In order to get key_number decoded, user should establish manual connection(using the extension connectors zone) between SCAN lines and EXTINT lines, as indicated in the arrays here below. As long as a key is "pressed", its associated LED is on.

Rows & columns view on the EVK1100
SCAN 0(PA25) SCAN 1(PA26)
EXTINT 6(PA10) Key 1 -> LED1 Key 2 -> LED2
EXTINT 7(PA08) Key 3 -> LED3 Key 4 -> LED4
Rows & columns view on the EVK1101
SCAN 4(PB06) SCAN 5(PB07)
EXTINT 6(PB02) Key 1 -> LED1 Key 2 -> LED2
EXTINT 7(PB03) Key 3 -> LED3 Key 4 -> LED4
Rows & columns view on the EVK1104
SCAN 0(PX19) SCAN 1(PX20)
EXTINT 6(PA09) Key 1 Key 2
EXTINT 7(PA13) Key 3 Key 4

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 on the following boards:

  • EVK1100 evaluation kit
  • EVK1101 evaluation kit
  • EVK1104 evaluation kit

Setup Information

CPU speed: Switch to oscillator external OSC0 = 12 MHz.

Contact Information

For further information, visit Atmel AVR32.