1 /**************************************************************************//**
\r
2 * @file efm32gg990f1024.h
\r
3 * @brief CMSIS Cortex-M Peripheral Access Layer Header File
\r
4 * for EFM32GG990F1024
\r
6 ******************************************************************************
\r
8 * <b>(C) Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b>
\r
9 ******************************************************************************
\r
11 * Permission is granted to anyone to use this software for any purpose,
\r
12 * including commercial applications, and to alter it and redistribute it
\r
13 * freely, subject to the following restrictions:
\r
15 * 1. The origin of this software must not be misrepresented; you must not
\r
16 * claim that you wrote the original software.@n
\r
17 * 2. Altered source versions must be plainly marked as such, and must not be
\r
18 * misrepresented as being the original software.@n
\r
19 * 3. This notice may not be removed or altered from any source distribution.
\r
21 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
\r
22 * has no obligation to support this Software. Silicon Laboratories, Inc. is
\r
23 * providing the Software "AS IS", with no express or implied warranties of any
\r
24 * kind, including, but not limited to, any implied warranties of
\r
25 * merchantability or fitness for any particular purpose or warranties against
\r
26 * infringement of any proprietary rights of a third party.
\r
28 * Silicon Laboratories, Inc. will not be liable for any consequential,
\r
29 * incidental, or special damages, or any other relief, or for any claim by
\r
30 * any third party, arising from your use of this Software.
\r
32 *****************************************************************************/
\r
34 #ifndef __SILICON_LABS_EFM32GG990F1024_H__
\r
35 #define __SILICON_LABS_EFM32GG990F1024_H__
\r
41 /**************************************************************************//**
\r
44 *****************************************************************************/
\r
46 /**************************************************************************//**
\r
47 * @defgroup EFM32GG990F1024 EFM32GG990F1024
\r
49 *****************************************************************************/
\r
51 /** Interrupt Number Definition */
\r
54 /****** Cortex-M3 Processor Exceptions Numbers *******************************************/
\r
55 NonMaskableInt_IRQn = -14, /*!< 2 Cortex-M3 Non Maskable Interrupt */
\r
56 HardFault_IRQn = -13, /*!< 3 Cortex-M3 Hard Fault Interrupt */
\r
57 MemoryManagement_IRQn = -12, /*!< 4 Cortex-M3 Memory Management Interrupt */
\r
58 BusFault_IRQn = -11, /*!< 5 Cortex-M3 Bus Fault Interrupt */
\r
59 UsageFault_IRQn = -10, /*!< 6 Cortex-M3 Usage Fault Interrupt */
\r
60 SVCall_IRQn = -5, /*!< 11 Cortex-M3 SV Call Interrupt */
\r
61 DebugMonitor_IRQn = -4, /*!< 12 Cortex-M3 Debug Monitor Interrupt */
\r
62 PendSV_IRQn = -2, /*!< 14 Cortex-M3 Pend SV Interrupt */
\r
63 SysTick_IRQn = -1, /*!< 15 Cortex-M3 System Tick Interrupt */
\r
65 /****** EFM32G Peripheral Interrupt Numbers **********************************************/
\r
66 DMA_IRQn = 0, /*!< 16+0 EFM32 DMA Interrupt */
\r
67 GPIO_EVEN_IRQn = 1, /*!< 16+1 EFM32 GPIO_EVEN Interrupt */
\r
68 TIMER0_IRQn = 2, /*!< 16+2 EFM32 TIMER0 Interrupt */
\r
69 USART0_RX_IRQn = 3, /*!< 16+3 EFM32 USART0_RX Interrupt */
\r
70 USART0_TX_IRQn = 4, /*!< 16+4 EFM32 USART0_TX Interrupt */
\r
71 USB_IRQn = 5, /*!< 16+5 EFM32 USB Interrupt */
\r
72 ACMP0_IRQn = 6, /*!< 16+6 EFM32 ACMP0 Interrupt */
\r
73 ADC0_IRQn = 7, /*!< 16+7 EFM32 ADC0 Interrupt */
\r
74 DAC0_IRQn = 8, /*!< 16+8 EFM32 DAC0 Interrupt */
\r
75 I2C0_IRQn = 9, /*!< 16+9 EFM32 I2C0 Interrupt */
\r
76 I2C1_IRQn = 10, /*!< 16+10 EFM32 I2C1 Interrupt */
\r
77 GPIO_ODD_IRQn = 11, /*!< 16+11 EFM32 GPIO_ODD Interrupt */
\r
78 TIMER1_IRQn = 12, /*!< 16+12 EFM32 TIMER1 Interrupt */
\r
79 TIMER2_IRQn = 13, /*!< 16+13 EFM32 TIMER2 Interrupt */
\r
80 TIMER3_IRQn = 14, /*!< 16+14 EFM32 TIMER3 Interrupt */
\r
81 USART1_RX_IRQn = 15, /*!< 16+15 EFM32 USART1_RX Interrupt */
\r
82 USART1_TX_IRQn = 16, /*!< 16+16 EFM32 USART1_TX Interrupt */
\r
83 LESENSE_IRQn = 17, /*!< 16+17 EFM32 LESENSE Interrupt */
\r
84 USART2_RX_IRQn = 18, /*!< 16+18 EFM32 USART2_RX Interrupt */
\r
85 USART2_TX_IRQn = 19, /*!< 16+19 EFM32 USART2_TX Interrupt */
\r
86 UART0_RX_IRQn = 20, /*!< 16+20 EFM32 UART0_RX Interrupt */
\r
87 UART0_TX_IRQn = 21, /*!< 16+21 EFM32 UART0_TX Interrupt */
\r
88 UART1_RX_IRQn = 22, /*!< 16+22 EFM32 UART1_RX Interrupt */
\r
89 UART1_TX_IRQn = 23, /*!< 16+23 EFM32 UART1_TX Interrupt */
\r
90 LEUART0_IRQn = 24, /*!< 16+24 EFM32 LEUART0 Interrupt */
\r
91 LEUART1_IRQn = 25, /*!< 16+25 EFM32 LEUART1 Interrupt */
\r
92 LETIMER0_IRQn = 26, /*!< 16+26 EFM32 LETIMER0 Interrupt */
\r
93 PCNT0_IRQn = 27, /*!< 16+27 EFM32 PCNT0 Interrupt */
\r
94 PCNT1_IRQn = 28, /*!< 16+28 EFM32 PCNT1 Interrupt */
\r
95 PCNT2_IRQn = 29, /*!< 16+29 EFM32 PCNT2 Interrupt */
\r
96 RTC_IRQn = 30, /*!< 16+30 EFM32 RTC Interrupt */
\r
97 BURTC_IRQn = 31, /*!< 16+31 EFM32 BURTC Interrupt */
\r
98 CMU_IRQn = 32, /*!< 16+32 EFM32 CMU Interrupt */
\r
99 VCMP_IRQn = 33, /*!< 16+33 EFM32 VCMP Interrupt */
\r
100 LCD_IRQn = 34, /*!< 16+34 EFM32 LCD Interrupt */
\r
101 MSC_IRQn = 35, /*!< 16+35 EFM32 MSC Interrupt */
\r
102 AES_IRQn = 36, /*!< 16+36 EFM32 AES Interrupt */
\r
103 EBI_IRQn = 37, /*!< 16+37 EFM32 EBI Interrupt */
\r
104 EMU_IRQn = 38, /*!< 16+38 EFM32 EMU Interrupt */
\r
107 /**************************************************************************//**
\r
108 * @defgroup EFM32GG990F1024_Core EFM32GG990F1024 Core
\r
110 * @brief Processor and Core Peripheral Section
\r
111 *****************************************************************************/
\r
112 #define __MPU_PRESENT 1 /**< Presence of MPU */
\r
113 #define __NVIC_PRIO_BITS 3 /**< NVIC interrupt priority bits */
\r
114 #define __Vendor_SysTickConfig 0 /**< Is 1 if different SysTick counter is used */
\r
116 /** @} End of group EFM32GG990F1024_Core */
\r
118 /**************************************************************************//**
\r
119 * @defgroup EFM32GG990F1024_Part EFM32GG990F1024 Part
\r
121 ******************************************************************************/
\r
124 #define _EFM32_GIANT_FAMILY 1 /**< Giant/Leopard Gecko EFM32LG/GG MCU Family */
\r
125 #define _EFM_DEVICE /**< Silicon Labs EFM-type microcontroller */
\r
126 #define _SILICON_LABS_32B_PLATFORM_1 /**< Silicon Labs platform name */
\r
127 #define _SILICON_LABS_32B_PLATFORM 1 /**< Silicon Labs platform name */
\r
129 /* If part number is not defined as compiler option, define it */
\r
130 #if !defined(EFM32GG990F1024)
\r
131 #define EFM32GG990F1024 1 /**< Giant/Leopard Gecko Part */
\r
134 /** Configure part number */
\r
135 #define PART_NUMBER "EFM32GG990F1024" /**< Part Number */
\r
137 /** Memory Base addresses and limits */
\r
138 #define FLASH_MEM_BASE ((uint32_t) 0x0UL) /**< FLASH base address */
\r
139 #define FLASH_MEM_SIZE ((uint32_t) 0x10000000UL) /**< FLASH available address space */
\r
140 #define FLASH_MEM_END ((uint32_t) 0xFFFFFFFUL) /**< FLASH end address */
\r
141 #define FLASH_MEM_BITS ((uint32_t) 0x28UL) /**< FLASH used bits */
\r
142 #define AES_MEM_BASE ((uint32_t) 0x400E0000UL) /**< AES base address */
\r
143 #define AES_MEM_SIZE ((uint32_t) 0x400UL) /**< AES available address space */
\r
144 #define AES_MEM_END ((uint32_t) 0x400E03FFUL) /**< AES end address */
\r
145 #define AES_MEM_BITS ((uint32_t) 0x10UL) /**< AES used bits */
\r
146 #define USBC_MEM_BASE ((uint32_t) 0x40100000UL) /**< USBC base address */
\r
147 #define USBC_MEM_SIZE ((uint32_t) 0x40000UL) /**< USBC available address space */
\r
148 #define USBC_MEM_END ((uint32_t) 0x4013FFFFUL) /**< USBC end address */
\r
149 #define USBC_MEM_BITS ((uint32_t) 0x18UL) /**< USBC used bits */
\r
150 #define EBI_CODE_MEM_BASE ((uint32_t) 0x12000000UL) /**< EBI_CODE base address */
\r
151 #define EBI_CODE_MEM_SIZE ((uint32_t) 0xE000000UL) /**< EBI_CODE available address space */
\r
152 #define EBI_CODE_MEM_END ((uint32_t) 0x1FFFFFFFUL) /**< EBI_CODE end address */
\r
153 #define EBI_CODE_MEM_BITS ((uint32_t) 0x28UL) /**< EBI_CODE used bits */
\r
154 #define PER_MEM_BASE ((uint32_t) 0x40000000UL) /**< PER base address */
\r
155 #define PER_MEM_SIZE ((uint32_t) 0xE0000UL) /**< PER available address space */
\r
156 #define PER_MEM_END ((uint32_t) 0x400DFFFFUL) /**< PER end address */
\r
157 #define PER_MEM_BITS ((uint32_t) 0x20UL) /**< PER used bits */
\r
158 #define RAM_MEM_BASE ((uint32_t) 0x20000000UL) /**< RAM base address */
\r
159 #define RAM_MEM_SIZE ((uint32_t) 0x40000UL) /**< RAM available address space */
\r
160 #define RAM_MEM_END ((uint32_t) 0x2003FFFFUL) /**< RAM end address */
\r
161 #define RAM_MEM_BITS ((uint32_t) 0x18UL) /**< RAM used bits */
\r
162 #define RAM_CODE_MEM_BASE ((uint32_t) 0x10000000UL) /**< RAM_CODE base address */
\r
163 #define RAM_CODE_MEM_SIZE ((uint32_t) 0x20000UL) /**< RAM_CODE available address space */
\r
164 #define RAM_CODE_MEM_END ((uint32_t) 0x1001FFFFUL) /**< RAM_CODE end address */
\r
165 #define RAM_CODE_MEM_BITS ((uint32_t) 0x17UL) /**< RAM_CODE used bits */
\r
166 #define EBI_MEM_BASE ((uint32_t) 0x80000000UL) /**< EBI base address */
\r
167 #define EBI_MEM_SIZE ((uint32_t) 0x40000000UL) /**< EBI available address space */
\r
168 #define EBI_MEM_END ((uint32_t) 0xBFFFFFFFUL) /**< EBI end address */
\r
169 #define EBI_MEM_BITS ((uint32_t) 0x30UL) /**< EBI used bits */
\r
171 /** Bit banding area */
\r
172 #define BITBAND_PER_BASE ((uint32_t) 0x42000000UL) /**< Peripheral Address Space bit-band area */
\r
173 #define BITBAND_RAM_BASE ((uint32_t) 0x22000000UL) /**< SRAM Address Space bit-band area */
\r
175 /** Flash and SRAM limits for EFM32GG990F1024 */
\r
176 #define FLASH_BASE (0x00000000UL) /**< Flash Base Address */
\r
177 #define FLASH_SIZE (0x00100000UL) /**< Available Flash Memory */
\r
178 #define FLASH_PAGE_SIZE 4096 /**< Flash Memory page size */
\r
179 #define SRAM_BASE (0x20000000UL) /**< SRAM Base Address */
\r
180 #define SRAM_SIZE (0x00020000UL) /**< Available SRAM Memory */
\r
181 #define __CM3_REV 0x201 /**< Cortex-M3 Core revision r2p1 */
\r
182 #define PRS_CHAN_COUNT 12 /**< Number of PRS channels */
\r
183 #define DMA_CHAN_COUNT 12 /**< Number of DMA channels */
\r
185 /** AF channels connect the different on-chip peripherals with the af-mux */
\r
186 #define AFCHAN_MAX 163
\r
187 #define AFCHANLOC_MAX 7
\r
188 /** Analog AF channels */
\r
189 #define AFACHAN_MAX 53
\r
191 /* Part number capabilities */
\r
193 #define LETIMER_PRESENT /**< LETIMER is available in this part */
\r
194 #define LETIMER_COUNT 1 /**< 1 LETIMERs available */
\r
195 #define USART_PRESENT /**< USART is available in this part */
\r
196 #define USART_COUNT 3 /**< 3 USARTs available */
\r
197 #define UART_PRESENT /**< UART is available in this part */
\r
198 #define UART_COUNT 2 /**< 2 UARTs available */
\r
199 #define TIMER_PRESENT /**< TIMER is available in this part */
\r
200 #define TIMER_COUNT 4 /**< 4 TIMERs available */
\r
201 #define ACMP_PRESENT /**< ACMP is available in this part */
\r
202 #define ACMP_COUNT 2 /**< 2 ACMPs available */
\r
203 #define I2C_PRESENT /**< I2C is available in this part */
\r
204 #define I2C_COUNT 2 /**< 2 I2Cs available */
\r
205 #define LEUART_PRESENT /**< LEUART is available in this part */
\r
206 #define LEUART_COUNT 2 /**< 2 LEUARTs available */
\r
207 #define PCNT_PRESENT /**< PCNT is available in this part */
\r
208 #define PCNT_COUNT 3 /**< 3 PCNTs available */
\r
209 #define ADC_PRESENT /**< ADC is available in this part */
\r
210 #define ADC_COUNT 1 /**< 1 ADCs available */
\r
211 #define DAC_PRESENT /**< DAC is available in this part */
\r
212 #define DAC_COUNT 1 /**< 1 DACs available */
\r
213 #define DMA_PRESENT
\r
214 #define DMA_COUNT 1
\r
215 #define AES_PRESENT
\r
216 #define AES_COUNT 1
\r
217 #define USBC_PRESENT
\r
218 #define USBC_COUNT 1
\r
219 #define USB_PRESENT
\r
220 #define USB_COUNT 1
\r
223 #define MSC_PRESENT
\r
224 #define MSC_COUNT 1
\r
225 #define EMU_PRESENT
\r
226 #define EMU_COUNT 1
\r
227 #define RMU_PRESENT
\r
228 #define RMU_COUNT 1
\r
229 #define CMU_PRESENT
\r
230 #define CMU_COUNT 1
\r
231 #define LESENSE_PRESENT
\r
232 #define LESENSE_COUNT 1
\r
233 #define RTC_PRESENT
\r
234 #define RTC_COUNT 1
\r
235 #define EBI_PRESENT
\r
236 #define EBI_COUNT 1
\r
237 #define GPIO_PRESENT
\r
238 #define GPIO_COUNT 1
\r
239 #define VCMP_PRESENT
\r
240 #define VCMP_COUNT 1
\r
241 #define PRS_PRESENT
\r
242 #define PRS_COUNT 1
\r
243 #define OPAMP_PRESENT
\r
244 #define OPAMP_COUNT 1
\r
247 #define LCD_PRESENT
\r
248 #define LCD_COUNT 1
\r
249 #define BURTC_PRESENT
\r
250 #define BURTC_COUNT 1
\r
251 #define HFXTAL_PRESENT
\r
252 #define HFXTAL_COUNT 1
\r
253 #define LFXTAL_PRESENT
\r
254 #define LFXTAL_COUNT 1
\r
255 #define WDOG_PRESENT
\r
256 #define WDOG_COUNT 1
\r
257 #define DBG_PRESENT
\r
258 #define DBG_COUNT 1
\r
259 #define ETM_PRESENT
\r
260 #define ETM_COUNT 1
\r
261 #define BOOTLOADER_PRESENT
\r
262 #define BOOTLOADER_COUNT 1
\r
263 #define ANALOG_PRESENT
\r
264 #define ANALOG_COUNT 1
\r
266 #include "core_cm3.h" /* Cortex-M3 processor and core peripherals */
\r
267 #include "system_efm32gg.h" /* System Header */
\r
269 /** @} End of group EFM32GG990F1024_Part */
\r
271 /**************************************************************************//**
\r
272 * @defgroup EFM32GG990F1024_Peripheral_TypeDefs EFM32GG990F1024 Peripheral TypeDefs
\r
274 * @brief Device Specific Peripheral Register Structures
\r
275 *****************************************************************************/
\r
277 #include "efm32gg_dma_ch.h"
\r
278 #include "efm32gg_dma.h"
\r
279 #include "efm32gg_aes.h"
\r
280 #include "efm32gg_usb_hc.h"
\r
281 #include "efm32gg_usb_diep.h"
\r
282 #include "efm32gg_usb_doep.h"
\r
283 #include "efm32gg_usb.h"
\r
284 #include "efm32gg_msc.h"
\r
285 #include "efm32gg_emu.h"
\r
286 #include "efm32gg_rmu.h"
\r
287 #include "efm32gg_cmu.h"
\r
288 #include "efm32gg_lesense_st.h"
\r
289 #include "efm32gg_lesense_buf.h"
\r
290 #include "efm32gg_lesense_ch.h"
\r
291 #include "efm32gg_lesense.h"
\r
292 #include "efm32gg_rtc.h"
\r
293 #include "efm32gg_letimer.h"
\r
294 #include "efm32gg_ebi.h"
\r
295 #include "efm32gg_usart.h"
\r
296 #include "efm32gg_timer_cc.h"
\r
297 #include "efm32gg_timer.h"
\r
298 #include "efm32gg_acmp.h"
\r
299 #include "efm32gg_i2c.h"
\r
300 #include "efm32gg_gpio_p.h"
\r
301 #include "efm32gg_gpio.h"
\r
302 #include "efm32gg_vcmp.h"
\r
303 #include "efm32gg_prs_ch.h"
\r
304 #include "efm32gg_prs.h"
\r
305 #include "efm32gg_leuart.h"
\r
306 #include "efm32gg_pcnt.h"
\r
307 #include "efm32gg_adc.h"
\r
308 #include "efm32gg_dac.h"
\r
309 #include "efm32gg_lcd.h"
\r
310 #include "efm32gg_burtc_ret.h"
\r
311 #include "efm32gg_burtc.h"
\r
312 #include "efm32gg_wdog.h"
\r
313 #include "efm32gg_etm.h"
\r
314 #include "efm32gg_dma_descriptor.h"
\r
315 #include "efm32gg_devinfo.h"
\r
316 #include "efm32gg_romtable.h"
\r
317 #include "efm32gg_calibrate.h"
\r
319 /** @} End of group EFM32GG990F1024_Peripheral_TypeDefs */
\r
321 /**************************************************************************//**
\r
322 * @defgroup EFM32GG990F1024_Peripheral_Base EFM32GG990F1024 Peripheral Memory Map
\r
324 *****************************************************************************/
\r
326 #define DMA_BASE (0x400C2000UL) /**< DMA base address */
\r
327 #define AES_BASE (0x400E0000UL) /**< AES base address */
\r
328 #define USB_BASE (0x400C4000UL) /**< USB base address */
\r
329 #define MSC_BASE (0x400C0000UL) /**< MSC base address */
\r
330 #define EMU_BASE (0x400C6000UL) /**< EMU base address */
\r
331 #define RMU_BASE (0x400CA000UL) /**< RMU base address */
\r
332 #define CMU_BASE (0x400C8000UL) /**< CMU base address */
\r
333 #define LESENSE_BASE (0x4008C000UL) /**< LESENSE base address */
\r
334 #define RTC_BASE (0x40080000UL) /**< RTC base address */
\r
335 #define LETIMER0_BASE (0x40082000UL) /**< LETIMER0 base address */
\r
336 #define EBI_BASE (0x40008000UL) /**< EBI base address */
\r
337 #define USART0_BASE (0x4000C000UL) /**< USART0 base address */
\r
338 #define USART1_BASE (0x4000C400UL) /**< USART1 base address */
\r
339 #define USART2_BASE (0x4000C800UL) /**< USART2 base address */
\r
340 #define UART0_BASE (0x4000E000UL) /**< UART0 base address */
\r
341 #define UART1_BASE (0x4000E400UL) /**< UART1 base address */
\r
342 #define TIMER0_BASE (0x40010000UL) /**< TIMER0 base address */
\r
343 #define TIMER1_BASE (0x40010400UL) /**< TIMER1 base address */
\r
344 #define TIMER2_BASE (0x40010800UL) /**< TIMER2 base address */
\r
345 #define TIMER3_BASE (0x40010C00UL) /**< TIMER3 base address */
\r
346 #define ACMP0_BASE (0x40001000UL) /**< ACMP0 base address */
\r
347 #define ACMP1_BASE (0x40001400UL) /**< ACMP1 base address */
\r
348 #define I2C0_BASE (0x4000A000UL) /**< I2C0 base address */
\r
349 #define I2C1_BASE (0x4000A400UL) /**< I2C1 base address */
\r
350 #define GPIO_BASE (0x40006000UL) /**< GPIO base address */
\r
351 #define VCMP_BASE (0x40000000UL) /**< VCMP base address */
\r
352 #define PRS_BASE (0x400CC000UL) /**< PRS base address */
\r
353 #define LEUART0_BASE (0x40084000UL) /**< LEUART0 base address */
\r
354 #define LEUART1_BASE (0x40084400UL) /**< LEUART1 base address */
\r
355 #define PCNT0_BASE (0x40086000UL) /**< PCNT0 base address */
\r
356 #define PCNT1_BASE (0x40086400UL) /**< PCNT1 base address */
\r
357 #define PCNT2_BASE (0x40086800UL) /**< PCNT2 base address */
\r
358 #define ADC0_BASE (0x40002000UL) /**< ADC0 base address */
\r
359 #define DAC0_BASE (0x40004000UL) /**< DAC0 base address */
\r
360 #define LCD_BASE (0x4008A000UL) /**< LCD base address */
\r
361 #define BURTC_BASE (0x40081000UL) /**< BURTC base address */
\r
362 #define WDOG_BASE (0x40088000UL) /**< WDOG base address */
\r
363 #define ETM_BASE (0xE0041000UL) /**< ETM base address */
\r
364 #define CALIBRATE_BASE (0x0FE08000UL) /**< CALIBRATE base address */
\r
365 #define DEVINFO_BASE (0x0FE081B0UL) /**< DEVINFO base address */
\r
366 #define ROMTABLE_BASE (0xE00FFFD0UL) /**< ROMTABLE base address */
\r
367 #define LOCKBITS_BASE (0x0FE04000UL) /**< Lock-bits page base address */
\r
368 #define USERDATA_BASE (0x0FE00000UL) /**< User data page base address */
\r
370 /** @} End of group EFM32GG990F1024_Peripheral_Base */
\r
372 /**************************************************************************//**
\r
373 * @defgroup EFM32GG990F1024_Peripheral_Declaration EFM32GG990F1024 Peripheral Declarations
\r
375 *****************************************************************************/
\r
377 #define DMA ((DMA_TypeDef *) DMA_BASE) /**< DMA base pointer */
\r
378 #define AES ((AES_TypeDef *) AES_BASE) /**< AES base pointer */
\r
379 #define USB ((USB_TypeDef *) USB_BASE) /**< USB base pointer */
\r
380 #define MSC ((MSC_TypeDef *) MSC_BASE) /**< MSC base pointer */
\r
381 #define EMU ((EMU_TypeDef *) EMU_BASE) /**< EMU base pointer */
\r
382 #define RMU ((RMU_TypeDef *) RMU_BASE) /**< RMU base pointer */
\r
383 #define CMU ((CMU_TypeDef *) CMU_BASE) /**< CMU base pointer */
\r
384 #define LESENSE ((LESENSE_TypeDef *) LESENSE_BASE) /**< LESENSE base pointer */
\r
385 #define RTC ((RTC_TypeDef *) RTC_BASE) /**< RTC base pointer */
\r
386 #define LETIMER0 ((LETIMER_TypeDef *) LETIMER0_BASE) /**< LETIMER0 base pointer */
\r
387 #define EBI ((EBI_TypeDef *) EBI_BASE) /**< EBI base pointer */
\r
388 #define USART0 ((USART_TypeDef *) USART0_BASE) /**< USART0 base pointer */
\r
389 #define USART1 ((USART_TypeDef *) USART1_BASE) /**< USART1 base pointer */
\r
390 #define USART2 ((USART_TypeDef *) USART2_BASE) /**< USART2 base pointer */
\r
391 #define UART0 ((USART_TypeDef *) UART0_BASE) /**< UART0 base pointer */
\r
392 #define UART1 ((USART_TypeDef *) UART1_BASE) /**< UART1 base pointer */
\r
393 #define TIMER0 ((TIMER_TypeDef *) TIMER0_BASE) /**< TIMER0 base pointer */
\r
394 #define TIMER1 ((TIMER_TypeDef *) TIMER1_BASE) /**< TIMER1 base pointer */
\r
395 #define TIMER2 ((TIMER_TypeDef *) TIMER2_BASE) /**< TIMER2 base pointer */
\r
396 #define TIMER3 ((TIMER_TypeDef *) TIMER3_BASE) /**< TIMER3 base pointer */
\r
397 #define ACMP0 ((ACMP_TypeDef *) ACMP0_BASE) /**< ACMP0 base pointer */
\r
398 #define ACMP1 ((ACMP_TypeDef *) ACMP1_BASE) /**< ACMP1 base pointer */
\r
399 #define I2C0 ((I2C_TypeDef *) I2C0_BASE) /**< I2C0 base pointer */
\r
400 #define I2C1 ((I2C_TypeDef *) I2C1_BASE) /**< I2C1 base pointer */
\r
401 #define GPIO ((GPIO_TypeDef *) GPIO_BASE) /**< GPIO base pointer */
\r
402 #define VCMP ((VCMP_TypeDef *) VCMP_BASE) /**< VCMP base pointer */
\r
403 #define PRS ((PRS_TypeDef *) PRS_BASE) /**< PRS base pointer */
\r
404 #define LEUART0 ((LEUART_TypeDef *) LEUART0_BASE) /**< LEUART0 base pointer */
\r
405 #define LEUART1 ((LEUART_TypeDef *) LEUART1_BASE) /**< LEUART1 base pointer */
\r
406 #define PCNT0 ((PCNT_TypeDef *) PCNT0_BASE) /**< PCNT0 base pointer */
\r
407 #define PCNT1 ((PCNT_TypeDef *) PCNT1_BASE) /**< PCNT1 base pointer */
\r
408 #define PCNT2 ((PCNT_TypeDef *) PCNT2_BASE) /**< PCNT2 base pointer */
\r
409 #define ADC0 ((ADC_TypeDef *) ADC0_BASE) /**< ADC0 base pointer */
\r
410 #define DAC0 ((DAC_TypeDef *) DAC0_BASE) /**< DAC0 base pointer */
\r
411 #define LCD ((LCD_TypeDef *) LCD_BASE) /**< LCD base pointer */
\r
412 #define BURTC ((BURTC_TypeDef *) BURTC_BASE) /**< BURTC base pointer */
\r
413 #define WDOG ((WDOG_TypeDef *) WDOG_BASE) /**< WDOG base pointer */
\r
414 #define ETM ((ETM_TypeDef *) ETM_BASE) /**< ETM base pointer */
\r
415 #define CALIBRATE ((CALIBRATE_TypeDef *) CALIBRATE_BASE) /**< CALIBRATE base pointer */
\r
416 #define DEVINFO ((DEVINFO_TypeDef *) DEVINFO_BASE) /**< DEVINFO base pointer */
\r
417 #define ROMTABLE ((ROMTABLE_TypeDef *) ROMTABLE_BASE) /**< ROMTABLE base pointer */
\r
419 /** @} End of group EFM32GG990F1024_Peripheral_Declaration */
\r
421 /**************************************************************************//**
\r
422 * @defgroup EFM32GG990F1024_BitFields EFM32GG990F1024 Bit Fields
\r
424 *****************************************************************************/
\r
426 #include "efm32gg_prs_signals.h"
\r
427 #include "efm32gg_dmareq.h"
\r
428 #include "efm32gg_dmactrl.h"
\r
429 #include "efm32gg_uart.h"
\r
431 /**************************************************************************//**
\r
432 * @defgroup EFM32GG990F1024_UNLOCK EFM32GG990F1024 Unlock Codes
\r
434 *****************************************************************************/
\r
435 #define MSC_UNLOCK_CODE 0x1B71 /**< MSC unlock code */
\r
436 #define EMU_UNLOCK_CODE 0xADE8 /**< EMU unlock code */
\r
437 #define CMU_UNLOCK_CODE 0x580E /**< CMU unlock code */
\r
438 #define TIMER_UNLOCK_CODE 0xCE80 /**< TIMER unlock code */
\r
439 #define GPIO_UNLOCK_CODE 0xA534 /**< GPIO unlock code */
\r
440 #define BURTC_UNLOCK_CODE 0xAEE8 /**< BURTC unlock code */
\r
442 /** @} End of group EFM32GG990F1024_UNLOCK */
\r
444 /** @} End of group EFM32GG990F1024_BitFields */
\r
446 /**************************************************************************//**
\r
447 * @defgroup EFM32GG990F1024_Alternate_Function EFM32GG990F1024 Alternate Function
\r
449 *****************************************************************************/
\r
451 #include "efm32gg_af_ports.h"
\r
452 #include "efm32gg_af_pins.h"
\r
454 /** @} End of group EFM32GG990F1024_Alternate_Function */
\r
456 /**************************************************************************//**
\r
457 * @brief Set the value of a bit field within a register.
\r
460 * The register to update
\r
462 * The mask for the bit field to update
\r
464 * The value to write to the bit field
\r
466 * The number of bits that the field is offset within the register.
\r
467 * 0 (zero) means LSB.
\r
468 *****************************************************************************/
\r
469 #define SET_BIT_FIELD(REG, MASK, VALUE, OFFSET) \
\r
470 REG = ((REG) &~(MASK)) | (((VALUE) << (OFFSET)) & (MASK));
\r
472 /** @} End of group EFM32GG990F1024 */
\r
474 /** @} End of group Parts */
\r
479 #endif /* __SILICON_LABS_EFM32GG990F1024_H__ */
\r