AVR Software Framework: AVR XMEGA PMIC driver
Copyright © 2010 Atmel Corporation
Introduction
The Programmable Multilevel Interrupt Controller (PMIC) provides functions for management of the interrupt levels, scheduling and vector location.
PMIC Driver
This driver helps the user interface the PMIC module without directly accessing the registers.
PMIC Driver Example
There is one example included in this framework and it support both GCC and IAR: