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.
SCAN 0(PA25) | SCAN 1(PA26) | |
EXTINT 6(PA10) | Key 1 -> LED1 | Key 2 -> LED2 |
EXTINT 7(PA08) | Key 3 -> LED3 | Key 4 -> LED4 |
SCAN 4(PB06) | SCAN 5(PB07) | |
EXTINT 6(PB02) | Key 1 -> LED1 | Key 2 -> LED2 |
EXTINT 7(PB03) | Key 3 -> LED3 | Key 4 -> LED4 |
SCAN 0(PX19) | SCAN 1(PX20) | |
EXTINT 6(PA09) | Key 1 | Key 2 |
EXTINT 7(PA13) | Key 3 | Key 4 |
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 on the following boards:
CPU speed: Switch to oscillator external OSC0 = 12 MHz.
For further information, visit Atmel AVR32.