AVR32 - PIO Driver Documentation
This is the documentation for the data structures, functions, variables, defines, enums, and typedefs in the software for application note AVR32111. It also gives an examples of the usage of the PIO driver
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 PIO module can be used. This example has been tested with the following setup:
- STK1000 development kit
- AP7000 top board for STK1000 development kit
CPU speed:
20 MHz
- The header SW6 must be jumped to GPIO for the signals to be routed correctly
- The header SW4 must be jumped to GPIO for the signals to be routed correctly
The example is 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 J25 for the correct behaviour.
When recompiling a project, make sure to run make clean before recompiling
For more info about Atmel AVR32 visit
Atmel AVR32
AVR32 Application Notes
Support mail:
avr32@atmel.com