]> git.sur5r.net Git - freertos/blobdiff - Demo/AVR32_UC3/DRIVERS/INTC/intc.h
Removed outdated AVR32 demo.
[freertos] / Demo / AVR32_UC3 / DRIVERS / INTC / intc.h
diff --git a/Demo/AVR32_UC3/DRIVERS/INTC/intc.h b/Demo/AVR32_UC3/DRIVERS/INTC/intc.h
deleted file mode 100644 (file)
index 93ecef4..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-/*This file is prepared for Doxygen automatic documentation generation.*/\r
-/*! \file *********************************************************************\r
- *\r
- * \brief INTC driver for AVR32 UC3.\r
- *\r
- * AVR32 Interrupt Controller driver module.\r
- *\r
- * - Compiler:           IAR EWAVR32 and GNU GCC for AVR32\r
- * - Supported devices:  All AVR32 devices with an INTC module can be used.\r
- * - AppNote:\r
- *\r
- * \author               Atmel Corporation: http://www.atmel.com \n\r
- *                       Support and FAQ: http://support.atmel.no/\r
- *\r
- ******************************************************************************/\r
-\r
-/* Copyright (c) 2007, Atmel Corporation All rights reserved.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions are met:\r
- *\r
- * 1. Redistributions of source code must retain the above copyright notice,\r
- * this list of conditions and the following disclaimer.\r
- *\r
- * 2. Redistributions in binary form must reproduce the above copyright notice,\r
- * this list of conditions and the following disclaimer in the documentation\r
- * and/or other materials provided with the distribution.\r
- *\r
- * 3. The name of ATMEL may not be used to endorse or promote products derived\r
- * from this software without specific prior written permission.\r
- *\r
- * THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS OR IMPLIED\r
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\r
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY AND\r
- * SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,\r
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\r
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\r
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\r
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
- */\r
-\r
-\r
-#ifndef _INTC_H_\r
-#define _INTC_H_\r
-\r
-#include "compiler.h"\r
-\r
-\r
-//! Maximal number of interrupt request lines per group.\r
-#define AVR32_INTC_MAX_NUM_IRQS_PER_GRP             32\r
-\r
-//! Number of interrupt priority levels.\r
-#define AVR32_INTC_NUM_INT_LEVELS                   (1 << AVR32_INTC_IPR0_INTLEV_SIZE)\r
-\r
-/*! \name Interrupt Priority Levels\r
- */\r
-//! @{\r
-#define INT0          0 //!< Lowest interrupt priority level.\r
-#define INT1          1\r
-#define INT2          2\r
-#define INT3          3 //!< Highest interrupt priority level.\r
-//! @}\r
-\r
-\r
-#ifdef __AVR32_ABI_COMPILER__ // Automatically defined when compiling for AVR32, not when assembling.\r
-\r
-//! Pointer to interrupt handler.\r
-#if __GNUC__\r
-typedef void (*__int_handler)(void);\r
-#elif __ICCAVR32__\r
-typedef void (__interrupt *__int_handler)(void);\r
-#endif\r
-\r
-\r
-/*! \brief Initializes the hardware interrupt controller driver.\r
- *\r
- * \note Taken and adapted from Newlib.\r
- */\r
-extern void INTC_init_interrupts(void);\r
-\r
-/*! \brief Registers an interrupt handler.\r
- *\r
- * \param handler Interrupt handler to register.\r
- * \param irq     IRQ of the interrupt handler to register.\r
- * \param int_lev Interrupt priority level to assign to the group of this IRQ.\r
- *\r
- * \warning The interrupt handler must manage the `rete' instruction, what can\r
- *          be done thanks to pure assembly, inline assembly or the\r
- *          `__attribute__((__interrupt__))' C function attribute.\r
- *\r
- * \warning If several interrupt handlers of a same group are registered with\r
- *          different priority levels, only the latest priority level set will\r
- *          be effective.\r
- *\r
- * \note Taken and adapted from Newlib.\r
- */\r
-extern void INTC_register_interrupt(__int_handler handler, unsigned int irq, unsigned int int_lev);\r
-\r
-#endif  // __AVR32_ABI_COMPILER__\r
-\r
-\r
-#endif  // _INTC_H_\r