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 mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
113:f141b2784e32
.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 98:8ab26030e058 1 /**************************************************************************//**
Kojto 98:8ab26030e058 2 * @file efm32gg_letimer.h
Kojto 98:8ab26030e058 3 * @brief EFM32GG_LETIMER 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_LETIMER
Kojto 98:8ab26030e058 38 * @{
Kojto 98:8ab26030e058 39 * @brief EFM32GG_LETIMER 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 CMD; /**< Command Register */
Kojto 98:8ab26030e058 45 __I uint32_t STATUS; /**< Status Register */
Kojto 98:8ab26030e058 46 __IO uint32_t CNT; /**< Counter Value Register */
Kojto 98:8ab26030e058 47 __IO uint32_t COMP0; /**< Compare Value Register 0 */
Kojto 98:8ab26030e058 48 __IO uint32_t COMP1; /**< Compare Value Register 1 */
Kojto 98:8ab26030e058 49 __IO uint32_t REP0; /**< Repeat Counter Register 0 */
Kojto 98:8ab26030e058 50 __IO uint32_t REP1; /**< Repeat Counter Register 1 */
Kojto 98:8ab26030e058 51 __I uint32_t IF; /**< Interrupt Flag Register */
Kojto 98:8ab26030e058 52 __IO uint32_t IFS; /**< Interrupt Flag Set Register */
Kojto 98:8ab26030e058 53 __IO uint32_t IFC; /**< Interrupt Flag Clear Register */
Kojto 98:8ab26030e058 54 __IO uint32_t IEN; /**< Interrupt Enable Register */
Kojto 98:8ab26030e058 55
Kojto 98:8ab26030e058 56 __IO uint32_t FREEZE; /**< Freeze Register */
Kojto 98:8ab26030e058 57 __I uint32_t SYNCBUSY; /**< Synchronization Busy Register */
Kojto 98:8ab26030e058 58
Kojto 98:8ab26030e058 59 uint32_t RESERVED0[2]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 60 __IO uint32_t ROUTE; /**< I/O Routing Register */
Kojto 98:8ab26030e058 61 } LETIMER_TypeDef; /** @} */
Kojto 98:8ab26030e058 62
Kojto 98:8ab26030e058 63 /**************************************************************************//**
Kojto 98:8ab26030e058 64 * @defgroup EFM32GG_LETIMER_BitFields
Kojto 98:8ab26030e058 65 * @{
Kojto 98:8ab26030e058 66 *****************************************************************************/
Kojto 98:8ab26030e058 67
Kojto 98:8ab26030e058 68 /* Bit fields for LETIMER CTRL */
Kojto 98:8ab26030e058 69 #define _LETIMER_CTRL_RESETVALUE 0x00000000UL /**< Default value for LETIMER_CTRL */
Kojto 98:8ab26030e058 70 #define _LETIMER_CTRL_MASK 0x00001FFFUL /**< Mask for LETIMER_CTRL */
Kojto 98:8ab26030e058 71 #define _LETIMER_CTRL_REPMODE_SHIFT 0 /**< Shift value for LETIMER_REPMODE */
Kojto 98:8ab26030e058 72 #define _LETIMER_CTRL_REPMODE_MASK 0x3UL /**< Bit mask for LETIMER_REPMODE */
Kojto 98:8ab26030e058 73 #define _LETIMER_CTRL_REPMODE_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 74 #define _LETIMER_CTRL_REPMODE_FREE 0x00000000UL /**< Mode FREE for LETIMER_CTRL */
Kojto 98:8ab26030e058 75 #define _LETIMER_CTRL_REPMODE_ONESHOT 0x00000001UL /**< Mode ONESHOT for LETIMER_CTRL */
Kojto 98:8ab26030e058 76 #define _LETIMER_CTRL_REPMODE_BUFFERED 0x00000002UL /**< Mode BUFFERED for LETIMER_CTRL */
Kojto 98:8ab26030e058 77 #define _LETIMER_CTRL_REPMODE_DOUBLE 0x00000003UL /**< Mode DOUBLE for LETIMER_CTRL */
Kojto 98:8ab26030e058 78 #define LETIMER_CTRL_REPMODE_DEFAULT (_LETIMER_CTRL_REPMODE_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 79 #define LETIMER_CTRL_REPMODE_FREE (_LETIMER_CTRL_REPMODE_FREE << 0) /**< Shifted mode FREE for LETIMER_CTRL */
Kojto 98:8ab26030e058 80 #define LETIMER_CTRL_REPMODE_ONESHOT (_LETIMER_CTRL_REPMODE_ONESHOT << 0) /**< Shifted mode ONESHOT for LETIMER_CTRL */
Kojto 98:8ab26030e058 81 #define LETIMER_CTRL_REPMODE_BUFFERED (_LETIMER_CTRL_REPMODE_BUFFERED << 0) /**< Shifted mode BUFFERED for LETIMER_CTRL */
Kojto 98:8ab26030e058 82 #define LETIMER_CTRL_REPMODE_DOUBLE (_LETIMER_CTRL_REPMODE_DOUBLE << 0) /**< Shifted mode DOUBLE for LETIMER_CTRL */
Kojto 98:8ab26030e058 83 #define _LETIMER_CTRL_UFOA0_SHIFT 2 /**< Shift value for LETIMER_UFOA0 */
Kojto 98:8ab26030e058 84 #define _LETIMER_CTRL_UFOA0_MASK 0xCUL /**< Bit mask for LETIMER_UFOA0 */
Kojto 98:8ab26030e058 85 #define _LETIMER_CTRL_UFOA0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 86 #define _LETIMER_CTRL_UFOA0_NONE 0x00000000UL /**< Mode NONE for LETIMER_CTRL */
Kojto 98:8ab26030e058 87 #define _LETIMER_CTRL_UFOA0_TOGGLE 0x00000001UL /**< Mode TOGGLE for LETIMER_CTRL */
Kojto 98:8ab26030e058 88 #define _LETIMER_CTRL_UFOA0_PULSE 0x00000002UL /**< Mode PULSE for LETIMER_CTRL */
Kojto 98:8ab26030e058 89 #define _LETIMER_CTRL_UFOA0_PWM 0x00000003UL /**< Mode PWM for LETIMER_CTRL */
Kojto 98:8ab26030e058 90 #define LETIMER_CTRL_UFOA0_DEFAULT (_LETIMER_CTRL_UFOA0_DEFAULT << 2) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 91 #define LETIMER_CTRL_UFOA0_NONE (_LETIMER_CTRL_UFOA0_NONE << 2) /**< Shifted mode NONE for LETIMER_CTRL */
Kojto 98:8ab26030e058 92 #define LETIMER_CTRL_UFOA0_TOGGLE (_LETIMER_CTRL_UFOA0_TOGGLE << 2) /**< Shifted mode TOGGLE for LETIMER_CTRL */
Kojto 98:8ab26030e058 93 #define LETIMER_CTRL_UFOA0_PULSE (_LETIMER_CTRL_UFOA0_PULSE << 2) /**< Shifted mode PULSE for LETIMER_CTRL */
Kojto 98:8ab26030e058 94 #define LETIMER_CTRL_UFOA0_PWM (_LETIMER_CTRL_UFOA0_PWM << 2) /**< Shifted mode PWM for LETIMER_CTRL */
Kojto 98:8ab26030e058 95 #define _LETIMER_CTRL_UFOA1_SHIFT 4 /**< Shift value for LETIMER_UFOA1 */
Kojto 98:8ab26030e058 96 #define _LETIMER_CTRL_UFOA1_MASK 0x30UL /**< Bit mask for LETIMER_UFOA1 */
Kojto 98:8ab26030e058 97 #define _LETIMER_CTRL_UFOA1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 98 #define _LETIMER_CTRL_UFOA1_NONE 0x00000000UL /**< Mode NONE for LETIMER_CTRL */
Kojto 98:8ab26030e058 99 #define _LETIMER_CTRL_UFOA1_TOGGLE 0x00000001UL /**< Mode TOGGLE for LETIMER_CTRL */
Kojto 98:8ab26030e058 100 #define _LETIMER_CTRL_UFOA1_PULSE 0x00000002UL /**< Mode PULSE for LETIMER_CTRL */
Kojto 98:8ab26030e058 101 #define _LETIMER_CTRL_UFOA1_PWM 0x00000003UL /**< Mode PWM for LETIMER_CTRL */
Kojto 98:8ab26030e058 102 #define LETIMER_CTRL_UFOA1_DEFAULT (_LETIMER_CTRL_UFOA1_DEFAULT << 4) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 103 #define LETIMER_CTRL_UFOA1_NONE (_LETIMER_CTRL_UFOA1_NONE << 4) /**< Shifted mode NONE for LETIMER_CTRL */
Kojto 98:8ab26030e058 104 #define LETIMER_CTRL_UFOA1_TOGGLE (_LETIMER_CTRL_UFOA1_TOGGLE << 4) /**< Shifted mode TOGGLE for LETIMER_CTRL */
Kojto 98:8ab26030e058 105 #define LETIMER_CTRL_UFOA1_PULSE (_LETIMER_CTRL_UFOA1_PULSE << 4) /**< Shifted mode PULSE for LETIMER_CTRL */
Kojto 98:8ab26030e058 106 #define LETIMER_CTRL_UFOA1_PWM (_LETIMER_CTRL_UFOA1_PWM << 4) /**< Shifted mode PWM for LETIMER_CTRL */
Kojto 98:8ab26030e058 107 #define LETIMER_CTRL_OPOL0 (0x1UL << 6) /**< Output 0 Polarity */
Kojto 98:8ab26030e058 108 #define _LETIMER_CTRL_OPOL0_SHIFT 6 /**< Shift value for LETIMER_OPOL0 */
Kojto 98:8ab26030e058 109 #define _LETIMER_CTRL_OPOL0_MASK 0x40UL /**< Bit mask for LETIMER_OPOL0 */
Kojto 98:8ab26030e058 110 #define _LETIMER_CTRL_OPOL0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 111 #define LETIMER_CTRL_OPOL0_DEFAULT (_LETIMER_CTRL_OPOL0_DEFAULT << 6) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 112 #define LETIMER_CTRL_OPOL1 (0x1UL << 7) /**< Output 1 Polarity */
Kojto 98:8ab26030e058 113 #define _LETIMER_CTRL_OPOL1_SHIFT 7 /**< Shift value for LETIMER_OPOL1 */
Kojto 98:8ab26030e058 114 #define _LETIMER_CTRL_OPOL1_MASK 0x80UL /**< Bit mask for LETIMER_OPOL1 */
Kojto 98:8ab26030e058 115 #define _LETIMER_CTRL_OPOL1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 116 #define LETIMER_CTRL_OPOL1_DEFAULT (_LETIMER_CTRL_OPOL1_DEFAULT << 7) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 117 #define LETIMER_CTRL_BUFTOP (0x1UL << 8) /**< Buffered Top */
Kojto 98:8ab26030e058 118 #define _LETIMER_CTRL_BUFTOP_SHIFT 8 /**< Shift value for LETIMER_BUFTOP */
Kojto 98:8ab26030e058 119 #define _LETIMER_CTRL_BUFTOP_MASK 0x100UL /**< Bit mask for LETIMER_BUFTOP */
Kojto 98:8ab26030e058 120 #define _LETIMER_CTRL_BUFTOP_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 121 #define LETIMER_CTRL_BUFTOP_DEFAULT (_LETIMER_CTRL_BUFTOP_DEFAULT << 8) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 122 #define LETIMER_CTRL_COMP0TOP (0x1UL << 9) /**< Compare Value 0 Is Top Value */
Kojto 98:8ab26030e058 123 #define _LETIMER_CTRL_COMP0TOP_SHIFT 9 /**< Shift value for LETIMER_COMP0TOP */
Kojto 98:8ab26030e058 124 #define _LETIMER_CTRL_COMP0TOP_MASK 0x200UL /**< Bit mask for LETIMER_COMP0TOP */
Kojto 98:8ab26030e058 125 #define _LETIMER_CTRL_COMP0TOP_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 126 #define LETIMER_CTRL_COMP0TOP_DEFAULT (_LETIMER_CTRL_COMP0TOP_DEFAULT << 9) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 127 #define LETIMER_CTRL_RTCC0TEN (0x1UL << 10) /**< RTC Compare 0 Trigger Enable */
Kojto 98:8ab26030e058 128 #define _LETIMER_CTRL_RTCC0TEN_SHIFT 10 /**< Shift value for LETIMER_RTCC0TEN */
Kojto 98:8ab26030e058 129 #define _LETIMER_CTRL_RTCC0TEN_MASK 0x400UL /**< Bit mask for LETIMER_RTCC0TEN */
Kojto 98:8ab26030e058 130 #define _LETIMER_CTRL_RTCC0TEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 131 #define LETIMER_CTRL_RTCC0TEN_DEFAULT (_LETIMER_CTRL_RTCC0TEN_DEFAULT << 10) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 132 #define LETIMER_CTRL_RTCC1TEN (0x1UL << 11) /**< RTC Compare 1 Trigger Enable */
Kojto 98:8ab26030e058 133 #define _LETIMER_CTRL_RTCC1TEN_SHIFT 11 /**< Shift value for LETIMER_RTCC1TEN */
Kojto 98:8ab26030e058 134 #define _LETIMER_CTRL_RTCC1TEN_MASK 0x800UL /**< Bit mask for LETIMER_RTCC1TEN */
Kojto 98:8ab26030e058 135 #define _LETIMER_CTRL_RTCC1TEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 136 #define LETIMER_CTRL_RTCC1TEN_DEFAULT (_LETIMER_CTRL_RTCC1TEN_DEFAULT << 11) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 137 #define LETIMER_CTRL_DEBUGRUN (0x1UL << 12) /**< Debug Mode Run Enable */
Kojto 98:8ab26030e058 138 #define _LETIMER_CTRL_DEBUGRUN_SHIFT 12 /**< Shift value for LETIMER_DEBUGRUN */
Kojto 98:8ab26030e058 139 #define _LETIMER_CTRL_DEBUGRUN_MASK 0x1000UL /**< Bit mask for LETIMER_DEBUGRUN */
Kojto 98:8ab26030e058 140 #define _LETIMER_CTRL_DEBUGRUN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 141 #define LETIMER_CTRL_DEBUGRUN_DEFAULT (_LETIMER_CTRL_DEBUGRUN_DEFAULT << 12) /**< Shifted mode DEFAULT for LETIMER_CTRL */
Kojto 98:8ab26030e058 142
Kojto 98:8ab26030e058 143 /* Bit fields for LETIMER CMD */
Kojto 98:8ab26030e058 144 #define _LETIMER_CMD_RESETVALUE 0x00000000UL /**< Default value for LETIMER_CMD */
Kojto 98:8ab26030e058 145 #define _LETIMER_CMD_MASK 0x0000001FUL /**< Mask for LETIMER_CMD */
Kojto 98:8ab26030e058 146 #define LETIMER_CMD_START (0x1UL << 0) /**< Start LETIMER */
Kojto 98:8ab26030e058 147 #define _LETIMER_CMD_START_SHIFT 0 /**< Shift value for LETIMER_START */
Kojto 98:8ab26030e058 148 #define _LETIMER_CMD_START_MASK 0x1UL /**< Bit mask for LETIMER_START */
Kojto 98:8ab26030e058 149 #define _LETIMER_CMD_START_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 150 #define LETIMER_CMD_START_DEFAULT (_LETIMER_CMD_START_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 151 #define LETIMER_CMD_STOP (0x1UL << 1) /**< Stop LETIMER */
Kojto 98:8ab26030e058 152 #define _LETIMER_CMD_STOP_SHIFT 1 /**< Shift value for LETIMER_STOP */
Kojto 98:8ab26030e058 153 #define _LETIMER_CMD_STOP_MASK 0x2UL /**< Bit mask for LETIMER_STOP */
Kojto 98:8ab26030e058 154 #define _LETIMER_CMD_STOP_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 155 #define LETIMER_CMD_STOP_DEFAULT (_LETIMER_CMD_STOP_DEFAULT << 1) /**< Shifted mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 156 #define LETIMER_CMD_CLEAR (0x1UL << 2) /**< Clear LETIMER */
Kojto 98:8ab26030e058 157 #define _LETIMER_CMD_CLEAR_SHIFT 2 /**< Shift value for LETIMER_CLEAR */
Kojto 98:8ab26030e058 158 #define _LETIMER_CMD_CLEAR_MASK 0x4UL /**< Bit mask for LETIMER_CLEAR */
Kojto 98:8ab26030e058 159 #define _LETIMER_CMD_CLEAR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 160 #define LETIMER_CMD_CLEAR_DEFAULT (_LETIMER_CMD_CLEAR_DEFAULT << 2) /**< Shifted mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 161 #define LETIMER_CMD_CTO0 (0x1UL << 3) /**< Clear Toggle Output 0 */
Kojto 98:8ab26030e058 162 #define _LETIMER_CMD_CTO0_SHIFT 3 /**< Shift value for LETIMER_CTO0 */
Kojto 98:8ab26030e058 163 #define _LETIMER_CMD_CTO0_MASK 0x8UL /**< Bit mask for LETIMER_CTO0 */
Kojto 98:8ab26030e058 164 #define _LETIMER_CMD_CTO0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 165 #define LETIMER_CMD_CTO0_DEFAULT (_LETIMER_CMD_CTO0_DEFAULT << 3) /**< Shifted mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 166 #define LETIMER_CMD_CTO1 (0x1UL << 4) /**< Clear Toggle Output 1 */
Kojto 98:8ab26030e058 167 #define _LETIMER_CMD_CTO1_SHIFT 4 /**< Shift value for LETIMER_CTO1 */
Kojto 98:8ab26030e058 168 #define _LETIMER_CMD_CTO1_MASK 0x10UL /**< Bit mask for LETIMER_CTO1 */
Kojto 98:8ab26030e058 169 #define _LETIMER_CMD_CTO1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 170 #define LETIMER_CMD_CTO1_DEFAULT (_LETIMER_CMD_CTO1_DEFAULT << 4) /**< Shifted mode DEFAULT for LETIMER_CMD */
Kojto 98:8ab26030e058 171
Kojto 98:8ab26030e058 172 /* Bit fields for LETIMER STATUS */
Kojto 98:8ab26030e058 173 #define _LETIMER_STATUS_RESETVALUE 0x00000000UL /**< Default value for LETIMER_STATUS */
Kojto 98:8ab26030e058 174 #define _LETIMER_STATUS_MASK 0x00000001UL /**< Mask for LETIMER_STATUS */
Kojto 98:8ab26030e058 175 #define LETIMER_STATUS_RUNNING (0x1UL << 0) /**< LETIMER Running */
Kojto 98:8ab26030e058 176 #define _LETIMER_STATUS_RUNNING_SHIFT 0 /**< Shift value for LETIMER_RUNNING */
Kojto 98:8ab26030e058 177 #define _LETIMER_STATUS_RUNNING_MASK 0x1UL /**< Bit mask for LETIMER_RUNNING */
Kojto 98:8ab26030e058 178 #define _LETIMER_STATUS_RUNNING_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_STATUS */
Kojto 98:8ab26030e058 179 #define LETIMER_STATUS_RUNNING_DEFAULT (_LETIMER_STATUS_RUNNING_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_STATUS */
Kojto 98:8ab26030e058 180
Kojto 98:8ab26030e058 181 /* Bit fields for LETIMER CNT */
Kojto 98:8ab26030e058 182 #define _LETIMER_CNT_RESETVALUE 0x00000000UL /**< Default value for LETIMER_CNT */
Kojto 98:8ab26030e058 183 #define _LETIMER_CNT_MASK 0x0000FFFFUL /**< Mask for LETIMER_CNT */
Kojto 98:8ab26030e058 184 #define _LETIMER_CNT_CNT_SHIFT 0 /**< Shift value for LETIMER_CNT */
Kojto 98:8ab26030e058 185 #define _LETIMER_CNT_CNT_MASK 0xFFFFUL /**< Bit mask for LETIMER_CNT */
Kojto 98:8ab26030e058 186 #define _LETIMER_CNT_CNT_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_CNT */
Kojto 98:8ab26030e058 187 #define LETIMER_CNT_CNT_DEFAULT (_LETIMER_CNT_CNT_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_CNT */
Kojto 98:8ab26030e058 188
Kojto 98:8ab26030e058 189 /* Bit fields for LETIMER COMP0 */
Kojto 98:8ab26030e058 190 #define _LETIMER_COMP0_RESETVALUE 0x00000000UL /**< Default value for LETIMER_COMP0 */
Kojto 98:8ab26030e058 191 #define _LETIMER_COMP0_MASK 0x0000FFFFUL /**< Mask for LETIMER_COMP0 */
Kojto 98:8ab26030e058 192 #define _LETIMER_COMP0_COMP0_SHIFT 0 /**< Shift value for LETIMER_COMP0 */
Kojto 98:8ab26030e058 193 #define _LETIMER_COMP0_COMP0_MASK 0xFFFFUL /**< Bit mask for LETIMER_COMP0 */
Kojto 98:8ab26030e058 194 #define _LETIMER_COMP0_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_COMP0 */
Kojto 98:8ab26030e058 195 #define LETIMER_COMP0_COMP0_DEFAULT (_LETIMER_COMP0_COMP0_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_COMP0 */
Kojto 98:8ab26030e058 196
Kojto 98:8ab26030e058 197 /* Bit fields for LETIMER COMP1 */
Kojto 98:8ab26030e058 198 #define _LETIMER_COMP1_RESETVALUE 0x00000000UL /**< Default value for LETIMER_COMP1 */
Kojto 98:8ab26030e058 199 #define _LETIMER_COMP1_MASK 0x0000FFFFUL /**< Mask for LETIMER_COMP1 */
Kojto 98:8ab26030e058 200 #define _LETIMER_COMP1_COMP1_SHIFT 0 /**< Shift value for LETIMER_COMP1 */
Kojto 98:8ab26030e058 201 #define _LETIMER_COMP1_COMP1_MASK 0xFFFFUL /**< Bit mask for LETIMER_COMP1 */
Kojto 98:8ab26030e058 202 #define _LETIMER_COMP1_COMP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_COMP1 */
Kojto 98:8ab26030e058 203 #define LETIMER_COMP1_COMP1_DEFAULT (_LETIMER_COMP1_COMP1_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_COMP1 */
Kojto 98:8ab26030e058 204
Kojto 98:8ab26030e058 205 /* Bit fields for LETIMER REP0 */
Kojto 98:8ab26030e058 206 #define _LETIMER_REP0_RESETVALUE 0x00000000UL /**< Default value for LETIMER_REP0 */
Kojto 98:8ab26030e058 207 #define _LETIMER_REP0_MASK 0x000000FFUL /**< Mask for LETIMER_REP0 */
Kojto 98:8ab26030e058 208 #define _LETIMER_REP0_REP0_SHIFT 0 /**< Shift value for LETIMER_REP0 */
Kojto 98:8ab26030e058 209 #define _LETIMER_REP0_REP0_MASK 0xFFUL /**< Bit mask for LETIMER_REP0 */
Kojto 98:8ab26030e058 210 #define _LETIMER_REP0_REP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_REP0 */
Kojto 98:8ab26030e058 211 #define LETIMER_REP0_REP0_DEFAULT (_LETIMER_REP0_REP0_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_REP0 */
Kojto 98:8ab26030e058 212
Kojto 98:8ab26030e058 213 /* Bit fields for LETIMER REP1 */
Kojto 98:8ab26030e058 214 #define _LETIMER_REP1_RESETVALUE 0x00000000UL /**< Default value for LETIMER_REP1 */
Kojto 98:8ab26030e058 215 #define _LETIMER_REP1_MASK 0x000000FFUL /**< Mask for LETIMER_REP1 */
Kojto 98:8ab26030e058 216 #define _LETIMER_REP1_REP1_SHIFT 0 /**< Shift value for LETIMER_REP1 */
Kojto 98:8ab26030e058 217 #define _LETIMER_REP1_REP1_MASK 0xFFUL /**< Bit mask for LETIMER_REP1 */
Kojto 98:8ab26030e058 218 #define _LETIMER_REP1_REP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_REP1 */
Kojto 98:8ab26030e058 219 #define LETIMER_REP1_REP1_DEFAULT (_LETIMER_REP1_REP1_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_REP1 */
Kojto 98:8ab26030e058 220
Kojto 98:8ab26030e058 221 /* Bit fields for LETIMER IF */
Kojto 98:8ab26030e058 222 #define _LETIMER_IF_RESETVALUE 0x00000000UL /**< Default value for LETIMER_IF */
Kojto 98:8ab26030e058 223 #define _LETIMER_IF_MASK 0x0000001FUL /**< Mask for LETIMER_IF */
Kojto 98:8ab26030e058 224 #define LETIMER_IF_COMP0 (0x1UL << 0) /**< Compare Match 0 Interrupt Flag */
Kojto 98:8ab26030e058 225 #define _LETIMER_IF_COMP0_SHIFT 0 /**< Shift value for LETIMER_COMP0 */
Kojto 98:8ab26030e058 226 #define _LETIMER_IF_COMP0_MASK 0x1UL /**< Bit mask for LETIMER_COMP0 */
Kojto 98:8ab26030e058 227 #define _LETIMER_IF_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 228 #define LETIMER_IF_COMP0_DEFAULT (_LETIMER_IF_COMP0_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 229 #define LETIMER_IF_COMP1 (0x1UL << 1) /**< Compare Match 1 Interrupt Flag */
Kojto 98:8ab26030e058 230 #define _LETIMER_IF_COMP1_SHIFT 1 /**< Shift value for LETIMER_COMP1 */
Kojto 98:8ab26030e058 231 #define _LETIMER_IF_COMP1_MASK 0x2UL /**< Bit mask for LETIMER_COMP1 */
Kojto 98:8ab26030e058 232 #define _LETIMER_IF_COMP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 233 #define LETIMER_IF_COMP1_DEFAULT (_LETIMER_IF_COMP1_DEFAULT << 1) /**< Shifted mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 234 #define LETIMER_IF_UF (0x1UL << 2) /**< Underflow Interrupt Flag */
Kojto 98:8ab26030e058 235 #define _LETIMER_IF_UF_SHIFT 2 /**< Shift value for LETIMER_UF */
Kojto 98:8ab26030e058 236 #define _LETIMER_IF_UF_MASK 0x4UL /**< Bit mask for LETIMER_UF */
Kojto 98:8ab26030e058 237 #define _LETIMER_IF_UF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 238 #define LETIMER_IF_UF_DEFAULT (_LETIMER_IF_UF_DEFAULT << 2) /**< Shifted mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 239 #define LETIMER_IF_REP0 (0x1UL << 3) /**< Repeat Counter 0 Interrupt Flag */
Kojto 98:8ab26030e058 240 #define _LETIMER_IF_REP0_SHIFT 3 /**< Shift value for LETIMER_REP0 */
Kojto 98:8ab26030e058 241 #define _LETIMER_IF_REP0_MASK 0x8UL /**< Bit mask for LETIMER_REP0 */
Kojto 98:8ab26030e058 242 #define _LETIMER_IF_REP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 243 #define LETIMER_IF_REP0_DEFAULT (_LETIMER_IF_REP0_DEFAULT << 3) /**< Shifted mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 244 #define LETIMER_IF_REP1 (0x1UL << 4) /**< Repeat Counter 1 Interrupt Flag */
Kojto 98:8ab26030e058 245 #define _LETIMER_IF_REP1_SHIFT 4 /**< Shift value for LETIMER_REP1 */
Kojto 98:8ab26030e058 246 #define _LETIMER_IF_REP1_MASK 0x10UL /**< Bit mask for LETIMER_REP1 */
Kojto 98:8ab26030e058 247 #define _LETIMER_IF_REP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 248 #define LETIMER_IF_REP1_DEFAULT (_LETIMER_IF_REP1_DEFAULT << 4) /**< Shifted mode DEFAULT for LETIMER_IF */
Kojto 98:8ab26030e058 249
Kojto 98:8ab26030e058 250 /* Bit fields for LETIMER IFS */
Kojto 98:8ab26030e058 251 #define _LETIMER_IFS_RESETVALUE 0x00000000UL /**< Default value for LETIMER_IFS */
Kojto 98:8ab26030e058 252 #define _LETIMER_IFS_MASK 0x0000001FUL /**< Mask for LETIMER_IFS */
Kojto 98:8ab26030e058 253 #define LETIMER_IFS_COMP0 (0x1UL << 0) /**< Set Compare Match 0 Interrupt Flag */
Kojto 98:8ab26030e058 254 #define _LETIMER_IFS_COMP0_SHIFT 0 /**< Shift value for LETIMER_COMP0 */
Kojto 98:8ab26030e058 255 #define _LETIMER_IFS_COMP0_MASK 0x1UL /**< Bit mask for LETIMER_COMP0 */
Kojto 98:8ab26030e058 256 #define _LETIMER_IFS_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 257 #define LETIMER_IFS_COMP0_DEFAULT (_LETIMER_IFS_COMP0_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 258 #define LETIMER_IFS_COMP1 (0x1UL << 1) /**< Set Compare Match 1 Interrupt Flag */
Kojto 98:8ab26030e058 259 #define _LETIMER_IFS_COMP1_SHIFT 1 /**< Shift value for LETIMER_COMP1 */
Kojto 98:8ab26030e058 260 #define _LETIMER_IFS_COMP1_MASK 0x2UL /**< Bit mask for LETIMER_COMP1 */
Kojto 98:8ab26030e058 261 #define _LETIMER_IFS_COMP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 262 #define LETIMER_IFS_COMP1_DEFAULT (_LETIMER_IFS_COMP1_DEFAULT << 1) /**< Shifted mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 263 #define LETIMER_IFS_UF (0x1UL << 2) /**< Set Underflow Interrupt Flag */
Kojto 98:8ab26030e058 264 #define _LETIMER_IFS_UF_SHIFT 2 /**< Shift value for LETIMER_UF */
Kojto 98:8ab26030e058 265 #define _LETIMER_IFS_UF_MASK 0x4UL /**< Bit mask for LETIMER_UF */
Kojto 98:8ab26030e058 266 #define _LETIMER_IFS_UF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 267 #define LETIMER_IFS_UF_DEFAULT (_LETIMER_IFS_UF_DEFAULT << 2) /**< Shifted mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 268 #define LETIMER_IFS_REP0 (0x1UL << 3) /**< Set Repeat Counter 0 Interrupt Flag */
Kojto 98:8ab26030e058 269 #define _LETIMER_IFS_REP0_SHIFT 3 /**< Shift value for LETIMER_REP0 */
Kojto 98:8ab26030e058 270 #define _LETIMER_IFS_REP0_MASK 0x8UL /**< Bit mask for LETIMER_REP0 */
Kojto 98:8ab26030e058 271 #define _LETIMER_IFS_REP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 272 #define LETIMER_IFS_REP0_DEFAULT (_LETIMER_IFS_REP0_DEFAULT << 3) /**< Shifted mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 273 #define LETIMER_IFS_REP1 (0x1UL << 4) /**< Set Repeat Counter 1 Interrupt Flag */
Kojto 98:8ab26030e058 274 #define _LETIMER_IFS_REP1_SHIFT 4 /**< Shift value for LETIMER_REP1 */
Kojto 98:8ab26030e058 275 #define _LETIMER_IFS_REP1_MASK 0x10UL /**< Bit mask for LETIMER_REP1 */
Kojto 98:8ab26030e058 276 #define _LETIMER_IFS_REP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 277 #define LETIMER_IFS_REP1_DEFAULT (_LETIMER_IFS_REP1_DEFAULT << 4) /**< Shifted mode DEFAULT for LETIMER_IFS */
Kojto 98:8ab26030e058 278
Kojto 98:8ab26030e058 279 /* Bit fields for LETIMER IFC */
Kojto 98:8ab26030e058 280 #define _LETIMER_IFC_RESETVALUE 0x00000000UL /**< Default value for LETIMER_IFC */
Kojto 98:8ab26030e058 281 #define _LETIMER_IFC_MASK 0x0000001FUL /**< Mask for LETIMER_IFC */
Kojto 98:8ab26030e058 282 #define LETIMER_IFC_COMP0 (0x1UL << 0) /**< Clear Compare Match 0 Interrupt Flag */
Kojto 98:8ab26030e058 283 #define _LETIMER_IFC_COMP0_SHIFT 0 /**< Shift value for LETIMER_COMP0 */
Kojto 98:8ab26030e058 284 #define _LETIMER_IFC_COMP0_MASK 0x1UL /**< Bit mask for LETIMER_COMP0 */
Kojto 98:8ab26030e058 285 #define _LETIMER_IFC_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 286 #define LETIMER_IFC_COMP0_DEFAULT (_LETIMER_IFC_COMP0_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 287 #define LETIMER_IFC_COMP1 (0x1UL << 1) /**< Clear Compare Match 1 Interrupt Flag */
Kojto 98:8ab26030e058 288 #define _LETIMER_IFC_COMP1_SHIFT 1 /**< Shift value for LETIMER_COMP1 */
Kojto 98:8ab26030e058 289 #define _LETIMER_IFC_COMP1_MASK 0x2UL /**< Bit mask for LETIMER_COMP1 */
Kojto 98:8ab26030e058 290 #define _LETIMER_IFC_COMP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 291 #define LETIMER_IFC_COMP1_DEFAULT (_LETIMER_IFC_COMP1_DEFAULT << 1) /**< Shifted mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 292 #define LETIMER_IFC_UF (0x1UL << 2) /**< Clear Underflow Interrupt Flag */
Kojto 98:8ab26030e058 293 #define _LETIMER_IFC_UF_SHIFT 2 /**< Shift value for LETIMER_UF */
Kojto 98:8ab26030e058 294 #define _LETIMER_IFC_UF_MASK 0x4UL /**< Bit mask for LETIMER_UF */
Kojto 98:8ab26030e058 295 #define _LETIMER_IFC_UF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 296 #define LETIMER_IFC_UF_DEFAULT (_LETIMER_IFC_UF_DEFAULT << 2) /**< Shifted mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 297 #define LETIMER_IFC_REP0 (0x1UL << 3) /**< Clear Repeat Counter 0 Interrupt Flag */
Kojto 98:8ab26030e058 298 #define _LETIMER_IFC_REP0_SHIFT 3 /**< Shift value for LETIMER_REP0 */
Kojto 98:8ab26030e058 299 #define _LETIMER_IFC_REP0_MASK 0x8UL /**< Bit mask for LETIMER_REP0 */
Kojto 98:8ab26030e058 300 #define _LETIMER_IFC_REP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 301 #define LETIMER_IFC_REP0_DEFAULT (_LETIMER_IFC_REP0_DEFAULT << 3) /**< Shifted mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 302 #define LETIMER_IFC_REP1 (0x1UL << 4) /**< Clear Repeat Counter 1 Interrupt Flag */
Kojto 98:8ab26030e058 303 #define _LETIMER_IFC_REP1_SHIFT 4 /**< Shift value for LETIMER_REP1 */
Kojto 98:8ab26030e058 304 #define _LETIMER_IFC_REP1_MASK 0x10UL /**< Bit mask for LETIMER_REP1 */
Kojto 98:8ab26030e058 305 #define _LETIMER_IFC_REP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 306 #define LETIMER_IFC_REP1_DEFAULT (_LETIMER_IFC_REP1_DEFAULT << 4) /**< Shifted mode DEFAULT for LETIMER_IFC */
Kojto 98:8ab26030e058 307
Kojto 98:8ab26030e058 308 /* Bit fields for LETIMER IEN */
Kojto 98:8ab26030e058 309 #define _LETIMER_IEN_RESETVALUE 0x00000000UL /**< Default value for LETIMER_IEN */
Kojto 98:8ab26030e058 310 #define _LETIMER_IEN_MASK 0x0000001FUL /**< Mask for LETIMER_IEN */
Kojto 98:8ab26030e058 311 #define LETIMER_IEN_COMP0 (0x1UL << 0) /**< Compare Match 0 Interrupt Enable */
Kojto 98:8ab26030e058 312 #define _LETIMER_IEN_COMP0_SHIFT 0 /**< Shift value for LETIMER_COMP0 */
Kojto 98:8ab26030e058 313 #define _LETIMER_IEN_COMP0_MASK 0x1UL /**< Bit mask for LETIMER_COMP0 */
Kojto 98:8ab26030e058 314 #define _LETIMER_IEN_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 315 #define LETIMER_IEN_COMP0_DEFAULT (_LETIMER_IEN_COMP0_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 316 #define LETIMER_IEN_COMP1 (0x1UL << 1) /**< Compare Match 1 Interrupt Enable */
Kojto 98:8ab26030e058 317 #define _LETIMER_IEN_COMP1_SHIFT 1 /**< Shift value for LETIMER_COMP1 */
Kojto 98:8ab26030e058 318 #define _LETIMER_IEN_COMP1_MASK 0x2UL /**< Bit mask for LETIMER_COMP1 */
Kojto 98:8ab26030e058 319 #define _LETIMER_IEN_COMP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 320 #define LETIMER_IEN_COMP1_DEFAULT (_LETIMER_IEN_COMP1_DEFAULT << 1) /**< Shifted mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 321 #define LETIMER_IEN_UF (0x1UL << 2) /**< Underflow Interrupt Enable */
Kojto 98:8ab26030e058 322 #define _LETIMER_IEN_UF_SHIFT 2 /**< Shift value for LETIMER_UF */
Kojto 98:8ab26030e058 323 #define _LETIMER_IEN_UF_MASK 0x4UL /**< Bit mask for LETIMER_UF */
Kojto 98:8ab26030e058 324 #define _LETIMER_IEN_UF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 325 #define LETIMER_IEN_UF_DEFAULT (_LETIMER_IEN_UF_DEFAULT << 2) /**< Shifted mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 326 #define LETIMER_IEN_REP0 (0x1UL << 3) /**< Repeat Counter 0 Interrupt Enable */
Kojto 98:8ab26030e058 327 #define _LETIMER_IEN_REP0_SHIFT 3 /**< Shift value for LETIMER_REP0 */
Kojto 98:8ab26030e058 328 #define _LETIMER_IEN_REP0_MASK 0x8UL /**< Bit mask for LETIMER_REP0 */
Kojto 98:8ab26030e058 329 #define _LETIMER_IEN_REP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 330 #define LETIMER_IEN_REP0_DEFAULT (_LETIMER_IEN_REP0_DEFAULT << 3) /**< Shifted mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 331 #define LETIMER_IEN_REP1 (0x1UL << 4) /**< Repeat Counter 1 Interrupt Enable */
Kojto 98:8ab26030e058 332 #define _LETIMER_IEN_REP1_SHIFT 4 /**< Shift value for LETIMER_REP1 */
Kojto 98:8ab26030e058 333 #define _LETIMER_IEN_REP1_MASK 0x10UL /**< Bit mask for LETIMER_REP1 */
Kojto 98:8ab26030e058 334 #define _LETIMER_IEN_REP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 335 #define LETIMER_IEN_REP1_DEFAULT (_LETIMER_IEN_REP1_DEFAULT << 4) /**< Shifted mode DEFAULT for LETIMER_IEN */
Kojto 98:8ab26030e058 336
Kojto 98:8ab26030e058 337 /* Bit fields for LETIMER FREEZE */
Kojto 98:8ab26030e058 338 #define _LETIMER_FREEZE_RESETVALUE 0x00000000UL /**< Default value for LETIMER_FREEZE */
Kojto 98:8ab26030e058 339 #define _LETIMER_FREEZE_MASK 0x00000001UL /**< Mask for LETIMER_FREEZE */
Kojto 98:8ab26030e058 340 #define LETIMER_FREEZE_REGFREEZE (0x1UL << 0) /**< Register Update Freeze */
Kojto 98:8ab26030e058 341 #define _LETIMER_FREEZE_REGFREEZE_SHIFT 0 /**< Shift value for LETIMER_REGFREEZE */
Kojto 98:8ab26030e058 342 #define _LETIMER_FREEZE_REGFREEZE_MASK 0x1UL /**< Bit mask for LETIMER_REGFREEZE */
Kojto 98:8ab26030e058 343 #define _LETIMER_FREEZE_REGFREEZE_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_FREEZE */
Kojto 98:8ab26030e058 344 #define _LETIMER_FREEZE_REGFREEZE_UPDATE 0x00000000UL /**< Mode UPDATE for LETIMER_FREEZE */
Kojto 98:8ab26030e058 345 #define _LETIMER_FREEZE_REGFREEZE_FREEZE 0x00000001UL /**< Mode FREEZE for LETIMER_FREEZE */
Kojto 98:8ab26030e058 346 #define LETIMER_FREEZE_REGFREEZE_DEFAULT (_LETIMER_FREEZE_REGFREEZE_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_FREEZE */
Kojto 98:8ab26030e058 347 #define LETIMER_FREEZE_REGFREEZE_UPDATE (_LETIMER_FREEZE_REGFREEZE_UPDATE << 0) /**< Shifted mode UPDATE for LETIMER_FREEZE */
Kojto 98:8ab26030e058 348 #define LETIMER_FREEZE_REGFREEZE_FREEZE (_LETIMER_FREEZE_REGFREEZE_FREEZE << 0) /**< Shifted mode FREEZE for LETIMER_FREEZE */
Kojto 98:8ab26030e058 349
Kojto 98:8ab26030e058 350 /* Bit fields for LETIMER SYNCBUSY */
Kojto 98:8ab26030e058 351 #define _LETIMER_SYNCBUSY_RESETVALUE 0x00000000UL /**< Default value for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 352 #define _LETIMER_SYNCBUSY_MASK 0x0000003FUL /**< Mask for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 353 #define LETIMER_SYNCBUSY_CTRL (0x1UL << 0) /**< CTRL Register Busy */
Kojto 98:8ab26030e058 354 #define _LETIMER_SYNCBUSY_CTRL_SHIFT 0 /**< Shift value for LETIMER_CTRL */
Kojto 98:8ab26030e058 355 #define _LETIMER_SYNCBUSY_CTRL_MASK 0x1UL /**< Bit mask for LETIMER_CTRL */
Kojto 98:8ab26030e058 356 #define _LETIMER_SYNCBUSY_CTRL_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 357 #define LETIMER_SYNCBUSY_CTRL_DEFAULT (_LETIMER_SYNCBUSY_CTRL_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 358 #define LETIMER_SYNCBUSY_CMD (0x1UL << 1) /**< CMD Register Busy */
Kojto 98:8ab26030e058 359 #define _LETIMER_SYNCBUSY_CMD_SHIFT 1 /**< Shift value for LETIMER_CMD */
Kojto 98:8ab26030e058 360 #define _LETIMER_SYNCBUSY_CMD_MASK 0x2UL /**< Bit mask for LETIMER_CMD */
Kojto 98:8ab26030e058 361 #define _LETIMER_SYNCBUSY_CMD_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 362 #define LETIMER_SYNCBUSY_CMD_DEFAULT (_LETIMER_SYNCBUSY_CMD_DEFAULT << 1) /**< Shifted mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 363 #define LETIMER_SYNCBUSY_COMP0 (0x1UL << 2) /**< COMP0 Register Busy */
Kojto 98:8ab26030e058 364 #define _LETIMER_SYNCBUSY_COMP0_SHIFT 2 /**< Shift value for LETIMER_COMP0 */
Kojto 98:8ab26030e058 365 #define _LETIMER_SYNCBUSY_COMP0_MASK 0x4UL /**< Bit mask for LETIMER_COMP0 */
Kojto 98:8ab26030e058 366 #define _LETIMER_SYNCBUSY_COMP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 367 #define LETIMER_SYNCBUSY_COMP0_DEFAULT (_LETIMER_SYNCBUSY_COMP0_DEFAULT << 2) /**< Shifted mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 368 #define LETIMER_SYNCBUSY_COMP1 (0x1UL << 3) /**< COMP1 Register Busy */
Kojto 98:8ab26030e058 369 #define _LETIMER_SYNCBUSY_COMP1_SHIFT 3 /**< Shift value for LETIMER_COMP1 */
Kojto 98:8ab26030e058 370 #define _LETIMER_SYNCBUSY_COMP1_MASK 0x8UL /**< Bit mask for LETIMER_COMP1 */
Kojto 98:8ab26030e058 371 #define _LETIMER_SYNCBUSY_COMP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 372 #define LETIMER_SYNCBUSY_COMP1_DEFAULT (_LETIMER_SYNCBUSY_COMP1_DEFAULT << 3) /**< Shifted mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 373 #define LETIMER_SYNCBUSY_REP0 (0x1UL << 4) /**< REP0 Register Busy */
Kojto 98:8ab26030e058 374 #define _LETIMER_SYNCBUSY_REP0_SHIFT 4 /**< Shift value for LETIMER_REP0 */
Kojto 98:8ab26030e058 375 #define _LETIMER_SYNCBUSY_REP0_MASK 0x10UL /**< Bit mask for LETIMER_REP0 */
Kojto 98:8ab26030e058 376 #define _LETIMER_SYNCBUSY_REP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 377 #define LETIMER_SYNCBUSY_REP0_DEFAULT (_LETIMER_SYNCBUSY_REP0_DEFAULT << 4) /**< Shifted mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 378 #define LETIMER_SYNCBUSY_REP1 (0x1UL << 5) /**< REP1 Register Busy */
Kojto 98:8ab26030e058 379 #define _LETIMER_SYNCBUSY_REP1_SHIFT 5 /**< Shift value for LETIMER_REP1 */
Kojto 98:8ab26030e058 380 #define _LETIMER_SYNCBUSY_REP1_MASK 0x20UL /**< Bit mask for LETIMER_REP1 */
Kojto 98:8ab26030e058 381 #define _LETIMER_SYNCBUSY_REP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 382 #define LETIMER_SYNCBUSY_REP1_DEFAULT (_LETIMER_SYNCBUSY_REP1_DEFAULT << 5) /**< Shifted mode DEFAULT for LETIMER_SYNCBUSY */
Kojto 98:8ab26030e058 383
Kojto 98:8ab26030e058 384 /* Bit fields for LETIMER ROUTE */
Kojto 98:8ab26030e058 385 #define _LETIMER_ROUTE_RESETVALUE 0x00000000UL /**< Default value for LETIMER_ROUTE */
Kojto 98:8ab26030e058 386 #define _LETIMER_ROUTE_MASK 0x00000703UL /**< Mask for LETIMER_ROUTE */
Kojto 98:8ab26030e058 387 #define LETIMER_ROUTE_OUT0PEN (0x1UL << 0) /**< Output 0 Pin Enable */
Kojto 98:8ab26030e058 388 #define _LETIMER_ROUTE_OUT0PEN_SHIFT 0 /**< Shift value for LETIMER_OUT0PEN */
Kojto 98:8ab26030e058 389 #define _LETIMER_ROUTE_OUT0PEN_MASK 0x1UL /**< Bit mask for LETIMER_OUT0PEN */
Kojto 98:8ab26030e058 390 #define _LETIMER_ROUTE_OUT0PEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_ROUTE */
Kojto 98:8ab26030e058 391 #define LETIMER_ROUTE_OUT0PEN_DEFAULT (_LETIMER_ROUTE_OUT0PEN_DEFAULT << 0) /**< Shifted mode DEFAULT for LETIMER_ROUTE */
Kojto 98:8ab26030e058 392 #define LETIMER_ROUTE_OUT1PEN (0x1UL << 1) /**< Output 1 Pin Enable */
Kojto 98:8ab26030e058 393 #define _LETIMER_ROUTE_OUT1PEN_SHIFT 1 /**< Shift value for LETIMER_OUT1PEN */
Kojto 98:8ab26030e058 394 #define _LETIMER_ROUTE_OUT1PEN_MASK 0x2UL /**< Bit mask for LETIMER_OUT1PEN */
Kojto 98:8ab26030e058 395 #define _LETIMER_ROUTE_OUT1PEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_ROUTE */
Kojto 98:8ab26030e058 396 #define LETIMER_ROUTE_OUT1PEN_DEFAULT (_LETIMER_ROUTE_OUT1PEN_DEFAULT << 1) /**< Shifted mode DEFAULT for LETIMER_ROUTE */
Kojto 98:8ab26030e058 397 #define _LETIMER_ROUTE_LOCATION_SHIFT 8 /**< Shift value for LETIMER_LOCATION */
Kojto 98:8ab26030e058 398 #define _LETIMER_ROUTE_LOCATION_MASK 0x700UL /**< Bit mask for LETIMER_LOCATION */
Kojto 98:8ab26030e058 399 #define _LETIMER_ROUTE_LOCATION_LOC0 0x00000000UL /**< Mode LOC0 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 400 #define _LETIMER_ROUTE_LOCATION_DEFAULT 0x00000000UL /**< Mode DEFAULT for LETIMER_ROUTE */
Kojto 98:8ab26030e058 401 #define _LETIMER_ROUTE_LOCATION_LOC1 0x00000001UL /**< Mode LOC1 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 402 #define _LETIMER_ROUTE_LOCATION_LOC2 0x00000002UL /**< Mode LOC2 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 403 #define _LETIMER_ROUTE_LOCATION_LOC3 0x00000003UL /**< Mode LOC3 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 404 #define LETIMER_ROUTE_LOCATION_LOC0 (_LETIMER_ROUTE_LOCATION_LOC0 << 8) /**< Shifted mode LOC0 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 405 #define LETIMER_ROUTE_LOCATION_DEFAULT (_LETIMER_ROUTE_LOCATION_DEFAULT << 8) /**< Shifted mode DEFAULT for LETIMER_ROUTE */
Kojto 98:8ab26030e058 406 #define LETIMER_ROUTE_LOCATION_LOC1 (_LETIMER_ROUTE_LOCATION_LOC1 << 8) /**< Shifted mode LOC1 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 407 #define LETIMER_ROUTE_LOCATION_LOC2 (_LETIMER_ROUTE_LOCATION_LOC2 << 8) /**< Shifted mode LOC2 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 408 #define LETIMER_ROUTE_LOCATION_LOC3 (_LETIMER_ROUTE_LOCATION_LOC3 << 8) /**< Shifted mode LOC3 for LETIMER_ROUTE */
Kojto 98:8ab26030e058 409
Kojto 98:8ab26030e058 410 /** @} End of group EFM32GG_LETIMER */
Kojto 113:f141b2784e32 411 /** @} End of group Parts */
Kojto 98:8ab26030e058 412