]> git.sur5r.net Git - freertos/blob - 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
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_mpc.h\r
27 * Version      : 0.1\r
28 * Device       : R7S9100xx\r
29 * Abstract     : API for MPC function\r
30 * Tool-Chain   : IAR Embedded Workbench Ver.7.20\r
31 * OS           : not use\r
32 * H/W Platform : Renesas Starter Kit for RZ/T1(Preliminary)\r
33 * Description  : MPC setting API of RZ/T1\r
34 * Limitation   : none\r
35 *******************************************************************************/\r
36 /*******************************************************************************\r
37 * History      : DD.MM.YYYY Version  Description\r
38 *              :                     First Release\r
39 *******************************************************************************/\r
40 \r
41 #ifndef _R_MPC_HEADER_\r
42 #define _R_MPC_HEADER_\r
43 \r
44 /*******************************************************************************\r
45 Includes <System Includes> , "Project Includes"\r
46 *******************************************************************************/\r
47 \r
48 /*******************************************************************************\r
49 Macro definitions\r
50 *******************************************************************************/\r
51 #define MPC_IRQ_DISABLE (0)\r
52 #define MPC_IRQ_ENABLE  (1)\r
53 \r
54 #define MPC_PSEL_PT6_A21       (0x23)\r
55 #define MPC_PSEL_PT7_A22       (0x23)\r
56 #define MPC_PSEL_PK2_A23       (0x23)\r
57 #define MPC_PSEL_PK3_A24       (0x23)\r
58 #define MPC_PSEL_P97_A25       (0x23)\r
59 #define MPC_PSEL_P36_WE0_DQMLL (0x22)\r
60 #define MPC_PSEL_P37_WE1_DQMLU (0x22)\r
61 #define MPC_PSEL_PD1_CS1       (0x23)\r
62 #define MPC_PSEL_P45_CS2       (0x22)\r
63 #define MPC_PSEL_PT4_CS3       (0x23)\r
64 #define MPC_PSEL_P90_RAS       (0x23)\r
65 #define MPC_PSEL_PK0_CAS       (0x23)\r
66 #define MPC_PSEL_P24_RD_WR     (0x22)\r
67 #define MPC_PSEL_P46_CKE       (0x22)\r
68 #define MPC_PSEL_P10_CKIO      (0x22)\r
69 #define MPC_PSEL_P23_A0        (0x22) \r
70 #define MPC_PSEL_PG0_A1        (0x22) \r
71 #define MPC_PSEL_PG1_A2        (0x22) \r
72 #define MPC_PSEL_PG2_A3        (0x22) \r
73 #define MPC_PSEL_PG3_A4        (0x22) \r
74 #define MPC_PSEL_PG4_A5        (0x22) \r
75 #define MPC_PSEL_PG5_A6        (0x22) \r
76 #define MPC_PSEL_PG6_A7        (0x22) \r
77 #define MPC_PSEL_PG7_A8        (0x22) \r
78 #define MPC_PSEL_PH0_A9        (0x22) \r
79 #define MPC_PSEL_PH1_A10       (0x22)\r
80 #define MPC_PSEL_PH2_A11       (0x22)\r
81 #define MPC_PSEL_PH3_A12       (0x22)\r
82 #define MPC_PSEL_PH4_A13       (0x22)\r
83 #define MPC_PSEL_PH5_A14       (0x22)\r
84 #define MPC_PSEL_PH6_A15       (0x22)\r
85 #define MPC_PSEL_PH7_A16       (0x22)\r
86 #define MPC_PSEL_P20_A17       (0x22)\r
87 #define MPC_PSEL_P25_A18       (0x22)\r
88 #define MPC_PSEL_P26_A19       (0x22)\r
89 #define MPC_PSEL_P27_A20       (0x22)\r
90 #define MPC_PSEL_P00_D0        (0x22) \r
91 #define MPC_PSEL_P01_D1        (0x22) \r
92 #define MPC_PSEL_P02_D2        (0x22) \r
93 #define MPC_PSEL_P03_D3        (0x22) \r
94 #define MPC_PSEL_P04_D4        (0x22) \r
95 #define MPC_PSEL_P05_D5        (0x22) \r
96 #define MPC_PSEL_P06_D6        (0x22) \r
97 #define MPC_PSEL_P07_D7        (0x22) \r
98 #define MPC_PSEL_PE0_D8        (0x22) \r
99 #define MPC_PSEL_PE1_D9        (0x22) \r
100 #define MPC_PSEL_PE2_D10       (0x22)\r
101 #define MPC_PSEL_PE3_D11       (0x22)\r
102 #define MPC_PSEL_PE4_D12       (0x22)\r
103 #define MPC_PSEL_PE5_D13       (0x22)\r
104 #define MPC_PSEL_PE6_D14       (0x22)\r
105 #define MPC_PSEL_PE7_D15       (0x22)\r
106 #define MPC_PSEL_P22_RD        (0x22) \r
107 #define MPC_PSEL_P21_CS0       (0x22)\r
108 \r
109 /*******************************************************************************\r
110 Exported global variables and functions (to be accessed by other files)\r
111 *******************************************************************************/\r
112 void R_MPC_WriteEnable(void);\r
113 void R_MPC_WriteDisable(void);\r
114 \r
115 \r
116 #endif\r
117 \r
118 /* End of File */\r