pio_it.h
Default mainpageat91libperipheralspiopio_it.h
Description Overview  
Description
Purpose
Configuration and handling of interrupts on PIO status changes. The API provided here have several advantages over the traditional PIO interrupt configuration approach:
However, it also has several minor drawbacks that may prevent from using it in particular applications:
Usage
  1. Initialize the PIO interrupt mechanism using PIO_InitializeInterrupts() with the desired priority (0 ... 7).
  2. Configure a status change interrupt on one or more pin(s) with PIO_ConfigureIt().
  3. Enable & disable interrupts on pins using PIO_EnableIt() and PIO_DisableIt().