AVR32 - GPIO Driver - Local Bus Interface Documentation

Introduction

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 local bus interface.

This interface operates with high clock frequency (fCPU), and its timing is deterministic since it does not need to access a shared bus which may be heavily loaded.

To use this interface, the clock frequency of the peripheral bus on which the GPIO peripheral is connected must be set to the CPU clock frequency (fPBx = fCPU).

The example toggles PA10 on each CPU clock cycle. The CPU is set at the maximal frequency at which instructions can be fetched from flash without wait states, i.e. 33 MHz for UC3A & UC3A3 & UC3B devices, 25MHz for UC3L devices. Hence, the pin signal frequency is:

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

Setup Information

Contact Information

For further information, visit Atmel AVR32.
Support and FAQ: http://support.atmel.no/

Generated on Fri Feb 19 02:25:03 2010 for AVR32 - GPIO Driver - Local Bus Interface by  doxygen 1.5.5