1 /*********************************************************************************************************************** 2 * Copyright [2015-2017] Renesas Electronics Corporation and/or its licensors. All Rights Reserved. 3 * 4 * This file is part of Renesas SynergyTM Software Package (SSP) 5 * 6 * The contents of this file (the "contents") are proprietary and confidential to Renesas Electronics Corporation 7 * and/or its licensors ("Renesas") and subject to statutory and contractual protections. 8 * 9 * This file is subject to a Renesas SSP license agreement. Unless otherwise agreed in an SSP license agreement with 10 * Renesas: 1) you may not use, copy, modify, distribute, display, or perform the contents; 2) you may not use any name 11 * or mark of Renesas for advertising or publicity purposes or in connection with your use of the contents; 3) RENESAS 12 * MAKES NO WARRANTY OR REPRESENTATIONS ABOUT THE SUITABILITY OF THE CONTENTS FOR ANY PURPOSE; THE CONTENTS ARE PROVIDED 13 * "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 14 * PARTICULAR PURPOSE, AND NON-INFRINGEMENT; AND 4) RENESAS SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, OR 15 * CONSEQUENTIAL DAMAGES, INCLUDING DAMAGES RESULTING FROM LOSS OF USE, DATA, OR PROJECTS, WHETHER IN AN ACTION OF 16 * CONTRACT OR TORT, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE CONTENTS. Third-party contents 17 * included in this file may be subject to different terms. 18 **********************************************************************************************************************/ 19 /*********************************************************************************************************************** 20 * File Name : bsp_mcu_info.h 21 * Description : Information about the MCU on this board 22 ***********************************************************************************************************************/ 23 24 /*******************************************************************************************************************//** 25 * @ingroup BSP_MCUs 26 * @defgroup BSP_MCU_S1JA S1JA 27 * @brief Code that is common to S1JA MCUs. 28 * 29 * Implements functions that are common to S1JA MCUs. 30 * 31 * @{ 32 ***********************************************************************************************************************/ 33 34 #ifndef BSP_MCU_INFO_H_ 35 #define BSP_MCU_INFO_H_ 36 37 /*********************************************************************************************************************** 38 Includes <System Includes> , "Project Includes" 39 ***********************************************************************************************************************/ 40 41 /* BSP Common Includes. */ 42 #include "../../inc/ssp_common_api.h" 43 44 #if defined(__GNUC__) 45 /* CMSIS-CORE currently generates 2 warnings when compiling with GCC. One in core_cmInstr.h and one in core_cm4_simd.h. 46 * We are not modifying these files so we will ignore these warnings temporarily. */ 47 #pragma GCC diagnostic ignored "-Wconversion" 48 #pragma GCC diagnostic ignored "-Wsign-conversion" 49 #endif 50 51 /* The following files are provided by CMSIS, so violations are not reported during static analysis. */ 52 /*LDRA_NOANALYSIS */ 53 54 /* CMSIS-CORE Renesas Device Files. */ 55 #include "../../src/bsp/cmsis/Device/RENESAS/S1JA/Include/S1JA.h" 56 #include "../../src/bsp/cmsis/Device/RENESAS/S1JA/Include/system_S1JA.h" 57 58 /* Static analysis resumes as normal after CMSIS files. */ 59 /*LDRA_ANALYSIS */ 60 61 #if defined(__GNUC__) 62 /* Restore warning settings for 'conversion' and 'sign-conversion' to as specified on command line. */ 63 #pragma GCC diagnostic pop 64 #endif 65 66 /* BSP MCU Specific Includes. */ 67 #include "../../src/bsp/mcu/all/bsp_register_protection.h" 68 #include "../../src/bsp/mcu/all/bsp_locking.h" 69 #include "../../src/bsp/mcu/all/bsp_irq.h" 70 #include "../../src/bsp/mcu/all/bsp_group_irq.h" 71 #include "../../src/bsp/mcu/all/bsp_clocks.h" 72 #include "../../src/bsp/mcu/s1ja/bsp_elc.h" 73 #include "../../src/bsp/mcu/s1ja/bsp_cache.h" 74 #include "../../src/bsp/mcu/s1ja/bsp_analog.h" 75 76 /* I/O port pin definitions. */ 77 #include "r_ioport_api.h" 78 79 /* Factory MCU information. */ 80 #include "../../inc/ssp_features.h" 81 #include "r_fmi.h" 82 83 /* BSP Common Includes (Other than bsp_common.h) */ 84 #include "../../src/bsp/mcu/all/bsp_common_leds.h" 85 #include "../../src/bsp/mcu/all/bsp_delay.h" 86 #include "../../src/bsp/mcu/all/bsp_feature.h" 87 88 #include "../../src/bsp/mcu/all/bsp_mcu_api.h" 89 90 /*********************************************************************************************************************** 91 Macro definitions 92 ***********************************************************************************************************************/ 93 /* Naming convention for the following defines is BSP_FEATURE_HAS_<PERIPHERAL>_<FEATURE>. */ 94 #define BSP_FEATURE_HAS_CGC_PLL (0) 95 #define BSP_FEATURE_HAS_CGC_PLL_SRC_CFG (0) 96 #define BSP_FEATURE_HAS_CGC_USB_CLK (0) 97 #define BSP_FEATURE_HAS_CGC_MIDDLE_SPEED (1) 98 #define BSP_FEATURE_HAS_CGC_LOW_VOLTAGE (1) 99 #define BSP_FEATURE_HAS_CGC_SUBOSC_SPEED (1) 100 #define BSP_FEATURE_HAS_CGC_SDADC_CLK (1) 101 #define BSP_FEATURE_HAS_CGC_LCD_CLK (0) 102 #define BSP_FEATURE_HAS_CGC_EXTERNAL_BUS (0) 103 #define BSP_FEATURE_HAS_CGC_SDRAM_CLK (0) 104 #define BSP_FEATURE_HAS_CGC_PCKA (0) 105 #define BSP_FEATURE_HAS_CGC_PCKB (1) 106 #define BSP_FEATURE_HAS_CGC_PCKC (0) 107 #define BSP_FEATURE_HAS_CGC_PCKD (1) 108 #define BSP_FEATURE_HAS_CGC_FLASH_CLOCK (1) 109 110 #define BSP_FEATURE_HAS_SCE_ON_S1 /* Crypto functionality available on S1 series MCUs */ 111 112 /*********************************************************************************************************************** 113 Typedef definitions 114 ***********************************************************************************************************************/ 115 116 /*********************************************************************************************************************** 117 Exported global variables 118 ***********************************************************************************************************************/ 119 120 /*********************************************************************************************************************** 121 Exported global functions (to be accessed by other files) 122 ***********************************************************************************************************************/ 123 124 #endif /* BSP_MCU_INFO_H_ */ 125 126 /** @} (end defgroup BSP_MCU_S1JA) */ 127