mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
110 lines
7.0 KiB
C
110 lines
7.0 KiB
C
/**************************************************************************//**
|
|
* @file efm32pg1b_prs_signals.h
|
|
* @brief EFM32PG1B_PRS_SIGNALS register and bit field definitions
|
|
* @version 4.3.0
|
|
******************************************************************************
|
|
* @section License
|
|
* <b>Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com</b>
|
|
******************************************************************************
|
|
*
|
|
* Permission is granted to anyone to use this software for any purpose,
|
|
* including commercial applications, and to alter it and redistribute it
|
|
* freely, subject to the following restrictions:
|
|
*
|
|
* 1. The origin of this software must not be misrepresented; you must not
|
|
* claim that you wrote the original software.@n
|
|
* 2. Altered source versions must be plainly marked as such, and must not be
|
|
* misrepresented as being the original software.@n
|
|
* 3. This notice may not be removed or altered from any source distribution.
|
|
*
|
|
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
|
|
* has no obligation to support this Software. Silicon Laboratories, Inc. is
|
|
* providing the Software "AS IS", with no express or implied warranties of any
|
|
* kind, including, but not limited to, any implied warranties of
|
|
* merchantability or fitness for any particular purpose or warranties against
|
|
* infringement of any proprietary rights of a third party.
|
|
*
|
|
* Silicon Laboratories, Inc. will not be liable for any consequential,
|
|
* incidental, or special damages, or any other relief, or for any claim by
|
|
* any third party, arising from your use of this Software.
|
|
*
|
|
*****************************************************************************/
|
|
/**************************************************************************//**
|
|
* @addtogroup Parts
|
|
* @{
|
|
******************************************************************************/
|
|
/**************************************************************************//**
|
|
* @addtogroup EFM32PG1B_PRS_Signals
|
|
* @{
|
|
* @brief PRS Signal names
|
|
*****************************************************************************/
|
|
#define PRS_PRS_CH0 ((1 << 8) + 0) /**< PRS PRS channel 0 */
|
|
#define PRS_PRS_CH1 ((1 << 8) + 1) /**< PRS PRS channel 1 */
|
|
#define PRS_PRS_CH2 ((1 << 8) + 2) /**< PRS PRS channel 2 */
|
|
#define PRS_PRS_CH3 ((1 << 8) + 3) /**< PRS PRS channel 3 */
|
|
#define PRS_PRS_CH4 ((1 << 8) + 4) /**< PRS PRS channel 4 */
|
|
#define PRS_PRS_CH5 ((1 << 8) + 5) /**< PRS PRS channel 5 */
|
|
#define PRS_PRS_CH6 ((1 << 8) + 6) /**< PRS PRS channel 6 */
|
|
#define PRS_PRS_CH7 ((1 << 8) + 7) /**< PRS PRS channel 7 */
|
|
#define PRS_PRS_CH8 ((2 << 8) + 0) /**< PRS PRS channel 8 */
|
|
#define PRS_PRS_CH9 ((2 << 8) + 1) /**< PRS PRS channel 9 */
|
|
#define PRS_PRS_CH10 ((2 << 8) + 2) /**< PRS PRS channel 10 */
|
|
#define PRS_PRS_CH11 ((2 << 8) + 3) /**< PRS PRS channel 11 */
|
|
#define PRS_ACMP0_OUT ((6 << 8) + 0) /**< PRS Analog comparator output */
|
|
#define PRS_ACMP1_OUT ((7 << 8) + 0) /**< PRS Analog comparator output */
|
|
#define PRS_ADC0_SINGLE ((8 << 8) + 0) /**< PRS ADC single conversion done */
|
|
#define PRS_ADC0_SCAN ((8 << 8) + 1) /**< PRS ADC scan conversion done */
|
|
#define PRS_USART0_IRTX ((16 << 8) + 0) /**< PRS USART 0 IRDA out */
|
|
#define PRS_USART0_TXC ((16 << 8) + 1) /**< PRS USART 0 TX complete */
|
|
#define PRS_USART0_RXDATAV ((16 << 8) + 2) /**< PRS USART 0 RX Data Valid */
|
|
#define PRS_USART0_RTS ((16 << 8) + 3) /**< PRS USART 0 RTS */
|
|
#define PRS_USART0_TX ((16 << 8) + 5) /**< PRS USART 0 TX */
|
|
#define PRS_USART0_CS ((16 << 8) + 6) /**< PRS USART 0 CS */
|
|
#define PRS_USART1_TXC ((17 << 8) + 1) /**< PRS USART 1 TX complete */
|
|
#define PRS_USART1_RXDATAV ((17 << 8) + 2) /**< PRS USART 1 RX Data Valid */
|
|
#define PRS_USART1_RTS ((17 << 8) + 3) /**< PRS USART 0 RTS */
|
|
#define PRS_USART1_TX ((17 << 8) + 5) /**< PRS USART 1 TX */
|
|
#define PRS_USART1_CS ((17 << 8) + 6) /**< PRS USART 1 CS */
|
|
#define PRS_TIMER0_UF ((28 << 8) + 0) /**< PRS Timer 0 Underflow */
|
|
#define PRS_TIMER0_OF ((28 << 8) + 1) /**< PRS Timer 0 Overflow */
|
|
#define PRS_TIMER0_CC0 ((28 << 8) + 2) /**< PRS Timer 0 Compare/Capture 0 */
|
|
#define PRS_TIMER0_CC1 ((28 << 8) + 3) /**< PRS Timer 0 Compare/Capture 1 */
|
|
#define PRS_TIMER0_CC2 ((28 << 8) + 4) /**< PRS Timer 0 Compare/Capture 2 */
|
|
#define PRS_TIMER1_UF ((29 << 8) + 0) /**< PRS Timer 1 Underflow */
|
|
#define PRS_TIMER1_OF ((29 << 8) + 1) /**< PRS Timer 1 Overflow */
|
|
#define PRS_TIMER1_CC0 ((29 << 8) + 2) /**< PRS Timer 1 Compare/Capture 0 */
|
|
#define PRS_TIMER1_CC1 ((29 << 8) + 3) /**< PRS Timer 1 Compare/Capture 1 */
|
|
#define PRS_TIMER1_CC2 ((29 << 8) + 4) /**< PRS Timer 1 Compare/Capture 2 */
|
|
#define PRS_TIMER1_CC3 ((29 << 8) + 5) /**< PRS Timer 1 Compare/Capture 3 */
|
|
#define PRS_RTCC_CCV0 ((41 << 8) + 1) /**< PRS RTCC Compare 0 */
|
|
#define PRS_RTCC_CCV1 ((41 << 8) + 2) /**< PRS RTCC Compare 1 */
|
|
#define PRS_RTCC_CCV2 ((41 << 8) + 3) /**< PRS RTCC Compare 2 */
|
|
#define PRS_GPIO_PIN0 ((48 << 8) + 0) /**< PRS GPIO pin 0 */
|
|
#define PRS_GPIO_PIN1 ((48 << 8) + 1) /**< PRS GPIO pin 1 */
|
|
#define PRS_GPIO_PIN2 ((48 << 8) + 2) /**< PRS GPIO pin 2 */
|
|
#define PRS_GPIO_PIN3 ((48 << 8) + 3) /**< PRS GPIO pin 3 */
|
|
#define PRS_GPIO_PIN4 ((48 << 8) + 4) /**< PRS GPIO pin 4 */
|
|
#define PRS_GPIO_PIN5 ((48 << 8) + 5) /**< PRS GPIO pin 5 */
|
|
#define PRS_GPIO_PIN6 ((48 << 8) + 6) /**< PRS GPIO pin 6 */
|
|
#define PRS_GPIO_PIN7 ((48 << 8) + 7) /**< PRS GPIO pin 7 */
|
|
#define PRS_GPIO_PIN8 ((49 << 8) + 0) /**< PRS GPIO pin 8 */
|
|
#define PRS_GPIO_PIN9 ((49 << 8) + 1) /**< PRS GPIO pin 9 */
|
|
#define PRS_GPIO_PIN10 ((49 << 8) + 2) /**< PRS GPIO pin 10 */
|
|
#define PRS_GPIO_PIN11 ((49 << 8) + 3) /**< PRS GPIO pin 11 */
|
|
#define PRS_GPIO_PIN12 ((49 << 8) + 4) /**< PRS GPIO pin 12 */
|
|
#define PRS_GPIO_PIN13 ((49 << 8) + 5) /**< PRS GPIO pin 13 */
|
|
#define PRS_GPIO_PIN14 ((49 << 8) + 6) /**< PRS GPIO pin 14 */
|
|
#define PRS_GPIO_PIN15 ((49 << 8) + 7) /**< PRS GPIO pin 15 */
|
|
#define PRS_LETIMER0_CH0 ((52 << 8) + 0) /**< PRS LETIMER CH0 Out */
|
|
#define PRS_LETIMER0_CH1 ((52 << 8) + 1) /**< PRS LETIMER CH1 Out */
|
|
#define PRS_PCNT0_TCC ((54 << 8) + 0) /**< PRS Triggered compare match */
|
|
#define PRS_PCNT0_UFOF ((54 << 8) + 1) /**< PRS Counter overflow or underflow */
|
|
#define PRS_PCNT0_DIR ((54 << 8) + 2) /**< PRS Counter direction */
|
|
#define PRS_CRYOTIMER_PERIOD ((60 << 8) + 0) /**< PRS CRYOTIMER Output */
|
|
#define PRS_CMU_CLKOUT0 ((61 << 8) + 0) /**< PRS Clock Output 0 */
|
|
#define PRS_CMU_CLKOUT1 ((61 << 8) + 1) /**< PRS Clock Output 1 */
|
|
|
|
/** @} End of group EFM32PG1B_PRS */
|
|
/** @} End of group Parts */
|
|
|