cpu/ezr32wg: added extern C to vendor headers

This commit is contained in:
Hauke Petersen 2015-10-28 17:33:44 +01:00
parent 7f32919ffb
commit b9707cd8f3
47 changed files with 419 additions and 0 deletions

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_ACMP * @defgroup EZR32WG_ACMP
* @{ * @{
@ -327,3 +332,7 @@ typedef struct
#define ACMP_ROUTE_LOCATION_LOC2 (_ACMP_ROUTE_LOCATION_LOC2 << 8) /**< Shifted mode LOC2 for ACMP_ROUTE */ #define ACMP_ROUTE_LOCATION_LOC2 (_ACMP_ROUTE_LOCATION_LOC2 << 8) /**< Shifted mode LOC2 for ACMP_ROUTE */
/** @} End of group EZR32WG_ACMP */ /** @} End of group EZR32WG_ACMP */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_ADC * @defgroup EZR32WG_ADC
* @{ * @{
@ -666,3 +671,7 @@ typedef struct
#define ADC_BIASPROG_COMPBIAS_DEFAULT (_ADC_BIASPROG_COMPBIAS_DEFAULT << 8) /**< Shifted mode DEFAULT for ADC_BIASPROG */ #define ADC_BIASPROG_COMPBIAS_DEFAULT (_ADC_BIASPROG_COMPBIAS_DEFAULT << 8) /**< Shifted mode DEFAULT for ADC_BIASPROG */
/** @} End of group EZR32WG_ADC */ /** @} End of group EZR32WG_ADC */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_AES * @defgroup EZR32WG_AES
* @{ * @{
@ -235,3 +240,7 @@ typedef struct
#define AES_KEYHD_KEYHD_DEFAULT (_AES_KEYHD_KEYHD_DEFAULT << 0) /**< Shifted mode DEFAULT for AES_KEYHD */ #define AES_KEYHD_KEYHD_DEFAULT (_AES_KEYHD_KEYHD_DEFAULT << 0) /**< Shifted mode DEFAULT for AES_KEYHD */
/** @} End of group EZR32WG_AES */ /** @} End of group EZR32WG_AES */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_AF_Pins * @defgroup EZR32WG_AF_Pins
* @{ * @{
@ -121,3 +126,7 @@
#define AF_ETM_TD3_PIN(i) ((i) == 0 ? 5 : (i) == 1 ? -1 : (i) == 2 ? 5 : (i) == 3 ? -1 : -1) #define AF_ETM_TD3_PIN(i) ((i) == 0 ? 5 : (i) == 1 ? -1 : (i) == 2 ? 5 : (i) == 3 ? -1 : -1)
/** @} End of group EZR32WG_AF_Pins */ /** @} End of group EZR32WG_AF_Pins */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_AF_Ports * @defgroup EZR32WG_AF_Ports
* @{ * @{
@ -121,3 +126,7 @@
#define AF_ETM_TD3_PORT(i) ((i) == 0 ? 3 : (i) == 1 ? -1 : (i) == 2 ? 3 : (i) == 3 ? -1 : -1) #define AF_ETM_TD3_PORT(i) ((i) == 0 ? 3 : (i) == 1 ? -1 : (i) == 2 ? 3 : (i) == 3 ? -1 : -1)
/** @} End of group EZR32WG_AF_Ports */ /** @} End of group EZR32WG_AF_Ports */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_BURTC * @defgroup EZR32WG_BURTC
* @{ * @{
@ -372,3 +377,7 @@ typedef struct
#define BURTC_RET_REG_REG_DEFAULT (_BURTC_RET_REG_REG_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_RET_REG */ #define BURTC_RET_REG_REG_DEFAULT (_BURTC_RET_REG_REG_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_RET_REG */
/** @} End of group EZR32WG_BURTC */ /** @} End of group EZR32WG_BURTC */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief BURTC_RET EZR32WG BURTC RET * @brief BURTC_RET EZR32WG BURTC RET
*****************************************************************************/ *****************************************************************************/
@ -36,3 +41,7 @@ typedef struct
{ {
__IO uint32_t REG; /**< Retention Register */ __IO uint32_t REG; /**< Retention Register */
} BURTC_RET_TypeDef; } BURTC_RET_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_CALIBRATE * @defgroup EZR32WG_CALIBRATE
* @{ * @{
@ -40,3 +45,7 @@ typedef struct
__I uint32_t ADDRESS; /**< Address of calibration register */ __I uint32_t ADDRESS; /**< Address of calibration register */
__I uint32_t VALUE; /**< Default value for calibration register */ __I uint32_t VALUE; /**< Default value for calibration register */
} CALIBRATE_TypeDef; /** @} */ } CALIBRATE_TypeDef; /** @} */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_CMU * @defgroup EZR32WG_CMU
* @{ * @{
@ -1192,3 +1197,7 @@ typedef struct
#define CMU_LOCK_LOCKKEY_UNLOCK (_CMU_LOCK_LOCKKEY_UNLOCK << 0) /**< Shifted mode UNLOCK for CMU_LOCK */ #define CMU_LOCK_LOCKKEY_UNLOCK (_CMU_LOCK_LOCKKEY_UNLOCK << 0) /**< Shifted mode UNLOCK for CMU_LOCK */
/** @} End of group EZR32WG_CMU */ /** @} End of group EZR32WG_CMU */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_DAC * @defgroup EZR32WG_DAC
* @{ * @{
@ -788,3 +793,7 @@ typedef struct
#define DAC_OPA2MUX_RESSEL_RES7 (_DAC_OPA2MUX_RESSEL_RES7 << 28) /**< Shifted mode RES7 for DAC_OPA2MUX */ #define DAC_OPA2MUX_RESSEL_RES7 (_DAC_OPA2MUX_RESSEL_RES7 << 28) /**< Shifted mode RES7 for DAC_OPA2MUX */
/** @} End of group EZR32WG_DAC */ /** @} End of group EZR32WG_DAC */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_DEVINFO * @defgroup EZR32WG_DEVINFO
* @{ * @{
@ -181,3 +186,7 @@ typedef struct
#define _DEVINFO_PART_DEVICE_NUMBER_SHIFT 0 /**< Bit position for device number */ #define _DEVINFO_PART_DEVICE_NUMBER_SHIFT 0 /**< Bit position for device number */
/** @} End of group EZR32WG_DEVINFO */ /** @} End of group EZR32WG_DEVINFO */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_DMA * @defgroup EZR32WG_DMA
* @{ * @{
@ -1614,3 +1619,7 @@ typedef struct
#define DMA_CH_CTRL_SOURCESEL_LESENSE (_DMA_CH_CTRL_SOURCESEL_LESENSE << 16) /**< Shifted mode LESENSE for DMA_CH_CTRL */ #define DMA_CH_CTRL_SOURCESEL_LESENSE (_DMA_CH_CTRL_SOURCESEL_LESENSE << 16) /**< Shifted mode LESENSE for DMA_CH_CTRL */
/** @} End of group EZR32WG_DMA */ /** @} End of group EZR32WG_DMA */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief DMA_CH EZR32WG DMA CH * @brief DMA_CH EZR32WG DMA CH
*****************************************************************************/ *****************************************************************************/
@ -36,3 +41,7 @@ typedef struct
{ {
__IO uint32_t CTRL; /**< Channel Control Register */ __IO uint32_t CTRL; /**< Channel Control Register */
} DMA_CH_TypeDef; } DMA_CH_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_DMA_DESCRIPTOR * @defgroup EZR32WG_DMA_DESCRIPTOR
* @{ * @{
@ -42,3 +47,7 @@ typedef struct
__IO uint32_t CTRL; /**< DMA control register */ __IO uint32_t CTRL; /**< DMA control register */
__IO uint32_t USER; /**< DMA padding register, available for user */ __IO uint32_t USER; /**< DMA padding register, available for user */
} DMA_DESCRIPTOR_TypeDef; /** @} */ } DMA_DESCRIPTOR_TypeDef; /** @} */
#ifdef __cplusplus
}
#endif

View File

@ -30,6 +30,10 @@
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_DMACTRL_BitFields * @defgroup EZR32WG_DMACTRL_BitFields
* @{ * @{
@ -132,3 +136,7 @@
#define DMA_CTRL_CYCLE_CTRL_PER_SCATTER_GATHER_ALT 0x000000007UL /**< Peripheral scatter gather cycle type using alternate structure */ #define DMA_CTRL_CYCLE_CTRL_PER_SCATTER_GATHER_ALT 0x000000007UL /**< Peripheral scatter gather cycle type using alternate structure */
/** @} End of group EZR32WG_DMA */ /** @} End of group EZR32WG_DMA */
#ifdef __cplusplus
}
#endif

View File

@ -30,6 +30,10 @@
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_DMAREQ_BitFields * @defgroup EZR32WG_DMAREQ_BitFields
* @{ * @{
@ -91,3 +95,7 @@
#define DMAREQ_LESENSE_BUFDATAV ((50 << 16) + 0) /**< DMA channel select for LESENSE_BUFDATAV */ #define DMAREQ_LESENSE_BUFDATAV ((50 << 16) + 0) /**< DMA channel select for LESENSE_BUFDATAV */
/** @} End of group EZR32WG_DMAREQ */ /** @} End of group EZR32WG_DMAREQ */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_EMU * @defgroup EZR32WG_EMU
* @{ * @{
@ -335,3 +340,7 @@ typedef struct
#define EMU_BUBODUNREGCAL_RANGE_DEFAULT (_EMU_BUBODUNREGCAL_RANGE_DEFAULT << 3) /**< Shifted mode DEFAULT for EMU_BUBODUNREGCAL */ #define EMU_BUBODUNREGCAL_RANGE_DEFAULT (_EMU_BUBODUNREGCAL_RANGE_DEFAULT << 3) /**< Shifted mode DEFAULT for EMU_BUBODUNREGCAL */
/** @} End of group EZR32WG_EMU */ /** @} End of group EZR32WG_EMU */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_ETM * @defgroup EZR32WG_ETM
* @{ * @{
@ -778,3 +783,7 @@ typedef struct
#define ETM_ETMCIDR3_PREAMB_DEFAULT (_ETM_ETMCIDR3_PREAMB_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCIDR3 */ #define ETM_ETMCIDR3_PREAMB_DEFAULT (_ETM_ETMCIDR3_PREAMB_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCIDR3 */
/** @} End of group EZR32WG_ETM */ /** @} End of group EZR32WG_ETM */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_FPUEH * @defgroup EZR32WG_FPUEH
* @{ * @{
@ -184,3 +189,7 @@ typedef struct
#define FPUEH_IEN_FPIXC_DEFAULT (_FPUEH_IEN_FPIXC_DEFAULT << 5) /**< Shifted mode DEFAULT for FPUEH_IEN */ #define FPUEH_IEN_FPIXC_DEFAULT (_FPUEH_IEN_FPIXC_DEFAULT << 5) /**< Shifted mode DEFAULT for FPUEH_IEN */
/** @} End of group EZR32WG_FPUEH */ /** @} End of group EZR32WG_FPUEH */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_GPIO * @defgroup EZR32WG_GPIO
* @{ * @{
@ -1187,3 +1192,7 @@ typedef struct
#define GPIO_EM4WUCAUSE_EM4WUCAUSE_E13 (_GPIO_EM4WUCAUSE_EM4WUCAUSE_E13 << 0) /**< Shifted mode E13 for GPIO_EM4WUCAUSE */ #define GPIO_EM4WUCAUSE_EM4WUCAUSE_E13 (_GPIO_EM4WUCAUSE_EM4WUCAUSE_E13 << 0) /**< Shifted mode E13 for GPIO_EM4WUCAUSE */
/** @} End of group EZR32WG_GPIO */ /** @} End of group EZR32WG_GPIO */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief GPIO_P EZR32WG GPIO P * @brief GPIO_P EZR32WG GPIO P
*****************************************************************************/ *****************************************************************************/
@ -43,3 +48,7 @@ typedef struct
__I uint32_t DIN; /**< Port Data In Register */ __I uint32_t DIN; /**< Port Data In Register */
__IO uint32_t PINLOCKN; /**< Port Unlocked Pins Register */ __IO uint32_t PINLOCKN; /**< Port Unlocked Pins Register */
} GPIO_P_TypeDef; } GPIO_P_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_I2C * @defgroup EZR32WG_I2C
* @{ * @{
@ -697,3 +702,7 @@ typedef struct
#define I2C_ROUTE_LOCATION_LOC6 (_I2C_ROUTE_LOCATION_LOC6 << 8) /**< Shifted mode LOC6 for I2C_ROUTE */ #define I2C_ROUTE_LOCATION_LOC6 (_I2C_ROUTE_LOCATION_LOC6 << 8) /**< Shifted mode LOC6 for I2C_ROUTE */
/** @} End of group EZR32WG_I2C */ /** @} End of group EZR32WG_I2C */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_LESENSE * @defgroup EZR32WG_LESENSE
* @{ * @{
@ -1922,3 +1927,7 @@ typedef struct
#define LESENSE_CH_EVAL_SCANRESINV_DEFAULT (_LESENSE_CH_EVAL_SCANRESINV_DEFAULT << 19) /**< Shifted mode DEFAULT for LESENSE_CH_EVAL */ #define LESENSE_CH_EVAL_SCANRESINV_DEFAULT (_LESENSE_CH_EVAL_SCANRESINV_DEFAULT << 19) /**< Shifted mode DEFAULT for LESENSE_CH_EVAL */
/** @} End of group EZR32WG_LESENSE */ /** @} End of group EZR32WG_LESENSE */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief LESENSE_BUF EZR32WG LESENSE BUF * @brief LESENSE_BUF EZR32WG LESENSE BUF
*****************************************************************************/ *****************************************************************************/
@ -36,3 +41,7 @@ typedef struct
{ {
__IO uint32_t DATA; /**< Scan results */ __IO uint32_t DATA; /**< Scan results */
} LESENSE_BUF_TypeDef; } LESENSE_BUF_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief LESENSE_CH EZR32WG LESENSE CH * @brief LESENSE_CH EZR32WG LESENSE CH
*****************************************************************************/ *****************************************************************************/
@ -39,3 +44,7 @@ typedef struct
__IO uint32_t EVAL; /**< Scan configuration */ __IO uint32_t EVAL; /**< Scan configuration */
uint32_t RESERVED0[1]; /**< Reserved future */ uint32_t RESERVED0[1]; /**< Reserved future */
} LESENSE_CH_TypeDef; } LESENSE_CH_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief LESENSE_ST EZR32WG LESENSE ST * @brief LESENSE_ST EZR32WG LESENSE ST
*****************************************************************************/ *****************************************************************************/
@ -37,3 +42,7 @@ typedef struct
__IO uint32_t TCONFA; /**< State transition configuration A */ __IO uint32_t TCONFA; /**< State transition configuration A */
__IO uint32_t TCONFB; /**< State transition configuration B */ __IO uint32_t TCONFB; /**< State transition configuration B */
} LESENSE_ST_TypeDef; } LESENSE_ST_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_LETIMER * @defgroup EZR32WG_LETIMER
* @{ * @{
@ -404,3 +409,7 @@ typedef struct
#define LETIMER_ROUTE_LOCATION_LOC3 (_LETIMER_ROUTE_LOCATION_LOC3 << 8) /**< Shifted mode LOC3 for LETIMER_ROUTE */ #define LETIMER_ROUTE_LOCATION_LOC3 (_LETIMER_ROUTE_LOCATION_LOC3 << 8) /**< Shifted mode LOC3 for LETIMER_ROUTE */
/** @} End of group EZR32WG_LETIMER */ /** @} End of group EZR32WG_LETIMER */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_LEUART * @defgroup EZR32WG_LEUART
* @{ * @{
@ -695,3 +700,7 @@ typedef struct
#define LEUART_INPUT_RXPRS_DEFAULT (_LEUART_INPUT_RXPRS_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_INPUT */ #define LEUART_INPUT_RXPRS_DEFAULT (_LEUART_INPUT_RXPRS_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_INPUT */
/** @} End of group EZR32WG_LEUART */ /** @} End of group EZR32WG_LEUART */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_MSC * @defgroup EZR32WG_MSC
* @{ * @{
@ -429,3 +434,7 @@ typedef struct
#define MSC_MASSLOCK_LOCKKEY_UNLOCK (_MSC_MASSLOCK_LOCKKEY_UNLOCK << 0) /**< Shifted mode UNLOCK for MSC_MASSLOCK */ #define MSC_MASSLOCK_LOCKKEY_UNLOCK (_MSC_MASSLOCK_LOCKKEY_UNLOCK << 0) /**< Shifted mode UNLOCK for MSC_MASSLOCK */
/** @} End of group EZR32WG_MSC */ /** @} End of group EZR32WG_MSC */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_PCNT * @defgroup EZR32WG_PCNT
* @{ * @{
@ -413,3 +418,7 @@ typedef struct
#define PCNT_INPUT_S1PRSEN_DEFAULT (_PCNT_INPUT_S1PRSEN_DEFAULT << 10) /**< Shifted mode DEFAULT for PCNT_INPUT */ #define PCNT_INPUT_S1PRSEN_DEFAULT (_PCNT_INPUT_S1PRSEN_DEFAULT << 10) /**< Shifted mode DEFAULT for PCNT_INPUT */
/** @} End of group EZR32WG_PCNT */ /** @} End of group EZR32WG_PCNT */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_PRS * @defgroup EZR32WG_PRS
* @{ * @{
@ -447,3 +452,7 @@ typedef struct
#define PRS_CH_CTRL_ASYNC_DEFAULT (_PRS_CH_CTRL_ASYNC_DEFAULT << 28) /**< Shifted mode DEFAULT for PRS_CH_CTRL */ #define PRS_CH_CTRL_ASYNC_DEFAULT (_PRS_CH_CTRL_ASYNC_DEFAULT << 28) /**< Shifted mode DEFAULT for PRS_CH_CTRL */
/** @} End of group EZR32WG_PRS */ /** @} End of group EZR32WG_PRS */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief PRS_CH EZR32WG PRS CH * @brief PRS_CH EZR32WG PRS CH
*****************************************************************************/ *****************************************************************************/
@ -36,3 +41,7 @@ typedef struct
{ {
__IO uint32_t CTRL; /**< Channel Control Register */ __IO uint32_t CTRL; /**< Channel Control Register */
} PRS_CH_TypeDef; } PRS_CH_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @addtogroup EZR32WG_PRS_Signals * @addtogroup EZR32WG_PRS_Signals
* @{ * @{
@ -118,3 +123,7 @@
#define PRS_LESENSE_DEC2 ((59 << 16) + 2) /**< PRS LESENSE Decoder PRS out 2 */ #define PRS_LESENSE_DEC2 ((59 << 16) + 2) /**< PRS LESENSE Decoder PRS out 2 */
/** @} End of group EZR32WG_PRS */ /** @} End of group EZR32WG_PRS */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_RMU * @defgroup EZR32WG_RMU
* @{ * @{
@ -154,3 +159,7 @@ typedef struct
#define RMU_CMD_RCCLR_DEFAULT (_RMU_CMD_RCCLR_DEFAULT << 0) /**< Shifted mode DEFAULT for RMU_CMD */ #define RMU_CMD_RCCLR_DEFAULT (_RMU_CMD_RCCLR_DEFAULT << 0) /**< Shifted mode DEFAULT for RMU_CMD */
/** @} End of group EZR32WG_RMU */ /** @} End of group EZR32WG_RMU */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_ROMTABLE * @defgroup EZR32WG_ROMTABLE
* @{ * @{
@ -64,3 +69,7 @@ typedef struct
#define _ROMTABLE_PID3_REVMINORLSB_SHIFT 4 /**< Least Significant Bits [3:0] of CHIP MINOR revision, shift */ #define _ROMTABLE_PID3_REVMINORLSB_SHIFT 4 /**< Least Significant Bits [3:0] of CHIP MINOR revision, shift */
/** @} End of group EZR32WG_ROMTABLE */ /** @} End of group EZR32WG_ROMTABLE */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_RTC * @defgroup EZR32WG_RTC
* @{ * @{
@ -210,3 +215,7 @@ typedef struct
#define RTC_SYNCBUSY_COMP1_DEFAULT (_RTC_SYNCBUSY_COMP1_DEFAULT << 2) /**< Shifted mode DEFAULT for RTC_SYNCBUSY */ #define RTC_SYNCBUSY_COMP1_DEFAULT (_RTC_SYNCBUSY_COMP1_DEFAULT << 2) /**< Shifted mode DEFAULT for RTC_SYNCBUSY */
/** @} End of group EZR32WG_RTC */ /** @} End of group EZR32WG_RTC */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_TIMER * @defgroup EZR32WG_TIMER
* @{ * @{
@ -960,3 +965,7 @@ typedef struct
#define TIMER_DTLOCK_LOCKKEY_UNLOCK (_TIMER_DTLOCK_LOCKKEY_UNLOCK << 0) /**< Shifted mode UNLOCK for TIMER_DTLOCK */ #define TIMER_DTLOCK_LOCKKEY_UNLOCK (_TIMER_DTLOCK_LOCKKEY_UNLOCK << 0) /**< Shifted mode UNLOCK for TIMER_DTLOCK */
/** @} End of group EZR32WG_TIMER */ /** @} End of group EZR32WG_TIMER */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief TIMER_CC EZR32WG TIMER CC * @brief TIMER_CC EZR32WG TIMER CC
*****************************************************************************/ *****************************************************************************/
@ -39,3 +44,7 @@ typedef struct
__I uint32_t CCVP; /**< CC Channel Value Peek Register */ __I uint32_t CCVP; /**< CC Channel Value Peek Register */
__IO uint32_t CCVB; /**< CC Channel Buffer Register */ __IO uint32_t CCVB; /**< CC Channel Buffer Register */
} TIMER_CC_TypeDef; } TIMER_CC_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -30,6 +30,10 @@
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_UART_BitFields * @defgroup EZR32WG_UART_BitFields
* @{ * @{
@ -1113,3 +1117,7 @@
#define UART_I2SCTRL_FORMAT_W8D8 (_UART_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for UART_I2SCTRL */ #define UART_I2SCTRL_FORMAT_W8D8 (_UART_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for UART_I2SCTRL */
/** @} End of group EZR32WG_UART */ /** @} End of group EZR32WG_UART */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_USART * @defgroup EZR32WG_USART
* @{ * @{
@ -1145,3 +1150,7 @@ typedef struct
#define USART_I2SCTRL_FORMAT_W8D8 (_USART_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for USART_I2SCTRL */ #define USART_I2SCTRL_FORMAT_W8D8 (_USART_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for USART_I2SCTRL */
/** @} End of group EZR32WG_USART */ /** @} End of group EZR32WG_USART */
#ifdef __cplusplus
}
#endif

View File

@ -30,6 +30,10 @@
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_USARTRF_BitFields * @defgroup EZR32WG_USARTRF_BitFields
* @{ * @{
@ -1113,3 +1117,7 @@
#define USARTRF_I2SCTRL_FORMAT_W8D8 (_USARTRF_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for USARTRF_I2SCTRL */ #define USARTRF_I2SCTRL_FORMAT_W8D8 (_USARTRF_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for USARTRF_I2SCTRL */
/** @} End of group EZR32WG_USARTRF */ /** @} End of group EZR32WG_USARTRF */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_USB * @defgroup EZR32WG_USB
* @{ * @{
@ -2649,3 +2654,7 @@ typedef struct
#define USB_FIFORAM_FIFORAM_DEFAULT (_USB_FIFORAM_FIFORAM_DEFAULT << 0) /**< Shifted mode DEFAULT for USB_FIFORAM */ #define USB_FIFORAM_FIFORAM_DEFAULT (_USB_FIFORAM_FIFORAM_DEFAULT << 0) /**< Shifted mode DEFAULT for USB_FIFORAM */
/** @} End of group EZR32WG_USB */ /** @} End of group EZR32WG_USB */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief USB_DIEP EZR32WG USB DIEP * @brief USB_DIEP EZR32WG USB DIEP
*****************************************************************************/ *****************************************************************************/
@ -43,3 +48,7 @@ typedef struct
__I uint32_t TXFSTS; /**< Device IN Endpoint x+1 Transmit FIFO Status Register */ __I uint32_t TXFSTS; /**< Device IN Endpoint x+1 Transmit FIFO Status Register */
uint32_t RESERVED2[1]; /**< Reserved future */ uint32_t RESERVED2[1]; /**< Reserved future */
} USB_DIEP_TypeDef; } USB_DIEP_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief USB_DOEP EZR32WG USB DOEP * @brief USB_DOEP EZR32WG USB DOEP
*****************************************************************************/ *****************************************************************************/
@ -42,3 +47,7 @@ typedef struct
__IO uint32_t DMAADDR; /**< Device OUT Endpoint x+1 DMA Address Register */ __IO uint32_t DMAADDR; /**< Device OUT Endpoint x+1 DMA Address Register */
uint32_t RESERVED2[2]; /**< Reserved future */ uint32_t RESERVED2[2]; /**< Reserved future */
} USB_DOEP_TypeDef; } USB_DOEP_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @brief USB_HC EZR32WG USB HC * @brief USB_HC EZR32WG USB HC
*****************************************************************************/ *****************************************************************************/
@ -42,3 +47,7 @@ typedef struct
__IO uint32_t DMAADDR; /**< Host Channel x DMA Address Register */ __IO uint32_t DMAADDR; /**< Host Channel x DMA Address Register */
uint32_t RESERVED1[2]; /**< Reserved future */ uint32_t RESERVED1[2]; /**< Reserved future */
} USB_HC_TypeDef; } USB_HC_TypeDef;
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_VCMP * @defgroup EZR32WG_VCMP
* @{ * @{
@ -192,3 +197,7 @@ typedef struct
#define VCMP_IFC_WARMUP_DEFAULT (_VCMP_IFC_WARMUP_DEFAULT << 1) /**< Shifted mode DEFAULT for VCMP_IFC */ #define VCMP_IFC_WARMUP_DEFAULT (_VCMP_IFC_WARMUP_DEFAULT << 1) /**< Shifted mode DEFAULT for VCMP_IFC */
/** @} End of group EZR32WG_VCMP */ /** @} End of group EZR32WG_VCMP */
#ifdef __cplusplus
}
#endif

View File

@ -29,6 +29,11 @@
* any third party, arising from your use of this Software. * any third party, arising from your use of this Software.
* *
*****************************************************************************/ *****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************//** /**************************************************************************//**
* @defgroup EZR32WG_WDOG * @defgroup EZR32WG_WDOG
* @{ * @{
@ -128,3 +133,7 @@ typedef struct
#define WDOG_SYNCBUSY_CMD_DEFAULT (_WDOG_SYNCBUSY_CMD_DEFAULT << 1) /**< Shifted mode DEFAULT for WDOG_SYNCBUSY */ #define WDOG_SYNCBUSY_CMD_DEFAULT (_WDOG_SYNCBUSY_CMD_DEFAULT << 1) /**< Shifted mode DEFAULT for WDOG_SYNCBUSY */
/** @} End of group EZR32WG_WDOG */ /** @} End of group EZR32WG_WDOG */
#ifdef __cplusplus
}
#endif