diff --git a/cpu/ezr32wg/include/ezr32wg_acmp.h b/cpu/ezr32wg/include/ezr32wg_acmp.h index b9f7d78496..30b9466145 100644 --- a/cpu/ezr32wg/include/ezr32wg_acmp.h +++ b/cpu/ezr32wg/include/ezr32wg_acmp.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_ACMP */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_adc.h b/cpu/ezr32wg/include/ezr32wg_adc.h index a69e39fc99..e3c2bfa7b1 100644 --- a/cpu/ezr32wg/include/ezr32wg_adc.h +++ b/cpu/ezr32wg/include/ezr32wg_adc.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_ADC */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_aes.h b/cpu/ezr32wg/include/ezr32wg_aes.h index 8694f4bfd1..059df4d784 100644 --- a/cpu/ezr32wg/include/ezr32wg_aes.h +++ b/cpu/ezr32wg/include/ezr32wg_aes.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_AES */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_af_pins.h b/cpu/ezr32wg/include/ezr32wg_af_pins.h index dce0dfd343..e7de74ba79 100644 --- a/cpu/ezr32wg/include/ezr32wg_af_pins.h +++ b/cpu/ezr32wg/include/ezr32wg_af_pins.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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) /** @} End of group EZR32WG_AF_Pins */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_af_ports.h b/cpu/ezr32wg/include/ezr32wg_af_ports.h index c428f9b26c..395338daf4 100644 --- a/cpu/ezr32wg/include/ezr32wg_af_ports.h +++ b/cpu/ezr32wg/include/ezr32wg_af_ports.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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) /** @} End of group EZR32WG_AF_Ports */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_burtc.h b/cpu/ezr32wg/include/ezr32wg_burtc.h index ab52dffbfe..78366e2f06 100644 --- a/cpu/ezr32wg/include/ezr32wg_burtc.h +++ b/cpu/ezr32wg/include/ezr32wg_burtc.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_BURTC */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_burtc_ret.h b/cpu/ezr32wg/include/ezr32wg_burtc_ret.h index ff00b249ae..fe71a148a4 100644 --- a/cpu/ezr32wg/include/ezr32wg_burtc_ret.h +++ b/cpu/ezr32wg/include/ezr32wg_burtc_ret.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief BURTC_RET EZR32WG BURTC RET *****************************************************************************/ @@ -36,3 +41,7 @@ typedef struct { __IO uint32_t REG; /**< Retention Register */ } BURTC_RET_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_calibrate.h b/cpu/ezr32wg/include/ezr32wg_calibrate.h index 84666b33ae..d1e27b5318 100644 --- a/cpu/ezr32wg/include/ezr32wg_calibrate.h +++ b/cpu/ezr32wg/include/ezr32wg_calibrate.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @defgroup EZR32WG_CALIBRATE * @{ @@ -40,3 +45,7 @@ typedef struct __I uint32_t ADDRESS; /**< Address of calibration register */ __I uint32_t VALUE; /**< Default value for calibration register */ } CALIBRATE_TypeDef; /** @} */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_cmu.h b/cpu/ezr32wg/include/ezr32wg_cmu.h index b98de625c5..d8a752093c 100644 --- a/cpu/ezr32wg/include/ezr32wg_cmu.h +++ b/cpu/ezr32wg/include/ezr32wg_cmu.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_CMU */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_dac.h b/cpu/ezr32wg/include/ezr32wg_dac.h index ce9656cf05..02fd07a5a9 100644 --- a/cpu/ezr32wg/include/ezr32wg_dac.h +++ b/cpu/ezr32wg/include/ezr32wg_dac.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_DAC */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_devinfo.h b/cpu/ezr32wg/include/ezr32wg_devinfo.h index ec7961ebd4..7c3ebd65dd 100644 --- a/cpu/ezr32wg/include/ezr32wg_devinfo.h +++ b/cpu/ezr32wg/include/ezr32wg_devinfo.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @defgroup EZR32WG_DEVINFO * @{ @@ -181,3 +186,7 @@ typedef struct #define _DEVINFO_PART_DEVICE_NUMBER_SHIFT 0 /**< Bit position for device number */ /** @} End of group EZR32WG_DEVINFO */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_dma.h b/cpu/ezr32wg/include/ezr32wg_dma.h index 5446d1251c..dda2c76766 100644 --- a/cpu/ezr32wg/include/ezr32wg_dma.h +++ b/cpu/ezr32wg/include/ezr32wg_dma.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_DMA */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_dma_ch.h b/cpu/ezr32wg/include/ezr32wg_dma_ch.h index 626075c520..891ea70e03 100644 --- a/cpu/ezr32wg/include/ezr32wg_dma_ch.h +++ b/cpu/ezr32wg/include/ezr32wg_dma_ch.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief DMA_CH EZR32WG DMA CH *****************************************************************************/ @@ -36,3 +41,7 @@ typedef struct { __IO uint32_t CTRL; /**< Channel Control Register */ } DMA_CH_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_dma_descriptor.h b/cpu/ezr32wg/include/ezr32wg_dma_descriptor.h index 67948f8c73..a18bbee451 100644 --- a/cpu/ezr32wg/include/ezr32wg_dma_descriptor.h +++ b/cpu/ezr32wg/include/ezr32wg_dma_descriptor.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @defgroup EZR32WG_DMA_DESCRIPTOR * @{ @@ -42,3 +47,7 @@ typedef struct __IO uint32_t CTRL; /**< DMA control register */ __IO uint32_t USER; /**< DMA padding register, available for user */ } DMA_DESCRIPTOR_TypeDef; /** @} */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_dmactrl.h b/cpu/ezr32wg/include/ezr32wg_dmactrl.h index 573f0773b8..90941e362d 100644 --- a/cpu/ezr32wg/include/ezr32wg_dmactrl.h +++ b/cpu/ezr32wg/include/ezr32wg_dmactrl.h @@ -30,6 +30,10 @@ * *****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_DMA */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_dmareq.h b/cpu/ezr32wg/include/ezr32wg_dmareq.h index 14e56d165c..be4e018425 100644 --- a/cpu/ezr32wg/include/ezr32wg_dmareq.h +++ b/cpu/ezr32wg/include/ezr32wg_dmareq.h @@ -30,6 +30,10 @@ * *****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @defgroup EZR32WG_DMAREQ_BitFields * @{ @@ -91,3 +95,7 @@ #define DMAREQ_LESENSE_BUFDATAV ((50 << 16) + 0) /**< DMA channel select for LESENSE_BUFDATAV */ /** @} End of group EZR32WG_DMAREQ */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_emu.h b/cpu/ezr32wg/include/ezr32wg_emu.h index 5c48b11c33..7736783b6f 100644 --- a/cpu/ezr32wg/include/ezr32wg_emu.h +++ b/cpu/ezr32wg/include/ezr32wg_emu.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_EMU */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_etm.h b/cpu/ezr32wg/include/ezr32wg_etm.h index 53561153df..3574afc6c4 100644 --- a/cpu/ezr32wg/include/ezr32wg_etm.h +++ b/cpu/ezr32wg/include/ezr32wg_etm.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_ETM */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_fpueh.h b/cpu/ezr32wg/include/ezr32wg_fpueh.h index 7c30d5d9e2..87bb6ee5bb 100644 --- a/cpu/ezr32wg/include/ezr32wg_fpueh.h +++ b/cpu/ezr32wg/include/ezr32wg_fpueh.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_FPUEH */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_gpio.h b/cpu/ezr32wg/include/ezr32wg_gpio.h index 3ac09aef26..64e3c479c0 100644 --- a/cpu/ezr32wg/include/ezr32wg_gpio.h +++ b/cpu/ezr32wg/include/ezr32wg_gpio.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_GPIO */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_gpio_p.h b/cpu/ezr32wg/include/ezr32wg_gpio_p.h index f5af8b99aa..5ef2f27101 100644 --- a/cpu/ezr32wg/include/ezr32wg_gpio_p.h +++ b/cpu/ezr32wg/include/ezr32wg_gpio_p.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief GPIO_P EZR32WG GPIO P *****************************************************************************/ @@ -43,3 +48,7 @@ typedef struct __I uint32_t DIN; /**< Port Data In Register */ __IO uint32_t PINLOCKN; /**< Port Unlocked Pins Register */ } GPIO_P_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_i2c.h b/cpu/ezr32wg/include/ezr32wg_i2c.h index 17e72d0965..d6c01bd869 100644 --- a/cpu/ezr32wg/include/ezr32wg_i2c.h +++ b/cpu/ezr32wg/include/ezr32wg_i2c.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_I2C */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_lesense.h b/cpu/ezr32wg/include/ezr32wg_lesense.h index 650227e0ff..7ed2af3b4b 100644 --- a/cpu/ezr32wg/include/ezr32wg_lesense.h +++ b/cpu/ezr32wg/include/ezr32wg_lesense.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_LESENSE */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_lesense_buf.h b/cpu/ezr32wg/include/ezr32wg_lesense_buf.h index d28878d4db..6a065d27cf 100644 --- a/cpu/ezr32wg/include/ezr32wg_lesense_buf.h +++ b/cpu/ezr32wg/include/ezr32wg_lesense_buf.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief LESENSE_BUF EZR32WG LESENSE BUF *****************************************************************************/ @@ -36,3 +41,7 @@ typedef struct { __IO uint32_t DATA; /**< Scan results */ } LESENSE_BUF_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_lesense_ch.h b/cpu/ezr32wg/include/ezr32wg_lesense_ch.h index f06a6892c3..94a8bdf723 100644 --- a/cpu/ezr32wg/include/ezr32wg_lesense_ch.h +++ b/cpu/ezr32wg/include/ezr32wg_lesense_ch.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief LESENSE_CH EZR32WG LESENSE CH *****************************************************************************/ @@ -39,3 +44,7 @@ typedef struct __IO uint32_t EVAL; /**< Scan configuration */ uint32_t RESERVED0[1]; /**< Reserved future */ } LESENSE_CH_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_lesense_st.h b/cpu/ezr32wg/include/ezr32wg_lesense_st.h index 52135db6fd..e546132f99 100644 --- a/cpu/ezr32wg/include/ezr32wg_lesense_st.h +++ b/cpu/ezr32wg/include/ezr32wg_lesense_st.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief LESENSE_ST EZR32WG LESENSE ST *****************************************************************************/ @@ -37,3 +42,7 @@ typedef struct __IO uint32_t TCONFA; /**< State transition configuration A */ __IO uint32_t TCONFB; /**< State transition configuration B */ } LESENSE_ST_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_letimer.h b/cpu/ezr32wg/include/ezr32wg_letimer.h index 2fd6ca2c6c..0f0eb775ce 100644 --- a/cpu/ezr32wg/include/ezr32wg_letimer.h +++ b/cpu/ezr32wg/include/ezr32wg_letimer.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_LETIMER */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_leuart.h b/cpu/ezr32wg/include/ezr32wg_leuart.h index 56eef5cfb3..67257cc8f6 100644 --- a/cpu/ezr32wg/include/ezr32wg_leuart.h +++ b/cpu/ezr32wg/include/ezr32wg_leuart.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_LEUART */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_msc.h b/cpu/ezr32wg/include/ezr32wg_msc.h index 0863a5a41c..3f05f1e12f 100644 --- a/cpu/ezr32wg/include/ezr32wg_msc.h +++ b/cpu/ezr32wg/include/ezr32wg_msc.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_MSC */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_pcnt.h b/cpu/ezr32wg/include/ezr32wg_pcnt.h index 9c45634807..8b1d74e442 100644 --- a/cpu/ezr32wg/include/ezr32wg_pcnt.h +++ b/cpu/ezr32wg/include/ezr32wg_pcnt.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_PCNT */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_prs.h b/cpu/ezr32wg/include/ezr32wg_prs.h index 925ee59555..9b80cee68c 100644 --- a/cpu/ezr32wg/include/ezr32wg_prs.h +++ b/cpu/ezr32wg/include/ezr32wg_prs.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_PRS */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_prs_ch.h b/cpu/ezr32wg/include/ezr32wg_prs_ch.h index 466bcfc586..efb72514b6 100644 --- a/cpu/ezr32wg/include/ezr32wg_prs_ch.h +++ b/cpu/ezr32wg/include/ezr32wg_prs_ch.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief PRS_CH EZR32WG PRS CH *****************************************************************************/ @@ -36,3 +41,7 @@ typedef struct { __IO uint32_t CTRL; /**< Channel Control Register */ } PRS_CH_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_prs_signals.h b/cpu/ezr32wg/include/ezr32wg_prs_signals.h index ade9191e26..a27adfd1d3 100644 --- a/cpu/ezr32wg/include/ezr32wg_prs_signals.h +++ b/cpu/ezr32wg/include/ezr32wg_prs_signals.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @addtogroup EZR32WG_PRS_Signals * @{ @@ -118,3 +123,7 @@ #define PRS_LESENSE_DEC2 ((59 << 16) + 2) /**< PRS LESENSE Decoder PRS out 2 */ /** @} End of group EZR32WG_PRS */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_rmu.h b/cpu/ezr32wg/include/ezr32wg_rmu.h index e5616d960a..dcdb294b10 100644 --- a/cpu/ezr32wg/include/ezr32wg_rmu.h +++ b/cpu/ezr32wg/include/ezr32wg_rmu.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_RMU */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_romtable.h b/cpu/ezr32wg/include/ezr32wg_romtable.h index ae5492f955..665fcdd2ae 100644 --- a/cpu/ezr32wg/include/ezr32wg_romtable.h +++ b/cpu/ezr32wg/include/ezr32wg_romtable.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_ROMTABLE */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_rtc.h b/cpu/ezr32wg/include/ezr32wg_rtc.h index 6ffa359e0e..80b1b0cf8c 100644 --- a/cpu/ezr32wg/include/ezr32wg_rtc.h +++ b/cpu/ezr32wg/include/ezr32wg_rtc.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_RTC */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_timer.h b/cpu/ezr32wg/include/ezr32wg_timer.h index efb5f4d11d..14cf880762 100644 --- a/cpu/ezr32wg/include/ezr32wg_timer.h +++ b/cpu/ezr32wg/include/ezr32wg_timer.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_TIMER */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_timer_cc.h b/cpu/ezr32wg/include/ezr32wg_timer_cc.h index 8aa7614794..43707c79b2 100644 --- a/cpu/ezr32wg/include/ezr32wg_timer_cc.h +++ b/cpu/ezr32wg/include/ezr32wg_timer_cc.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief TIMER_CC EZR32WG TIMER CC *****************************************************************************/ @@ -39,3 +44,7 @@ typedef struct __I uint32_t CCVP; /**< CC Channel Value Peek Register */ __IO uint32_t CCVB; /**< CC Channel Buffer Register */ } TIMER_CC_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_uart.h b/cpu/ezr32wg/include/ezr32wg_uart.h index 7cdf5b0af8..f9dd349e95 100644 --- a/cpu/ezr32wg/include/ezr32wg_uart.h +++ b/cpu/ezr32wg/include/ezr32wg_uart.h @@ -30,6 +30,10 @@ * *****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @defgroup EZR32WG_UART_BitFields * @{ @@ -1113,3 +1117,7 @@ #define UART_I2SCTRL_FORMAT_W8D8 (_UART_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for UART_I2SCTRL */ /** @} End of group EZR32WG_UART */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_usart.h b/cpu/ezr32wg/include/ezr32wg_usart.h index 9a2289e2ea..b940115ae7 100644 --- a/cpu/ezr32wg/include/ezr32wg_usart.h +++ b/cpu/ezr32wg/include/ezr32wg_usart.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_USART */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_usartrf.h b/cpu/ezr32wg/include/ezr32wg_usartrf.h index 60af498f45..0273c7999b 100644 --- a/cpu/ezr32wg/include/ezr32wg_usartrf.h +++ b/cpu/ezr32wg/include/ezr32wg_usartrf.h @@ -30,6 +30,10 @@ * *****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @defgroup EZR32WG_USARTRF_BitFields * @{ @@ -1113,3 +1117,7 @@ #define USARTRF_I2SCTRL_FORMAT_W8D8 (_USARTRF_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for USARTRF_I2SCTRL */ /** @} End of group EZR32WG_USARTRF */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_usb.h b/cpu/ezr32wg/include/ezr32wg_usb.h index 8bc97e3c14..a150c9f85d 100644 --- a/cpu/ezr32wg/include/ezr32wg_usb.h +++ b/cpu/ezr32wg/include/ezr32wg_usb.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_USB */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_usb_diep.h b/cpu/ezr32wg/include/ezr32wg_usb_diep.h index 7819492027..43c97eb39b 100644 --- a/cpu/ezr32wg/include/ezr32wg_usb_diep.h +++ b/cpu/ezr32wg/include/ezr32wg_usb_diep.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ uint32_t RESERVED2[1]; /**< Reserved future */ } USB_DIEP_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_usb_doep.h b/cpu/ezr32wg/include/ezr32wg_usb_doep.h index a55400a16a..009eff2880 100644 --- a/cpu/ezr32wg/include/ezr32wg_usb_doep.h +++ b/cpu/ezr32wg/include/ezr32wg_usb_doep.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief USB_DOEP EZR32WG USB DOEP *****************************************************************************/ @@ -42,3 +47,7 @@ typedef struct __IO uint32_t DMAADDR; /**< Device OUT Endpoint x+1 DMA Address Register */ uint32_t RESERVED2[2]; /**< Reserved future */ } USB_DOEP_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_usb_hc.h b/cpu/ezr32wg/include/ezr32wg_usb_hc.h index 8792f0124e..71a47c7290 100644 --- a/cpu/ezr32wg/include/ezr32wg_usb_hc.h +++ b/cpu/ezr32wg/include/ezr32wg_usb_hc.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @brief USB_HC EZR32WG USB HC *****************************************************************************/ @@ -42,3 +47,7 @@ typedef struct __IO uint32_t DMAADDR; /**< Host Channel x DMA Address Register */ uint32_t RESERVED1[2]; /**< Reserved future */ } USB_HC_TypeDef; + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_vcmp.h b/cpu/ezr32wg/include/ezr32wg_vcmp.h index 87288768dd..f640e0c6b1 100644 --- a/cpu/ezr32wg/include/ezr32wg_vcmp.h +++ b/cpu/ezr32wg/include/ezr32wg_vcmp.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_VCMP */ + +#ifdef __cplusplus +} +#endif diff --git a/cpu/ezr32wg/include/ezr32wg_wdog.h b/cpu/ezr32wg/include/ezr32wg_wdog.h index cc56297172..b680e55be5 100644 --- a/cpu/ezr32wg/include/ezr32wg_wdog.h +++ b/cpu/ezr32wg/include/ezr32wg_wdog.h @@ -29,6 +29,11 @@ * any third party, arising from your use of this Software. * *****************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************//** * @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 */ /** @} End of group EZR32WG_WDOG */ + +#ifdef __cplusplus +} +#endif