1 /***************************************************************************//**
2  * @file
3  * @brief EFM32HG_PRS_SIGNALS register and bit field definitions
4  *******************************************************************************
5  * # License
6  * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
7  *******************************************************************************
8  *
9  * SPDX-License-Identifier: Zlib
10  *
11  * The licensor of this software is Silicon Laboratories Inc.
12  *
13  * This software is provided 'as-is', without any express or implied
14  * warranty. In no event will the authors be held liable for any damages
15  * arising from the use of this software.
16  *
17  * Permission is granted to anyone to use this software for any purpose,
18  * including commercial applications, and to alter it and redistribute it
19  * freely, subject to the following restrictions:
20  *
21  * 1. The origin of this software must not be misrepresented; you must not
22  *    claim that you wrote the original software. If you use this software
23  *    in a product, an acknowledgment in the product documentation would be
24  *    appreciated but is not required.
25  * 2. Altered source versions must be plainly marked as such, and must not be
26  *    misrepresented as being the original software.
27  * 3. This notice may not be removed or altered from any source distribution.
28  *
29  ******************************************************************************/
30 
31 #if defined(__ICCARM__)
32 #pragma system_include       /* Treat file as system include file. */
33 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
34 #pragma clang system_header  /* Treat file as system include file. */
35 #endif
36 
37 /***************************************************************************//**
38  * @addtogroup Parts
39  * @{
40  ******************************************************************************/
41 /***************************************************************************//**
42  * @addtogroup EFM32HG_PRS_Signals
43  * @{
44  * @brief PRS Signal names
45  ******************************************************************************/
46 #define PRS_VCMP_OUT          ((1 << 16) + 0)  /**< PRS Voltage comparator output */
47 #define PRS_ACMP0_OUT         ((2 << 16) + 0)  /**< PRS Analog comparator output */
48 #define PRS_ADC0_SINGLE       ((8 << 16) + 0)  /**< PRS ADC single conversion done */
49 #define PRS_ADC0_SCAN         ((8 << 16) + 1)  /**< PRS ADC scan conversion done */
50 #define PRS_USART0_IRTX       ((16 << 16) + 0) /**< PRS USART 0 IRDA out */
51 #define PRS_USART0_TXC        ((16 << 16) + 1) /**< PRS USART 0 TX complete */
52 #define PRS_USART0_RXDATAV    ((16 << 16) + 2) /**< PRS USART 0 RX Data Valid */
53 #define PRS_USART1_IRTX       ((17 << 16) + 0) /**< PRS USART 1 IRDA out */
54 #define PRS_USART1_TXC        ((17 << 16) + 1) /**< PRS USART 1 TX complete */
55 #define PRS_USART1_RXDATAV    ((17 << 16) + 2) /**< PRS USART 1 RX Data Valid */
56 #define PRS_TIMER0_UF         ((28 << 16) + 0) /**< PRS Timer 0 Underflow */
57 #define PRS_TIMER0_OF         ((28 << 16) + 1) /**< PRS Timer 0 Overflow */
58 #define PRS_TIMER0_CC0        ((28 << 16) + 2) /**< PRS Timer 0 Compare/Capture 0 */
59 #define PRS_TIMER0_CC1        ((28 << 16) + 3) /**< PRS Timer 0 Compare/Capture 1 */
60 #define PRS_TIMER0_CC2        ((28 << 16) + 4) /**< PRS Timer 0 Compare/Capture 2 */
61 #define PRS_TIMER1_UF         ((29 << 16) + 0) /**< PRS Timer 1 Underflow */
62 #define PRS_TIMER1_OF         ((29 << 16) + 1) /**< PRS Timer 1 Overflow */
63 #define PRS_TIMER1_CC0        ((29 << 16) + 2) /**< PRS Timer 1 Compare/Capture 0 */
64 #define PRS_TIMER1_CC1        ((29 << 16) + 3) /**< PRS Timer 1 Compare/Capture 1 */
65 #define PRS_TIMER1_CC2        ((29 << 16) + 4) /**< PRS Timer 1 Compare/Capture 2 */
66 #define PRS_TIMER2_UF         ((30 << 16) + 0) /**< PRS Timer 2 Underflow */
67 #define PRS_TIMER2_OF         ((30 << 16) + 1) /**< PRS Timer 2 Overflow */
68 #define PRS_TIMER2_CC0        ((30 << 16) + 2) /**< PRS Timer 2 Compare/Capture 0 */
69 #define PRS_TIMER2_CC1        ((30 << 16) + 3) /**< PRS Timer 2 Compare/Capture 1 */
70 #define PRS_TIMER2_CC2        ((30 << 16) + 4) /**< PRS Timer 2 Compare/Capture 2 */
71 #define PRS_USB_SOF           ((36 << 16) + 0) /**< PRS USB Start of Frame */
72 #define PRS_USB_SOFSR         ((36 << 16) + 1) /**< PRS USB Start of Frame Sent/Received */
73 #define PRS_RTC_OF            ((40 << 16) + 0) /**< PRS RTC Overflow */
74 #define PRS_RTC_COMP0         ((40 << 16) + 1) /**< PRS RTC Compare 0 */
75 #define PRS_RTC_COMP1         ((40 << 16) + 2) /**< PRS RTC Compare 1 */
76 #define PRS_GPIO_PIN0         ((48 << 16) + 0) /**< PRS GPIO pin 0 */
77 #define PRS_GPIO_PIN1         ((48 << 16) + 1) /**< PRS GPIO pin 1 */
78 #define PRS_GPIO_PIN2         ((48 << 16) + 2) /**< PRS GPIO pin 2 */
79 #define PRS_GPIO_PIN3         ((48 << 16) + 3) /**< PRS GPIO pin 3 */
80 #define PRS_GPIO_PIN4         ((48 << 16) + 4) /**< PRS GPIO pin 4 */
81 #define PRS_GPIO_PIN5         ((48 << 16) + 5) /**< PRS GPIO pin 5 */
82 #define PRS_GPIO_PIN6         ((48 << 16) + 6) /**< PRS GPIO pin 6 */
83 #define PRS_GPIO_PIN7         ((48 << 16) + 7) /**< PRS GPIO pin 7 */
84 #define PRS_GPIO_PIN8         ((49 << 16) + 0) /**< PRS GPIO pin 8 */
85 #define PRS_GPIO_PIN9         ((49 << 16) + 1) /**< PRS GPIO pin 9 */
86 #define PRS_GPIO_PIN10        ((49 << 16) + 2) /**< PRS GPIO pin 10 */
87 #define PRS_GPIO_PIN11        ((49 << 16) + 3) /**< PRS GPIO pin 11 */
88 #define PRS_GPIO_PIN12        ((49 << 16) + 4) /**< PRS GPIO pin 12 */
89 #define PRS_GPIO_PIN13        ((49 << 16) + 5) /**< PRS GPIO pin 13 */
90 #define PRS_GPIO_PIN14        ((49 << 16) + 6) /**< PRS GPIO pin 14 */
91 #define PRS_GPIO_PIN15        ((49 << 16) + 7) /**< PRS GPIO pin 15 */
92 #define PRS_PCNT0_TCC         ((54 << 16) + 0) /**< PRS Triggered compare match */
93 
94 /** @} End of group EFM32HG_PRS */
95 /** @} End of group Parts */
96