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_EFM32ZG_STK3200/efm32zg_leuart.h@121:672067c3ada4, 2016-04-14 (annotated)
- Committer:
- elijahorr
- Date:
- Thu Apr 14 07:28:54 2016 +0000
- Revision:
- 121:672067c3ada4
- Parent:
- 113:f141b2784e32
.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 98:8ab26030e058 | 1 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 2 | * @file efm32zg_leuart.h |
Kojto | 98:8ab26030e058 | 3 | * @brief EFM32ZG_LEUART 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 EFM32ZG_LEUART |
Kojto | 98:8ab26030e058 | 38 | * @{ |
Kojto | 98:8ab26030e058 | 39 | * @brief EFM32ZG_LEUART 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 CLKDIV; /**< Clock Control Register */ |
Kojto | 98:8ab26030e058 | 47 | __IO uint32_t STARTFRAME; /**< Start Frame Register */ |
Kojto | 98:8ab26030e058 | 48 | __IO uint32_t SIGFRAME; /**< Signal Frame Register */ |
Kojto | 98:8ab26030e058 | 49 | __I uint32_t RXDATAX; /**< Receive Buffer Data Extended Register */ |
Kojto | 98:8ab26030e058 | 50 | __I uint32_t RXDATA; /**< Receive Buffer Data Register */ |
Kojto | 98:8ab26030e058 | 51 | __I uint32_t RXDATAXP; /**< Receive Buffer Data Extended Peek Register */ |
Kojto | 98:8ab26030e058 | 52 | __IO uint32_t TXDATAX; /**< Transmit Buffer Data Extended Register */ |
Kojto | 98:8ab26030e058 | 53 | __IO uint32_t TXDATA; /**< Transmit Buffer Data Register */ |
Kojto | 98:8ab26030e058 | 54 | __I uint32_t IF; /**< Interrupt Flag Register */ |
Kojto | 98:8ab26030e058 | 55 | __IO uint32_t IFS; /**< Interrupt Flag Set Register */ |
Kojto | 98:8ab26030e058 | 56 | __IO uint32_t IFC; /**< Interrupt Flag Clear Register */ |
Kojto | 98:8ab26030e058 | 57 | __IO uint32_t IEN; /**< Interrupt Enable Register */ |
Kojto | 98:8ab26030e058 | 58 | __IO uint32_t PULSECTRL; /**< Pulse Control Register */ |
Kojto | 98:8ab26030e058 | 59 | |
Kojto | 98:8ab26030e058 | 60 | __IO uint32_t FREEZE; /**< Freeze Register */ |
Kojto | 98:8ab26030e058 | 61 | __I uint32_t SYNCBUSY; /**< Synchronization Busy Register */ |
Kojto | 98:8ab26030e058 | 62 | |
Kojto | 98:8ab26030e058 | 63 | uint32_t RESERVED0[3]; /**< Reserved for future use **/ |
Kojto | 98:8ab26030e058 | 64 | __IO uint32_t ROUTE; /**< I/O Routing Register */ |
Kojto | 98:8ab26030e058 | 65 | uint32_t RESERVED1[21]; /**< Reserved for future use **/ |
Kojto | 98:8ab26030e058 | 66 | __IO uint32_t INPUT; /**< LEUART Input Register */ |
Kojto | 98:8ab26030e058 | 67 | } LEUART_TypeDef; /** @} */ |
Kojto | 98:8ab26030e058 | 68 | |
Kojto | 98:8ab26030e058 | 69 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 70 | * @defgroup EFM32ZG_LEUART_BitFields |
Kojto | 98:8ab26030e058 | 71 | * @{ |
Kojto | 98:8ab26030e058 | 72 | *****************************************************************************/ |
Kojto | 98:8ab26030e058 | 73 | |
Kojto | 98:8ab26030e058 | 74 | /* Bit fields for LEUART CTRL */ |
Kojto | 98:8ab26030e058 | 75 | #define _LEUART_CTRL_RESETVALUE 0x00000000UL /**< Default value for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 76 | #define _LEUART_CTRL_MASK 0x0000FFFFUL /**< Mask for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 77 | #define LEUART_CTRL_AUTOTRI (0x1UL << 0) /**< Automatic Transmitter Tristate */ |
Kojto | 98:8ab26030e058 | 78 | #define _LEUART_CTRL_AUTOTRI_SHIFT 0 /**< Shift value for LEUART_AUTOTRI */ |
Kojto | 98:8ab26030e058 | 79 | #define _LEUART_CTRL_AUTOTRI_MASK 0x1UL /**< Bit mask for LEUART_AUTOTRI */ |
Kojto | 98:8ab26030e058 | 80 | #define _LEUART_CTRL_AUTOTRI_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 81 | #define LEUART_CTRL_AUTOTRI_DEFAULT (_LEUART_CTRL_AUTOTRI_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 82 | #define LEUART_CTRL_DATABITS (0x1UL << 1) /**< Data-Bit Mode */ |
Kojto | 98:8ab26030e058 | 83 | #define _LEUART_CTRL_DATABITS_SHIFT 1 /**< Shift value for LEUART_DATABITS */ |
Kojto | 98:8ab26030e058 | 84 | #define _LEUART_CTRL_DATABITS_MASK 0x2UL /**< Bit mask for LEUART_DATABITS */ |
Kojto | 98:8ab26030e058 | 85 | #define _LEUART_CTRL_DATABITS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 86 | #define _LEUART_CTRL_DATABITS_EIGHT 0x00000000UL /**< Mode EIGHT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 87 | #define _LEUART_CTRL_DATABITS_NINE 0x00000001UL /**< Mode NINE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 88 | #define LEUART_CTRL_DATABITS_DEFAULT (_LEUART_CTRL_DATABITS_DEFAULT << 1) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 89 | #define LEUART_CTRL_DATABITS_EIGHT (_LEUART_CTRL_DATABITS_EIGHT << 1) /**< Shifted mode EIGHT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 90 | #define LEUART_CTRL_DATABITS_NINE (_LEUART_CTRL_DATABITS_NINE << 1) /**< Shifted mode NINE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 91 | #define _LEUART_CTRL_PARITY_SHIFT 2 /**< Shift value for LEUART_PARITY */ |
Kojto | 98:8ab26030e058 | 92 | #define _LEUART_CTRL_PARITY_MASK 0xCUL /**< Bit mask for LEUART_PARITY */ |
Kojto | 98:8ab26030e058 | 93 | #define _LEUART_CTRL_PARITY_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 94 | #define _LEUART_CTRL_PARITY_NONE 0x00000000UL /**< Mode NONE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 95 | #define _LEUART_CTRL_PARITY_EVEN 0x00000002UL /**< Mode EVEN for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 96 | #define _LEUART_CTRL_PARITY_ODD 0x00000003UL /**< Mode ODD for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 97 | #define LEUART_CTRL_PARITY_DEFAULT (_LEUART_CTRL_PARITY_DEFAULT << 2) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 98 | #define LEUART_CTRL_PARITY_NONE (_LEUART_CTRL_PARITY_NONE << 2) /**< Shifted mode NONE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 99 | #define LEUART_CTRL_PARITY_EVEN (_LEUART_CTRL_PARITY_EVEN << 2) /**< Shifted mode EVEN for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 100 | #define LEUART_CTRL_PARITY_ODD (_LEUART_CTRL_PARITY_ODD << 2) /**< Shifted mode ODD for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 101 | #define LEUART_CTRL_STOPBITS (0x1UL << 4) /**< Stop-Bit Mode */ |
Kojto | 98:8ab26030e058 | 102 | #define _LEUART_CTRL_STOPBITS_SHIFT 4 /**< Shift value for LEUART_STOPBITS */ |
Kojto | 98:8ab26030e058 | 103 | #define _LEUART_CTRL_STOPBITS_MASK 0x10UL /**< Bit mask for LEUART_STOPBITS */ |
Kojto | 98:8ab26030e058 | 104 | #define _LEUART_CTRL_STOPBITS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 105 | #define _LEUART_CTRL_STOPBITS_ONE 0x00000000UL /**< Mode ONE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 106 | #define _LEUART_CTRL_STOPBITS_TWO 0x00000001UL /**< Mode TWO for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 107 | #define LEUART_CTRL_STOPBITS_DEFAULT (_LEUART_CTRL_STOPBITS_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 108 | #define LEUART_CTRL_STOPBITS_ONE (_LEUART_CTRL_STOPBITS_ONE << 4) /**< Shifted mode ONE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 109 | #define LEUART_CTRL_STOPBITS_TWO (_LEUART_CTRL_STOPBITS_TWO << 4) /**< Shifted mode TWO for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 110 | #define LEUART_CTRL_INV (0x1UL << 5) /**< Invert Input And Output */ |
Kojto | 98:8ab26030e058 | 111 | #define _LEUART_CTRL_INV_SHIFT 5 /**< Shift value for LEUART_INV */ |
Kojto | 98:8ab26030e058 | 112 | #define _LEUART_CTRL_INV_MASK 0x20UL /**< Bit mask for LEUART_INV */ |
Kojto | 98:8ab26030e058 | 113 | #define _LEUART_CTRL_INV_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 114 | #define LEUART_CTRL_INV_DEFAULT (_LEUART_CTRL_INV_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 115 | #define LEUART_CTRL_ERRSDMA (0x1UL << 6) /**< Clear RX DMA On Error */ |
Kojto | 98:8ab26030e058 | 116 | #define _LEUART_CTRL_ERRSDMA_SHIFT 6 /**< Shift value for LEUART_ERRSDMA */ |
Kojto | 98:8ab26030e058 | 117 | #define _LEUART_CTRL_ERRSDMA_MASK 0x40UL /**< Bit mask for LEUART_ERRSDMA */ |
Kojto | 98:8ab26030e058 | 118 | #define _LEUART_CTRL_ERRSDMA_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 119 | #define LEUART_CTRL_ERRSDMA_DEFAULT (_LEUART_CTRL_ERRSDMA_DEFAULT << 6) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 120 | #define LEUART_CTRL_LOOPBK (0x1UL << 7) /**< Loopback Enable */ |
Kojto | 98:8ab26030e058 | 121 | #define _LEUART_CTRL_LOOPBK_SHIFT 7 /**< Shift value for LEUART_LOOPBK */ |
Kojto | 98:8ab26030e058 | 122 | #define _LEUART_CTRL_LOOPBK_MASK 0x80UL /**< Bit mask for LEUART_LOOPBK */ |
Kojto | 98:8ab26030e058 | 123 | #define _LEUART_CTRL_LOOPBK_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 124 | #define LEUART_CTRL_LOOPBK_DEFAULT (_LEUART_CTRL_LOOPBK_DEFAULT << 7) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 125 | #define LEUART_CTRL_SFUBRX (0x1UL << 8) /**< Start-Frame UnBlock RX */ |
Kojto | 98:8ab26030e058 | 126 | #define _LEUART_CTRL_SFUBRX_SHIFT 8 /**< Shift value for LEUART_SFUBRX */ |
Kojto | 98:8ab26030e058 | 127 | #define _LEUART_CTRL_SFUBRX_MASK 0x100UL /**< Bit mask for LEUART_SFUBRX */ |
Kojto | 98:8ab26030e058 | 128 | #define _LEUART_CTRL_SFUBRX_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 129 | #define LEUART_CTRL_SFUBRX_DEFAULT (_LEUART_CTRL_SFUBRX_DEFAULT << 8) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 130 | #define LEUART_CTRL_MPM (0x1UL << 9) /**< Multi-Processor Mode */ |
Kojto | 98:8ab26030e058 | 131 | #define _LEUART_CTRL_MPM_SHIFT 9 /**< Shift value for LEUART_MPM */ |
Kojto | 98:8ab26030e058 | 132 | #define _LEUART_CTRL_MPM_MASK 0x200UL /**< Bit mask for LEUART_MPM */ |
Kojto | 98:8ab26030e058 | 133 | #define _LEUART_CTRL_MPM_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 134 | #define LEUART_CTRL_MPM_DEFAULT (_LEUART_CTRL_MPM_DEFAULT << 9) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 135 | #define LEUART_CTRL_MPAB (0x1UL << 10) /**< Multi-Processor Address-Bit */ |
Kojto | 98:8ab26030e058 | 136 | #define _LEUART_CTRL_MPAB_SHIFT 10 /**< Shift value for LEUART_MPAB */ |
Kojto | 98:8ab26030e058 | 137 | #define _LEUART_CTRL_MPAB_MASK 0x400UL /**< Bit mask for LEUART_MPAB */ |
Kojto | 98:8ab26030e058 | 138 | #define _LEUART_CTRL_MPAB_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 139 | #define LEUART_CTRL_MPAB_DEFAULT (_LEUART_CTRL_MPAB_DEFAULT << 10) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 140 | #define LEUART_CTRL_BIT8DV (0x1UL << 11) /**< Bit 8 Default Value */ |
Kojto | 98:8ab26030e058 | 141 | #define _LEUART_CTRL_BIT8DV_SHIFT 11 /**< Shift value for LEUART_BIT8DV */ |
Kojto | 98:8ab26030e058 | 142 | #define _LEUART_CTRL_BIT8DV_MASK 0x800UL /**< Bit mask for LEUART_BIT8DV */ |
Kojto | 98:8ab26030e058 | 143 | #define _LEUART_CTRL_BIT8DV_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 144 | #define LEUART_CTRL_BIT8DV_DEFAULT (_LEUART_CTRL_BIT8DV_DEFAULT << 11) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 145 | #define LEUART_CTRL_RXDMAWU (0x1UL << 12) /**< RX DMA Wakeup */ |
Kojto | 98:8ab26030e058 | 146 | #define _LEUART_CTRL_RXDMAWU_SHIFT 12 /**< Shift value for LEUART_RXDMAWU */ |
Kojto | 98:8ab26030e058 | 147 | #define _LEUART_CTRL_RXDMAWU_MASK 0x1000UL /**< Bit mask for LEUART_RXDMAWU */ |
Kojto | 98:8ab26030e058 | 148 | #define _LEUART_CTRL_RXDMAWU_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 149 | #define LEUART_CTRL_RXDMAWU_DEFAULT (_LEUART_CTRL_RXDMAWU_DEFAULT << 12) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 150 | #define LEUART_CTRL_TXDMAWU (0x1UL << 13) /**< TX DMA Wakeup */ |
Kojto | 98:8ab26030e058 | 151 | #define _LEUART_CTRL_TXDMAWU_SHIFT 13 /**< Shift value for LEUART_TXDMAWU */ |
Kojto | 98:8ab26030e058 | 152 | #define _LEUART_CTRL_TXDMAWU_MASK 0x2000UL /**< Bit mask for LEUART_TXDMAWU */ |
Kojto | 98:8ab26030e058 | 153 | #define _LEUART_CTRL_TXDMAWU_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 154 | #define LEUART_CTRL_TXDMAWU_DEFAULT (_LEUART_CTRL_TXDMAWU_DEFAULT << 13) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 155 | #define _LEUART_CTRL_TXDELAY_SHIFT 14 /**< Shift value for LEUART_TXDELAY */ |
Kojto | 98:8ab26030e058 | 156 | #define _LEUART_CTRL_TXDELAY_MASK 0xC000UL /**< Bit mask for LEUART_TXDELAY */ |
Kojto | 98:8ab26030e058 | 157 | #define _LEUART_CTRL_TXDELAY_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 158 | #define _LEUART_CTRL_TXDELAY_NONE 0x00000000UL /**< Mode NONE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 159 | #define _LEUART_CTRL_TXDELAY_SINGLE 0x00000001UL /**< Mode SINGLE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 160 | #define _LEUART_CTRL_TXDELAY_DOUBLE 0x00000002UL /**< Mode DOUBLE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 161 | #define _LEUART_CTRL_TXDELAY_TRIPLE 0x00000003UL /**< Mode TRIPLE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 162 | #define LEUART_CTRL_TXDELAY_DEFAULT (_LEUART_CTRL_TXDELAY_DEFAULT << 14) /**< Shifted mode DEFAULT for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 163 | #define LEUART_CTRL_TXDELAY_NONE (_LEUART_CTRL_TXDELAY_NONE << 14) /**< Shifted mode NONE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 164 | #define LEUART_CTRL_TXDELAY_SINGLE (_LEUART_CTRL_TXDELAY_SINGLE << 14) /**< Shifted mode SINGLE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 165 | #define LEUART_CTRL_TXDELAY_DOUBLE (_LEUART_CTRL_TXDELAY_DOUBLE << 14) /**< Shifted mode DOUBLE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 166 | #define LEUART_CTRL_TXDELAY_TRIPLE (_LEUART_CTRL_TXDELAY_TRIPLE << 14) /**< Shifted mode TRIPLE for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 167 | |
Kojto | 98:8ab26030e058 | 168 | /* Bit fields for LEUART CMD */ |
Kojto | 98:8ab26030e058 | 169 | #define _LEUART_CMD_RESETVALUE 0x00000000UL /**< Default value for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 170 | #define _LEUART_CMD_MASK 0x000000FFUL /**< Mask for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 171 | #define LEUART_CMD_RXEN (0x1UL << 0) /**< Receiver Enable */ |
Kojto | 98:8ab26030e058 | 172 | #define _LEUART_CMD_RXEN_SHIFT 0 /**< Shift value for LEUART_RXEN */ |
Kojto | 98:8ab26030e058 | 173 | #define _LEUART_CMD_RXEN_MASK 0x1UL /**< Bit mask for LEUART_RXEN */ |
Kojto | 98:8ab26030e058 | 174 | #define _LEUART_CMD_RXEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 175 | #define LEUART_CMD_RXEN_DEFAULT (_LEUART_CMD_RXEN_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 176 | #define LEUART_CMD_RXDIS (0x1UL << 1) /**< Receiver Disable */ |
Kojto | 98:8ab26030e058 | 177 | #define _LEUART_CMD_RXDIS_SHIFT 1 /**< Shift value for LEUART_RXDIS */ |
Kojto | 98:8ab26030e058 | 178 | #define _LEUART_CMD_RXDIS_MASK 0x2UL /**< Bit mask for LEUART_RXDIS */ |
Kojto | 98:8ab26030e058 | 179 | #define _LEUART_CMD_RXDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 180 | #define LEUART_CMD_RXDIS_DEFAULT (_LEUART_CMD_RXDIS_DEFAULT << 1) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 181 | #define LEUART_CMD_TXEN (0x1UL << 2) /**< Transmitter Enable */ |
Kojto | 98:8ab26030e058 | 182 | #define _LEUART_CMD_TXEN_SHIFT 2 /**< Shift value for LEUART_TXEN */ |
Kojto | 98:8ab26030e058 | 183 | #define _LEUART_CMD_TXEN_MASK 0x4UL /**< Bit mask for LEUART_TXEN */ |
Kojto | 98:8ab26030e058 | 184 | #define _LEUART_CMD_TXEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 185 | #define LEUART_CMD_TXEN_DEFAULT (_LEUART_CMD_TXEN_DEFAULT << 2) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 186 | #define LEUART_CMD_TXDIS (0x1UL << 3) /**< Transmitter Disable */ |
Kojto | 98:8ab26030e058 | 187 | #define _LEUART_CMD_TXDIS_SHIFT 3 /**< Shift value for LEUART_TXDIS */ |
Kojto | 98:8ab26030e058 | 188 | #define _LEUART_CMD_TXDIS_MASK 0x8UL /**< Bit mask for LEUART_TXDIS */ |
Kojto | 98:8ab26030e058 | 189 | #define _LEUART_CMD_TXDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 190 | #define LEUART_CMD_TXDIS_DEFAULT (_LEUART_CMD_TXDIS_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 191 | #define LEUART_CMD_RXBLOCKEN (0x1UL << 4) /**< Receiver Block Enable */ |
Kojto | 98:8ab26030e058 | 192 | #define _LEUART_CMD_RXBLOCKEN_SHIFT 4 /**< Shift value for LEUART_RXBLOCKEN */ |
Kojto | 98:8ab26030e058 | 193 | #define _LEUART_CMD_RXBLOCKEN_MASK 0x10UL /**< Bit mask for LEUART_RXBLOCKEN */ |
Kojto | 98:8ab26030e058 | 194 | #define _LEUART_CMD_RXBLOCKEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 195 | #define LEUART_CMD_RXBLOCKEN_DEFAULT (_LEUART_CMD_RXBLOCKEN_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 196 | #define LEUART_CMD_RXBLOCKDIS (0x1UL << 5) /**< Receiver Block Disable */ |
Kojto | 98:8ab26030e058 | 197 | #define _LEUART_CMD_RXBLOCKDIS_SHIFT 5 /**< Shift value for LEUART_RXBLOCKDIS */ |
Kojto | 98:8ab26030e058 | 198 | #define _LEUART_CMD_RXBLOCKDIS_MASK 0x20UL /**< Bit mask for LEUART_RXBLOCKDIS */ |
Kojto | 98:8ab26030e058 | 199 | #define _LEUART_CMD_RXBLOCKDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 200 | #define LEUART_CMD_RXBLOCKDIS_DEFAULT (_LEUART_CMD_RXBLOCKDIS_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 201 | #define LEUART_CMD_CLEARTX (0x1UL << 6) /**< Clear TX */ |
Kojto | 98:8ab26030e058 | 202 | #define _LEUART_CMD_CLEARTX_SHIFT 6 /**< Shift value for LEUART_CLEARTX */ |
Kojto | 98:8ab26030e058 | 203 | #define _LEUART_CMD_CLEARTX_MASK 0x40UL /**< Bit mask for LEUART_CLEARTX */ |
Kojto | 98:8ab26030e058 | 204 | #define _LEUART_CMD_CLEARTX_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 205 | #define LEUART_CMD_CLEARTX_DEFAULT (_LEUART_CMD_CLEARTX_DEFAULT << 6) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 206 | #define LEUART_CMD_CLEARRX (0x1UL << 7) /**< Clear RX */ |
Kojto | 98:8ab26030e058 | 207 | #define _LEUART_CMD_CLEARRX_SHIFT 7 /**< Shift value for LEUART_CLEARRX */ |
Kojto | 98:8ab26030e058 | 208 | #define _LEUART_CMD_CLEARRX_MASK 0x80UL /**< Bit mask for LEUART_CLEARRX */ |
Kojto | 98:8ab26030e058 | 209 | #define _LEUART_CMD_CLEARRX_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 210 | #define LEUART_CMD_CLEARRX_DEFAULT (_LEUART_CMD_CLEARRX_DEFAULT << 7) /**< Shifted mode DEFAULT for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 211 | |
Kojto | 98:8ab26030e058 | 212 | /* Bit fields for LEUART STATUS */ |
Kojto | 98:8ab26030e058 | 213 | #define _LEUART_STATUS_RESETVALUE 0x00000010UL /**< Default value for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 214 | #define _LEUART_STATUS_MASK 0x0000003FUL /**< Mask for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 215 | #define LEUART_STATUS_RXENS (0x1UL << 0) /**< Receiver Enable Status */ |
Kojto | 98:8ab26030e058 | 216 | #define _LEUART_STATUS_RXENS_SHIFT 0 /**< Shift value for LEUART_RXENS */ |
Kojto | 98:8ab26030e058 | 217 | #define _LEUART_STATUS_RXENS_MASK 0x1UL /**< Bit mask for LEUART_RXENS */ |
Kojto | 98:8ab26030e058 | 218 | #define _LEUART_STATUS_RXENS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 219 | #define LEUART_STATUS_RXENS_DEFAULT (_LEUART_STATUS_RXENS_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 220 | #define LEUART_STATUS_TXENS (0x1UL << 1) /**< Transmitter Enable Status */ |
Kojto | 98:8ab26030e058 | 221 | #define _LEUART_STATUS_TXENS_SHIFT 1 /**< Shift value for LEUART_TXENS */ |
Kojto | 98:8ab26030e058 | 222 | #define _LEUART_STATUS_TXENS_MASK 0x2UL /**< Bit mask for LEUART_TXENS */ |
Kojto | 98:8ab26030e058 | 223 | #define _LEUART_STATUS_TXENS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 224 | #define LEUART_STATUS_TXENS_DEFAULT (_LEUART_STATUS_TXENS_DEFAULT << 1) /**< Shifted mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 225 | #define LEUART_STATUS_RXBLOCK (0x1UL << 2) /**< Block Incoming Data */ |
Kojto | 98:8ab26030e058 | 226 | #define _LEUART_STATUS_RXBLOCK_SHIFT 2 /**< Shift value for LEUART_RXBLOCK */ |
Kojto | 98:8ab26030e058 | 227 | #define _LEUART_STATUS_RXBLOCK_MASK 0x4UL /**< Bit mask for LEUART_RXBLOCK */ |
Kojto | 98:8ab26030e058 | 228 | #define _LEUART_STATUS_RXBLOCK_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 229 | #define LEUART_STATUS_RXBLOCK_DEFAULT (_LEUART_STATUS_RXBLOCK_DEFAULT << 2) /**< Shifted mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 230 | #define LEUART_STATUS_TXC (0x1UL << 3) /**< TX Complete */ |
Kojto | 98:8ab26030e058 | 231 | #define _LEUART_STATUS_TXC_SHIFT 3 /**< Shift value for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 232 | #define _LEUART_STATUS_TXC_MASK 0x8UL /**< Bit mask for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 233 | #define _LEUART_STATUS_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 234 | #define LEUART_STATUS_TXC_DEFAULT (_LEUART_STATUS_TXC_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 235 | #define LEUART_STATUS_TXBL (0x1UL << 4) /**< TX Buffer Level */ |
Kojto | 98:8ab26030e058 | 236 | #define _LEUART_STATUS_TXBL_SHIFT 4 /**< Shift value for LEUART_TXBL */ |
Kojto | 98:8ab26030e058 | 237 | #define _LEUART_STATUS_TXBL_MASK 0x10UL /**< Bit mask for LEUART_TXBL */ |
Kojto | 98:8ab26030e058 | 238 | #define _LEUART_STATUS_TXBL_DEFAULT 0x00000001UL /**< Mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 239 | #define LEUART_STATUS_TXBL_DEFAULT (_LEUART_STATUS_TXBL_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 240 | #define LEUART_STATUS_RXDATAV (0x1UL << 5) /**< RX Data Valid */ |
Kojto | 98:8ab26030e058 | 241 | #define _LEUART_STATUS_RXDATAV_SHIFT 5 /**< Shift value for LEUART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 242 | #define _LEUART_STATUS_RXDATAV_MASK 0x20UL /**< Bit mask for LEUART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 243 | #define _LEUART_STATUS_RXDATAV_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 244 | #define LEUART_STATUS_RXDATAV_DEFAULT (_LEUART_STATUS_RXDATAV_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_STATUS */ |
Kojto | 98:8ab26030e058 | 245 | |
Kojto | 98:8ab26030e058 | 246 | /* Bit fields for LEUART CLKDIV */ |
Kojto | 98:8ab26030e058 | 247 | #define _LEUART_CLKDIV_RESETVALUE 0x00000000UL /**< Default value for LEUART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 248 | #define _LEUART_CLKDIV_MASK 0x00007FF8UL /**< Mask for LEUART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 249 | #define _LEUART_CLKDIV_DIV_SHIFT 3 /**< Shift value for LEUART_DIV */ |
Kojto | 98:8ab26030e058 | 250 | #define _LEUART_CLKDIV_DIV_MASK 0x7FF8UL /**< Bit mask for LEUART_DIV */ |
Kojto | 98:8ab26030e058 | 251 | #define _LEUART_CLKDIV_DIV_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 252 | #define LEUART_CLKDIV_DIV_DEFAULT (_LEUART_CLKDIV_DIV_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 253 | |
Kojto | 98:8ab26030e058 | 254 | /* Bit fields for LEUART STARTFRAME */ |
Kojto | 98:8ab26030e058 | 255 | #define _LEUART_STARTFRAME_RESETVALUE 0x00000000UL /**< Default value for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 256 | #define _LEUART_STARTFRAME_MASK 0x000001FFUL /**< Mask for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 257 | #define _LEUART_STARTFRAME_STARTFRAME_SHIFT 0 /**< Shift value for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 258 | #define _LEUART_STARTFRAME_STARTFRAME_MASK 0x1FFUL /**< Bit mask for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 259 | #define _LEUART_STARTFRAME_STARTFRAME_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 260 | #define LEUART_STARTFRAME_STARTFRAME_DEFAULT (_LEUART_STARTFRAME_STARTFRAME_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 261 | |
Kojto | 98:8ab26030e058 | 262 | /* Bit fields for LEUART SIGFRAME */ |
Kojto | 98:8ab26030e058 | 263 | #define _LEUART_SIGFRAME_RESETVALUE 0x00000000UL /**< Default value for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 264 | #define _LEUART_SIGFRAME_MASK 0x000001FFUL /**< Mask for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 265 | #define _LEUART_SIGFRAME_SIGFRAME_SHIFT 0 /**< Shift value for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 266 | #define _LEUART_SIGFRAME_SIGFRAME_MASK 0x1FFUL /**< Bit mask for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 267 | #define _LEUART_SIGFRAME_SIGFRAME_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 268 | #define LEUART_SIGFRAME_SIGFRAME_DEFAULT (_LEUART_SIGFRAME_SIGFRAME_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 269 | |
Kojto | 98:8ab26030e058 | 270 | /* Bit fields for LEUART RXDATAX */ |
Kojto | 98:8ab26030e058 | 271 | #define _LEUART_RXDATAX_RESETVALUE 0x00000000UL /**< Default value for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 272 | #define _LEUART_RXDATAX_MASK 0x0000C1FFUL /**< Mask for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 273 | #define _LEUART_RXDATAX_RXDATA_SHIFT 0 /**< Shift value for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 274 | #define _LEUART_RXDATAX_RXDATA_MASK 0x1FFUL /**< Bit mask for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 275 | #define _LEUART_RXDATAX_RXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 276 | #define LEUART_RXDATAX_RXDATA_DEFAULT (_LEUART_RXDATAX_RXDATA_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 277 | #define LEUART_RXDATAX_PERR (0x1UL << 14) /**< Receive Data Parity Error */ |
Kojto | 98:8ab26030e058 | 278 | #define _LEUART_RXDATAX_PERR_SHIFT 14 /**< Shift value for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 279 | #define _LEUART_RXDATAX_PERR_MASK 0x4000UL /**< Bit mask for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 280 | #define _LEUART_RXDATAX_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 281 | #define LEUART_RXDATAX_PERR_DEFAULT (_LEUART_RXDATAX_PERR_DEFAULT << 14) /**< Shifted mode DEFAULT for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 282 | #define LEUART_RXDATAX_FERR (0x1UL << 15) /**< Receive Data Framing Error */ |
Kojto | 98:8ab26030e058 | 283 | #define _LEUART_RXDATAX_FERR_SHIFT 15 /**< Shift value for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 284 | #define _LEUART_RXDATAX_FERR_MASK 0x8000UL /**< Bit mask for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 285 | #define _LEUART_RXDATAX_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 286 | #define LEUART_RXDATAX_FERR_DEFAULT (_LEUART_RXDATAX_FERR_DEFAULT << 15) /**< Shifted mode DEFAULT for LEUART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 287 | |
Kojto | 98:8ab26030e058 | 288 | /* Bit fields for LEUART RXDATA */ |
Kojto | 98:8ab26030e058 | 289 | #define _LEUART_RXDATA_RESETVALUE 0x00000000UL /**< Default value for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 290 | #define _LEUART_RXDATA_MASK 0x000000FFUL /**< Mask for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 291 | #define _LEUART_RXDATA_RXDATA_SHIFT 0 /**< Shift value for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 292 | #define _LEUART_RXDATA_RXDATA_MASK 0xFFUL /**< Bit mask for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 293 | #define _LEUART_RXDATA_RXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 294 | #define LEUART_RXDATA_RXDATA_DEFAULT (_LEUART_RXDATA_RXDATA_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_RXDATA */ |
Kojto | 98:8ab26030e058 | 295 | |
Kojto | 98:8ab26030e058 | 296 | /* Bit fields for LEUART RXDATAXP */ |
Kojto | 98:8ab26030e058 | 297 | #define _LEUART_RXDATAXP_RESETVALUE 0x00000000UL /**< Default value for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 298 | #define _LEUART_RXDATAXP_MASK 0x0000C1FFUL /**< Mask for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 299 | #define _LEUART_RXDATAXP_RXDATAP_SHIFT 0 /**< Shift value for LEUART_RXDATAP */ |
Kojto | 98:8ab26030e058 | 300 | #define _LEUART_RXDATAXP_RXDATAP_MASK 0x1FFUL /**< Bit mask for LEUART_RXDATAP */ |
Kojto | 98:8ab26030e058 | 301 | #define _LEUART_RXDATAXP_RXDATAP_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 302 | #define LEUART_RXDATAXP_RXDATAP_DEFAULT (_LEUART_RXDATAXP_RXDATAP_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 303 | #define LEUART_RXDATAXP_PERRP (0x1UL << 14) /**< Receive Data Parity Error Peek */ |
Kojto | 98:8ab26030e058 | 304 | #define _LEUART_RXDATAXP_PERRP_SHIFT 14 /**< Shift value for LEUART_PERRP */ |
Kojto | 98:8ab26030e058 | 305 | #define _LEUART_RXDATAXP_PERRP_MASK 0x4000UL /**< Bit mask for LEUART_PERRP */ |
Kojto | 98:8ab26030e058 | 306 | #define _LEUART_RXDATAXP_PERRP_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 307 | #define LEUART_RXDATAXP_PERRP_DEFAULT (_LEUART_RXDATAXP_PERRP_DEFAULT << 14) /**< Shifted mode DEFAULT for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 308 | #define LEUART_RXDATAXP_FERRP (0x1UL << 15) /**< Receive Data Framing Error Peek */ |
Kojto | 98:8ab26030e058 | 309 | #define _LEUART_RXDATAXP_FERRP_SHIFT 15 /**< Shift value for LEUART_FERRP */ |
Kojto | 98:8ab26030e058 | 310 | #define _LEUART_RXDATAXP_FERRP_MASK 0x8000UL /**< Bit mask for LEUART_FERRP */ |
Kojto | 98:8ab26030e058 | 311 | #define _LEUART_RXDATAXP_FERRP_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 312 | #define LEUART_RXDATAXP_FERRP_DEFAULT (_LEUART_RXDATAXP_FERRP_DEFAULT << 15) /**< Shifted mode DEFAULT for LEUART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 313 | |
Kojto | 98:8ab26030e058 | 314 | /* Bit fields for LEUART TXDATAX */ |
Kojto | 98:8ab26030e058 | 315 | #define _LEUART_TXDATAX_RESETVALUE 0x00000000UL /**< Default value for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 316 | #define _LEUART_TXDATAX_MASK 0x0000E1FFUL /**< Mask for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 317 | #define _LEUART_TXDATAX_TXDATA_SHIFT 0 /**< Shift value for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 318 | #define _LEUART_TXDATAX_TXDATA_MASK 0x1FFUL /**< Bit mask for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 319 | #define _LEUART_TXDATAX_TXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 320 | #define LEUART_TXDATAX_TXDATA_DEFAULT (_LEUART_TXDATAX_TXDATA_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 321 | #define LEUART_TXDATAX_TXBREAK (0x1UL << 13) /**< Transmit Data As Break */ |
Kojto | 98:8ab26030e058 | 322 | #define _LEUART_TXDATAX_TXBREAK_SHIFT 13 /**< Shift value for LEUART_TXBREAK */ |
Kojto | 98:8ab26030e058 | 323 | #define _LEUART_TXDATAX_TXBREAK_MASK 0x2000UL /**< Bit mask for LEUART_TXBREAK */ |
Kojto | 98:8ab26030e058 | 324 | #define _LEUART_TXDATAX_TXBREAK_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 325 | #define LEUART_TXDATAX_TXBREAK_DEFAULT (_LEUART_TXDATAX_TXBREAK_DEFAULT << 13) /**< Shifted mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 326 | #define LEUART_TXDATAX_TXDISAT (0x1UL << 14) /**< Disable TX After Transmission */ |
Kojto | 98:8ab26030e058 | 327 | #define _LEUART_TXDATAX_TXDISAT_SHIFT 14 /**< Shift value for LEUART_TXDISAT */ |
Kojto | 98:8ab26030e058 | 328 | #define _LEUART_TXDATAX_TXDISAT_MASK 0x4000UL /**< Bit mask for LEUART_TXDISAT */ |
Kojto | 98:8ab26030e058 | 329 | #define _LEUART_TXDATAX_TXDISAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 330 | #define LEUART_TXDATAX_TXDISAT_DEFAULT (_LEUART_TXDATAX_TXDISAT_DEFAULT << 14) /**< Shifted mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 331 | #define LEUART_TXDATAX_RXENAT (0x1UL << 15) /**< Enable RX After Transmission */ |
Kojto | 98:8ab26030e058 | 332 | #define _LEUART_TXDATAX_RXENAT_SHIFT 15 /**< Shift value for LEUART_RXENAT */ |
Kojto | 98:8ab26030e058 | 333 | #define _LEUART_TXDATAX_RXENAT_MASK 0x8000UL /**< Bit mask for LEUART_RXENAT */ |
Kojto | 98:8ab26030e058 | 334 | #define _LEUART_TXDATAX_RXENAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 335 | #define LEUART_TXDATAX_RXENAT_DEFAULT (_LEUART_TXDATAX_RXENAT_DEFAULT << 15) /**< Shifted mode DEFAULT for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 336 | |
Kojto | 98:8ab26030e058 | 337 | /* Bit fields for LEUART TXDATA */ |
Kojto | 98:8ab26030e058 | 338 | #define _LEUART_TXDATA_RESETVALUE 0x00000000UL /**< Default value for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 339 | #define _LEUART_TXDATA_MASK 0x000000FFUL /**< Mask for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 340 | #define _LEUART_TXDATA_TXDATA_SHIFT 0 /**< Shift value for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 341 | #define _LEUART_TXDATA_TXDATA_MASK 0xFFUL /**< Bit mask for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 342 | #define _LEUART_TXDATA_TXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 343 | #define LEUART_TXDATA_TXDATA_DEFAULT (_LEUART_TXDATA_TXDATA_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 344 | |
Kojto | 98:8ab26030e058 | 345 | /* Bit fields for LEUART IF */ |
Kojto | 98:8ab26030e058 | 346 | #define _LEUART_IF_RESETVALUE 0x00000002UL /**< Default value for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 347 | #define _LEUART_IF_MASK 0x000007FFUL /**< Mask for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 348 | #define LEUART_IF_TXC (0x1UL << 0) /**< TX Complete Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 349 | #define _LEUART_IF_TXC_SHIFT 0 /**< Shift value for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 350 | #define _LEUART_IF_TXC_MASK 0x1UL /**< Bit mask for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 351 | #define _LEUART_IF_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 352 | #define LEUART_IF_TXC_DEFAULT (_LEUART_IF_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 353 | #define LEUART_IF_TXBL (0x1UL << 1) /**< TX Buffer Level Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 354 | #define _LEUART_IF_TXBL_SHIFT 1 /**< Shift value for LEUART_TXBL */ |
Kojto | 98:8ab26030e058 | 355 | #define _LEUART_IF_TXBL_MASK 0x2UL /**< Bit mask for LEUART_TXBL */ |
Kojto | 98:8ab26030e058 | 356 | #define _LEUART_IF_TXBL_DEFAULT 0x00000001UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 357 | #define LEUART_IF_TXBL_DEFAULT (_LEUART_IF_TXBL_DEFAULT << 1) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 358 | #define LEUART_IF_RXDATAV (0x1UL << 2) /**< RX Data Valid Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 359 | #define _LEUART_IF_RXDATAV_SHIFT 2 /**< Shift value for LEUART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 360 | #define _LEUART_IF_RXDATAV_MASK 0x4UL /**< Bit mask for LEUART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 361 | #define _LEUART_IF_RXDATAV_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 362 | #define LEUART_IF_RXDATAV_DEFAULT (_LEUART_IF_RXDATAV_DEFAULT << 2) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 363 | #define LEUART_IF_RXOF (0x1UL << 3) /**< RX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 364 | #define _LEUART_IF_RXOF_SHIFT 3 /**< Shift value for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 365 | #define _LEUART_IF_RXOF_MASK 0x8UL /**< Bit mask for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 366 | #define _LEUART_IF_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 367 | #define LEUART_IF_RXOF_DEFAULT (_LEUART_IF_RXOF_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 368 | #define LEUART_IF_RXUF (0x1UL << 4) /**< RX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 369 | #define _LEUART_IF_RXUF_SHIFT 4 /**< Shift value for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 370 | #define _LEUART_IF_RXUF_MASK 0x10UL /**< Bit mask for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 371 | #define _LEUART_IF_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 372 | #define LEUART_IF_RXUF_DEFAULT (_LEUART_IF_RXUF_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 373 | #define LEUART_IF_TXOF (0x1UL << 5) /**< TX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 374 | #define _LEUART_IF_TXOF_SHIFT 5 /**< Shift value for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 375 | #define _LEUART_IF_TXOF_MASK 0x20UL /**< Bit mask for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 376 | #define _LEUART_IF_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 377 | #define LEUART_IF_TXOF_DEFAULT (_LEUART_IF_TXOF_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 378 | #define LEUART_IF_PERR (0x1UL << 6) /**< Parity Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 379 | #define _LEUART_IF_PERR_SHIFT 6 /**< Shift value for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 380 | #define _LEUART_IF_PERR_MASK 0x40UL /**< Bit mask for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 381 | #define _LEUART_IF_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 382 | #define LEUART_IF_PERR_DEFAULT (_LEUART_IF_PERR_DEFAULT << 6) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 383 | #define LEUART_IF_FERR (0x1UL << 7) /**< Framing Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 384 | #define _LEUART_IF_FERR_SHIFT 7 /**< Shift value for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 385 | #define _LEUART_IF_FERR_MASK 0x80UL /**< Bit mask for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 386 | #define _LEUART_IF_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 387 | #define LEUART_IF_FERR_DEFAULT (_LEUART_IF_FERR_DEFAULT << 7) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 388 | #define LEUART_IF_MPAF (0x1UL << 8) /**< Multi-Processor Address Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 389 | #define _LEUART_IF_MPAF_SHIFT 8 /**< Shift value for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 390 | #define _LEUART_IF_MPAF_MASK 0x100UL /**< Bit mask for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 391 | #define _LEUART_IF_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 392 | #define LEUART_IF_MPAF_DEFAULT (_LEUART_IF_MPAF_DEFAULT << 8) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 393 | #define LEUART_IF_STARTF (0x1UL << 9) /**< Start Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 394 | #define _LEUART_IF_STARTF_SHIFT 9 /**< Shift value for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 395 | #define _LEUART_IF_STARTF_MASK 0x200UL /**< Bit mask for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 396 | #define _LEUART_IF_STARTF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 397 | #define LEUART_IF_STARTF_DEFAULT (_LEUART_IF_STARTF_DEFAULT << 9) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 398 | #define LEUART_IF_SIGF (0x1UL << 10) /**< Signal Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 399 | #define _LEUART_IF_SIGF_SHIFT 10 /**< Shift value for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 400 | #define _LEUART_IF_SIGF_MASK 0x400UL /**< Bit mask for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 401 | #define _LEUART_IF_SIGF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 402 | #define LEUART_IF_SIGF_DEFAULT (_LEUART_IF_SIGF_DEFAULT << 10) /**< Shifted mode DEFAULT for LEUART_IF */ |
Kojto | 98:8ab26030e058 | 403 | |
Kojto | 98:8ab26030e058 | 404 | /* Bit fields for LEUART IFS */ |
Kojto | 98:8ab26030e058 | 405 | #define _LEUART_IFS_RESETVALUE 0x00000000UL /**< Default value for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 406 | #define _LEUART_IFS_MASK 0x000007F9UL /**< Mask for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 407 | #define LEUART_IFS_TXC (0x1UL << 0) /**< Set TX Complete Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 408 | #define _LEUART_IFS_TXC_SHIFT 0 /**< Shift value for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 409 | #define _LEUART_IFS_TXC_MASK 0x1UL /**< Bit mask for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 410 | #define _LEUART_IFS_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 411 | #define LEUART_IFS_TXC_DEFAULT (_LEUART_IFS_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 412 | #define LEUART_IFS_RXOF (0x1UL << 3) /**< Set RX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 413 | #define _LEUART_IFS_RXOF_SHIFT 3 /**< Shift value for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 414 | #define _LEUART_IFS_RXOF_MASK 0x8UL /**< Bit mask for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 415 | #define _LEUART_IFS_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 416 | #define LEUART_IFS_RXOF_DEFAULT (_LEUART_IFS_RXOF_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 417 | #define LEUART_IFS_RXUF (0x1UL << 4) /**< Set RX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 418 | #define _LEUART_IFS_RXUF_SHIFT 4 /**< Shift value for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 419 | #define _LEUART_IFS_RXUF_MASK 0x10UL /**< Bit mask for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 420 | #define _LEUART_IFS_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 421 | #define LEUART_IFS_RXUF_DEFAULT (_LEUART_IFS_RXUF_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 422 | #define LEUART_IFS_TXOF (0x1UL << 5) /**< Set TX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 423 | #define _LEUART_IFS_TXOF_SHIFT 5 /**< Shift value for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 424 | #define _LEUART_IFS_TXOF_MASK 0x20UL /**< Bit mask for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 425 | #define _LEUART_IFS_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 426 | #define LEUART_IFS_TXOF_DEFAULT (_LEUART_IFS_TXOF_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 427 | #define LEUART_IFS_PERR (0x1UL << 6) /**< Set Parity Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 428 | #define _LEUART_IFS_PERR_SHIFT 6 /**< Shift value for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 429 | #define _LEUART_IFS_PERR_MASK 0x40UL /**< Bit mask for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 430 | #define _LEUART_IFS_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 431 | #define LEUART_IFS_PERR_DEFAULT (_LEUART_IFS_PERR_DEFAULT << 6) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 432 | #define LEUART_IFS_FERR (0x1UL << 7) /**< Set Framing Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 433 | #define _LEUART_IFS_FERR_SHIFT 7 /**< Shift value for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 434 | #define _LEUART_IFS_FERR_MASK 0x80UL /**< Bit mask for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 435 | #define _LEUART_IFS_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 436 | #define LEUART_IFS_FERR_DEFAULT (_LEUART_IFS_FERR_DEFAULT << 7) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 437 | #define LEUART_IFS_MPAF (0x1UL << 8) /**< Set Multi-Processor Address Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 438 | #define _LEUART_IFS_MPAF_SHIFT 8 /**< Shift value for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 439 | #define _LEUART_IFS_MPAF_MASK 0x100UL /**< Bit mask for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 440 | #define _LEUART_IFS_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 441 | #define LEUART_IFS_MPAF_DEFAULT (_LEUART_IFS_MPAF_DEFAULT << 8) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 442 | #define LEUART_IFS_STARTF (0x1UL << 9) /**< Set Start Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 443 | #define _LEUART_IFS_STARTF_SHIFT 9 /**< Shift value for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 444 | #define _LEUART_IFS_STARTF_MASK 0x200UL /**< Bit mask for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 445 | #define _LEUART_IFS_STARTF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 446 | #define LEUART_IFS_STARTF_DEFAULT (_LEUART_IFS_STARTF_DEFAULT << 9) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 447 | #define LEUART_IFS_SIGF (0x1UL << 10) /**< Set Signal Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 448 | #define _LEUART_IFS_SIGF_SHIFT 10 /**< Shift value for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 449 | #define _LEUART_IFS_SIGF_MASK 0x400UL /**< Bit mask for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 450 | #define _LEUART_IFS_SIGF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 451 | #define LEUART_IFS_SIGF_DEFAULT (_LEUART_IFS_SIGF_DEFAULT << 10) /**< Shifted mode DEFAULT for LEUART_IFS */ |
Kojto | 98:8ab26030e058 | 452 | |
Kojto | 98:8ab26030e058 | 453 | /* Bit fields for LEUART IFC */ |
Kojto | 98:8ab26030e058 | 454 | #define _LEUART_IFC_RESETVALUE 0x00000000UL /**< Default value for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 455 | #define _LEUART_IFC_MASK 0x000007F9UL /**< Mask for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 456 | #define LEUART_IFC_TXC (0x1UL << 0) /**< Clear TX Complete Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 457 | #define _LEUART_IFC_TXC_SHIFT 0 /**< Shift value for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 458 | #define _LEUART_IFC_TXC_MASK 0x1UL /**< Bit mask for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 459 | #define _LEUART_IFC_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 460 | #define LEUART_IFC_TXC_DEFAULT (_LEUART_IFC_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 461 | #define LEUART_IFC_RXOF (0x1UL << 3) /**< Clear RX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 462 | #define _LEUART_IFC_RXOF_SHIFT 3 /**< Shift value for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 463 | #define _LEUART_IFC_RXOF_MASK 0x8UL /**< Bit mask for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 464 | #define _LEUART_IFC_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 465 | #define LEUART_IFC_RXOF_DEFAULT (_LEUART_IFC_RXOF_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 466 | #define LEUART_IFC_RXUF (0x1UL << 4) /**< Clear RX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 467 | #define _LEUART_IFC_RXUF_SHIFT 4 /**< Shift value for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 468 | #define _LEUART_IFC_RXUF_MASK 0x10UL /**< Bit mask for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 469 | #define _LEUART_IFC_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 470 | #define LEUART_IFC_RXUF_DEFAULT (_LEUART_IFC_RXUF_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 471 | #define LEUART_IFC_TXOF (0x1UL << 5) /**< Clear TX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 472 | #define _LEUART_IFC_TXOF_SHIFT 5 /**< Shift value for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 473 | #define _LEUART_IFC_TXOF_MASK 0x20UL /**< Bit mask for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 474 | #define _LEUART_IFC_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 475 | #define LEUART_IFC_TXOF_DEFAULT (_LEUART_IFC_TXOF_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 476 | #define LEUART_IFC_PERR (0x1UL << 6) /**< Clear Parity Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 477 | #define _LEUART_IFC_PERR_SHIFT 6 /**< Shift value for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 478 | #define _LEUART_IFC_PERR_MASK 0x40UL /**< Bit mask for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 479 | #define _LEUART_IFC_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 480 | #define LEUART_IFC_PERR_DEFAULT (_LEUART_IFC_PERR_DEFAULT << 6) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 481 | #define LEUART_IFC_FERR (0x1UL << 7) /**< Clear Framing Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 482 | #define _LEUART_IFC_FERR_SHIFT 7 /**< Shift value for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 483 | #define _LEUART_IFC_FERR_MASK 0x80UL /**< Bit mask for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 484 | #define _LEUART_IFC_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 485 | #define LEUART_IFC_FERR_DEFAULT (_LEUART_IFC_FERR_DEFAULT << 7) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 486 | #define LEUART_IFC_MPAF (0x1UL << 8) /**< Clear Multi-Processor Address Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 487 | #define _LEUART_IFC_MPAF_SHIFT 8 /**< Shift value for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 488 | #define _LEUART_IFC_MPAF_MASK 0x100UL /**< Bit mask for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 489 | #define _LEUART_IFC_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 490 | #define LEUART_IFC_MPAF_DEFAULT (_LEUART_IFC_MPAF_DEFAULT << 8) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 491 | #define LEUART_IFC_STARTF (0x1UL << 9) /**< Clear Start-Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 492 | #define _LEUART_IFC_STARTF_SHIFT 9 /**< Shift value for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 493 | #define _LEUART_IFC_STARTF_MASK 0x200UL /**< Bit mask for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 494 | #define _LEUART_IFC_STARTF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 495 | #define LEUART_IFC_STARTF_DEFAULT (_LEUART_IFC_STARTF_DEFAULT << 9) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 496 | #define LEUART_IFC_SIGF (0x1UL << 10) /**< Clear Signal-Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 497 | #define _LEUART_IFC_SIGF_SHIFT 10 /**< Shift value for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 498 | #define _LEUART_IFC_SIGF_MASK 0x400UL /**< Bit mask for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 499 | #define _LEUART_IFC_SIGF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 500 | #define LEUART_IFC_SIGF_DEFAULT (_LEUART_IFC_SIGF_DEFAULT << 10) /**< Shifted mode DEFAULT for LEUART_IFC */ |
Kojto | 98:8ab26030e058 | 501 | |
Kojto | 98:8ab26030e058 | 502 | /* Bit fields for LEUART IEN */ |
Kojto | 98:8ab26030e058 | 503 | #define _LEUART_IEN_RESETVALUE 0x00000000UL /**< Default value for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 504 | #define _LEUART_IEN_MASK 0x000007FFUL /**< Mask for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 505 | #define LEUART_IEN_TXC (0x1UL << 0) /**< TX Complete Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 506 | #define _LEUART_IEN_TXC_SHIFT 0 /**< Shift value for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 507 | #define _LEUART_IEN_TXC_MASK 0x1UL /**< Bit mask for LEUART_TXC */ |
Kojto | 98:8ab26030e058 | 508 | #define _LEUART_IEN_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 509 | #define LEUART_IEN_TXC_DEFAULT (_LEUART_IEN_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 510 | #define LEUART_IEN_TXBL (0x1UL << 1) /**< TX Buffer Level Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 511 | #define _LEUART_IEN_TXBL_SHIFT 1 /**< Shift value for LEUART_TXBL */ |
Kojto | 98:8ab26030e058 | 512 | #define _LEUART_IEN_TXBL_MASK 0x2UL /**< Bit mask for LEUART_TXBL */ |
Kojto | 98:8ab26030e058 | 513 | #define _LEUART_IEN_TXBL_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 514 | #define LEUART_IEN_TXBL_DEFAULT (_LEUART_IEN_TXBL_DEFAULT << 1) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 515 | #define LEUART_IEN_RXDATAV (0x1UL << 2) /**< RX Data Valid Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 516 | #define _LEUART_IEN_RXDATAV_SHIFT 2 /**< Shift value for LEUART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 517 | #define _LEUART_IEN_RXDATAV_MASK 0x4UL /**< Bit mask for LEUART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 518 | #define _LEUART_IEN_RXDATAV_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 519 | #define LEUART_IEN_RXDATAV_DEFAULT (_LEUART_IEN_RXDATAV_DEFAULT << 2) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 520 | #define LEUART_IEN_RXOF (0x1UL << 3) /**< RX Overflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 521 | #define _LEUART_IEN_RXOF_SHIFT 3 /**< Shift value for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 522 | #define _LEUART_IEN_RXOF_MASK 0x8UL /**< Bit mask for LEUART_RXOF */ |
Kojto | 98:8ab26030e058 | 523 | #define _LEUART_IEN_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 524 | #define LEUART_IEN_RXOF_DEFAULT (_LEUART_IEN_RXOF_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 525 | #define LEUART_IEN_RXUF (0x1UL << 4) /**< RX Underflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 526 | #define _LEUART_IEN_RXUF_SHIFT 4 /**< Shift value for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 527 | #define _LEUART_IEN_RXUF_MASK 0x10UL /**< Bit mask for LEUART_RXUF */ |
Kojto | 98:8ab26030e058 | 528 | #define _LEUART_IEN_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 529 | #define LEUART_IEN_RXUF_DEFAULT (_LEUART_IEN_RXUF_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 530 | #define LEUART_IEN_TXOF (0x1UL << 5) /**< TX Overflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 531 | #define _LEUART_IEN_TXOF_SHIFT 5 /**< Shift value for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 532 | #define _LEUART_IEN_TXOF_MASK 0x20UL /**< Bit mask for LEUART_TXOF */ |
Kojto | 98:8ab26030e058 | 533 | #define _LEUART_IEN_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 534 | #define LEUART_IEN_TXOF_DEFAULT (_LEUART_IEN_TXOF_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 535 | #define LEUART_IEN_PERR (0x1UL << 6) /**< Parity Error Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 536 | #define _LEUART_IEN_PERR_SHIFT 6 /**< Shift value for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 537 | #define _LEUART_IEN_PERR_MASK 0x40UL /**< Bit mask for LEUART_PERR */ |
Kojto | 98:8ab26030e058 | 538 | #define _LEUART_IEN_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 539 | #define LEUART_IEN_PERR_DEFAULT (_LEUART_IEN_PERR_DEFAULT << 6) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 540 | #define LEUART_IEN_FERR (0x1UL << 7) /**< Framing Error Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 541 | #define _LEUART_IEN_FERR_SHIFT 7 /**< Shift value for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 542 | #define _LEUART_IEN_FERR_MASK 0x80UL /**< Bit mask for LEUART_FERR */ |
Kojto | 98:8ab26030e058 | 543 | #define _LEUART_IEN_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 544 | #define LEUART_IEN_FERR_DEFAULT (_LEUART_IEN_FERR_DEFAULT << 7) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 545 | #define LEUART_IEN_MPAF (0x1UL << 8) /**< Multi-Processor Address Frame Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 546 | #define _LEUART_IEN_MPAF_SHIFT 8 /**< Shift value for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 547 | #define _LEUART_IEN_MPAF_MASK 0x100UL /**< Bit mask for LEUART_MPAF */ |
Kojto | 98:8ab26030e058 | 548 | #define _LEUART_IEN_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 549 | #define LEUART_IEN_MPAF_DEFAULT (_LEUART_IEN_MPAF_DEFAULT << 8) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 550 | #define LEUART_IEN_STARTF (0x1UL << 9) /**< Start Frame Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 551 | #define _LEUART_IEN_STARTF_SHIFT 9 /**< Shift value for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 552 | #define _LEUART_IEN_STARTF_MASK 0x200UL /**< Bit mask for LEUART_STARTF */ |
Kojto | 98:8ab26030e058 | 553 | #define _LEUART_IEN_STARTF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 554 | #define LEUART_IEN_STARTF_DEFAULT (_LEUART_IEN_STARTF_DEFAULT << 9) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 555 | #define LEUART_IEN_SIGF (0x1UL << 10) /**< Signal Frame Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 556 | #define _LEUART_IEN_SIGF_SHIFT 10 /**< Shift value for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 557 | #define _LEUART_IEN_SIGF_MASK 0x400UL /**< Bit mask for LEUART_SIGF */ |
Kojto | 98:8ab26030e058 | 558 | #define _LEUART_IEN_SIGF_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 559 | #define LEUART_IEN_SIGF_DEFAULT (_LEUART_IEN_SIGF_DEFAULT << 10) /**< Shifted mode DEFAULT for LEUART_IEN */ |
Kojto | 98:8ab26030e058 | 560 | |
Kojto | 98:8ab26030e058 | 561 | /* Bit fields for LEUART PULSECTRL */ |
Kojto | 98:8ab26030e058 | 562 | #define _LEUART_PULSECTRL_RESETVALUE 0x00000000UL /**< Default value for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 563 | #define _LEUART_PULSECTRL_MASK 0x0000003FUL /**< Mask for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 564 | #define _LEUART_PULSECTRL_PULSEW_SHIFT 0 /**< Shift value for LEUART_PULSEW */ |
Kojto | 98:8ab26030e058 | 565 | #define _LEUART_PULSECTRL_PULSEW_MASK 0xFUL /**< Bit mask for LEUART_PULSEW */ |
Kojto | 98:8ab26030e058 | 566 | #define _LEUART_PULSECTRL_PULSEW_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 567 | #define LEUART_PULSECTRL_PULSEW_DEFAULT (_LEUART_PULSECTRL_PULSEW_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 568 | #define LEUART_PULSECTRL_PULSEEN (0x1UL << 4) /**< Pulse Generator/Extender Enable */ |
Kojto | 98:8ab26030e058 | 569 | #define _LEUART_PULSECTRL_PULSEEN_SHIFT 4 /**< Shift value for LEUART_PULSEEN */ |
Kojto | 98:8ab26030e058 | 570 | #define _LEUART_PULSECTRL_PULSEEN_MASK 0x10UL /**< Bit mask for LEUART_PULSEEN */ |
Kojto | 98:8ab26030e058 | 571 | #define _LEUART_PULSECTRL_PULSEEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 572 | #define LEUART_PULSECTRL_PULSEEN_DEFAULT (_LEUART_PULSECTRL_PULSEEN_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 573 | #define LEUART_PULSECTRL_PULSEFILT (0x1UL << 5) /**< Pulse Filter */ |
Kojto | 98:8ab26030e058 | 574 | #define _LEUART_PULSECTRL_PULSEFILT_SHIFT 5 /**< Shift value for LEUART_PULSEFILT */ |
Kojto | 98:8ab26030e058 | 575 | #define _LEUART_PULSECTRL_PULSEFILT_MASK 0x20UL /**< Bit mask for LEUART_PULSEFILT */ |
Kojto | 98:8ab26030e058 | 576 | #define _LEUART_PULSECTRL_PULSEFILT_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 577 | #define LEUART_PULSECTRL_PULSEFILT_DEFAULT (_LEUART_PULSECTRL_PULSEFILT_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 578 | |
Kojto | 98:8ab26030e058 | 579 | /* Bit fields for LEUART FREEZE */ |
Kojto | 98:8ab26030e058 | 580 | #define _LEUART_FREEZE_RESETVALUE 0x00000000UL /**< Default value for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 581 | #define _LEUART_FREEZE_MASK 0x00000001UL /**< Mask for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 582 | #define LEUART_FREEZE_REGFREEZE (0x1UL << 0) /**< Register Update Freeze */ |
Kojto | 98:8ab26030e058 | 583 | #define _LEUART_FREEZE_REGFREEZE_SHIFT 0 /**< Shift value for LEUART_REGFREEZE */ |
Kojto | 98:8ab26030e058 | 584 | #define _LEUART_FREEZE_REGFREEZE_MASK 0x1UL /**< Bit mask for LEUART_REGFREEZE */ |
Kojto | 98:8ab26030e058 | 585 | #define _LEUART_FREEZE_REGFREEZE_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 586 | #define _LEUART_FREEZE_REGFREEZE_UPDATE 0x00000000UL /**< Mode UPDATE for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 587 | #define _LEUART_FREEZE_REGFREEZE_FREEZE 0x00000001UL /**< Mode FREEZE for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 588 | #define LEUART_FREEZE_REGFREEZE_DEFAULT (_LEUART_FREEZE_REGFREEZE_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 589 | #define LEUART_FREEZE_REGFREEZE_UPDATE (_LEUART_FREEZE_REGFREEZE_UPDATE << 0) /**< Shifted mode UPDATE for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 590 | #define LEUART_FREEZE_REGFREEZE_FREEZE (_LEUART_FREEZE_REGFREEZE_FREEZE << 0) /**< Shifted mode FREEZE for LEUART_FREEZE */ |
Kojto | 98:8ab26030e058 | 591 | |
Kojto | 98:8ab26030e058 | 592 | /* Bit fields for LEUART SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 593 | #define _LEUART_SYNCBUSY_RESETVALUE 0x00000000UL /**< Default value for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 594 | #define _LEUART_SYNCBUSY_MASK 0x000000FFUL /**< Mask for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 595 | #define LEUART_SYNCBUSY_CTRL (0x1UL << 0) /**< CTRL Register Busy */ |
Kojto | 98:8ab26030e058 | 596 | #define _LEUART_SYNCBUSY_CTRL_SHIFT 0 /**< Shift value for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 597 | #define _LEUART_SYNCBUSY_CTRL_MASK 0x1UL /**< Bit mask for LEUART_CTRL */ |
Kojto | 98:8ab26030e058 | 598 | #define _LEUART_SYNCBUSY_CTRL_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 599 | #define LEUART_SYNCBUSY_CTRL_DEFAULT (_LEUART_SYNCBUSY_CTRL_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 600 | #define LEUART_SYNCBUSY_CMD (0x1UL << 1) /**< CMD Register Busy */ |
Kojto | 98:8ab26030e058 | 601 | #define _LEUART_SYNCBUSY_CMD_SHIFT 1 /**< Shift value for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 602 | #define _LEUART_SYNCBUSY_CMD_MASK 0x2UL /**< Bit mask for LEUART_CMD */ |
Kojto | 98:8ab26030e058 | 603 | #define _LEUART_SYNCBUSY_CMD_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 604 | #define LEUART_SYNCBUSY_CMD_DEFAULT (_LEUART_SYNCBUSY_CMD_DEFAULT << 1) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 605 | #define LEUART_SYNCBUSY_CLKDIV (0x1UL << 2) /**< CLKDIV Register Busy */ |
Kojto | 98:8ab26030e058 | 606 | #define _LEUART_SYNCBUSY_CLKDIV_SHIFT 2 /**< Shift value for LEUART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 607 | #define _LEUART_SYNCBUSY_CLKDIV_MASK 0x4UL /**< Bit mask for LEUART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 608 | #define _LEUART_SYNCBUSY_CLKDIV_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 609 | #define LEUART_SYNCBUSY_CLKDIV_DEFAULT (_LEUART_SYNCBUSY_CLKDIV_DEFAULT << 2) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 610 | #define LEUART_SYNCBUSY_STARTFRAME (0x1UL << 3) /**< STARTFRAME Register Busy */ |
Kojto | 98:8ab26030e058 | 611 | #define _LEUART_SYNCBUSY_STARTFRAME_SHIFT 3 /**< Shift value for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 612 | #define _LEUART_SYNCBUSY_STARTFRAME_MASK 0x8UL /**< Bit mask for LEUART_STARTFRAME */ |
Kojto | 98:8ab26030e058 | 613 | #define _LEUART_SYNCBUSY_STARTFRAME_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 614 | #define LEUART_SYNCBUSY_STARTFRAME_DEFAULT (_LEUART_SYNCBUSY_STARTFRAME_DEFAULT << 3) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 615 | #define LEUART_SYNCBUSY_SIGFRAME (0x1UL << 4) /**< SIGFRAME Register Busy */ |
Kojto | 98:8ab26030e058 | 616 | #define _LEUART_SYNCBUSY_SIGFRAME_SHIFT 4 /**< Shift value for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 617 | #define _LEUART_SYNCBUSY_SIGFRAME_MASK 0x10UL /**< Bit mask for LEUART_SIGFRAME */ |
Kojto | 98:8ab26030e058 | 618 | #define _LEUART_SYNCBUSY_SIGFRAME_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 619 | #define LEUART_SYNCBUSY_SIGFRAME_DEFAULT (_LEUART_SYNCBUSY_SIGFRAME_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 620 | #define LEUART_SYNCBUSY_TXDATAX (0x1UL << 5) /**< TXDATAX Register Busy */ |
Kojto | 98:8ab26030e058 | 621 | #define _LEUART_SYNCBUSY_TXDATAX_SHIFT 5 /**< Shift value for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 622 | #define _LEUART_SYNCBUSY_TXDATAX_MASK 0x20UL /**< Bit mask for LEUART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 623 | #define _LEUART_SYNCBUSY_TXDATAX_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 624 | #define LEUART_SYNCBUSY_TXDATAX_DEFAULT (_LEUART_SYNCBUSY_TXDATAX_DEFAULT << 5) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 625 | #define LEUART_SYNCBUSY_TXDATA (0x1UL << 6) /**< TXDATA Register Busy */ |
Kojto | 98:8ab26030e058 | 626 | #define _LEUART_SYNCBUSY_TXDATA_SHIFT 6 /**< Shift value for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 627 | #define _LEUART_SYNCBUSY_TXDATA_MASK 0x40UL /**< Bit mask for LEUART_TXDATA */ |
Kojto | 98:8ab26030e058 | 628 | #define _LEUART_SYNCBUSY_TXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 629 | #define LEUART_SYNCBUSY_TXDATA_DEFAULT (_LEUART_SYNCBUSY_TXDATA_DEFAULT << 6) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 630 | #define LEUART_SYNCBUSY_PULSECTRL (0x1UL << 7) /**< PULSECTRL Register Busy */ |
Kojto | 98:8ab26030e058 | 631 | #define _LEUART_SYNCBUSY_PULSECTRL_SHIFT 7 /**< Shift value for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 632 | #define _LEUART_SYNCBUSY_PULSECTRL_MASK 0x80UL /**< Bit mask for LEUART_PULSECTRL */ |
Kojto | 98:8ab26030e058 | 633 | #define _LEUART_SYNCBUSY_PULSECTRL_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 634 | #define LEUART_SYNCBUSY_PULSECTRL_DEFAULT (_LEUART_SYNCBUSY_PULSECTRL_DEFAULT << 7) /**< Shifted mode DEFAULT for LEUART_SYNCBUSY */ |
Kojto | 98:8ab26030e058 | 635 | |
Kojto | 98:8ab26030e058 | 636 | /* Bit fields for LEUART ROUTE */ |
Kojto | 98:8ab26030e058 | 637 | #define _LEUART_ROUTE_RESETVALUE 0x00000000UL /**< Default value for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 638 | #define _LEUART_ROUTE_MASK 0x00000703UL /**< Mask for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 639 | #define LEUART_ROUTE_RXPEN (0x1UL << 0) /**< RX Pin Enable */ |
Kojto | 98:8ab26030e058 | 640 | #define _LEUART_ROUTE_RXPEN_SHIFT 0 /**< Shift value for LEUART_RXPEN */ |
Kojto | 98:8ab26030e058 | 641 | #define _LEUART_ROUTE_RXPEN_MASK 0x1UL /**< Bit mask for LEUART_RXPEN */ |
Kojto | 98:8ab26030e058 | 642 | #define _LEUART_ROUTE_RXPEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 643 | #define LEUART_ROUTE_RXPEN_DEFAULT (_LEUART_ROUTE_RXPEN_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 644 | #define LEUART_ROUTE_TXPEN (0x1UL << 1) /**< TX Pin Enable */ |
Kojto | 98:8ab26030e058 | 645 | #define _LEUART_ROUTE_TXPEN_SHIFT 1 /**< Shift value for LEUART_TXPEN */ |
Kojto | 98:8ab26030e058 | 646 | #define _LEUART_ROUTE_TXPEN_MASK 0x2UL /**< Bit mask for LEUART_TXPEN */ |
Kojto | 98:8ab26030e058 | 647 | #define _LEUART_ROUTE_TXPEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 648 | #define LEUART_ROUTE_TXPEN_DEFAULT (_LEUART_ROUTE_TXPEN_DEFAULT << 1) /**< Shifted mode DEFAULT for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 649 | #define _LEUART_ROUTE_LOCATION_SHIFT 8 /**< Shift value for LEUART_LOCATION */ |
Kojto | 98:8ab26030e058 | 650 | #define _LEUART_ROUTE_LOCATION_MASK 0x700UL /**< Bit mask for LEUART_LOCATION */ |
Kojto | 98:8ab26030e058 | 651 | #define _LEUART_ROUTE_LOCATION_LOC0 0x00000000UL /**< Mode LOC0 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 652 | #define _LEUART_ROUTE_LOCATION_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 653 | #define _LEUART_ROUTE_LOCATION_LOC1 0x00000001UL /**< Mode LOC1 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 654 | #define _LEUART_ROUTE_LOCATION_LOC2 0x00000002UL /**< Mode LOC2 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 655 | #define _LEUART_ROUTE_LOCATION_LOC3 0x00000003UL /**< Mode LOC3 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 656 | #define _LEUART_ROUTE_LOCATION_LOC4 0x00000004UL /**< Mode LOC4 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 657 | #define LEUART_ROUTE_LOCATION_LOC0 (_LEUART_ROUTE_LOCATION_LOC0 << 8) /**< Shifted mode LOC0 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 658 | #define LEUART_ROUTE_LOCATION_DEFAULT (_LEUART_ROUTE_LOCATION_DEFAULT << 8) /**< Shifted mode DEFAULT for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 659 | #define LEUART_ROUTE_LOCATION_LOC1 (_LEUART_ROUTE_LOCATION_LOC1 << 8) /**< Shifted mode LOC1 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 660 | #define LEUART_ROUTE_LOCATION_LOC2 (_LEUART_ROUTE_LOCATION_LOC2 << 8) /**< Shifted mode LOC2 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 661 | #define LEUART_ROUTE_LOCATION_LOC3 (_LEUART_ROUTE_LOCATION_LOC3 << 8) /**< Shifted mode LOC3 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 662 | #define LEUART_ROUTE_LOCATION_LOC4 (_LEUART_ROUTE_LOCATION_LOC4 << 8) /**< Shifted mode LOC4 for LEUART_ROUTE */ |
Kojto | 98:8ab26030e058 | 663 | |
Kojto | 98:8ab26030e058 | 664 | /* Bit fields for LEUART INPUT */ |
Kojto | 98:8ab26030e058 | 665 | #define _LEUART_INPUT_RESETVALUE 0x00000000UL /**< Default value for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 666 | #define _LEUART_INPUT_MASK 0x00000013UL /**< Mask for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 667 | #define _LEUART_INPUT_RXPRSSEL_SHIFT 0 /**< Shift value for LEUART_RXPRSSEL */ |
Kojto | 98:8ab26030e058 | 668 | #define _LEUART_INPUT_RXPRSSEL_MASK 0x3UL /**< Bit mask for LEUART_RXPRSSEL */ |
Kojto | 98:8ab26030e058 | 669 | #define _LEUART_INPUT_RXPRSSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 670 | #define _LEUART_INPUT_RXPRSSEL_PRSCH0 0x00000000UL /**< Mode PRSCH0 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 671 | #define _LEUART_INPUT_RXPRSSEL_PRSCH1 0x00000001UL /**< Mode PRSCH1 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 672 | #define _LEUART_INPUT_RXPRSSEL_PRSCH2 0x00000002UL /**< Mode PRSCH2 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 673 | #define _LEUART_INPUT_RXPRSSEL_PRSCH3 0x00000003UL /**< Mode PRSCH3 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 674 | #define LEUART_INPUT_RXPRSSEL_DEFAULT (_LEUART_INPUT_RXPRSSEL_DEFAULT << 0) /**< Shifted mode DEFAULT for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 675 | #define LEUART_INPUT_RXPRSSEL_PRSCH0 (_LEUART_INPUT_RXPRSSEL_PRSCH0 << 0) /**< Shifted mode PRSCH0 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 676 | #define LEUART_INPUT_RXPRSSEL_PRSCH1 (_LEUART_INPUT_RXPRSSEL_PRSCH1 << 0) /**< Shifted mode PRSCH1 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 677 | #define LEUART_INPUT_RXPRSSEL_PRSCH2 (_LEUART_INPUT_RXPRSSEL_PRSCH2 << 0) /**< Shifted mode PRSCH2 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 678 | #define LEUART_INPUT_RXPRSSEL_PRSCH3 (_LEUART_INPUT_RXPRSSEL_PRSCH3 << 0) /**< Shifted mode PRSCH3 for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 679 | #define LEUART_INPUT_RXPRS (0x1UL << 4) /**< PRS RX Enable */ |
Kojto | 98:8ab26030e058 | 680 | #define _LEUART_INPUT_RXPRS_SHIFT 4 /**< Shift value for LEUART_RXPRS */ |
Kojto | 98:8ab26030e058 | 681 | #define _LEUART_INPUT_RXPRS_MASK 0x10UL /**< Bit mask for LEUART_RXPRS */ |
Kojto | 98:8ab26030e058 | 682 | #define _LEUART_INPUT_RXPRS_DEFAULT 0x00000000UL /**< Mode DEFAULT for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 683 | #define LEUART_INPUT_RXPRS_DEFAULT (_LEUART_INPUT_RXPRS_DEFAULT << 4) /**< Shifted mode DEFAULT for LEUART_INPUT */ |
Kojto | 98:8ab26030e058 | 684 | |
Kojto | 98:8ab26030e058 | 685 | /** @} End of group EFM32ZG_LEUART */ |
Kojto | 113:f141b2784e32 | 686 | /** @} End of group Parts */ |
Kojto | 98:8ab26030e058 | 687 |