1 /***************************************************************************//** 2 * @file 3 * @brief EFM32GG12B_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 EFM32GG12B_PRS 43 * @{ 44 * @addtogroup EFM32GG12B_PRS_Signals PRS Signals 45 * @{ 46 * @brief PRS Signal names 47 ******************************************************************************/ 48 #define PRS_PRS_CH0 ((1 << 8) + 0) /**< PRS PRS channel 0 */ 49 #define PRS_PRS_CH1 ((1 << 8) + 1) /**< PRS PRS channel 1 */ 50 #define PRS_PRS_CH2 ((1 << 8) + 2) /**< PRS PRS channel 2 */ 51 #define PRS_PRS_CH3 ((1 << 8) + 3) /**< PRS PRS channel 3 */ 52 #define PRS_PRS_CH4 ((1 << 8) + 4) /**< PRS PRS channel 4 */ 53 #define PRS_PRS_CH5 ((1 << 8) + 5) /**< PRS PRS channel 5 */ 54 #define PRS_PRS_CH6 ((1 << 8) + 6) /**< PRS PRS channel 6 */ 55 #define PRS_PRS_CH7 ((1 << 8) + 7) /**< PRS PRS channel 7 */ 56 #define PRS_PRS_CH8 ((2 << 8) + 0) /**< PRS PRS channel 8 */ 57 #define PRS_PRS_CH9 ((2 << 8) + 1) /**< PRS PRS channel 9 */ 58 #define PRS_PRS_CH10 ((2 << 8) + 2) /**< PRS PRS channel 10 */ 59 #define PRS_PRS_CH11 ((2 << 8) + 3) /**< PRS PRS channel 11 */ 60 #define PRS_PRS_CH12 ((2 << 8) + 4) /**< PRS PRS channel 12 */ 61 #define PRS_PRS_CH13 ((2 << 8) + 5) /**< PRS PRS channel 13 */ 62 #define PRS_PRS_CH14 ((2 << 8) + 6) /**< PRS PRS channel 14 */ 63 #define PRS_PRS_CH15 ((2 << 8) + 7) /**< PRS PRS channel 15 */ 64 #define PRS_ACMP0_OUT ((4 << 8) + 0) /**< PRS Analog comparator output */ 65 #define PRS_ACMP1_OUT ((5 << 8) + 0) /**< PRS Analog comparator output */ 66 #define PRS_ADC0_SINGLE ((6 << 8) + 0) /**< PRS ADC single conversion done */ 67 #define PRS_ADC0_SCAN ((6 << 8) + 1) /**< PRS ADC scan conversion done */ 68 #define PRS_RTC_OF ((7 << 8) + 0) /**< PRS RTC Overflow */ 69 #define PRS_RTC_COMP0 ((7 << 8) + 1) /**< PRS RTC Compare 0 */ 70 #define PRS_RTC_COMP1 ((7 << 8) + 2) /**< PRS RTC Compare 1 */ 71 #define PRS_RTC_COMP2 ((7 << 8) + 3) /**< PRS RTC Compare 2 */ 72 #define PRS_RTC_COMP3 ((7 << 8) + 4) /**< PRS RTC Compare 3 */ 73 #define PRS_RTC_COMP4 ((7 << 8) + 5) /**< PRS RTC Compare 4 */ 74 #define PRS_RTC_COMP5 ((7 << 8) + 6) /**< PRS RTC Compare 5 */ 75 #define PRS_RTCC_CCV0 ((8 << 8) + 1) /**< PRS RTCC Compare 0 */ 76 #define PRS_RTCC_CCV1 ((8 << 8) + 2) /**< PRS RTCC Compare 1 */ 77 #define PRS_RTCC_CCV2 ((8 << 8) + 3) /**< PRS RTCC Compare 2 */ 78 #define PRS_GPIO_PIN0 ((9 << 8) + 0) /**< PRS GPIO pin 0 */ 79 #define PRS_GPIO_PIN1 ((9 << 8) + 1) /**< PRS GPIO pin 1 */ 80 #define PRS_GPIO_PIN2 ((9 << 8) + 2) /**< PRS GPIO pin 2 */ 81 #define PRS_GPIO_PIN3 ((9 << 8) + 3) /**< PRS GPIO pin 3 */ 82 #define PRS_GPIO_PIN4 ((9 << 8) + 4) /**< PRS GPIO pin 4 */ 83 #define PRS_GPIO_PIN5 ((9 << 8) + 5) /**< PRS GPIO pin 5 */ 84 #define PRS_GPIO_PIN6 ((9 << 8) + 6) /**< PRS GPIO pin 6 */ 85 #define PRS_GPIO_PIN7 ((9 << 8) + 7) /**< PRS GPIO pin 7 */ 86 #define PRS_GPIO_PIN8 ((10 << 8) + 0) /**< PRS GPIO pin 8 */ 87 #define PRS_GPIO_PIN9 ((10 << 8) + 1) /**< PRS GPIO pin 9 */ 88 #define PRS_GPIO_PIN10 ((10 << 8) + 2) /**< PRS GPIO pin 10 */ 89 #define PRS_GPIO_PIN11 ((10 << 8) + 3) /**< PRS GPIO pin 11 */ 90 #define PRS_GPIO_PIN12 ((10 << 8) + 4) /**< PRS GPIO pin 12 */ 91 #define PRS_GPIO_PIN13 ((10 << 8) + 5) /**< PRS GPIO pin 13 */ 92 #define PRS_GPIO_PIN14 ((10 << 8) + 6) /**< PRS GPIO pin 14 */ 93 #define PRS_GPIO_PIN15 ((10 << 8) + 7) /**< PRS GPIO pin 15 */ 94 #define PRS_LETIMER0_CH0 ((11 << 8) + 0) /**< PRS LETIMER CH0 Out */ 95 #define PRS_LETIMER0_CH1 ((11 << 8) + 1) /**< PRS LETIMER CH1 Out */ 96 #define PRS_LETIMER1_CH0 ((12 << 8) + 0) /**< PRS LETIMER CH0 Out */ 97 #define PRS_LETIMER1_CH1 ((12 << 8) + 1) /**< PRS LETIMER CH1 Out */ 98 #define PRS_PCNT0_TCC ((13 << 8) + 0) /**< PRS Triggered compare match */ 99 #define PRS_PCNT0_UFOF ((13 << 8) + 1) /**< PRS Counter overflow or underflow */ 100 #define PRS_PCNT0_DIR ((13 << 8) + 2) /**< PRS Counter direction */ 101 #define PRS_PCNT1_TCC ((14 << 8) + 0) /**< PRS Triggered compare match */ 102 #define PRS_PCNT1_UFOF ((14 << 8) + 1) /**< PRS Counter overflow or underflow */ 103 #define PRS_PCNT1_DIR ((14 << 8) + 2) /**< PRS Counter direction */ 104 #define PRS_PCNT2_TCC ((15 << 8) + 0) /**< PRS Triggered compare match */ 105 #define PRS_PCNT2_UFOF ((15 << 8) + 1) /**< PRS Counter overflow or underflow */ 106 #define PRS_PCNT2_DIR ((15 << 8) + 2) /**< PRS Counter direction */ 107 #define PRS_CRYOTIMER_PERIOD ((16 << 8) + 0) /**< PRS CRYOTIMER Output */ 108 #define PRS_CMU_CLKOUT0 ((17 << 8) + 0) /**< PRS Clock Output 0 */ 109 #define PRS_CMU_CLKOUT1 ((17 << 8) + 1) /**< PRS Clock Output 1 */ 110 #define PRS_CMU_CLKOUT2 ((17 << 8) + 7) /**< PRS Clock Output 2 */ 111 #define PRS_VDAC0_CH0 ((23 << 8) + 0) /**< PRS DAC ch0 conversion done */ 112 #define PRS_VDAC0_CH1 ((23 << 8) + 1) /**< PRS DAC ch1 conversion done */ 113 #define PRS_VDAC0_OPA0 ((23 << 8) + 2) /**< PRS OPA0 warmed up. output is valid. */ 114 #define PRS_VDAC0_OPA1 ((23 << 8) + 3) /**< PRS OPA1 warmed up. output is valid. */ 115 #define PRS_VDAC0_OPA2 ((23 << 8) + 4) /**< PRS OPA2 warmed up. output is valid. */ 116 #define PRS_VDAC0_OPA3 ((23 << 8) + 5) /**< PRS OPA3 warmed up. output is valid. */ 117 #define PRS_LESENSE_SCANRES0 ((24 << 8) + 0) /**< PRS LESENSE SCANRES register, bit 0 */ 118 #define PRS_LESENSE_SCANRES1 ((24 << 8) + 1) /**< PRS LESENSE SCANRES register, bit 1 */ 119 #define PRS_LESENSE_SCANRES2 ((24 << 8) + 2) /**< PRS LESENSE SCANRES register, bit 2 */ 120 #define PRS_LESENSE_SCANRES3 ((24 << 8) + 3) /**< PRS LESENSE SCANRES register, bit 3 */ 121 #define PRS_LESENSE_SCANRES4 ((24 << 8) + 4) /**< PRS LESENSE SCANRES register, bit 4 */ 122 #define PRS_LESENSE_SCANRES5 ((24 << 8) + 5) /**< PRS LESENSE SCANRES register, bit 5 */ 123 #define PRS_LESENSE_SCANRES6 ((24 << 8) + 6) /**< PRS LESENSE SCANRES register, bit 6 */ 124 #define PRS_LESENSE_SCANRES7 ((24 << 8) + 7) /**< PRS LESENSE SCANRES register, bit 7 */ 125 #define PRS_LESENSE_SCANRES8 ((25 << 8) + 0) /**< PRS LESENSE SCANRES register, bit 8 */ 126 #define PRS_LESENSE_SCANRES9 ((25 << 8) + 1) /**< PRS LESENSE SCANRES register, bit 9 */ 127 #define PRS_LESENSE_SCANRES10 ((25 << 8) + 2) /**< PRS LESENSE SCANRES register, bit 10 */ 128 #define PRS_LESENSE_SCANRES11 ((25 << 8) + 3) /**< PRS LESENSE SCANRES register, bit 11 */ 129 #define PRS_LESENSE_SCANRES12 ((25 << 8) + 4) /**< PRS LESENSE SCANRES register, bit 12 */ 130 #define PRS_LESENSE_SCANRES13 ((25 << 8) + 5) /**< PRS LESENSE SCANRES register, bit 13 */ 131 #define PRS_LESENSE_SCANRES14 ((25 << 8) + 6) /**< PRS LESENSE SCANRES register, bit 14 */ 132 #define PRS_LESENSE_SCANRES15 ((25 << 8) + 7) /**< PRS LESENSE SCANRES register, bit 15 */ 133 #define PRS_LESENSE_DEC0 ((26 << 8) + 0) /**< PRS LESENSE Decoder PRS out 0 */ 134 #define PRS_LESENSE_DEC1 ((26 << 8) + 1) /**< PRS LESENSE Decoder PRS out 1 */ 135 #define PRS_LESENSE_DEC2 ((26 << 8) + 2) /**< PRS LESENSE Decoder PRS out 2 */ 136 #define PRS_LESENSE_DECCMP ((26 << 8) + 3) /**< PRS LESENSE Decoder PRS compare value match channel */ 137 #define PRS_LESENSE_MEASACT ((27 << 8) + 0) /**< PRS LESENSE Measurement active */ 138 #define PRS_ACMP2_OUT ((28 << 8) + 0) /**< PRS Analog comparator output */ 139 #define PRS_ADC1_SINGLE ((29 << 8) + 0) /**< PRS ADC single conversion done */ 140 #define PRS_ADC1_SCAN ((29 << 8) + 1) /**< PRS ADC scan conversion done */ 141 #define PRS_USART0_IRTX ((48 << 8) + 0) /**< PRS */ 142 #define PRS_USART0_TXC ((48 << 8) + 1) /**< PRS */ 143 #define PRS_USART0_RXDATAV ((48 << 8) + 2) /**< PRS */ 144 #define PRS_USART0_RTS ((48 << 8) + 3) /**< PRS */ 145 #define PRS_USART0_TX ((48 << 8) + 5) /**< PRS */ 146 #define PRS_USART0_CS ((48 << 8) + 6) /**< PRS */ 147 #define PRS_USART1_TXC ((49 << 8) + 1) /**< PRS */ 148 #define PRS_USART1_RXDATAV ((49 << 8) + 2) /**< PRS */ 149 #define PRS_USART1_RTS ((49 << 8) + 3) /**< PRS */ 150 #define PRS_USART1_TX ((49 << 8) + 5) /**< PRS */ 151 #define PRS_USART1_CS ((49 << 8) + 6) /**< PRS */ 152 #define PRS_USART2_IRTX ((50 << 8) + 0) /**< PRS USART 2 IRDA out */ 153 #define PRS_USART2_TXC ((50 << 8) + 1) /**< PRS */ 154 #define PRS_USART2_RXDATAV ((50 << 8) + 2) /**< PRS */ 155 #define PRS_USART2_RTS ((50 << 8) + 3) /**< PRS */ 156 #define PRS_USART2_TX ((50 << 8) + 5) /**< PRS */ 157 #define PRS_USART2_CS ((50 << 8) + 6) /**< PRS */ 158 #define PRS_USART3_TXC ((51 << 8) + 1) /**< PRS */ 159 #define PRS_USART3_RXDATAV ((51 << 8) + 2) /**< PRS */ 160 #define PRS_USART3_RTS ((51 << 8) + 3) /**< PRS */ 161 #define PRS_USART3_TX ((51 << 8) + 5) /**< PRS */ 162 #define PRS_USART3_CS ((51 << 8) + 6) /**< PRS */ 163 #define PRS_USART4_TXC ((52 << 8) + 1) /**< PRS */ 164 #define PRS_USART4_RXDATAV ((52 << 8) + 2) /**< PRS */ 165 #define PRS_USART4_RTS ((52 << 8) + 3) /**< PRS */ 166 #define PRS_USART4_TX ((52 << 8) + 5) /**< PRS */ 167 #define PRS_USART4_CS ((52 << 8) + 6) /**< PRS */ 168 #define PRS_UART0_TXC ((54 << 8) + 1) /**< PRS */ 169 #define PRS_UART0_RXDATAV ((54 << 8) + 2) /**< PRS */ 170 #define PRS_UART0_RTS ((54 << 8) + 3) /**< PRS */ 171 #define PRS_UART0_TX ((54 << 8) + 5) /**< PRS */ 172 #define PRS_UART0_CS ((54 << 8) + 6) /**< PRS */ 173 #define PRS_UART1_TXC ((55 << 8) + 1) /**< PRS */ 174 #define PRS_UART1_RXDATAV ((55 << 8) + 2) /**< PRS */ 175 #define PRS_UART1_RTS ((55 << 8) + 3) /**< PRS */ 176 #define PRS_UART1_TX ((55 << 8) + 5) /**< PRS */ 177 #define PRS_UART1_CS ((55 << 8) + 6) /**< PRS */ 178 #define PRS_TIMER0_UF ((60 << 8) + 0) /**< PRS */ 179 #define PRS_TIMER0_OF ((60 << 8) + 1) /**< PRS */ 180 #define PRS_TIMER0_CC0 ((60 << 8) + 2) /**< PRS */ 181 #define PRS_TIMER0_CC1 ((60 << 8) + 3) /**< PRS */ 182 #define PRS_TIMER0_CC2 ((60 << 8) + 4) /**< PRS */ 183 #define PRS_TIMER1_UF ((61 << 8) + 0) /**< PRS */ 184 #define PRS_TIMER1_OF ((61 << 8) + 1) /**< PRS */ 185 #define PRS_TIMER1_CC0 ((61 << 8) + 2) /**< PRS */ 186 #define PRS_TIMER1_CC1 ((61 << 8) + 3) /**< PRS */ 187 #define PRS_TIMER1_CC2 ((61 << 8) + 4) /**< PRS */ 188 #define PRS_TIMER1_CC3 ((61 << 8) + 5) /**< PRS */ 189 #define PRS_TIMER2_UF ((62 << 8) + 0) /**< PRS */ 190 #define PRS_TIMER2_OF ((62 << 8) + 1) /**< PRS */ 191 #define PRS_TIMER2_CC0 ((62 << 8) + 2) /**< PRS */ 192 #define PRS_TIMER2_CC1 ((62 << 8) + 3) /**< PRS */ 193 #define PRS_TIMER2_CC2 ((62 << 8) + 4) /**< PRS */ 194 #define PRS_USB_SOF ((64 << 8) + 0) /**< PRS USB Start of Frame */ 195 #define PRS_USB_SOFSR ((64 << 8) + 1) /**< PRS USB Start of Frame Sent/Received */ 196 #define PRS_CM4_TXEV ((67 << 8) + 0) /**< PRS */ 197 #define PRS_CM4_ICACHEPCHITSOF ((67 << 8) + 1) /**< PRS */ 198 #define PRS_CM4_ICACHEPCMISSESOF ((67 << 8) + 2) /**< PRS */ 199 #define PRS_TIMER3_UF ((80 << 8) + 0) /**< PRS */ 200 #define PRS_TIMER3_OF ((80 << 8) + 1) /**< PRS */ 201 #define PRS_TIMER3_CC0 ((80 << 8) + 2) /**< PRS */ 202 #define PRS_TIMER3_CC1 ((80 << 8) + 3) /**< PRS */ 203 #define PRS_TIMER3_CC2 ((80 << 8) + 4) /**< PRS */ 204 #define PRS_WTIMER0_UF ((82 << 8) + 0) /**< PRS */ 205 #define PRS_WTIMER0_OF ((82 << 8) + 1) /**< PRS */ 206 #define PRS_WTIMER0_CC0 ((82 << 8) + 2) /**< PRS */ 207 #define PRS_WTIMER0_CC1 ((82 << 8) + 3) /**< PRS */ 208 #define PRS_WTIMER0_CC2 ((82 << 8) + 4) /**< PRS */ 209 #define PRS_WTIMER1_UF ((83 << 8) + 0) /**< PRS */ 210 #define PRS_WTIMER1_OF ((83 << 8) + 1) /**< PRS */ 211 #define PRS_WTIMER1_CC0 ((83 << 8) + 2) /**< PRS */ 212 #define PRS_WTIMER1_CC1 ((83 << 8) + 3) /**< PRS */ 213 #define PRS_WTIMER1_CC2 ((83 << 8) + 4) /**< PRS */ 214 #define PRS_WTIMER1_CC3 ((83 << 8) + 5) /**< PRS */ 215 #define PRS_PDM_DSRPULSE ((121 << 8) + 0) /**< PRS PDM DSR pulse */ 216 217 /** @} */ 218 /** @} End of group EFM32GG12B_PRS */ 219 /** @} End of group Parts */ 220