Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Common IOPORT service example 2 for SAME70 Xplained Documentation

Introduction

This example demonstrates how to use the common IOPORT service for pin control.

Main Files

services/ioport/ioport.h

The common IOPORT service is described in Common IOPORT API section.

Device Info

All Atmel SAM, MEGA, XMEGA and UC3 devices can be used. This example has been tested with the following setup:

  • Xplain evaluation kit
  • EVK1100 evaluation kit
  • SAM3X evaluation kit
  • SAM4L evaluation kit
  • SAM4L Xplained Pro kit
  • SAM4L8 Xplained Pro kit
  • SAM4E evaluation kit
  • SAM4N Xplained Pro kit
  • STK600 evaluation Kit (Tested with STK600-ATMEGA128RFA1)
  • ATmega256RFR2 Xplained Pro kit
  • SAM4C evaluation kit
  • SAMG53 Xplained Pro kit
  • SAMG55 Xplained Pro kit
  • SAMV71 Xplained Ultra kit
  • SAME70 Xplained Pro kit

Description of the example

This example flashes a single LEDs present with flash speed of 1Hz.

Additionally a pin input can inspected from a debug session.

Compilation Info

This software was written for the GNU GCC and IAR for SAM and AVR. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/