Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/efm32pg1b_prs_signals.h@79:9f34958201cc, 2016-03-14 (annotated)
- Committer:
- jcassette
- Date:
- Mon Mar 14 14:20:17 2016 +0000
- Revision:
- 79:9f34958201cc
- Parent:
- 50:a417edff4437
FRDM-K64F AnalogIn: add support for ADC channels with no mapped pins
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 50:a417edff4437 | 1 | /**************************************************************************//** |
mbed_official | 50:a417edff4437 | 2 | * @file efm32pg1b_prs_signals.h |
mbed_official | 50:a417edff4437 | 3 | * @brief EFM32PG1B_PRS_SIGNALS register and bit field definitions |
mbed_official | 50:a417edff4437 | 4 | * @version 4.2.0 |
mbed_official | 50:a417edff4437 | 5 | ****************************************************************************** |
mbed_official | 50:a417edff4437 | 6 | * @section License |
mbed_official | 50:a417edff4437 | 7 | * <b>Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b> |
mbed_official | 50:a417edff4437 | 8 | ****************************************************************************** |
mbed_official | 50:a417edff4437 | 9 | * |
mbed_official | 50:a417edff4437 | 10 | * Permission is granted to anyone to use this software for any purpose, |
mbed_official | 50:a417edff4437 | 11 | * including commercial applications, and to alter it and redistribute it |
mbed_official | 50:a417edff4437 | 12 | * freely, subject to the following restrictions: |
mbed_official | 50:a417edff4437 | 13 | * |
mbed_official | 50:a417edff4437 | 14 | * 1. The origin of this software must not be misrepresented; you must not |
mbed_official | 50:a417edff4437 | 15 | * claim that you wrote the original software.@n |
mbed_official | 50:a417edff4437 | 16 | * 2. Altered source versions must be plainly marked as such, and must not be |
mbed_official | 50:a417edff4437 | 17 | * misrepresented as being the original software.@n |
mbed_official | 50:a417edff4437 | 18 | * 3. This notice may not be removed or altered from any source distribution. |
mbed_official | 50:a417edff4437 | 19 | * |
mbed_official | 50:a417edff4437 | 20 | * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. |
mbed_official | 50:a417edff4437 | 21 | * has no obligation to support this Software. Silicon Laboratories, Inc. is |
mbed_official | 50:a417edff4437 | 22 | * providing the Software "AS IS", with no express or implied warranties of any |
mbed_official | 50:a417edff4437 | 23 | * kind, including, but not limited to, any implied warranties of |
mbed_official | 50:a417edff4437 | 24 | * merchantability or fitness for any particular purpose or warranties against |
mbed_official | 50:a417edff4437 | 25 | * infringement of any proprietary rights of a third party. |
mbed_official | 50:a417edff4437 | 26 | * |
mbed_official | 50:a417edff4437 | 27 | * Silicon Laboratories, Inc. will not be liable for any consequential, |
mbed_official | 50:a417edff4437 | 28 | * incidental, or special damages, or any other relief, or for any claim by |
mbed_official | 50:a417edff4437 | 29 | * any third party, arising from your use of this Software. |
mbed_official | 50:a417edff4437 | 30 | * |
mbed_official | 50:a417edff4437 | 31 | *****************************************************************************/ |
mbed_official | 50:a417edff4437 | 32 | /**************************************************************************//** |
mbed_official | 50:a417edff4437 | 33 | * @addtogroup Parts |
mbed_official | 50:a417edff4437 | 34 | * @{ |
mbed_official | 50:a417edff4437 | 35 | ******************************************************************************/ |
mbed_official | 50:a417edff4437 | 36 | /**************************************************************************//** |
mbed_official | 50:a417edff4437 | 37 | * @addtogroup EFM32PG1B_PRS_Signals |
mbed_official | 50:a417edff4437 | 38 | * @{ |
mbed_official | 50:a417edff4437 | 39 | * @brief PRS Signal names |
mbed_official | 50:a417edff4437 | 40 | *****************************************************************************/ |
mbed_official | 50:a417edff4437 | 41 | #define PRS_PRS_CH0 ((1 << 8) + 0) /**< PRS PRS channel 0 */ |
mbed_official | 50:a417edff4437 | 42 | #define PRS_PRS_CH1 ((1 << 8) + 1) /**< PRS PRS channel 1 */ |
mbed_official | 50:a417edff4437 | 43 | #define PRS_PRS_CH2 ((1 << 8) + 2) /**< PRS PRS channel 2 */ |
mbed_official | 50:a417edff4437 | 44 | #define PRS_PRS_CH3 ((1 << 8) + 3) /**< PRS PRS channel 3 */ |
mbed_official | 50:a417edff4437 | 45 | #define PRS_PRS_CH4 ((1 << 8) + 4) /**< PRS PRS channel 4 */ |
mbed_official | 50:a417edff4437 | 46 | #define PRS_PRS_CH5 ((1 << 8) + 5) /**< PRS PRS channel 5 */ |
mbed_official | 50:a417edff4437 | 47 | #define PRS_PRS_CH6 ((1 << 8) + 6) /**< PRS PRS channel 6 */ |
mbed_official | 50:a417edff4437 | 48 | #define PRS_PRS_CH7 ((1 << 8) + 7) /**< PRS PRS channel 7 */ |
mbed_official | 50:a417edff4437 | 49 | #define PRS_PRS_CH8 ((2 << 8) + 0) /**< PRS PRS channel 8 */ |
mbed_official | 50:a417edff4437 | 50 | #define PRS_PRS_CH9 ((2 << 8) + 1) /**< PRS PRS channel 9 */ |
mbed_official | 50:a417edff4437 | 51 | #define PRS_PRS_CH10 ((2 << 8) + 2) /**< PRS PRS channel 10 */ |
mbed_official | 50:a417edff4437 | 52 | #define PRS_PRS_CH11 ((2 << 8) + 3) /**< PRS PRS channel 11 */ |
mbed_official | 50:a417edff4437 | 53 | #define PRS_ACMP0_OUT ((6 << 8) + 0) /**< PRS Analog comparator output */ |
mbed_official | 50:a417edff4437 | 54 | #define PRS_ACMP1_OUT ((7 << 8) + 0) /**< PRS Analog comparator output */ |
mbed_official | 50:a417edff4437 | 55 | #define PRS_ADC0_SINGLE ((8 << 8) + 0) /**< PRS ADC single conversion done */ |
mbed_official | 50:a417edff4437 | 56 | #define PRS_ADC0_SCAN ((8 << 8) + 1) /**< PRS ADC scan conversion done */ |
mbed_official | 50:a417edff4437 | 57 | #define PRS_USART0_IRTX ((16 << 8) + 0) /**< PRS USART 0 IRDA out */ |
mbed_official | 50:a417edff4437 | 58 | #define PRS_USART0_TXC ((16 << 8) + 1) /**< PRS USART 0 TX complete */ |
mbed_official | 50:a417edff4437 | 59 | #define PRS_USART0_RXDATAV ((16 << 8) + 2) /**< PRS USART 0 RX Data Valid */ |
mbed_official | 50:a417edff4437 | 60 | #define PRS_USART0_RTS ((16 << 8) + 3) /**< PRS USART 0 RTS */ |
mbed_official | 50:a417edff4437 | 61 | #define PRS_USART0_TX ((16 << 8) + 5) /**< PRS USART 0 TX */ |
mbed_official | 50:a417edff4437 | 62 | #define PRS_USART0_CS ((16 << 8) + 6) /**< PRS USART 0 CS */ |
mbed_official | 50:a417edff4437 | 63 | #define PRS_USART1_TXC ((17 << 8) + 1) /**< PRS USART 1 TX complete */ |
mbed_official | 50:a417edff4437 | 64 | #define PRS_USART1_RXDATAV ((17 << 8) + 2) /**< PRS USART 1 RX Data Valid */ |
mbed_official | 50:a417edff4437 | 65 | #define PRS_USART1_RTS ((17 << 8) + 3) /**< PRS USART 0 RTS */ |
mbed_official | 50:a417edff4437 | 66 | #define PRS_USART1_TX ((17 << 8) + 5) /**< PRS USART 1 TX */ |
mbed_official | 50:a417edff4437 | 67 | #define PRS_USART1_CS ((17 << 8) + 6) /**< PRS USART 1 CS */ |
mbed_official | 50:a417edff4437 | 68 | #define PRS_TIMER0_UF ((28 << 8) + 0) /**< PRS Timer 0 Underflow */ |
mbed_official | 50:a417edff4437 | 69 | #define PRS_TIMER0_OF ((28 << 8) + 1) /**< PRS Timer 0 Overflow */ |
mbed_official | 50:a417edff4437 | 70 | #define PRS_TIMER0_CC0 ((28 << 8) + 2) /**< PRS Timer 0 Compare/Capture 0 */ |
mbed_official | 50:a417edff4437 | 71 | #define PRS_TIMER0_CC1 ((28 << 8) + 3) /**< PRS Timer 0 Compare/Capture 1 */ |
mbed_official | 50:a417edff4437 | 72 | #define PRS_TIMER0_CC2 ((28 << 8) + 4) /**< PRS Timer 0 Compare/Capture 2 */ |
mbed_official | 50:a417edff4437 | 73 | #define PRS_TIMER1_UF ((29 << 8) + 0) /**< PRS Timer 1 Underflow */ |
mbed_official | 50:a417edff4437 | 74 | #define PRS_TIMER1_OF ((29 << 8) + 1) /**< PRS Timer 1 Overflow */ |
mbed_official | 50:a417edff4437 | 75 | #define PRS_TIMER1_CC0 ((29 << 8) + 2) /**< PRS Timer 1 Compare/Capture 0 */ |
mbed_official | 50:a417edff4437 | 76 | #define PRS_TIMER1_CC1 ((29 << 8) + 3) /**< PRS Timer 1 Compare/Capture 1 */ |
mbed_official | 50:a417edff4437 | 77 | #define PRS_TIMER1_CC2 ((29 << 8) + 4) /**< PRS Timer 1 Compare/Capture 2 */ |
mbed_official | 50:a417edff4437 | 78 | #define PRS_TIMER1_CC3 ((29 << 8) + 5) /**< PRS Timer 1 Compare/Capture 3 */ |
mbed_official | 50:a417edff4437 | 79 | #define PRS_RTCC_CCV0 ((41 << 8) + 1) /**< PRS RTCC Compare 0 */ |
mbed_official | 50:a417edff4437 | 80 | #define PRS_RTCC_CCV1 ((41 << 8) + 2) /**< PRS RTCC Compare 1 */ |
mbed_official | 50:a417edff4437 | 81 | #define PRS_RTCC_CCV2 ((41 << 8) + 3) /**< PRS RTCC Compare 2 */ |
mbed_official | 50:a417edff4437 | 82 | #define PRS_GPIO_PIN0 ((48 << 8) + 0) /**< PRS GPIO pin 0 */ |
mbed_official | 50:a417edff4437 | 83 | #define PRS_GPIO_PIN1 ((48 << 8) + 1) /**< PRS GPIO pin 1 */ |
mbed_official | 50:a417edff4437 | 84 | #define PRS_GPIO_PIN2 ((48 << 8) + 2) /**< PRS GPIO pin 2 */ |
mbed_official | 50:a417edff4437 | 85 | #define PRS_GPIO_PIN3 ((48 << 8) + 3) /**< PRS GPIO pin 3 */ |
mbed_official | 50:a417edff4437 | 86 | #define PRS_GPIO_PIN4 ((48 << 8) + 4) /**< PRS GPIO pin 4 */ |
mbed_official | 50:a417edff4437 | 87 | #define PRS_GPIO_PIN5 ((48 << 8) + 5) /**< PRS GPIO pin 5 */ |
mbed_official | 50:a417edff4437 | 88 | #define PRS_GPIO_PIN6 ((48 << 8) + 6) /**< PRS GPIO pin 6 */ |
mbed_official | 50:a417edff4437 | 89 | #define PRS_GPIO_PIN7 ((48 << 8) + 7) /**< PRS GPIO pin 7 */ |
mbed_official | 50:a417edff4437 | 90 | #define PRS_GPIO_PIN8 ((49 << 8) + 0) /**< PRS GPIO pin 8 */ |
mbed_official | 50:a417edff4437 | 91 | #define PRS_GPIO_PIN9 ((49 << 8) + 1) /**< PRS GPIO pin 9 */ |
mbed_official | 50:a417edff4437 | 92 | #define PRS_GPIO_PIN10 ((49 << 8) + 2) /**< PRS GPIO pin 10 */ |
mbed_official | 50:a417edff4437 | 93 | #define PRS_GPIO_PIN11 ((49 << 8) + 3) /**< PRS GPIO pin 11 */ |
mbed_official | 50:a417edff4437 | 94 | #define PRS_GPIO_PIN12 ((49 << 8) + 4) /**< PRS GPIO pin 12 */ |
mbed_official | 50:a417edff4437 | 95 | #define PRS_GPIO_PIN13 ((49 << 8) + 5) /**< PRS GPIO pin 13 */ |
mbed_official | 50:a417edff4437 | 96 | #define PRS_GPIO_PIN14 ((49 << 8) + 6) /**< PRS GPIO pin 14 */ |
mbed_official | 50:a417edff4437 | 97 | #define PRS_GPIO_PIN15 ((49 << 8) + 7) /**< PRS GPIO pin 15 */ |
mbed_official | 50:a417edff4437 | 98 | #define PRS_LETIMER0_CH0 ((52 << 8) + 0) /**< PRS LETIMER CH0 Out */ |
mbed_official | 50:a417edff4437 | 99 | #define PRS_LETIMER0_CH1 ((52 << 8) + 1) /**< PRS LETIMER CH1 Out */ |
mbed_official | 50:a417edff4437 | 100 | #define PRS_PCNT0_TCC ((54 << 8) + 0) /**< PRS Triggered compare match */ |
mbed_official | 50:a417edff4437 | 101 | #define PRS_PCNT0_UFOF ((54 << 8) + 1) /**< PRS Counter overflow or underflow */ |
mbed_official | 50:a417edff4437 | 102 | #define PRS_PCNT0_DIR ((54 << 8) + 2) /**< PRS Counter direction */ |
mbed_official | 50:a417edff4437 | 103 | #define PRS_CRYOTIMER_PERIOD ((60 << 8) + 0) /**< PRS CRYOTIMER Output */ |
mbed_official | 50:a417edff4437 | 104 | #define PRS_CMU_CLKOUT0 ((61 << 8) + 0) /**< PRS Clock Output 0 */ |
mbed_official | 50:a417edff4437 | 105 | #define PRS_CMU_CLKOUT1 ((61 << 8) + 1) /**< PRS Clock Output 1 */ |
mbed_official | 50:a417edff4437 | 106 | |
mbed_official | 50:a417edff4437 | 107 | /** @} End of group EFM32PG1B_PRS */ |
mbed_official | 50:a417edff4437 | 108 | /** @} End of group Parts */ |
mbed_official | 50:a417edff4437 | 109 |