The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Committer:
Mikchel
Date:
Sun May 03 16:04:42 2015 +0000
Revision:
99:7f6c6de930c0
Parent:
98:8ab26030e058
12

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 98:8ab26030e058 1 /**************************************************************************//**
Kojto 98:8ab26030e058 2 * @file efm32lg_prs_signals.h
Kojto 98:8ab26030e058 3 * @brief EFM32LG_PRS_SIGNALS register and bit field definitions
Kojto 98:8ab26030e058 4 * @version 3.20.6
Kojto 98:8ab26030e058 5 ******************************************************************************
Kojto 98:8ab26030e058 6 * @section License
Kojto 98:8ab26030e058 7 * <b>(C) Copyright 2014 Silicon Laboratories, Inc. http://www.silabs.com</b>
Kojto 98:8ab26030e058 8 ******************************************************************************
Kojto 98:8ab26030e058 9 *
Kojto 98:8ab26030e058 10 * Permission is granted to anyone to use this software for any purpose,
Kojto 98:8ab26030e058 11 * including commercial applications, and to alter it and redistribute it
Kojto 98:8ab26030e058 12 * freely, subject to the following restrictions:
Kojto 98:8ab26030e058 13 *
Kojto 98:8ab26030e058 14 * 1. The origin of this software must not be misrepresented; you must not
Kojto 98:8ab26030e058 15 * claim that you wrote the original software.@n
Kojto 98:8ab26030e058 16 * 2. Altered source versions must be plainly marked as such, and must not be
Kojto 98:8ab26030e058 17 * misrepresented as being the original software.@n
Kojto 98:8ab26030e058 18 * 3. This notice may not be removed or altered from any source distribution.
Kojto 98:8ab26030e058 19 *
Kojto 98:8ab26030e058 20 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
Kojto 98:8ab26030e058 21 * has no obligation to support this Software. Silicon Laboratories, Inc. is
Kojto 98:8ab26030e058 22 * providing the Software "AS IS", with no express or implied warranties of any
Kojto 98:8ab26030e058 23 * kind, including, but not limited to, any implied warranties of
Kojto 98:8ab26030e058 24 * merchantability or fitness for any particular purpose or warranties against
Kojto 98:8ab26030e058 25 * infringement of any proprietary rights of a third party.
Kojto 98:8ab26030e058 26 *
Kojto 98:8ab26030e058 27 * Silicon Laboratories, Inc. will not be liable for any consequential,
Kojto 98:8ab26030e058 28 * incidental, or special damages, or any other relief, or for any claim by
Kojto 98:8ab26030e058 29 * any third party, arising from your use of this Software.
Kojto 98:8ab26030e058 30 *
Kojto 98:8ab26030e058 31 *****************************************************************************/
Kojto 98:8ab26030e058 32 /**************************************************************************//**
Kojto 98:8ab26030e058 33 * @addtogroup EFM32LG_PRS_Signals
Kojto 98:8ab26030e058 34 * @{
Kojto 98:8ab26030e058 35 * @brief PRS Signal names
Kojto 98:8ab26030e058 36 *****************************************************************************/
Kojto 98:8ab26030e058 37
Kojto 98:8ab26030e058 38 #define PRS_VCMP_OUT ((1 << 16) + 0) /**< PRS Voltage comparator output */
Kojto 98:8ab26030e058 39 #define PRS_ACMP0_OUT ((2 << 16) + 0) /**< PRS Analog comparator output */
Kojto 98:8ab26030e058 40 #define PRS_ACMP1_OUT ((3 << 16) + 0) /**< PRS Analog comparator output */
Kojto 98:8ab26030e058 41 #define PRS_DAC0_CH0 ((6 << 16) + 0) /**< PRS DAC ch0 conversion done */
Kojto 98:8ab26030e058 42 #define PRS_DAC0_CH1 ((6 << 16) + 1) /**< PRS DAC ch1 conversion done */
Kojto 98:8ab26030e058 43 #define PRS_ADC0_SINGLE ((8 << 16) + 0) /**< PRS ADC single conversion done */
Kojto 98:8ab26030e058 44 #define PRS_ADC0_SCAN ((8 << 16) + 1) /**< PRS ADC scan conversion done */
Kojto 98:8ab26030e058 45 #define PRS_USART0_IRTX ((16 << 16) + 0) /**< PRS USART 0 IRDA out */
Kojto 98:8ab26030e058 46 #define PRS_USART0_TXC ((16 << 16) + 1) /**< PRS USART 0 TX complete */
Kojto 98:8ab26030e058 47 #define PRS_USART0_RXDATAV ((16 << 16) + 2) /**< PRS USART 0 RX Data Valid */
Kojto 98:8ab26030e058 48 #define PRS_USART1_TXC ((17 << 16) + 1) /**< PRS USART 1 TX complete */
Kojto 98:8ab26030e058 49 #define PRS_USART1_RXDATAV ((17 << 16) + 2) /**< PRS USART 1 RX Data Valid */
Kojto 98:8ab26030e058 50 #define PRS_USART2_TXC ((18 << 16) + 1) /**< PRS USART 2 TX complete */
Kojto 98:8ab26030e058 51 #define PRS_USART2_RXDATAV ((18 << 16) + 2) /**< PRS USART 2 RX Data Valid */
Kojto 98:8ab26030e058 52 #define PRS_TIMER0_UF ((28 << 16) + 0) /**< PRS Timer 0 Underflow */
Kojto 98:8ab26030e058 53 #define PRS_TIMER0_OF ((28 << 16) + 1) /**< PRS Timer 0 Overflow */
Kojto 98:8ab26030e058 54 #define PRS_TIMER0_CC0 ((28 << 16) + 2) /**< PRS Timer 0 Compare/Capture 0 */
Kojto 98:8ab26030e058 55 #define PRS_TIMER0_CC1 ((28 << 16) + 3) /**< PRS Timer 0 Compare/Capture 1 */
Kojto 98:8ab26030e058 56 #define PRS_TIMER0_CC2 ((28 << 16) + 4) /**< PRS Timer 0 Compare/Capture 2 */
Kojto 98:8ab26030e058 57 #define PRS_TIMER1_UF ((29 << 16) + 0) /**< PRS Timer 1 Underflow */
Kojto 98:8ab26030e058 58 #define PRS_TIMER1_OF ((29 << 16) + 1) /**< PRS Timer 1 Overflow */
Kojto 98:8ab26030e058 59 #define PRS_TIMER1_CC0 ((29 << 16) + 2) /**< PRS Timer 1 Compare/Capture 0 */
Kojto 98:8ab26030e058 60 #define PRS_TIMER1_CC1 ((29 << 16) + 3) /**< PRS Timer 1 Compare/Capture 1 */
Kojto 98:8ab26030e058 61 #define PRS_TIMER1_CC2 ((29 << 16) + 4) /**< PRS Timer 1 Compare/Capture 2 */
Kojto 98:8ab26030e058 62 #define PRS_TIMER2_UF ((30 << 16) + 0) /**< PRS Timer 2 Underflow */
Kojto 98:8ab26030e058 63 #define PRS_TIMER2_OF ((30 << 16) + 1) /**< PRS Timer 2 Overflow */
Kojto 98:8ab26030e058 64 #define PRS_TIMER2_CC0 ((30 << 16) + 2) /**< PRS Timer 2 Compare/Capture 0 */
Kojto 98:8ab26030e058 65 #define PRS_TIMER2_CC1 ((30 << 16) + 3) /**< PRS Timer 2 Compare/Capture 1 */
Kojto 98:8ab26030e058 66 #define PRS_TIMER2_CC2 ((30 << 16) + 4) /**< PRS Timer 2 Compare/Capture 2 */
Kojto 98:8ab26030e058 67 #define PRS_TIMER3_UF ((31 << 16) + 0) /**< PRS Timer 3 Underflow */
Kojto 98:8ab26030e058 68 #define PRS_TIMER3_OF ((31 << 16) + 1) /**< PRS Timer 3 Overflow */
Kojto 98:8ab26030e058 69 #define PRS_TIMER3_CC0 ((31 << 16) + 2) /**< PRS Timer 3 Compare/Capture 0 */
Kojto 98:8ab26030e058 70 #define PRS_TIMER3_CC1 ((31 << 16) + 3) /**< PRS Timer 3 Compare/Capture 1 */
Kojto 98:8ab26030e058 71 #define PRS_TIMER3_CC2 ((31 << 16) + 4) /**< PRS Timer 3 Compare/Capture 2 */
Kojto 98:8ab26030e058 72 #define PRS_USB_SOF ((36 << 16) + 0) /**< PRS USB Start of Frame */
Kojto 98:8ab26030e058 73 #define PRS_USB_SOFSR ((36 << 16) + 1) /**< PRS USB Start of Frame Sent/Received */
Kojto 98:8ab26030e058 74 #define PRS_RTC_OF ((40 << 16) + 0) /**< PRS RTC Overflow */
Kojto 98:8ab26030e058 75 #define PRS_RTC_COMP0 ((40 << 16) + 1) /**< PRS RTC Compare 0 */
Kojto 98:8ab26030e058 76 #define PRS_RTC_COMP1 ((40 << 16) + 2) /**< PRS RTC Compare 1 */
Kojto 98:8ab26030e058 77 #define PRS_UART0_TXC ((41 << 16) + 1) /**< PRS USART 0 TX complete */
Kojto 98:8ab26030e058 78 #define PRS_UART0_RXDATAV ((41 << 16) + 2) /**< PRS USART 0 RX Data Valid */
Kojto 98:8ab26030e058 79 #define PRS_UART1_TXC ((42 << 16) + 1) /**< PRS USART 0 TX complete */
Kojto 98:8ab26030e058 80 #define PRS_UART1_RXDATAV ((42 << 16) + 2) /**< PRS USART 0 RX Data Valid */
Kojto 98:8ab26030e058 81 #define PRS_GPIO_PIN0 ((48 << 16) + 0) /**< PRS GPIO pin 0 */
Kojto 98:8ab26030e058 82 #define PRS_GPIO_PIN1 ((48 << 16) + 1) /**< PRS GPIO pin 1 */
Kojto 98:8ab26030e058 83 #define PRS_GPIO_PIN2 ((48 << 16) + 2) /**< PRS GPIO pin 2 */
Kojto 98:8ab26030e058 84 #define PRS_GPIO_PIN3 ((48 << 16) + 3) /**< PRS GPIO pin 3 */
Kojto 98:8ab26030e058 85 #define PRS_GPIO_PIN4 ((48 << 16) + 4) /**< PRS GPIO pin 4 */
Kojto 98:8ab26030e058 86 #define PRS_GPIO_PIN5 ((48 << 16) + 5) /**< PRS GPIO pin 5 */
Kojto 98:8ab26030e058 87 #define PRS_GPIO_PIN6 ((48 << 16) + 6) /**< PRS GPIO pin 6 */
Kojto 98:8ab26030e058 88 #define PRS_GPIO_PIN7 ((48 << 16) + 7) /**< PRS GPIO pin 7 */
Kojto 98:8ab26030e058 89 #define PRS_GPIO_PIN8 ((49 << 16) + 0) /**< PRS GPIO pin 8 */
Kojto 98:8ab26030e058 90 #define PRS_GPIO_PIN9 ((49 << 16) + 1) /**< PRS GPIO pin 9 */
Kojto 98:8ab26030e058 91 #define PRS_GPIO_PIN10 ((49 << 16) + 2) /**< PRS GPIO pin 10 */
Kojto 98:8ab26030e058 92 #define PRS_GPIO_PIN11 ((49 << 16) + 3) /**< PRS GPIO pin 11 */
Kojto 98:8ab26030e058 93 #define PRS_GPIO_PIN12 ((49 << 16) + 4) /**< PRS GPIO pin 12 */
Kojto 98:8ab26030e058 94 #define PRS_GPIO_PIN13 ((49 << 16) + 5) /**< PRS GPIO pin 13 */
Kojto 98:8ab26030e058 95 #define PRS_GPIO_PIN14 ((49 << 16) + 6) /**< PRS GPIO pin 14 */
Kojto 98:8ab26030e058 96 #define PRS_GPIO_PIN15 ((49 << 16) + 7) /**< PRS GPIO pin 15 */
Kojto 98:8ab26030e058 97 #define PRS_LETIMER0_CH0 ((52 << 16) + 0) /**< PRS LETIMER CH0 Out */
Kojto 98:8ab26030e058 98 #define PRS_LETIMER0_CH1 ((52 << 16) + 1) /**< PRS LETIMER CH1 Out */
Kojto 98:8ab26030e058 99 #define PRS_BURTC_OF ((55 << 16) + 0) /**< PRS BURTC Overflow */
Kojto 98:8ab26030e058 100 #define PRS_BURTC_COMP0 ((55 << 16) + 1) /**< PRS BURTC Compare 0 */
Kojto 98:8ab26030e058 101 #define PRS_LESENSE_SCANRES0 ((57 << 16) + 0) /**< PRS LESENSE SCANRES register, bit 0 */
Kojto 98:8ab26030e058 102 #define PRS_LESENSE_SCANRES1 ((57 << 16) + 1) /**< PRS LESENSE SCANRES register, bit 1 */
Kojto 98:8ab26030e058 103 #define PRS_LESENSE_SCANRES2 ((57 << 16) + 2) /**< PRS LESENSE SCANRES register, bit 2 */
Kojto 98:8ab26030e058 104 #define PRS_LESENSE_SCANRES3 ((57 << 16) + 3) /**< PRS LESENSE SCANRES register, bit 3 */
Kojto 98:8ab26030e058 105 #define PRS_LESENSE_SCANRES4 ((57 << 16) + 4) /**< PRS LESENSE SCANRES register, bit 4 */
Kojto 98:8ab26030e058 106 #define PRS_LESENSE_SCANRES5 ((57 << 16) + 5) /**< PRS LESENSE SCANRES register, bit 5 */
Kojto 98:8ab26030e058 107 #define PRS_LESENSE_SCANRES6 ((57 << 16) + 6) /**< PRS LESENSE SCANRES register, bit 6 */
Kojto 98:8ab26030e058 108 #define PRS_LESENSE_SCANRES7 ((57 << 16) + 7) /**< PRS LESENSE SCANRES register, bit 7 */
Kojto 98:8ab26030e058 109 #define PRS_LESENSE_SCANRES8 ((58 << 16) + 0) /**< PRS LESENSE SCANRES register, bit 8 */
Kojto 98:8ab26030e058 110 #define PRS_LESENSE_SCANRES9 ((58 << 16) + 1) /**< PRS LESENSE SCANRES register, bit 9 */
Kojto 98:8ab26030e058 111 #define PRS_LESENSE_SCANRES10 ((58 << 16) + 2) /**< PRS LESENSE SCANRES register, bit 10 */
Kojto 98:8ab26030e058 112 #define PRS_LESENSE_SCANRES11 ((58 << 16) + 3) /**< PRS LESENSE SCANRES register, bit 11 */
Kojto 98:8ab26030e058 113 #define PRS_LESENSE_SCANRES12 ((58 << 16) + 4) /**< PRS LESENSE SCANRES register, bit 12 */
Kojto 98:8ab26030e058 114 #define PRS_LESENSE_SCANRES13 ((58 << 16) + 5) /**< PRS LESENSE SCANRES register, bit 13 */
Kojto 98:8ab26030e058 115 #define PRS_LESENSE_SCANRES14 ((58 << 16) + 6) /**< PRS LESENSE SCANRES register, bit 14 */
Kojto 98:8ab26030e058 116 #define PRS_LESENSE_SCANRES15 ((58 << 16) + 7) /**< PRS LESENSE SCANRES register, bit 15 */
Kojto 98:8ab26030e058 117 #define PRS_LESENSE_DEC0 ((59 << 16) + 0) /**< PRS LESENSE Decoder PRS out 0 */
Kojto 98:8ab26030e058 118 #define PRS_LESENSE_DEC1 ((59 << 16) + 1) /**< PRS LESENSE Decoder PRS out 1 */
Kojto 98:8ab26030e058 119 #define PRS_LESENSE_DEC2 ((59 << 16) + 2) /**< PRS LESENSE Decoder PRS out 2 */
Kojto 98:8ab26030e058 120
Kojto 98:8ab26030e058 121 /** @} End of group EFM32LG_PRS */
Kojto 98:8ab26030e058 122
Kojto 98:8ab26030e058 123