AVR32111 Using the AVR32 PIO Controller Documentation

Atmel AVR32 Application Notes

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs in the software for application note AVR32101. It also gives an examples of the usage of the PIO driver

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 PIO module can be used. This example has been tested with the following setup:

Setup Information

CPU speed: 20 MHz

Application Usage

All three examples cover various use of the PIO controller and demonstrates different PIO functionality.

Example 1 is named rainbow lights. It's toggles the RGB-leds and displays the three base colors. You must connect a cable from J3 to RGB_LED in order to get the example working. To compile this with gcc the SRC variable in the Makefile must be set as follows:

Example 2 is named dip-switch lights. It's toggles the leds according to which corresponding dip-switch which is pressed. You must connect a cable from J3 to LED and J1 to SWITCH for the correct behaviour. To compile this with gcc the SRC variable in the Makefile must be set as follows:

Example 3 is named pins and pio connectivity. It demonstrates how different modules can have control over pins and how the pio controller itself can drive pins. To get this example working, You must connect a cable from J3 to LED. To compile this with gcc the SRC variable in the Makefile must be set as follows:

When recompiling a project, make sure to run make clean before recompiling

Contact Info

For more info about Atmel AVR32 visit Atmel AVR32
AVR32 Application Notes
Support mail: avr32@atmel.com
Generated on Wed May 31 07:46:55 2006 for AVR32111 Using the AVR32 PIO Controller by  doxygen 1.4.6