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