]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/IAR/inc/r_mpc.h
FreeRTOS source:
[freertos] / FreeRTOS / Demo / CORTEX_R4F_RZ_T_GCC_IAR / System / IAR / inc / r_mpc.h
diff --git a/FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/IAR/inc/r_mpc.h b/FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/IAR/inc/r_mpc.h
new file mode 100644 (file)
index 0000000..cd9d589
--- /dev/null
@@ -0,0 +1,118 @@
+/*******************************************************************************\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_mpc.h\r
+* Version      : 0.1\r
+* Device       : R7S9100xx\r
+* Abstract     : API for MPC function\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  : MPC setting API of RZ/T1\r
+* Limitation   : none\r
+*******************************************************************************/\r
+/*******************************************************************************\r
+* History      : DD.MM.YYYY Version  Description\r
+*              :                     First Release\r
+*******************************************************************************/\r
+\r
+#ifndef _R_MPC_HEADER_\r
+#define _R_MPC_HEADER_\r
+\r
+/*******************************************************************************\r
+Includes <System Includes> , "Project Includes"\r
+*******************************************************************************/\r
+\r
+/*******************************************************************************\r
+Macro definitions\r
+*******************************************************************************/\r
+#define MPC_IRQ_DISABLE (0)\r
+#define MPC_IRQ_ENABLE  (1)\r
+\r
+#define MPC_PSEL_PT6_A21       (0x23)\r
+#define MPC_PSEL_PT7_A22       (0x23)\r
+#define MPC_PSEL_PK2_A23       (0x23)\r
+#define MPC_PSEL_PK3_A24       (0x23)\r
+#define MPC_PSEL_P97_A25       (0x23)\r
+#define MPC_PSEL_P36_WE0_DQMLL (0x22)\r
+#define MPC_PSEL_P37_WE1_DQMLU (0x22)\r
+#define MPC_PSEL_PD1_CS1       (0x23)\r
+#define MPC_PSEL_P45_CS2       (0x22)\r
+#define MPC_PSEL_PT4_CS3       (0x23)\r
+#define MPC_PSEL_P90_RAS       (0x23)\r
+#define MPC_PSEL_PK0_CAS       (0x23)\r
+#define MPC_PSEL_P24_RD_WR     (0x22)\r
+#define MPC_PSEL_P46_CKE       (0x22)\r
+#define MPC_PSEL_P10_CKIO      (0x22)\r
+#define MPC_PSEL_P23_A0        (0x22) \r
+#define MPC_PSEL_PG0_A1        (0x22) \r
+#define MPC_PSEL_PG1_A2        (0x22) \r
+#define MPC_PSEL_PG2_A3        (0x22) \r
+#define MPC_PSEL_PG3_A4        (0x22) \r
+#define MPC_PSEL_PG4_A5        (0x22) \r
+#define MPC_PSEL_PG5_A6        (0x22) \r
+#define MPC_PSEL_PG6_A7        (0x22) \r
+#define MPC_PSEL_PG7_A8        (0x22) \r
+#define MPC_PSEL_PH0_A9        (0x22) \r
+#define MPC_PSEL_PH1_A10       (0x22)\r
+#define MPC_PSEL_PH2_A11       (0x22)\r
+#define MPC_PSEL_PH3_A12       (0x22)\r
+#define MPC_PSEL_PH4_A13       (0x22)\r
+#define MPC_PSEL_PH5_A14       (0x22)\r
+#define MPC_PSEL_PH6_A15       (0x22)\r
+#define MPC_PSEL_PH7_A16       (0x22)\r
+#define MPC_PSEL_P20_A17       (0x22)\r
+#define MPC_PSEL_P25_A18       (0x22)\r
+#define MPC_PSEL_P26_A19       (0x22)\r
+#define MPC_PSEL_P27_A20       (0x22)\r
+#define MPC_PSEL_P00_D0        (0x22) \r
+#define MPC_PSEL_P01_D1        (0x22) \r
+#define MPC_PSEL_P02_D2        (0x22) \r
+#define MPC_PSEL_P03_D3        (0x22) \r
+#define MPC_PSEL_P04_D4        (0x22) \r
+#define MPC_PSEL_P05_D5        (0x22) \r
+#define MPC_PSEL_P06_D6        (0x22) \r
+#define MPC_PSEL_P07_D7        (0x22) \r
+#define MPC_PSEL_PE0_D8        (0x22) \r
+#define MPC_PSEL_PE1_D9        (0x22) \r
+#define MPC_PSEL_PE2_D10       (0x22)\r
+#define MPC_PSEL_PE3_D11       (0x22)\r
+#define MPC_PSEL_PE4_D12       (0x22)\r
+#define MPC_PSEL_PE5_D13       (0x22)\r
+#define MPC_PSEL_PE6_D14       (0x22)\r
+#define MPC_PSEL_PE7_D15       (0x22)\r
+#define MPC_PSEL_P22_RD        (0x22) \r
+#define MPC_PSEL_P21_CS0       (0x22)\r
+\r
+/*******************************************************************************\r
+Exported global variables and functions (to be accessed by other files)\r
+*******************************************************************************/\r
+void R_MPC_WriteEnable(void);\r
+void R_MPC_WriteDisable(void);\r
+\r
+\r
+#endif\r
+\r
+/* End of File */\r