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