]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/IAR/inc/r_system.h
FreeRTOS source:
[freertos] / FreeRTOS / Demo / CORTEX_R4F_RZ_T_GCC_IAR / System / IAR / inc / r_system.h
diff --git a/FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/IAR/inc/r_system.h b/FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/IAR/inc/r_system.h
new file mode 100644 (file)
index 0000000..9278ef2
--- /dev/null
@@ -0,0 +1,116 @@
+/*******************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only\r
+* intended for use with Renesas products. No other uses are authorized. This\r
+* software is owned by Renesas Electronics Corporation and is protected under\r
+* all applicable laws, including copyright laws.\r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT\r
+* LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\r
+* AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.\r
+* TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS\r
+* ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE\r
+* FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR\r
+* ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE\r
+* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software\r
+* and to discontinue the availability of this software. By using this software,\r
+* you agree to the additional terms and conditions found by accessing the\r
+* following link:\r
+* http://www.renesas.com/disclaimer\r
+*\r
+* Copyright (C) 2014 Renesas Electronics Corporation. All rights reserved.\r
+*******************************************************************************/\r
+/*******************************************************************************\r
+* System Name  : RZ/T1 Init program\r
+* File Name    : r_system.h\r
+* Version      : 0.1\r
+* Device       : R7S9100xx\r
+* Abstract     : Definition for System\r
+* Tool-Chain   : IAR Embedded Workbench Ver.7.20\r
+* OS           : not use\r
+* H/W Platform : Renesas Starter Kit for RZ/T1(Preliminary)\r
+* Description  : Define the system settings ans value.\r
+* Limitation   : none\r
+*******************************************************************************/\r
+/*******************************************************************************\r
+* History      : DD.MM.YYYY Version  Description\r
+*              :                     First Release\r
+*******************************************************************************/\r
+\r
+#ifndef _R_SYSTEM_HEADER_\r
+#define _R_SYSTEM_HEADER_\r
+\r
+/*******************************************************************************\r
+Macro definitions\r
+*******************************************************************************/\r
+\r
+#define MSTP_CMTW1      SYSTEM.MSTPCRA.BIT.MSTPCRA0\r
+#define MSTP_CMTW0      SYSTEM.MSTPCRA.BIT.MSTPCRA1\r
+#define MSTP_CMT2       SYSTEM.MSTPCRA.BIT.MSTPCRA2\r
+#define MSTP_CMT1       SYSTEM.MSTPCRA.BIT.MSTPCRA3\r
+#define MSTP_CMT0       SYSTEM.MSTPCRA.BIT.MSTPCRA4\r
+#define MSTP_PPG1       SYSTEM.MSTPCRA.BIT.MSTPCRA5\r
+#define MSTP_PPG0       SYSTEM.MSTPCRA.BIT.MSTPCRA6\r
+#define MSTP_TPU1       SYSTEM.MSTPCRA.BIT.MSTPCRA7\r
+#define MSTP_TPU0       SYSTEM.MSTPCRA.BIT.MSTPCRA8\r
+#define MSTP_GPTA       SYSTEM.MSTPCRA.BIT.MSTPCRA9\r
+#define MSTP_MTU3       SYSTEM.MSTPCRA.BIT.MSTPCRA11\r
+\r
+#define MSTP_RSCAN      SYSTEM.MSTPCRB.BIT.MSTPCRB1\r
+#define MSTP_RIIC1      SYSTEM.MSTPCRB.BIT.MSTPCRB2\r
+#define MSTP_RIIC0      SYSTEM.MSTPCRB.BIT.MSTPCRB3\r
+#define MSTP_SCIFA4     SYSTEM.MSTPCRB.BIT.MSTPCRB5\r
+#define MSTP_SCIFA3     SYSTEM.MSTPCRB.BIT.MSTPCRB6\r
+#define MSTP_SCIFA2     SYSTEM.MSTPCRB.BIT.MSTPCRB7\r
+#define MSTP_SCIFA1     SYSTEM.MSTPCRB.BIT.MSTPCRB8\r
+#define MSTP_SCIFA0     SYSTEM.MSTPCRB.BIT.MSTPCRB9\r
+#define MSTP_RSPI3      SYSTEM.MSTPCRB.BIT.MSTPCRB10\r
+#define MSTP_RSPI2      SYSTEM.MSTPCRB.BIT.MSTPCRB11\r
+#define MSTP_RSPI1      SYSTEM.MSTPCRB.BIT.MSTPCRB12\r
+#define MSTP_RSPI0      SYSTEM.MSTPCRB.BIT.MSTPCRB13\r
+#define MSTP_ETHERSW    SYSTEM.MSTPCRB.BIT.MSTPCRB14\r
+#define MSTP_ECATC      SYSTEM.MSTPCRB.BIT.MSTPCRB15\r
+#define MSTP_EMDIO      SYSTEM.MSTPCRB.BIT.MSTPCRB16\r
+#define MSTP_ERMII      SYSTEM.MSTPCRB.BIT.MSTPCRB17\r
+#define MSTP_HWRTOS     SYSTEM.MSTPCRB.BIT.MSTPCRB18\r
+#define MSTP_CLKOUT25M  SYSTEM.MSTPCRB.BIT.MSTPCRB19\r
+\r
+#define MSTP_USB        SYSTEM.MSTPCRC.BIT.MSTPCRC1\r
+#define MSTP_DSMIF      SYSTEM.MSTPCRC.BIT.MSTPCRC2\r
+#define MSTP_TEMPS      SYSTEM.MSTPCRC.BIT.MSTPCRC3\r
+#define MSTP_S12ADC1    SYSTEM.MSTPCRC.BIT.MSTPCRC4\r
+#define MSTP_S12ADC0    SYSTEM.MSTPCRC.BIT.MSTPCRC5\r
+#define MSTP_ELC        SYSTEM.MSTPCRC.BIT.MSTPCRC6\r
+#define MSTP_BSC        SYSTEM.MSTPCRC.BIT.MSTPCRC7\r
+#define MSTP_CKIO       SYSTEM.MSTPCRC.BIT.MSTPCRC8\r
+#define MSTP_SPIBSC     SYSTEM.MSTPCRC.BIT.MSTPCRC9\r
+#define MSTP_DOC        SYSTEM.MSTPCRC.BIT.MSTPCRC10\r
+#define MSTP_CRC        SYSTEM.MSTPCRC.BIT.MSTPCRC11\r
+#define MSTP_CLMA2      SYSTEM.MSTPCRC.BIT.MSTPCRC12\r
+#define MSTP_CLMA1      SYSTEM.MSTPCRC.BIT.MSTPCRC13\r
+#define MSTP_CLMA0      SYSTEM.MSTPCRC.BIT.MSTPCRC14\r
+\r
+#define MSTP_SSI        SYSTEM.MSTPCRD.BIT.MSTPCRD2\r
+\r
+#define MSTP_DMAC1      SYSTEM.MSTPCRE.BIT.MSTPCRE4\r
+#define MSTP_DMAC0      SYSTEM.MSTPCRE.BIT.MSTPCRE5\r
+\r
+#define MSTP_CORESIGHT  SYSTEM.MSTPCRF.BIT.MSTPCRF0\r
+\r
+#define        __MSTP( x )             MSTP ## x\r
+#define         _MSTP( x )             __MSTP( x )\r
+#define          MSTP( x )             _MSTP( _ ## x )\r
+\r
+/*******************************************************************************\r
+Typedef definitions\r
+*******************************************************************************/\r
+\r
+/*******************************************************************************\r
+Exported global variables and functions (to be accessed by other files)\r
+*******************************************************************************/\r
+\r
+\r
+#endif // End _R_SYSTEM_HEADER_\r
+\r
+/* End of File */\r