Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
TARGET_EFM32GG_STK3700/efm32gg_burtc.h@98:8ab26030e058, 2015-04-29 (annotated)
- Committer:
- Kojto
- Date:
- Wed Apr 29 10:16:23 2015 +0100
- Revision:
- 98:8ab26030e058
- Child:
- 113:f141b2784e32
Release 98 of the mbed library
Changes:
- Silabs new targets (Giant, Zero, Happy, Leopard, Wonder Geckos)
- Asynchronous SPI, I2C, Serial
- LowPower classes
- Nordic - nordic SDK v8.0 update
- Teensy - gcc arm fix for startup
- Nucleo F411 - usb freq fix
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 98:8ab26030e058 | 1 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 2 | * @file efm32gg_burtc.h |
Kojto | 98:8ab26030e058 | 3 | * @brief EFM32GG_BURTC register and bit field definitions |
Kojto | 98:8ab26030e058 | 4 | * @version 3.20.6 |
Kojto | 98:8ab26030e058 | 5 | ****************************************************************************** |
Kojto | 98:8ab26030e058 | 6 | * @section License |
Kojto | 98:8ab26030e058 | 7 | * <b>(C) Copyright 2014 Silicon Laboratories, Inc. http://www.silabs.com</b> |
Kojto | 98:8ab26030e058 | 8 | ****************************************************************************** |
Kojto | 98:8ab26030e058 | 9 | * |
Kojto | 98:8ab26030e058 | 10 | * Permission is granted to anyone to use this software for any purpose, |
Kojto | 98:8ab26030e058 | 11 | * including commercial applications, and to alter it and redistribute it |
Kojto | 98:8ab26030e058 | 12 | * freely, subject to the following restrictions: |
Kojto | 98:8ab26030e058 | 13 | * |
Kojto | 98:8ab26030e058 | 14 | * 1. The origin of this software must not be misrepresented; you must not |
Kojto | 98:8ab26030e058 | 15 | * claim that you wrote the original software.@n |
Kojto | 98:8ab26030e058 | 16 | * 2. Altered source versions must be plainly marked as such, and must not be |
Kojto | 98:8ab26030e058 | 17 | * misrepresented as being the original software.@n |
Kojto | 98:8ab26030e058 | 18 | * 3. This notice may not be removed or altered from any source distribution. |
Kojto | 98:8ab26030e058 | 19 | * |
Kojto | 98:8ab26030e058 | 20 | * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. |
Kojto | 98:8ab26030e058 | 21 | * has no obligation to support this Software. Silicon Laboratories, Inc. is |
Kojto | 98:8ab26030e058 | 22 | * providing the Software "AS IS", with no express or implied warranties of any |
Kojto | 98:8ab26030e058 | 23 | * kind, including, but not limited to, any implied warranties of |
Kojto | 98:8ab26030e058 | 24 | * merchantability or fitness for any particular purpose or warranties against |
Kojto | 98:8ab26030e058 | 25 | * infringement of any proprietary rights of a third party. |
Kojto | 98:8ab26030e058 | 26 | * |
Kojto | 98:8ab26030e058 | 27 | * Silicon Laboratories, Inc. will not be liable for any consequential, |
Kojto | 98:8ab26030e058 | 28 | * incidental, or special damages, or any other relief, or for any claim by |
Kojto | 98:8ab26030e058 | 29 | * any third party, arising from your use of this Software. |
Kojto | 98:8ab26030e058 | 30 | * |
Kojto | 98:8ab26030e058 | 31 | *****************************************************************************/ |
Kojto | 98:8ab26030e058 | 32 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 33 | * @defgroup EFM32GG_BURTC |
Kojto | 98:8ab26030e058 | 34 | * @{ |
Kojto | 98:8ab26030e058 | 35 | * @brief EFM32GG_BURTC Register Declaration |
Kojto | 98:8ab26030e058 | 36 | *****************************************************************************/ |
Kojto | 98:8ab26030e058 | 37 | typedef struct |
Kojto | 98:8ab26030e058 | 38 | { |
Kojto | 98:8ab26030e058 | 39 | __IO uint32_t CTRL; /**< Control Register */ |
Kojto | 98:8ab26030e058 | 40 | __IO uint32_t LPMODE; /**< Low power mode configuration */ |
Kojto | 98:8ab26030e058 | 41 | __I uint32_t CNT; /**< Counter Value Register */ |
Kojto | 98:8ab26030e058 | 42 | __IO uint32_t COMP0; /**< Counter Compare Value */ |
Kojto | 98:8ab26030e058 | 43 | __I uint32_t TIMESTAMP; /**< Backup mode timestamp */ |
Kojto | 98:8ab26030e058 | 44 | __IO uint32_t LFXOFDET; /**< LFXO */ |
Kojto | 98:8ab26030e058 | 45 | __I uint32_t STATUS; /**< Status Register */ |
Kojto | 98:8ab26030e058 | 46 | __IO uint32_t CMD; /**< Command Register */ |
Kojto | 98:8ab26030e058 | 47 | __IO uint32_t POWERDOWN; /**< Retention RAM power-down Register */ |
Kojto | 98:8ab26030e058 | 48 | __IO uint32_t LOCK; /**< Configuration Lock Register */ |
Kojto | 98:8ab26030e058 | 49 | __I uint32_t IF; /**< Interrupt Flag Register */ |
Kojto | 98:8ab26030e058 | 50 | __IO uint32_t IFS; /**< Interrupt Flag Set Register */ |
Kojto | 98:8ab26030e058 | 51 | __IO uint32_t IFC; /**< Interrupt Flag Clear Register */ |
Kojto | 98:8ab26030e058 | 52 | __IO uint32_t IEN; /**< Interrupt Enable Register */ |
Kojto | 98:8ab26030e058 | 53 | |
Kojto | 98:8ab26030e058 | 54 | __IO uint32_t FREEZE; /**< Freeze Register */ |
Kojto | 98:8ab26030e058 | 55 | __I uint32_t SYNCBUSY; /**< Synchronization Busy Register */ |
Kojto | 98:8ab26030e058 | 56 | |
Kojto | 98:8ab26030e058 | 57 | uint32_t RESERVED0[48]; /**< Reserved registers */ |
Kojto | 98:8ab26030e058 | 58 | |
Kojto | 98:8ab26030e058 | 59 | BURTC_RET_TypeDef RET[128]; /**< RetentionReg */ |
Kojto | 98:8ab26030e058 | 60 | } BURTC_TypeDef; /** @} */ |
Kojto | 98:8ab26030e058 | 61 | |
Kojto | 98:8ab26030e058 | 62 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 63 | * @defgroup EFM32GG_BURTC_BitFields |
Kojto | 98:8ab26030e058 | 64 | * @{ |
Kojto | 98:8ab26030e058 | 65 | *****************************************************************************/ |
Kojto | 98:8ab26030e058 | 66 | |
Kojto | 98:8ab26030e058 | 67 | /* Bit fields for BURTC CTRL */ |
Kojto | 98:8ab26030e058 | 68 | #define _BURTC_CTRL_RESETVALUE 0x00000008UL /**< Default value for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 69 | #define _BURTC_CTRL_MASK 0x000077FFUL /**< Mask for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 70 | #define _BURTC_CTRL_MODE_SHIFT 0 /**< Shift value for BURTC_MODE */ |
Kojto | 98:8ab26030e058 | 71 | #define _BURTC_CTRL_MODE_MASK 0x3UL /**< Bit mask for BURTC_MODE */ |
Kojto | 98:8ab26030e058 | 72 | #define _BURTC_CTRL_MODE_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 73 | #define _BURTC_CTRL_MODE_DISABLE 0x00000000UL /**< Mode DISABLE for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 74 | #define _BURTC_CTRL_MODE_EM2EN 0x00000001UL /**< Mode EM2EN for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 75 | #define _BURTC_CTRL_MODE_EM3EN 0x00000002UL /**< Mode EM3EN for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 76 | #define _BURTC_CTRL_MODE_EM4EN 0x00000003UL /**< Mode EM4EN for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 77 | #define BURTC_CTRL_MODE_DEFAULT (_BURTC_CTRL_MODE_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 78 | #define BURTC_CTRL_MODE_DISABLE (_BURTC_CTRL_MODE_DISABLE << 0) /**< Shifted mode DISABLE for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 79 | #define BURTC_CTRL_MODE_EM2EN (_BURTC_CTRL_MODE_EM2EN << 0) /**< Shifted mode EM2EN for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 80 | #define BURTC_CTRL_MODE_EM3EN (_BURTC_CTRL_MODE_EM3EN << 0) /**< Shifted mode EM3EN for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 81 | #define BURTC_CTRL_MODE_EM4EN (_BURTC_CTRL_MODE_EM4EN << 0) /**< Shifted mode EM4EN for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 82 | #define BURTC_CTRL_DEBUGRUN (0x1UL << 2) /**< Debug Mode Run Enable */ |
Kojto | 98:8ab26030e058 | 83 | #define _BURTC_CTRL_DEBUGRUN_SHIFT 2 /**< Shift value for BURTC_DEBUGRUN */ |
Kojto | 98:8ab26030e058 | 84 | #define _BURTC_CTRL_DEBUGRUN_MASK 0x4UL /**< Bit mask for BURTC_DEBUGRUN */ |
Kojto | 98:8ab26030e058 | 85 | #define _BURTC_CTRL_DEBUGRUN_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 86 | #define BURTC_CTRL_DEBUGRUN_DEFAULT (_BURTC_CTRL_DEBUGRUN_DEFAULT << 2) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 87 | #define BURTC_CTRL_RSTEN (0x1UL << 3) /**< Enable BURTC reset */ |
Kojto | 98:8ab26030e058 | 88 | #define _BURTC_CTRL_RSTEN_SHIFT 3 /**< Shift value for BURTC_RSTEN */ |
Kojto | 98:8ab26030e058 | 89 | #define _BURTC_CTRL_RSTEN_MASK 0x8UL /**< Bit mask for BURTC_RSTEN */ |
Kojto | 98:8ab26030e058 | 90 | #define _BURTC_CTRL_RSTEN_DEFAULT 0x00000001UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 91 | #define BURTC_CTRL_RSTEN_DEFAULT (_BURTC_CTRL_RSTEN_DEFAULT << 3) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 92 | #define BURTC_CTRL_COMP0TOP (0x1UL << 4) /**< Compare clear enable */ |
Kojto | 98:8ab26030e058 | 93 | #define _BURTC_CTRL_COMP0TOP_SHIFT 4 /**< Shift value for BURTC_COMP0TOP */ |
Kojto | 98:8ab26030e058 | 94 | #define _BURTC_CTRL_COMP0TOP_MASK 0x10UL /**< Bit mask for BURTC_COMP0TOP */ |
Kojto | 98:8ab26030e058 | 95 | #define _BURTC_CTRL_COMP0TOP_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 96 | #define BURTC_CTRL_COMP0TOP_DEFAULT (_BURTC_CTRL_COMP0TOP_DEFAULT << 4) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 97 | #define _BURTC_CTRL_LPCOMP_SHIFT 5 /**< Shift value for BURTC_LPCOMP */ |
Kojto | 98:8ab26030e058 | 98 | #define _BURTC_CTRL_LPCOMP_MASK 0xE0UL /**< Bit mask for BURTC_LPCOMP */ |
Kojto | 98:8ab26030e058 | 99 | #define _BURTC_CTRL_LPCOMP_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 100 | #define _BURTC_CTRL_LPCOMP_IGN0LSB 0x00000000UL /**< Mode IGN0LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 101 | #define _BURTC_CTRL_LPCOMP_IGN1LSB 0x00000001UL /**< Mode IGN1LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 102 | #define _BURTC_CTRL_LPCOMP_IGN2LSB 0x00000002UL /**< Mode IGN2LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 103 | #define _BURTC_CTRL_LPCOMP_IGN3LSB 0x00000003UL /**< Mode IGN3LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 104 | #define _BURTC_CTRL_LPCOMP_IGN4LSB 0x00000004UL /**< Mode IGN4LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 105 | #define _BURTC_CTRL_LPCOMP_IGN5LSB 0x00000005UL /**< Mode IGN5LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 106 | #define _BURTC_CTRL_LPCOMP_IGN6LSB 0x00000006UL /**< Mode IGN6LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 107 | #define _BURTC_CTRL_LPCOMP_IGN7LSB 0x00000007UL /**< Mode IGN7LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 108 | #define BURTC_CTRL_LPCOMP_DEFAULT (_BURTC_CTRL_LPCOMP_DEFAULT << 5) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 109 | #define BURTC_CTRL_LPCOMP_IGN0LSB (_BURTC_CTRL_LPCOMP_IGN0LSB << 5) /**< Shifted mode IGN0LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 110 | #define BURTC_CTRL_LPCOMP_IGN1LSB (_BURTC_CTRL_LPCOMP_IGN1LSB << 5) /**< Shifted mode IGN1LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 111 | #define BURTC_CTRL_LPCOMP_IGN2LSB (_BURTC_CTRL_LPCOMP_IGN2LSB << 5) /**< Shifted mode IGN2LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 112 | #define BURTC_CTRL_LPCOMP_IGN3LSB (_BURTC_CTRL_LPCOMP_IGN3LSB << 5) /**< Shifted mode IGN3LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 113 | #define BURTC_CTRL_LPCOMP_IGN4LSB (_BURTC_CTRL_LPCOMP_IGN4LSB << 5) /**< Shifted mode IGN4LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 114 | #define BURTC_CTRL_LPCOMP_IGN5LSB (_BURTC_CTRL_LPCOMP_IGN5LSB << 5) /**< Shifted mode IGN5LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 115 | #define BURTC_CTRL_LPCOMP_IGN6LSB (_BURTC_CTRL_LPCOMP_IGN6LSB << 5) /**< Shifted mode IGN6LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 116 | #define BURTC_CTRL_LPCOMP_IGN7LSB (_BURTC_CTRL_LPCOMP_IGN7LSB << 5) /**< Shifted mode IGN7LSB for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 117 | #define _BURTC_CTRL_PRESC_SHIFT 8 /**< Shift value for BURTC_PRESC */ |
Kojto | 98:8ab26030e058 | 118 | #define _BURTC_CTRL_PRESC_MASK 0x700UL /**< Bit mask for BURTC_PRESC */ |
Kojto | 98:8ab26030e058 | 119 | #define _BURTC_CTRL_PRESC_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 120 | #define _BURTC_CTRL_PRESC_DIV1 0x00000000UL /**< Mode DIV1 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 121 | #define _BURTC_CTRL_PRESC_DIV2 0x00000001UL /**< Mode DIV2 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 122 | #define _BURTC_CTRL_PRESC_DIV4 0x00000002UL /**< Mode DIV4 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 123 | #define _BURTC_CTRL_PRESC_DIV8 0x00000003UL /**< Mode DIV8 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 124 | #define _BURTC_CTRL_PRESC_DIV16 0x00000004UL /**< Mode DIV16 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 125 | #define _BURTC_CTRL_PRESC_DIV32 0x00000005UL /**< Mode DIV32 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 126 | #define _BURTC_CTRL_PRESC_DIV64 0x00000006UL /**< Mode DIV64 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 127 | #define _BURTC_CTRL_PRESC_DIV128 0x00000007UL /**< Mode DIV128 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 128 | #define BURTC_CTRL_PRESC_DEFAULT (_BURTC_CTRL_PRESC_DEFAULT << 8) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 129 | #define BURTC_CTRL_PRESC_DIV1 (_BURTC_CTRL_PRESC_DIV1 << 8) /**< Shifted mode DIV1 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 130 | #define BURTC_CTRL_PRESC_DIV2 (_BURTC_CTRL_PRESC_DIV2 << 8) /**< Shifted mode DIV2 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 131 | #define BURTC_CTRL_PRESC_DIV4 (_BURTC_CTRL_PRESC_DIV4 << 8) /**< Shifted mode DIV4 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 132 | #define BURTC_CTRL_PRESC_DIV8 (_BURTC_CTRL_PRESC_DIV8 << 8) /**< Shifted mode DIV8 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 133 | #define BURTC_CTRL_PRESC_DIV16 (_BURTC_CTRL_PRESC_DIV16 << 8) /**< Shifted mode DIV16 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 134 | #define BURTC_CTRL_PRESC_DIV32 (_BURTC_CTRL_PRESC_DIV32 << 8) /**< Shifted mode DIV32 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 135 | #define BURTC_CTRL_PRESC_DIV64 (_BURTC_CTRL_PRESC_DIV64 << 8) /**< Shifted mode DIV64 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 136 | #define BURTC_CTRL_PRESC_DIV128 (_BURTC_CTRL_PRESC_DIV128 << 8) /**< Shifted mode DIV128 for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 137 | #define _BURTC_CTRL_CLKSEL_SHIFT 12 /**< Shift value for BURTC_CLKSEL */ |
Kojto | 98:8ab26030e058 | 138 | #define _BURTC_CTRL_CLKSEL_MASK 0x3000UL /**< Bit mask for BURTC_CLKSEL */ |
Kojto | 98:8ab26030e058 | 139 | #define _BURTC_CTRL_CLKSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 140 | #define _BURTC_CTRL_CLKSEL_NONE 0x00000000UL /**< Mode NONE for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 141 | #define _BURTC_CTRL_CLKSEL_LFRCO 0x00000001UL /**< Mode LFRCO for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 142 | #define _BURTC_CTRL_CLKSEL_LFXO 0x00000002UL /**< Mode LFXO for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 143 | #define _BURTC_CTRL_CLKSEL_ULFRCO 0x00000003UL /**< Mode ULFRCO for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 144 | #define BURTC_CTRL_CLKSEL_DEFAULT (_BURTC_CTRL_CLKSEL_DEFAULT << 12) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 145 | #define BURTC_CTRL_CLKSEL_NONE (_BURTC_CTRL_CLKSEL_NONE << 12) /**< Shifted mode NONE for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 146 | #define BURTC_CTRL_CLKSEL_LFRCO (_BURTC_CTRL_CLKSEL_LFRCO << 12) /**< Shifted mode LFRCO for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 147 | #define BURTC_CTRL_CLKSEL_LFXO (_BURTC_CTRL_CLKSEL_LFXO << 12) /**< Shifted mode LFXO for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 148 | #define BURTC_CTRL_CLKSEL_ULFRCO (_BURTC_CTRL_CLKSEL_ULFRCO << 12) /**< Shifted mode ULFRCO for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 149 | #define BURTC_CTRL_BUMODETSEN (0x1UL << 14) /**< Backup mode timestamp enable */ |
Kojto | 98:8ab26030e058 | 150 | #define _BURTC_CTRL_BUMODETSEN_SHIFT 14 /**< Shift value for BURTC_BUMODETSEN */ |
Kojto | 98:8ab26030e058 | 151 | #define _BURTC_CTRL_BUMODETSEN_MASK 0x4000UL /**< Bit mask for BURTC_BUMODETSEN */ |
Kojto | 98:8ab26030e058 | 152 | #define _BURTC_CTRL_BUMODETSEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 153 | #define BURTC_CTRL_BUMODETSEN_DEFAULT (_BURTC_CTRL_BUMODETSEN_DEFAULT << 14) /**< Shifted mode DEFAULT for BURTC_CTRL */ |
Kojto | 98:8ab26030e058 | 154 | |
Kojto | 98:8ab26030e058 | 155 | /* Bit fields for BURTC LPMODE */ |
Kojto | 98:8ab26030e058 | 156 | #define _BURTC_LPMODE_RESETVALUE 0x00000000UL /**< Default value for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 157 | #define _BURTC_LPMODE_MASK 0x00000003UL /**< Mask for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 158 | #define _BURTC_LPMODE_LPMODE_SHIFT 0 /**< Shift value for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 159 | #define _BURTC_LPMODE_LPMODE_MASK 0x3UL /**< Bit mask for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 160 | #define _BURTC_LPMODE_LPMODE_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 161 | #define _BURTC_LPMODE_LPMODE_DISABLE 0x00000000UL /**< Mode DISABLE for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 162 | #define _BURTC_LPMODE_LPMODE_ENABLE 0x00000001UL /**< Mode ENABLE for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 163 | #define _BURTC_LPMODE_LPMODE_BUEN 0x00000002UL /**< Mode BUEN for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 164 | #define BURTC_LPMODE_LPMODE_DEFAULT (_BURTC_LPMODE_LPMODE_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 165 | #define BURTC_LPMODE_LPMODE_DISABLE (_BURTC_LPMODE_LPMODE_DISABLE << 0) /**< Shifted mode DISABLE for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 166 | #define BURTC_LPMODE_LPMODE_ENABLE (_BURTC_LPMODE_LPMODE_ENABLE << 0) /**< Shifted mode ENABLE for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 167 | #define BURTC_LPMODE_LPMODE_BUEN (_BURTC_LPMODE_LPMODE_BUEN << 0) /**< Shifted mode BUEN for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 168 | |
Kojto | 98:8ab26030e058 | 169 | /* Bit fields for BURTC CNT */ |
Kojto | 98:8ab26030e058 | 170 | #define _BURTC_CNT_RESETVALUE 0x00000000UL /**< Default value for BURTC_CNT */ |
Kojto | 98:8ab26030e058 | 171 | #define _BURTC_CNT_MASK 0xFFFFFFFFUL /**< Mask for BURTC_CNT */ |
Kojto | 98:8ab26030e058 | 172 | #define _BURTC_CNT_CNT_SHIFT 0 /**< Shift value for BURTC_CNT */ |
Kojto | 98:8ab26030e058 | 173 | #define _BURTC_CNT_CNT_MASK 0xFFFFFFFFUL /**< Bit mask for BURTC_CNT */ |
Kojto | 98:8ab26030e058 | 174 | #define _BURTC_CNT_CNT_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CNT */ |
Kojto | 98:8ab26030e058 | 175 | #define BURTC_CNT_CNT_DEFAULT (_BURTC_CNT_CNT_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_CNT */ |
Kojto | 98:8ab26030e058 | 176 | |
Kojto | 98:8ab26030e058 | 177 | /* Bit fields for BURTC COMP0 */ |
Kojto | 98:8ab26030e058 | 178 | #define _BURTC_COMP0_RESETVALUE 0x00000000UL /**< Default value for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 179 | #define _BURTC_COMP0_MASK 0xFFFFFFFFUL /**< Mask for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 180 | #define _BURTC_COMP0_COMP0_SHIFT 0 /**< Shift value for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 181 | #define _BURTC_COMP0_COMP0_MASK 0xFFFFFFFFUL /**< Bit mask for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 182 | #define _BURTC_COMP0_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 183 | #define BURTC_COMP0_COMP0_DEFAULT (_BURTC_COMP0_COMP0_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 184 | |
Kojto | 98:8ab26030e058 | 185 | /* Bit fields for BURTC TIMESTAMP */ |
Kojto | 98:8ab26030e058 | 186 | #define _BURTC_TIMESTAMP_RESETVALUE 0x00000000UL /**< Default value for BURTC_TIMESTAMP */ |
Kojto | 98:8ab26030e058 | 187 | #define _BURTC_TIMESTAMP_MASK 0xFFFFFFFFUL /**< Mask for BURTC_TIMESTAMP */ |
Kojto | 98:8ab26030e058 | 188 | #define _BURTC_TIMESTAMP_TIMESTAMP_SHIFT 0 /**< Shift value for BURTC_TIMESTAMP */ |
Kojto | 98:8ab26030e058 | 189 | #define _BURTC_TIMESTAMP_TIMESTAMP_MASK 0xFFFFFFFFUL /**< Bit mask for BURTC_TIMESTAMP */ |
Kojto | 98:8ab26030e058 | 190 | #define _BURTC_TIMESTAMP_TIMESTAMP_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_TIMESTAMP */ |
Kojto | 98:8ab26030e058 | 191 | #define BURTC_TIMESTAMP_TIMESTAMP_DEFAULT (_BURTC_TIMESTAMP_TIMESTAMP_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_TIMESTAMP */ |
Kojto | 98:8ab26030e058 | 192 | |
Kojto | 98:8ab26030e058 | 193 | /* Bit fields for BURTC LFXOFDET */ |
Kojto | 98:8ab26030e058 | 194 | #define _BURTC_LFXOFDET_RESETVALUE 0x00000000UL /**< Default value for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 195 | #define _BURTC_LFXOFDET_MASK 0x000001F3UL /**< Mask for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 196 | #define _BURTC_LFXOFDET_OSC_SHIFT 0 /**< Shift value for BURTC_OSC */ |
Kojto | 98:8ab26030e058 | 197 | #define _BURTC_LFXOFDET_OSC_MASK 0x3UL /**< Bit mask for BURTC_OSC */ |
Kojto | 98:8ab26030e058 | 198 | #define _BURTC_LFXOFDET_OSC_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 199 | #define _BURTC_LFXOFDET_OSC_DISABLE 0x00000000UL /**< Mode DISABLE for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 200 | #define _BURTC_LFXOFDET_OSC_LFRCO 0x00000001UL /**< Mode LFRCO for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 201 | #define _BURTC_LFXOFDET_OSC_ULFRCO 0x00000002UL /**< Mode ULFRCO for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 202 | #define BURTC_LFXOFDET_OSC_DEFAULT (_BURTC_LFXOFDET_OSC_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 203 | #define BURTC_LFXOFDET_OSC_DISABLE (_BURTC_LFXOFDET_OSC_DISABLE << 0) /**< Shifted mode DISABLE for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 204 | #define BURTC_LFXOFDET_OSC_LFRCO (_BURTC_LFXOFDET_OSC_LFRCO << 0) /**< Shifted mode LFRCO for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 205 | #define BURTC_LFXOFDET_OSC_ULFRCO (_BURTC_LFXOFDET_OSC_ULFRCO << 0) /**< Shifted mode ULFRCO for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 206 | #define _BURTC_LFXOFDET_TOP_SHIFT 4 /**< Shift value for BURTC_TOP */ |
Kojto | 98:8ab26030e058 | 207 | #define _BURTC_LFXOFDET_TOP_MASK 0x1F0UL /**< Bit mask for BURTC_TOP */ |
Kojto | 98:8ab26030e058 | 208 | #define _BURTC_LFXOFDET_TOP_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 209 | #define BURTC_LFXOFDET_TOP_DEFAULT (_BURTC_LFXOFDET_TOP_DEFAULT << 4) /**< Shifted mode DEFAULT for BURTC_LFXOFDET */ |
Kojto | 98:8ab26030e058 | 210 | |
Kojto | 98:8ab26030e058 | 211 | /* Bit fields for BURTC STATUS */ |
Kojto | 98:8ab26030e058 | 212 | #define _BURTC_STATUS_RESETVALUE 0x00000000UL /**< Default value for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 213 | #define _BURTC_STATUS_MASK 0x00000007UL /**< Mask for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 214 | #define BURTC_STATUS_LPMODEACT (0x1UL << 0) /**< Low power mode active */ |
Kojto | 98:8ab26030e058 | 215 | #define _BURTC_STATUS_LPMODEACT_SHIFT 0 /**< Shift value for BURTC_LPMODEACT */ |
Kojto | 98:8ab26030e058 | 216 | #define _BURTC_STATUS_LPMODEACT_MASK 0x1UL /**< Bit mask for BURTC_LPMODEACT */ |
Kojto | 98:8ab26030e058 | 217 | #define _BURTC_STATUS_LPMODEACT_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 218 | #define BURTC_STATUS_LPMODEACT_DEFAULT (_BURTC_STATUS_LPMODEACT_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 219 | #define BURTC_STATUS_BUMODETS (0x1UL << 1) /**< Timestamp for backup mode entry stored. */ |
Kojto | 98:8ab26030e058 | 220 | #define _BURTC_STATUS_BUMODETS_SHIFT 1 /**< Shift value for BURTC_BUMODETS */ |
Kojto | 98:8ab26030e058 | 221 | #define _BURTC_STATUS_BUMODETS_MASK 0x2UL /**< Bit mask for BURTC_BUMODETS */ |
Kojto | 98:8ab26030e058 | 222 | #define _BURTC_STATUS_BUMODETS_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 223 | #define BURTC_STATUS_BUMODETS_DEFAULT (_BURTC_STATUS_BUMODETS_DEFAULT << 1) /**< Shifted mode DEFAULT for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 224 | #define BURTC_STATUS_RAMWERR (0x1UL << 2) /**< RAM write error. */ |
Kojto | 98:8ab26030e058 | 225 | #define _BURTC_STATUS_RAMWERR_SHIFT 2 /**< Shift value for BURTC_RAMWERR */ |
Kojto | 98:8ab26030e058 | 226 | #define _BURTC_STATUS_RAMWERR_MASK 0x4UL /**< Bit mask for BURTC_RAMWERR */ |
Kojto | 98:8ab26030e058 | 227 | #define _BURTC_STATUS_RAMWERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 228 | #define BURTC_STATUS_RAMWERR_DEFAULT (_BURTC_STATUS_RAMWERR_DEFAULT << 2) /**< Shifted mode DEFAULT for BURTC_STATUS */ |
Kojto | 98:8ab26030e058 | 229 | |
Kojto | 98:8ab26030e058 | 230 | /* Bit fields for BURTC CMD */ |
Kojto | 98:8ab26030e058 | 231 | #define _BURTC_CMD_RESETVALUE 0x00000000UL /**< Default value for BURTC_CMD */ |
Kojto | 98:8ab26030e058 | 232 | #define _BURTC_CMD_MASK 0x00000001UL /**< Mask for BURTC_CMD */ |
Kojto | 98:8ab26030e058 | 233 | #define BURTC_CMD_CLRSTATUS (0x1UL << 0) /**< Clear BURTC_STATUS register. */ |
Kojto | 98:8ab26030e058 | 234 | #define _BURTC_CMD_CLRSTATUS_SHIFT 0 /**< Shift value for BURTC_CLRSTATUS */ |
Kojto | 98:8ab26030e058 | 235 | #define _BURTC_CMD_CLRSTATUS_MASK 0x1UL /**< Bit mask for BURTC_CLRSTATUS */ |
Kojto | 98:8ab26030e058 | 236 | #define _BURTC_CMD_CLRSTATUS_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_CMD */ |
Kojto | 98:8ab26030e058 | 237 | #define BURTC_CMD_CLRSTATUS_DEFAULT (_BURTC_CMD_CLRSTATUS_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_CMD */ |
Kojto | 98:8ab26030e058 | 238 | |
Kojto | 98:8ab26030e058 | 239 | /* Bit fields for BURTC POWERDOWN */ |
Kojto | 98:8ab26030e058 | 240 | #define _BURTC_POWERDOWN_RESETVALUE 0x00000000UL /**< Default value for BURTC_POWERDOWN */ |
Kojto | 98:8ab26030e058 | 241 | #define _BURTC_POWERDOWN_MASK 0x00000001UL /**< Mask for BURTC_POWERDOWN */ |
Kojto | 98:8ab26030e058 | 242 | #define BURTC_POWERDOWN_RAM (0x1UL << 0) /**< Retention RAM power-down */ |
Kojto | 98:8ab26030e058 | 243 | #define _BURTC_POWERDOWN_RAM_SHIFT 0 /**< Shift value for BURTC_RAM */ |
Kojto | 98:8ab26030e058 | 244 | #define _BURTC_POWERDOWN_RAM_MASK 0x1UL /**< Bit mask for BURTC_RAM */ |
Kojto | 98:8ab26030e058 | 245 | #define _BURTC_POWERDOWN_RAM_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_POWERDOWN */ |
Kojto | 98:8ab26030e058 | 246 | #define BURTC_POWERDOWN_RAM_DEFAULT (_BURTC_POWERDOWN_RAM_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_POWERDOWN */ |
Kojto | 98:8ab26030e058 | 247 | |
Kojto | 98:8ab26030e058 | 248 | /* Bit fields for BURTC LOCK */ |
Kojto | 98:8ab26030e058 | 249 | #define _BURTC_LOCK_RESETVALUE 0x00000000UL /**< Default value for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 250 | #define _BURTC_LOCK_MASK 0x0000FFFFUL /**< Mask for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 251 | #define _BURTC_LOCK_LOCKKEY_SHIFT 0 /**< Shift value for BURTC_LOCKKEY */ |
Kojto | 98:8ab26030e058 | 252 | #define _BURTC_LOCK_LOCKKEY_MASK 0xFFFFUL /**< Bit mask for BURTC_LOCKKEY */ |
Kojto | 98:8ab26030e058 | 253 | #define _BURTC_LOCK_LOCKKEY_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 254 | #define _BURTC_LOCK_LOCKKEY_LOCK 0x00000000UL /**< Mode LOCK for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 255 | #define _BURTC_LOCK_LOCKKEY_UNLOCKED 0x00000000UL /**< Mode UNLOCKED for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 256 | #define _BURTC_LOCK_LOCKKEY_LOCKED 0x00000001UL /**< Mode LOCKED for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 257 | #define _BURTC_LOCK_LOCKKEY_UNLOCK 0x0000AEE8UL /**< Mode UNLOCK for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 258 | #define BURTC_LOCK_LOCKKEY_DEFAULT (_BURTC_LOCK_LOCKKEY_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 259 | #define BURTC_LOCK_LOCKKEY_LOCK (_BURTC_LOCK_LOCKKEY_LOCK << 0) /**< Shifted mode LOCK for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 260 | #define BURTC_LOCK_LOCKKEY_UNLOCKED (_BURTC_LOCK_LOCKKEY_UNLOCKED << 0) /**< Shifted mode UNLOCKED for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 261 | #define BURTC_LOCK_LOCKKEY_LOCKED (_BURTC_LOCK_LOCKKEY_LOCKED << 0) /**< Shifted mode LOCKED for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 262 | #define BURTC_LOCK_LOCKKEY_UNLOCK (_BURTC_LOCK_LOCKKEY_UNLOCK << 0) /**< Shifted mode UNLOCK for BURTC_LOCK */ |
Kojto | 98:8ab26030e058 | 263 | |
Kojto | 98:8ab26030e058 | 264 | /* Bit fields for BURTC IF */ |
Kojto | 98:8ab26030e058 | 265 | #define _BURTC_IF_RESETVALUE 0x00000000UL /**< Default value for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 266 | #define _BURTC_IF_MASK 0x00000007UL /**< Mask for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 267 | #define BURTC_IF_OF (0x1UL << 0) /**< Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 268 | #define _BURTC_IF_OF_SHIFT 0 /**< Shift value for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 269 | #define _BURTC_IF_OF_MASK 0x1UL /**< Bit mask for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 270 | #define _BURTC_IF_OF_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 271 | #define BURTC_IF_OF_DEFAULT (_BURTC_IF_OF_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 272 | #define BURTC_IF_COMP0 (0x1UL << 1) /**< Compare match Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 273 | #define _BURTC_IF_COMP0_SHIFT 1 /**< Shift value for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 274 | #define _BURTC_IF_COMP0_MASK 0x2UL /**< Bit mask for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 275 | #define _BURTC_IF_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 276 | #define BURTC_IF_COMP0_DEFAULT (_BURTC_IF_COMP0_DEFAULT << 1) /**< Shifted mode DEFAULT for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 277 | #define BURTC_IF_LFXOFAIL (0x1UL << 2) /**< LFXO failure Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 278 | #define _BURTC_IF_LFXOFAIL_SHIFT 2 /**< Shift value for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 279 | #define _BURTC_IF_LFXOFAIL_MASK 0x4UL /**< Bit mask for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 280 | #define _BURTC_IF_LFXOFAIL_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 281 | #define BURTC_IF_LFXOFAIL_DEFAULT (_BURTC_IF_LFXOFAIL_DEFAULT << 2) /**< Shifted mode DEFAULT for BURTC_IF */ |
Kojto | 98:8ab26030e058 | 282 | |
Kojto | 98:8ab26030e058 | 283 | /* Bit fields for BURTC IFS */ |
Kojto | 98:8ab26030e058 | 284 | #define _BURTC_IFS_RESETVALUE 0x00000000UL /**< Default value for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 285 | #define _BURTC_IFS_MASK 0x00000007UL /**< Mask for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 286 | #define BURTC_IFS_OF (0x1UL << 0) /**< Set Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 287 | #define _BURTC_IFS_OF_SHIFT 0 /**< Shift value for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 288 | #define _BURTC_IFS_OF_MASK 0x1UL /**< Bit mask for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 289 | #define _BURTC_IFS_OF_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 290 | #define BURTC_IFS_OF_DEFAULT (_BURTC_IFS_OF_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 291 | #define BURTC_IFS_COMP0 (0x1UL << 1) /**< Set compare match Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 292 | #define _BURTC_IFS_COMP0_SHIFT 1 /**< Shift value for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 293 | #define _BURTC_IFS_COMP0_MASK 0x2UL /**< Bit mask for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 294 | #define _BURTC_IFS_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 295 | #define BURTC_IFS_COMP0_DEFAULT (_BURTC_IFS_COMP0_DEFAULT << 1) /**< Shifted mode DEFAULT for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 296 | #define BURTC_IFS_LFXOFAIL (0x1UL << 2) /**< Set LFXO fail Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 297 | #define _BURTC_IFS_LFXOFAIL_SHIFT 2 /**< Shift value for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 298 | #define _BURTC_IFS_LFXOFAIL_MASK 0x4UL /**< Bit mask for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 299 | #define _BURTC_IFS_LFXOFAIL_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 300 | #define BURTC_IFS_LFXOFAIL_DEFAULT (_BURTC_IFS_LFXOFAIL_DEFAULT << 2) /**< Shifted mode DEFAULT for BURTC_IFS */ |
Kojto | 98:8ab26030e058 | 301 | |
Kojto | 98:8ab26030e058 | 302 | /* Bit fields for BURTC IFC */ |
Kojto | 98:8ab26030e058 | 303 | #define _BURTC_IFC_RESETVALUE 0x00000000UL /**< Default value for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 304 | #define _BURTC_IFC_MASK 0x00000007UL /**< Mask for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 305 | #define BURTC_IFC_OF (0x1UL << 0) /**< Clear Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 306 | #define _BURTC_IFC_OF_SHIFT 0 /**< Shift value for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 307 | #define _BURTC_IFC_OF_MASK 0x1UL /**< Bit mask for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 308 | #define _BURTC_IFC_OF_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 309 | #define BURTC_IFC_OF_DEFAULT (_BURTC_IFC_OF_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 310 | #define BURTC_IFC_COMP0 (0x1UL << 1) /**< Clear compare match Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 311 | #define _BURTC_IFC_COMP0_SHIFT 1 /**< Shift value for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 312 | #define _BURTC_IFC_COMP0_MASK 0x2UL /**< Bit mask for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 313 | #define _BURTC_IFC_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 314 | #define BURTC_IFC_COMP0_DEFAULT (_BURTC_IFC_COMP0_DEFAULT << 1) /**< Shifted mode DEFAULT for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 315 | #define BURTC_IFC_LFXOFAIL (0x1UL << 2) /**< Clear LFXO failure Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 316 | #define _BURTC_IFC_LFXOFAIL_SHIFT 2 /**< Shift value for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 317 | #define _BURTC_IFC_LFXOFAIL_MASK 0x4UL /**< Bit mask for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 318 | #define _BURTC_IFC_LFXOFAIL_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 319 | #define BURTC_IFC_LFXOFAIL_DEFAULT (_BURTC_IFC_LFXOFAIL_DEFAULT << 2) /**< Shifted mode DEFAULT for BURTC_IFC */ |
Kojto | 98:8ab26030e058 | 320 | |
Kojto | 98:8ab26030e058 | 321 | /* Bit fields for BURTC IEN */ |
Kojto | 98:8ab26030e058 | 322 | #define _BURTC_IEN_RESETVALUE 0x00000000UL /**< Default value for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 323 | #define _BURTC_IEN_MASK 0x00000007UL /**< Mask for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 324 | #define BURTC_IEN_OF (0x1UL << 0) /**< Overflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 325 | #define _BURTC_IEN_OF_SHIFT 0 /**< Shift value for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 326 | #define _BURTC_IEN_OF_MASK 0x1UL /**< Bit mask for BURTC_OF */ |
Kojto | 98:8ab26030e058 | 327 | #define _BURTC_IEN_OF_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 328 | #define BURTC_IEN_OF_DEFAULT (_BURTC_IEN_OF_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 329 | #define BURTC_IEN_COMP0 (0x1UL << 1) /**< Compare match Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 330 | #define _BURTC_IEN_COMP0_SHIFT 1 /**< Shift value for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 331 | #define _BURTC_IEN_COMP0_MASK 0x2UL /**< Bit mask for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 332 | #define _BURTC_IEN_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 333 | #define BURTC_IEN_COMP0_DEFAULT (_BURTC_IEN_COMP0_DEFAULT << 1) /**< Shifted mode DEFAULT for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 334 | #define BURTC_IEN_LFXOFAIL (0x1UL << 2) /**< LFXO failure Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 335 | #define _BURTC_IEN_LFXOFAIL_SHIFT 2 /**< Shift value for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 336 | #define _BURTC_IEN_LFXOFAIL_MASK 0x4UL /**< Bit mask for BURTC_LFXOFAIL */ |
Kojto | 98:8ab26030e058 | 337 | #define _BURTC_IEN_LFXOFAIL_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 338 | #define BURTC_IEN_LFXOFAIL_DEFAULT (_BURTC_IEN_LFXOFAIL_DEFAULT << 2) /**< Shifted mode DEFAULT for BURTC_IEN */ |
Kojto | 98:8ab26030e058 | 339 | |
Kojto | 98:8ab26030e058 | 340 | /* Bit fields for BURTC FREEZE */ |
Kojto | 98:8ab26030e058 | 341 | #define _BURTC_FREEZE_RESETVALUE 0x00000000UL /**< Default value for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 342 | #define _BURTC_FREEZE_MASK 0x00000001UL /**< Mask for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 343 | #define BURTC_FREEZE_REGFREEZE (0x1UL << 0) /**< Register Update Freeze */ |
Kojto | 98:8ab26030e058 | 344 | #define _BURTC_FREEZE_REGFREEZE_SHIFT 0 /**< Shift value for BURTC_REGFREEZE */ |
Kojto | 98:8ab26030e058 | 345 | #define _BURTC_FREEZE_REGFREEZE_MASK 0x1UL /**< Bit mask for BURTC_REGFREEZE */ |
Kojto | 98:8ab26030e058 | 346 | #define _BURTC_FREEZE_REGFREEZE_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 347 | #define _BURTC_FREEZE_REGFREEZE_UPDATE 0x00000000UL /**< Mode UPDATE for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 348 | #define _BURTC_FREEZE_REGFREEZE_FREEZE 0x00000001UL /**< Mode FREEZE for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 349 | #define BURTC_FREEZE_REGFREEZE_DEFAULT (_BURTC_FREEZE_REGFREEZE_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 350 | #define BURTC_FREEZE_REGFREEZE_UPDATE (_BURTC_FREEZE_REGFREEZE_UPDATE << 0) /**< Shifted mode UPDATE for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 351 | #define BURTC_FREEZE_REGFREEZE_FREEZE (_BURTC_FREEZE_REGFREEZE_FREEZE << 0) /**< Shifted mode FREEZE for BURTC_FREEZE */ |
Kojto | 98:8ab26030e058 | 352 | |
Kojto | 98:8ab26030e058 | 353 | /* Bit fields for BURTC SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 354 | #define _BURTC_SYNCBUSY_RESETVALUE 0x00000000UL /**< Default value for BURTC_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 355 | #define _BURTC_SYNCBUSY_MASK 0x00000003UL /**< Mask for BURTC_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 356 | #define BURTC_SYNCBUSY_LPMODE (0x1UL << 0) /**< LPMODE Register Busy */ |
Kojto | 98:8ab26030e058 | 357 | #define _BURTC_SYNCBUSY_LPMODE_SHIFT 0 /**< Shift value for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 358 | #define _BURTC_SYNCBUSY_LPMODE_MASK 0x1UL /**< Bit mask for BURTC_LPMODE */ |
Kojto | 98:8ab26030e058 | 359 | #define _BURTC_SYNCBUSY_LPMODE_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 360 | #define BURTC_SYNCBUSY_LPMODE_DEFAULT (_BURTC_SYNCBUSY_LPMODE_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 361 | #define BURTC_SYNCBUSY_COMP0 (0x1UL << 1) /**< COMP0 Register Busy */ |
Kojto | 98:8ab26030e058 | 362 | #define _BURTC_SYNCBUSY_COMP0_SHIFT 1 /**< Shift value for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 363 | #define _BURTC_SYNCBUSY_COMP0_MASK 0x2UL /**< Bit mask for BURTC_COMP0 */ |
Kojto | 98:8ab26030e058 | 364 | #define _BURTC_SYNCBUSY_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 365 | #define BURTC_SYNCBUSY_COMP0_DEFAULT (_BURTC_SYNCBUSY_COMP0_DEFAULT << 1) /**< Shifted mode DEFAULT for BURTC_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 366 | |
Kojto | 98:8ab26030e058 | 367 | /* Bit fields for BURTC RET_REG */ |
Kojto | 98:8ab26030e058 | 368 | #define _BURTC_RET_REG_RESETVALUE 0x00000000UL /**< Default value for BURTC_RET_REG */ |
Kojto | 98:8ab26030e058 | 369 | #define _BURTC_RET_REG_MASK 0xFFFFFFFFUL /**< Mask for BURTC_RET_REG */ |
Kojto | 98:8ab26030e058 | 370 | #define _BURTC_RET_REG_REG_SHIFT 0 /**< Shift value for REG */ |
Kojto | 98:8ab26030e058 | 371 | #define _BURTC_RET_REG_REG_MASK 0xFFFFFFFFUL /**< Bit mask for REG */ |
Kojto | 98:8ab26030e058 | 372 | #define _BURTC_RET_REG_REG_DEFAULT 0x00000000UL /**< Mode DEFAULT for BURTC_RET_REG */ |
Kojto | 98:8ab26030e058 | 373 | #define BURTC_RET_REG_REG_DEFAULT (_BURTC_RET_REG_REG_DEFAULT << 0) /**< Shifted mode DEFAULT for BURTC_RET_REG */ |
Kojto | 98:8ab26030e058 | 374 | |
Kojto | 98:8ab26030e058 | 375 | /** @} End of group EFM32GG_BURTC */ |
Kojto | 98:8ab26030e058 | 376 | |
Kojto | 98:8ab26030e058 | 377 |