Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
GPIO Peripheral Bus Example for AVR Simulator Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the GPIO driver.

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 example covers various uses of the GPIO controller and demonstrates different GPIO functionalities using the peripheral bus interface. Example's operating mode:

  1. Place breakpoint in gpio_tgl_gpio_pin() function in ISR
  2. Open IO view and watch the value change in PVR and OVR

Main Files

Compilation Info

This software was written for the GNU GCC for AVR32.

Device Info

All AVR Simulator supported AVR32 devices with a GPIO module can be used. This example has been tested with the following setup:

  • AVR Studio 5.0 AVR Simulator

Setup Information

CPU speed: Internal RC oscillator (about 115200 Hz) .

Contact Information

For further information, visit Atmel AVR32.