]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/src/cg_src/r_cg_interrupthandlers.h
Baseline new GCC and Renesas compiler projects for RX71M and RX113 before adding...
[freertos] / FreeRTOS / Demo / CORTEX_R4F_RZ_T_GCC_IAR_ARM / src / cg_src / r_cg_interrupthandlers.h
index 625caf07009340d68ce85507f676c177d4e8a7fe..2f0f9357c3a264afa90231f5a98efe22bbbb42e2 100644 (file)
@@ -2,15 +2,15 @@
 * DISCLAIMER\r
 * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products.\r
 * No other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all\r
-* applicable laws, including copyright laws. \r
+* applicable laws, including copyright laws.\r
 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIESREGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED\r
 * OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
 * NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY\r
 * LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE FOR ANY DIRECT,\r
 * INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR\r
 * ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
-* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability \r
-* of this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability\r
+* of this software. By using this software, you agree to the additional terms and conditions found by accessing the\r
 * following link:\r
 * http://www.renesas.com/disclaimer\r
 *\r
@@ -44,40 +44,36 @@ Typedef definitions
 Global functions\r
 ***********************************************************************************************************************/\r
 /* FIQ exception handler */\r
-void r_fiq_handler(void) __attribute__((interrupt ("FIQ")));\r
+#ifdef __ICCARM__\r
+       __irq __arm void r_fiq_handler(void);\r
 \r
-/* ICU IRQ12 */\r
-void r_icu_irq12_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* ICU IRQ12 */\r
+       __irq __arm void r_icu_irq12_interrupt(void);\r
 \r
-/* ADC Unit0 S12ADI0 */\r
-void r_s12ad_s12adi0_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* RSPI1 SPTI1 */\r
+       __irq __arm void r_rspi1_transmit_interrupt(void);\r
 \r
-/* RSPI1 SPTI1 */\r
-void r_rspi1_transmit_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* RSPI1 SPEI1 */\r
+       __irq __arm void r_rspi1_error_interrupt(void);\r
 \r
-/* RSPI1 SPEI1 */\r
-void r_rspi1_error_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* RSPI1 SPII1 */\r
+       __irq __arm void r_rspi1_idle_interrupt(void);\r
+#endif /* __ICCARM__ */\r
 \r
-/* RSPI1 SPII1 */\r
-void r_rspi1_idle_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+#ifdef __GNUC__\r
+       void r_fiq_handler(void) __attribute__((interrupt ("FIQ")));\r
 \r
-/* SCIFA TXIF2 */\r
-void r_scifa2_txif2_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* ICU IRQ12 */\r
+       void r_icu_irq12_interrupt(void) __attribute__((interrupt ("IRQ")));\r
 \r
-/* SCIFA DRIF2 */\r
-void r_scifa2_drif2_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* RSPI1 SPTI1 */\r
+       void r_rspi1_transmit_interrupt(void) __attribute__((interrupt ("IRQ")));\r
 \r
-/* SCIFA RXIF2 */\r
-void r_scifa2_rxif2_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* RSPI1 SPEI1 */\r
+       void r_rspi1_error_interrupt(void) __attribute__((interrupt ("IRQ")));\r
 \r
-/* SCIFA BRIF2 */\r
-void r_scifa2_brif2_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+       /* RSPI1 SPII1 */\r
+       void r_rspi1_idle_interrupt(void) __attribute__((interrupt ("IRQ")));\r
+#endif /* __GNUC__ */\r
 \r
-/* CMT CMI4 */\r
-void r_cmt_cmi4_interrupt(void) __attribute__((interrupt ("IRQ")));\r
-\r
-/* CMT CMI5 */\r
-void r_cmt_cmi5_interrupt(void) __attribute__((interrupt ("IRQ")));\r
-\r
-\r
-#endif
\ No newline at end of file
+#endif\r