]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RX200_RX231-RSK_Renesas_e2studio/src/cg_src/r_cg_vecttbl.c
FreeRTOS source:
[freertos] / FreeRTOS / Demo / RX200_RX231-RSK_Renesas_e2studio / src / cg_src / r_cg_vecttbl.c
1 /***********************************************************************************************************************\r
2 * DISCLAIMER\r
3 * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products.\r
4 * No other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all\r
5 * applicable laws, including copyright laws. \r
6 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIESREGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED\r
7 * OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
8 * NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY\r
9 * LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE FOR ANY DIRECT,\r
10 * INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR\r
11 * ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
12 * Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability \r
13 * of this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
14 * following link:\r
15 * http://www.renesas.com/disclaimer\r
16 *\r
17 * Copyright (C) 2015 Renesas Electronics Corporation. All rights reserved.\r
18 ***********************************************************************************************************************/\r
19 \r
20 /***********************************************************************************************************************\r
21 * File Name    : r_cg_vecttbl.c\r
22 * Version      : Code Generator for RX231 V1.00.00.03 [10 Jul 2015]\r
23 * Device(s)    : R5F52318AxFP\r
24 * Tool-Chain   : CCRX\r
25 * Description  : This file initializes the vector table.\r
26 * Creation Date: 23/09/2015\r
27 ***********************************************************************************************************************/\r
28 \r
29 /***********************************************************************************************************************\r
30 Pragma directive\r
31 ***********************************************************************************************************************/\r
32 /* Start user code for pragma. Do not edit comment generated here */\r
33 /* End user code. Do not edit comment generated here */\r
34 \r
35 /***********************************************************************************************************************\r
36 Includes\r
37 ***********************************************************************************************************************/\r
38 #include "r_cg_macrodriver.h"\r
39 #include "r_cg_vect.h"\r
40 #include "r_cg_userdefine.h"\r
41 \r
42 /***********************************************************************************************************************\r
43 Global variables and functions\r
44 ***********************************************************************************************************************/\r
45 \r
46  \r
47 #define OFS0_VAL 0xFFFFFFFFUL\r
48 #define OFS1_VAL 0xFFFFFFFFUL\r
49 \r
50 #pragma section C EXCEPTVECT\r
51 /* Start user code for adding. Do not edit comment generated here */\r
52 void (*const Excpt_Vectors[])(void) = {\r
53 /*;0xffffff80  MDE register */\r
54 #ifdef __BIG\r
55     /* Big endian */\r
56     (void (*)(void))0xfffffff8,\r
57 #else\r
58     /* Little endian */\r
59     (void (*)(void))0xffffffff,\r
60 #endif\r
61 /*;0xffffff84  Reserved */\r
62     r_reserved_exception,\r
63 /*;0xffffff88  OFS1 register */\r
64     (void (*) (void)) OFS1_VAL,\r
65 /*;0xffffff8c  OFS0 register */\r
66     (void (*) (void)) OFS0_VAL,\r
67 /*;0xffffff90  Reserved */\r
68     r_reserved_exception,\r
69 /*;0xffffff94  Reserved */\r
70     r_reserved_exception,\r
71 /*;0xffffff98  Reserved */\r
72     r_reserved_exception,\r
73 /*;0xffffff9c  Reserved */\r
74     r_reserved_exception,\r
75 /*;0xffffffa0  ID */\r
76     (void (*)(void))0xffffffff,\r
77 /*;0xffffffa4  ID */\r
78     (void (*)(void))0xffffffff,\r
79 /*;0xffffffa8  ID */\r
80     (void (*)(void))0xffffffff,\r
81 /*;0xffffffac  ID */\r
82     (void (*)(void))0xffffffff,\r
83 /*;0xffffffb0  Reserved */\r
84     r_reserved_exception,\r
85 /*;0xffffffb4  Reserved */\r
86     r_reserved_exception,\r
87 /*;0xffffffb8  Reserved */\r
88     r_reserved_exception,\r
89 /*;0xffffffbc  Reserved */\r
90     r_reserved_exception,\r
91 /*;0xffffffc0  Reserved */\r
92     r_reserved_exception,\r
93 /*;0xffffffc4  Reserved */\r
94     r_reserved_exception,\r
95 /*;0xffffffc8  Reserved */\r
96     r_reserved_exception,\r
97 /*;0xffffffcc  Reserved */\r
98     r_reserved_exception,\r
99 /*;0xffffffd0  Exception(Privileged Instruction) */\r
100     r_privileged_exception,\r
101 /*;0xffffffd4  Exception(Access) */\r
102     r_access_exception,\r
103 /*;0xffffffd8  Reserved */\r
104     r_reserved_exception,\r
105 /*;0xffffffdc  Exception(Undefined Instruction) */\r
106     r_undefined_exception,\r
107 /*;0xffffffe0  Reserved */\r
108     r_reserved_exception,\r
109 /*;0xffffffe4  Exception(Floating Point) */\r
110     r_floatingpoint_exception,\r
111 /*;0xffffffe8  Reserved */\r
112     r_reserved_exception,\r
113 /*;0xffffffec  Reserved */\r
114     r_reserved_exception,\r
115 /*;0xfffffff0  Reserved */\r
116     r_reserved_exception,\r
117 /*;0xfffffff4  Reserved */\r
118     r_reserved_exception,\r
119 /*;0xfffffff8  NMI */\r
120     r_nmi_exception,\r
121 };\r
122 /* End user code. Do not edit comment generated here */\r
123 \r
124 #pragma section C RESETVECT\r
125 void (*const Reset_Vectors[])(void) = {\r
126 /*;<<VECTOR DATA START (POWER ON RESET)>> */\r
127 /*;Power On Reset PC */\r
128     /*(void*)*/ PowerON_Reset_PC\r
129 /*;<<VECTOR DATA END (POWER ON RESET)>> */\r
130 };\r