]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/GCC/inc/r_system.h
FreeRTOS source:
[freertos] / FreeRTOS / Demo / CORTEX_R4F_RZ_T_GCC_IAR / System / GCC / inc / r_system.h
1 /***********************************************************************************************************************\r
2 * DISCLAIMER\r
3 * This software is supplied by Renesas Electronics Corporation and is only\r
4 * intended for use with Renesas products. No other uses are authorized. This\r
5 * software is owned by Renesas Electronics Corporation and is protected under\r
6 * all applicable laws, including copyright laws.\r
7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT\r
9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\r
10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.\r
11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS\r
12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE\r
13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR\r
14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE\r
15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
16 * Renesas reserves the right, without notice, to make changes to this software\r
17 * and to discontinue the availability of this software. By using this software,\r
18 * you agree to the additional terms and conditions found by accessing the\r
19 * following link:\r
20 * http://www.renesas.com/disclaimer\r
21 *\r
22 * Copyright (C) 2014 Renesas Electronics Corporation. All rights reserved.\r
23 ***********************************************************************************************************************/\r
24 /***********************************************************************************************************************\r
25 * System Name  : RZ/T1 Init program\r
26 * File Name    : r_system.h\r
27 * Version      : 0.1\r
28 * Device       : R7S910018\r
29 * Abstract     : Definitions for System\r
30 * Tool-Chain   : GNUARM-NONEv14.02-EABI\r
31 * OS           : not use\r
32 * H/W Platform : Renesas Starter Kit for RZ/T1(Preliminary)\r
33 * Description  : Define the system settings ans value.\r
34 * Limitation   : none\r
35 ***********************************************************************************************************************/\r
36 /***********************************************************************************************************************\r
37 * History      : DD.MM.YYYY Version  Description\r
38 *              : 21.05.2015 1.00     First Release\r
39 ***********************************************************************************************************************/\r
40 \r
41 #ifndef _R_SYSTEM_HEADER_\r
42 #define _R_SYSTEM_HEADER_\r
43 \r
44 /***********************************************************************************************************************\r
45 Macro definitions\r
46 ***********************************************************************************************************************/\r
47 \r
48 #define MSTP_CMTW1      SYSTEM.MSTPCRA.BIT.MSTPCRA0\r
49 #define MSTP_CMTW0      SYSTEM.MSTPCRA.BIT.MSTPCRA1\r
50 #define MSTP_CMT2       SYSTEM.MSTPCRA.BIT.MSTPCRA2\r
51 #define MSTP_CMT1       SYSTEM.MSTPCRA.BIT.MSTPCRA3\r
52 #define MSTP_CMT0       SYSTEM.MSTPCRA.BIT.MSTPCRA4\r
53 #define MSTP_PPG1       SYSTEM.MSTPCRA.BIT.MSTPCRA5\r
54 #define MSTP_PPG0       SYSTEM.MSTPCRA.BIT.MSTPCRA6\r
55 #define MSTP_TPU1       SYSTEM.MSTPCRA.BIT.MSTPCRA7\r
56 #define MSTP_TPU0       SYSTEM.MSTPCRA.BIT.MSTPCRA8\r
57 #define MSTP_GPTA       SYSTEM.MSTPCRA.BIT.MSTPCRA9\r
58 #define MSTP_MTU3       SYSTEM.MSTPCRA.BIT.MSTPCRA11\r
59 \r
60 #define MSTP_RSCAN      SYSTEM.MSTPCRB.BIT.MSTPCRB1\r
61 #define MSTP_RIIC1      SYSTEM.MSTPCRB.BIT.MSTPCRB2\r
62 #define MSTP_RIIC0      SYSTEM.MSTPCRB.BIT.MSTPCRB3\r
63 #define MSTP_SCIFA4     SYSTEM.MSTPCRB.BIT.MSTPCRB5\r
64 #define MSTP_SCIFA3     SYSTEM.MSTPCRB.BIT.MSTPCRB6\r
65 #define MSTP_SCIFA2     SYSTEM.MSTPCRB.BIT.MSTPCRB7\r
66 #define MSTP_SCIFA1     SYSTEM.MSTPCRB.BIT.MSTPCRB8\r
67 #define MSTP_SCIFA0     SYSTEM.MSTPCRB.BIT.MSTPCRB9\r
68 #define MSTP_RSPI3      SYSTEM.MSTPCRB.BIT.MSTPCRB10\r
69 #define MSTP_RSPI2      SYSTEM.MSTPCRB.BIT.MSTPCRB11\r
70 #define MSTP_RSPI1      SYSTEM.MSTPCRB.BIT.MSTPCRB12\r
71 #define MSTP_RSPI0      SYSTEM.MSTPCRB.BIT.MSTPCRB13\r
72 #define MSTP_ETHERSW    SYSTEM.MSTPCRB.BIT.MSTPCRB14\r
73 #define MSTP_ECATC      SYSTEM.MSTPCRB.BIT.MSTPCRB15\r
74 #define MSTP_EMDIO      SYSTEM.MSTPCRB.BIT.MSTPCRB16\r
75 #define MSTP_ERMII      SYSTEM.MSTPCRB.BIT.MSTPCRB17\r
76 #define MSTP_HWRTOS     SYSTEM.MSTPCRB.BIT.MSTPCRB18\r
77 #define MSTP_CLKOUT25M  SYSTEM.MSTPCRB.BIT.MSTPCRB19\r
78 \r
79 #define MSTP_USB        SYSTEM.MSTPCRC.BIT.MSTPCRC1\r
80 #define MSTP_DSMIF      SYSTEM.MSTPCRC.BIT.MSTPCRC2\r
81 #define MSTP_TEMPS      SYSTEM.MSTPCRC.BIT.MSTPCRC3\r
82 #define MSTP_S12ADC1    SYSTEM.MSTPCRC.BIT.MSTPCRC4\r
83 #define MSTP_S12ADC0    SYSTEM.MSTPCRC.BIT.MSTPCRC5\r
84 #define MSTP_ELC        SYSTEM.MSTPCRC.BIT.MSTPCRC6\r
85 #define MSTP_BSC        SYSTEM.MSTPCRC.BIT.MSTPCRC7\r
86 #define MSTP_CKIO       SYSTEM.MSTPCRC.BIT.MSTPCRC8\r
87 #define MSTP_SPIBSC     SYSTEM.MSTPCRC.BIT.MSTPCRC9\r
88 #define MSTP_DOC        SYSTEM.MSTPCRC.BIT.MSTPCRC10\r
89 #define MSTP_CRC        SYSTEM.MSTPCRC.BIT.MSTPCRC11\r
90 #define MSTP_CLMA2      SYSTEM.MSTPCRC.BIT.MSTPCRC12\r
91 #define MSTP_CLMA1      SYSTEM.MSTPCRC.BIT.MSTPCRC13\r
92 #define MSTP_CLMA0      SYSTEM.MSTPCRC.BIT.MSTPCRC14\r
93 \r
94 #define MSTP_SSI        SYSTEM.MSTPCRD.BIT.MSTPCRD2\r
95 \r
96 #define MSTP_DMAC1      SYSTEM.MSTPCRE.BIT.MSTPCRE4\r
97 #define MSTP_DMAC0      SYSTEM.MSTPCRE.BIT.MSTPCRE5\r
98 \r
99 #define MSTP_CORESIGHT  SYSTEM.MSTPCRF.BIT.MSTPCRF0\r
100 \r
101 #define __MSTP( x )             MSTP ## x\r
102 #define  _MSTP( x )             __MSTP( x )\r
103 #define   MSTP( x )             _MSTP( _ ## x )\r
104 \r
105 /***********************************************************************************************************************\r
106 Typedef definitions\r
107 ***********************************************************************************************************************/\r
108 \r
109 /***********************************************************************************************************************\r
110 Exported global variables and functions (to be accessed by other files)\r
111 ***********************************************************************************************************************/\r
112 \r
113 /* End _R_SYSTEM_HEADER_ */\r
114 #endif\r
115 \r
116 /* End of File */\r