|
| 1 | +/* |
| 2 | +* Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates |
| 3 | +* |
| 4 | +* SPDX-License-Identifier: BSD-3-Clause |
| 5 | +*/ |
| 6 | + |
| 7 | +/* |
| 8 | + * @file R9A07G044L.h |
| 9 | + * @brief CMSIS HeaderFile |
| 10 | + */ |
| 11 | + |
| 12 | +/** @addtogroup Renesas |
| 13 | + * @{ |
| 14 | + */ |
| 15 | + |
| 16 | +/** @addtogroup R9A07G044L |
| 17 | + * @{ |
| 18 | + */ |
| 19 | + |
| 20 | +#ifndef R9A07G044L_H |
| 21 | + #define R9A07G044L_H |
| 22 | + |
| 23 | + #ifdef __cplusplus |
| 24 | +extern "C" { |
| 25 | + #endif |
| 26 | + |
| 27 | +/** @addtogroup Configuration_of_CMSIS |
| 28 | + * @{ |
| 29 | + */ |
| 30 | + |
| 31 | +/* =========================================================================================================================== */ |
| 32 | +/* ================ Interrupt Number Definition ================ */ |
| 33 | +/* =========================================================================================================================== */ |
| 34 | + |
| 35 | +/* =========================================================================================================================== */ |
| 36 | +/* ================ Processor and Core Peripheral Section ================ */ |
| 37 | +/* =========================================================================================================================== */ |
| 38 | + |
| 39 | +/* ========================== Configuration of the ARM Cortex-M33 Processor and Core Peripherals =========================== */ |
| 40 | + #define __CM33_REV 0x0004U /*!< CM33 Core Revision */ |
| 41 | + #define __NVIC_PRIO_BITS 7 /*!< Number of Bits used for Priority Levels */ |
| 42 | + #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */ |
| 43 | + #define __VTOR_PRESENT 1 /*!< Set to 1 if CPU supports Vector Table Offset Register */ |
| 44 | + #define __MPU_PRESENT 1 /*!< MPU present */ |
| 45 | + #define __FPU_PRESENT 0 /*!< FPU present */ |
| 46 | + #define __FPU_DP 0 /*!< Double Precision FPU */ |
| 47 | + #define __DSP_PRESENT 0 /*!< DSP extension present */ |
| 48 | + #define __SAUREGION_PRESENT 0 /*!< SAU region present */ |
| 49 | + |
| 50 | +/** @} */ /* End of group Configuration_of_CMSIS */ |
| 51 | + |
| 52 | + #include "core_cm33.h" /*!< ARM Cortex-M33 processor and core peripherals */ |
| 53 | + #include "system.h" /*!< R9A07G044L System */ |
| 54 | + |
| 55 | + #ifndef __IM /*!< Fallback for older CMSIS versions */ |
| 56 | + #define __IM __I |
| 57 | + #endif |
| 58 | + #ifndef __OM /*!< Fallback for older CMSIS versions */ |
| 59 | + #define __OM __O |
| 60 | + #endif |
| 61 | + #ifndef __IOM /*!< Fallback for older CMSIS versions */ |
| 62 | + #define __IOM __IO |
| 63 | + #endif |
| 64 | + |
| 65 | +/* ======================================== Start of section using anonymous unions ======================================== */ |
| 66 | + #if defined(__CC_ARM) |
| 67 | + #pragma push |
| 68 | + #pragma anon_unions |
| 69 | + #elif defined(__ICCARM__) |
| 70 | + #pragma language=extended |
| 71 | + #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) |
| 72 | + #pragma clang diagnostic push |
| 73 | + #pragma clang diagnostic ignored "-Wc11-extensions" |
| 74 | + #pragma clang diagnostic ignored "-Wreserved-id-macro" |
| 75 | + #pragma clang diagnostic ignored "-Wgnu-anonymous-struct" |
| 76 | + #pragma clang diagnostic ignored "-Wnested-anon-types" |
| 77 | + #elif defined(__GNUC__) |
| 78 | + |
| 79 | +/* anonymous unions are enabled by default */ |
| 80 | + #elif defined(__TMS470__) |
| 81 | + |
| 82 | +/* anonymous unions are enabled by default */ |
| 83 | + #elif defined(__TASKING__) |
| 84 | + #pragma warning 586 |
| 85 | + #elif defined(__CSMC__) |
| 86 | + |
| 87 | +/* anonymous unions are enabled by default */ |
| 88 | + #else |
| 89 | + #warning Not supported compiler type |
| 90 | + #endif |
| 91 | + |
| 92 | +/* =========================================================================================================================== */ |
| 93 | +/* ================ Device Specific Cluster Section ================ */ |
| 94 | +/* =========================================================================================================================== */ |
| 95 | + |
| 96 | +/** @addtogroup Device_Peripheral_clusters |
| 97 | + * @{ |
| 98 | + */ |
| 99 | + #include "R9A07G044L/iodefine.h" |
| 100 | + |
| 101 | +/** @} */ /* End of group Device_Peripheral_clusters */ |
| 102 | + |
| 103 | +/* ========================================= End of section using anonymous unions =============================== */ |
| 104 | + #if defined(__CC_ARM) |
| 105 | + #pragma pop |
| 106 | + #elif defined(__ICCARM__) |
| 107 | + |
| 108 | +/* leave anonymous unions enabled */ |
| 109 | + #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) |
| 110 | + #pragma clang diagnostic pop |
| 111 | + #elif defined(__GNUC__) |
| 112 | + |
| 113 | +/* anonymous unions are enabled by default */ |
| 114 | + #elif defined(__TMS470__) |
| 115 | + |
| 116 | +/* anonymous unions are enabled by default */ |
| 117 | + #elif defined(__TASKING__) |
| 118 | + #pragma warning restore |
| 119 | + #elif defined(__CSMC__) |
| 120 | + |
| 121 | +/* anonymous unions are enabled by default */ |
| 122 | + #endif |
| 123 | + |
| 124 | +/* =========================================================================================================================== */ |
| 125 | +/* ================ Pos/Mask Cluster Section ================ */ |
| 126 | +/* =========================================================================================================================== */ |
| 127 | + |
| 128 | +/** @addtogroup PosMask_clusters |
| 129 | + * @{ |
| 130 | + */ |
| 131 | + #include "R9A07G044L/iobitmask.h" |
| 132 | + |
| 133 | +/** @} */ /* End of group PosMask_clusters */ |
| 134 | + |
| 135 | + #ifdef __cplusplus |
| 136 | +} |
| 137 | + #endif |
| 138 | + |
| 139 | +#endif /* R9A07G044L_H */ |
| 140 | + |
| 141 | +/** @} */ /* End of group R9A07G044L */ |
| 142 | + |
| 143 | +/** @} */ /* End of group Renesas */ |
0 commit comments