1 /**************************************************************************//**
\r
2 * @file efm32pg1b_prs_signals.h
\r
3 * @brief EFM32PG1B_PRS_SIGNALS register and bit field definitions
\r
5 ******************************************************************************
\r
7 * <b>Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b>
\r
8 ******************************************************************************
\r
10 * Permission is granted to anyone to use this software for any purpose,
\r
11 * including commercial applications, and to alter it and redistribute it
\r
12 * freely, subject to the following restrictions:
\r
14 * 1. The origin of this software must not be misrepresented; you must not
\r
15 * claim that you wrote the original software.@n
\r
16 * 2. Altered source versions must be plainly marked as such, and must not be
\r
17 * misrepresented as being the original software.@n
\r
18 * 3. This notice may not be removed or altered from any source distribution.
\r
20 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
\r
21 * has no obligation to support this Software. Silicon Laboratories, Inc. is
\r
22 * providing the Software "AS IS", with no express or implied warranties of any
\r
23 * kind, including, but not limited to, any implied warranties of
\r
24 * merchantability or fitness for any particular purpose or warranties against
\r
25 * infringement of any proprietary rights of a third party.
\r
27 * Silicon Laboratories, Inc. will not be liable for any consequential,
\r
28 * incidental, or special damages, or any other relief, or for any claim by
\r
29 * any third party, arising from your use of this Software.
\r
31 *****************************************************************************/
\r
32 /**************************************************************************//**
\r
35 ******************************************************************************/
\r
36 /**************************************************************************//**
\r
37 * @addtogroup EFM32PG1B_PRS_Signals
\r
39 * @brief PRS Signal names
\r
40 *****************************************************************************/
\r
41 #define PRS_PRS_CH0 ((1 << 8) + 0) /**< PRS PRS channel 0 */
\r
42 #define PRS_PRS_CH1 ((1 << 8) + 1) /**< PRS PRS channel 1 */
\r
43 #define PRS_PRS_CH2 ((1 << 8) + 2) /**< PRS PRS channel 2 */
\r
44 #define PRS_PRS_CH3 ((1 << 8) + 3) /**< PRS PRS channel 3 */
\r
45 #define PRS_PRS_CH4 ((1 << 8) + 4) /**< PRS PRS channel 4 */
\r
46 #define PRS_PRS_CH5 ((1 << 8) + 5) /**< PRS PRS channel 5 */
\r
47 #define PRS_PRS_CH6 ((1 << 8) + 6) /**< PRS PRS channel 6 */
\r
48 #define PRS_PRS_CH7 ((1 << 8) + 7) /**< PRS PRS channel 7 */
\r
49 #define PRS_PRS_CH8 ((2 << 8) + 0) /**< PRS PRS channel 8 */
\r
50 #define PRS_PRS_CH9 ((2 << 8) + 1) /**< PRS PRS channel 9 */
\r
51 #define PRS_PRS_CH10 ((2 << 8) + 2) /**< PRS PRS channel 10 */
\r
52 #define PRS_PRS_CH11 ((2 << 8) + 3) /**< PRS PRS channel 11 */
\r
53 #define PRS_ACMP0_OUT ((6 << 8) + 0) /**< PRS Analog comparator output */
\r
54 #define PRS_ACMP1_OUT ((7 << 8) + 0) /**< PRS Analog comparator output */
\r
55 #define PRS_ADC0_SINGLE ((8 << 8) + 0) /**< PRS ADC single conversion done */
\r
56 #define PRS_ADC0_SCAN ((8 << 8) + 1) /**< PRS ADC scan conversion done */
\r
57 #define PRS_USART0_IRTX ((16 << 8) + 0) /**< PRS USART 0 IRDA out */
\r
58 #define PRS_USART0_TXC ((16 << 8) + 1) /**< PRS USART 0 TX complete */
\r
59 #define PRS_USART0_RXDATAV ((16 << 8) + 2) /**< PRS USART 0 RX Data Valid */
\r
60 #define PRS_USART0_RTS ((16 << 8) + 3) /**< PRS USART 0 RTS */
\r
61 #define PRS_USART0_TX ((16 << 8) + 5) /**< PRS USART 0 TX */
\r
62 #define PRS_USART0_CS ((16 << 8) + 6) /**< PRS USART 0 CS */
\r
63 #define PRS_USART1_TXC ((17 << 8) + 1) /**< PRS USART 1 TX complete */
\r
64 #define PRS_USART1_RXDATAV ((17 << 8) + 2) /**< PRS USART 1 RX Data Valid */
\r
65 #define PRS_USART1_RTS ((17 << 8) + 3) /**< PRS USART 0 RTS */
\r
66 #define PRS_USART1_TX ((17 << 8) + 5) /**< PRS USART 1 TX */
\r
67 #define PRS_USART1_CS ((17 << 8) + 6) /**< PRS USART 1 CS */
\r
68 #define PRS_TIMER0_UF ((28 << 8) + 0) /**< PRS Timer 0 Underflow */
\r
69 #define PRS_TIMER0_OF ((28 << 8) + 1) /**< PRS Timer 0 Overflow */
\r
70 #define PRS_TIMER0_CC0 ((28 << 8) + 2) /**< PRS Timer 0 Compare/Capture 0 */
\r
71 #define PRS_TIMER0_CC1 ((28 << 8) + 3) /**< PRS Timer 0 Compare/Capture 1 */
\r
72 #define PRS_TIMER0_CC2 ((28 << 8) + 4) /**< PRS Timer 0 Compare/Capture 2 */
\r
73 #define PRS_TIMER1_UF ((29 << 8) + 0) /**< PRS Timer 1 Underflow */
\r
74 #define PRS_TIMER1_OF ((29 << 8) + 1) /**< PRS Timer 1 Overflow */
\r
75 #define PRS_TIMER1_CC0 ((29 << 8) + 2) /**< PRS Timer 1 Compare/Capture 0 */
\r
76 #define PRS_TIMER1_CC1 ((29 << 8) + 3) /**< PRS Timer 1 Compare/Capture 1 */
\r
77 #define PRS_TIMER1_CC2 ((29 << 8) + 4) /**< PRS Timer 1 Compare/Capture 2 */
\r
78 #define PRS_TIMER1_CC3 ((29 << 8) + 5) /**< PRS Timer 1 Compare/Capture 3 */
\r
79 #define PRS_RTCC_CCV0 ((41 << 8) + 1) /**< PRS RTCC Compare 0 */
\r
80 #define PRS_RTCC_CCV1 ((41 << 8) + 2) /**< PRS RTCC Compare 1 */
\r
81 #define PRS_RTCC_CCV2 ((41 << 8) + 3) /**< PRS RTCC Compare 2 */
\r
82 #define PRS_GPIO_PIN0 ((48 << 8) + 0) /**< PRS GPIO pin 0 */
\r
83 #define PRS_GPIO_PIN1 ((48 << 8) + 1) /**< PRS GPIO pin 1 */
\r
84 #define PRS_GPIO_PIN2 ((48 << 8) + 2) /**< PRS GPIO pin 2 */
\r
85 #define PRS_GPIO_PIN3 ((48 << 8) + 3) /**< PRS GPIO pin 3 */
\r
86 #define PRS_GPIO_PIN4 ((48 << 8) + 4) /**< PRS GPIO pin 4 */
\r
87 #define PRS_GPIO_PIN5 ((48 << 8) + 5) /**< PRS GPIO pin 5 */
\r
88 #define PRS_GPIO_PIN6 ((48 << 8) + 6) /**< PRS GPIO pin 6 */
\r
89 #define PRS_GPIO_PIN7 ((48 << 8) + 7) /**< PRS GPIO pin 7 */
\r
90 #define PRS_GPIO_PIN8 ((49 << 8) + 0) /**< PRS GPIO pin 8 */
\r
91 #define PRS_GPIO_PIN9 ((49 << 8) + 1) /**< PRS GPIO pin 9 */
\r
92 #define PRS_GPIO_PIN10 ((49 << 8) + 2) /**< PRS GPIO pin 10 */
\r
93 #define PRS_GPIO_PIN11 ((49 << 8) + 3) /**< PRS GPIO pin 11 */
\r
94 #define PRS_GPIO_PIN12 ((49 << 8) + 4) /**< PRS GPIO pin 12 */
\r
95 #define PRS_GPIO_PIN13 ((49 << 8) + 5) /**< PRS GPIO pin 13 */
\r
96 #define PRS_GPIO_PIN14 ((49 << 8) + 6) /**< PRS GPIO pin 14 */
\r
97 #define PRS_GPIO_PIN15 ((49 << 8) + 7) /**< PRS GPIO pin 15 */
\r
98 #define PRS_LETIMER0_CH0 ((52 << 8) + 0) /**< PRS LETIMER CH0 Out */
\r
99 #define PRS_LETIMER0_CH1 ((52 << 8) + 1) /**< PRS LETIMER CH1 Out */
\r
100 #define PRS_PCNT0_TCC ((54 << 8) + 0) /**< PRS Triggered compare match */
\r
101 #define PRS_PCNT0_UFOF ((54 << 8) + 1) /**< PRS Counter overflow or underflow */
\r
102 #define PRS_PCNT0_DIR ((54 << 8) + 2) /**< PRS Counter direction */
\r
103 #define PRS_CRYOTIMER_PERIOD ((60 << 8) + 0) /**< PRS CRYOTIMER Output */
\r
104 #define PRS_CMU_CLKOUT0 ((61 << 8) + 0) /**< PRS Clock Output 0 */
\r
105 #define PRS_CMU_CLKOUT1 ((61 << 8) + 1) /**< PRS Clock Output 1 */
\r
107 /** @} End of group EFM32PG1B_PRS */
\r
108 /** @} End of group Parts */
\r