1 /**************************************************************************//**
2  * @file
3  * @brief CMSIS Cortex-M Peripheral Access Layer Header File
4  *        for EFR32BG27C140F768IM40
5  ******************************************************************************
6  * # License
7  * <b>Copyright 2023 Silicon Laboratories, Inc. www.silabs.com</b>
8  ******************************************************************************
9  *
10  * SPDX-License-Identifier: Zlib
11  *
12  * The licensor of this software is Silicon Laboratories Inc.
13  *
14  * This software is provided 'as-is', without any express or implied
15  * warranty. In no event will the authors be held liable for any damages
16  * arising from the use of this software.
17  *
18  * Permission is granted to anyone to use this software for any purpose,
19  * including commercial applications, and to alter it and redistribute it
20  * freely, subject to the following restrictions:
21  *
22  * 1. The origin of this software must not be misrepresented; you must not
23  *    claim that you wrote the original software. If you use this software
24  *    in a product, an acknowledgment in the product documentation would be
25  *    appreciated but is not required.
26  * 2. Altered source versions must be plainly marked as such, and must not be
27  *    misrepresented as being the original software.
28  * 3. This notice may not be removed or altered from any source distribution.
29  *
30  *****************************************************************************/
31 #ifndef EFR32BG27C140F768IM40_H
32 #define EFR32BG27C140F768IM40_H
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 /**************************************************************************//**
39  * @addtogroup Parts
40  * @{
41  *****************************************************************************/
42 
43 /**************************************************************************//**
44  * @defgroup EFR32BG27C140F768IM40 EFR32BG27C140F768IM40
45  * @{
46  *****************************************************************************/
47 
48 /** Interrupt Number Definition */
49 typedef enum IRQn{
50   /******  Cortex-M Processor Exceptions Numbers ******************************************/
51   NonMaskableInt_IRQn    = -14,             /*!< -14 Cortex-M Non Maskable Interrupt      */
52   HardFault_IRQn         = -13,             /*!< -13 Cortex-M Hard Fault Interrupt        */
53   MemoryManagement_IRQn  = -12,             /*!< -12 Cortex-M Memory Management Interrupt */
54   BusFault_IRQn          = -11,             /*!< -11 Cortex-M Bus Fault Interrupt         */
55   UsageFault_IRQn        = -10,             /*!< -10 Cortex-M Usage Fault Interrupt       */
56   SVCall_IRQn            = -5,              /*!< -5  Cortex-M SV Call Interrupt           */
57   DebugMonitor_IRQn      = -4,              /*!< -4  Cortex-M Debug Monitor Interrupt     */
58   PendSV_IRQn            = -2,              /*!< -2  Cortex-M Pend SV Interrupt           */
59   SysTick_IRQn           = -1,              /*!< -1  Cortex-M System Tick Interrupt       */
60 
61   /******  EFR32BG27 Peripheral Interrupt Numbers ******************************************/
62 
63   CRYPTOACC_IRQn         = 0,  /*!<  0 EFR32 CRYPTOACC Interrupt */
64   TRNG_IRQn              = 1,  /*!<  1 EFR32 TRNG Interrupt */
65   PKE_IRQn               = 2,  /*!<  2 EFR32 PKE Interrupt */
66   SMU_SECURE_IRQn        = 3,  /*!<  3 EFR32 SMU_SECURE Interrupt */
67   SMU_S_PRIVILEGED_IRQn  = 4,  /*!<  4 EFR32 SMU_S_PRIVILEGED Interrupt */
68   SMU_NS_PRIVILEGED_IRQn = 5,  /*!<  5 EFR32 SMU_NS_PRIVILEGED Interrupt */
69   EMU_IRQn               = 6,  /*!<  6 EFR32 EMU Interrupt */
70   EMUEFP_IRQn            = 7,  /*!<  7 EFR32 EMUEFP Interrupt */
71   DCDC_IRQn              = 8,  /*!<  8 EFR32 DCDC Interrupt */
72   ETAMPDET_IRQn          = 9,  /*!<  9 EFR32 ETAMPDET Interrupt */
73   TIMER0_IRQn            = 10, /*!< 10 EFR32 TIMER0 Interrupt */
74   TIMER1_IRQn            = 11, /*!< 11 EFR32 TIMER1 Interrupt */
75   TIMER2_IRQn            = 12, /*!< 12 EFR32 TIMER2 Interrupt */
76   TIMER3_IRQn            = 13, /*!< 13 EFR32 TIMER3 Interrupt */
77   TIMER4_IRQn            = 14, /*!< 14 EFR32 TIMER4 Interrupt */
78   RTCC_IRQn              = 15, /*!< 15 EFR32 RTCC Interrupt */
79   USART0_RX_IRQn         = 16, /*!< 16 EFR32 USART0_RX Interrupt */
80   USART0_TX_IRQn         = 17, /*!< 17 EFR32 USART0_TX Interrupt */
81   USART1_RX_IRQn         = 18, /*!< 18 EFR32 USART1_RX Interrupt */
82   USART1_TX_IRQn         = 19, /*!< 19 EFR32 USART1_TX Interrupt */
83   EUSART0_RX_IRQn        = 20, /*!< 20 EFR32 EUSART0_RX Interrupt */
84   EUSART0_TX_IRQn        = 21, /*!< 21 EFR32 EUSART0_TX Interrupt */
85   ICACHE0_IRQn           = 22, /*!< 22 EFR32 ICACHE0 Interrupt */
86   BURTC_IRQn             = 23, /*!< 23 EFR32 BURTC Interrupt */
87   LETIMER0_IRQn          = 24, /*!< 24 EFR32 LETIMER0 Interrupt */
88   SYSCFG_IRQn            = 25, /*!< 25 EFR32 SYSCFG Interrupt */
89   LDMA_IRQn              = 26, /*!< 26 EFR32 LDMA Interrupt */
90   LFXO_IRQn              = 27, /*!< 27 EFR32 LFXO Interrupt */
91   LFRCO_IRQn             = 28, /*!< 28 EFR32 LFRCO Interrupt */
92   ULFRCO_IRQn            = 29, /*!< 29 EFR32 ULFRCO Interrupt */
93   GPIO_ODD_IRQn          = 30, /*!< 30 EFR32 GPIO_ODD Interrupt */
94   GPIO_EVEN_IRQn         = 31, /*!< 31 EFR32 GPIO_EVEN Interrupt */
95   I2C0_IRQn              = 32, /*!< 32 EFR32 I2C0 Interrupt */
96   I2C1_IRQn              = 33, /*!< 33 EFR32 I2C1 Interrupt */
97   EMUDG_IRQn             = 34, /*!< 34 EFR32 EMUDG Interrupt */
98   EMUSE_IRQn             = 35, /*!< 35 EFR32 EMUSE Interrupt */
99   AGC_IRQn               = 36, /*!< 36 EFR32 AGC Interrupt */
100   BUFC_IRQn              = 37, /*!< 37 EFR32 BUFC Interrupt */
101   FRC_PRI_IRQn           = 38, /*!< 38 EFR32 FRC_PRI Interrupt */
102   FRC_IRQn               = 39, /*!< 39 EFR32 FRC Interrupt */
103   MODEM_IRQn             = 40, /*!< 40 EFR32 MODEM Interrupt */
104   PROTIMER_IRQn          = 41, /*!< 41 EFR32 PROTIMER Interrupt */
105   RAC_RSM_IRQn           = 42, /*!< 42 EFR32 RAC_RSM Interrupt */
106   RAC_SEQ_IRQn           = 43, /*!< 43 EFR32 RAC_SEQ Interrupt */
107   RDMAILBOX_IRQn         = 44, /*!< 44 EFR32 RDMAILBOX Interrupt */
108   RFSENSE_IRQn           = 45, /*!< 45 EFR32 RFSENSE Interrupt */
109   SYNTH_IRQn             = 46, /*!< 46 EFR32 SYNTH Interrupt */
110   PRORTC_IRQn            = 47, /*!< 47 EFR32 PRORTC Interrupt */
111   ACMP0_IRQn             = 48, /*!< 48 EFR32 ACMP0 Interrupt */
112   WDOG0_IRQn             = 49, /*!< 49 EFR32 WDOG0 Interrupt */
113   HFXO0_IRQn             = 50, /*!< 50 EFR32 HFXO0 Interrupt */
114   HFRCO0_IRQn            = 51, /*!< 51 EFR32 HFRCO0 Interrupt */
115   CMU_IRQn               = 52, /*!< 52 EFR32 CMU Interrupt */
116   AES_IRQn               = 53, /*!< 53 EFR32 AES Interrupt */
117   IADC_IRQn              = 54, /*!< 54 EFR32 IADC Interrupt */
118   MSC_IRQn               = 55, /*!< 55 EFR32 MSC Interrupt */
119   DPLL0_IRQn             = 56, /*!< 56 EFR32 DPLL0 Interrupt */
120   PDM_IRQn               = 57, /*!< 57 EFR32 PDM Interrupt */
121   SW0_IRQn               = 58, /*!< 58 EFR32 SW0 Interrupt */
122   SW1_IRQn               = 59, /*!< 59 EFR32 SW1 Interrupt */
123   SW2_IRQn               = 60, /*!< 60 EFR32 SW2 Interrupt */
124   SW3_IRQn               = 61, /*!< 61 EFR32 SW3 Interrupt */
125   KERNEL0_IRQn           = 62, /*!< 62 EFR32 KERNEL0 Interrupt */
126   KERNEL1_IRQn           = 63, /*!< 63 EFR32 KERNEL1 Interrupt */
127   M33CTI0_IRQn           = 64, /*!< 64 EFR32 M33CTI0 Interrupt */
128   M33CTI1_IRQn           = 65, /*!< 65 EFR32 M33CTI1 Interrupt */
129   FPUEXH_IRQn            = 66, /*!< 66 EFR32 FPUEXH Interrupt */
130 } IRQn_Type;
131 
132 /**************************************************************************//**
133  * @defgroup EFR32BG27C140F768IM40_Core EFR32BG27C140F768IM40 Core
134  * @{
135  * @brief Processor and Core Peripheral Section
136  *****************************************************************************/
137 
138 #define __CM33_REV                0x0004U /**< Cortex-M33 Core revision */
139 #define __DSP_PRESENT             1U      /**< Presence of DSP  */
140 #define __FPU_PRESENT             1U      /**< Presence of FPU  */
141 #define __MPU_PRESENT             1U      /**< Presence of MPU  */
142 #define __SAUREGION_PRESENT       1U      /**< Presence of FPU  */
143 #define __TZ_PRESENT              1U      /**< Presence of TrustZone */
144 #define __VTOR_PRESENT            1U      /**< Presence of VTOR register in SCB  */
145 #define __NVIC_PRIO_BITS          4U      /**< NVIC interrupt priority bits */
146 #define __Vendor_SysTickConfig    0U      /**< Is 1 if different SysTick counter is used */
147 
148 /** @} End of group EFR32BG27C140F768IM40_Core */
149 
150 /**************************************************************************//**
151 * @defgroup EFR32BG27C140F768IM40_Part EFR32BG27C140F768IM40 Part
152 * @{
153 ******************************************************************************/
154 
155 /** Part number */
156 
157 /* If part number is not defined as compiler option, define it */
158 #if !defined(EFR32BG27C140F768IM40)
159 #define EFR32BG27C140F768IM40    1 /**< FULL Part */
160 #endif
161 
162 /** Configure part number */
163 #define PART_NUMBER                                       "EFR32BG27C140F768IM40" /**< Part Number */
164 
165 /** Family / Line / Series / Config */
166 #define _EFR32_BLUE_FAMILY                                1                                    /** Device Family Name Identifier */
167 #define _EFR32_BG_FAMILY                                  1                                    /** Device Family Identifier */
168 #define _EFR_DEVICE                                       1                                    /** Product Line Identifier */
169 #define _SILICON_LABS_32B_SERIES_2                                                             /** Product Series Identifier */
170 #define _SILICON_LABS_32B_SERIES                          2                                    /** Product Series Identifier */
171 #define _SILICON_LABS_32B_SERIES_2_CONFIG_7                                                    /** Product Config Identifier */
172 #define _SILICON_LABS_32B_SERIES_2_CONFIG                 7                                    /** Product Config Identifier */
173 #define _SILICON_LABS_GECKO_INTERNAL_SDID                 230                                  /** Silicon Labs internal use only */
174 #define _SILICON_LABS_GECKO_INTERNAL_SDID_230                                                  /** Silicon Labs internal use only */
175 #define _SILICON_LABS_SECURITY_FEATURE_SE                 0                                    /** Mid */
176 #define _SILICON_LABS_SECURITY_FEATURE_VAULT              1                                    /** High */
177 #define _SILICON_LABS_SECURITY_FEATURE_ROT                2                                    /** Root Of Trust */
178 #define _SILICON_LABS_SECURITY_FEATURE                    _SILICON_LABS_SECURITY_FEATURE_ROT   /** Security feature set */
179 #define _SILICON_LABS_DCDC_FEATURE_NOTUSED                0                                    /** Not Used */
180 #define _SILICON_LABS_DCDC_FEATURE_DCDC_BUCK              1                                    /** Includes Buck DCDC */
181 #define _SILICON_LABS_DCDC_FEATURE_DCDC_BOOST             2                                    /** Includes Boost DCDC */
182 #define _SILICON_LABS_DCDC_FEATURE_DCDC_BOB               3                                    /** Includes Buck or Boost DCDC */
183 #define _SILICON_LABS_DCDC_FEATURE                        _SILICON_LABS_DCDC_FEATURE_DCDC_BUCK /** DCDC feature set */
184 #define _SILICON_LABS_EFR32_RADIO_NONE                    0                                    /** No radio present */
185 #define _SILICON_LABS_EFR32_RADIO_SUBGHZ                  1                                    /** Radio supports Sub-GHz */
186 #define _SILICON_LABS_EFR32_RADIO_2G4HZ                   2                                    /** Radio supports 2.4 GHz */
187 #define _SILICON_LABS_EFR32_RADIO_DUALBAND                3                                    /** Radio supports dual band */
188 #define _SILICON_LABS_EFR32_RADIO_TYPE                    _SILICON_LABS_EFR32_RADIO_2G4HZ      /** Radio type */
189 #define _SILICON_LABS_EFR32_2G4HZ_HP_PA_MAX_OUTPUT_DBM    8                                    /** Radio 2G4HZ HP PA output power */
190 #define _SILICON_LABS_EFR32_2G4HZ_LP_PA_MAX_OUTPUT_DBM    0                                    /** Radio 2G4HZ LP PA output power */
191 #define _SILICON_LABS_EFR32_2G4HZ_HP_PA_PRESENT                                                /** Radio 2G4HZ HP PA is present */
192 #define _SILICON_LABS_EFR32_2G4HZ_LP_PA_PRESENT                                                /** Radio 2G4HZ LP PA is present */
193 #define LFRCO_PRECISION_MODE                              1                                    /** Precision mode of LFRCO enabled or disabled */
194 
195 /** Memory Base addresses and limits */
196 #define FLASH_MEM_BASE                                    (0x08000000UL) /** FLASH_MEM base address */
197 #define FLASH_MEM_SIZE                                    (0x000C0000UL) /** FLASH_MEM available address space */
198 #define FLASH_MEM_END                                     (0x080BFFFFUL) /** FLASH_MEM end address */
199 #define FLASH_MEM_BITS                                    (0x14UL)       /** FLASH_MEM used bits */
200 #define MSC_FLASH_MEM_BASE                                (0x08000000UL) /** MSC_FLASH_MEM base address */
201 #define MSC_FLASH_MEM_SIZE                                (0x000C0000UL) /** MSC_FLASH_MEM available address space */
202 #define MSC_FLASH_MEM_END                                 (0x080BFFFFUL) /** MSC_FLASH_MEM end address */
203 #define MSC_FLASH_MEM_BITS                                (0x14UL)       /** MSC_FLASH_MEM used bits */
204 #define MSC_FLASH_USERDATA_MEM_BASE                       (0x0FE00000UL) /** MSC_FLASH_USERDATA_MEM base address */
205 #define MSC_FLASH_USERDATA_MEM_SIZE                       (0x00000400UL) /** MSC_FLASH_USERDATA_MEM available address space */
206 #define MSC_FLASH_USERDATA_MEM_END                        (0x0FE003FFUL) /** MSC_FLASH_USERDATA_MEM end address */
207 #define MSC_FLASH_USERDATA_MEM_BITS                       (0xBUL)        /** MSC_FLASH_USERDATA_MEM used bits */
208 #define USERDATA_BASE                                     (0x0FE00000UL) /** USERDATA base address */
209 #define USERDATA_SIZE                                     (0x00000400UL) /** USERDATA available address space */
210 #define USERDATA_END                                      (0x0FE003FFUL) /** USERDATA end address */
211 #define USERDATA_BITS                                     (0xBUL)        /** USERDATA used bits */
212 #define MSC_FLASH_DEVINFO_MEM_BASE                        (0x0FE08000UL) /** MSC_FLASH_DEVINFO_MEM base address */
213 #define MSC_FLASH_DEVINFO_MEM_SIZE                        (0x00000400UL) /** MSC_FLASH_DEVINFO_MEM available address space */
214 #define MSC_FLASH_DEVINFO_MEM_END                         (0x0FE083FFUL) /** MSC_FLASH_DEVINFO_MEM end address */
215 #define MSC_FLASH_DEVINFO_MEM_BITS                        (0xBUL)        /** MSC_FLASH_DEVINFO_MEM used bits */
216 #define MSC_FLASH_CHIPCONFIG_MEM_BASE                     (0x0FE08400UL) /** MSC_FLASH_CHIPCONFIG_MEM base address */
217 #define MSC_FLASH_CHIPCONFIG_MEM_SIZE                     (0x00000600UL) /** MSC_FLASH_CHIPCONFIG_MEM available address space */
218 #define MSC_FLASH_CHIPCONFIG_MEM_END                      (0x0FE089FFUL) /** MSC_FLASH_CHIPCONFIG_MEM end address */
219 #define MSC_FLASH_CHIPCONFIG_MEM_BITS                     (0xBUL)        /** MSC_FLASH_CHIPCONFIG_MEM used bits */
220 #define DMEM_RAM0_RAM_MEM_BASE                            (0x20000000UL) /** DMEM_RAM0_RAM_MEM base address */
221 #define DMEM_RAM0_RAM_MEM_SIZE                            (0x00010000UL) /** DMEM_RAM0_RAM_MEM available address space */
222 #define DMEM_RAM0_RAM_MEM_END                             (0x2000FFFFUL) /** DMEM_RAM0_RAM_MEM end address */
223 #define DMEM_RAM0_RAM_MEM_BITS                            (0x11UL)       /** DMEM_RAM0_RAM_MEM used bits */
224 #define RAM_MEM_BASE                                      (0x20000000UL) /** RAM_MEM base address */
225 #define RAM_MEM_SIZE                                      (0x00010000UL) /** RAM_MEM available address space */
226 #define RAM_MEM_END                                       (0x2000FFFFUL) /** RAM_MEM end address */
227 #define RAM_MEM_BITS                                      (0x11UL)       /** RAM_MEM used bits */
228 #define CRYPTOACC_RNGOUT_FIFO_S_MEM_BASE                  (0x4C024000UL) /** CRYPTOACC_RNGOUT_FIFO_S_MEM base address */
229 #define CRYPTOACC_RNGOUT_FIFO_S_MEM_SIZE                  (0x00004000UL) /** CRYPTOACC_RNGOUT_FIFO_S_MEM available address space */
230 #define CRYPTOACC_RNGOUT_FIFO_S_MEM_END                   (0x4C027FFFUL) /** CRYPTOACC_RNGOUT_FIFO_S_MEM end address */
231 #define CRYPTOACC_RNGOUT_FIFO_S_MEM_BITS                  (0xFUL)        /** CRYPTOACC_RNGOUT_FIFO_S_MEM used bits */
232 #define CRYPTOACC_PKRAM_MAIN_S_MEM_BASE                   (0x4C028000UL) /** CRYPTOACC_PKRAM_MAIN_S_MEM base address */
233 #define CRYPTOACC_PKRAM_MAIN_S_MEM_SIZE                   (0x00001000UL) /** CRYPTOACC_PKRAM_MAIN_S_MEM available address space */
234 #define CRYPTOACC_PKRAM_MAIN_S_MEM_END                    (0x4C028FFFUL) /** CRYPTOACC_PKRAM_MAIN_S_MEM end address */
235 #define CRYPTOACC_PKRAM_MAIN_S_MEM_BITS                   (0xDUL)        /** CRYPTOACC_PKRAM_MAIN_S_MEM used bits */
236 #define CRYPTOACC_PKROM_MAIN_S_MEM_BASE                   (0x4C02C000UL) /** CRYPTOACC_PKROM_MAIN_S_MEM base address */
237 #define CRYPTOACC_PKROM_MAIN_S_MEM_SIZE                   (0x00001128UL) /** CRYPTOACC_PKROM_MAIN_S_MEM available address space */
238 #define CRYPTOACC_PKROM_MAIN_S_MEM_END                    (0x4C02D127UL) /** CRYPTOACC_PKROM_MAIN_S_MEM end address */
239 #define CRYPTOACC_PKROM_MAIN_S_MEM_BITS                   (0xDUL)        /** CRYPTOACC_PKROM_MAIN_S_MEM used bits */
240 #define CRYPTOACC_PKROM_SPACER_S_MEM_BASE                 (0x4C02FFFFUL) /** CRYPTOACC_PKROM_SPACER_S_MEM base address */
241 #define CRYPTOACC_PKROM_SPACER_S_MEM_SIZE                 (0x00000001UL) /** CRYPTOACC_PKROM_SPACER_S_MEM available address space */
242 #define CRYPTOACC_PKROM_SPACER_S_MEM_END                  (0x4C02FFFFUL) /** CRYPTOACC_PKROM_SPACER_S_MEM end address */
243 #define CRYPTOACC_PKROM_SPACER_S_MEM_BITS                 (0x1UL)        /** CRYPTOACC_PKROM_SPACER_S_MEM used bits */
244 #define CRYPTOACC_RNGOUT_FIFO_MEM_BASE                    (0x5C024000UL) /** CRYPTOACC_RNGOUT_FIFO_MEM base address */
245 #define CRYPTOACC_RNGOUT_FIFO_MEM_SIZE                    (0x00004000UL) /** CRYPTOACC_RNGOUT_FIFO_MEM available address space */
246 #define CRYPTOACC_RNGOUT_FIFO_MEM_END                     (0x5C027FFFUL) /** CRYPTOACC_RNGOUT_FIFO_MEM end address */
247 #define CRYPTOACC_RNGOUT_FIFO_MEM_BITS                    (0xFUL)        /** CRYPTOACC_RNGOUT_FIFO_MEM used bits */
248 #define CRYPTOACC_RNGOUT_FIFO_NS_MEM_BASE                 (0x5C024000UL) /** CRYPTOACC_RNGOUT_FIFO_NS_MEM base address */
249 #define CRYPTOACC_RNGOUT_FIFO_NS_MEM_SIZE                 (0x00004000UL) /** CRYPTOACC_RNGOUT_FIFO_NS_MEM available address space */
250 #define CRYPTOACC_RNGOUT_FIFO_NS_MEM_END                  (0x5C027FFFUL) /** CRYPTOACC_RNGOUT_FIFO_NS_MEM end address */
251 #define CRYPTOACC_RNGOUT_FIFO_NS_MEM_BITS                 (0xFUL)        /** CRYPTOACC_RNGOUT_FIFO_NS_MEM used bits */
252 #define CRYPTOACC_PKRAM_MAIN_MEM_BASE                     (0x5C028000UL) /** CRYPTOACC_PKRAM_MAIN_MEM base address */
253 #define CRYPTOACC_PKRAM_MAIN_MEM_SIZE                     (0x00001000UL) /** CRYPTOACC_PKRAM_MAIN_MEM available address space */
254 #define CRYPTOACC_PKRAM_MAIN_MEM_END                      (0x5C028FFFUL) /** CRYPTOACC_PKRAM_MAIN_MEM end address */
255 #define CRYPTOACC_PKRAM_MAIN_MEM_BITS                     (0xDUL)        /** CRYPTOACC_PKRAM_MAIN_MEM used bits */
256 #define CRYPTOACC_PKRAM_MAIN_NS_MEM_BASE                  (0x5C028000UL) /** CRYPTOACC_PKRAM_MAIN_NS_MEM base address */
257 #define CRYPTOACC_PKRAM_MAIN_NS_MEM_SIZE                  (0x00001000UL) /** CRYPTOACC_PKRAM_MAIN_NS_MEM available address space */
258 #define CRYPTOACC_PKRAM_MAIN_NS_MEM_END                   (0x5C028FFFUL) /** CRYPTOACC_PKRAM_MAIN_NS_MEM end address */
259 #define CRYPTOACC_PKRAM_MAIN_NS_MEM_BITS                  (0xDUL)        /** CRYPTOACC_PKRAM_MAIN_NS_MEM used bits */
260 #define CRYPTOACC_PKROM_MAIN_MEM_BASE                     (0x5C02C000UL) /** CRYPTOACC_PKROM_MAIN_MEM base address */
261 #define CRYPTOACC_PKROM_MAIN_MEM_SIZE                     (0x00001128UL) /** CRYPTOACC_PKROM_MAIN_MEM available address space */
262 #define CRYPTOACC_PKROM_MAIN_MEM_END                      (0x5C02D127UL) /** CRYPTOACC_PKROM_MAIN_MEM end address */
263 #define CRYPTOACC_PKROM_MAIN_MEM_BITS                     (0xDUL)        /** CRYPTOACC_PKROM_MAIN_MEM used bits */
264 #define CRYPTOACC_PKROM_MAIN_NS_MEM_BASE                  (0x5C02C000UL) /** CRYPTOACC_PKROM_MAIN_NS_MEM base address */
265 #define CRYPTOACC_PKROM_MAIN_NS_MEM_SIZE                  (0x00001128UL) /** CRYPTOACC_PKROM_MAIN_NS_MEM available address space */
266 #define CRYPTOACC_PKROM_MAIN_NS_MEM_END                   (0x5C02D127UL) /** CRYPTOACC_PKROM_MAIN_NS_MEM end address */
267 #define CRYPTOACC_PKROM_MAIN_NS_MEM_BITS                  (0xDUL)        /** CRYPTOACC_PKROM_MAIN_NS_MEM used bits */
268 #define CRYPTOACC_PKROM_SPACER_MEM_BASE                   (0x5C02FFFFUL) /** CRYPTOACC_PKROM_SPACER_MEM base address */
269 #define CRYPTOACC_PKROM_SPACER_MEM_SIZE                   (0x00000001UL) /** CRYPTOACC_PKROM_SPACER_MEM available address space */
270 #define CRYPTOACC_PKROM_SPACER_MEM_END                    (0x5C02FFFFUL) /** CRYPTOACC_PKROM_SPACER_MEM end address */
271 #define CRYPTOACC_PKROM_SPACER_MEM_BITS                   (0x1UL)        /** CRYPTOACC_PKROM_SPACER_MEM used bits */
272 #define CRYPTOACC_PKROM_SPACER_NS_MEM_BASE                (0x5C02FFFFUL) /** CRYPTOACC_PKROM_SPACER_NS_MEM base address */
273 #define CRYPTOACC_PKROM_SPACER_NS_MEM_SIZE                (0x00000001UL) /** CRYPTOACC_PKROM_SPACER_NS_MEM available address space */
274 #define CRYPTOACC_PKROM_SPACER_NS_MEM_END                 (0x5C02FFFFUL) /** CRYPTOACC_PKROM_SPACER_NS_MEM end address */
275 #define CRYPTOACC_PKROM_SPACER_NS_MEM_BITS                (0x1UL)        /** CRYPTOACC_PKROM_SPACER_NS_MEM used bits */
276 #define RDMEM_SEQRAM_S_MEM_BASE                           (0xA0000000UL) /** RDMEM_SEQRAM_S_MEM base address */
277 #define RDMEM_SEQRAM_S_MEM_SIZE                           (0x00004000UL) /** RDMEM_SEQRAM_S_MEM available address space */
278 #define RDMEM_SEQRAM_S_MEM_END                            (0xA0003FFFUL) /** RDMEM_SEQRAM_S_MEM end address */
279 #define RDMEM_SEQRAM_S_MEM_BITS                           (0xFUL)        /** RDMEM_SEQRAM_S_MEM used bits */
280 #define RDMEM_FRCRAM_S_MEM_BASE                           (0xA0004000UL) /** RDMEM_FRCRAM_S_MEM base address */
281 #define RDMEM_FRCRAM_S_MEM_SIZE                           (0x00001000UL) /** RDMEM_FRCRAM_S_MEM available address space */
282 #define RDMEM_FRCRAM_S_MEM_END                            (0xA0004FFFUL) /** RDMEM_FRCRAM_S_MEM end address */
283 #define RDMEM_FRCRAM_S_MEM_BITS                           (0xDUL)        /** RDMEM_FRCRAM_S_MEM used bits */
284 #define RDMEM_SEQRAM_NS_MEM_BASE                          (0xB0000000UL) /** RDMEM_SEQRAM_NS_MEM base address */
285 #define RDMEM_SEQRAM_NS_MEM_SIZE                          (0x00004000UL) /** RDMEM_SEQRAM_NS_MEM available address space */
286 #define RDMEM_SEQRAM_NS_MEM_END                           (0xB0003FFFUL) /** RDMEM_SEQRAM_NS_MEM end address */
287 #define RDMEM_SEQRAM_NS_MEM_BITS                          (0xFUL)        /** RDMEM_SEQRAM_NS_MEM used bits */
288 #define RDMEM_SEQRAM_SEQRAM_MEM_BASE                      (0xB0000000UL) /** RDMEM_SEQRAM_SEQRAM_MEM base address */
289 #define RDMEM_SEQRAM_SEQRAM_MEM_SIZE                      (0x00004000UL) /** RDMEM_SEQRAM_SEQRAM_MEM available address space */
290 #define RDMEM_SEQRAM_SEQRAM_MEM_END                       (0xB0003FFFUL) /** RDMEM_SEQRAM_SEQRAM_MEM end address */
291 #define RDMEM_SEQRAM_SEQRAM_MEM_BITS                      (0xFUL)        /** RDMEM_SEQRAM_SEQRAM_MEM used bits */
292 #define RDMEM_FRCRAM_FRCRAM_MEM_BASE                      (0xB0004000UL) /** RDMEM_FRCRAM_FRCRAM_MEM base address */
293 #define RDMEM_FRCRAM_FRCRAM_MEM_SIZE                      (0x00001000UL) /** RDMEM_FRCRAM_FRCRAM_MEM available address space */
294 #define RDMEM_FRCRAM_FRCRAM_MEM_END                       (0xB0004FFFUL) /** RDMEM_FRCRAM_FRCRAM_MEM end address */
295 #define RDMEM_FRCRAM_FRCRAM_MEM_BITS                      (0xDUL)        /** RDMEM_FRCRAM_FRCRAM_MEM used bits */
296 #define RDMEM_FRCRAM_NS_MEM_BASE                          (0xB0004000UL) /** RDMEM_FRCRAM_NS_MEM base address */
297 #define RDMEM_FRCRAM_NS_MEM_SIZE                          (0x00001000UL) /** RDMEM_FRCRAM_NS_MEM available address space */
298 #define RDMEM_FRCRAM_NS_MEM_END                           (0xB0004FFFUL) /** RDMEM_FRCRAM_NS_MEM end address */
299 #define RDMEM_FRCRAM_NS_MEM_BITS                          (0xDUL)        /** RDMEM_FRCRAM_NS_MEM used bits */
300 
301 /** Flash and SRAM limits for EFR32BG27C140F768IM40 */
302 #define FLASH_BASE                                        (0x08000000UL) /**< Flash Base Address */
303 #define FLASH_SIZE                                        (0x000C0000UL) /**< Available Flash Memory */
304 #define FLASH_PAGE_SIZE                                   (0x00002000UL) /**< Flash Memory page size */
305 #define SRAM_BASE                                         (0x20000000UL) /**< SRAM Base Address */
306 #define SRAM_SIZE                                         (0x00010000UL) /**< Available SRAM Memory */
307 #define DMA_CHAN_COUNT                                    LDMA_CH_NUM    /**< Number of DMA channels */
308 #define EXT_IRQ_COUNT                                     67             /**< Number of External (NVIC) interrupts */
309 
310 /* GPIO Avalibility Info */
311 #define GPIO_PA_INDEX                                     0U         /**< Index of port PA */
312 #define GPIO_PA_COUNT                                     9U         /**< Number of pins on port PA */
313 #define GPIO_PA_MASK                                      (0x01FFUL) /**< Port PA pin mask */
314 #define GPIO_PA_PIN0                                      1U         /**< GPIO pin PA0 is present. */
315 #define GPIO_PA_PIN1                                      1U         /**< GPIO pin PA1 is present. */
316 #define GPIO_PA_PIN2                                      1U         /**< GPIO pin PA2 is present. */
317 #define GPIO_PA_PIN3                                      1U         /**< GPIO pin PA3 is present. */
318 #define GPIO_PA_PIN4                                      1U         /**< GPIO pin PA4 is present. */
319 #define GPIO_PA_PIN5                                      1U         /**< GPIO pin PA5 is present. */
320 #define GPIO_PA_PIN6                                      1U         /**< GPIO pin PA6 is present. */
321 #define GPIO_PA_PIN7                                      1U         /**< GPIO pin PA7 is present. */
322 #define GPIO_PA_PIN8                                      1U         /**< GPIO pin PA8 is present. */
323 #define GPIO_PB_INDEX                                     1U         /**< Index of port PB */
324 #define GPIO_PB_COUNT                                     5U         /**< Number of pins on port PB */
325 #define GPIO_PB_MASK                                      (0x001FUL) /**< Port PB pin mask */
326 #define GPIO_PB_PIN0                                      1U         /**< GPIO pin PB0 is present. */
327 #define GPIO_PB_PIN1                                      1U         /**< GPIO pin PB1 is present. */
328 #define GPIO_PB_PIN2                                      1U         /**< GPIO pin PB2 is present. */
329 #define GPIO_PB_PIN3                                      1U         /**< GPIO pin PB3 is present. */
330 #define GPIO_PB_PIN4                                      1U         /**< GPIO pin PB4 is present. */
331 #define GPIO_PC_INDEX                                     2U         /**< Index of port PC */
332 #define GPIO_PC_COUNT                                     8U         /**< Number of pins on port PC */
333 #define GPIO_PC_MASK                                      (0x00FFUL) /**< Port PC pin mask */
334 #define GPIO_PC_PIN0                                      1U         /**< GPIO pin PC0 is present. */
335 #define GPIO_PC_PIN1                                      1U         /**< GPIO pin PC1 is present. */
336 #define GPIO_PC_PIN2                                      1U         /**< GPIO pin PC2 is present. */
337 #define GPIO_PC_PIN3                                      1U         /**< GPIO pin PC3 is present. */
338 #define GPIO_PC_PIN4                                      1U         /**< GPIO pin PC4 is present. */
339 #define GPIO_PC_PIN5                                      1U         /**< GPIO pin PC5 is present. */
340 #define GPIO_PC_PIN6                                      1U         /**< GPIO pin PC6 is present. */
341 #define GPIO_PC_PIN7                                      1U         /**< GPIO pin PC7 is present. */
342 #define GPIO_PD_INDEX                                     3U         /**< Index of port PD */
343 #define GPIO_PD_COUNT                                     4U         /**< Number of pins on port PD */
344 #define GPIO_PD_MASK                                      (0x000FUL) /**< Port PD pin mask */
345 #define GPIO_PD_PIN0                                      1U         /**< GPIO pin PD0 is present. */
346 #define GPIO_PD_PIN1                                      1U         /**< GPIO pin PD1 is present. */
347 #define GPIO_PD_PIN2                                      1U         /**< GPIO pin PD2 is present. */
348 #define GPIO_PD_PIN3                                      1U         /**< GPIO pin PD3 is present. */
349 
350 /* Fixed Resource Locations */
351 #define ETAMPDET_ETAMPIN0_PORT                            GPIO_PB_INDEX /**< Port of ETAMPIN0.*/
352 #define ETAMPDET_ETAMPIN0_PIN                             1U            /**< Pin of ETAMPIN0.*/
353 #define ETAMPDET_ETAMPIN1_PORT                            GPIO_PC_INDEX /**< Port of ETAMPIN1.*/
354 #define ETAMPDET_ETAMPIN1_PIN                             0U            /**< Pin of ETAMPIN1.*/
355 #define ETAMPDET_ETAMPOUT0_PORT                           GPIO_PC_INDEX /**< Port of ETAMPOUT0.*/
356 #define ETAMPDET_ETAMPOUT0_PIN                            1U            /**< Pin of ETAMPOUT0.*/
357 #define ETAMPDET_ETAMPOUT1_PORT                           GPIO_PC_INDEX /**< Port of ETAMPOUT1.*/
358 #define ETAMPDET_ETAMPOUT1_PIN                            2U            /**< Pin of ETAMPOUT1.*/
359 #define GPIO_SWCLK_PORT                                   GPIO_PA_INDEX /**< Port of SWCLK.*/
360 #define GPIO_SWCLK_PIN                                    1U            /**< Pin of SWCLK.*/
361 #define GPIO_SWDIO_PORT                                   GPIO_PA_INDEX /**< Port of SWDIO.*/
362 #define GPIO_SWDIO_PIN                                    2U            /**< Pin of SWDIO.*/
363 #define GPIO_SWV_PORT                                     GPIO_PA_INDEX /**< Port of SWV.*/
364 #define GPIO_SWV_PIN                                      3U            /**< Pin of SWV.*/
365 #define GPIO_TDI_PORT                                     GPIO_PA_INDEX /**< Port of TDI.*/
366 #define GPIO_TDI_PIN                                      4U            /**< Pin of TDI.*/
367 #define GPIO_TDO_PORT                                     GPIO_PA_INDEX /**< Port of TDO.*/
368 #define GPIO_TDO_PIN                                      3U            /**< Pin of TDO.*/
369 #define GPIO_TRACECLK_PORT                                GPIO_PA_INDEX /**< Port of TRACECLK.*/
370 #define GPIO_TRACECLK_PIN                                 4U            /**< Pin of TRACECLK.*/
371 #define GPIO_TRACEDATA0_PORT                              GPIO_PA_INDEX /**< Port of TRACEDATA0.*/
372 #define GPIO_TRACEDATA0_PIN                               3U            /**< Pin of TRACEDATA0.*/
373 #define GPIO_TRACEDATA1_PORT                              GPIO_PA_INDEX /**< Port of TRACEDATA1.*/
374 #define GPIO_TRACEDATA1_PIN                               5U            /**< Pin of TRACEDATA1.*/
375 #define GPIO_TRACEDATA2_PORT                              GPIO_PA_INDEX /**< Port of TRACEDATA2.*/
376 #define GPIO_TRACEDATA2_PIN                               6U            /**< Pin of TRACEDATA2.*/
377 #define GPIO_TRACEDATA3_PORT                              GPIO_PA_INDEX /**< Port of TRACEDATA3.*/
378 #define GPIO_TRACEDATA3_PIN                               7U            /**< Pin of TRACEDATA3.*/
379 #define GPIO_EFP_INT_PORT                                 GPIO_PC_INDEX /**< Port of EFP_INT.*/
380 #define GPIO_EFP_INT_PIN                                  5U            /**< Pin of EFP_INT.*/
381 #define GPIO_EFP_TX_SCL_PORT                              GPIO_PC_INDEX /**< Port of EFP_TX_SCL.*/
382 #define GPIO_EFP_TX_SCL_PIN                               2U            /**< Pin of EFP_TX_SCL.*/
383 #define GPIO_EFP_TX_SDA_PORT                              GPIO_PC_INDEX /**< Port of EFP_TX_SDA.*/
384 #define GPIO_EFP_TX_SDA_PIN                               1U            /**< Pin of EFP_TX_SDA.*/
385 #define GPIO_EM4WU0_PORT                                  GPIO_PA_INDEX /**< Port of EM4WU0.*/
386 #define GPIO_EM4WU0_PIN                                   5U            /**< Pin of EM4WU0.*/
387 #define GPIO_EM4WU3_PORT                                  GPIO_PB_INDEX /**< Port of EM4WU3.*/
388 #define GPIO_EM4WU3_PIN                                   1U            /**< Pin of EM4WU3.*/
389 #define GPIO_EM4WU4_PORT                                  GPIO_PB_INDEX /**< Port of EM4WU4.*/
390 #define GPIO_EM4WU4_PIN                                   3U            /**< Pin of EM4WU4.*/
391 #define GPIO_EM4WU6_PORT                                  GPIO_PC_INDEX /**< Port of EM4WU6.*/
392 #define GPIO_EM4WU6_PIN                                   0U            /**< Pin of EM4WU6.*/
393 #define GPIO_EM4WU7_PORT                                  GPIO_PC_INDEX /**< Port of EM4WU7.*/
394 #define GPIO_EM4WU7_PIN                                   5U            /**< Pin of EM4WU7.*/
395 #define GPIO_EM4WU8_PORT                                  GPIO_PC_INDEX /**< Port of EM4WU8.*/
396 #define GPIO_EM4WU8_PIN                                   7U            /**< Pin of EM4WU8.*/
397 #define GPIO_EM4WU9_PORT                                  GPIO_PD_INDEX /**< Port of EM4WU9.*/
398 #define GPIO_EM4WU9_PIN                                   2U            /**< Pin of EM4WU9.*/
399 #define GPIO_THMSW_EN_PORT                                GPIO_PC_INDEX /**< Port of THMSW_EN.*/
400 #define GPIO_THMSW_EN_PIN                                 0U            /**< Pin of THMSW_EN.*/
401 #define GPIO_THMSW_HALFSWITCH_PORT                        GPIO_PC_INDEX /**< Port of THMSW_HALFSWITCH.*/
402 #define GPIO_THMSW_HALFSWITCH_PIN                         0U            /**< Pin of THMSW_HALFSWITCH.*/
403 #define IADC0_VREFP_PORT                                  GPIO_PA_INDEX /**< Port of VREFP.*/
404 #define IADC0_VREFP_PIN                                   0U            /**< Pin of VREFP.*/
405 #define LFXO_LFXTAL_I_PORT                                GPIO_PD_INDEX /**< Port of LFXTAL_I.*/
406 #define LFXO_LFXTAL_I_PIN                                 1U            /**< Pin of LFXTAL_I.*/
407 #define LFXO_LFXTAL_O_PORT                                GPIO_PD_INDEX /**< Port of LFXTAL_O.*/
408 #define LFXO_LFXTAL_O_PIN                                 0U            /**< Pin of LFXTAL_O.*/
409 #define LFXO_LF_EXTCLK_PORT                               GPIO_PD_INDEX /**< Port of LF_EXTCLK.*/
410 #define LFXO_LF_EXTCLK_PIN                                1U            /**< Pin of LF_EXTCLK.*/
411 
412 /* Part number capabilities */
413 #define ACMP_PRESENT                                        /** ACMP is available in this part */
414 #define ACMP_COUNT                                        1 /** 1 ACMPs available  */
415 #define BURAM_PRESENT                                       /** BURAM is available in this part */
416 #define BURAM_COUNT                                       1 /** 1 BURAMs available  */
417 #define BURTC_PRESENT                                       /** BURTC is available in this part */
418 #define BURTC_COUNT                                       1 /** 1 BURTCs available  */
419 #define CMU_PRESENT                                         /** CMU is available in this part */
420 #define CMU_COUNT                                         1 /** 1 CMUs available  */
421 #define CRYPTOACC_PRESENT                                   /** CRYPTOACC is available in this part */
422 #define CRYPTOACC_COUNT                                   1 /** 1 CRYPTOACCs available  */
423 #define DCDC_PRESENT                                        /** DCDC is available in this part */
424 #define DCDC_COUNT                                        1 /** 1 DCDCs available  */
425 #define DPLL_PRESENT                                        /** DPLL is available in this part */
426 #define DPLL_COUNT                                        1 /** 1 DPLLs available  */
427 #define EMU_PRESENT                                         /** EMU is available in this part */
428 #define EMU_COUNT                                         1 /** 1 EMUs available  */
429 #define ETAMPDET_PRESENT                                    /** ETAMPDET is available in this part */
430 #define ETAMPDET_COUNT                                    1 /** 1 ETAMPDETs available  */
431 #define EUSART_PRESENT                                      /** EUSART is available in this part */
432 #define EUSART_COUNT                                      1 /** 1 EUSARTs available  */
433 #define FSRCO_PRESENT                                       /** FSRCO is available in this part */
434 #define FSRCO_COUNT                                       1 /** 1 FSRCOs available  */
435 #define GPCRC_PRESENT                                       /** GPCRC is available in this part */
436 #define GPCRC_COUNT                                       1 /** 1 GPCRCs available  */
437 #define GPIO_PRESENT                                        /** GPIO is available in this part */
438 #define GPIO_COUNT                                        1 /** 1 GPIOs available  */
439 #define HFRCO_PRESENT                                       /** HFRCO is available in this part */
440 #define HFRCO_COUNT                                       1 /** 1 HFRCOs available  */
441 #define HFXO_PRESENT                                        /** HFXO is available in this part */
442 #define HFXO_COUNT                                        1 /** 1 HFXOs available  */
443 #define I2C_PRESENT                                         /** I2C is available in this part */
444 #define I2C_COUNT                                         2 /** 2 I2Cs available  */
445 #define IADC_PRESENT                                        /** IADC is available in this part */
446 #define IADC_COUNT                                        1 /** 1 IADCs available  */
447 #define ICACHE_PRESENT                                      /** ICACHE is available in this part */
448 #define ICACHE_COUNT                                      1 /** 1 ICACHEs available  */
449 #define LDMA_PRESENT                                        /** LDMA is available in this part */
450 #define LDMA_COUNT                                        1 /** 1 LDMAs available  */
451 #define LDMAXBAR_PRESENT                                    /** LDMAXBAR is available in this part */
452 #define LDMAXBAR_COUNT                                    1 /** 1 LDMAXBARs available  */
453 #define LETIMER_PRESENT                                     /** LETIMER is available in this part */
454 #define LETIMER_COUNT                                     1 /** 1 LETIMERs available  */
455 #define LFRCO_PRESENT                                       /** LFRCO is available in this part */
456 #define LFRCO_COUNT                                       1 /** 1 LFRCOs available  */
457 #define LFXO_PRESENT                                        /** LFXO is available in this part */
458 #define LFXO_COUNT                                        1 /** 1 LFXOs available  */
459 #define MSC_PRESENT                                         /** MSC is available in this part */
460 #define MSC_COUNT                                         1 /** 1 MSCs available  */
461 #define PDM_PRESENT                                         /** PDM is available in this part */
462 #define PDM_COUNT                                         1 /** 1 PDMs available  */
463 #define PRORTC_PRESENT                                      /** PRORTC is available in this part */
464 #define PRORTC_COUNT                                      1 /** 1 PRORTCs available  */
465 #define PRS_PRESENT                                         /** PRS is available in this part */
466 #define PRS_COUNT                                         1 /** 1 PRSs available  */
467 #define RADIOAES_PRESENT                                    /** RADIOAES is available in this part */
468 #define RADIOAES_COUNT                                    1 /** 1 RADIOAESs available  */
469 #define RTCC_PRESENT                                        /** RTCC is available in this part */
470 #define RTCC_COUNT                                        1 /** 1 RTCCs available  */
471 #define SEPUF_PRESENT                                       /** SEPUF is available in this part */
472 #define SEPUF_COUNT                                       1 /** 1 SEPUFs available  */
473 #define SMU_PRESENT                                         /** SMU is available in this part */
474 #define SMU_COUNT                                         1 /** 1 SMUs available  */
475 #define SYSCFG_PRESENT                                      /** SYSCFG is available in this part */
476 #define SYSCFG_COUNT                                      1 /** 1 SYSCFGs available  */
477 #define TIMER_PRESENT                                       /** TIMER is available in this part */
478 #define TIMER_COUNT                                       5 /** 5 TIMERs available  */
479 #define ULFRCO_PRESENT                                      /** ULFRCO is available in this part */
480 #define ULFRCO_COUNT                                      1 /** 1 ULFRCOs available  */
481 #define USART_PRESENT                                       /** USART is available in this part */
482 #define USART_COUNT                                       2 /** 2 USARTs available  */
483 #define WDOG_PRESENT                                        /** WDOG is available in this part */
484 #define WDOG_COUNT                                        1 /** 1 WDOGs available  */
485 #define DEVINFO_PRESENT                                     /** DEVINFO is available in this part */
486 #define DEVINFO_COUNT                                     1 /** 1 DEVINFOs available  */
487 
488 /* Include standard ARM headers for the core */
489 #include "core_cm33.h"        /* Core Header File */
490 #include "system_efr32bg27.h" /* System Header File */
491 
492 /** @} End of group EFR32BG27C140F768IM40_Part */
493 
494 /**************************************************************************//**
495  * @defgroup EFR32BG27C140F768IM40_Peripheral_TypeDefs EFR32BG27C140F768IM40 Peripheral TypeDefs
496  * @{
497  * @brief Device Specific Peripheral Register Structures
498  *****************************************************************************/
499 #include "efr32bg27_emu.h"
500 #include "efr32bg27_cmu.h"
501 #include "efr32bg27_hfxo.h"
502 #include "efr32bg27_hfrco.h"
503 #include "efr32bg27_fsrco.h"
504 #include "efr32bg27_dpll.h"
505 #include "efr32bg27_lfxo.h"
506 #include "efr32bg27_lfrco.h"
507 #include "efr32bg27_ulfrco.h"
508 #include "efr32bg27_msc.h"
509 #include "efr32bg27_icache.h"
510 #include "efr32bg27_prs.h"
511 #include "efr32bg27_gpio.h"
512 #include "efr32bg27_ldma.h"
513 #include "efr32bg27_ldmaxbar.h"
514 #include "efr32bg27_timer.h"
515 #include "efr32bg27_usart.h"
516 #include "efr32bg27_burtc.h"
517 #include "efr32bg27_i2c.h"
518 #include "efr32bg27_syscfg.h"
519 #include "efr32bg27_buram.h"
520 #include "efr32bg27_gpcrc.h"
521 #include "efr32bg27_dcdc.h"
522 #include "efr32bg27_pdm.h"
523 #include "efr32bg27_sepuf.h"
524 #include "efr32bg27_etampdet.h"
525 #include "efr32bg27_aes.h"
526 #include "efr32bg27_smu.h"
527 #include "efr32bg27_rtcc.h"
528 #include "efr32bg27_letimer.h"
529 #include "efr32bg27_iadc.h"
530 #include "efr32bg27_acmp.h"
531 #include "efr32bg27_wdog.h"
532 #include "efr32bg27_eusart.h"
533 #include "efr32bg27_cryptoacc.h"
534 #include "efr32bg27_devinfo.h"
535 
536 /* Custom headers for LDMAXBAR and PRS mappings */
537 #include "efr32bg27_prs_signals.h"
538 #include "efr32bg27_dma_descriptor.h"
539 #include "efr32bg27_ldmaxbar_defines.h"
540 
541 /** @} End of group EFR32BG27C140F768IM40_Peripheral_TypeDefs  */
542 
543 /**************************************************************************//**
544  * @defgroup EFR32BG27C140F768IM40_Peripheral_Base EFR32BG27C140F768IM40 Peripheral Memory Map
545  * @{
546  *****************************************************************************/
547 
548 #define EMU_S_BASE              (0x40004000UL) /* EMU_S base address */
549 #define CMU_S_BASE              (0x40008000UL) /* CMU_S base address */
550 #define HFXO0_S_BASE            (0x4000C000UL) /* HFXO0_S base address */
551 #define HFRCO0_S_BASE           (0x40010000UL) /* HFRCO0_S base address */
552 #define FSRCO_S_BASE            (0x40018000UL) /* FSRCO_S base address */
553 #define DPLL0_S_BASE            (0x4001C000UL) /* DPLL0_S base address */
554 #define LFXO_S_BASE             (0x40020000UL) /* LFXO_S base address */
555 #define LFRCO_S_BASE            (0x40024000UL) /* LFRCO_S base address */
556 #define ULFRCO_S_BASE           (0x40028000UL) /* ULFRCO_S base address */
557 #define MSC_S_BASE              (0x40030000UL) /* MSC_S base address */
558 #define ICACHE0_S_BASE          (0x40034000UL) /* ICACHE0_S base address */
559 #define PRS_S_BASE              (0x40038000UL) /* PRS_S base address */
560 #define GPIO_S_BASE             (0x4003C000UL) /* GPIO_S base address */
561 #define LDMA_S_BASE             (0x40040000UL) /* LDMA_S base address */
562 #define LDMAXBAR_S_BASE         (0x40044000UL) /* LDMAXBAR_S base address */
563 #define TIMER0_S_BASE           (0x40048000UL) /* TIMER0_S base address */
564 #define TIMER1_S_BASE           (0x4004C000UL) /* TIMER1_S base address */
565 #define TIMER2_S_BASE           (0x40050000UL) /* TIMER2_S base address */
566 #define TIMER3_S_BASE           (0x40054000UL) /* TIMER3_S base address */
567 #define TIMER4_S_BASE           (0x40058000UL) /* TIMER4_S base address */
568 #define USART0_S_BASE           (0x4005C000UL) /* USART0_S base address */
569 #define USART1_S_BASE           (0x40060000UL) /* USART1_S base address */
570 #define BURTC_S_BASE            (0x40064000UL) /* BURTC_S base address */
571 #define I2C1_S_BASE             (0x40068000UL) /* I2C1_S base address */
572 #define SYSCFG_S_CFGNS_BASE     (0x40078000UL) /* SYSCFG_S_CFGNS base address */
573 #define SYSCFG_S_BASE           (0x4007C000UL) /* SYSCFG_S base address */
574 #define BURAM_S_BASE            (0x40080000UL) /* BURAM_S base address */
575 #define GPCRC_S_BASE            (0x40088000UL) /* GPCRC_S base address */
576 #define DCDC_S_BASE             (0x40094000UL) /* DCDC_S base address */
577 #define PDM_S_BASE              (0x40098000UL) /* PDM_S base address */
578 #define SEPUF_S_APBCFG_BASE     (0x400A0000UL) /* SEPUF_S_APBCFG base address */
579 #define ETAMPDET_S_BASE         (0x400A4000UL) /* ETAMPDET_S base address */
580 #define RADIOAES_S_BASE         (0x44000000UL) /* RADIOAES_S base address */
581 #define SMU_S_BASE              (0x44008000UL) /* SMU_S base address */
582 #define SMU_S_CFGNS_BASE        (0x4400C000UL) /* SMU_S_CFGNS base address */
583 #define RTCC_S_BASE             (0x48000000UL) /* RTCC_S base address */
584 #define LETIMER0_S_BASE         (0x4A000000UL) /* LETIMER0_S base address */
585 #define IADC0_S_BASE            (0x4A004000UL) /* IADC0_S base address */
586 #define ACMP0_S_BASE            (0x4A008000UL) /* ACMP0_S base address */
587 #define I2C0_S_BASE             (0x4A010000UL) /* I2C0_S base address */
588 #define WDOG0_S_BASE            (0x4A018000UL) /* WDOG0_S base address */
589 #define EUSART0_S_BASE          (0x4A040000UL) /* EUSART0_S base address */
590 #define CRYPTOACC_S_BASE        (0x4C020000UL) /* CRYPTOACC_S base address */
591 #define PRORTC_S_BASE           (0xA8000000UL) /* PRORTC_S base address */
592 #define EMU_NS_BASE             (0x50004000UL) /* EMU_NS base address */
593 #define CMU_NS_BASE             (0x50008000UL) /* CMU_NS base address */
594 #define HFXO0_NS_BASE           (0x5000C000UL) /* HFXO0_NS base address */
595 #define HFRCO0_NS_BASE          (0x50010000UL) /* HFRCO0_NS base address */
596 #define FSRCO_NS_BASE           (0x50018000UL) /* FSRCO_NS base address */
597 #define DPLL0_NS_BASE           (0x5001C000UL) /* DPLL0_NS base address */
598 #define LFXO_NS_BASE            (0x50020000UL) /* LFXO_NS base address */
599 #define LFRCO_NS_BASE           (0x50024000UL) /* LFRCO_NS base address */
600 #define ULFRCO_NS_BASE          (0x50028000UL) /* ULFRCO_NS base address */
601 #define MSC_NS_BASE             (0x50030000UL) /* MSC_NS base address */
602 #define ICACHE0_NS_BASE         (0x50034000UL) /* ICACHE0_NS base address */
603 #define PRS_NS_BASE             (0x50038000UL) /* PRS_NS base address */
604 #define GPIO_NS_BASE            (0x5003C000UL) /* GPIO_NS base address */
605 #define LDMA_NS_BASE            (0x50040000UL) /* LDMA_NS base address */
606 #define LDMAXBAR_NS_BASE        (0x50044000UL) /* LDMAXBAR_NS base address */
607 #define TIMER0_NS_BASE          (0x50048000UL) /* TIMER0_NS base address */
608 #define TIMER1_NS_BASE          (0x5004C000UL) /* TIMER1_NS base address */
609 #define TIMER2_NS_BASE          (0x50050000UL) /* TIMER2_NS base address */
610 #define TIMER3_NS_BASE          (0x50054000UL) /* TIMER3_NS base address */
611 #define TIMER4_NS_BASE          (0x50058000UL) /* TIMER4_NS base address */
612 #define USART0_NS_BASE          (0x5005C000UL) /* USART0_NS base address */
613 #define USART1_NS_BASE          (0x50060000UL) /* USART1_NS base address */
614 #define BURTC_NS_BASE           (0x50064000UL) /* BURTC_NS base address */
615 #define I2C1_NS_BASE            (0x50068000UL) /* I2C1_NS base address */
616 #define SYSCFG_NS_CFGNS_BASE    (0x50078000UL) /* SYSCFG_NS_CFGNS base address */
617 #define SYSCFG_NS_BASE          (0x5007C000UL) /* SYSCFG_NS base address */
618 #define BURAM_NS_BASE           (0x50080000UL) /* BURAM_NS base address */
619 #define GPCRC_NS_BASE           (0x50088000UL) /* GPCRC_NS base address */
620 #define DCDC_NS_BASE            (0x50094000UL) /* DCDC_NS base address */
621 #define PDM_NS_BASE             (0x50098000UL) /* PDM_NS base address */
622 #define SEPUF_NS_APBCFG_BASE    (0x500A0000UL) /* SEPUF_NS_APBCFG base address */
623 #define ETAMPDET_NS_BASE        (0x500A4000UL) /* ETAMPDET_NS base address */
624 #define RADIOAES_NS_BASE        (0x54000000UL) /* RADIOAES_NS base address */
625 #define SMU_NS_BASE             (0x54008000UL) /* SMU_NS base address */
626 #define SMU_NS_CFGNS_BASE       (0x5400C000UL) /* SMU_NS_CFGNS base address */
627 #define RTCC_NS_BASE            (0x58000000UL) /* RTCC_NS base address */
628 #define LETIMER0_NS_BASE        (0x5A000000UL) /* LETIMER0_NS base address */
629 #define IADC0_NS_BASE           (0x5A004000UL) /* IADC0_NS base address */
630 #define ACMP0_NS_BASE           (0x5A008000UL) /* ACMP0_NS base address */
631 #define I2C0_NS_BASE            (0x5A010000UL) /* I2C0_NS base address */
632 #define WDOG0_NS_BASE           (0x5A018000UL) /* WDOG0_NS base address */
633 #define EUSART0_NS_BASE         (0x5A040000UL) /* EUSART0_NS base address */
634 #define CRYPTOACC_NS_BASE       (0x5C020000UL) /* CRYPTOACC_NS base address */
635 #define PRORTC_NS_BASE          (0xB8000000UL) /* PRORTC_NS base address */
636 
637 #if defined(SL_COMPONENT_CATALOG_PRESENT)
638 #include "sl_component_catalog.h"
639 
640 #endif
641 #if defined(SL_CATALOG_TRUSTZONE_SECURE_CONFIG_PRESENT)
642 #include "sl_trustzone_secure_config.h"
643 
644 #endif
645 
646 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_EMU_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_EMU_S) && (SL_TRUSTZONE_PERIPHERAL_EMU_S != 0)))
647 #define EMU_BASE             (EMU_S_BASE)                    /* EMU base address */
648 #else
649 #define EMU_BASE             (EMU_NS_BASE)                   /* EMU base address */
650 #endif /* SL_TRUSTZONE_PERIPHERAL_EMU_S */
651 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_CMU_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_CMU_S) && (SL_TRUSTZONE_PERIPHERAL_CMU_S != 0)))
652 #define CMU_BASE             (CMU_S_BASE)                    /* CMU base address */
653 #else
654 #define CMU_BASE             (CMU_NS_BASE)                   /* CMU base address */
655 #endif /* SL_TRUSTZONE_PERIPHERAL_CMU_S */
656 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_HFXO0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_HFXO0_S) && (SL_TRUSTZONE_PERIPHERAL_HFXO0_S != 0)))
657 #define HFXO0_BASE           (HFXO0_S_BASE)                  /* HFXO0 base address */
658 #else
659 #define HFXO0_BASE           (HFXO0_NS_BASE)                 /* HFXO0 base address */
660 #endif /* SL_TRUSTZONE_PERIPHERAL_HFXO0_S */
661 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_HFRCO0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_HFRCO0_S) && (SL_TRUSTZONE_PERIPHERAL_HFRCO0_S != 0)))
662 #define HFRCO0_BASE          (HFRCO0_S_BASE)                 /* HFRCO0 base address */
663 #else
664 #define HFRCO0_BASE          (HFRCO0_NS_BASE)                /* HFRCO0 base address */
665 #endif /* SL_TRUSTZONE_PERIPHERAL_HFRCO0_S */
666 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_FSRCO_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_FSRCO_S) && (SL_TRUSTZONE_PERIPHERAL_FSRCO_S != 0)))
667 #define FSRCO_BASE           (FSRCO_S_BASE)                  /* FSRCO base address */
668 #else
669 #define FSRCO_BASE           (FSRCO_NS_BASE)                 /* FSRCO base address */
670 #endif /* SL_TRUSTZONE_PERIPHERAL_FSRCO_S */
671 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_DPLL0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_DPLL0_S) && (SL_TRUSTZONE_PERIPHERAL_DPLL0_S != 0)))
672 #define DPLL0_BASE           (DPLL0_S_BASE)                  /* DPLL0 base address */
673 #else
674 #define DPLL0_BASE           (DPLL0_NS_BASE)                 /* DPLL0 base address */
675 #endif /* SL_TRUSTZONE_PERIPHERAL_DPLL0_S */
676 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_LFXO_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_LFXO_S) && (SL_TRUSTZONE_PERIPHERAL_LFXO_S != 0)))
677 #define LFXO_BASE            (LFXO_S_BASE)                   /* LFXO base address */
678 #else
679 #define LFXO_BASE            (LFXO_NS_BASE)                  /* LFXO base address */
680 #endif /* SL_TRUSTZONE_PERIPHERAL_LFXO_S */
681 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_LFRCO_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_LFRCO_S) && (SL_TRUSTZONE_PERIPHERAL_LFRCO_S != 0)))
682 #define LFRCO_BASE           (LFRCO_S_BASE)                  /* LFRCO base address */
683 #else
684 #define LFRCO_BASE           (LFRCO_NS_BASE)                 /* LFRCO base address */
685 #endif /* SL_TRUSTZONE_PERIPHERAL_LFRCO_S */
686 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_ULFRCO_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_ULFRCO_S) && (SL_TRUSTZONE_PERIPHERAL_ULFRCO_S != 0)))
687 #define ULFRCO_BASE          (ULFRCO_S_BASE)                 /* ULFRCO base address */
688 #else
689 #define ULFRCO_BASE          (ULFRCO_NS_BASE)                /* ULFRCO base address */
690 #endif /* SL_TRUSTZONE_PERIPHERAL_ULFRCO_S */
691 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_MSC_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_MSC_S) && (SL_TRUSTZONE_PERIPHERAL_MSC_S != 0)))
692 #define MSC_BASE             (MSC_S_BASE)                    /* MSC base address */
693 #else
694 #define MSC_BASE             (MSC_NS_BASE)                   /* MSC base address */
695 #endif /* SL_TRUSTZONE_PERIPHERAL_MSC_S */
696 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_ICACHE0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_ICACHE0_S) && (SL_TRUSTZONE_PERIPHERAL_ICACHE0_S != 0)))
697 #define ICACHE0_BASE         (ICACHE0_S_BASE)                /* ICACHE0 base address */
698 #else
699 #define ICACHE0_BASE         (ICACHE0_NS_BASE)               /* ICACHE0 base address */
700 #endif /* SL_TRUSTZONE_PERIPHERAL_ICACHE0_S */
701 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_PRS_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_PRS_S) && (SL_TRUSTZONE_PERIPHERAL_PRS_S != 0)))
702 #define PRS_BASE             (PRS_S_BASE)                    /* PRS base address */
703 #else
704 #define PRS_BASE             (PRS_NS_BASE)                   /* PRS base address */
705 #endif /* SL_TRUSTZONE_PERIPHERAL_PRS_S */
706 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_GPIO_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_GPIO_S) && (SL_TRUSTZONE_PERIPHERAL_GPIO_S != 0)))
707 #define GPIO_BASE            (GPIO_S_BASE)                   /* GPIO base address */
708 #else
709 #define GPIO_BASE            (GPIO_NS_BASE)                  /* GPIO base address */
710 #endif /* SL_TRUSTZONE_PERIPHERAL_GPIO_S */
711 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_LDMA_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_LDMA_S) && (SL_TRUSTZONE_PERIPHERAL_LDMA_S != 0)))
712 #define LDMA_BASE            (LDMA_S_BASE)                   /* LDMA base address */
713 #else
714 #define LDMA_BASE            (LDMA_NS_BASE)                  /* LDMA base address */
715 #endif /* SL_TRUSTZONE_PERIPHERAL_LDMA_S */
716 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_LDMAXBAR_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_LDMAXBAR_S) && (SL_TRUSTZONE_PERIPHERAL_LDMAXBAR_S != 0)))
717 #define LDMAXBAR_BASE        (LDMAXBAR_S_BASE)               /* LDMAXBAR base address */
718 #else
719 #define LDMAXBAR_BASE        (LDMAXBAR_NS_BASE)              /* LDMAXBAR base address */
720 #endif /* SL_TRUSTZONE_PERIPHERAL_LDMAXBAR_S */
721 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_TIMER0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_TIMER0_S) && (SL_TRUSTZONE_PERIPHERAL_TIMER0_S != 0)))
722 #define TIMER0_BASE          (TIMER0_S_BASE)                 /* TIMER0 base address */
723 #else
724 #define TIMER0_BASE          (TIMER0_NS_BASE)                /* TIMER0 base address */
725 #endif /* SL_TRUSTZONE_PERIPHERAL_TIMER0_S */
726 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_TIMER1_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_TIMER1_S) && (SL_TRUSTZONE_PERIPHERAL_TIMER1_S != 0)))
727 #define TIMER1_BASE          (TIMER1_S_BASE)                 /* TIMER1 base address */
728 #else
729 #define TIMER1_BASE          (TIMER1_NS_BASE)                /* TIMER1 base address */
730 #endif /* SL_TRUSTZONE_PERIPHERAL_TIMER1_S */
731 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_TIMER2_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_TIMER2_S) && (SL_TRUSTZONE_PERIPHERAL_TIMER2_S != 0)))
732 #define TIMER2_BASE          (TIMER2_S_BASE)                 /* TIMER2 base address */
733 #else
734 #define TIMER2_BASE          (TIMER2_NS_BASE)                /* TIMER2 base address */
735 #endif /* SL_TRUSTZONE_PERIPHERAL_TIMER2_S */
736 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_TIMER3_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_TIMER3_S) && (SL_TRUSTZONE_PERIPHERAL_TIMER3_S != 0)))
737 #define TIMER3_BASE          (TIMER3_S_BASE)                 /* TIMER3 base address */
738 #else
739 #define TIMER3_BASE          (TIMER3_NS_BASE)                /* TIMER3 base address */
740 #endif /* SL_TRUSTZONE_PERIPHERAL_TIMER3_S */
741 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_TIMER4_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_TIMER4_S) && (SL_TRUSTZONE_PERIPHERAL_TIMER4_S != 0)))
742 #define TIMER4_BASE          (TIMER4_S_BASE)                 /* TIMER4 base address */
743 #else
744 #define TIMER4_BASE          (TIMER4_NS_BASE)                /* TIMER4 base address */
745 #endif /* SL_TRUSTZONE_PERIPHERAL_TIMER4_S */
746 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_USART0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_USART0_S) && (SL_TRUSTZONE_PERIPHERAL_USART0_S != 0)))
747 #define USART0_BASE          (USART0_S_BASE)                 /* USART0 base address */
748 #else
749 #define USART0_BASE          (USART0_NS_BASE)                /* USART0 base address */
750 #endif /* SL_TRUSTZONE_PERIPHERAL_USART0_S */
751 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_USART1_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_USART1_S) && (SL_TRUSTZONE_PERIPHERAL_USART1_S != 0)))
752 #define USART1_BASE          (USART1_S_BASE)                 /* USART1 base address */
753 #else
754 #define USART1_BASE          (USART1_NS_BASE)                /* USART1 base address */
755 #endif /* SL_TRUSTZONE_PERIPHERAL_USART1_S */
756 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_BURTC_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_BURTC_S) && (SL_TRUSTZONE_PERIPHERAL_BURTC_S != 0)))
757 #define BURTC_BASE           (BURTC_S_BASE)                  /* BURTC base address */
758 #else
759 #define BURTC_BASE           (BURTC_NS_BASE)                 /* BURTC base address */
760 #endif /* SL_TRUSTZONE_PERIPHERAL_BURTC_S */
761 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_I2C1_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_I2C1_S) && (SL_TRUSTZONE_PERIPHERAL_I2C1_S != 0)))
762 #define I2C1_BASE            (I2C1_S_BASE)                   /* I2C1 base address */
763 #else
764 #define I2C1_BASE            (I2C1_NS_BASE)                  /* I2C1 base address */
765 #endif /* SL_TRUSTZONE_PERIPHERAL_I2C1_S */
766 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_SYSCFG_CFGNS_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_SYSCFG_CFGNS_S) && (SL_TRUSTZONE_PERIPHERAL_SYSCFG_CFGNS_S != 0)))
767 #define SYSCFG_CFGNS_BASE    (SYSCFG_S_CFGNS_BASE)           /* SYSCFG_CFGNS base address */
768 #else
769 #define SYSCFG_CFGNS_BASE    (SYSCFG_NS_CFGNS_BASE)          /* SYSCFG_CFGNS base address */
770 #endif /* SL_TRUSTZONE_PERIPHERAL_SYSCFG_CFGNS_S */
771 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_SYSCFG_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_SYSCFG_S) && (SL_TRUSTZONE_PERIPHERAL_SYSCFG_S != 0)))
772 #define SYSCFG_BASE          (SYSCFG_S_BASE)                 /* SYSCFG base address */
773 #else
774 #define SYSCFG_BASE          (SYSCFG_NS_BASE)                /* SYSCFG base address */
775 #endif /* SL_TRUSTZONE_PERIPHERAL_SYSCFG_S */
776 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_BURAM_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_BURAM_S) && (SL_TRUSTZONE_PERIPHERAL_BURAM_S != 0)))
777 #define BURAM_BASE           (BURAM_S_BASE)                  /* BURAM base address */
778 #else
779 #define BURAM_BASE           (BURAM_NS_BASE)                 /* BURAM base address */
780 #endif /* SL_TRUSTZONE_PERIPHERAL_BURAM_S */
781 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_GPCRC_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_GPCRC_S) && (SL_TRUSTZONE_PERIPHERAL_GPCRC_S != 0)))
782 #define GPCRC_BASE           (GPCRC_S_BASE)                  /* GPCRC base address */
783 #else
784 #define GPCRC_BASE           (GPCRC_NS_BASE)                 /* GPCRC base address */
785 #endif /* SL_TRUSTZONE_PERIPHERAL_GPCRC_S */
786 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_DCDC_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_DCDC_S) && (SL_TRUSTZONE_PERIPHERAL_DCDC_S != 0)))
787 #define DCDC_BASE            (DCDC_S_BASE)                   /* DCDC base address */
788 #else
789 #define DCDC_BASE            (DCDC_NS_BASE)                  /* DCDC base address */
790 #endif /* SL_TRUSTZONE_PERIPHERAL_DCDC_S */
791 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_PDM_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_PDM_S) && (SL_TRUSTZONE_PERIPHERAL_PDM_S != 0)))
792 #define PDM_BASE             (PDM_S_BASE)                    /* PDM base address */
793 #else
794 #define PDM_BASE             (PDM_NS_BASE)                   /* PDM base address */
795 #endif /* SL_TRUSTZONE_PERIPHERAL_PDM_S */
796 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_SEPUF_APBCFG_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_SEPUF_APBCFG_S) && (SL_TRUSTZONE_PERIPHERAL_SEPUF_APBCFG_S != 0)))
797 #define SEPUF_APBCFG_BASE    (SEPUF_S_APBCFG_BASE)           /* SEPUF_APBCFG base address */
798 #else
799 #define SEPUF_APBCFG_BASE    (SEPUF_NS_APBCFG_BASE)          /* SEPUF_APBCFG base address */
800 #endif /* SL_TRUSTZONE_PERIPHERAL_SEPUF_APBCFG_S */
801 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_ETAMPDET_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_ETAMPDET_S) && (SL_TRUSTZONE_PERIPHERAL_ETAMPDET_S != 0)))
802 #define ETAMPDET_BASE        (ETAMPDET_S_BASE)               /* ETAMPDET base address */
803 #else
804 #define ETAMPDET_BASE        (ETAMPDET_NS_BASE)              /* ETAMPDET base address */
805 #endif /* SL_TRUSTZONE_PERIPHERAL_ETAMPDET_S */
806 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_RADIOAES_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_RADIOAES_S) && (SL_TRUSTZONE_PERIPHERAL_RADIOAES_S != 0)))
807 #define RADIOAES_BASE        (RADIOAES_S_BASE)               /* RADIOAES base address */
808 #else
809 #define RADIOAES_BASE        (RADIOAES_NS_BASE)              /* RADIOAES base address */
810 #endif /* SL_TRUSTZONE_PERIPHERAL_RADIOAES_S */
811 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_SMU_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_SMU_S) && (SL_TRUSTZONE_PERIPHERAL_SMU_S != 0)))
812 #define SMU_BASE             (SMU_S_BASE)                    /* SMU base address */
813 #else
814 #define SMU_BASE             (SMU_S_BASE)                    /* SMU base address */
815 #endif /* SL_TRUSTZONE_PERIPHERAL_SMU_S */
816 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_SMU_CFGNS_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_SMU_CFGNS_S) && (SL_TRUSTZONE_PERIPHERAL_SMU_CFGNS_S != 0)))
817 #define SMU_CFGNS_BASE       (SMU_S_CFGNS_BASE)              /* SMU_CFGNS base address */
818 #else
819 #define SMU_CFGNS_BASE       (SMU_NS_CFGNS_BASE)             /* SMU_CFGNS base address */
820 #endif /* SL_TRUSTZONE_PERIPHERAL_SMU_CFGNS_S */
821 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_RTCC_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_RTCC_S) && (SL_TRUSTZONE_PERIPHERAL_RTCC_S != 0)))
822 #define RTCC_BASE            (RTCC_S_BASE)                   /* RTCC base address */
823 #else
824 #define RTCC_BASE            (RTCC_NS_BASE)                  /* RTCC base address */
825 #endif /* SL_TRUSTZONE_PERIPHERAL_RTCC_S */
826 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_LETIMER0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_LETIMER0_S) && (SL_TRUSTZONE_PERIPHERAL_LETIMER0_S != 0)))
827 #define LETIMER0_BASE        (LETIMER0_S_BASE)               /* LETIMER0 base address */
828 #else
829 #define LETIMER0_BASE        (LETIMER0_NS_BASE)              /* LETIMER0 base address */
830 #endif /* SL_TRUSTZONE_PERIPHERAL_LETIMER0_S */
831 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_IADC0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_IADC0_S) && (SL_TRUSTZONE_PERIPHERAL_IADC0_S != 0)))
832 #define IADC0_BASE           (IADC0_S_BASE)                  /* IADC0 base address */
833 #else
834 #define IADC0_BASE           (IADC0_NS_BASE)                 /* IADC0 base address */
835 #endif /* SL_TRUSTZONE_PERIPHERAL_IADC0_S */
836 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_ACMP0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_ACMP0_S) && (SL_TRUSTZONE_PERIPHERAL_ACMP0_S != 0)))
837 #define ACMP0_BASE           (ACMP0_S_BASE)                  /* ACMP0 base address */
838 #else
839 #define ACMP0_BASE           (ACMP0_NS_BASE)                 /* ACMP0 base address */
840 #endif /* SL_TRUSTZONE_PERIPHERAL_ACMP0_S */
841 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_I2C0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_I2C0_S) && (SL_TRUSTZONE_PERIPHERAL_I2C0_S != 0)))
842 #define I2C0_BASE            (I2C0_S_BASE)                   /* I2C0 base address */
843 #else
844 #define I2C0_BASE            (I2C0_NS_BASE)                  /* I2C0 base address */
845 #endif /* SL_TRUSTZONE_PERIPHERAL_I2C0_S */
846 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_WDOG0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_WDOG0_S) && (SL_TRUSTZONE_PERIPHERAL_WDOG0_S != 0)))
847 #define WDOG0_BASE           (WDOG0_S_BASE)                  /* WDOG0 base address */
848 #else
849 #define WDOG0_BASE           (WDOG0_NS_BASE)                 /* WDOG0 base address */
850 #endif /* SL_TRUSTZONE_PERIPHERAL_WDOG0_S */
851 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_EUSART0_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_EUSART0_S) && (SL_TRUSTZONE_PERIPHERAL_EUSART0_S != 0)))
852 #define EUSART0_BASE         (EUSART0_S_BASE)                /* EUSART0 base address */
853 #else
854 #define EUSART0_BASE         (EUSART0_NS_BASE)               /* EUSART0 base address */
855 #endif /* SL_TRUSTZONE_PERIPHERAL_EUSART0_S */
856 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_CRYPTOACC_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_CRYPTOACC_S) && (SL_TRUSTZONE_PERIPHERAL_CRYPTOACC_S != 0)))
857 #define CRYPTOACC_BASE       (CRYPTOACC_S_BASE)              /* CRYPTOACC base address */
858 #else
859 #define CRYPTOACC_BASE       (CRYPTOACC_NS_BASE)             /* CRYPTOACC base address */
860 #endif /* SL_TRUSTZONE_PERIPHERAL_CRYPTOACC_S */
861 #if ((defined(SL_TRUSTZONE_SECURE) && !defined(SL_TRUSTZONE_PERIPHERAL_PRORTC_S)) || (defined(SL_TRUSTZONE_PERIPHERAL_PRORTC_S) && (SL_TRUSTZONE_PERIPHERAL_PRORTC_S != 0)))
862 #define PRORTC_BASE          (PRORTC_S_BASE)                 /* PRORTC base address */
863 #else
864 #define PRORTC_BASE          (PRORTC_NS_BASE)                /* PRORTC base address */
865 #endif /* SL_TRUSTZONE_PERIPHERAL_PRORTC_S */
866 
867 #define DEVINFO_BASE         (0x0FE08000UL)   /* DEVINFO base address */
868 /** @} End of group EFR32BG27C140F768IM40_Peripheral_Base */
869 
870 /**************************************************************************//**
871  * @defgroup EFR32BG27C140F768IM40_Peripheral_Declaration EFR32BG27C140F768IM40 Peripheral Declarations Map
872  * @{
873  *****************************************************************************/
874 
875 #define EMU_S              ((EMU_TypeDef *) EMU_S_BASE)                       /**< EMU_S base pointer */
876 #define CMU_S              ((CMU_TypeDef *) CMU_S_BASE)                       /**< CMU_S base pointer */
877 #define HFXO0_S            ((HFXO_TypeDef *) HFXO0_S_BASE)                    /**< HFXO0_S base pointer */
878 #define HFRCO0_S           ((HFRCO_TypeDef *) HFRCO0_S_BASE)                  /**< HFRCO0_S base pointer */
879 #define FSRCO_S            ((FSRCO_TypeDef *) FSRCO_S_BASE)                   /**< FSRCO_S base pointer */
880 #define DPLL0_S            ((DPLL_TypeDef *) DPLL0_S_BASE)                    /**< DPLL0_S base pointer */
881 #define LFXO_S             ((LFXO_TypeDef *) LFXO_S_BASE)                     /**< LFXO_S base pointer */
882 #define LFRCO_S            ((LFRCO_TypeDef *) LFRCO_S_BASE)                   /**< LFRCO_S base pointer */
883 #define ULFRCO_S           ((ULFRCO_TypeDef *) ULFRCO_S_BASE)                 /**< ULFRCO_S base pointer */
884 #define MSC_S              ((MSC_TypeDef *) MSC_S_BASE)                       /**< MSC_S base pointer */
885 #define ICACHE0_S          ((ICACHE_TypeDef *) ICACHE0_S_BASE)                /**< ICACHE0_S base pointer */
886 #define PRS_S              ((PRS_TypeDef *) PRS_S_BASE)                       /**< PRS_S base pointer */
887 #define GPIO_S             ((GPIO_TypeDef *) GPIO_S_BASE)                     /**< GPIO_S base pointer */
888 #define LDMA_S             ((LDMA_TypeDef *) LDMA_S_BASE)                     /**< LDMA_S base pointer */
889 #define LDMAXBAR_S         ((LDMAXBAR_TypeDef *) LDMAXBAR_S_BASE)             /**< LDMAXBAR_S base pointer */
890 #define TIMER0_S           ((TIMER_TypeDef *) TIMER0_S_BASE)                  /**< TIMER0_S base pointer */
891 #define TIMER1_S           ((TIMER_TypeDef *) TIMER1_S_BASE)                  /**< TIMER1_S base pointer */
892 #define TIMER2_S           ((TIMER_TypeDef *) TIMER2_S_BASE)                  /**< TIMER2_S base pointer */
893 #define TIMER3_S           ((TIMER_TypeDef *) TIMER3_S_BASE)                  /**< TIMER3_S base pointer */
894 #define TIMER4_S           ((TIMER_TypeDef *) TIMER4_S_BASE)                  /**< TIMER4_S base pointer */
895 #define USART0_S           ((USART_TypeDef *) USART0_S_BASE)                  /**< USART0_S base pointer */
896 #define USART1_S           ((USART_TypeDef *) USART1_S_BASE)                  /**< USART1_S base pointer */
897 #define BURTC_S            ((BURTC_TypeDef *) BURTC_S_BASE)                   /**< BURTC_S base pointer */
898 #define I2C1_S             ((I2C_TypeDef *) I2C1_S_BASE)                      /**< I2C1_S base pointer */
899 #define SYSCFG_S_CFGNS     ((SYSCFG_CFGNS_TypeDef *) SYSCFG_S_CFGNS_BASE)     /**< SYSCFG_S_CFGNS base pointer */
900 #define SYSCFG_S           ((SYSCFG_TypeDef *) SYSCFG_S_BASE)                 /**< SYSCFG_S base pointer */
901 #define BURAM_S            ((BURAM_TypeDef *) BURAM_S_BASE)                   /**< BURAM_S base pointer */
902 #define GPCRC_S            ((GPCRC_TypeDef *) GPCRC_S_BASE)                   /**< GPCRC_S base pointer */
903 #define DCDC_S             ((DCDC_TypeDef *) DCDC_S_BASE)                     /**< DCDC_S base pointer */
904 #define PDM_S              ((PDM_TypeDef *) PDM_S_BASE)                       /**< PDM_S base pointer */
905 #define SEPUF_S_APBCFG     ((SEPUF_APBCFG_TypeDef *) SEPUF_S_APBCFG_BASE)     /**< SEPUF_S_APBCFG base pointer */
906 #define ETAMPDET_S         ((ETAMPDET_TypeDef *) ETAMPDET_S_BASE)             /**< ETAMPDET_S base pointer */
907 #define RADIOAES_S         ((AES_TypeDef *) RADIOAES_S_BASE)                  /**< RADIOAES_S base pointer */
908 #define SMU_S              ((SMU_TypeDef *) SMU_S_BASE)                       /**< SMU_S base pointer */
909 #define SMU_S_CFGNS        ((SMU_CFGNS_TypeDef *) SMU_S_CFGNS_BASE)           /**< SMU_S_CFGNS base pointer */
910 #define RTCC_S             ((RTCC_TypeDef *) RTCC_S_BASE)                     /**< RTCC_S base pointer */
911 #define LETIMER0_S         ((LETIMER_TypeDef *) LETIMER0_S_BASE)              /**< LETIMER0_S base pointer */
912 #define IADC0_S            ((IADC_TypeDef *) IADC0_S_BASE)                    /**< IADC0_S base pointer */
913 #define ACMP0_S            ((ACMP_TypeDef *) ACMP0_S_BASE)                    /**< ACMP0_S base pointer */
914 #define I2C0_S             ((I2C_TypeDef *) I2C0_S_BASE)                      /**< I2C0_S base pointer */
915 #define WDOG0_S            ((WDOG_TypeDef *) WDOG0_S_BASE)                    /**< WDOG0_S base pointer */
916 #define EUSART0_S          ((EUSART_TypeDef *) EUSART0_S_BASE)                /**< EUSART0_S base pointer */
917 #define CRYPTOACC_S        ((CRYPTOACC_TypeDef *) CRYPTOACC_S_BASE)           /**< CRYPTOACC_S base pointer */
918 #define PRORTC_S           ((RTCC_TypeDef *) PRORTC_S_BASE)                   /**< PRORTC_S base pointer */
919 #define EMU_NS             ((EMU_TypeDef *) EMU_NS_BASE)                      /**< EMU_NS base pointer */
920 #define CMU_NS             ((CMU_TypeDef *) CMU_NS_BASE)                      /**< CMU_NS base pointer */
921 #define HFXO0_NS           ((HFXO_TypeDef *) HFXO0_NS_BASE)                   /**< HFXO0_NS base pointer */
922 #define HFRCO0_NS          ((HFRCO_TypeDef *) HFRCO0_NS_BASE)                 /**< HFRCO0_NS base pointer */
923 #define FSRCO_NS           ((FSRCO_TypeDef *) FSRCO_NS_BASE)                  /**< FSRCO_NS base pointer */
924 #define DPLL0_NS           ((DPLL_TypeDef *) DPLL0_NS_BASE)                   /**< DPLL0_NS base pointer */
925 #define LFXO_NS            ((LFXO_TypeDef *) LFXO_NS_BASE)                    /**< LFXO_NS base pointer */
926 #define LFRCO_NS           ((LFRCO_TypeDef *) LFRCO_NS_BASE)                  /**< LFRCO_NS base pointer */
927 #define ULFRCO_NS          ((ULFRCO_TypeDef *) ULFRCO_NS_BASE)                /**< ULFRCO_NS base pointer */
928 #define MSC_NS             ((MSC_TypeDef *) MSC_NS_BASE)                      /**< MSC_NS base pointer */
929 #define ICACHE0_NS         ((ICACHE_TypeDef *) ICACHE0_NS_BASE)               /**< ICACHE0_NS base pointer */
930 #define PRS_NS             ((PRS_TypeDef *) PRS_NS_BASE)                      /**< PRS_NS base pointer */
931 #define GPIO_NS            ((GPIO_TypeDef *) GPIO_NS_BASE)                    /**< GPIO_NS base pointer */
932 #define LDMA_NS            ((LDMA_TypeDef *) LDMA_NS_BASE)                    /**< LDMA_NS base pointer */
933 #define LDMAXBAR_NS        ((LDMAXBAR_TypeDef *) LDMAXBAR_NS_BASE)            /**< LDMAXBAR_NS base pointer */
934 #define TIMER0_NS          ((TIMER_TypeDef *) TIMER0_NS_BASE)                 /**< TIMER0_NS base pointer */
935 #define TIMER1_NS          ((TIMER_TypeDef *) TIMER1_NS_BASE)                 /**< TIMER1_NS base pointer */
936 #define TIMER2_NS          ((TIMER_TypeDef *) TIMER2_NS_BASE)                 /**< TIMER2_NS base pointer */
937 #define TIMER3_NS          ((TIMER_TypeDef *) TIMER3_NS_BASE)                 /**< TIMER3_NS base pointer */
938 #define TIMER4_NS          ((TIMER_TypeDef *) TIMER4_NS_BASE)                 /**< TIMER4_NS base pointer */
939 #define USART0_NS          ((USART_TypeDef *) USART0_NS_BASE)                 /**< USART0_NS base pointer */
940 #define USART1_NS          ((USART_TypeDef *) USART1_NS_BASE)                 /**< USART1_NS base pointer */
941 #define BURTC_NS           ((BURTC_TypeDef *) BURTC_NS_BASE)                  /**< BURTC_NS base pointer */
942 #define I2C1_NS            ((I2C_TypeDef *) I2C1_NS_BASE)                     /**< I2C1_NS base pointer */
943 #define SYSCFG_NS_CFGNS    ((SYSCFG_CFGNS_TypeDef *) SYSCFG_NS_CFGNS_BASE)    /**< SYSCFG_NS_CFGNS base pointer */
944 #define SYSCFG_NS          ((SYSCFG_TypeDef *) SYSCFG_NS_BASE)                /**< SYSCFG_NS base pointer */
945 #define BURAM_NS           ((BURAM_TypeDef *) BURAM_NS_BASE)                  /**< BURAM_NS base pointer */
946 #define GPCRC_NS           ((GPCRC_TypeDef *) GPCRC_NS_BASE)                  /**< GPCRC_NS base pointer */
947 #define DCDC_NS            ((DCDC_TypeDef *) DCDC_NS_BASE)                    /**< DCDC_NS base pointer */
948 #define PDM_NS             ((PDM_TypeDef *) PDM_NS_BASE)                      /**< PDM_NS base pointer */
949 #define SEPUF_NS_APBCFG    ((SEPUF_APBCFG_TypeDef *) SEPUF_NS_APBCFG_BASE)    /**< SEPUF_NS_APBCFG base pointer */
950 #define ETAMPDET_NS        ((ETAMPDET_TypeDef *) ETAMPDET_NS_BASE)            /**< ETAMPDET_NS base pointer */
951 #define RADIOAES_NS        ((AES_TypeDef *) RADIOAES_NS_BASE)                 /**< RADIOAES_NS base pointer */
952 #define SMU_NS             ((SMU_TypeDef *) SMU_NS_BASE)                      /**< SMU_NS base pointer */
953 #define SMU_NS_CFGNS       ((SMU_CFGNS_TypeDef *) SMU_NS_CFGNS_BASE)          /**< SMU_NS_CFGNS base pointer */
954 #define RTCC_NS            ((RTCC_TypeDef *) RTCC_NS_BASE)                    /**< RTCC_NS base pointer */
955 #define LETIMER0_NS        ((LETIMER_TypeDef *) LETIMER0_NS_BASE)             /**< LETIMER0_NS base pointer */
956 #define IADC0_NS           ((IADC_TypeDef *) IADC0_NS_BASE)                   /**< IADC0_NS base pointer */
957 #define ACMP0_NS           ((ACMP_TypeDef *) ACMP0_NS_BASE)                   /**< ACMP0_NS base pointer */
958 #define I2C0_NS            ((I2C_TypeDef *) I2C0_NS_BASE)                     /**< I2C0_NS base pointer */
959 #define WDOG0_NS           ((WDOG_TypeDef *) WDOG0_NS_BASE)                   /**< WDOG0_NS base pointer */
960 #define EUSART0_NS         ((EUSART_TypeDef *) EUSART0_NS_BASE)               /**< EUSART0_NS base pointer */
961 #define CRYPTOACC_NS       ((CRYPTOACC_TypeDef *) CRYPTOACC_NS_BASE)          /**< CRYPTOACC_NS base pointer */
962 #define PRORTC_NS          ((RTCC_TypeDef *) PRORTC_NS_BASE)                  /**< PRORTC_NS base pointer */
963 #define EMU                ((EMU_TypeDef *) EMU_BASE)                         /**< EMU base pointer */
964 #define CMU                ((CMU_TypeDef *) CMU_BASE)                         /**< CMU base pointer */
965 #define HFXO0              ((HFXO_TypeDef *) HFXO0_BASE)                      /**< HFXO0 base pointer */
966 #define HFRCO0             ((HFRCO_TypeDef *) HFRCO0_BASE)                    /**< HFRCO0 base pointer */
967 #define FSRCO              ((FSRCO_TypeDef *) FSRCO_BASE)                     /**< FSRCO base pointer */
968 #define DPLL0              ((DPLL_TypeDef *) DPLL0_BASE)                      /**< DPLL0 base pointer */
969 #define LFXO               ((LFXO_TypeDef *) LFXO_BASE)                       /**< LFXO base pointer */
970 #define LFRCO              ((LFRCO_TypeDef *) LFRCO_BASE)                     /**< LFRCO base pointer */
971 #define ULFRCO             ((ULFRCO_TypeDef *) ULFRCO_BASE)                   /**< ULFRCO base pointer */
972 #define MSC                ((MSC_TypeDef *) MSC_BASE)                         /**< MSC base pointer */
973 #define ICACHE0            ((ICACHE_TypeDef *) ICACHE0_BASE)                  /**< ICACHE0 base pointer */
974 #define PRS                ((PRS_TypeDef *) PRS_BASE)                         /**< PRS base pointer */
975 #define GPIO               ((GPIO_TypeDef *) GPIO_BASE)                       /**< GPIO base pointer */
976 #define LDMA               ((LDMA_TypeDef *) LDMA_BASE)                       /**< LDMA base pointer */
977 #define LDMAXBAR           ((LDMAXBAR_TypeDef *) LDMAXBAR_BASE)               /**< LDMAXBAR base pointer */
978 #define TIMER0             ((TIMER_TypeDef *) TIMER0_BASE)                    /**< TIMER0 base pointer */
979 #define TIMER1             ((TIMER_TypeDef *) TIMER1_BASE)                    /**< TIMER1 base pointer */
980 #define TIMER2             ((TIMER_TypeDef *) TIMER2_BASE)                    /**< TIMER2 base pointer */
981 #define TIMER3             ((TIMER_TypeDef *) TIMER3_BASE)                    /**< TIMER3 base pointer */
982 #define TIMER4             ((TIMER_TypeDef *) TIMER4_BASE)                    /**< TIMER4 base pointer */
983 #define USART0             ((USART_TypeDef *) USART0_BASE)                    /**< USART0 base pointer */
984 #define USART1             ((USART_TypeDef *) USART1_BASE)                    /**< USART1 base pointer */
985 #define BURTC              ((BURTC_TypeDef *) BURTC_BASE)                     /**< BURTC base pointer */
986 #define I2C1               ((I2C_TypeDef *) I2C1_BASE)                        /**< I2C1 base pointer */
987 #define SYSCFG_CFGNS       ((SYSCFG_CFGNS_TypeDef *) SYSCFG_CFGNS_BASE)       /**< SYSCFG_CFGNS base pointer */
988 #define SYSCFG             ((SYSCFG_TypeDef *) SYSCFG_BASE)                   /**< SYSCFG base pointer */
989 #define BURAM              ((BURAM_TypeDef *) BURAM_BASE)                     /**< BURAM base pointer */
990 #define GPCRC              ((GPCRC_TypeDef *) GPCRC_BASE)                     /**< GPCRC base pointer */
991 #define DCDC               ((DCDC_TypeDef *) DCDC_BASE)                       /**< DCDC base pointer */
992 #define PDM                ((PDM_TypeDef *) PDM_BASE)                         /**< PDM base pointer */
993 #define SEPUF_APBCFG       ((SEPUF_APBCFG_TypeDef *) SEPUF_APBCFG_BASE)       /**< SEPUF_APBCFG base pointer */
994 #define ETAMPDET           ((ETAMPDET_TypeDef *) ETAMPDET_BASE)               /**< ETAMPDET base pointer */
995 #define RADIOAES           ((AES_TypeDef *) RADIOAES_BASE)                    /**< RADIOAES base pointer */
996 #define SMU                ((SMU_TypeDef *) SMU_BASE)                         /**< SMU base pointer */
997 #define SMU_CFGNS          ((SMU_CFGNS_TypeDef *) SMU_CFGNS_BASE)             /**< SMU_CFGNS base pointer */
998 #define RTCC               ((RTCC_TypeDef *) RTCC_BASE)                       /**< RTCC base pointer */
999 #define LETIMER0           ((LETIMER_TypeDef *) LETIMER0_BASE)                /**< LETIMER0 base pointer */
1000 #define IADC0              ((IADC_TypeDef *) IADC0_BASE)                      /**< IADC0 base pointer */
1001 #define ACMP0              ((ACMP_TypeDef *) ACMP0_BASE)                      /**< ACMP0 base pointer */
1002 #define I2C0               ((I2C_TypeDef *) I2C0_BASE)                        /**< I2C0 base pointer */
1003 #define WDOG0              ((WDOG_TypeDef *) WDOG0_BASE)                      /**< WDOG0 base pointer */
1004 #define EUSART0            ((EUSART_TypeDef *) EUSART0_BASE)                  /**< EUSART0 base pointer */
1005 #define CRYPTOACC          ((CRYPTOACC_TypeDef *) CRYPTOACC_BASE)             /**< CRYPTOACC base pointer */
1006 #define PRORTC             ((RTCC_TypeDef *) PRORTC_BASE)                     /**< PRORTC base pointer */
1007 #define DEVINFO            ((DEVINFO_TypeDef *) DEVINFO_BASE)                 /**< DEVINFO base pointer */
1008 /** @} End of group EFR32BG27C140F768IM40_Peripheral_Declaration */
1009 
1010 /**************************************************************************//**
1011  * @defgroup EFR32BG27C140F768IM40_Peripheral_Parameters EFR32BG27C140F768IM40 Peripheral Parameters
1012  * @{
1013  * @brief Device peripheral parameter values
1014  *****************************************************************************/
1015 
1016 /* Common peripheral register block offsets. */
1017 #define PER_REG_BLOCK_SET_OFFSET                0x1000UL    /**< Offset to SET register block */
1018 #define PER_REG_BLOCK_CLR_OFFSET                0x2000UL    /**< Offset to CLEAR register block */
1019 #define PER_REG_BLOCK_TGL_OFFSET                0x3000UL    /**< Offset to TOGGLE register block */
1020 #define MSC_CDA_PRESENT                         0x0UL       /**>  */
1021 #define MSC_FDIO_WIDTH                          0x40UL      /**> None */
1022 #define MSC_FLASHADDRBITS                       0x14UL      /**> None */
1023 #define MSC_FLASHBLOCKADDRBITS                  0x14UL      /**> None */
1024 #define MSC_FLASH_BLOCK_INFO_PCOUNT             0x2UL       /**> None */
1025 #define MSC_FLASH_BLOCK_MAIN_PCOUNT             0x68UL      /**>  */
1026 #define MSC_INFOADDRBITS                        0xEUL       /**> None */
1027 #define MSC_INFOBLOCKADDRBITS                   0xEUL       /**> None */
1028 #define MSC_INFO_PSIZE_BITS                     0xDUL       /**> None */
1029 #define MSC_MAIN_PSIZE_BITS                     0xDUL       /**> None */
1030 #define MSC_REDUNDANCY                          0x2UL       /**> None */
1031 #define MSC_ROOTMAIN_PRESENT                    0x1UL       /**>  */
1032 #define MSC_UD_PRESENT                          0x1UL       /**>  */
1033 #define MSC_VSE_PRESENT                         0x1UL       /**>  */
1034 #define MSC_YADDRBITS                           0x6UL       /**>  */
1035 #define SYSROM_WORDS                            0x700UL     /**> Number of words in ROM */
1036 #define SYSROM_ROM_SIZE_BYTES                   0x1C00UL    /**> Number of bytes in ROM */
1037 #define DMEM_BANK0_SIZE                         0x6000UL    /**> Bank0 Size */
1038 #define DMEM_BANK1_SIZE                         0x2000UL    /**> Bank1 Size */
1039 #define DMEM_BANK2_SIZE                         0x8000UL    /**> Bank2 Size */
1040 #define DMEM_BANK3_SIZE                         0x0UL       /**> Bank3 Size */
1041 #define DMEM_BANK4_SIZE                         0x0UL       /**> Bank4 Size */
1042 #define DMEM_BANK5_SIZE                         0x0UL       /**> Bank5 Size */
1043 #define DMEM_BANK6_SIZE                         0x0UL       /**> Bank6 Size */
1044 #define DMEM_BANK7_SIZE                         0x0UL       /**> Bank7 Size */
1045 #define DMEM_NUM_BANKS                          0x3UL       /**> Number of Banks */
1046 #define DMEM_SIZE                               0x10000UL   /**> Total size */
1047 #define LFXO_NO_CTUNE                           0x0UL       /**> CTUNE Not Present */
1048 #define LFXO_CTUNE                              0x1UL       /**> CTUNE Present */
1049 #define ICACHE0_AHB_LITE                        0x0UL       /**> AHB Lite */
1050 #define ICACHE0_CACHEABLE_SIZE                  0xC0000UL   /**> Cache Size */
1051 #define ICACHE0_CACHEABLE_START                 0x8000000UL /**> Cache Start */
1052 #define ICACHE0_DEFAULT_OFF                     0x1UL       /**> Default off */
1053 #define ICACHE0_FLASH_SIZE                      0xC0000UL   /**> Flash size */
1054 #define ICACHE0_FLASH_START                     0x8000000UL /**> Flash start */
1055 #define ICACHE0_LOOPCACHE_MEM_ADDR_BITS         0x3UL       /**> Loopcache Memory Address bits */
1056 #define ICACHE0_LOOPCACHE_STICKINESS_BITS       0x4UL       /**> Loopcache Stickiness bits */
1057 #define ICACHE0_PARITY_BITS                     0x1UL       /**> Use Parity */
1058 #define ICACHE0_PC_BITS                         0x20UL      /**> Performance Counter bits */
1059 #define ICACHE0_PIPE_STAGE                      0x1UL       /**> Pipeline Stage */
1060 #define ICACHE0_RAM_ADDR_BITS                   0x0UL       /**> RAM Address bits */
1061 #define ICACHE0_RAM_DATA_BITS                   0x0UL       /**> RAM Data bits */
1062 #define ICACHE0_SET_BITS                        0x5UL       /**> Set bits */
1063 #define ICACHE0_USE_HREADY_GATING               0x1UL       /**> Use HREADY gating */
1064 #define ICACHE0_USE_IDLE_GATING                 0x1UL       /**> Use IDLE gating */
1065 #define ICACHE0_USE_LOOPCACHE                   0x1UL       /**> Use Loopcache */
1066 #define ICACHE0_WAY_BITS                        0x1UL       /**> Way bits */
1067 #define ICACHE0_WORDS_PER_BLOCK                 0x0UL       /**> Words Per Block */
1068 #define ICACHE0_WPB_BITS                        0x1UL       /**> Words Per Block bits */
1069 #define ICACHE0_WPL_BITS                        0x3UL       /**> Words Per Line bits */
1070 #define PRS_ASYNC_CH_NUM                        0xCUL       /**> None */
1071 #define PRS_PRSSEL_WIDTH                        0x4UL       /**> New Param */
1072 #define PRS_SPRSSEL_WIDTH                       0x2UL       /**> New Param */
1073 #define PRS_SYNC_CH_NUM                         0x4UL       /**> None */
1074 #define GPIO_MODE_WIDTH                         0x4UL       /**> Mode Width */
1075 #define GPIO_NUM_EM4_WU                         0xCUL       /**> New Param */
1076 #define GPIO_NUM_EVEN_PA                        0x5UL       /**> Num of even pins port A */
1077 #define GPIO_NUM_EVEN_PB                        0x3UL       /**> Num of even pins port B */
1078 #define GPIO_NUM_EVEN_PC                        0x4UL       /**> Num of even pins port C */
1079 #define GPIO_NUM_EVEN_PD                        0x2UL       /**> Num of even pins port D */
1080 #define GPIO_NUM_EXT_INT                        0xCUL       /**> New Param */
1081 #define GPIO_NUM_EXT_INT_L                      0x8UL       /**> New Param */
1082 #define GPIO_NUM_EXT_INT_U                      0x4UL       /**> New Param */
1083 #define GPIO_NUM_EXT_INT_U_ZERO                 0x0UL       /**> New Param */
1084 #define GPIO_NUM_ODD_PA                         0x4UL       /**> Num of odd pins port A */
1085 #define GPIO_NUM_ODD_PB                         0x2UL       /**> Num of odd pins port B */
1086 #define GPIO_NUM_ODD_PC                         0x4UL       /**> Num of odd pins port C */
1087 #define GPIO_NUM_ODD_PD                         0x2UL       /**> Num of odd pins port D */
1088 #define GPIO_PINSEL_WIDTH                       0x4UL       /**> Route config pin select width */
1089 #define GPIO_PORTSEL_WIDTH                      0x2UL       /**> Route config port select width */
1090 #define GPIO_PORT_A_WIDTH                       0x9UL       /**> Port A Width */
1091 #define GPIO_PORT_A_WIDTH_ZERO                  0x0UL       /**> Port A Width is Zero */
1092 #define GPIO_PORT_A_WL                          0x8UL       /**> New Param */
1093 #define GPIO_PORT_A_WU                          0x1UL       /**> New Param */
1094 #define GPIO_PORT_A_WU_ZERO                     0x0UL       /**> New Param */
1095 #define GPIO_PORT_B_WIDTH                       0x5UL       /**> Port B Width */
1096 #define GPIO_PORT_B_WIDTH_ZERO                  0x0UL       /**> Port B Width is Zero */
1097 #define GPIO_PORT_B_WL                          0x5UL       /**> New Param */
1098 #define GPIO_PORT_B_WU                          0x0UL       /**> New Param */
1099 #define GPIO_PORT_B_WU_ZERO                     0x1UL       /**> New Param */
1100 #define GPIO_PORT_C_WIDTH                       0x8UL       /**> Port C Width */
1101 #define GPIO_PORT_C_WIDTH_ZERO                  0x0UL       /**> Port C Width is Zero */
1102 #define GPIO_PORT_C_WL                          0x8UL       /**> New Param */
1103 #define GPIO_PORT_C_WU                          0x0UL       /**> New Param */
1104 #define GPIO_PORT_C_WU_ZERO                     0x1UL       /**> New Param */
1105 #define GPIO_PORT_D_WIDTH                       0x4UL       /**> Port D Width */
1106 #define GPIO_PORT_D_WIDTH_ZERO                  0x0UL       /**> Port D Width is Zero */
1107 #define GPIO_PORT_D_WL                          0x4UL       /**> New Param */
1108 #define GPIO_PORT_D_WU                          0x0UL       /**> New Param */
1109 #define GPIO_PORT_D_WU_ZERO                     0x1UL       /**> New Param */
1110 #define GPIO_SLEWRATE_WIDTH                     0x3UL       /**> Slew Rate Width Param */
1111 #define LDMA_CH_BITS                            0x5UL       /**> New Param */
1112 #define LDMA_CH_NUM                             0x8UL       /**> New Param */
1113 #define LDMA_FIFO_BITS                          0x5UL       /**> New Param */
1114 #define LDMA_FIFO_DEPTH                         0x10UL      /**> New Param */
1115 #define LDMAXBAR_CH_BITS                        0x5UL       /**> None */
1116 #define LDMAXBAR_CH_NUM                         0x8UL       /**> None */
1117 #define LDMAXBAR_SIGSEL_W                       0x4UL       /**> New Param */
1118 #define LDMAXBAR_SOURCESEL_W                    0x6UL       /**> New Param */
1119 #define TIMER0_CC_NUM                           0x3UL       /**> Number of Compare/Capture Channels */
1120 #define TIMER0_CNTWIDTH                         0x20UL      /**> Counter Width */
1121 #define TIMER0_DTI                              0x1UL       /**> Dead-time insertion enabled */
1122 #define TIMER0_DTI_CC_NUM                       0x3UL       /**> Number of DTI Channels */
1123 #define TIMER0_NO_DTI                           0x0UL       /**>  */
1124 #define TIMER1_CC_NUM                           0x3UL       /**> Number of Compare/Capture Channels */
1125 #define TIMER1_CNTWIDTH                         0x20UL      /**> Counter Width */
1126 #define TIMER1_DTI                              0x1UL       /**> Dead-time insertion enabled */
1127 #define TIMER1_DTI_CC_NUM                       0x3UL       /**> Number of DTI Channels */
1128 #define TIMER1_NO_DTI                           0x0UL       /**>  */
1129 #define TIMER2_CC_NUM                           0x3UL       /**> Number of Compare/Capture Channels */
1130 #define TIMER2_CNTWIDTH                         0x10UL      /**> Counter Width */
1131 #define TIMER2_DTI                              0x1UL       /**> Dead-time insertion enabled */
1132 #define TIMER2_DTI_CC_NUM                       0x3UL       /**> Number of DTI Channels */
1133 #define TIMER2_NO_DTI                           0x0UL       /**>  */
1134 #define TIMER3_CC_NUM                           0x3UL       /**> Number of Compare/Capture Channels */
1135 #define TIMER3_CNTWIDTH                         0x10UL      /**> Counter Width */
1136 #define TIMER3_DTI                              0x1UL       /**> Dead-time insertion enabled */
1137 #define TIMER3_DTI_CC_NUM                       0x3UL       /**> Number of DTI Channels */
1138 #define TIMER3_NO_DTI                           0x0UL       /**>  */
1139 #define TIMER4_CC_NUM                           0x3UL       /**> Number of Compare/Capture Channels */
1140 #define TIMER4_CNTWIDTH                         0x10UL      /**> Counter Width */
1141 #define TIMER4_DTI                              0x1UL       /**> Dead-time insertion enabled */
1142 #define TIMER4_DTI_CC_NUM                       0x3UL       /**> Number of DTI Channels */
1143 #define TIMER4_NO_DTI                           0x0UL       /**>  */
1144 #define USART0_AUTOTX_REG                       0x1UL       /**> None */
1145 #define USART0_AUTOTX_REG_B                     0x0UL       /**> None */
1146 #define USART0_AUTOTX_TRIGGER                   0x1UL       /**> None */
1147 #define USART0_AUTOTX_TRIGGER_B                 0x0UL       /**> New Param */
1148 #define USART0_CLK_PRS                          0x1UL       /**> None */
1149 #define USART0_CLK_PRS_B                        0x0UL       /**> New Param */
1150 #define USART0_FLOW_CONTROL                     0x1UL       /**> None */
1151 #define USART0_FLOW_CONTROL_B                   0x0UL       /**> New Param */
1152 #define USART0_I2S                              0x1UL       /**> None */
1153 #define USART0_I2S_B                            0x0UL       /**> New Param */
1154 #define USART0_IRDA_AVAILABLE                   0x1UL       /**> None */
1155 #define USART0_IRDA_AVAILABLE_B                 0x0UL       /**> New Param */
1156 #define USART0_MVDIS_FUNC                       0x1UL       /**> None */
1157 #define USART0_MVDIS_FUNC_B                     0x0UL       /**> New Param */
1158 #define USART0_RX_PRS                           0x1UL       /**> None */
1159 #define USART0_RX_PRS_B                         0x0UL       /**> New Param */
1160 #define USART0_SC_AVAILABLE                     0x1UL       /**> None */
1161 #define USART0_SC_AVAILABLE_B                   0x0UL       /**> New Param */
1162 #define USART0_SYNC_AVAILABLE                   0x1UL       /**> None */
1163 #define USART0_SYNC_AVAILABLE_B                 0x0UL       /**> New Param */
1164 #define USART0_SYNC_LATE_SAMPLE                 0x1UL       /**> None */
1165 #define USART0_SYNC_LATE_SAMPLE_B               0x0UL       /**> New Param */
1166 #define USART0_TIMER                            0x1UL       /**> New Param */
1167 #define USART0_TIMER_B                          0x0UL       /**> New Param */
1168 #define USART1_AUTOTX_REG                       0x1UL       /**> None */
1169 #define USART1_AUTOTX_REG_B                     0x0UL       /**> None */
1170 #define USART1_AUTOTX_TRIGGER                   0x1UL       /**> None */
1171 #define USART1_AUTOTX_TRIGGER_B                 0x0UL       /**> New Param */
1172 #define USART1_CLK_PRS                          0x1UL       /**> None */
1173 #define USART1_CLK_PRS_B                        0x0UL       /**> New Param */
1174 #define USART1_FLOW_CONTROL                     0x1UL       /**> None */
1175 #define USART1_FLOW_CONTROL_B                   0x0UL       /**> New Param */
1176 #define USART1_I2S                              0x1UL       /**> None */
1177 #define USART1_I2S_B                            0x0UL       /**> New Param */
1178 #define USART1_IRDA_AVAILABLE                   0x1UL       /**> None */
1179 #define USART1_IRDA_AVAILABLE_B                 0x0UL       /**> New Param */
1180 #define USART1_MVDIS_FUNC                       0x1UL       /**> None */
1181 #define USART1_MVDIS_FUNC_B                     0x0UL       /**> New Param */
1182 #define USART1_RX_PRS                           0x1UL       /**> None */
1183 #define USART1_RX_PRS_B                         0x0UL       /**> New Param */
1184 #define USART1_SC_AVAILABLE                     0x1UL       /**> None */
1185 #define USART1_SC_AVAILABLE_B                   0x0UL       /**> New Param */
1186 #define USART1_SYNC_AVAILABLE                   0x1UL       /**> None */
1187 #define USART1_SYNC_AVAILABLE_B                 0x0UL       /**> New Param */
1188 #define USART1_SYNC_LATE_SAMPLE                 0x1UL       /**> None */
1189 #define USART1_SYNC_LATE_SAMPLE_B               0x0UL       /**> New Param */
1190 #define USART1_TIMER                            0x1UL       /**> New Param */
1191 #define USART1_TIMER_B                          0x0UL       /**> New Param */
1192 #define BURTC_CNTWIDTH                          0x20UL      /**> None */
1193 #define BURTC_PRECNT_WIDTH                      0xFUL       /**>  */
1194 #define I2C1_DELAY                              0x7D0UL     /**> Delay cell selection */
1195 #define I2C1_DELAY_CHAIN_NUM                    0x2UL       /**> Number of delay chain */
1196 #define SYSCFG_CHIP_PARTNUMBER                  0x1UL       /**> Chip Part Number */
1197 #define SYSCFG_DEMODRAM_INST_COUNT              0x1UL       /**>  */
1198 #define SYSCFG_FRCRAM_INST_COUNT                0x1UL       /**>  */
1199 #define SYSCFG_RAM0_INST_COUNT                  0x3UL       /**> None */
1200 #define SYSCFG_SEQRAM_INST_COUNT                0x2UL       /**> None */
1201 #define SYSCFG_SWINT_NUM                        0x4UL       /**> Software interupts */
1202 #define DCDC_DCDCMODE_WIDTH                     0x1UL       /**> Mode register width */
1203 #define DCDC_DRVSPEED_WIDTH                     0x2UL       /**> Drive Speed bitfield width */
1204 #define DCDC_IPKVAL_WIDTH                       0x4UL       /**> Peak Current Setting bitfield Width */
1205 #define DCDC_VCMPIBIAS_WIDTH                    0x2UL       /**> VCMP ibias bitfield width */
1206 #define PDM_FIFO_LEN                            0x4UL       /**> New Param */
1207 #define PDM_NUM_CH                              0x2UL       /**> None */
1208 #define PDM_CH2_PRESENT_B                       0x1UL       /**> New Param */
1209 #define PDM_CH3_PRESENT_B                       0x1UL       /**> New Param */
1210 #define PDM_NUM_CH_WIDTH                        0x1UL       /**> New Param */
1211 #define PDM_PIPELINE                            0x0UL       /**> None */
1212 #define PDM_STEREO23_PRESENT_B                  0x1UL       /**> New Param */
1213 #define ETAMPDET_NUM_CHNLS                      0x2UL       /**>  */
1214 #define RADIOAES_SIDECHANNEL_COUNTERMEASURES    0x1UL       /**> Enable sidechannel counter measures */
1215 #define SMU_NUM_PPU_PERIPHS                     0x33UL      /**> Number of PPU Peripherals */
1216 #define SMU_NUM_PPU_PERIPHS_MOD_32              0x13UL      /**> Number of PPU Peripherals (mod 32) */
1217 #define SMU_NUM_PPU_PERIPHS_SUB_32              0x13UL      /**> Number of PPU peripherals minus 32 */
1218 #define SMU_PERIPHID_BITS                       0x8UL       /**> Bits used for Peripheral ID */
1219 #define RTCC_CC_NUM                             0x3UL       /**> None */
1220 #define LETIMER0_CNT_WIDTH                      0x18UL      /**> Count Width */
1221 #define IADC0_CONFIGNUM                         0x2UL       /**> CONFIG */
1222 #define IADC0_FULLRANGEUNIPOLAR                 0x0UL       /**> FULLRANGEUNIPOLAR */
1223 #define IADC0_SCANBYTES                         0x1UL       /**> SCANBYTES */
1224 #define IADC0_ENTRIES                           0x10UL      /**> ENTRIES */
1225 #define ACMP0_DAC_INPUT                         0x0UL       /**> None */
1226 #define ACMP0_EXT_OVR_IF                        0x0UL       /**> None */
1227 #define I2C0_DELAY                              0x3E8UL     /**> Delay cell selection */
1228 #define I2C0_DELAY_CHAIN_NUM                    0x2UL       /**> Number of delay chain */
1229 #define WDOG0_PCNUM                             0x2UL       /**> None */
1230 #define EUSART0_EM2_CAPABLE                     0x1UL       /**> EM2 Capable instance */
1231 #define EUSART0_EXCLUDE_DALI                    0x1UL       /**> Exclude DALI */
1232 #define EUSART0_NOT_EM2_CAPABLE                 0x0UL       /**> Not EM2 Capable instance */
1233 #define RDMEM_FRC_BANK0_SIZE                    0x1000UL    /**> FRC_RAM_BANK0_SIZE */
1234 #define RDMEM_FRC_BANK1_SIZE                    0x0UL       /**> FRC_RAM_BANK1_SIZE */
1235 #define RDMEM_FRC_BANK2_SIZE                    0x0UL       /**> FRC_RAM_BANK2_SIZE */
1236 #define RDMEM_FRC_BANK3_SIZE                    0x0UL       /**> FRC_RAM_BANK3_SIZE */
1237 #define RDMEM_FRC_BANK4_SIZE                    0x0UL       /**> FRC_RAM_BANK4_SIZE */
1238 #define RDMEM_FRC_BANK5_SIZE                    0x0UL       /**> FRC_RAM_BANK5_SIZE */
1239 #define RDMEM_FRC_BANK6_SIZE                    0x0UL       /**> FRC_RAM_BANK6_SIZE */
1240 #define RDMEM_FRC_BANK7_SIZE                    0x0UL       /**> FRC_RAM_BANK7_SIZE */
1241 #define RDMEM_FRC_NUM_BANK                      0x1UL       /**> FRC_NUM_BANK */
1242 #define RDMEM_FRC_RAMADDRBITS                   0xCUL       /**> FRC RAM ADDRBITS */
1243 #define RDMEM_FRC_RAMADDRMINBITS                0xCUL       /**> FRC RAM address bits for one bank */
1244 #define RDMEM_FRC_RAMECCADDR_WIDTH              0x20UL      /**> FRC RAM ECC Address width */
1245 #define RDMEM_FRC_RAM_BWE_WIDTH                 0x27UL      /**> FRCRAM BWE width */
1246 #define RDMEM_FRC_RAM_DATA_WIDTH                0x27UL      /**> FRC_RAM_DATA_WIDTH */
1247 #define RDMEM_FRC_RAM_ECC_EN                    0x1UL       /**> FRC RAM ECCEN */
1248 #define RDMEM_FRC_RAM_TOTAL_SIZE                0x1000UL    /**> FRC_RAM_TOTAL_SIZE */
1249 #define RDMEM_SEQ_BANK0_SIZE                    0x2000UL    /**> SEQ_RAM_BANK0_SIZE */
1250 #define RDMEM_SEQ_BANK1_SIZE                    0x2000UL    /**> SEQ_RAM_BANK1_SIZE */
1251 #define RDMEM_SEQ_BANK2_SIZE                    0x0UL       /**> SEQ_RAM_BANK2_SIZE */
1252 #define RDMEM_SEQ_BANK3_SIZE                    0x0UL       /**> SEQ_RAM_BANK3_SIZE */
1253 #define RDMEM_SEQ_BANK4_SIZE                    0x0UL       /**> SEQ_RAM_BANK4_SIZE */
1254 #define RDMEM_SEQ_BANK5_SIZE                    0x0UL       /**> SEQ_RAM_BANK5_SIZE */
1255 #define RDMEM_SEQ_BANK6_SIZE                    0x0UL       /**> SEQ_RAM_BANK6_SIZE */
1256 #define RDMEM_SEQ_BANK7_SIZE                    0x0UL       /**> SEQ_RAM_BANK7_SIZE */
1257 #define RDMEM_SEQ_NUM_BANK                      0x2UL       /**> SEQ_NUM_BANK */
1258 #define RDMEM_SEQ_RAMADDRBITS                   0xEUL       /**> SEQ RAM ADDRBITS */
1259 #define RDMEM_SEQ_RAMADDRMINBITS                0xDUL       /**> SEQ RAM address bits for one bank */
1260 #define RDMEM_SEQ_RAMECCADDR_WIDTH              0x20UL      /**> SEQ RAM ECC Address width */
1261 #define RDMEM_SEQ_RAM_BWE_WIDTH                 0x27UL      /**> SEQRAM BWE width */
1262 #define RDMEM_SEQ_RAM_DATA_WIDTH                0x27UL      /**> SEQ_RAM_DATA_WIDTH */
1263 #define RDMEM_SEQ_RAM_ECC_EN                    0x1UL       /**> SEQ RAM ECCEN */
1264 #define RDMEM_SEQ_RAM_TOTAL_SIZE                0x4000UL    /**> SEQ_RAM_TOTAL_SIZE */
1265 #define PRORTC_CC_NUM                           0x2UL       /**> None */
1266 
1267 /* Instance macros for ACMP */
1268 #define ACMP(n)                        (((n) == 0) ? ACMP0 \
1269                                         : 0x0UL)
1270 #define ACMP_NUM(ref)                  (((ref) == ACMP0) ? 0 \
1271                                         : -1)
1272 #define ACMP_DAC_INPUT(n)              (((n) == 0) ? ACMP0_DAC_INPUT \
1273                                         : 0x0UL)
1274 #define ACMP_EXT_OVR_IF(n)             (((n) == 0) ? ACMP0_EXT_OVR_IF \
1275                                         : 0x0UL)
1276 
1277 /* Instance macros for EUSART */
1278 #define EUSART(n)                      (((n) == 0) ? EUSART0 \
1279                                         : 0x0UL)
1280 #define EUSART_NUM(ref)                (((ref) == EUSART0) ? 0 \
1281                                         : -1)
1282 #define EUSART_EM2_CAPABLE(n)          (((n) == 0) ? EUSART0_EM2_CAPABLE \
1283                                         : 0x0UL)
1284 #define EUSART_EXCLUDE_DALI(n)         (((n) == 0) ? EUSART0_EXCLUDE_DALI \
1285                                         : 0x0UL)
1286 #define EUSART_NOT_EM2_CAPABLE(n)      (((n) == 0) ? EUSART0_NOT_EM2_CAPABLE \
1287                                         : 0x0UL)
1288 
1289 /* Instance macros for I2C */
1290 #define I2C(n)                         (((n) == 0) ? I2C0   \
1291                                         : ((n) == 1) ? I2C1 \
1292                                         : 0x0UL)
1293 #define I2C_NUM(ref)                   (((ref) == I2C0) ? 0   \
1294                                         : ((ref) == I2C1) ? 1 \
1295                                         : -1)
1296 #define I2C_DELAY(n)                   (((n) == 0) ? I2C0_DELAY   \
1297                                         : ((n) == 1) ? I2C1_DELAY \
1298                                         : 0x0UL)
1299 #define I2C_DELAY_CHAIN_NUM(n)         (((n) == 0) ? I2C0_DELAY_CHAIN_NUM   \
1300                                         : ((n) == 1) ? I2C1_DELAY_CHAIN_NUM \
1301                                         : 0x0UL)
1302 
1303 /* Instance macros for IADC */
1304 #define IADC(n)                        (((n) == 0) ? IADC0 \
1305                                         : 0x0UL)
1306 #define IADC_NUM(ref)                  (((ref) == IADC0) ? 0 \
1307                                         : -1)
1308 #define IADC_CONFIGNUM(n)              (((n) == 0) ? IADC0_CONFIGNUM \
1309                                         : 0x0UL)
1310 #define IADC_FULLRANGEUNIPOLAR(n)      (((n) == 0) ? IADC0_FULLRANGEUNIPOLAR \
1311                                         : 0x0UL)
1312 #define IADC_SCANBYTES(n)              (((n) == 0) ? IADC0_SCANBYTES \
1313                                         : 0x0UL)
1314 #define IADC_ENTRIES(n)                (((n) == 0) ? IADC0_ENTRIES \
1315                                         : 0x0UL)
1316 
1317 /* Instance macros for LETIMER */
1318 #define LETIMER(n)                     (((n) == 0) ? LETIMER0 \
1319                                         : 0x0UL)
1320 #define LETIMER_NUM(ref)               (((ref) == LETIMER0) ? 0 \
1321                                         : -1)
1322 #define LETIMER_CNT_WIDTH(n)           (((n) == 0) ? LETIMER0_CNT_WIDTH \
1323                                         : 0x0UL)
1324 
1325 /* Instance macros for TIMER */
1326 #define TIMER(n)                       (((n) == 0) ? TIMER0   \
1327                                         : ((n) == 1) ? TIMER1 \
1328                                         : ((n) == 2) ? TIMER2 \
1329                                         : ((n) == 3) ? TIMER3 \
1330                                         : ((n) == 4) ? TIMER4 \
1331                                         : 0x0UL)
1332 #define TIMER_NUM(ref)                 (((ref) == TIMER0) ? 0   \
1333                                         : ((ref) == TIMER1) ? 1 \
1334                                         : ((ref) == TIMER2) ? 2 \
1335                                         : ((ref) == TIMER3) ? 3 \
1336                                         : ((ref) == TIMER4) ? 4 \
1337                                         : -1)
1338 #define TIMER_CC_NUM(n)                (((n) == 0) ? TIMER0_CC_NUM   \
1339                                         : ((n) == 1) ? TIMER1_CC_NUM \
1340                                         : ((n) == 2) ? TIMER2_CC_NUM \
1341                                         : ((n) == 3) ? TIMER3_CC_NUM \
1342                                         : ((n) == 4) ? TIMER4_CC_NUM \
1343                                         : 0x0UL)
1344 #define TIMER_CNTWIDTH(n)              (((n) == 0) ? TIMER0_CNTWIDTH   \
1345                                         : ((n) == 1) ? TIMER1_CNTWIDTH \
1346                                         : ((n) == 2) ? TIMER2_CNTWIDTH \
1347                                         : ((n) == 3) ? TIMER3_CNTWIDTH \
1348                                         : ((n) == 4) ? TIMER4_CNTWIDTH \
1349                                         : 0x0UL)
1350 #define TIMER_DTI(n)                   (((n) == 0) ? TIMER0_DTI   \
1351                                         : ((n) == 1) ? TIMER1_DTI \
1352                                         : ((n) == 2) ? TIMER2_DTI \
1353                                         : ((n) == 3) ? TIMER3_DTI \
1354                                         : ((n) == 4) ? TIMER4_DTI \
1355                                         : 0x0UL)
1356 #define TIMER_DTI_CC_NUM(n)            (((n) == 0) ? TIMER0_DTI_CC_NUM   \
1357                                         : ((n) == 1) ? TIMER1_DTI_CC_NUM \
1358                                         : ((n) == 2) ? TIMER2_DTI_CC_NUM \
1359                                         : ((n) == 3) ? TIMER3_DTI_CC_NUM \
1360                                         : ((n) == 4) ? TIMER4_DTI_CC_NUM \
1361                                         : 0x0UL)
1362 #define TIMER_NO_DTI(n)                (((n) == 0) ? TIMER0_NO_DTI   \
1363                                         : ((n) == 1) ? TIMER1_NO_DTI \
1364                                         : ((n) == 2) ? TIMER2_NO_DTI \
1365                                         : ((n) == 3) ? TIMER3_NO_DTI \
1366                                         : ((n) == 4) ? TIMER4_NO_DTI \
1367                                         : 0x0UL)
1368 
1369 /* Instance macros for USART */
1370 #define USART(n)                       (((n) == 0) ? USART0   \
1371                                         : ((n) == 1) ? USART1 \
1372                                         : 0x0UL)
1373 #define USART_NUM(ref)                 (((ref) == USART0) ? 0   \
1374                                         : ((ref) == USART1) ? 1 \
1375                                         : -1)
1376 #define USART_AUTOTX_REG(n)            (((n) == 0) ? USART0_AUTOTX_REG   \
1377                                         : ((n) == 1) ? USART1_AUTOTX_REG \
1378                                         : 0x0UL)
1379 #define USART_AUTOTX_REG_B(n)          (((n) == 0) ? USART0_AUTOTX_REG_B   \
1380                                         : ((n) == 1) ? USART1_AUTOTX_REG_B \
1381                                         : 0x0UL)
1382 #define USART_AUTOTX_TRIGGER(n)        (((n) == 0) ? USART0_AUTOTX_TRIGGER   \
1383                                         : ((n) == 1) ? USART1_AUTOTX_TRIGGER \
1384                                         : 0x0UL)
1385 #define USART_AUTOTX_TRIGGER_B(n)      (((n) == 0) ? USART0_AUTOTX_TRIGGER_B   \
1386                                         : ((n) == 1) ? USART1_AUTOTX_TRIGGER_B \
1387                                         : 0x0UL)
1388 #define USART_CLK_PRS(n)               (((n) == 0) ? USART0_CLK_PRS   \
1389                                         : ((n) == 1) ? USART1_CLK_PRS \
1390                                         : 0x0UL)
1391 #define USART_CLK_PRS_B(n)             (((n) == 0) ? USART0_CLK_PRS_B   \
1392                                         : ((n) == 1) ? USART1_CLK_PRS_B \
1393                                         : 0x0UL)
1394 #define USART_FLOW_CONTROL(n)          (((n) == 0) ? USART0_FLOW_CONTROL   \
1395                                         : ((n) == 1) ? USART1_FLOW_CONTROL \
1396                                         : 0x0UL)
1397 #define USART_FLOW_CONTROL_B(n)        (((n) == 0) ? USART0_FLOW_CONTROL_B   \
1398                                         : ((n) == 1) ? USART1_FLOW_CONTROL_B \
1399                                         : 0x0UL)
1400 #define USART_I2S(n)                   (((n) == 0) ? USART0_I2S   \
1401                                         : ((n) == 1) ? USART1_I2S \
1402                                         : 0x0UL)
1403 #define USART_I2S_B(n)                 (((n) == 0) ? USART0_I2S_B   \
1404                                         : ((n) == 1) ? USART1_I2S_B \
1405                                         : 0x0UL)
1406 #define USART_IRDA_AVAILABLE(n)        (((n) == 0) ? USART0_IRDA_AVAILABLE   \
1407                                         : ((n) == 1) ? USART1_IRDA_AVAILABLE \
1408                                         : 0x0UL)
1409 #define USART_IRDA_AVAILABLE_B(n)      (((n) == 0) ? USART0_IRDA_AVAILABLE_B   \
1410                                         : ((n) == 1) ? USART1_IRDA_AVAILABLE_B \
1411                                         : 0x0UL)
1412 #define USART_MVDIS_FUNC(n)            (((n) == 0) ? USART0_MVDIS_FUNC   \
1413                                         : ((n) == 1) ? USART1_MVDIS_FUNC \
1414                                         : 0x0UL)
1415 #define USART_MVDIS_FUNC_B(n)          (((n) == 0) ? USART0_MVDIS_FUNC_B   \
1416                                         : ((n) == 1) ? USART1_MVDIS_FUNC_B \
1417                                         : 0x0UL)
1418 #define USART_RX_PRS(n)                (((n) == 0) ? USART0_RX_PRS   \
1419                                         : ((n) == 1) ? USART1_RX_PRS \
1420                                         : 0x0UL)
1421 #define USART_RX_PRS_B(n)              (((n) == 0) ? USART0_RX_PRS_B   \
1422                                         : ((n) == 1) ? USART1_RX_PRS_B \
1423                                         : 0x0UL)
1424 #define USART_SC_AVAILABLE(n)          (((n) == 0) ? USART0_SC_AVAILABLE   \
1425                                         : ((n) == 1) ? USART1_SC_AVAILABLE \
1426                                         : 0x0UL)
1427 #define USART_SC_AVAILABLE_B(n)        (((n) == 0) ? USART0_SC_AVAILABLE_B   \
1428                                         : ((n) == 1) ? USART1_SC_AVAILABLE_B \
1429                                         : 0x0UL)
1430 #define USART_SYNC_AVAILABLE(n)        (((n) == 0) ? USART0_SYNC_AVAILABLE   \
1431                                         : ((n) == 1) ? USART1_SYNC_AVAILABLE \
1432                                         : 0x0UL)
1433 #define USART_SYNC_AVAILABLE_B(n)      (((n) == 0) ? USART0_SYNC_AVAILABLE_B   \
1434                                         : ((n) == 1) ? USART1_SYNC_AVAILABLE_B \
1435                                         : 0x0UL)
1436 #define USART_SYNC_LATE_SAMPLE(n)      (((n) == 0) ? USART0_SYNC_LATE_SAMPLE   \
1437                                         : ((n) == 1) ? USART1_SYNC_LATE_SAMPLE \
1438                                         : 0x0UL)
1439 #define USART_SYNC_LATE_SAMPLE_B(n)    (((n) == 0) ? USART0_SYNC_LATE_SAMPLE_B   \
1440                                         : ((n) == 1) ? USART1_SYNC_LATE_SAMPLE_B \
1441                                         : 0x0UL)
1442 #define USART_TIMER(n)                 (((n) == 0) ? USART0_TIMER   \
1443                                         : ((n) == 1) ? USART1_TIMER \
1444                                         : 0x0UL)
1445 #define USART_TIMER_B(n)               (((n) == 0) ? USART0_TIMER_B   \
1446                                         : ((n) == 1) ? USART1_TIMER_B \
1447                                         : 0x0UL)
1448 
1449 /* Instance macros for WDOG */
1450 #define WDOG(n)                        (((n) == 0) ? WDOG0 \
1451                                         : 0x0UL)
1452 #define WDOG_NUM(ref)                  (((ref) == WDOG0) ? 0 \
1453                                         : -1)
1454 #define WDOG_PCNUM(n)                  (((n) == 0) ? WDOG0_PCNUM \
1455                                         : 0x0UL)
1456 
1457 /** @} End of group EFR32BG27C140F768IM40_Peripheral_Parameters  */
1458 
1459 /** @} End of group EFR32BG27C140F768IM40 */
1460 /** @}} End of group Parts */
1461 
1462 #ifdef __cplusplus
1463 }
1464 #endif
1465 #endif
1466