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_uart.h@113:f141b2784e32, 2016-02-02 (annotated)
- Committer:
- Kojto
- Date:
- Tue Feb 02 14:43:35 2016 +0000
- Revision:
- 113:f141b2784e32
- Parent:
- 98:8ab26030e058
Release 113 of the mbed library
Changes:
- new targets - Silabs Perl Gecko, TY51822
- Silabs - emlib update to 4.1.0, various bugfixes as result
- STM B96B_F446VE - add async serial support
- Freescale KLXX - rtc lock fix
- LPC11U68 and LPC1549 - pwm bugfixes - duty cycle
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 98:8ab26030e058 | 1 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 2 | * @file efm32gg_uart.h |
Kojto | 98:8ab26030e058 | 3 | * @brief EFM32GG_UART 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 | 113:f141b2784e32 | 32 | /**************************************************************************//** |
Kojto | 113:f141b2784e32 | 33 | * @addtogroup Parts |
Kojto | 113:f141b2784e32 | 34 | * @{ |
Kojto | 113:f141b2784e32 | 35 | ******************************************************************************/ |
Kojto | 98:8ab26030e058 | 36 | |
Kojto | 98:8ab26030e058 | 37 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 38 | * @defgroup EFM32GG_UART_BitFields |
Kojto | 98:8ab26030e058 | 39 | * @{ |
Kojto | 98:8ab26030e058 | 40 | *****************************************************************************/ |
Kojto | 98:8ab26030e058 | 41 | |
Kojto | 98:8ab26030e058 | 42 | /* Bit fields for UART CTRL */ |
Kojto | 98:8ab26030e058 | 43 | #define _UART_CTRL_RESETVALUE 0x00000000UL /**< Default value for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 44 | #define _UART_CTRL_MASK 0x7DFFFF7FUL /**< Mask for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 45 | #define UART_CTRL_SYNC (0x1UL << 0) /**< USART Synchronous Mode */ |
Kojto | 98:8ab26030e058 | 46 | #define _UART_CTRL_SYNC_SHIFT 0 /**< Shift value for USART_SYNC */ |
Kojto | 98:8ab26030e058 | 47 | #define _UART_CTRL_SYNC_MASK 0x1UL /**< Bit mask for USART_SYNC */ |
Kojto | 98:8ab26030e058 | 48 | #define _UART_CTRL_SYNC_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 49 | #define UART_CTRL_SYNC_DEFAULT (_UART_CTRL_SYNC_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 50 | #define UART_CTRL_LOOPBK (0x1UL << 1) /**< Loopback Enable */ |
Kojto | 98:8ab26030e058 | 51 | #define _UART_CTRL_LOOPBK_SHIFT 1 /**< Shift value for USART_LOOPBK */ |
Kojto | 98:8ab26030e058 | 52 | #define _UART_CTRL_LOOPBK_MASK 0x2UL /**< Bit mask for USART_LOOPBK */ |
Kojto | 98:8ab26030e058 | 53 | #define _UART_CTRL_LOOPBK_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 54 | #define UART_CTRL_LOOPBK_DEFAULT (_UART_CTRL_LOOPBK_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 55 | #define UART_CTRL_CCEN (0x1UL << 2) /**< Collision Check Enable */ |
Kojto | 98:8ab26030e058 | 56 | #define _UART_CTRL_CCEN_SHIFT 2 /**< Shift value for USART_CCEN */ |
Kojto | 98:8ab26030e058 | 57 | #define _UART_CTRL_CCEN_MASK 0x4UL /**< Bit mask for USART_CCEN */ |
Kojto | 98:8ab26030e058 | 58 | #define _UART_CTRL_CCEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 59 | #define UART_CTRL_CCEN_DEFAULT (_UART_CTRL_CCEN_DEFAULT << 2) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 60 | #define UART_CTRL_MPM (0x1UL << 3) /**< Multi-Processor Mode */ |
Kojto | 98:8ab26030e058 | 61 | #define _UART_CTRL_MPM_SHIFT 3 /**< Shift value for USART_MPM */ |
Kojto | 98:8ab26030e058 | 62 | #define _UART_CTRL_MPM_MASK 0x8UL /**< Bit mask for USART_MPM */ |
Kojto | 98:8ab26030e058 | 63 | #define _UART_CTRL_MPM_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 64 | #define UART_CTRL_MPM_DEFAULT (_UART_CTRL_MPM_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 65 | #define UART_CTRL_MPAB (0x1UL << 4) /**< Multi-Processor Address-Bit */ |
Kojto | 98:8ab26030e058 | 66 | #define _UART_CTRL_MPAB_SHIFT 4 /**< Shift value for USART_MPAB */ |
Kojto | 98:8ab26030e058 | 67 | #define _UART_CTRL_MPAB_MASK 0x10UL /**< Bit mask for USART_MPAB */ |
Kojto | 98:8ab26030e058 | 68 | #define _UART_CTRL_MPAB_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 69 | #define UART_CTRL_MPAB_DEFAULT (_UART_CTRL_MPAB_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 70 | #define _UART_CTRL_OVS_SHIFT 5 /**< Shift value for USART_OVS */ |
Kojto | 98:8ab26030e058 | 71 | #define _UART_CTRL_OVS_MASK 0x60UL /**< Bit mask for USART_OVS */ |
Kojto | 98:8ab26030e058 | 72 | #define _UART_CTRL_OVS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 73 | #define _UART_CTRL_OVS_X16 0x00000000UL /**< Mode X16 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 74 | #define _UART_CTRL_OVS_X8 0x00000001UL /**< Mode X8 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 75 | #define _UART_CTRL_OVS_X6 0x00000002UL /**< Mode X6 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 76 | #define _UART_CTRL_OVS_X4 0x00000003UL /**< Mode X4 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 77 | #define UART_CTRL_OVS_DEFAULT (_UART_CTRL_OVS_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 78 | #define UART_CTRL_OVS_X16 (_UART_CTRL_OVS_X16 << 5) /**< Shifted mode X16 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 79 | #define UART_CTRL_OVS_X8 (_UART_CTRL_OVS_X8 << 5) /**< Shifted mode X8 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 80 | #define UART_CTRL_OVS_X6 (_UART_CTRL_OVS_X6 << 5) /**< Shifted mode X6 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 81 | #define UART_CTRL_OVS_X4 (_UART_CTRL_OVS_X4 << 5) /**< Shifted mode X4 for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 82 | #define UART_CTRL_CLKPOL (0x1UL << 8) /**< Clock Polarity */ |
Kojto | 98:8ab26030e058 | 83 | #define _UART_CTRL_CLKPOL_SHIFT 8 /**< Shift value for USART_CLKPOL */ |
Kojto | 98:8ab26030e058 | 84 | #define _UART_CTRL_CLKPOL_MASK 0x100UL /**< Bit mask for USART_CLKPOL */ |
Kojto | 98:8ab26030e058 | 85 | #define _UART_CTRL_CLKPOL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 86 | #define _UART_CTRL_CLKPOL_IDLELOW 0x00000000UL /**< Mode IDLELOW for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 87 | #define _UART_CTRL_CLKPOL_IDLEHIGH 0x00000001UL /**< Mode IDLEHIGH for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 88 | #define UART_CTRL_CLKPOL_DEFAULT (_UART_CTRL_CLKPOL_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 89 | #define UART_CTRL_CLKPOL_IDLELOW (_UART_CTRL_CLKPOL_IDLELOW << 8) /**< Shifted mode IDLELOW for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 90 | #define UART_CTRL_CLKPOL_IDLEHIGH (_UART_CTRL_CLKPOL_IDLEHIGH << 8) /**< Shifted mode IDLEHIGH for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 91 | #define UART_CTRL_CLKPHA (0x1UL << 9) /**< Clock Edge For Setup/Sample */ |
Kojto | 98:8ab26030e058 | 92 | #define _UART_CTRL_CLKPHA_SHIFT 9 /**< Shift value for USART_CLKPHA */ |
Kojto | 98:8ab26030e058 | 93 | #define _UART_CTRL_CLKPHA_MASK 0x200UL /**< Bit mask for USART_CLKPHA */ |
Kojto | 98:8ab26030e058 | 94 | #define _UART_CTRL_CLKPHA_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 95 | #define _UART_CTRL_CLKPHA_SAMPLELEADING 0x00000000UL /**< Mode SAMPLELEADING for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 96 | #define _UART_CTRL_CLKPHA_SAMPLETRAILING 0x00000001UL /**< Mode SAMPLETRAILING for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 97 | #define UART_CTRL_CLKPHA_DEFAULT (_UART_CTRL_CLKPHA_DEFAULT << 9) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 98 | #define UART_CTRL_CLKPHA_SAMPLELEADING (_UART_CTRL_CLKPHA_SAMPLELEADING << 9) /**< Shifted mode SAMPLELEADING for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 99 | #define UART_CTRL_CLKPHA_SAMPLETRAILING (_UART_CTRL_CLKPHA_SAMPLETRAILING << 9) /**< Shifted mode SAMPLETRAILING for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 100 | #define UART_CTRL_MSBF (0x1UL << 10) /**< Most Significant Bit First */ |
Kojto | 98:8ab26030e058 | 101 | #define _UART_CTRL_MSBF_SHIFT 10 /**< Shift value for USART_MSBF */ |
Kojto | 98:8ab26030e058 | 102 | #define _UART_CTRL_MSBF_MASK 0x400UL /**< Bit mask for USART_MSBF */ |
Kojto | 98:8ab26030e058 | 103 | #define _UART_CTRL_MSBF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 104 | #define UART_CTRL_MSBF_DEFAULT (_UART_CTRL_MSBF_DEFAULT << 10) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 105 | #define UART_CTRL_CSMA (0x1UL << 11) /**< Action On Slave-Select In Master Mode */ |
Kojto | 98:8ab26030e058 | 106 | #define _UART_CTRL_CSMA_SHIFT 11 /**< Shift value for USART_CSMA */ |
Kojto | 98:8ab26030e058 | 107 | #define _UART_CTRL_CSMA_MASK 0x800UL /**< Bit mask for USART_CSMA */ |
Kojto | 98:8ab26030e058 | 108 | #define _UART_CTRL_CSMA_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 109 | #define _UART_CTRL_CSMA_NOACTION 0x00000000UL /**< Mode NOACTION for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 110 | #define _UART_CTRL_CSMA_GOTOSLAVEMODE 0x00000001UL /**< Mode GOTOSLAVEMODE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 111 | #define UART_CTRL_CSMA_DEFAULT (_UART_CTRL_CSMA_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 112 | #define UART_CTRL_CSMA_NOACTION (_UART_CTRL_CSMA_NOACTION << 11) /**< Shifted mode NOACTION for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 113 | #define UART_CTRL_CSMA_GOTOSLAVEMODE (_UART_CTRL_CSMA_GOTOSLAVEMODE << 11) /**< Shifted mode GOTOSLAVEMODE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 114 | #define UART_CTRL_TXBIL (0x1UL << 12) /**< TX Buffer Interrupt Level */ |
Kojto | 98:8ab26030e058 | 115 | #define _UART_CTRL_TXBIL_SHIFT 12 /**< Shift value for USART_TXBIL */ |
Kojto | 98:8ab26030e058 | 116 | #define _UART_CTRL_TXBIL_MASK 0x1000UL /**< Bit mask for USART_TXBIL */ |
Kojto | 98:8ab26030e058 | 117 | #define _UART_CTRL_TXBIL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 118 | #define _UART_CTRL_TXBIL_EMPTY 0x00000000UL /**< Mode EMPTY for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 119 | #define _UART_CTRL_TXBIL_HALFFULL 0x00000001UL /**< Mode HALFFULL for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 120 | #define UART_CTRL_TXBIL_DEFAULT (_UART_CTRL_TXBIL_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 121 | #define UART_CTRL_TXBIL_EMPTY (_UART_CTRL_TXBIL_EMPTY << 12) /**< Shifted mode EMPTY for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 122 | #define UART_CTRL_TXBIL_HALFFULL (_UART_CTRL_TXBIL_HALFFULL << 12) /**< Shifted mode HALFFULL for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 123 | #define UART_CTRL_RXINV (0x1UL << 13) /**< Receiver Input Invert */ |
Kojto | 98:8ab26030e058 | 124 | #define _UART_CTRL_RXINV_SHIFT 13 /**< Shift value for USART_RXINV */ |
Kojto | 98:8ab26030e058 | 125 | #define _UART_CTRL_RXINV_MASK 0x2000UL /**< Bit mask for USART_RXINV */ |
Kojto | 98:8ab26030e058 | 126 | #define _UART_CTRL_RXINV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 127 | #define UART_CTRL_RXINV_DEFAULT (_UART_CTRL_RXINV_DEFAULT << 13) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 128 | #define UART_CTRL_TXINV (0x1UL << 14) /**< Transmitter output Invert */ |
Kojto | 98:8ab26030e058 | 129 | #define _UART_CTRL_TXINV_SHIFT 14 /**< Shift value for USART_TXINV */ |
Kojto | 98:8ab26030e058 | 130 | #define _UART_CTRL_TXINV_MASK 0x4000UL /**< Bit mask for USART_TXINV */ |
Kojto | 98:8ab26030e058 | 131 | #define _UART_CTRL_TXINV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 132 | #define UART_CTRL_TXINV_DEFAULT (_UART_CTRL_TXINV_DEFAULT << 14) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 133 | #define UART_CTRL_CSINV (0x1UL << 15) /**< Chip Select Invert */ |
Kojto | 98:8ab26030e058 | 134 | #define _UART_CTRL_CSINV_SHIFT 15 /**< Shift value for USART_CSINV */ |
Kojto | 98:8ab26030e058 | 135 | #define _UART_CTRL_CSINV_MASK 0x8000UL /**< Bit mask for USART_CSINV */ |
Kojto | 98:8ab26030e058 | 136 | #define _UART_CTRL_CSINV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 137 | #define UART_CTRL_CSINV_DEFAULT (_UART_CTRL_CSINV_DEFAULT << 15) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 138 | #define UART_CTRL_AUTOCS (0x1UL << 16) /**< Automatic Chip Select */ |
Kojto | 98:8ab26030e058 | 139 | #define _UART_CTRL_AUTOCS_SHIFT 16 /**< Shift value for USART_AUTOCS */ |
Kojto | 98:8ab26030e058 | 140 | #define _UART_CTRL_AUTOCS_MASK 0x10000UL /**< Bit mask for USART_AUTOCS */ |
Kojto | 98:8ab26030e058 | 141 | #define _UART_CTRL_AUTOCS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 142 | #define UART_CTRL_AUTOCS_DEFAULT (_UART_CTRL_AUTOCS_DEFAULT << 16) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 143 | #define UART_CTRL_AUTOTRI (0x1UL << 17) /**< Automatic TX Tristate */ |
Kojto | 98:8ab26030e058 | 144 | #define _UART_CTRL_AUTOTRI_SHIFT 17 /**< Shift value for USART_AUTOTRI */ |
Kojto | 98:8ab26030e058 | 145 | #define _UART_CTRL_AUTOTRI_MASK 0x20000UL /**< Bit mask for USART_AUTOTRI */ |
Kojto | 98:8ab26030e058 | 146 | #define _UART_CTRL_AUTOTRI_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 147 | #define UART_CTRL_AUTOTRI_DEFAULT (_UART_CTRL_AUTOTRI_DEFAULT << 17) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 148 | #define UART_CTRL_SCMODE (0x1UL << 18) /**< SmartCard Mode */ |
Kojto | 98:8ab26030e058 | 149 | #define _UART_CTRL_SCMODE_SHIFT 18 /**< Shift value for USART_SCMODE */ |
Kojto | 98:8ab26030e058 | 150 | #define _UART_CTRL_SCMODE_MASK 0x40000UL /**< Bit mask for USART_SCMODE */ |
Kojto | 98:8ab26030e058 | 151 | #define _UART_CTRL_SCMODE_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 152 | #define UART_CTRL_SCMODE_DEFAULT (_UART_CTRL_SCMODE_DEFAULT << 18) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 153 | #define UART_CTRL_SCRETRANS (0x1UL << 19) /**< SmartCard Retransmit */ |
Kojto | 98:8ab26030e058 | 154 | #define _UART_CTRL_SCRETRANS_SHIFT 19 /**< Shift value for USART_SCRETRANS */ |
Kojto | 98:8ab26030e058 | 155 | #define _UART_CTRL_SCRETRANS_MASK 0x80000UL /**< Bit mask for USART_SCRETRANS */ |
Kojto | 98:8ab26030e058 | 156 | #define _UART_CTRL_SCRETRANS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 157 | #define UART_CTRL_SCRETRANS_DEFAULT (_UART_CTRL_SCRETRANS_DEFAULT << 19) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 158 | #define UART_CTRL_SKIPPERRF (0x1UL << 20) /**< Skip Parity Error Frames */ |
Kojto | 98:8ab26030e058 | 159 | #define _UART_CTRL_SKIPPERRF_SHIFT 20 /**< Shift value for USART_SKIPPERRF */ |
Kojto | 98:8ab26030e058 | 160 | #define _UART_CTRL_SKIPPERRF_MASK 0x100000UL /**< Bit mask for USART_SKIPPERRF */ |
Kojto | 98:8ab26030e058 | 161 | #define _UART_CTRL_SKIPPERRF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 162 | #define UART_CTRL_SKIPPERRF_DEFAULT (_UART_CTRL_SKIPPERRF_DEFAULT << 20) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 163 | #define UART_CTRL_BIT8DV (0x1UL << 21) /**< Bit 8 Default Value */ |
Kojto | 98:8ab26030e058 | 164 | #define _UART_CTRL_BIT8DV_SHIFT 21 /**< Shift value for USART_BIT8DV */ |
Kojto | 98:8ab26030e058 | 165 | #define _UART_CTRL_BIT8DV_MASK 0x200000UL /**< Bit mask for USART_BIT8DV */ |
Kojto | 98:8ab26030e058 | 166 | #define _UART_CTRL_BIT8DV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 167 | #define UART_CTRL_BIT8DV_DEFAULT (_UART_CTRL_BIT8DV_DEFAULT << 21) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 168 | #define UART_CTRL_ERRSDMA (0x1UL << 22) /**< Halt DMA On Error */ |
Kojto | 98:8ab26030e058 | 169 | #define _UART_CTRL_ERRSDMA_SHIFT 22 /**< Shift value for USART_ERRSDMA */ |
Kojto | 98:8ab26030e058 | 170 | #define _UART_CTRL_ERRSDMA_MASK 0x400000UL /**< Bit mask for USART_ERRSDMA */ |
Kojto | 98:8ab26030e058 | 171 | #define _UART_CTRL_ERRSDMA_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 172 | #define UART_CTRL_ERRSDMA_DEFAULT (_UART_CTRL_ERRSDMA_DEFAULT << 22) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 173 | #define UART_CTRL_ERRSRX (0x1UL << 23) /**< Disable RX On Error */ |
Kojto | 98:8ab26030e058 | 174 | #define _UART_CTRL_ERRSRX_SHIFT 23 /**< Shift value for USART_ERRSRX */ |
Kojto | 98:8ab26030e058 | 175 | #define _UART_CTRL_ERRSRX_MASK 0x800000UL /**< Bit mask for USART_ERRSRX */ |
Kojto | 98:8ab26030e058 | 176 | #define _UART_CTRL_ERRSRX_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 177 | #define UART_CTRL_ERRSRX_DEFAULT (_UART_CTRL_ERRSRX_DEFAULT << 23) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 178 | #define UART_CTRL_ERRSTX (0x1UL << 24) /**< Disable TX On Error */ |
Kojto | 98:8ab26030e058 | 179 | #define _UART_CTRL_ERRSTX_SHIFT 24 /**< Shift value for USART_ERRSTX */ |
Kojto | 98:8ab26030e058 | 180 | #define _UART_CTRL_ERRSTX_MASK 0x1000000UL /**< Bit mask for USART_ERRSTX */ |
Kojto | 98:8ab26030e058 | 181 | #define _UART_CTRL_ERRSTX_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 182 | #define UART_CTRL_ERRSTX_DEFAULT (_UART_CTRL_ERRSTX_DEFAULT << 24) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 183 | #define _UART_CTRL_TXDELAY_SHIFT 26 /**< Shift value for USART_TXDELAY */ |
Kojto | 98:8ab26030e058 | 184 | #define _UART_CTRL_TXDELAY_MASK 0xC000000UL /**< Bit mask for USART_TXDELAY */ |
Kojto | 98:8ab26030e058 | 185 | #define _UART_CTRL_TXDELAY_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 186 | #define _UART_CTRL_TXDELAY_NONE 0x00000000UL /**< Mode NONE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 187 | #define _UART_CTRL_TXDELAY_SINGLE 0x00000001UL /**< Mode SINGLE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 188 | #define _UART_CTRL_TXDELAY_DOUBLE 0x00000002UL /**< Mode DOUBLE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 189 | #define _UART_CTRL_TXDELAY_TRIPLE 0x00000003UL /**< Mode TRIPLE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 190 | #define UART_CTRL_TXDELAY_DEFAULT (_UART_CTRL_TXDELAY_DEFAULT << 26) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 191 | #define UART_CTRL_TXDELAY_NONE (_UART_CTRL_TXDELAY_NONE << 26) /**< Shifted mode NONE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 192 | #define UART_CTRL_TXDELAY_SINGLE (_UART_CTRL_TXDELAY_SINGLE << 26) /**< Shifted mode SINGLE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 193 | #define UART_CTRL_TXDELAY_DOUBLE (_UART_CTRL_TXDELAY_DOUBLE << 26) /**< Shifted mode DOUBLE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 194 | #define UART_CTRL_TXDELAY_TRIPLE (_UART_CTRL_TXDELAY_TRIPLE << 26) /**< Shifted mode TRIPLE for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 195 | #define UART_CTRL_BYTESWAP (0x1UL << 28) /**< Byteswap In Double Accesses */ |
Kojto | 98:8ab26030e058 | 196 | #define _UART_CTRL_BYTESWAP_SHIFT 28 /**< Shift value for USART_BYTESWAP */ |
Kojto | 98:8ab26030e058 | 197 | #define _UART_CTRL_BYTESWAP_MASK 0x10000000UL /**< Bit mask for USART_BYTESWAP */ |
Kojto | 98:8ab26030e058 | 198 | #define _UART_CTRL_BYTESWAP_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 199 | #define UART_CTRL_BYTESWAP_DEFAULT (_UART_CTRL_BYTESWAP_DEFAULT << 28) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 200 | #define UART_CTRL_AUTOTX (0x1UL << 29) /**< Always Transmit When RX Not Full */ |
Kojto | 98:8ab26030e058 | 201 | #define _UART_CTRL_AUTOTX_SHIFT 29 /**< Shift value for USART_AUTOTX */ |
Kojto | 98:8ab26030e058 | 202 | #define _UART_CTRL_AUTOTX_MASK 0x20000000UL /**< Bit mask for USART_AUTOTX */ |
Kojto | 98:8ab26030e058 | 203 | #define _UART_CTRL_AUTOTX_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 204 | #define UART_CTRL_AUTOTX_DEFAULT (_UART_CTRL_AUTOTX_DEFAULT << 29) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 205 | #define UART_CTRL_MVDIS (0x1UL << 30) /**< Majority Vote Disable */ |
Kojto | 98:8ab26030e058 | 206 | #define _UART_CTRL_MVDIS_SHIFT 30 /**< Shift value for USART_MVDIS */ |
Kojto | 98:8ab26030e058 | 207 | #define _UART_CTRL_MVDIS_MASK 0x40000000UL /**< Bit mask for USART_MVDIS */ |
Kojto | 98:8ab26030e058 | 208 | #define _UART_CTRL_MVDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 209 | #define UART_CTRL_MVDIS_DEFAULT (_UART_CTRL_MVDIS_DEFAULT << 30) /**< Shifted mode DEFAULT for UART_CTRL */ |
Kojto | 98:8ab26030e058 | 210 | |
Kojto | 98:8ab26030e058 | 211 | /* Bit fields for UART FRAME */ |
Kojto | 98:8ab26030e058 | 212 | #define _UART_FRAME_RESETVALUE 0x00001005UL /**< Default value for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 213 | #define _UART_FRAME_MASK 0x0000330FUL /**< Mask for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 214 | #define _UART_FRAME_DATABITS_SHIFT 0 /**< Shift value for USART_DATABITS */ |
Kojto | 98:8ab26030e058 | 215 | #define _UART_FRAME_DATABITS_MASK 0xFUL /**< Bit mask for USART_DATABITS */ |
Kojto | 98:8ab26030e058 | 216 | #define _UART_FRAME_DATABITS_FOUR 0x00000001UL /**< Mode FOUR for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 217 | #define _UART_FRAME_DATABITS_FIVE 0x00000002UL /**< Mode FIVE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 218 | #define _UART_FRAME_DATABITS_SIX 0x00000003UL /**< Mode SIX for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 219 | #define _UART_FRAME_DATABITS_SEVEN 0x00000004UL /**< Mode SEVEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 220 | #define _UART_FRAME_DATABITS_DEFAULT 0x00000005UL /**< Mode DEFAULT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 221 | #define _UART_FRAME_DATABITS_EIGHT 0x00000005UL /**< Mode EIGHT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 222 | #define _UART_FRAME_DATABITS_NINE 0x00000006UL /**< Mode NINE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 223 | #define _UART_FRAME_DATABITS_TEN 0x00000007UL /**< Mode TEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 224 | #define _UART_FRAME_DATABITS_ELEVEN 0x00000008UL /**< Mode ELEVEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 225 | #define _UART_FRAME_DATABITS_TWELVE 0x00000009UL /**< Mode TWELVE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 226 | #define _UART_FRAME_DATABITS_THIRTEEN 0x0000000AUL /**< Mode THIRTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 227 | #define _UART_FRAME_DATABITS_FOURTEEN 0x0000000BUL /**< Mode FOURTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 228 | #define _UART_FRAME_DATABITS_FIFTEEN 0x0000000CUL /**< Mode FIFTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 229 | #define _UART_FRAME_DATABITS_SIXTEEN 0x0000000DUL /**< Mode SIXTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 230 | #define UART_FRAME_DATABITS_FOUR (_UART_FRAME_DATABITS_FOUR << 0) /**< Shifted mode FOUR for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 231 | #define UART_FRAME_DATABITS_FIVE (_UART_FRAME_DATABITS_FIVE << 0) /**< Shifted mode FIVE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 232 | #define UART_FRAME_DATABITS_SIX (_UART_FRAME_DATABITS_SIX << 0) /**< Shifted mode SIX for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 233 | #define UART_FRAME_DATABITS_SEVEN (_UART_FRAME_DATABITS_SEVEN << 0) /**< Shifted mode SEVEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 234 | #define UART_FRAME_DATABITS_DEFAULT (_UART_FRAME_DATABITS_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 235 | #define UART_FRAME_DATABITS_EIGHT (_UART_FRAME_DATABITS_EIGHT << 0) /**< Shifted mode EIGHT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 236 | #define UART_FRAME_DATABITS_NINE (_UART_FRAME_DATABITS_NINE << 0) /**< Shifted mode NINE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 237 | #define UART_FRAME_DATABITS_TEN (_UART_FRAME_DATABITS_TEN << 0) /**< Shifted mode TEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 238 | #define UART_FRAME_DATABITS_ELEVEN (_UART_FRAME_DATABITS_ELEVEN << 0) /**< Shifted mode ELEVEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 239 | #define UART_FRAME_DATABITS_TWELVE (_UART_FRAME_DATABITS_TWELVE << 0) /**< Shifted mode TWELVE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 240 | #define UART_FRAME_DATABITS_THIRTEEN (_UART_FRAME_DATABITS_THIRTEEN << 0) /**< Shifted mode THIRTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 241 | #define UART_FRAME_DATABITS_FOURTEEN (_UART_FRAME_DATABITS_FOURTEEN << 0) /**< Shifted mode FOURTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 242 | #define UART_FRAME_DATABITS_FIFTEEN (_UART_FRAME_DATABITS_FIFTEEN << 0) /**< Shifted mode FIFTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 243 | #define UART_FRAME_DATABITS_SIXTEEN (_UART_FRAME_DATABITS_SIXTEEN << 0) /**< Shifted mode SIXTEEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 244 | #define _UART_FRAME_PARITY_SHIFT 8 /**< Shift value for USART_PARITY */ |
Kojto | 98:8ab26030e058 | 245 | #define _UART_FRAME_PARITY_MASK 0x300UL /**< Bit mask for USART_PARITY */ |
Kojto | 98:8ab26030e058 | 246 | #define _UART_FRAME_PARITY_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 247 | #define _UART_FRAME_PARITY_NONE 0x00000000UL /**< Mode NONE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 248 | #define _UART_FRAME_PARITY_EVEN 0x00000002UL /**< Mode EVEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 249 | #define _UART_FRAME_PARITY_ODD 0x00000003UL /**< Mode ODD for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 250 | #define UART_FRAME_PARITY_DEFAULT (_UART_FRAME_PARITY_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 251 | #define UART_FRAME_PARITY_NONE (_UART_FRAME_PARITY_NONE << 8) /**< Shifted mode NONE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 252 | #define UART_FRAME_PARITY_EVEN (_UART_FRAME_PARITY_EVEN << 8) /**< Shifted mode EVEN for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 253 | #define UART_FRAME_PARITY_ODD (_UART_FRAME_PARITY_ODD << 8) /**< Shifted mode ODD for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 254 | #define _UART_FRAME_STOPBITS_SHIFT 12 /**< Shift value for USART_STOPBITS */ |
Kojto | 98:8ab26030e058 | 255 | #define _UART_FRAME_STOPBITS_MASK 0x3000UL /**< Bit mask for USART_STOPBITS */ |
Kojto | 98:8ab26030e058 | 256 | #define _UART_FRAME_STOPBITS_HALF 0x00000000UL /**< Mode HALF for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 257 | #define _UART_FRAME_STOPBITS_DEFAULT 0x00000001UL /**< Mode DEFAULT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 258 | #define _UART_FRAME_STOPBITS_ONE 0x00000001UL /**< Mode ONE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 259 | #define _UART_FRAME_STOPBITS_ONEANDAHALF 0x00000002UL /**< Mode ONEANDAHALF for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 260 | #define _UART_FRAME_STOPBITS_TWO 0x00000003UL /**< Mode TWO for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 261 | #define UART_FRAME_STOPBITS_HALF (_UART_FRAME_STOPBITS_HALF << 12) /**< Shifted mode HALF for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 262 | #define UART_FRAME_STOPBITS_DEFAULT (_UART_FRAME_STOPBITS_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 263 | #define UART_FRAME_STOPBITS_ONE (_UART_FRAME_STOPBITS_ONE << 12) /**< Shifted mode ONE for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 264 | #define UART_FRAME_STOPBITS_ONEANDAHALF (_UART_FRAME_STOPBITS_ONEANDAHALF << 12) /**< Shifted mode ONEANDAHALF for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 265 | #define UART_FRAME_STOPBITS_TWO (_UART_FRAME_STOPBITS_TWO << 12) /**< Shifted mode TWO for UART_FRAME */ |
Kojto | 98:8ab26030e058 | 266 | |
Kojto | 98:8ab26030e058 | 267 | /* Bit fields for UART TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 268 | #define _UART_TRIGCTRL_RESETVALUE 0x00000000UL /**< Default value for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 269 | #define _UART_TRIGCTRL_MASK 0x00000077UL /**< Mask for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 270 | #define _UART_TRIGCTRL_TSEL_SHIFT 0 /**< Shift value for USART_TSEL */ |
Kojto | 98:8ab26030e058 | 271 | #define _UART_TRIGCTRL_TSEL_MASK 0x7UL /**< Bit mask for USART_TSEL */ |
Kojto | 98:8ab26030e058 | 272 | #define _UART_TRIGCTRL_TSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 273 | #define _UART_TRIGCTRL_TSEL_PRSCH0 0x00000000UL /**< Mode PRSCH0 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 274 | #define _UART_TRIGCTRL_TSEL_PRSCH1 0x00000001UL /**< Mode PRSCH1 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 275 | #define _UART_TRIGCTRL_TSEL_PRSCH2 0x00000002UL /**< Mode PRSCH2 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 276 | #define _UART_TRIGCTRL_TSEL_PRSCH3 0x00000003UL /**< Mode PRSCH3 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 277 | #define _UART_TRIGCTRL_TSEL_PRSCH4 0x00000004UL /**< Mode PRSCH4 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 278 | #define _UART_TRIGCTRL_TSEL_PRSCH5 0x00000005UL /**< Mode PRSCH5 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 279 | #define _UART_TRIGCTRL_TSEL_PRSCH6 0x00000006UL /**< Mode PRSCH6 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 280 | #define _UART_TRIGCTRL_TSEL_PRSCH7 0x00000007UL /**< Mode PRSCH7 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 281 | #define UART_TRIGCTRL_TSEL_DEFAULT (_UART_TRIGCTRL_TSEL_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 282 | #define UART_TRIGCTRL_TSEL_PRSCH0 (_UART_TRIGCTRL_TSEL_PRSCH0 << 0) /**< Shifted mode PRSCH0 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 283 | #define UART_TRIGCTRL_TSEL_PRSCH1 (_UART_TRIGCTRL_TSEL_PRSCH1 << 0) /**< Shifted mode PRSCH1 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 284 | #define UART_TRIGCTRL_TSEL_PRSCH2 (_UART_TRIGCTRL_TSEL_PRSCH2 << 0) /**< Shifted mode PRSCH2 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 285 | #define UART_TRIGCTRL_TSEL_PRSCH3 (_UART_TRIGCTRL_TSEL_PRSCH3 << 0) /**< Shifted mode PRSCH3 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 286 | #define UART_TRIGCTRL_TSEL_PRSCH4 (_UART_TRIGCTRL_TSEL_PRSCH4 << 0) /**< Shifted mode PRSCH4 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 287 | #define UART_TRIGCTRL_TSEL_PRSCH5 (_UART_TRIGCTRL_TSEL_PRSCH5 << 0) /**< Shifted mode PRSCH5 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 288 | #define UART_TRIGCTRL_TSEL_PRSCH6 (_UART_TRIGCTRL_TSEL_PRSCH6 << 0) /**< Shifted mode PRSCH6 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 289 | #define UART_TRIGCTRL_TSEL_PRSCH7 (_UART_TRIGCTRL_TSEL_PRSCH7 << 0) /**< Shifted mode PRSCH7 for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 290 | #define UART_TRIGCTRL_RXTEN (0x1UL << 4) /**< Receive Trigger Enable */ |
Kojto | 98:8ab26030e058 | 291 | #define _UART_TRIGCTRL_RXTEN_SHIFT 4 /**< Shift value for USART_RXTEN */ |
Kojto | 98:8ab26030e058 | 292 | #define _UART_TRIGCTRL_RXTEN_MASK 0x10UL /**< Bit mask for USART_RXTEN */ |
Kojto | 98:8ab26030e058 | 293 | #define _UART_TRIGCTRL_RXTEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 294 | #define UART_TRIGCTRL_RXTEN_DEFAULT (_UART_TRIGCTRL_RXTEN_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 295 | #define UART_TRIGCTRL_TXTEN (0x1UL << 5) /**< Transmit Trigger Enable */ |
Kojto | 98:8ab26030e058 | 296 | #define _UART_TRIGCTRL_TXTEN_SHIFT 5 /**< Shift value for USART_TXTEN */ |
Kojto | 98:8ab26030e058 | 297 | #define _UART_TRIGCTRL_TXTEN_MASK 0x20UL /**< Bit mask for USART_TXTEN */ |
Kojto | 98:8ab26030e058 | 298 | #define _UART_TRIGCTRL_TXTEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 299 | #define UART_TRIGCTRL_TXTEN_DEFAULT (_UART_TRIGCTRL_TXTEN_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 300 | #define UART_TRIGCTRL_AUTOTXTEN (0x1UL << 6) /**< AUTOTX Trigger Enable */ |
Kojto | 98:8ab26030e058 | 301 | #define _UART_TRIGCTRL_AUTOTXTEN_SHIFT 6 /**< Shift value for USART_AUTOTXTEN */ |
Kojto | 98:8ab26030e058 | 302 | #define _UART_TRIGCTRL_AUTOTXTEN_MASK 0x40UL /**< Bit mask for USART_AUTOTXTEN */ |
Kojto | 98:8ab26030e058 | 303 | #define _UART_TRIGCTRL_AUTOTXTEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 304 | #define UART_TRIGCTRL_AUTOTXTEN_DEFAULT (_UART_TRIGCTRL_AUTOTXTEN_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_TRIGCTRL */ |
Kojto | 98:8ab26030e058 | 305 | |
Kojto | 98:8ab26030e058 | 306 | /* Bit fields for UART CMD */ |
Kojto | 98:8ab26030e058 | 307 | #define _UART_CMD_RESETVALUE 0x00000000UL /**< Default value for UART_CMD */ |
Kojto | 98:8ab26030e058 | 308 | #define _UART_CMD_MASK 0x00000FFFUL /**< Mask for UART_CMD */ |
Kojto | 98:8ab26030e058 | 309 | #define UART_CMD_RXEN (0x1UL << 0) /**< Receiver Enable */ |
Kojto | 98:8ab26030e058 | 310 | #define _UART_CMD_RXEN_SHIFT 0 /**< Shift value for USART_RXEN */ |
Kojto | 98:8ab26030e058 | 311 | #define _UART_CMD_RXEN_MASK 0x1UL /**< Bit mask for USART_RXEN */ |
Kojto | 98:8ab26030e058 | 312 | #define _UART_CMD_RXEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 313 | #define UART_CMD_RXEN_DEFAULT (_UART_CMD_RXEN_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 314 | #define UART_CMD_RXDIS (0x1UL << 1) /**< Receiver Disable */ |
Kojto | 98:8ab26030e058 | 315 | #define _UART_CMD_RXDIS_SHIFT 1 /**< Shift value for USART_RXDIS */ |
Kojto | 98:8ab26030e058 | 316 | #define _UART_CMD_RXDIS_MASK 0x2UL /**< Bit mask for USART_RXDIS */ |
Kojto | 98:8ab26030e058 | 317 | #define _UART_CMD_RXDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 318 | #define UART_CMD_RXDIS_DEFAULT (_UART_CMD_RXDIS_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 319 | #define UART_CMD_TXEN (0x1UL << 2) /**< Transmitter Enable */ |
Kojto | 98:8ab26030e058 | 320 | #define _UART_CMD_TXEN_SHIFT 2 /**< Shift value for USART_TXEN */ |
Kojto | 98:8ab26030e058 | 321 | #define _UART_CMD_TXEN_MASK 0x4UL /**< Bit mask for USART_TXEN */ |
Kojto | 98:8ab26030e058 | 322 | #define _UART_CMD_TXEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 323 | #define UART_CMD_TXEN_DEFAULT (_UART_CMD_TXEN_DEFAULT << 2) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 324 | #define UART_CMD_TXDIS (0x1UL << 3) /**< Transmitter Disable */ |
Kojto | 98:8ab26030e058 | 325 | #define _UART_CMD_TXDIS_SHIFT 3 /**< Shift value for USART_TXDIS */ |
Kojto | 98:8ab26030e058 | 326 | #define _UART_CMD_TXDIS_MASK 0x8UL /**< Bit mask for USART_TXDIS */ |
Kojto | 98:8ab26030e058 | 327 | #define _UART_CMD_TXDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 328 | #define UART_CMD_TXDIS_DEFAULT (_UART_CMD_TXDIS_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 329 | #define UART_CMD_MASTEREN (0x1UL << 4) /**< Master Enable */ |
Kojto | 98:8ab26030e058 | 330 | #define _UART_CMD_MASTEREN_SHIFT 4 /**< Shift value for USART_MASTEREN */ |
Kojto | 98:8ab26030e058 | 331 | #define _UART_CMD_MASTEREN_MASK 0x10UL /**< Bit mask for USART_MASTEREN */ |
Kojto | 98:8ab26030e058 | 332 | #define _UART_CMD_MASTEREN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 333 | #define UART_CMD_MASTEREN_DEFAULT (_UART_CMD_MASTEREN_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 334 | #define UART_CMD_MASTERDIS (0x1UL << 5) /**< Master Disable */ |
Kojto | 98:8ab26030e058 | 335 | #define _UART_CMD_MASTERDIS_SHIFT 5 /**< Shift value for USART_MASTERDIS */ |
Kojto | 98:8ab26030e058 | 336 | #define _UART_CMD_MASTERDIS_MASK 0x20UL /**< Bit mask for USART_MASTERDIS */ |
Kojto | 98:8ab26030e058 | 337 | #define _UART_CMD_MASTERDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 338 | #define UART_CMD_MASTERDIS_DEFAULT (_UART_CMD_MASTERDIS_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 339 | #define UART_CMD_RXBLOCKEN (0x1UL << 6) /**< Receiver Block Enable */ |
Kojto | 98:8ab26030e058 | 340 | #define _UART_CMD_RXBLOCKEN_SHIFT 6 /**< Shift value for USART_RXBLOCKEN */ |
Kojto | 98:8ab26030e058 | 341 | #define _UART_CMD_RXBLOCKEN_MASK 0x40UL /**< Bit mask for USART_RXBLOCKEN */ |
Kojto | 98:8ab26030e058 | 342 | #define _UART_CMD_RXBLOCKEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 343 | #define UART_CMD_RXBLOCKEN_DEFAULT (_UART_CMD_RXBLOCKEN_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 344 | #define UART_CMD_RXBLOCKDIS (0x1UL << 7) /**< Receiver Block Disable */ |
Kojto | 98:8ab26030e058 | 345 | #define _UART_CMD_RXBLOCKDIS_SHIFT 7 /**< Shift value for USART_RXBLOCKDIS */ |
Kojto | 98:8ab26030e058 | 346 | #define _UART_CMD_RXBLOCKDIS_MASK 0x80UL /**< Bit mask for USART_RXBLOCKDIS */ |
Kojto | 98:8ab26030e058 | 347 | #define _UART_CMD_RXBLOCKDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 348 | #define UART_CMD_RXBLOCKDIS_DEFAULT (_UART_CMD_RXBLOCKDIS_DEFAULT << 7) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 349 | #define UART_CMD_TXTRIEN (0x1UL << 8) /**< Transmitter Tristate Enable */ |
Kojto | 98:8ab26030e058 | 350 | #define _UART_CMD_TXTRIEN_SHIFT 8 /**< Shift value for USART_TXTRIEN */ |
Kojto | 98:8ab26030e058 | 351 | #define _UART_CMD_TXTRIEN_MASK 0x100UL /**< Bit mask for USART_TXTRIEN */ |
Kojto | 98:8ab26030e058 | 352 | #define _UART_CMD_TXTRIEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 353 | #define UART_CMD_TXTRIEN_DEFAULT (_UART_CMD_TXTRIEN_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 354 | #define UART_CMD_TXTRIDIS (0x1UL << 9) /**< Transmitter Tristate Disable */ |
Kojto | 98:8ab26030e058 | 355 | #define _UART_CMD_TXTRIDIS_SHIFT 9 /**< Shift value for USART_TXTRIDIS */ |
Kojto | 98:8ab26030e058 | 356 | #define _UART_CMD_TXTRIDIS_MASK 0x200UL /**< Bit mask for USART_TXTRIDIS */ |
Kojto | 98:8ab26030e058 | 357 | #define _UART_CMD_TXTRIDIS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 358 | #define UART_CMD_TXTRIDIS_DEFAULT (_UART_CMD_TXTRIDIS_DEFAULT << 9) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 359 | #define UART_CMD_CLEARTX (0x1UL << 10) /**< Clear TX */ |
Kojto | 98:8ab26030e058 | 360 | #define _UART_CMD_CLEARTX_SHIFT 10 /**< Shift value for USART_CLEARTX */ |
Kojto | 98:8ab26030e058 | 361 | #define _UART_CMD_CLEARTX_MASK 0x400UL /**< Bit mask for USART_CLEARTX */ |
Kojto | 98:8ab26030e058 | 362 | #define _UART_CMD_CLEARTX_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 363 | #define UART_CMD_CLEARTX_DEFAULT (_UART_CMD_CLEARTX_DEFAULT << 10) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 364 | #define UART_CMD_CLEARRX (0x1UL << 11) /**< Clear RX */ |
Kojto | 98:8ab26030e058 | 365 | #define _UART_CMD_CLEARRX_SHIFT 11 /**< Shift value for USART_CLEARRX */ |
Kojto | 98:8ab26030e058 | 366 | #define _UART_CMD_CLEARRX_MASK 0x800UL /**< Bit mask for USART_CLEARRX */ |
Kojto | 98:8ab26030e058 | 367 | #define _UART_CMD_CLEARRX_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 368 | #define UART_CMD_CLEARRX_DEFAULT (_UART_CMD_CLEARRX_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_CMD */ |
Kojto | 98:8ab26030e058 | 369 | |
Kojto | 98:8ab26030e058 | 370 | /* Bit fields for UART STATUS */ |
Kojto | 98:8ab26030e058 | 371 | #define _UART_STATUS_RESETVALUE 0x00000040UL /**< Default value for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 372 | #define _UART_STATUS_MASK 0x00001FFFUL /**< Mask for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 373 | #define UART_STATUS_RXENS (0x1UL << 0) /**< Receiver Enable Status */ |
Kojto | 98:8ab26030e058 | 374 | #define _UART_STATUS_RXENS_SHIFT 0 /**< Shift value for USART_RXENS */ |
Kojto | 98:8ab26030e058 | 375 | #define _UART_STATUS_RXENS_MASK 0x1UL /**< Bit mask for USART_RXENS */ |
Kojto | 98:8ab26030e058 | 376 | #define _UART_STATUS_RXENS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 377 | #define UART_STATUS_RXENS_DEFAULT (_UART_STATUS_RXENS_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 378 | #define UART_STATUS_TXENS (0x1UL << 1) /**< Transmitter Enable Status */ |
Kojto | 98:8ab26030e058 | 379 | #define _UART_STATUS_TXENS_SHIFT 1 /**< Shift value for USART_TXENS */ |
Kojto | 98:8ab26030e058 | 380 | #define _UART_STATUS_TXENS_MASK 0x2UL /**< Bit mask for USART_TXENS */ |
Kojto | 98:8ab26030e058 | 381 | #define _UART_STATUS_TXENS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 382 | #define UART_STATUS_TXENS_DEFAULT (_UART_STATUS_TXENS_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 383 | #define UART_STATUS_MASTER (0x1UL << 2) /**< SPI Master Mode */ |
Kojto | 98:8ab26030e058 | 384 | #define _UART_STATUS_MASTER_SHIFT 2 /**< Shift value for USART_MASTER */ |
Kojto | 98:8ab26030e058 | 385 | #define _UART_STATUS_MASTER_MASK 0x4UL /**< Bit mask for USART_MASTER */ |
Kojto | 98:8ab26030e058 | 386 | #define _UART_STATUS_MASTER_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 387 | #define UART_STATUS_MASTER_DEFAULT (_UART_STATUS_MASTER_DEFAULT << 2) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 388 | #define UART_STATUS_RXBLOCK (0x1UL << 3) /**< Block Incoming Data */ |
Kojto | 98:8ab26030e058 | 389 | #define _UART_STATUS_RXBLOCK_SHIFT 3 /**< Shift value for USART_RXBLOCK */ |
Kojto | 98:8ab26030e058 | 390 | #define _UART_STATUS_RXBLOCK_MASK 0x8UL /**< Bit mask for USART_RXBLOCK */ |
Kojto | 98:8ab26030e058 | 391 | #define _UART_STATUS_RXBLOCK_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 392 | #define UART_STATUS_RXBLOCK_DEFAULT (_UART_STATUS_RXBLOCK_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 393 | #define UART_STATUS_TXTRI (0x1UL << 4) /**< Transmitter Tristated */ |
Kojto | 98:8ab26030e058 | 394 | #define _UART_STATUS_TXTRI_SHIFT 4 /**< Shift value for USART_TXTRI */ |
Kojto | 98:8ab26030e058 | 395 | #define _UART_STATUS_TXTRI_MASK 0x10UL /**< Bit mask for USART_TXTRI */ |
Kojto | 98:8ab26030e058 | 396 | #define _UART_STATUS_TXTRI_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 397 | #define UART_STATUS_TXTRI_DEFAULT (_UART_STATUS_TXTRI_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 398 | #define UART_STATUS_TXC (0x1UL << 5) /**< TX Complete */ |
Kojto | 98:8ab26030e058 | 399 | #define _UART_STATUS_TXC_SHIFT 5 /**< Shift value for USART_TXC */ |
Kojto | 98:8ab26030e058 | 400 | #define _UART_STATUS_TXC_MASK 0x20UL /**< Bit mask for USART_TXC */ |
Kojto | 98:8ab26030e058 | 401 | #define _UART_STATUS_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 402 | #define UART_STATUS_TXC_DEFAULT (_UART_STATUS_TXC_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 403 | #define UART_STATUS_TXBL (0x1UL << 6) /**< TX Buffer Level */ |
Kojto | 98:8ab26030e058 | 404 | #define _UART_STATUS_TXBL_SHIFT 6 /**< Shift value for USART_TXBL */ |
Kojto | 98:8ab26030e058 | 405 | #define _UART_STATUS_TXBL_MASK 0x40UL /**< Bit mask for USART_TXBL */ |
Kojto | 98:8ab26030e058 | 406 | #define _UART_STATUS_TXBL_DEFAULT 0x00000001UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 407 | #define UART_STATUS_TXBL_DEFAULT (_UART_STATUS_TXBL_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 408 | #define UART_STATUS_RXDATAV (0x1UL << 7) /**< RX Data Valid */ |
Kojto | 98:8ab26030e058 | 409 | #define _UART_STATUS_RXDATAV_SHIFT 7 /**< Shift value for USART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 410 | #define _UART_STATUS_RXDATAV_MASK 0x80UL /**< Bit mask for USART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 411 | #define _UART_STATUS_RXDATAV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 412 | #define UART_STATUS_RXDATAV_DEFAULT (_UART_STATUS_RXDATAV_DEFAULT << 7) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 413 | #define UART_STATUS_RXFULL (0x1UL << 8) /**< RX FIFO Full */ |
Kojto | 98:8ab26030e058 | 414 | #define _UART_STATUS_RXFULL_SHIFT 8 /**< Shift value for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 415 | #define _UART_STATUS_RXFULL_MASK 0x100UL /**< Bit mask for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 416 | #define _UART_STATUS_RXFULL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 417 | #define UART_STATUS_RXFULL_DEFAULT (_UART_STATUS_RXFULL_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 418 | #define UART_STATUS_TXBDRIGHT (0x1UL << 9) /**< TX Buffer Expects Double Right Data */ |
Kojto | 98:8ab26030e058 | 419 | #define _UART_STATUS_TXBDRIGHT_SHIFT 9 /**< Shift value for USART_TXBDRIGHT */ |
Kojto | 98:8ab26030e058 | 420 | #define _UART_STATUS_TXBDRIGHT_MASK 0x200UL /**< Bit mask for USART_TXBDRIGHT */ |
Kojto | 98:8ab26030e058 | 421 | #define _UART_STATUS_TXBDRIGHT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 422 | #define UART_STATUS_TXBDRIGHT_DEFAULT (_UART_STATUS_TXBDRIGHT_DEFAULT << 9) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 423 | #define UART_STATUS_TXBSRIGHT (0x1UL << 10) /**< TX Buffer Expects Single Right Data */ |
Kojto | 98:8ab26030e058 | 424 | #define _UART_STATUS_TXBSRIGHT_SHIFT 10 /**< Shift value for USART_TXBSRIGHT */ |
Kojto | 98:8ab26030e058 | 425 | #define _UART_STATUS_TXBSRIGHT_MASK 0x400UL /**< Bit mask for USART_TXBSRIGHT */ |
Kojto | 98:8ab26030e058 | 426 | #define _UART_STATUS_TXBSRIGHT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 427 | #define UART_STATUS_TXBSRIGHT_DEFAULT (_UART_STATUS_TXBSRIGHT_DEFAULT << 10) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 428 | #define UART_STATUS_RXDATAVRIGHT (0x1UL << 11) /**< RX Data Right */ |
Kojto | 98:8ab26030e058 | 429 | #define _UART_STATUS_RXDATAVRIGHT_SHIFT 11 /**< Shift value for USART_RXDATAVRIGHT */ |
Kojto | 98:8ab26030e058 | 430 | #define _UART_STATUS_RXDATAVRIGHT_MASK 0x800UL /**< Bit mask for USART_RXDATAVRIGHT */ |
Kojto | 98:8ab26030e058 | 431 | #define _UART_STATUS_RXDATAVRIGHT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 432 | #define UART_STATUS_RXDATAVRIGHT_DEFAULT (_UART_STATUS_RXDATAVRIGHT_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 433 | #define UART_STATUS_RXFULLRIGHT (0x1UL << 12) /**< RX Full of Right Data */ |
Kojto | 98:8ab26030e058 | 434 | #define _UART_STATUS_RXFULLRIGHT_SHIFT 12 /**< Shift value for USART_RXFULLRIGHT */ |
Kojto | 98:8ab26030e058 | 435 | #define _UART_STATUS_RXFULLRIGHT_MASK 0x1000UL /**< Bit mask for USART_RXFULLRIGHT */ |
Kojto | 98:8ab26030e058 | 436 | #define _UART_STATUS_RXFULLRIGHT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 437 | #define UART_STATUS_RXFULLRIGHT_DEFAULT (_UART_STATUS_RXFULLRIGHT_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_STATUS */ |
Kojto | 98:8ab26030e058 | 438 | |
Kojto | 98:8ab26030e058 | 439 | /* Bit fields for UART CLKDIV */ |
Kojto | 98:8ab26030e058 | 440 | #define _UART_CLKDIV_RESETVALUE 0x00000000UL /**< Default value for UART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 441 | #define _UART_CLKDIV_MASK 0x001FFFC0UL /**< Mask for UART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 442 | #define _UART_CLKDIV_DIV_SHIFT 6 /**< Shift value for USART_DIV */ |
Kojto | 98:8ab26030e058 | 443 | #define _UART_CLKDIV_DIV_MASK 0x1FFFC0UL /**< Bit mask for USART_DIV */ |
Kojto | 98:8ab26030e058 | 444 | #define _UART_CLKDIV_DIV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 445 | #define UART_CLKDIV_DIV_DEFAULT (_UART_CLKDIV_DIV_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_CLKDIV */ |
Kojto | 98:8ab26030e058 | 446 | |
Kojto | 98:8ab26030e058 | 447 | /* Bit fields for UART RXDATAX */ |
Kojto | 98:8ab26030e058 | 448 | #define _UART_RXDATAX_RESETVALUE 0x00000000UL /**< Default value for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 449 | #define _UART_RXDATAX_MASK 0x0000C1FFUL /**< Mask for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 450 | #define _UART_RXDATAX_RXDATA_SHIFT 0 /**< Shift value for USART_RXDATA */ |
Kojto | 98:8ab26030e058 | 451 | #define _UART_RXDATAX_RXDATA_MASK 0x1FFUL /**< Bit mask for USART_RXDATA */ |
Kojto | 98:8ab26030e058 | 452 | #define _UART_RXDATAX_RXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 453 | #define UART_RXDATAX_RXDATA_DEFAULT (_UART_RXDATAX_RXDATA_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 454 | #define UART_RXDATAX_PERR (0x1UL << 14) /**< Data Parity Error */ |
Kojto | 98:8ab26030e058 | 455 | #define _UART_RXDATAX_PERR_SHIFT 14 /**< Shift value for USART_PERR */ |
Kojto | 98:8ab26030e058 | 456 | #define _UART_RXDATAX_PERR_MASK 0x4000UL /**< Bit mask for USART_PERR */ |
Kojto | 98:8ab26030e058 | 457 | #define _UART_RXDATAX_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 458 | #define UART_RXDATAX_PERR_DEFAULT (_UART_RXDATAX_PERR_DEFAULT << 14) /**< Shifted mode DEFAULT for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 459 | #define UART_RXDATAX_FERR (0x1UL << 15) /**< Data Framing Error */ |
Kojto | 98:8ab26030e058 | 460 | #define _UART_RXDATAX_FERR_SHIFT 15 /**< Shift value for USART_FERR */ |
Kojto | 98:8ab26030e058 | 461 | #define _UART_RXDATAX_FERR_MASK 0x8000UL /**< Bit mask for USART_FERR */ |
Kojto | 98:8ab26030e058 | 462 | #define _UART_RXDATAX_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 463 | #define UART_RXDATAX_FERR_DEFAULT (_UART_RXDATAX_FERR_DEFAULT << 15) /**< Shifted mode DEFAULT for UART_RXDATAX */ |
Kojto | 98:8ab26030e058 | 464 | |
Kojto | 98:8ab26030e058 | 465 | /* Bit fields for UART RXDATA */ |
Kojto | 98:8ab26030e058 | 466 | #define _UART_RXDATA_RESETVALUE 0x00000000UL /**< Default value for UART_RXDATA */ |
Kojto | 98:8ab26030e058 | 467 | #define _UART_RXDATA_MASK 0x000000FFUL /**< Mask for UART_RXDATA */ |
Kojto | 98:8ab26030e058 | 468 | #define _UART_RXDATA_RXDATA_SHIFT 0 /**< Shift value for USART_RXDATA */ |
Kojto | 98:8ab26030e058 | 469 | #define _UART_RXDATA_RXDATA_MASK 0xFFUL /**< Bit mask for USART_RXDATA */ |
Kojto | 98:8ab26030e058 | 470 | #define _UART_RXDATA_RXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDATA */ |
Kojto | 98:8ab26030e058 | 471 | #define UART_RXDATA_RXDATA_DEFAULT (_UART_RXDATA_RXDATA_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_RXDATA */ |
Kojto | 98:8ab26030e058 | 472 | |
Kojto | 98:8ab26030e058 | 473 | /* Bit fields for UART RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 474 | #define _UART_RXDOUBLEX_RESETVALUE 0x00000000UL /**< Default value for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 475 | #define _UART_RXDOUBLEX_MASK 0xC1FFC1FFUL /**< Mask for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 476 | #define _UART_RXDOUBLEX_RXDATA0_SHIFT 0 /**< Shift value for USART_RXDATA0 */ |
Kojto | 98:8ab26030e058 | 477 | #define _UART_RXDOUBLEX_RXDATA0_MASK 0x1FFUL /**< Bit mask for USART_RXDATA0 */ |
Kojto | 98:8ab26030e058 | 478 | #define _UART_RXDOUBLEX_RXDATA0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 479 | #define UART_RXDOUBLEX_RXDATA0_DEFAULT (_UART_RXDOUBLEX_RXDATA0_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 480 | #define UART_RXDOUBLEX_PERR0 (0x1UL << 14) /**< Data Parity Error 0 */ |
Kojto | 98:8ab26030e058 | 481 | #define _UART_RXDOUBLEX_PERR0_SHIFT 14 /**< Shift value for USART_PERR0 */ |
Kojto | 98:8ab26030e058 | 482 | #define _UART_RXDOUBLEX_PERR0_MASK 0x4000UL /**< Bit mask for USART_PERR0 */ |
Kojto | 98:8ab26030e058 | 483 | #define _UART_RXDOUBLEX_PERR0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 484 | #define UART_RXDOUBLEX_PERR0_DEFAULT (_UART_RXDOUBLEX_PERR0_DEFAULT << 14) /**< Shifted mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 485 | #define UART_RXDOUBLEX_FERR0 (0x1UL << 15) /**< Data Framing Error 0 */ |
Kojto | 98:8ab26030e058 | 486 | #define _UART_RXDOUBLEX_FERR0_SHIFT 15 /**< Shift value for USART_FERR0 */ |
Kojto | 98:8ab26030e058 | 487 | #define _UART_RXDOUBLEX_FERR0_MASK 0x8000UL /**< Bit mask for USART_FERR0 */ |
Kojto | 98:8ab26030e058 | 488 | #define _UART_RXDOUBLEX_FERR0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 489 | #define UART_RXDOUBLEX_FERR0_DEFAULT (_UART_RXDOUBLEX_FERR0_DEFAULT << 15) /**< Shifted mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 490 | #define _UART_RXDOUBLEX_RXDATA1_SHIFT 16 /**< Shift value for USART_RXDATA1 */ |
Kojto | 98:8ab26030e058 | 491 | #define _UART_RXDOUBLEX_RXDATA1_MASK 0x1FF0000UL /**< Bit mask for USART_RXDATA1 */ |
Kojto | 98:8ab26030e058 | 492 | #define _UART_RXDOUBLEX_RXDATA1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 493 | #define UART_RXDOUBLEX_RXDATA1_DEFAULT (_UART_RXDOUBLEX_RXDATA1_DEFAULT << 16) /**< Shifted mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 494 | #define UART_RXDOUBLEX_PERR1 (0x1UL << 30) /**< Data Parity Error 1 */ |
Kojto | 98:8ab26030e058 | 495 | #define _UART_RXDOUBLEX_PERR1_SHIFT 30 /**< Shift value for USART_PERR1 */ |
Kojto | 98:8ab26030e058 | 496 | #define _UART_RXDOUBLEX_PERR1_MASK 0x40000000UL /**< Bit mask for USART_PERR1 */ |
Kojto | 98:8ab26030e058 | 497 | #define _UART_RXDOUBLEX_PERR1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 498 | #define UART_RXDOUBLEX_PERR1_DEFAULT (_UART_RXDOUBLEX_PERR1_DEFAULT << 30) /**< Shifted mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 499 | #define UART_RXDOUBLEX_FERR1 (0x1UL << 31) /**< Data Framing Error 1 */ |
Kojto | 98:8ab26030e058 | 500 | #define _UART_RXDOUBLEX_FERR1_SHIFT 31 /**< Shift value for USART_FERR1 */ |
Kojto | 98:8ab26030e058 | 501 | #define _UART_RXDOUBLEX_FERR1_MASK 0x80000000UL /**< Bit mask for USART_FERR1 */ |
Kojto | 98:8ab26030e058 | 502 | #define _UART_RXDOUBLEX_FERR1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 503 | #define UART_RXDOUBLEX_FERR1_DEFAULT (_UART_RXDOUBLEX_FERR1_DEFAULT << 31) /**< Shifted mode DEFAULT for UART_RXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 504 | |
Kojto | 98:8ab26030e058 | 505 | /* Bit fields for UART RXDOUBLE */ |
Kojto | 98:8ab26030e058 | 506 | #define _UART_RXDOUBLE_RESETVALUE 0x00000000UL /**< Default value for UART_RXDOUBLE */ |
Kojto | 98:8ab26030e058 | 507 | #define _UART_RXDOUBLE_MASK 0x0000FFFFUL /**< Mask for UART_RXDOUBLE */ |
Kojto | 98:8ab26030e058 | 508 | #define _UART_RXDOUBLE_RXDATA0_SHIFT 0 /**< Shift value for USART_RXDATA0 */ |
Kojto | 98:8ab26030e058 | 509 | #define _UART_RXDOUBLE_RXDATA0_MASK 0xFFUL /**< Bit mask for USART_RXDATA0 */ |
Kojto | 98:8ab26030e058 | 510 | #define _UART_RXDOUBLE_RXDATA0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLE */ |
Kojto | 98:8ab26030e058 | 511 | #define UART_RXDOUBLE_RXDATA0_DEFAULT (_UART_RXDOUBLE_RXDATA0_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_RXDOUBLE */ |
Kojto | 98:8ab26030e058 | 512 | #define _UART_RXDOUBLE_RXDATA1_SHIFT 8 /**< Shift value for USART_RXDATA1 */ |
Kojto | 98:8ab26030e058 | 513 | #define _UART_RXDOUBLE_RXDATA1_MASK 0xFF00UL /**< Bit mask for USART_RXDATA1 */ |
Kojto | 98:8ab26030e058 | 514 | #define _UART_RXDOUBLE_RXDATA1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLE */ |
Kojto | 98:8ab26030e058 | 515 | #define UART_RXDOUBLE_RXDATA1_DEFAULT (_UART_RXDOUBLE_RXDATA1_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_RXDOUBLE */ |
Kojto | 98:8ab26030e058 | 516 | |
Kojto | 98:8ab26030e058 | 517 | /* Bit fields for UART RXDATAXP */ |
Kojto | 98:8ab26030e058 | 518 | #define _UART_RXDATAXP_RESETVALUE 0x00000000UL /**< Default value for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 519 | #define _UART_RXDATAXP_MASK 0x0000C1FFUL /**< Mask for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 520 | #define _UART_RXDATAXP_RXDATAP_SHIFT 0 /**< Shift value for USART_RXDATAP */ |
Kojto | 98:8ab26030e058 | 521 | #define _UART_RXDATAXP_RXDATAP_MASK 0x1FFUL /**< Bit mask for USART_RXDATAP */ |
Kojto | 98:8ab26030e058 | 522 | #define _UART_RXDATAXP_RXDATAP_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 523 | #define UART_RXDATAXP_RXDATAP_DEFAULT (_UART_RXDATAXP_RXDATAP_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 524 | #define UART_RXDATAXP_PERRP (0x1UL << 14) /**< Data Parity Error Peek */ |
Kojto | 98:8ab26030e058 | 525 | #define _UART_RXDATAXP_PERRP_SHIFT 14 /**< Shift value for USART_PERRP */ |
Kojto | 98:8ab26030e058 | 526 | #define _UART_RXDATAXP_PERRP_MASK 0x4000UL /**< Bit mask for USART_PERRP */ |
Kojto | 98:8ab26030e058 | 527 | #define _UART_RXDATAXP_PERRP_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 528 | #define UART_RXDATAXP_PERRP_DEFAULT (_UART_RXDATAXP_PERRP_DEFAULT << 14) /**< Shifted mode DEFAULT for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 529 | #define UART_RXDATAXP_FERRP (0x1UL << 15) /**< Data Framing Error Peek */ |
Kojto | 98:8ab26030e058 | 530 | #define _UART_RXDATAXP_FERRP_SHIFT 15 /**< Shift value for USART_FERRP */ |
Kojto | 98:8ab26030e058 | 531 | #define _UART_RXDATAXP_FERRP_MASK 0x8000UL /**< Bit mask for USART_FERRP */ |
Kojto | 98:8ab26030e058 | 532 | #define _UART_RXDATAXP_FERRP_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 533 | #define UART_RXDATAXP_FERRP_DEFAULT (_UART_RXDATAXP_FERRP_DEFAULT << 15) /**< Shifted mode DEFAULT for UART_RXDATAXP */ |
Kojto | 98:8ab26030e058 | 534 | |
Kojto | 98:8ab26030e058 | 535 | /* Bit fields for UART RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 536 | #define _UART_RXDOUBLEXP_RESETVALUE 0x00000000UL /**< Default value for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 537 | #define _UART_RXDOUBLEXP_MASK 0xC1FFC1FFUL /**< Mask for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 538 | #define _UART_RXDOUBLEXP_RXDATAP0_SHIFT 0 /**< Shift value for USART_RXDATAP0 */ |
Kojto | 98:8ab26030e058 | 539 | #define _UART_RXDOUBLEXP_RXDATAP0_MASK 0x1FFUL /**< Bit mask for USART_RXDATAP0 */ |
Kojto | 98:8ab26030e058 | 540 | #define _UART_RXDOUBLEXP_RXDATAP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 541 | #define UART_RXDOUBLEXP_RXDATAP0_DEFAULT (_UART_RXDOUBLEXP_RXDATAP0_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 542 | #define UART_RXDOUBLEXP_PERRP0 (0x1UL << 14) /**< Data Parity Error 0 Peek */ |
Kojto | 98:8ab26030e058 | 543 | #define _UART_RXDOUBLEXP_PERRP0_SHIFT 14 /**< Shift value for USART_PERRP0 */ |
Kojto | 98:8ab26030e058 | 544 | #define _UART_RXDOUBLEXP_PERRP0_MASK 0x4000UL /**< Bit mask for USART_PERRP0 */ |
Kojto | 98:8ab26030e058 | 545 | #define _UART_RXDOUBLEXP_PERRP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 546 | #define UART_RXDOUBLEXP_PERRP0_DEFAULT (_UART_RXDOUBLEXP_PERRP0_DEFAULT << 14) /**< Shifted mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 547 | #define UART_RXDOUBLEXP_FERRP0 (0x1UL << 15) /**< Data Framing Error 0 Peek */ |
Kojto | 98:8ab26030e058 | 548 | #define _UART_RXDOUBLEXP_FERRP0_SHIFT 15 /**< Shift value for USART_FERRP0 */ |
Kojto | 98:8ab26030e058 | 549 | #define _UART_RXDOUBLEXP_FERRP0_MASK 0x8000UL /**< Bit mask for USART_FERRP0 */ |
Kojto | 98:8ab26030e058 | 550 | #define _UART_RXDOUBLEXP_FERRP0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 551 | #define UART_RXDOUBLEXP_FERRP0_DEFAULT (_UART_RXDOUBLEXP_FERRP0_DEFAULT << 15) /**< Shifted mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 552 | #define _UART_RXDOUBLEXP_RXDATAP1_SHIFT 16 /**< Shift value for USART_RXDATAP1 */ |
Kojto | 98:8ab26030e058 | 553 | #define _UART_RXDOUBLEXP_RXDATAP1_MASK 0x1FF0000UL /**< Bit mask for USART_RXDATAP1 */ |
Kojto | 98:8ab26030e058 | 554 | #define _UART_RXDOUBLEXP_RXDATAP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 555 | #define UART_RXDOUBLEXP_RXDATAP1_DEFAULT (_UART_RXDOUBLEXP_RXDATAP1_DEFAULT << 16) /**< Shifted mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 556 | #define UART_RXDOUBLEXP_PERRP1 (0x1UL << 30) /**< Data Parity Error 1 Peek */ |
Kojto | 98:8ab26030e058 | 557 | #define _UART_RXDOUBLEXP_PERRP1_SHIFT 30 /**< Shift value for USART_PERRP1 */ |
Kojto | 98:8ab26030e058 | 558 | #define _UART_RXDOUBLEXP_PERRP1_MASK 0x40000000UL /**< Bit mask for USART_PERRP1 */ |
Kojto | 98:8ab26030e058 | 559 | #define _UART_RXDOUBLEXP_PERRP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 560 | #define UART_RXDOUBLEXP_PERRP1_DEFAULT (_UART_RXDOUBLEXP_PERRP1_DEFAULT << 30) /**< Shifted mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 561 | #define UART_RXDOUBLEXP_FERRP1 (0x1UL << 31) /**< Data Framing Error 1 Peek */ |
Kojto | 98:8ab26030e058 | 562 | #define _UART_RXDOUBLEXP_FERRP1_SHIFT 31 /**< Shift value for USART_FERRP1 */ |
Kojto | 98:8ab26030e058 | 563 | #define _UART_RXDOUBLEXP_FERRP1_MASK 0x80000000UL /**< Bit mask for USART_FERRP1 */ |
Kojto | 98:8ab26030e058 | 564 | #define _UART_RXDOUBLEXP_FERRP1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 565 | #define UART_RXDOUBLEXP_FERRP1_DEFAULT (_UART_RXDOUBLEXP_FERRP1_DEFAULT << 31) /**< Shifted mode DEFAULT for UART_RXDOUBLEXP */ |
Kojto | 98:8ab26030e058 | 566 | |
Kojto | 98:8ab26030e058 | 567 | /* Bit fields for UART TXDATAX */ |
Kojto | 98:8ab26030e058 | 568 | #define _UART_TXDATAX_RESETVALUE 0x00000000UL /**< Default value for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 569 | #define _UART_TXDATAX_MASK 0x0000F9FFUL /**< Mask for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 570 | #define _UART_TXDATAX_TXDATAX_SHIFT 0 /**< Shift value for USART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 571 | #define _UART_TXDATAX_TXDATAX_MASK 0x1FFUL /**< Bit mask for USART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 572 | #define _UART_TXDATAX_TXDATAX_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 573 | #define UART_TXDATAX_TXDATAX_DEFAULT (_UART_TXDATAX_TXDATAX_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 574 | #define UART_TXDATAX_UBRXAT (0x1UL << 11) /**< Unblock RX After Transmission */ |
Kojto | 98:8ab26030e058 | 575 | #define _UART_TXDATAX_UBRXAT_SHIFT 11 /**< Shift value for USART_UBRXAT */ |
Kojto | 98:8ab26030e058 | 576 | #define _UART_TXDATAX_UBRXAT_MASK 0x800UL /**< Bit mask for USART_UBRXAT */ |
Kojto | 98:8ab26030e058 | 577 | #define _UART_TXDATAX_UBRXAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 578 | #define UART_TXDATAX_UBRXAT_DEFAULT (_UART_TXDATAX_UBRXAT_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 579 | #define UART_TXDATAX_TXTRIAT (0x1UL << 12) /**< Set TXTRI After Transmission */ |
Kojto | 98:8ab26030e058 | 580 | #define _UART_TXDATAX_TXTRIAT_SHIFT 12 /**< Shift value for USART_TXTRIAT */ |
Kojto | 98:8ab26030e058 | 581 | #define _UART_TXDATAX_TXTRIAT_MASK 0x1000UL /**< Bit mask for USART_TXTRIAT */ |
Kojto | 98:8ab26030e058 | 582 | #define _UART_TXDATAX_TXTRIAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 583 | #define UART_TXDATAX_TXTRIAT_DEFAULT (_UART_TXDATAX_TXTRIAT_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 584 | #define UART_TXDATAX_TXBREAK (0x1UL << 13) /**< Transmit Data As Break */ |
Kojto | 98:8ab26030e058 | 585 | #define _UART_TXDATAX_TXBREAK_SHIFT 13 /**< Shift value for USART_TXBREAK */ |
Kojto | 98:8ab26030e058 | 586 | #define _UART_TXDATAX_TXBREAK_MASK 0x2000UL /**< Bit mask for USART_TXBREAK */ |
Kojto | 98:8ab26030e058 | 587 | #define _UART_TXDATAX_TXBREAK_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 588 | #define UART_TXDATAX_TXBREAK_DEFAULT (_UART_TXDATAX_TXBREAK_DEFAULT << 13) /**< Shifted mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 589 | #define UART_TXDATAX_TXDISAT (0x1UL << 14) /**< Clear TXEN After Transmission */ |
Kojto | 98:8ab26030e058 | 590 | #define _UART_TXDATAX_TXDISAT_SHIFT 14 /**< Shift value for USART_TXDISAT */ |
Kojto | 98:8ab26030e058 | 591 | #define _UART_TXDATAX_TXDISAT_MASK 0x4000UL /**< Bit mask for USART_TXDISAT */ |
Kojto | 98:8ab26030e058 | 592 | #define _UART_TXDATAX_TXDISAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 593 | #define UART_TXDATAX_TXDISAT_DEFAULT (_UART_TXDATAX_TXDISAT_DEFAULT << 14) /**< Shifted mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 594 | #define UART_TXDATAX_RXENAT (0x1UL << 15) /**< Enable RX After Transmission */ |
Kojto | 98:8ab26030e058 | 595 | #define _UART_TXDATAX_RXENAT_SHIFT 15 /**< Shift value for USART_RXENAT */ |
Kojto | 98:8ab26030e058 | 596 | #define _UART_TXDATAX_RXENAT_MASK 0x8000UL /**< Bit mask for USART_RXENAT */ |
Kojto | 98:8ab26030e058 | 597 | #define _UART_TXDATAX_RXENAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 598 | #define UART_TXDATAX_RXENAT_DEFAULT (_UART_TXDATAX_RXENAT_DEFAULT << 15) /**< Shifted mode DEFAULT for UART_TXDATAX */ |
Kojto | 98:8ab26030e058 | 599 | |
Kojto | 98:8ab26030e058 | 600 | /* Bit fields for UART TXDATA */ |
Kojto | 98:8ab26030e058 | 601 | #define _UART_TXDATA_RESETVALUE 0x00000000UL /**< Default value for UART_TXDATA */ |
Kojto | 98:8ab26030e058 | 602 | #define _UART_TXDATA_MASK 0x000000FFUL /**< Mask for UART_TXDATA */ |
Kojto | 98:8ab26030e058 | 603 | #define _UART_TXDATA_TXDATA_SHIFT 0 /**< Shift value for USART_TXDATA */ |
Kojto | 98:8ab26030e058 | 604 | #define _UART_TXDATA_TXDATA_MASK 0xFFUL /**< Bit mask for USART_TXDATA */ |
Kojto | 98:8ab26030e058 | 605 | #define _UART_TXDATA_TXDATA_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDATA */ |
Kojto | 98:8ab26030e058 | 606 | #define UART_TXDATA_TXDATA_DEFAULT (_UART_TXDATA_TXDATA_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_TXDATA */ |
Kojto | 98:8ab26030e058 | 607 | |
Kojto | 98:8ab26030e058 | 608 | /* Bit fields for UART TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 609 | #define _UART_TXDOUBLEX_RESETVALUE 0x00000000UL /**< Default value for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 610 | #define _UART_TXDOUBLEX_MASK 0xF9FFF9FFUL /**< Mask for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 611 | #define _UART_TXDOUBLEX_TXDATA0_SHIFT 0 /**< Shift value for USART_TXDATA0 */ |
Kojto | 98:8ab26030e058 | 612 | #define _UART_TXDOUBLEX_TXDATA0_MASK 0x1FFUL /**< Bit mask for USART_TXDATA0 */ |
Kojto | 98:8ab26030e058 | 613 | #define _UART_TXDOUBLEX_TXDATA0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 614 | #define UART_TXDOUBLEX_TXDATA0_DEFAULT (_UART_TXDOUBLEX_TXDATA0_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 615 | #define UART_TXDOUBLEX_UBRXAT0 (0x1UL << 11) /**< Unblock RX After Transmission */ |
Kojto | 98:8ab26030e058 | 616 | #define _UART_TXDOUBLEX_UBRXAT0_SHIFT 11 /**< Shift value for USART_UBRXAT0 */ |
Kojto | 98:8ab26030e058 | 617 | #define _UART_TXDOUBLEX_UBRXAT0_MASK 0x800UL /**< Bit mask for USART_UBRXAT0 */ |
Kojto | 98:8ab26030e058 | 618 | #define _UART_TXDOUBLEX_UBRXAT0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 619 | #define UART_TXDOUBLEX_UBRXAT0_DEFAULT (_UART_TXDOUBLEX_UBRXAT0_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 620 | #define UART_TXDOUBLEX_TXTRIAT0 (0x1UL << 12) /**< Set TXTRI After Transmission */ |
Kojto | 98:8ab26030e058 | 621 | #define _UART_TXDOUBLEX_TXTRIAT0_SHIFT 12 /**< Shift value for USART_TXTRIAT0 */ |
Kojto | 98:8ab26030e058 | 622 | #define _UART_TXDOUBLEX_TXTRIAT0_MASK 0x1000UL /**< Bit mask for USART_TXTRIAT0 */ |
Kojto | 98:8ab26030e058 | 623 | #define _UART_TXDOUBLEX_TXTRIAT0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 624 | #define UART_TXDOUBLEX_TXTRIAT0_DEFAULT (_UART_TXDOUBLEX_TXTRIAT0_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 625 | #define UART_TXDOUBLEX_TXBREAK0 (0x1UL << 13) /**< Transmit Data As Break */ |
Kojto | 98:8ab26030e058 | 626 | #define _UART_TXDOUBLEX_TXBREAK0_SHIFT 13 /**< Shift value for USART_TXBREAK0 */ |
Kojto | 98:8ab26030e058 | 627 | #define _UART_TXDOUBLEX_TXBREAK0_MASK 0x2000UL /**< Bit mask for USART_TXBREAK0 */ |
Kojto | 98:8ab26030e058 | 628 | #define _UART_TXDOUBLEX_TXBREAK0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 629 | #define UART_TXDOUBLEX_TXBREAK0_DEFAULT (_UART_TXDOUBLEX_TXBREAK0_DEFAULT << 13) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 630 | #define UART_TXDOUBLEX_TXDISAT0 (0x1UL << 14) /**< Clear TXEN After Transmission */ |
Kojto | 98:8ab26030e058 | 631 | #define _UART_TXDOUBLEX_TXDISAT0_SHIFT 14 /**< Shift value for USART_TXDISAT0 */ |
Kojto | 98:8ab26030e058 | 632 | #define _UART_TXDOUBLEX_TXDISAT0_MASK 0x4000UL /**< Bit mask for USART_TXDISAT0 */ |
Kojto | 98:8ab26030e058 | 633 | #define _UART_TXDOUBLEX_TXDISAT0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 634 | #define UART_TXDOUBLEX_TXDISAT0_DEFAULT (_UART_TXDOUBLEX_TXDISAT0_DEFAULT << 14) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 635 | #define UART_TXDOUBLEX_RXENAT0 (0x1UL << 15) /**< Enable RX After Transmission */ |
Kojto | 98:8ab26030e058 | 636 | #define _UART_TXDOUBLEX_RXENAT0_SHIFT 15 /**< Shift value for USART_RXENAT0 */ |
Kojto | 98:8ab26030e058 | 637 | #define _UART_TXDOUBLEX_RXENAT0_MASK 0x8000UL /**< Bit mask for USART_RXENAT0 */ |
Kojto | 98:8ab26030e058 | 638 | #define _UART_TXDOUBLEX_RXENAT0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 639 | #define UART_TXDOUBLEX_RXENAT0_DEFAULT (_UART_TXDOUBLEX_RXENAT0_DEFAULT << 15) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 640 | #define _UART_TXDOUBLEX_TXDATA1_SHIFT 16 /**< Shift value for USART_TXDATA1 */ |
Kojto | 98:8ab26030e058 | 641 | #define _UART_TXDOUBLEX_TXDATA1_MASK 0x1FF0000UL /**< Bit mask for USART_TXDATA1 */ |
Kojto | 98:8ab26030e058 | 642 | #define _UART_TXDOUBLEX_TXDATA1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 643 | #define UART_TXDOUBLEX_TXDATA1_DEFAULT (_UART_TXDOUBLEX_TXDATA1_DEFAULT << 16) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 644 | #define UART_TXDOUBLEX_UBRXAT1 (0x1UL << 27) /**< Unblock RX After Transmission */ |
Kojto | 98:8ab26030e058 | 645 | #define _UART_TXDOUBLEX_UBRXAT1_SHIFT 27 /**< Shift value for USART_UBRXAT1 */ |
Kojto | 98:8ab26030e058 | 646 | #define _UART_TXDOUBLEX_UBRXAT1_MASK 0x8000000UL /**< Bit mask for USART_UBRXAT1 */ |
Kojto | 98:8ab26030e058 | 647 | #define _UART_TXDOUBLEX_UBRXAT1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 648 | #define UART_TXDOUBLEX_UBRXAT1_DEFAULT (_UART_TXDOUBLEX_UBRXAT1_DEFAULT << 27) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 649 | #define UART_TXDOUBLEX_TXTRIAT1 (0x1UL << 28) /**< Set TXTRI After Transmission */ |
Kojto | 98:8ab26030e058 | 650 | #define _UART_TXDOUBLEX_TXTRIAT1_SHIFT 28 /**< Shift value for USART_TXTRIAT1 */ |
Kojto | 98:8ab26030e058 | 651 | #define _UART_TXDOUBLEX_TXTRIAT1_MASK 0x10000000UL /**< Bit mask for USART_TXTRIAT1 */ |
Kojto | 98:8ab26030e058 | 652 | #define _UART_TXDOUBLEX_TXTRIAT1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 653 | #define UART_TXDOUBLEX_TXTRIAT1_DEFAULT (_UART_TXDOUBLEX_TXTRIAT1_DEFAULT << 28) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 654 | #define UART_TXDOUBLEX_TXBREAK1 (0x1UL << 29) /**< Transmit Data As Break */ |
Kojto | 98:8ab26030e058 | 655 | #define _UART_TXDOUBLEX_TXBREAK1_SHIFT 29 /**< Shift value for USART_TXBREAK1 */ |
Kojto | 98:8ab26030e058 | 656 | #define _UART_TXDOUBLEX_TXBREAK1_MASK 0x20000000UL /**< Bit mask for USART_TXBREAK1 */ |
Kojto | 98:8ab26030e058 | 657 | #define _UART_TXDOUBLEX_TXBREAK1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 658 | #define UART_TXDOUBLEX_TXBREAK1_DEFAULT (_UART_TXDOUBLEX_TXBREAK1_DEFAULT << 29) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 659 | #define UART_TXDOUBLEX_TXDISAT1 (0x1UL << 30) /**< Clear TXEN After Transmission */ |
Kojto | 98:8ab26030e058 | 660 | #define _UART_TXDOUBLEX_TXDISAT1_SHIFT 30 /**< Shift value for USART_TXDISAT1 */ |
Kojto | 98:8ab26030e058 | 661 | #define _UART_TXDOUBLEX_TXDISAT1_MASK 0x40000000UL /**< Bit mask for USART_TXDISAT1 */ |
Kojto | 98:8ab26030e058 | 662 | #define _UART_TXDOUBLEX_TXDISAT1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 663 | #define UART_TXDOUBLEX_TXDISAT1_DEFAULT (_UART_TXDOUBLEX_TXDISAT1_DEFAULT << 30) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 664 | #define UART_TXDOUBLEX_RXENAT1 (0x1UL << 31) /**< Enable RX After Transmission */ |
Kojto | 98:8ab26030e058 | 665 | #define _UART_TXDOUBLEX_RXENAT1_SHIFT 31 /**< Shift value for USART_RXENAT1 */ |
Kojto | 98:8ab26030e058 | 666 | #define _UART_TXDOUBLEX_RXENAT1_MASK 0x80000000UL /**< Bit mask for USART_RXENAT1 */ |
Kojto | 98:8ab26030e058 | 667 | #define _UART_TXDOUBLEX_RXENAT1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 668 | #define UART_TXDOUBLEX_RXENAT1_DEFAULT (_UART_TXDOUBLEX_RXENAT1_DEFAULT << 31) /**< Shifted mode DEFAULT for UART_TXDOUBLEX */ |
Kojto | 98:8ab26030e058 | 669 | |
Kojto | 98:8ab26030e058 | 670 | /* Bit fields for UART TXDOUBLE */ |
Kojto | 98:8ab26030e058 | 671 | #define _UART_TXDOUBLE_RESETVALUE 0x00000000UL /**< Default value for UART_TXDOUBLE */ |
Kojto | 98:8ab26030e058 | 672 | #define _UART_TXDOUBLE_MASK 0x0000FFFFUL /**< Mask for UART_TXDOUBLE */ |
Kojto | 98:8ab26030e058 | 673 | #define _UART_TXDOUBLE_TXDATA0_SHIFT 0 /**< Shift value for USART_TXDATA0 */ |
Kojto | 98:8ab26030e058 | 674 | #define _UART_TXDOUBLE_TXDATA0_MASK 0xFFUL /**< Bit mask for USART_TXDATA0 */ |
Kojto | 98:8ab26030e058 | 675 | #define _UART_TXDOUBLE_TXDATA0_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLE */ |
Kojto | 98:8ab26030e058 | 676 | #define UART_TXDOUBLE_TXDATA0_DEFAULT (_UART_TXDOUBLE_TXDATA0_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_TXDOUBLE */ |
Kojto | 98:8ab26030e058 | 677 | #define _UART_TXDOUBLE_TXDATA1_SHIFT 8 /**< Shift value for USART_TXDATA1 */ |
Kojto | 98:8ab26030e058 | 678 | #define _UART_TXDOUBLE_TXDATA1_MASK 0xFF00UL /**< Bit mask for USART_TXDATA1 */ |
Kojto | 98:8ab26030e058 | 679 | #define _UART_TXDOUBLE_TXDATA1_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_TXDOUBLE */ |
Kojto | 98:8ab26030e058 | 680 | #define UART_TXDOUBLE_TXDATA1_DEFAULT (_UART_TXDOUBLE_TXDATA1_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_TXDOUBLE */ |
Kojto | 98:8ab26030e058 | 681 | |
Kojto | 98:8ab26030e058 | 682 | /* Bit fields for UART IF */ |
Kojto | 98:8ab26030e058 | 683 | #define _UART_IF_RESETVALUE 0x00000002UL /**< Default value for UART_IF */ |
Kojto | 98:8ab26030e058 | 684 | #define _UART_IF_MASK 0x00001FFFUL /**< Mask for UART_IF */ |
Kojto | 98:8ab26030e058 | 685 | #define UART_IF_TXC (0x1UL << 0) /**< TX Complete Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 686 | #define _UART_IF_TXC_SHIFT 0 /**< Shift value for USART_TXC */ |
Kojto | 98:8ab26030e058 | 687 | #define _UART_IF_TXC_MASK 0x1UL /**< Bit mask for USART_TXC */ |
Kojto | 98:8ab26030e058 | 688 | #define _UART_IF_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 689 | #define UART_IF_TXC_DEFAULT (_UART_IF_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 690 | #define UART_IF_TXBL (0x1UL << 1) /**< TX Buffer Level Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 691 | #define _UART_IF_TXBL_SHIFT 1 /**< Shift value for USART_TXBL */ |
Kojto | 98:8ab26030e058 | 692 | #define _UART_IF_TXBL_MASK 0x2UL /**< Bit mask for USART_TXBL */ |
Kojto | 98:8ab26030e058 | 693 | #define _UART_IF_TXBL_DEFAULT 0x00000001UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 694 | #define UART_IF_TXBL_DEFAULT (_UART_IF_TXBL_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 695 | #define UART_IF_RXDATAV (0x1UL << 2) /**< RX Data Valid Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 696 | #define _UART_IF_RXDATAV_SHIFT 2 /**< Shift value for USART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 697 | #define _UART_IF_RXDATAV_MASK 0x4UL /**< Bit mask for USART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 698 | #define _UART_IF_RXDATAV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 699 | #define UART_IF_RXDATAV_DEFAULT (_UART_IF_RXDATAV_DEFAULT << 2) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 700 | #define UART_IF_RXFULL (0x1UL << 3) /**< RX Buffer Full Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 701 | #define _UART_IF_RXFULL_SHIFT 3 /**< Shift value for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 702 | #define _UART_IF_RXFULL_MASK 0x8UL /**< Bit mask for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 703 | #define _UART_IF_RXFULL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 704 | #define UART_IF_RXFULL_DEFAULT (_UART_IF_RXFULL_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 705 | #define UART_IF_RXOF (0x1UL << 4) /**< RX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 706 | #define _UART_IF_RXOF_SHIFT 4 /**< Shift value for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 707 | #define _UART_IF_RXOF_MASK 0x10UL /**< Bit mask for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 708 | #define _UART_IF_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 709 | #define UART_IF_RXOF_DEFAULT (_UART_IF_RXOF_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 710 | #define UART_IF_RXUF (0x1UL << 5) /**< RX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 711 | #define _UART_IF_RXUF_SHIFT 5 /**< Shift value for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 712 | #define _UART_IF_RXUF_MASK 0x20UL /**< Bit mask for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 713 | #define _UART_IF_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 714 | #define UART_IF_RXUF_DEFAULT (_UART_IF_RXUF_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 715 | #define UART_IF_TXOF (0x1UL << 6) /**< TX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 716 | #define _UART_IF_TXOF_SHIFT 6 /**< Shift value for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 717 | #define _UART_IF_TXOF_MASK 0x40UL /**< Bit mask for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 718 | #define _UART_IF_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 719 | #define UART_IF_TXOF_DEFAULT (_UART_IF_TXOF_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 720 | #define UART_IF_TXUF (0x1UL << 7) /**< TX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 721 | #define _UART_IF_TXUF_SHIFT 7 /**< Shift value for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 722 | #define _UART_IF_TXUF_MASK 0x80UL /**< Bit mask for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 723 | #define _UART_IF_TXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 724 | #define UART_IF_TXUF_DEFAULT (_UART_IF_TXUF_DEFAULT << 7) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 725 | #define UART_IF_PERR (0x1UL << 8) /**< Parity Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 726 | #define _UART_IF_PERR_SHIFT 8 /**< Shift value for USART_PERR */ |
Kojto | 98:8ab26030e058 | 727 | #define _UART_IF_PERR_MASK 0x100UL /**< Bit mask for USART_PERR */ |
Kojto | 98:8ab26030e058 | 728 | #define _UART_IF_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 729 | #define UART_IF_PERR_DEFAULT (_UART_IF_PERR_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 730 | #define UART_IF_FERR (0x1UL << 9) /**< Framing Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 731 | #define _UART_IF_FERR_SHIFT 9 /**< Shift value for USART_FERR */ |
Kojto | 98:8ab26030e058 | 732 | #define _UART_IF_FERR_MASK 0x200UL /**< Bit mask for USART_FERR */ |
Kojto | 98:8ab26030e058 | 733 | #define _UART_IF_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 734 | #define UART_IF_FERR_DEFAULT (_UART_IF_FERR_DEFAULT << 9) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 735 | #define UART_IF_MPAF (0x1UL << 10) /**< Multi-Processor Address Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 736 | #define _UART_IF_MPAF_SHIFT 10 /**< Shift value for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 737 | #define _UART_IF_MPAF_MASK 0x400UL /**< Bit mask for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 738 | #define _UART_IF_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 739 | #define UART_IF_MPAF_DEFAULT (_UART_IF_MPAF_DEFAULT << 10) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 740 | #define UART_IF_SSM (0x1UL << 11) /**< Slave-Select In Master Mode Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 741 | #define _UART_IF_SSM_SHIFT 11 /**< Shift value for USART_SSM */ |
Kojto | 98:8ab26030e058 | 742 | #define _UART_IF_SSM_MASK 0x800UL /**< Bit mask for USART_SSM */ |
Kojto | 98:8ab26030e058 | 743 | #define _UART_IF_SSM_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 744 | #define UART_IF_SSM_DEFAULT (_UART_IF_SSM_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 745 | #define UART_IF_CCF (0x1UL << 12) /**< Collision Check Fail Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 746 | #define _UART_IF_CCF_SHIFT 12 /**< Shift value for USART_CCF */ |
Kojto | 98:8ab26030e058 | 747 | #define _UART_IF_CCF_MASK 0x1000UL /**< Bit mask for USART_CCF */ |
Kojto | 98:8ab26030e058 | 748 | #define _UART_IF_CCF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 749 | #define UART_IF_CCF_DEFAULT (_UART_IF_CCF_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_IF */ |
Kojto | 98:8ab26030e058 | 750 | |
Kojto | 98:8ab26030e058 | 751 | /* Bit fields for UART IFS */ |
Kojto | 98:8ab26030e058 | 752 | #define _UART_IFS_RESETVALUE 0x00000000UL /**< Default value for UART_IFS */ |
Kojto | 98:8ab26030e058 | 753 | #define _UART_IFS_MASK 0x00001FF9UL /**< Mask for UART_IFS */ |
Kojto | 98:8ab26030e058 | 754 | #define UART_IFS_TXC (0x1UL << 0) /**< Set TX Complete Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 755 | #define _UART_IFS_TXC_SHIFT 0 /**< Shift value for USART_TXC */ |
Kojto | 98:8ab26030e058 | 756 | #define _UART_IFS_TXC_MASK 0x1UL /**< Bit mask for USART_TXC */ |
Kojto | 98:8ab26030e058 | 757 | #define _UART_IFS_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 758 | #define UART_IFS_TXC_DEFAULT (_UART_IFS_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 759 | #define UART_IFS_RXFULL (0x1UL << 3) /**< Set RX Buffer Full Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 760 | #define _UART_IFS_RXFULL_SHIFT 3 /**< Shift value for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 761 | #define _UART_IFS_RXFULL_MASK 0x8UL /**< Bit mask for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 762 | #define _UART_IFS_RXFULL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 763 | #define UART_IFS_RXFULL_DEFAULT (_UART_IFS_RXFULL_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 764 | #define UART_IFS_RXOF (0x1UL << 4) /**< Set RX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 765 | #define _UART_IFS_RXOF_SHIFT 4 /**< Shift value for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 766 | #define _UART_IFS_RXOF_MASK 0x10UL /**< Bit mask for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 767 | #define _UART_IFS_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 768 | #define UART_IFS_RXOF_DEFAULT (_UART_IFS_RXOF_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 769 | #define UART_IFS_RXUF (0x1UL << 5) /**< Set RX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 770 | #define _UART_IFS_RXUF_SHIFT 5 /**< Shift value for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 771 | #define _UART_IFS_RXUF_MASK 0x20UL /**< Bit mask for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 772 | #define _UART_IFS_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 773 | #define UART_IFS_RXUF_DEFAULT (_UART_IFS_RXUF_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 774 | #define UART_IFS_TXOF (0x1UL << 6) /**< Set TX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 775 | #define _UART_IFS_TXOF_SHIFT 6 /**< Shift value for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 776 | #define _UART_IFS_TXOF_MASK 0x40UL /**< Bit mask for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 777 | #define _UART_IFS_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 778 | #define UART_IFS_TXOF_DEFAULT (_UART_IFS_TXOF_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 779 | #define UART_IFS_TXUF (0x1UL << 7) /**< Set TX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 780 | #define _UART_IFS_TXUF_SHIFT 7 /**< Shift value for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 781 | #define _UART_IFS_TXUF_MASK 0x80UL /**< Bit mask for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 782 | #define _UART_IFS_TXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 783 | #define UART_IFS_TXUF_DEFAULT (_UART_IFS_TXUF_DEFAULT << 7) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 784 | #define UART_IFS_PERR (0x1UL << 8) /**< Set Parity Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 785 | #define _UART_IFS_PERR_SHIFT 8 /**< Shift value for USART_PERR */ |
Kojto | 98:8ab26030e058 | 786 | #define _UART_IFS_PERR_MASK 0x100UL /**< Bit mask for USART_PERR */ |
Kojto | 98:8ab26030e058 | 787 | #define _UART_IFS_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 788 | #define UART_IFS_PERR_DEFAULT (_UART_IFS_PERR_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 789 | #define UART_IFS_FERR (0x1UL << 9) /**< Set Framing Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 790 | #define _UART_IFS_FERR_SHIFT 9 /**< Shift value for USART_FERR */ |
Kojto | 98:8ab26030e058 | 791 | #define _UART_IFS_FERR_MASK 0x200UL /**< Bit mask for USART_FERR */ |
Kojto | 98:8ab26030e058 | 792 | #define _UART_IFS_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 793 | #define UART_IFS_FERR_DEFAULT (_UART_IFS_FERR_DEFAULT << 9) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 794 | #define UART_IFS_MPAF (0x1UL << 10) /**< Set Multi-Processor Address Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 795 | #define _UART_IFS_MPAF_SHIFT 10 /**< Shift value for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 796 | #define _UART_IFS_MPAF_MASK 0x400UL /**< Bit mask for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 797 | #define _UART_IFS_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 798 | #define UART_IFS_MPAF_DEFAULT (_UART_IFS_MPAF_DEFAULT << 10) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 799 | #define UART_IFS_SSM (0x1UL << 11) /**< Set Slave-Select in Master mode Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 800 | #define _UART_IFS_SSM_SHIFT 11 /**< Shift value for USART_SSM */ |
Kojto | 98:8ab26030e058 | 801 | #define _UART_IFS_SSM_MASK 0x800UL /**< Bit mask for USART_SSM */ |
Kojto | 98:8ab26030e058 | 802 | #define _UART_IFS_SSM_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 803 | #define UART_IFS_SSM_DEFAULT (_UART_IFS_SSM_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 804 | #define UART_IFS_CCF (0x1UL << 12) /**< Set Collision Check Fail Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 805 | #define _UART_IFS_CCF_SHIFT 12 /**< Shift value for USART_CCF */ |
Kojto | 98:8ab26030e058 | 806 | #define _UART_IFS_CCF_MASK 0x1000UL /**< Bit mask for USART_CCF */ |
Kojto | 98:8ab26030e058 | 807 | #define _UART_IFS_CCF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 808 | #define UART_IFS_CCF_DEFAULT (_UART_IFS_CCF_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_IFS */ |
Kojto | 98:8ab26030e058 | 809 | |
Kojto | 98:8ab26030e058 | 810 | /* Bit fields for UART IFC */ |
Kojto | 98:8ab26030e058 | 811 | #define _UART_IFC_RESETVALUE 0x00000000UL /**< Default value for UART_IFC */ |
Kojto | 98:8ab26030e058 | 812 | #define _UART_IFC_MASK 0x00001FF9UL /**< Mask for UART_IFC */ |
Kojto | 98:8ab26030e058 | 813 | #define UART_IFC_TXC (0x1UL << 0) /**< Clear TX Complete Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 814 | #define _UART_IFC_TXC_SHIFT 0 /**< Shift value for USART_TXC */ |
Kojto | 98:8ab26030e058 | 815 | #define _UART_IFC_TXC_MASK 0x1UL /**< Bit mask for USART_TXC */ |
Kojto | 98:8ab26030e058 | 816 | #define _UART_IFC_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 817 | #define UART_IFC_TXC_DEFAULT (_UART_IFC_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 818 | #define UART_IFC_RXFULL (0x1UL << 3) /**< Clear RX Buffer Full Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 819 | #define _UART_IFC_RXFULL_SHIFT 3 /**< Shift value for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 820 | #define _UART_IFC_RXFULL_MASK 0x8UL /**< Bit mask for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 821 | #define _UART_IFC_RXFULL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 822 | #define UART_IFC_RXFULL_DEFAULT (_UART_IFC_RXFULL_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 823 | #define UART_IFC_RXOF (0x1UL << 4) /**< Clear RX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 824 | #define _UART_IFC_RXOF_SHIFT 4 /**< Shift value for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 825 | #define _UART_IFC_RXOF_MASK 0x10UL /**< Bit mask for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 826 | #define _UART_IFC_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 827 | #define UART_IFC_RXOF_DEFAULT (_UART_IFC_RXOF_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 828 | #define UART_IFC_RXUF (0x1UL << 5) /**< Clear RX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 829 | #define _UART_IFC_RXUF_SHIFT 5 /**< Shift value for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 830 | #define _UART_IFC_RXUF_MASK 0x20UL /**< Bit mask for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 831 | #define _UART_IFC_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 832 | #define UART_IFC_RXUF_DEFAULT (_UART_IFC_RXUF_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 833 | #define UART_IFC_TXOF (0x1UL << 6) /**< Clear TX Overflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 834 | #define _UART_IFC_TXOF_SHIFT 6 /**< Shift value for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 835 | #define _UART_IFC_TXOF_MASK 0x40UL /**< Bit mask for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 836 | #define _UART_IFC_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 837 | #define UART_IFC_TXOF_DEFAULT (_UART_IFC_TXOF_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 838 | #define UART_IFC_TXUF (0x1UL << 7) /**< Clear TX Underflow Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 839 | #define _UART_IFC_TXUF_SHIFT 7 /**< Shift value for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 840 | #define _UART_IFC_TXUF_MASK 0x80UL /**< Bit mask for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 841 | #define _UART_IFC_TXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 842 | #define UART_IFC_TXUF_DEFAULT (_UART_IFC_TXUF_DEFAULT << 7) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 843 | #define UART_IFC_PERR (0x1UL << 8) /**< Clear Parity Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 844 | #define _UART_IFC_PERR_SHIFT 8 /**< Shift value for USART_PERR */ |
Kojto | 98:8ab26030e058 | 845 | #define _UART_IFC_PERR_MASK 0x100UL /**< Bit mask for USART_PERR */ |
Kojto | 98:8ab26030e058 | 846 | #define _UART_IFC_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 847 | #define UART_IFC_PERR_DEFAULT (_UART_IFC_PERR_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 848 | #define UART_IFC_FERR (0x1UL << 9) /**< Clear Framing Error Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 849 | #define _UART_IFC_FERR_SHIFT 9 /**< Shift value for USART_FERR */ |
Kojto | 98:8ab26030e058 | 850 | #define _UART_IFC_FERR_MASK 0x200UL /**< Bit mask for USART_FERR */ |
Kojto | 98:8ab26030e058 | 851 | #define _UART_IFC_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 852 | #define UART_IFC_FERR_DEFAULT (_UART_IFC_FERR_DEFAULT << 9) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 853 | #define UART_IFC_MPAF (0x1UL << 10) /**< Clear Multi-Processor Address Frame Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 854 | #define _UART_IFC_MPAF_SHIFT 10 /**< Shift value for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 855 | #define _UART_IFC_MPAF_MASK 0x400UL /**< Bit mask for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 856 | #define _UART_IFC_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 857 | #define UART_IFC_MPAF_DEFAULT (_UART_IFC_MPAF_DEFAULT << 10) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 858 | #define UART_IFC_SSM (0x1UL << 11) /**< Clear Slave-Select In Master Mode Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 859 | #define _UART_IFC_SSM_SHIFT 11 /**< Shift value for USART_SSM */ |
Kojto | 98:8ab26030e058 | 860 | #define _UART_IFC_SSM_MASK 0x800UL /**< Bit mask for USART_SSM */ |
Kojto | 98:8ab26030e058 | 861 | #define _UART_IFC_SSM_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 862 | #define UART_IFC_SSM_DEFAULT (_UART_IFC_SSM_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 863 | #define UART_IFC_CCF (0x1UL << 12) /**< Clear Collision Check Fail Interrupt Flag */ |
Kojto | 98:8ab26030e058 | 864 | #define _UART_IFC_CCF_SHIFT 12 /**< Shift value for USART_CCF */ |
Kojto | 98:8ab26030e058 | 865 | #define _UART_IFC_CCF_MASK 0x1000UL /**< Bit mask for USART_CCF */ |
Kojto | 98:8ab26030e058 | 866 | #define _UART_IFC_CCF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 867 | #define UART_IFC_CCF_DEFAULT (_UART_IFC_CCF_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_IFC */ |
Kojto | 98:8ab26030e058 | 868 | |
Kojto | 98:8ab26030e058 | 869 | /* Bit fields for UART IEN */ |
Kojto | 98:8ab26030e058 | 870 | #define _UART_IEN_RESETVALUE 0x00000000UL /**< Default value for UART_IEN */ |
Kojto | 98:8ab26030e058 | 871 | #define _UART_IEN_MASK 0x00001FFFUL /**< Mask for UART_IEN */ |
Kojto | 98:8ab26030e058 | 872 | #define UART_IEN_TXC (0x1UL << 0) /**< TX Complete Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 873 | #define _UART_IEN_TXC_SHIFT 0 /**< Shift value for USART_TXC */ |
Kojto | 98:8ab26030e058 | 874 | #define _UART_IEN_TXC_MASK 0x1UL /**< Bit mask for USART_TXC */ |
Kojto | 98:8ab26030e058 | 875 | #define _UART_IEN_TXC_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 876 | #define UART_IEN_TXC_DEFAULT (_UART_IEN_TXC_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 877 | #define UART_IEN_TXBL (0x1UL << 1) /**< TX Buffer Level Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 878 | #define _UART_IEN_TXBL_SHIFT 1 /**< Shift value for USART_TXBL */ |
Kojto | 98:8ab26030e058 | 879 | #define _UART_IEN_TXBL_MASK 0x2UL /**< Bit mask for USART_TXBL */ |
Kojto | 98:8ab26030e058 | 880 | #define _UART_IEN_TXBL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 881 | #define UART_IEN_TXBL_DEFAULT (_UART_IEN_TXBL_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 882 | #define UART_IEN_RXDATAV (0x1UL << 2) /**< RX Data Valid Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 883 | #define _UART_IEN_RXDATAV_SHIFT 2 /**< Shift value for USART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 884 | #define _UART_IEN_RXDATAV_MASK 0x4UL /**< Bit mask for USART_RXDATAV */ |
Kojto | 98:8ab26030e058 | 885 | #define _UART_IEN_RXDATAV_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 886 | #define UART_IEN_RXDATAV_DEFAULT (_UART_IEN_RXDATAV_DEFAULT << 2) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 887 | #define UART_IEN_RXFULL (0x1UL << 3) /**< RX Buffer Full Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 888 | #define _UART_IEN_RXFULL_SHIFT 3 /**< Shift value for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 889 | #define _UART_IEN_RXFULL_MASK 0x8UL /**< Bit mask for USART_RXFULL */ |
Kojto | 98:8ab26030e058 | 890 | #define _UART_IEN_RXFULL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 891 | #define UART_IEN_RXFULL_DEFAULT (_UART_IEN_RXFULL_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 892 | #define UART_IEN_RXOF (0x1UL << 4) /**< RX Overflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 893 | #define _UART_IEN_RXOF_SHIFT 4 /**< Shift value for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 894 | #define _UART_IEN_RXOF_MASK 0x10UL /**< Bit mask for USART_RXOF */ |
Kojto | 98:8ab26030e058 | 895 | #define _UART_IEN_RXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 896 | #define UART_IEN_RXOF_DEFAULT (_UART_IEN_RXOF_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 897 | #define UART_IEN_RXUF (0x1UL << 5) /**< RX Underflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 898 | #define _UART_IEN_RXUF_SHIFT 5 /**< Shift value for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 899 | #define _UART_IEN_RXUF_MASK 0x20UL /**< Bit mask for USART_RXUF */ |
Kojto | 98:8ab26030e058 | 900 | #define _UART_IEN_RXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 901 | #define UART_IEN_RXUF_DEFAULT (_UART_IEN_RXUF_DEFAULT << 5) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 902 | #define UART_IEN_TXOF (0x1UL << 6) /**< TX Overflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 903 | #define _UART_IEN_TXOF_SHIFT 6 /**< Shift value for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 904 | #define _UART_IEN_TXOF_MASK 0x40UL /**< Bit mask for USART_TXOF */ |
Kojto | 98:8ab26030e058 | 905 | #define _UART_IEN_TXOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 906 | #define UART_IEN_TXOF_DEFAULT (_UART_IEN_TXOF_DEFAULT << 6) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 907 | #define UART_IEN_TXUF (0x1UL << 7) /**< TX Underflow Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 908 | #define _UART_IEN_TXUF_SHIFT 7 /**< Shift value for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 909 | #define _UART_IEN_TXUF_MASK 0x80UL /**< Bit mask for USART_TXUF */ |
Kojto | 98:8ab26030e058 | 910 | #define _UART_IEN_TXUF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 911 | #define UART_IEN_TXUF_DEFAULT (_UART_IEN_TXUF_DEFAULT << 7) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 912 | #define UART_IEN_PERR (0x1UL << 8) /**< Parity Error Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 913 | #define _UART_IEN_PERR_SHIFT 8 /**< Shift value for USART_PERR */ |
Kojto | 98:8ab26030e058 | 914 | #define _UART_IEN_PERR_MASK 0x100UL /**< Bit mask for USART_PERR */ |
Kojto | 98:8ab26030e058 | 915 | #define _UART_IEN_PERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 916 | #define UART_IEN_PERR_DEFAULT (_UART_IEN_PERR_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 917 | #define UART_IEN_FERR (0x1UL << 9) /**< Framing Error Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 918 | #define _UART_IEN_FERR_SHIFT 9 /**< Shift value for USART_FERR */ |
Kojto | 98:8ab26030e058 | 919 | #define _UART_IEN_FERR_MASK 0x200UL /**< Bit mask for USART_FERR */ |
Kojto | 98:8ab26030e058 | 920 | #define _UART_IEN_FERR_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 921 | #define UART_IEN_FERR_DEFAULT (_UART_IEN_FERR_DEFAULT << 9) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 922 | #define UART_IEN_MPAF (0x1UL << 10) /**< Multi-Processor Address Frame Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 923 | #define _UART_IEN_MPAF_SHIFT 10 /**< Shift value for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 924 | #define _UART_IEN_MPAF_MASK 0x400UL /**< Bit mask for USART_MPAF */ |
Kojto | 98:8ab26030e058 | 925 | #define _UART_IEN_MPAF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 926 | #define UART_IEN_MPAF_DEFAULT (_UART_IEN_MPAF_DEFAULT << 10) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 927 | #define UART_IEN_SSM (0x1UL << 11) /**< Slave-Select In Master Mode Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 928 | #define _UART_IEN_SSM_SHIFT 11 /**< Shift value for USART_SSM */ |
Kojto | 98:8ab26030e058 | 929 | #define _UART_IEN_SSM_MASK 0x800UL /**< Bit mask for USART_SSM */ |
Kojto | 98:8ab26030e058 | 930 | #define _UART_IEN_SSM_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 931 | #define UART_IEN_SSM_DEFAULT (_UART_IEN_SSM_DEFAULT << 11) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 932 | #define UART_IEN_CCF (0x1UL << 12) /**< Collision Check Fail Interrupt Enable */ |
Kojto | 98:8ab26030e058 | 933 | #define _UART_IEN_CCF_SHIFT 12 /**< Shift value for USART_CCF */ |
Kojto | 98:8ab26030e058 | 934 | #define _UART_IEN_CCF_MASK 0x1000UL /**< Bit mask for USART_CCF */ |
Kojto | 98:8ab26030e058 | 935 | #define _UART_IEN_CCF_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 936 | #define UART_IEN_CCF_DEFAULT (_UART_IEN_CCF_DEFAULT << 12) /**< Shifted mode DEFAULT for UART_IEN */ |
Kojto | 98:8ab26030e058 | 937 | |
Kojto | 98:8ab26030e058 | 938 | /* Bit fields for UART IRCTRL */ |
Kojto | 98:8ab26030e058 | 939 | #define _UART_IRCTRL_RESETVALUE 0x00000000UL /**< Default value for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 940 | #define _UART_IRCTRL_MASK 0x000000FFUL /**< Mask for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 941 | #define UART_IRCTRL_IREN (0x1UL << 0) /**< Enable IrDA Module */ |
Kojto | 98:8ab26030e058 | 942 | #define _UART_IRCTRL_IREN_SHIFT 0 /**< Shift value for USART_IREN */ |
Kojto | 98:8ab26030e058 | 943 | #define _UART_IRCTRL_IREN_MASK 0x1UL /**< Bit mask for USART_IREN */ |
Kojto | 98:8ab26030e058 | 944 | #define _UART_IRCTRL_IREN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 945 | #define UART_IRCTRL_IREN_DEFAULT (_UART_IRCTRL_IREN_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 946 | #define _UART_IRCTRL_IRPW_SHIFT 1 /**< Shift value for USART_IRPW */ |
Kojto | 98:8ab26030e058 | 947 | #define _UART_IRCTRL_IRPW_MASK 0x6UL /**< Bit mask for USART_IRPW */ |
Kojto | 98:8ab26030e058 | 948 | #define _UART_IRCTRL_IRPW_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 949 | #define _UART_IRCTRL_IRPW_ONE 0x00000000UL /**< Mode ONE for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 950 | #define _UART_IRCTRL_IRPW_TWO 0x00000001UL /**< Mode TWO for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 951 | #define _UART_IRCTRL_IRPW_THREE 0x00000002UL /**< Mode THREE for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 952 | #define _UART_IRCTRL_IRPW_FOUR 0x00000003UL /**< Mode FOUR for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 953 | #define UART_IRCTRL_IRPW_DEFAULT (_UART_IRCTRL_IRPW_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 954 | #define UART_IRCTRL_IRPW_ONE (_UART_IRCTRL_IRPW_ONE << 1) /**< Shifted mode ONE for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 955 | #define UART_IRCTRL_IRPW_TWO (_UART_IRCTRL_IRPW_TWO << 1) /**< Shifted mode TWO for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 956 | #define UART_IRCTRL_IRPW_THREE (_UART_IRCTRL_IRPW_THREE << 1) /**< Shifted mode THREE for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 957 | #define UART_IRCTRL_IRPW_FOUR (_UART_IRCTRL_IRPW_FOUR << 1) /**< Shifted mode FOUR for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 958 | #define UART_IRCTRL_IRFILT (0x1UL << 3) /**< IrDA RX Filter */ |
Kojto | 98:8ab26030e058 | 959 | #define _UART_IRCTRL_IRFILT_SHIFT 3 /**< Shift value for USART_IRFILT */ |
Kojto | 98:8ab26030e058 | 960 | #define _UART_IRCTRL_IRFILT_MASK 0x8UL /**< Bit mask for USART_IRFILT */ |
Kojto | 98:8ab26030e058 | 961 | #define _UART_IRCTRL_IRFILT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 962 | #define UART_IRCTRL_IRFILT_DEFAULT (_UART_IRCTRL_IRFILT_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 963 | #define _UART_IRCTRL_IRPRSSEL_SHIFT 4 /**< Shift value for USART_IRPRSSEL */ |
Kojto | 98:8ab26030e058 | 964 | #define _UART_IRCTRL_IRPRSSEL_MASK 0x70UL /**< Bit mask for USART_IRPRSSEL */ |
Kojto | 98:8ab26030e058 | 965 | #define _UART_IRCTRL_IRPRSSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 966 | #define _UART_IRCTRL_IRPRSSEL_PRSCH0 0x00000000UL /**< Mode PRSCH0 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 967 | #define _UART_IRCTRL_IRPRSSEL_PRSCH1 0x00000001UL /**< Mode PRSCH1 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 968 | #define _UART_IRCTRL_IRPRSSEL_PRSCH2 0x00000002UL /**< Mode PRSCH2 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 969 | #define _UART_IRCTRL_IRPRSSEL_PRSCH3 0x00000003UL /**< Mode PRSCH3 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 970 | #define _UART_IRCTRL_IRPRSSEL_PRSCH4 0x00000004UL /**< Mode PRSCH4 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 971 | #define _UART_IRCTRL_IRPRSSEL_PRSCH5 0x00000005UL /**< Mode PRSCH5 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 972 | #define _UART_IRCTRL_IRPRSSEL_PRSCH6 0x00000006UL /**< Mode PRSCH6 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 973 | #define _UART_IRCTRL_IRPRSSEL_PRSCH7 0x00000007UL /**< Mode PRSCH7 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 974 | #define UART_IRCTRL_IRPRSSEL_DEFAULT (_UART_IRCTRL_IRPRSSEL_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 975 | #define UART_IRCTRL_IRPRSSEL_PRSCH0 (_UART_IRCTRL_IRPRSSEL_PRSCH0 << 4) /**< Shifted mode PRSCH0 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 976 | #define UART_IRCTRL_IRPRSSEL_PRSCH1 (_UART_IRCTRL_IRPRSSEL_PRSCH1 << 4) /**< Shifted mode PRSCH1 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 977 | #define UART_IRCTRL_IRPRSSEL_PRSCH2 (_UART_IRCTRL_IRPRSSEL_PRSCH2 << 4) /**< Shifted mode PRSCH2 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 978 | #define UART_IRCTRL_IRPRSSEL_PRSCH3 (_UART_IRCTRL_IRPRSSEL_PRSCH3 << 4) /**< Shifted mode PRSCH3 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 979 | #define UART_IRCTRL_IRPRSSEL_PRSCH4 (_UART_IRCTRL_IRPRSSEL_PRSCH4 << 4) /**< Shifted mode PRSCH4 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 980 | #define UART_IRCTRL_IRPRSSEL_PRSCH5 (_UART_IRCTRL_IRPRSSEL_PRSCH5 << 4) /**< Shifted mode PRSCH5 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 981 | #define UART_IRCTRL_IRPRSSEL_PRSCH6 (_UART_IRCTRL_IRPRSSEL_PRSCH6 << 4) /**< Shifted mode PRSCH6 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 982 | #define UART_IRCTRL_IRPRSSEL_PRSCH7 (_UART_IRCTRL_IRPRSSEL_PRSCH7 << 4) /**< Shifted mode PRSCH7 for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 983 | #define UART_IRCTRL_IRPRSEN (0x1UL << 7) /**< IrDA PRS Channel Enable */ |
Kojto | 98:8ab26030e058 | 984 | #define _UART_IRCTRL_IRPRSEN_SHIFT 7 /**< Shift value for USART_IRPRSEN */ |
Kojto | 98:8ab26030e058 | 985 | #define _UART_IRCTRL_IRPRSEN_MASK 0x80UL /**< Bit mask for USART_IRPRSEN */ |
Kojto | 98:8ab26030e058 | 986 | #define _UART_IRCTRL_IRPRSEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 987 | #define UART_IRCTRL_IRPRSEN_DEFAULT (_UART_IRCTRL_IRPRSEN_DEFAULT << 7) /**< Shifted mode DEFAULT for UART_IRCTRL */ |
Kojto | 98:8ab26030e058 | 988 | |
Kojto | 98:8ab26030e058 | 989 | /* Bit fields for UART ROUTE */ |
Kojto | 98:8ab26030e058 | 990 | #define _UART_ROUTE_RESETVALUE 0x00000000UL /**< Default value for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 991 | #define _UART_ROUTE_MASK 0x0000070FUL /**< Mask for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 992 | #define UART_ROUTE_RXPEN (0x1UL << 0) /**< RX Pin Enable */ |
Kojto | 98:8ab26030e058 | 993 | #define _UART_ROUTE_RXPEN_SHIFT 0 /**< Shift value for USART_RXPEN */ |
Kojto | 98:8ab26030e058 | 994 | #define _UART_ROUTE_RXPEN_MASK 0x1UL /**< Bit mask for USART_RXPEN */ |
Kojto | 98:8ab26030e058 | 995 | #define _UART_ROUTE_RXPEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 996 | #define UART_ROUTE_RXPEN_DEFAULT (_UART_ROUTE_RXPEN_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 997 | #define UART_ROUTE_TXPEN (0x1UL << 1) /**< TX Pin Enable */ |
Kojto | 98:8ab26030e058 | 998 | #define _UART_ROUTE_TXPEN_SHIFT 1 /**< Shift value for USART_TXPEN */ |
Kojto | 98:8ab26030e058 | 999 | #define _UART_ROUTE_TXPEN_MASK 0x2UL /**< Bit mask for USART_TXPEN */ |
Kojto | 98:8ab26030e058 | 1000 | #define _UART_ROUTE_TXPEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1001 | #define UART_ROUTE_TXPEN_DEFAULT (_UART_ROUTE_TXPEN_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1002 | #define UART_ROUTE_CSPEN (0x1UL << 2) /**< CS Pin Enable */ |
Kojto | 98:8ab26030e058 | 1003 | #define _UART_ROUTE_CSPEN_SHIFT 2 /**< Shift value for USART_CSPEN */ |
Kojto | 98:8ab26030e058 | 1004 | #define _UART_ROUTE_CSPEN_MASK 0x4UL /**< Bit mask for USART_CSPEN */ |
Kojto | 98:8ab26030e058 | 1005 | #define _UART_ROUTE_CSPEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1006 | #define UART_ROUTE_CSPEN_DEFAULT (_UART_ROUTE_CSPEN_DEFAULT << 2) /**< Shifted mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1007 | #define UART_ROUTE_CLKPEN (0x1UL << 3) /**< CLK Pin Enable */ |
Kojto | 98:8ab26030e058 | 1008 | #define _UART_ROUTE_CLKPEN_SHIFT 3 /**< Shift value for USART_CLKPEN */ |
Kojto | 98:8ab26030e058 | 1009 | #define _UART_ROUTE_CLKPEN_MASK 0x8UL /**< Bit mask for USART_CLKPEN */ |
Kojto | 98:8ab26030e058 | 1010 | #define _UART_ROUTE_CLKPEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1011 | #define UART_ROUTE_CLKPEN_DEFAULT (_UART_ROUTE_CLKPEN_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1012 | #define _UART_ROUTE_LOCATION_SHIFT 8 /**< Shift value for USART_LOCATION */ |
Kojto | 98:8ab26030e058 | 1013 | #define _UART_ROUTE_LOCATION_MASK 0x700UL /**< Bit mask for USART_LOCATION */ |
Kojto | 98:8ab26030e058 | 1014 | #define _UART_ROUTE_LOCATION_LOC0 0x00000000UL /**< Mode LOC0 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1015 | #define _UART_ROUTE_LOCATION_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1016 | #define _UART_ROUTE_LOCATION_LOC1 0x00000001UL /**< Mode LOC1 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1017 | #define _UART_ROUTE_LOCATION_LOC2 0x00000002UL /**< Mode LOC2 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1018 | #define _UART_ROUTE_LOCATION_LOC3 0x00000003UL /**< Mode LOC3 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1019 | #define _UART_ROUTE_LOCATION_LOC4 0x00000004UL /**< Mode LOC4 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1020 | #define _UART_ROUTE_LOCATION_LOC5 0x00000005UL /**< Mode LOC5 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1021 | #define UART_ROUTE_LOCATION_LOC0 (_UART_ROUTE_LOCATION_LOC0 << 8) /**< Shifted mode LOC0 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1022 | #define UART_ROUTE_LOCATION_DEFAULT (_UART_ROUTE_LOCATION_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1023 | #define UART_ROUTE_LOCATION_LOC1 (_UART_ROUTE_LOCATION_LOC1 << 8) /**< Shifted mode LOC1 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1024 | #define UART_ROUTE_LOCATION_LOC2 (_UART_ROUTE_LOCATION_LOC2 << 8) /**< Shifted mode LOC2 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1025 | #define UART_ROUTE_LOCATION_LOC3 (_UART_ROUTE_LOCATION_LOC3 << 8) /**< Shifted mode LOC3 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1026 | #define UART_ROUTE_LOCATION_LOC4 (_UART_ROUTE_LOCATION_LOC4 << 8) /**< Shifted mode LOC4 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1027 | #define UART_ROUTE_LOCATION_LOC5 (_UART_ROUTE_LOCATION_LOC5 << 8) /**< Shifted mode LOC5 for UART_ROUTE */ |
Kojto | 98:8ab26030e058 | 1028 | |
Kojto | 98:8ab26030e058 | 1029 | /* Bit fields for UART INPUT */ |
Kojto | 98:8ab26030e058 | 1030 | #define _UART_INPUT_RESETVALUE 0x00000000UL /**< Default value for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1031 | #define _UART_INPUT_MASK 0x0000001FUL /**< Mask for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1032 | #define _UART_INPUT_RXPRSSEL_SHIFT 0 /**< Shift value for USART_RXPRSSEL */ |
Kojto | 98:8ab26030e058 | 1033 | #define _UART_INPUT_RXPRSSEL_MASK 0xFUL /**< Bit mask for USART_RXPRSSEL */ |
Kojto | 98:8ab26030e058 | 1034 | #define _UART_INPUT_RXPRSSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1035 | #define _UART_INPUT_RXPRSSEL_PRSCH0 0x00000000UL /**< Mode PRSCH0 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1036 | #define _UART_INPUT_RXPRSSEL_PRSCH1 0x00000001UL /**< Mode PRSCH1 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1037 | #define _UART_INPUT_RXPRSSEL_PRSCH2 0x00000002UL /**< Mode PRSCH2 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1038 | #define _UART_INPUT_RXPRSSEL_PRSCH3 0x00000003UL /**< Mode PRSCH3 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1039 | #define _UART_INPUT_RXPRSSEL_PRSCH4 0x00000004UL /**< Mode PRSCH4 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1040 | #define _UART_INPUT_RXPRSSEL_PRSCH5 0x00000005UL /**< Mode PRSCH5 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1041 | #define _UART_INPUT_RXPRSSEL_PRSCH6 0x00000006UL /**< Mode PRSCH6 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1042 | #define _UART_INPUT_RXPRSSEL_PRSCH7 0x00000007UL /**< Mode PRSCH7 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1043 | #define _UART_INPUT_RXPRSSEL_PRSCH8 0x00000008UL /**< Mode PRSCH8 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1044 | #define _UART_INPUT_RXPRSSEL_PRSCH9 0x00000009UL /**< Mode PRSCH9 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1045 | #define _UART_INPUT_RXPRSSEL_PRSCH10 0x0000000AUL /**< Mode PRSCH10 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1046 | #define _UART_INPUT_RXPRSSEL_PRSCH11 0x0000000BUL /**< Mode PRSCH11 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1047 | #define UART_INPUT_RXPRSSEL_DEFAULT (_UART_INPUT_RXPRSSEL_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1048 | #define UART_INPUT_RXPRSSEL_PRSCH0 (_UART_INPUT_RXPRSSEL_PRSCH0 << 0) /**< Shifted mode PRSCH0 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1049 | #define UART_INPUT_RXPRSSEL_PRSCH1 (_UART_INPUT_RXPRSSEL_PRSCH1 << 0) /**< Shifted mode PRSCH1 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1050 | #define UART_INPUT_RXPRSSEL_PRSCH2 (_UART_INPUT_RXPRSSEL_PRSCH2 << 0) /**< Shifted mode PRSCH2 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1051 | #define UART_INPUT_RXPRSSEL_PRSCH3 (_UART_INPUT_RXPRSSEL_PRSCH3 << 0) /**< Shifted mode PRSCH3 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1052 | #define UART_INPUT_RXPRSSEL_PRSCH4 (_UART_INPUT_RXPRSSEL_PRSCH4 << 0) /**< Shifted mode PRSCH4 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1053 | #define UART_INPUT_RXPRSSEL_PRSCH5 (_UART_INPUT_RXPRSSEL_PRSCH5 << 0) /**< Shifted mode PRSCH5 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1054 | #define UART_INPUT_RXPRSSEL_PRSCH6 (_UART_INPUT_RXPRSSEL_PRSCH6 << 0) /**< Shifted mode PRSCH6 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1055 | #define UART_INPUT_RXPRSSEL_PRSCH7 (_UART_INPUT_RXPRSSEL_PRSCH7 << 0) /**< Shifted mode PRSCH7 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1056 | #define UART_INPUT_RXPRSSEL_PRSCH8 (_UART_INPUT_RXPRSSEL_PRSCH8 << 0) /**< Shifted mode PRSCH8 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1057 | #define UART_INPUT_RXPRSSEL_PRSCH9 (_UART_INPUT_RXPRSSEL_PRSCH9 << 0) /**< Shifted mode PRSCH9 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1058 | #define UART_INPUT_RXPRSSEL_PRSCH10 (_UART_INPUT_RXPRSSEL_PRSCH10 << 0) /**< Shifted mode PRSCH10 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1059 | #define UART_INPUT_RXPRSSEL_PRSCH11 (_UART_INPUT_RXPRSSEL_PRSCH11 << 0) /**< Shifted mode PRSCH11 for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1060 | #define UART_INPUT_RXPRS (0x1UL << 4) /**< PRS RX Enable */ |
Kojto | 98:8ab26030e058 | 1061 | #define _UART_INPUT_RXPRS_SHIFT 4 /**< Shift value for USART_RXPRS */ |
Kojto | 98:8ab26030e058 | 1062 | #define _UART_INPUT_RXPRS_MASK 0x10UL /**< Bit mask for USART_RXPRS */ |
Kojto | 98:8ab26030e058 | 1063 | #define _UART_INPUT_RXPRS_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1064 | #define UART_INPUT_RXPRS_DEFAULT (_UART_INPUT_RXPRS_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_INPUT */ |
Kojto | 98:8ab26030e058 | 1065 | |
Kojto | 98:8ab26030e058 | 1066 | /* Bit fields for UART I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1067 | #define _UART_I2SCTRL_RESETVALUE 0x00000000UL /**< Default value for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1068 | #define _UART_I2SCTRL_MASK 0x0000071FUL /**< Mask for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1069 | #define UART_I2SCTRL_EN (0x1UL << 0) /**< Enable I2S Mode */ |
Kojto | 98:8ab26030e058 | 1070 | #define _UART_I2SCTRL_EN_SHIFT 0 /**< Shift value for USART_EN */ |
Kojto | 98:8ab26030e058 | 1071 | #define _UART_I2SCTRL_EN_MASK 0x1UL /**< Bit mask for USART_EN */ |
Kojto | 98:8ab26030e058 | 1072 | #define _UART_I2SCTRL_EN_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1073 | #define UART_I2SCTRL_EN_DEFAULT (_UART_I2SCTRL_EN_DEFAULT << 0) /**< Shifted mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1074 | #define UART_I2SCTRL_MONO (0x1UL << 1) /**< Stero or Mono */ |
Kojto | 98:8ab26030e058 | 1075 | #define _UART_I2SCTRL_MONO_SHIFT 1 /**< Shift value for USART_MONO */ |
Kojto | 98:8ab26030e058 | 1076 | #define _UART_I2SCTRL_MONO_MASK 0x2UL /**< Bit mask for USART_MONO */ |
Kojto | 98:8ab26030e058 | 1077 | #define _UART_I2SCTRL_MONO_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1078 | #define UART_I2SCTRL_MONO_DEFAULT (_UART_I2SCTRL_MONO_DEFAULT << 1) /**< Shifted mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1079 | #define UART_I2SCTRL_JUSTIFY (0x1UL << 2) /**< Justification of I2S Data */ |
Kojto | 98:8ab26030e058 | 1080 | #define _UART_I2SCTRL_JUSTIFY_SHIFT 2 /**< Shift value for USART_JUSTIFY */ |
Kojto | 98:8ab26030e058 | 1081 | #define _UART_I2SCTRL_JUSTIFY_MASK 0x4UL /**< Bit mask for USART_JUSTIFY */ |
Kojto | 98:8ab26030e058 | 1082 | #define _UART_I2SCTRL_JUSTIFY_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1083 | #define _UART_I2SCTRL_JUSTIFY_LEFT 0x00000000UL /**< Mode LEFT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1084 | #define _UART_I2SCTRL_JUSTIFY_RIGHT 0x00000001UL /**< Mode RIGHT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1085 | #define UART_I2SCTRL_JUSTIFY_DEFAULT (_UART_I2SCTRL_JUSTIFY_DEFAULT << 2) /**< Shifted mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1086 | #define UART_I2SCTRL_JUSTIFY_LEFT (_UART_I2SCTRL_JUSTIFY_LEFT << 2) /**< Shifted mode LEFT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1087 | #define UART_I2SCTRL_JUSTIFY_RIGHT (_UART_I2SCTRL_JUSTIFY_RIGHT << 2) /**< Shifted mode RIGHT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1088 | #define UART_I2SCTRL_DMASPLIT (0x1UL << 3) /**< Separate DMA Request For Left/Right Data */ |
Kojto | 98:8ab26030e058 | 1089 | #define _UART_I2SCTRL_DMASPLIT_SHIFT 3 /**< Shift value for USART_DMASPLIT */ |
Kojto | 98:8ab26030e058 | 1090 | #define _UART_I2SCTRL_DMASPLIT_MASK 0x8UL /**< Bit mask for USART_DMASPLIT */ |
Kojto | 98:8ab26030e058 | 1091 | #define _UART_I2SCTRL_DMASPLIT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1092 | #define UART_I2SCTRL_DMASPLIT_DEFAULT (_UART_I2SCTRL_DMASPLIT_DEFAULT << 3) /**< Shifted mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1093 | #define UART_I2SCTRL_DELAY (0x1UL << 4) /**< Delay on I2S data */ |
Kojto | 98:8ab26030e058 | 1094 | #define _UART_I2SCTRL_DELAY_SHIFT 4 /**< Shift value for USART_DELAY */ |
Kojto | 98:8ab26030e058 | 1095 | #define _UART_I2SCTRL_DELAY_MASK 0x10UL /**< Bit mask for USART_DELAY */ |
Kojto | 98:8ab26030e058 | 1096 | #define _UART_I2SCTRL_DELAY_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1097 | #define UART_I2SCTRL_DELAY_DEFAULT (_UART_I2SCTRL_DELAY_DEFAULT << 4) /**< Shifted mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1098 | #define _UART_I2SCTRL_FORMAT_SHIFT 8 /**< Shift value for USART_FORMAT */ |
Kojto | 98:8ab26030e058 | 1099 | #define _UART_I2SCTRL_FORMAT_MASK 0x700UL /**< Bit mask for USART_FORMAT */ |
Kojto | 98:8ab26030e058 | 1100 | #define _UART_I2SCTRL_FORMAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1101 | #define _UART_I2SCTRL_FORMAT_W32D32 0x00000000UL /**< Mode W32D32 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1102 | #define _UART_I2SCTRL_FORMAT_W32D24M 0x00000001UL /**< Mode W32D24M for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1103 | #define _UART_I2SCTRL_FORMAT_W32D24 0x00000002UL /**< Mode W32D24 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1104 | #define _UART_I2SCTRL_FORMAT_W32D16 0x00000003UL /**< Mode W32D16 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1105 | #define _UART_I2SCTRL_FORMAT_W32D8 0x00000004UL /**< Mode W32D8 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1106 | #define _UART_I2SCTRL_FORMAT_W16D16 0x00000005UL /**< Mode W16D16 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1107 | #define _UART_I2SCTRL_FORMAT_W16D8 0x00000006UL /**< Mode W16D8 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1108 | #define _UART_I2SCTRL_FORMAT_W8D8 0x00000007UL /**< Mode W8D8 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1109 | #define UART_I2SCTRL_FORMAT_DEFAULT (_UART_I2SCTRL_FORMAT_DEFAULT << 8) /**< Shifted mode DEFAULT for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1110 | #define UART_I2SCTRL_FORMAT_W32D32 (_UART_I2SCTRL_FORMAT_W32D32 << 8) /**< Shifted mode W32D32 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1111 | #define UART_I2SCTRL_FORMAT_W32D24M (_UART_I2SCTRL_FORMAT_W32D24M << 8) /**< Shifted mode W32D24M for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1112 | #define UART_I2SCTRL_FORMAT_W32D24 (_UART_I2SCTRL_FORMAT_W32D24 << 8) /**< Shifted mode W32D24 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1113 | #define UART_I2SCTRL_FORMAT_W32D16 (_UART_I2SCTRL_FORMAT_W32D16 << 8) /**< Shifted mode W32D16 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1114 | #define UART_I2SCTRL_FORMAT_W32D8 (_UART_I2SCTRL_FORMAT_W32D8 << 8) /**< Shifted mode W32D8 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1115 | #define UART_I2SCTRL_FORMAT_W16D16 (_UART_I2SCTRL_FORMAT_W16D16 << 8) /**< Shifted mode W16D16 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1116 | #define UART_I2SCTRL_FORMAT_W16D8 (_UART_I2SCTRL_FORMAT_W16D8 << 8) /**< Shifted mode W16D8 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1117 | #define UART_I2SCTRL_FORMAT_W8D8 (_UART_I2SCTRL_FORMAT_W8D8 << 8) /**< Shifted mode W8D8 for UART_I2SCTRL */ |
Kojto | 98:8ab26030e058 | 1118 | |
Kojto | 98:8ab26030e058 | 1119 | /** @} End of group EFM32GG_UART */ |
Kojto | 113:f141b2784e32 | 1120 | /** @} End of group Parts */ |
Kojto | 98:8ab26030e058 | 1121 |