This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the GPIO driver.
The General Purpose Input/Output manages the I/O pins of the microcontroller. Each I/O line may be dedicated as a general-purpose I/O or be assigned to a function of an embedded peripheral. This assures effective optimization of the pins of a product.
The given example covers various uses of the GPIO controller and demonstrates different GPIO functionalities using the peripheral bus interface. It uses a LED and a button.
This interface operates with lower clock frequencies (fPB <= fCPU), and its timing is not deterministic since it needs to access a shared bus which may be heavily loaded.
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 GPIO module can be used. This example has been tested with the following setup:
CPU speed: Internal RC oscillator (about 115200 Hz) .
For further information, visit Atmel AVR32.