1*5fd0122aSMatthias Ringwald /****************************************************************************** 2*5fd0122aSMatthias Ringwald * 3*5fd0122aSMatthias Ringwald * Copyright (C) 2012 - 2018 Texas Instruments Incorporated - http://www.ti.com/ 4*5fd0122aSMatthias Ringwald * 5*5fd0122aSMatthias Ringwald * Redistribution and use in source and binary forms, with or without 6*5fd0122aSMatthias Ringwald * modification, are permitted provided that the following conditions 7*5fd0122aSMatthias Ringwald * are met: 8*5fd0122aSMatthias Ringwald * 9*5fd0122aSMatthias Ringwald * Redistributions of source code must retain the above copyright 10*5fd0122aSMatthias Ringwald * notice, this list of conditions and the following disclaimer. 11*5fd0122aSMatthias Ringwald * 12*5fd0122aSMatthias Ringwald * Redistributions in binary form must reproduce the above copyright 13*5fd0122aSMatthias Ringwald * notice, this list of conditions and the following disclaimer in the 14*5fd0122aSMatthias Ringwald * documentation and/or other materials provided with the 15*5fd0122aSMatthias Ringwald * distribution. 16*5fd0122aSMatthias Ringwald * 17*5fd0122aSMatthias Ringwald * Neither the name of Texas Instruments Incorporated nor the names of 18*5fd0122aSMatthias Ringwald * its contributors may be used to endorse or promote products derived 19*5fd0122aSMatthias Ringwald * from this software without specific prior written permission. 20*5fd0122aSMatthias Ringwald * 21*5fd0122aSMatthias Ringwald * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22*5fd0122aSMatthias Ringwald * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23*5fd0122aSMatthias Ringwald * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24*5fd0122aSMatthias Ringwald * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25*5fd0122aSMatthias Ringwald * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26*5fd0122aSMatthias Ringwald * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27*5fd0122aSMatthias Ringwald * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28*5fd0122aSMatthias Ringwald * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29*5fd0122aSMatthias Ringwald * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30*5fd0122aSMatthias Ringwald * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31*5fd0122aSMatthias Ringwald * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32*5fd0122aSMatthias Ringwald * 33*5fd0122aSMatthias Ringwald * MSP432P401R Register Definitions 34*5fd0122aSMatthias Ringwald * 35*5fd0122aSMatthias Ringwald * This file includes CMSIS compliant component and register definitions 36*5fd0122aSMatthias Ringwald * 37*5fd0122aSMatthias Ringwald * For legacy components the definitions that are compatible with MSP430 code, 38*5fd0122aSMatthias Ringwald * are included with msp432p401r_classic.h 39*5fd0122aSMatthias Ringwald * 40*5fd0122aSMatthias Ringwald * With CMSIS definitions, the register defines have been reformatted: 41*5fd0122aSMatthias Ringwald * ModuleName[ModuleInstance]->RegisterName 42*5fd0122aSMatthias Ringwald * 43*5fd0122aSMatthias Ringwald * Writing to CMSIS bit fields can be done through register level 44*5fd0122aSMatthias Ringwald * or via bitband area access: 45*5fd0122aSMatthias Ringwald * - ADC14->CTL0 |= ADC14_CTL0_ENC; 46*5fd0122aSMatthias Ringwald * - BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_ENC_OFS) = 1; 47*5fd0122aSMatthias Ringwald * 48*5fd0122aSMatthias Ringwald * File creation date: 2018-01-26 49*5fd0122aSMatthias Ringwald * 50*5fd0122aSMatthias Ringwald ******************************************************************************/ 51*5fd0122aSMatthias Ringwald 52*5fd0122aSMatthias Ringwald #ifndef __MSP432P401R_H__ 53*5fd0122aSMatthias Ringwald #define __MSP432P401R_H__ 54*5fd0122aSMatthias Ringwald 55*5fd0122aSMatthias Ringwald /* Use standard integer types with explicit width */ 56*5fd0122aSMatthias Ringwald #include <stdint.h> 57*5fd0122aSMatthias Ringwald 58*5fd0122aSMatthias Ringwald #ifdef __cplusplus 59*5fd0122aSMatthias Ringwald extern "C" { 60*5fd0122aSMatthias Ringwald #endif 61*5fd0122aSMatthias Ringwald 62*5fd0122aSMatthias Ringwald #define __MSP432_HEADER_VERSION__ 3231 63*5fd0122aSMatthias Ringwald 64*5fd0122aSMatthias Ringwald /* Remap MSP432 intrinsics to ARM equivalents */ 65*5fd0122aSMatthias Ringwald #include "msp_compatibility.h" 66*5fd0122aSMatthias Ringwald 67*5fd0122aSMatthias Ringwald /****************************************************************************** 68*5fd0122aSMatthias Ringwald * include MSP430 legacy definitions to make porting of code from MSP430 * 69*5fd0122aSMatthias Ringwald * code base easier * 70*5fd0122aSMatthias Ringwald * With fully CMSIS compliant code, NO_MSP_CLASSIC_DEFINES may be defined in * 71*5fd0122aSMatthias Ringwald * your project to omit including the classic defines * 72*5fd0122aSMatthias Ringwald ******************************************************************************/ 73*5fd0122aSMatthias Ringwald #ifndef NO_MSP_CLASSIC_DEFINES 74*5fd0122aSMatthias Ringwald #include "msp432p401r_classic.h" 75*5fd0122aSMatthias Ringwald #endif 76*5fd0122aSMatthias Ringwald 77*5fd0122aSMatthias Ringwald 78*5fd0122aSMatthias Ringwald #ifndef __CMSIS_CONFIG__ 79*5fd0122aSMatthias Ringwald #define __CMSIS_CONFIG__ 80*5fd0122aSMatthias Ringwald 81*5fd0122aSMatthias Ringwald /** @addtogroup MSP432P401R_Definitions MSP432P401R Definitions 82*5fd0122aSMatthias Ringwald This file defines all structures and symbols for MSP432P401R: 83*5fd0122aSMatthias Ringwald - components and registers 84*5fd0122aSMatthias Ringwald - peripheral base address 85*5fd0122aSMatthias Ringwald - peripheral ID 86*5fd0122aSMatthias Ringwald - Peripheral definitions 87*5fd0122aSMatthias Ringwald @{ 88*5fd0122aSMatthias Ringwald */ 89*5fd0122aSMatthias Ringwald 90*5fd0122aSMatthias Ringwald /****************************************************************************** 91*5fd0122aSMatthias Ringwald * Processor and Core Peripherals * 92*5fd0122aSMatthias Ringwald ******************************************************************************/ 93*5fd0122aSMatthias Ringwald /** @addtogroup MSP432P401R_CMSIS Device CMSIS Definitions 94*5fd0122aSMatthias Ringwald Configuration of the Cortex-M4 Processor and Core Peripherals 95*5fd0122aSMatthias Ringwald @{ 96*5fd0122aSMatthias Ringwald */ 97*5fd0122aSMatthias Ringwald 98*5fd0122aSMatthias Ringwald /****************************************************************************** 99*5fd0122aSMatthias Ringwald * CMSIS-compatible Interrupt Number Definition * 100*5fd0122aSMatthias Ringwald ******************************************************************************/ 101*5fd0122aSMatthias Ringwald typedef enum IRQn 102*5fd0122aSMatthias Ringwald { 103*5fd0122aSMatthias Ringwald /* Cortex-M4 Processor Exceptions Numbers */ 104*5fd0122aSMatthias Ringwald NonMaskableInt_IRQn = -14, /* 2 Non Maskable Interrupt */ 105*5fd0122aSMatthias Ringwald HardFault_IRQn = -13, /* 3 Hard Fault Interrupt */ 106*5fd0122aSMatthias Ringwald MemoryManagement_IRQn = -12, /* 4 Memory Management Interrupt */ 107*5fd0122aSMatthias Ringwald BusFault_IRQn = -11, /* 5 Bus Fault Interrupt */ 108*5fd0122aSMatthias Ringwald UsageFault_IRQn = -10, /* 6 Usage Fault Interrupt */ 109*5fd0122aSMatthias Ringwald SVCall_IRQn = -5, /* 11 SV Call Interrupt */ 110*5fd0122aSMatthias Ringwald DebugMonitor_IRQn = -4, /* 12 Debug Monitor Interrupt */ 111*5fd0122aSMatthias Ringwald PendSV_IRQn = -2, /* 14 Pend SV Interrupt */ 112*5fd0122aSMatthias Ringwald SysTick_IRQn = -1, /* 15 System Tick Interrupt */ 113*5fd0122aSMatthias Ringwald /* Peripheral Exceptions Numbers */ 114*5fd0122aSMatthias Ringwald PSS_IRQn = 0, /* 16 PSS Interrupt */ 115*5fd0122aSMatthias Ringwald CS_IRQn = 1, /* 17 CS Interrupt */ 116*5fd0122aSMatthias Ringwald PCM_IRQn = 2, /* 18 PCM Interrupt */ 117*5fd0122aSMatthias Ringwald WDT_A_IRQn = 3, /* 19 WDT_A Interrupt */ 118*5fd0122aSMatthias Ringwald FPU_IRQn = 4, /* 20 FPU Interrupt */ 119*5fd0122aSMatthias Ringwald FLCTL_IRQn = 5, /* 21 Flash Controller Interrupt*/ 120*5fd0122aSMatthias Ringwald COMP_E0_IRQn = 6, /* 22 COMP_E0 Interrupt */ 121*5fd0122aSMatthias Ringwald COMP_E1_IRQn = 7, /* 23 COMP_E1 Interrupt */ 122*5fd0122aSMatthias Ringwald TA0_0_IRQn = 8, /* 24 TA0_0 Interrupt */ 123*5fd0122aSMatthias Ringwald TA0_N_IRQn = 9, /* 25 TA0_N Interrupt */ 124*5fd0122aSMatthias Ringwald TA1_0_IRQn = 10, /* 26 TA1_0 Interrupt */ 125*5fd0122aSMatthias Ringwald TA1_N_IRQn = 11, /* 27 TA1_N Interrupt */ 126*5fd0122aSMatthias Ringwald TA2_0_IRQn = 12, /* 28 TA2_0 Interrupt */ 127*5fd0122aSMatthias Ringwald TA2_N_IRQn = 13, /* 29 TA2_N Interrupt */ 128*5fd0122aSMatthias Ringwald TA3_0_IRQn = 14, /* 30 TA3_0 Interrupt */ 129*5fd0122aSMatthias Ringwald TA3_N_IRQn = 15, /* 31 TA3_N Interrupt */ 130*5fd0122aSMatthias Ringwald EUSCIA0_IRQn = 16, /* 32 EUSCIA0 Interrupt */ 131*5fd0122aSMatthias Ringwald EUSCIA1_IRQn = 17, /* 33 EUSCIA1 Interrupt */ 132*5fd0122aSMatthias Ringwald EUSCIA2_IRQn = 18, /* 34 EUSCIA2 Interrupt */ 133*5fd0122aSMatthias Ringwald EUSCIA3_IRQn = 19, /* 35 EUSCIA3 Interrupt */ 134*5fd0122aSMatthias Ringwald EUSCIB0_IRQn = 20, /* 36 EUSCIB0 Interrupt */ 135*5fd0122aSMatthias Ringwald EUSCIB1_IRQn = 21, /* 37 EUSCIB1 Interrupt */ 136*5fd0122aSMatthias Ringwald EUSCIB2_IRQn = 22, /* 38 EUSCIB2 Interrupt */ 137*5fd0122aSMatthias Ringwald EUSCIB3_IRQn = 23, /* 39 EUSCIB3 Interrupt */ 138*5fd0122aSMatthias Ringwald ADC14_IRQn = 24, /* 40 ADC14 Interrupt */ 139*5fd0122aSMatthias Ringwald T32_INT1_IRQn = 25, /* 41 T32_INT1 Interrupt */ 140*5fd0122aSMatthias Ringwald T32_INT2_IRQn = 26, /* 42 T32_INT2 Interrupt */ 141*5fd0122aSMatthias Ringwald T32_INTC_IRQn = 27, /* 43 T32_INTC Interrupt */ 142*5fd0122aSMatthias Ringwald AES256_IRQn = 28, /* 44 AES256 Interrupt */ 143*5fd0122aSMatthias Ringwald RTC_C_IRQn = 29, /* 45 RTC_C Interrupt */ 144*5fd0122aSMatthias Ringwald DMA_ERR_IRQn = 30, /* 46 DMA_ERR Interrupt */ 145*5fd0122aSMatthias Ringwald DMA_INT3_IRQn = 31, /* 47 DMA_INT3 Interrupt */ 146*5fd0122aSMatthias Ringwald DMA_INT2_IRQn = 32, /* 48 DMA_INT2 Interrupt */ 147*5fd0122aSMatthias Ringwald DMA_INT1_IRQn = 33, /* 49 DMA_INT1 Interrupt */ 148*5fd0122aSMatthias Ringwald DMA_INT0_IRQn = 34, /* 50 DMA_INT0 Interrupt */ 149*5fd0122aSMatthias Ringwald PORT1_IRQn = 35, /* 51 Port1 Interrupt */ 150*5fd0122aSMatthias Ringwald PORT2_IRQn = 36, /* 52 Port2 Interrupt */ 151*5fd0122aSMatthias Ringwald PORT3_IRQn = 37, /* 53 Port3 Interrupt */ 152*5fd0122aSMatthias Ringwald PORT4_IRQn = 38, /* 54 Port4 Interrupt */ 153*5fd0122aSMatthias Ringwald PORT5_IRQn = 39, /* 55 Port5 Interrupt */ 154*5fd0122aSMatthias Ringwald PORT6_IRQn = 40 /* 56 Port6 Interrupt */ 155*5fd0122aSMatthias Ringwald } IRQn_Type; 156*5fd0122aSMatthias Ringwald 157*5fd0122aSMatthias Ringwald /****************************************************************************** 158*5fd0122aSMatthias Ringwald * Processor and Core Peripheral Section * 159*5fd0122aSMatthias Ringwald ******************************************************************************/ 160*5fd0122aSMatthias Ringwald #define __CM4_REV 0x0001 /* Core revision r0p1 */ 161*5fd0122aSMatthias Ringwald #define __MPU_PRESENT 1 /* MPU present or not */ 162*5fd0122aSMatthias Ringwald #define __NVIC_PRIO_BITS 3 /* Number of Bits used for Prio Levels */ 163*5fd0122aSMatthias Ringwald #define __Vendor_SysTickConfig 0 /* Set to 1 if different SysTick Config is used */ 164*5fd0122aSMatthias Ringwald #define __FPU_PRESENT 1 /* FPU present or not */ 165*5fd0122aSMatthias Ringwald 166*5fd0122aSMatthias Ringwald /****************************************************************************** 167*5fd0122aSMatthias Ringwald * Available Peripherals * 168*5fd0122aSMatthias Ringwald ******************************************************************************/ 169*5fd0122aSMatthias Ringwald #define __MCU_HAS_ADC14__ /*!< Module ADC14 is available */ 170*5fd0122aSMatthias Ringwald #define __MCU_HAS_AES256__ /*!< Module AES256 is available */ 171*5fd0122aSMatthias Ringwald #define __MCU_HAS_CAPTIO0__ /*!< Module CAPTIO0 is available */ 172*5fd0122aSMatthias Ringwald #define __MCU_HAS_CAPTIO1__ /*!< Module CAPTIO1 is available */ 173*5fd0122aSMatthias Ringwald #define __MCU_HAS_COMP_E0__ /*!< Module COMP_E0 is available */ 174*5fd0122aSMatthias Ringwald #define __MCU_HAS_COMP_E1__ /*!< Module COMP_E1 is available */ 175*5fd0122aSMatthias Ringwald #define __MCU_HAS_CRC32__ /*!< Module CRC32 is available */ 176*5fd0122aSMatthias Ringwald #define __MCU_HAS_CS__ /*!< Module CS is available */ 177*5fd0122aSMatthias Ringwald #define __MCU_HAS_DIO__ /*!< Module DIO is available */ 178*5fd0122aSMatthias Ringwald #define __MCU_HAS_DMA__ /*!< Module DMA is available */ 179*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_A0__ /*!< Module EUSCI_A0 is available */ 180*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_A1__ /*!< Module EUSCI_A1 is available */ 181*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_A2__ /*!< Module EUSCI_A2 is available */ 182*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_A3__ /*!< Module EUSCI_A3 is available */ 183*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_B0__ /*!< Module EUSCI_B0 is available */ 184*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_B1__ /*!< Module EUSCI_B1 is available */ 185*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_B2__ /*!< Module EUSCI_B2 is available */ 186*5fd0122aSMatthias Ringwald #define __MCU_HAS_EUSCI_B3__ /*!< Module EUSCI_B3 is available */ 187*5fd0122aSMatthias Ringwald #define __MCU_HAS_FLCTL__ /*!< Module FLCTL is available */ 188*5fd0122aSMatthias Ringwald #define __MCU_HAS_FL_BOOTOVER_MAILBOX__ /*!< Module FL_BOOTOVER_MAILBOX is available */ 189*5fd0122aSMatthias Ringwald #define __MCU_HAS_PCM__ /*!< Module PCM is available */ 190*5fd0122aSMatthias Ringwald #define __MCU_HAS_PMAP__ /*!< Module PMAP is available */ 191*5fd0122aSMatthias Ringwald #define __MCU_HAS_PSS__ /*!< Module PSS is available */ 192*5fd0122aSMatthias Ringwald #define __MCU_HAS_REF_A__ /*!< Module REF_A is available */ 193*5fd0122aSMatthias Ringwald #define __MCU_HAS_RSTCTL__ /*!< Module RSTCTL is available */ 194*5fd0122aSMatthias Ringwald #define __MCU_HAS_RTC_C__ /*!< Module RTC_C is available */ 195*5fd0122aSMatthias Ringwald #define __MCU_HAS_SYSCTL__ /*!< Module SYSCTL is available */ 196*5fd0122aSMatthias Ringwald #define __MCU_HAS_TIMER32__ /*!< Module TIMER32 is available */ 197*5fd0122aSMatthias Ringwald #define __MCU_HAS_TIMER_A0__ /*!< Module TIMER_A0 is available */ 198*5fd0122aSMatthias Ringwald #define __MCU_HAS_TIMER_A1__ /*!< Module TIMER_A1 is available */ 199*5fd0122aSMatthias Ringwald #define __MCU_HAS_TIMER_A2__ /*!< Module TIMER_A2 is available */ 200*5fd0122aSMatthias Ringwald #define __MCU_HAS_TIMER_A3__ /*!< Module TIMER_A3 is available */ 201*5fd0122aSMatthias Ringwald #define __MCU_HAS_TLV__ /*!< Module TLV is available */ 202*5fd0122aSMatthias Ringwald #define __MCU_HAS_WDT_A__ /*!< Module WDT_A is available */ 203*5fd0122aSMatthias Ringwald 204*5fd0122aSMatthias Ringwald /* Definitions to show that specific ports are available */ 205*5fd0122aSMatthias Ringwald 206*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORTA_R__ 207*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORTB_R__ 208*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORTC_R__ 209*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORTD_R__ 210*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORTE_R__ 211*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORTJ_R__ 212*5fd0122aSMatthias Ringwald 213*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT1_R__ 214*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT2_R__ 215*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT3_R__ 216*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT4_R__ 217*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT5_R__ 218*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT6_R__ 219*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT7_R__ 220*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT8_R__ 221*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT9_R__ 222*5fd0122aSMatthias Ringwald #define __MSP432_HAS_PORT10_R__ 223*5fd0122aSMatthias Ringwald 224*5fd0122aSMatthias Ringwald 225*5fd0122aSMatthias Ringwald /*@}*/ /* end of group MSP432P401R_CMSIS */ 226*5fd0122aSMatthias Ringwald 227*5fd0122aSMatthias Ringwald /* Include CMSIS Cortex-M4 Core Peripheral Access Layer Header File */ 228*5fd0122aSMatthias Ringwald #ifdef __TI_ARM__ 229*5fd0122aSMatthias Ringwald /* disable the TI ULP advisor check for the core header file definitions */ 230*5fd0122aSMatthias Ringwald #pragma diag_push 231*5fd0122aSMatthias Ringwald #pragma CHECK_ULP("none") 232*5fd0122aSMatthias Ringwald #include "core_cm4.h" 233*5fd0122aSMatthias Ringwald #pragma diag_pop 234*5fd0122aSMatthias Ringwald #else 235*5fd0122aSMatthias Ringwald #include "core_cm4.h" 236*5fd0122aSMatthias Ringwald #endif 237*5fd0122aSMatthias Ringwald 238*5fd0122aSMatthias Ringwald /* System Header */ 239*5fd0122aSMatthias Ringwald #include "system_msp432p401r.h" 240*5fd0122aSMatthias Ringwald 241*5fd0122aSMatthias Ringwald /****************************************************************************** 242*5fd0122aSMatthias Ringwald * Definition of standard bits * 243*5fd0122aSMatthias Ringwald ******************************************************************************/ 244*5fd0122aSMatthias Ringwald #define BIT0 (uint16_t)(0x0001) 245*5fd0122aSMatthias Ringwald #define BIT1 (uint16_t)(0x0002) 246*5fd0122aSMatthias Ringwald #define BIT2 (uint16_t)(0x0004) 247*5fd0122aSMatthias Ringwald #define BIT3 (uint16_t)(0x0008) 248*5fd0122aSMatthias Ringwald #define BIT4 (uint16_t)(0x0010) 249*5fd0122aSMatthias Ringwald #define BIT5 (uint16_t)(0x0020) 250*5fd0122aSMatthias Ringwald #define BIT6 (uint16_t)(0x0040) 251*5fd0122aSMatthias Ringwald #define BIT7 (uint16_t)(0x0080) 252*5fd0122aSMatthias Ringwald #define BIT8 (uint16_t)(0x0100) 253*5fd0122aSMatthias Ringwald #define BIT9 (uint16_t)(0x0200) 254*5fd0122aSMatthias Ringwald #define BITA (uint16_t)(0x0400) 255*5fd0122aSMatthias Ringwald #define BITB (uint16_t)(0x0800) 256*5fd0122aSMatthias Ringwald #define BITC (uint16_t)(0x1000) 257*5fd0122aSMatthias Ringwald #define BITD (uint16_t)(0x2000) 258*5fd0122aSMatthias Ringwald #define BITE (uint16_t)(0x4000) 259*5fd0122aSMatthias Ringwald #define BITF (uint16_t)(0x8000) 260*5fd0122aSMatthias Ringwald #define BIT(x) ((uint16_t)1 << (x)) 261*5fd0122aSMatthias Ringwald 262*5fd0122aSMatthias Ringwald /****************************************************************************** 263*5fd0122aSMatthias Ringwald * Device and peripheral memory map * 264*5fd0122aSMatthias Ringwald ******************************************************************************/ 265*5fd0122aSMatthias Ringwald /** @addtogroup MSP432P401R_MemoryMap MSP432P401R Memory Mapping 266*5fd0122aSMatthias Ringwald @{ 267*5fd0122aSMatthias Ringwald */ 268*5fd0122aSMatthias Ringwald 269*5fd0122aSMatthias Ringwald #define FLASH_BASE ((uint32_t)0x00000000) /*!< Main Flash memory start address */ 270*5fd0122aSMatthias Ringwald #define SRAM_BASE ((uint32_t)0x20000000) /*!< SRAM memory start address */ 271*5fd0122aSMatthias Ringwald #define PERIPH_BASE ((uint32_t)0x40000000) /*!< Peripherals start address */ 272*5fd0122aSMatthias Ringwald #define PERIPH_BASE2 ((uint32_t)0xE0000000) /*!< Peripherals start address */ 273*5fd0122aSMatthias Ringwald 274*5fd0122aSMatthias Ringwald #define ADC14_BASE (PERIPH_BASE +0x00012000) /*!< Base address of module ADC14 registers */ 275*5fd0122aSMatthias Ringwald #define AES256_BASE (PERIPH_BASE +0x00003C00) /*!< Base address of module AES256 registers */ 276*5fd0122aSMatthias Ringwald #define CAPTIO0_BASE (PERIPH_BASE +0x00005400) /*!< Base address of module CAPTIO0 registers */ 277*5fd0122aSMatthias Ringwald #define CAPTIO1_BASE (PERIPH_BASE +0x00005800) /*!< Base address of module CAPTIO1 registers */ 278*5fd0122aSMatthias Ringwald #define COMP_E0_BASE (PERIPH_BASE +0x00003400) /*!< Base address of module COMP_E0 registers */ 279*5fd0122aSMatthias Ringwald #define COMP_E1_BASE (PERIPH_BASE +0x00003800) /*!< Base address of module COMP_E1 registers */ 280*5fd0122aSMatthias Ringwald #define CRC32_BASE (PERIPH_BASE +0x00004000) /*!< Base address of module CRC32 registers */ 281*5fd0122aSMatthias Ringwald #define CS_BASE (PERIPH_BASE +0x00010400) /*!< Base address of module CS registers */ 282*5fd0122aSMatthias Ringwald #define DIO_BASE (PERIPH_BASE +0x00004C00) /*!< Base address of module DIO registers */ 283*5fd0122aSMatthias Ringwald #define DMA_BASE (PERIPH_BASE +0x0000E000) /*!< Base address of module DMA registers */ 284*5fd0122aSMatthias Ringwald #define EUSCI_A0_BASE (PERIPH_BASE +0x00001000) /*!< Base address of module EUSCI_A0 registers */ 285*5fd0122aSMatthias Ringwald #define EUSCI_A0_SPI_BASE (PERIPH_BASE +0x00001000) /*!< Base address of module EUSCI_A0 registers */ 286*5fd0122aSMatthias Ringwald #define EUSCI_A1_BASE (PERIPH_BASE +0x00001400) /*!< Base address of module EUSCI_A1 registers */ 287*5fd0122aSMatthias Ringwald #define EUSCI_A1_SPI_BASE (PERIPH_BASE +0x00001400) /*!< Base address of module EUSCI_A1 registers */ 288*5fd0122aSMatthias Ringwald #define EUSCI_A2_BASE (PERIPH_BASE +0x00001800) /*!< Base address of module EUSCI_A2 registers */ 289*5fd0122aSMatthias Ringwald #define EUSCI_A2_SPI_BASE (PERIPH_BASE +0x00001800) /*!< Base address of module EUSCI_A2 registers */ 290*5fd0122aSMatthias Ringwald #define EUSCI_A3_BASE (PERIPH_BASE +0x00001C00) /*!< Base address of module EUSCI_A3 registers */ 291*5fd0122aSMatthias Ringwald #define EUSCI_A3_SPI_BASE (PERIPH_BASE +0x00001C00) /*!< Base address of module EUSCI_A3 registers */ 292*5fd0122aSMatthias Ringwald #define EUSCI_B0_BASE (PERIPH_BASE +0x00002000) /*!< Base address of module EUSCI_B0 registers */ 293*5fd0122aSMatthias Ringwald #define EUSCI_B0_SPI_BASE (PERIPH_BASE +0x00002000) /*!< Base address of module EUSCI_B0 registers */ 294*5fd0122aSMatthias Ringwald #define EUSCI_B1_BASE (PERIPH_BASE +0x00002400) /*!< Base address of module EUSCI_B1 registers */ 295*5fd0122aSMatthias Ringwald #define EUSCI_B1_SPI_BASE (PERIPH_BASE +0x00002400) /*!< Base address of module EUSCI_B1 registers */ 296*5fd0122aSMatthias Ringwald #define EUSCI_B2_BASE (PERIPH_BASE +0x00002800) /*!< Base address of module EUSCI_B2 registers */ 297*5fd0122aSMatthias Ringwald #define EUSCI_B2_SPI_BASE (PERIPH_BASE +0x00002800) /*!< Base address of module EUSCI_B2 registers */ 298*5fd0122aSMatthias Ringwald #define EUSCI_B3_BASE (PERIPH_BASE +0x00002C00) /*!< Base address of module EUSCI_B3 registers */ 299*5fd0122aSMatthias Ringwald #define EUSCI_B3_SPI_BASE (PERIPH_BASE +0x00002C00) /*!< Base address of module EUSCI_B3 registers */ 300*5fd0122aSMatthias Ringwald #define FLCTL_BASE (PERIPH_BASE +0x00011000) /*!< Base address of module FLCTL registers */ 301*5fd0122aSMatthias Ringwald #define FL_BOOTOVER_MAILBOX_BASE ((uint32_t)0x00200000) /*!< Base address of module FL_BOOTOVER_MAILBOX registers */ 302*5fd0122aSMatthias Ringwald #define PCM_BASE (PERIPH_BASE +0x00010000) /*!< Base address of module PCM registers */ 303*5fd0122aSMatthias Ringwald #define PMAP_BASE (PERIPH_BASE +0x00005000) /*!< Base address of module PMAP registers */ 304*5fd0122aSMatthias Ringwald #define PSS_BASE (PERIPH_BASE +0x00010800) /*!< Base address of module PSS registers */ 305*5fd0122aSMatthias Ringwald #define REF_A_BASE (PERIPH_BASE +0x00003000) /*!< Base address of module REF_A registers */ 306*5fd0122aSMatthias Ringwald #define RSTCTL_BASE (PERIPH_BASE2+0x00042000) /*!< Base address of module RSTCTL registers */ 307*5fd0122aSMatthias Ringwald #define RTC_C_BASE (PERIPH_BASE +0x00004400) /*!< Base address of module RTC_C registers */ 308*5fd0122aSMatthias Ringwald #define RTC_C_BCD_BASE (PERIPH_BASE +0x00004400) /*!< Base address of module RTC_C registers */ 309*5fd0122aSMatthias Ringwald #define SYSCTL_BASE (PERIPH_BASE2+0x00043000) /*!< Base address of module SYSCTL registers */ 310*5fd0122aSMatthias Ringwald #define TIMER32_BASE (PERIPH_BASE +0x0000C000) /*!< Base address of module TIMER32 registers */ 311*5fd0122aSMatthias Ringwald #define TIMER_A0_BASE (PERIPH_BASE +0x00000000) /*!< Base address of module TIMER_A0 registers */ 312*5fd0122aSMatthias Ringwald #define TIMER_A1_BASE (PERIPH_BASE +0x00000400) /*!< Base address of module TIMER_A1 registers */ 313*5fd0122aSMatthias Ringwald #define TIMER_A2_BASE (PERIPH_BASE +0x00000800) /*!< Base address of module TIMER_A2 registers */ 314*5fd0122aSMatthias Ringwald #define TIMER_A3_BASE (PERIPH_BASE +0x00000C00) /*!< Base address of module TIMER_A3 registers */ 315*5fd0122aSMatthias Ringwald #define TLV_BASE ((uint32_t)0x00201000) /*!< Base address of module TLV registers */ 316*5fd0122aSMatthias Ringwald #define WDT_A_BASE (PERIPH_BASE +0x00004800) /*!< Base address of module WDT_A registers */ 317*5fd0122aSMatthias Ringwald 318*5fd0122aSMatthias Ringwald 319*5fd0122aSMatthias Ringwald /*@}*/ /* end of group MSP432P401R_MemoryMap */ 320*5fd0122aSMatthias Ringwald 321*5fd0122aSMatthias Ringwald /****************************************************************************** 322*5fd0122aSMatthias Ringwald * Definitions for bit band access * 323*5fd0122aSMatthias Ringwald ******************************************************************************/ 324*5fd0122aSMatthias Ringwald #define BITBAND_SRAM_BASE ((uint32_t)(0x22000000)) 325*5fd0122aSMatthias Ringwald #define BITBAND_PERI_BASE ((uint32_t)(0x42000000)) 326*5fd0122aSMatthias Ringwald 327*5fd0122aSMatthias Ringwald /* SRAM allows 32 bit bit band access */ 328*5fd0122aSMatthias Ringwald #define BITBAND_SRAM(x, b) (*((__IO uint32_t *) (BITBAND_SRAM_BASE + (((uint32_t)(volatile const uint32_t *)&(x)) - SRAM_BASE )*32 + (b)*4))) 329*5fd0122aSMatthias Ringwald /* peripherals with 8 bit or 16 bit register access allow only 8 bit or 16 bit bit band access, so cast to 8 bit always */ 330*5fd0122aSMatthias Ringwald #define BITBAND_PERI(x, b) (*((__IO uint8_t *) (BITBAND_PERI_BASE + (((uint32_t)(volatile const uint32_t *)&(x)) - PERIPH_BASE)*32 + (b)*4))) 331*5fd0122aSMatthias Ringwald 332*5fd0122aSMatthias Ringwald /****************************************************************************** 333*5fd0122aSMatthias Ringwald * Peripheral register definitions * 334*5fd0122aSMatthias Ringwald ******************************************************************************/ 335*5fd0122aSMatthias Ringwald /** @addtogroup MSP432P401R_Peripherals MSP432P401R Peripherals 336*5fd0122aSMatthias Ringwald MSP432P401R Device Specific Peripheral registers structures 337*5fd0122aSMatthias Ringwald @{ 338*5fd0122aSMatthias Ringwald */ 339*5fd0122aSMatthias Ringwald 340*5fd0122aSMatthias Ringwald /* ------- Start of section using anonymous unions and disabling warnings ------- */ 341*5fd0122aSMatthias Ringwald #if defined (__CC_ARM) 342*5fd0122aSMatthias Ringwald #pragma push 343*5fd0122aSMatthias Ringwald #pragma anon_unions 344*5fd0122aSMatthias Ringwald #elif defined (__ICCARM__) 345*5fd0122aSMatthias Ringwald #pragma language=extended 346*5fd0122aSMatthias Ringwald #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 347*5fd0122aSMatthias Ringwald #pragma clang diagnostic push 348*5fd0122aSMatthias Ringwald #pragma clang diagnostic ignored "-Wc11-extensions" 349*5fd0122aSMatthias Ringwald #elif defined (__GNUC__) 350*5fd0122aSMatthias Ringwald /* anonymous unions are enabled by default */ 351*5fd0122aSMatthias Ringwald #elif defined (__TI_ARM__) 352*5fd0122aSMatthias Ringwald /* anonymous unions are enabled by default */ 353*5fd0122aSMatthias Ringwald #else 354*5fd0122aSMatthias Ringwald #warning Not supported compiler type 355*5fd0122aSMatthias Ringwald #endif 356*5fd0122aSMatthias Ringwald 357*5fd0122aSMatthias Ringwald 358*5fd0122aSMatthias Ringwald /****************************************************************************** 359*5fd0122aSMatthias Ringwald * ADC14 Registers 360*5fd0122aSMatthias Ringwald ******************************************************************************/ 361*5fd0122aSMatthias Ringwald /** @addtogroup ADC14 MSP432P401R (ADC14) 362*5fd0122aSMatthias Ringwald @{ 363*5fd0122aSMatthias Ringwald */ 364*5fd0122aSMatthias Ringwald typedef struct { 365*5fd0122aSMatthias Ringwald __IO uint32_t CTL0; /*!< Control 0 Register */ 366*5fd0122aSMatthias Ringwald __IO uint32_t CTL1; /*!< Control 1 Register */ 367*5fd0122aSMatthias Ringwald __IO uint32_t LO0; /*!< Window Comparator Low Threshold 0 Register */ 368*5fd0122aSMatthias Ringwald __IO uint32_t HI0; /*!< Window Comparator High Threshold 0 Register */ 369*5fd0122aSMatthias Ringwald __IO uint32_t LO1; /*!< Window Comparator Low Threshold 1 Register */ 370*5fd0122aSMatthias Ringwald __IO uint32_t HI1; /*!< Window Comparator High Threshold 1 Register */ 371*5fd0122aSMatthias Ringwald __IO uint32_t MCTL[32]; /*!< Conversion Memory Control Register */ 372*5fd0122aSMatthias Ringwald __IO uint32_t MEM[32]; /*!< Conversion Memory Register */ 373*5fd0122aSMatthias Ringwald uint32_t RESERVED0[9]; 374*5fd0122aSMatthias Ringwald __IO uint32_t IER0; /*!< Interrupt Enable 0 Register */ 375*5fd0122aSMatthias Ringwald __IO uint32_t IER1; /*!< Interrupt Enable 1 Register */ 376*5fd0122aSMatthias Ringwald __I uint32_t IFGR0; /*!< Interrupt Flag 0 Register */ 377*5fd0122aSMatthias Ringwald __I uint32_t IFGR1; /*!< Interrupt Flag 1 Register */ 378*5fd0122aSMatthias Ringwald __O uint32_t CLRIFGR0; /*!< Clear Interrupt Flag 0 Register */ 379*5fd0122aSMatthias Ringwald __IO uint32_t CLRIFGR1; /*!< Clear Interrupt Flag 1 Register */ 380*5fd0122aSMatthias Ringwald __IO uint32_t IV; /*!< Interrupt Vector Register */ 381*5fd0122aSMatthias Ringwald } ADC14_Type; 382*5fd0122aSMatthias Ringwald 383*5fd0122aSMatthias Ringwald /*@}*/ /* end of group ADC14 */ 384*5fd0122aSMatthias Ringwald 385*5fd0122aSMatthias Ringwald 386*5fd0122aSMatthias Ringwald /****************************************************************************** 387*5fd0122aSMatthias Ringwald * AES256 Registers 388*5fd0122aSMatthias Ringwald ******************************************************************************/ 389*5fd0122aSMatthias Ringwald /** @addtogroup AES256 MSP432P401R (AES256) 390*5fd0122aSMatthias Ringwald @{ 391*5fd0122aSMatthias Ringwald */ 392*5fd0122aSMatthias Ringwald typedef struct { 393*5fd0122aSMatthias Ringwald __IO uint16_t CTL0; /*!< AES Accelerator Control Register 0 */ 394*5fd0122aSMatthias Ringwald __IO uint16_t CTL1; /*!< AES Accelerator Control Register 1 */ 395*5fd0122aSMatthias Ringwald __IO uint16_t STAT; /*!< AES Accelerator Status Register */ 396*5fd0122aSMatthias Ringwald __O uint16_t KEY; /*!< AES Accelerator Key Register */ 397*5fd0122aSMatthias Ringwald __O uint16_t DIN; /*!< AES Accelerator Data In Register */ 398*5fd0122aSMatthias Ringwald __O uint16_t DOUT; /*!< AES Accelerator Data Out Register */ 399*5fd0122aSMatthias Ringwald __O uint16_t XDIN; /*!< AES Accelerator XORed Data In Register */ 400*5fd0122aSMatthias Ringwald __O uint16_t XIN; /*!< AES Accelerator XORed Data In Register */ 401*5fd0122aSMatthias Ringwald } AES256_Type; 402*5fd0122aSMatthias Ringwald 403*5fd0122aSMatthias Ringwald /*@}*/ /* end of group AES256 */ 404*5fd0122aSMatthias Ringwald 405*5fd0122aSMatthias Ringwald 406*5fd0122aSMatthias Ringwald /****************************************************************************** 407*5fd0122aSMatthias Ringwald * CAPTIO Registers 408*5fd0122aSMatthias Ringwald ******************************************************************************/ 409*5fd0122aSMatthias Ringwald /** @addtogroup CAPTIO MSP432P401R (CAPTIO) 410*5fd0122aSMatthias Ringwald @{ 411*5fd0122aSMatthias Ringwald */ 412*5fd0122aSMatthias Ringwald typedef struct { 413*5fd0122aSMatthias Ringwald uint16_t RESERVED0[7]; 414*5fd0122aSMatthias Ringwald __IO uint16_t CTL; /*!< Capacitive Touch IO x Control Register */ 415*5fd0122aSMatthias Ringwald } CAPTIO_Type; 416*5fd0122aSMatthias Ringwald 417*5fd0122aSMatthias Ringwald /*@}*/ /* end of group CAPTIO */ 418*5fd0122aSMatthias Ringwald 419*5fd0122aSMatthias Ringwald 420*5fd0122aSMatthias Ringwald /****************************************************************************** 421*5fd0122aSMatthias Ringwald * COMP_E Registers 422*5fd0122aSMatthias Ringwald ******************************************************************************/ 423*5fd0122aSMatthias Ringwald /** @addtogroup COMP_E MSP432P401R (COMP_E) 424*5fd0122aSMatthias Ringwald @{ 425*5fd0122aSMatthias Ringwald */ 426*5fd0122aSMatthias Ringwald typedef struct { 427*5fd0122aSMatthias Ringwald __IO uint16_t CTL0; /*!< Comparator Control Register 0 */ 428*5fd0122aSMatthias Ringwald __IO uint16_t CTL1; /*!< Comparator Control Register 1 */ 429*5fd0122aSMatthias Ringwald __IO uint16_t CTL2; /*!< Comparator Control Register 2 */ 430*5fd0122aSMatthias Ringwald __IO uint16_t CTL3; /*!< Comparator Control Register 3 */ 431*5fd0122aSMatthias Ringwald uint16_t RESERVED0[2]; 432*5fd0122aSMatthias Ringwald __IO uint16_t INT; /*!< Comparator Interrupt Control Register */ 433*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< Comparator Interrupt Vector Word Register */ 434*5fd0122aSMatthias Ringwald } COMP_E_Type; 435*5fd0122aSMatthias Ringwald 436*5fd0122aSMatthias Ringwald /*@}*/ /* end of group COMP_E */ 437*5fd0122aSMatthias Ringwald 438*5fd0122aSMatthias Ringwald 439*5fd0122aSMatthias Ringwald /****************************************************************************** 440*5fd0122aSMatthias Ringwald * CRC32 Registers 441*5fd0122aSMatthias Ringwald ******************************************************************************/ 442*5fd0122aSMatthias Ringwald /** @addtogroup CRC32 MSP432P401R (CRC32) 443*5fd0122aSMatthias Ringwald @{ 444*5fd0122aSMatthias Ringwald */ 445*5fd0122aSMatthias Ringwald typedef struct { 446*5fd0122aSMatthias Ringwald __IO uint16_t DI32; /*!< Data Input for CRC32 Signature Computation */ 447*5fd0122aSMatthias Ringwald uint16_t RESERVED0; 448*5fd0122aSMatthias Ringwald __IO uint16_t DIRB32; /*!< Data In Reverse for CRC32 Computation */ 449*5fd0122aSMatthias Ringwald uint16_t RESERVED1; 450*5fd0122aSMatthias Ringwald __IO uint16_t INIRES32_LO; /*!< CRC32 Initialization and Result, lower 16 bits */ 451*5fd0122aSMatthias Ringwald __IO uint16_t INIRES32_HI; /*!< CRC32 Initialization and Result, upper 16 bits */ 452*5fd0122aSMatthias Ringwald __IO uint16_t RESR32_LO; /*!< CRC32 Result Reverse, lower 16 bits */ 453*5fd0122aSMatthias Ringwald __IO uint16_t RESR32_HI; /*!< CRC32 Result Reverse, Upper 16 bits */ 454*5fd0122aSMatthias Ringwald __IO uint16_t DI16; /*!< Data Input for CRC16 computation */ 455*5fd0122aSMatthias Ringwald uint16_t RESERVED2; 456*5fd0122aSMatthias Ringwald __IO uint16_t DIRB16; /*!< CRC16 Data In Reverse */ 457*5fd0122aSMatthias Ringwald uint16_t RESERVED3; 458*5fd0122aSMatthias Ringwald __IO uint16_t INIRES16; /*!< CRC16 Initialization and Result register */ 459*5fd0122aSMatthias Ringwald uint16_t RESERVED4[2]; 460*5fd0122aSMatthias Ringwald __IO uint16_t RESR16; /*!< CRC16 Result Reverse */ 461*5fd0122aSMatthias Ringwald } CRC32_Type; 462*5fd0122aSMatthias Ringwald 463*5fd0122aSMatthias Ringwald /*@}*/ /* end of group CRC32 */ 464*5fd0122aSMatthias Ringwald 465*5fd0122aSMatthias Ringwald 466*5fd0122aSMatthias Ringwald /****************************************************************************** 467*5fd0122aSMatthias Ringwald * CS Registers 468*5fd0122aSMatthias Ringwald ******************************************************************************/ 469*5fd0122aSMatthias Ringwald /** @addtogroup CS MSP432P401R (CS) 470*5fd0122aSMatthias Ringwald @{ 471*5fd0122aSMatthias Ringwald */ 472*5fd0122aSMatthias Ringwald typedef struct { 473*5fd0122aSMatthias Ringwald __IO uint32_t KEY; /*!< Key Register */ 474*5fd0122aSMatthias Ringwald __IO uint32_t CTL0; /*!< Control 0 Register */ 475*5fd0122aSMatthias Ringwald __IO uint32_t CTL1; /*!< Control 1 Register */ 476*5fd0122aSMatthias Ringwald __IO uint32_t CTL2; /*!< Control 2 Register */ 477*5fd0122aSMatthias Ringwald __IO uint32_t CTL3; /*!< Control 3 Register */ 478*5fd0122aSMatthias Ringwald uint32_t RESERVED0[7]; 479*5fd0122aSMatthias Ringwald __IO uint32_t CLKEN; /*!< Clock Enable Register */ 480*5fd0122aSMatthias Ringwald __I uint32_t STAT; /*!< Status Register */ 481*5fd0122aSMatthias Ringwald uint32_t RESERVED1[2]; 482*5fd0122aSMatthias Ringwald __IO uint32_t IE; /*!< Interrupt Enable Register */ 483*5fd0122aSMatthias Ringwald uint32_t RESERVED2; 484*5fd0122aSMatthias Ringwald __I uint32_t IFG; /*!< Interrupt Flag Register */ 485*5fd0122aSMatthias Ringwald uint32_t RESERVED3; 486*5fd0122aSMatthias Ringwald __O uint32_t CLRIFG; /*!< Clear Interrupt Flag Register */ 487*5fd0122aSMatthias Ringwald uint32_t RESERVED4; 488*5fd0122aSMatthias Ringwald __O uint32_t SETIFG; /*!< Set Interrupt Flag Register */ 489*5fd0122aSMatthias Ringwald uint32_t RESERVED5; 490*5fd0122aSMatthias Ringwald __IO uint32_t DCOERCAL0; /*!< DCO External Resistor Cailbration 0 Register */ 491*5fd0122aSMatthias Ringwald __IO uint32_t DCOERCAL1; /*!< DCO External Resistor Calibration 1 Register */ 492*5fd0122aSMatthias Ringwald } CS_Type; 493*5fd0122aSMatthias Ringwald 494*5fd0122aSMatthias Ringwald /*@}*/ /* end of group CS */ 495*5fd0122aSMatthias Ringwald 496*5fd0122aSMatthias Ringwald 497*5fd0122aSMatthias Ringwald /****************************************************************************** 498*5fd0122aSMatthias Ringwald * DIO Registers 499*5fd0122aSMatthias Ringwald ******************************************************************************/ 500*5fd0122aSMatthias Ringwald /** @addtogroup DIO MSP432P401R (DIO) 501*5fd0122aSMatthias Ringwald @{ 502*5fd0122aSMatthias Ringwald */ 503*5fd0122aSMatthias Ringwald typedef struct { 504*5fd0122aSMatthias Ringwald union { 505*5fd0122aSMatthias Ringwald __I uint16_t IN; /*!< Port Pair Input */ 506*5fd0122aSMatthias Ringwald struct { 507*5fd0122aSMatthias Ringwald __I uint8_t IN_L; /*!< Low Port Input */ 508*5fd0122aSMatthias Ringwald __I uint8_t IN_H; /*!< High Port Input */ 509*5fd0122aSMatthias Ringwald }; 510*5fd0122aSMatthias Ringwald }; 511*5fd0122aSMatthias Ringwald union { 512*5fd0122aSMatthias Ringwald __IO uint16_t OUT; /*!< Port Pair Output */ 513*5fd0122aSMatthias Ringwald struct { 514*5fd0122aSMatthias Ringwald __IO uint8_t OUT_L; /*!< Low Port Output */ 515*5fd0122aSMatthias Ringwald __IO uint8_t OUT_H; /*!< High Port Output */ 516*5fd0122aSMatthias Ringwald }; 517*5fd0122aSMatthias Ringwald }; 518*5fd0122aSMatthias Ringwald union { 519*5fd0122aSMatthias Ringwald __IO uint16_t DIR; /*!< Port Pair Direction */ 520*5fd0122aSMatthias Ringwald struct { 521*5fd0122aSMatthias Ringwald __IO uint8_t DIR_L; /*!< Low Port Direction */ 522*5fd0122aSMatthias Ringwald __IO uint8_t DIR_H; /*!< High Port Direction */ 523*5fd0122aSMatthias Ringwald }; 524*5fd0122aSMatthias Ringwald }; 525*5fd0122aSMatthias Ringwald union { 526*5fd0122aSMatthias Ringwald __IO uint16_t REN; /*!< Port Pair Resistor Enable */ 527*5fd0122aSMatthias Ringwald struct { 528*5fd0122aSMatthias Ringwald __IO uint8_t REN_L; /*!< Low Port Resistor Enable */ 529*5fd0122aSMatthias Ringwald __IO uint8_t REN_H; /*!< High Port Resistor Enable */ 530*5fd0122aSMatthias Ringwald }; 531*5fd0122aSMatthias Ringwald }; 532*5fd0122aSMatthias Ringwald union { 533*5fd0122aSMatthias Ringwald __IO uint16_t DS; /*!< Port Pair Drive Strength */ 534*5fd0122aSMatthias Ringwald struct { 535*5fd0122aSMatthias Ringwald __IO uint8_t DS_L; /*!< Low Port Drive Strength */ 536*5fd0122aSMatthias Ringwald __IO uint8_t DS_H; /*!< High Port Drive Strength */ 537*5fd0122aSMatthias Ringwald }; 538*5fd0122aSMatthias Ringwald }; 539*5fd0122aSMatthias Ringwald union { 540*5fd0122aSMatthias Ringwald __IO uint16_t SEL0; /*!< Port Pair Select 0 */ 541*5fd0122aSMatthias Ringwald struct { 542*5fd0122aSMatthias Ringwald __IO uint8_t SEL0_L; /*!< Low Port Select 0 */ 543*5fd0122aSMatthias Ringwald __IO uint8_t SEL0_H; /*!< High Port Select 0 */ 544*5fd0122aSMatthias Ringwald }; 545*5fd0122aSMatthias Ringwald }; 546*5fd0122aSMatthias Ringwald union { 547*5fd0122aSMatthias Ringwald __IO uint16_t SEL1; /*!< Port Pair Select 1 */ 548*5fd0122aSMatthias Ringwald struct { 549*5fd0122aSMatthias Ringwald __IO uint8_t SEL1_L; /*!< Low Port Select 1 */ 550*5fd0122aSMatthias Ringwald __IO uint8_t SEL1_H; /*!< High Port Select 1 */ 551*5fd0122aSMatthias Ringwald }; 552*5fd0122aSMatthias Ringwald }; 553*5fd0122aSMatthias Ringwald __I uint16_t IV_L; /*!< Low Port Interrupt Vector Value */ 554*5fd0122aSMatthias Ringwald uint16_t RESERVED0[3]; 555*5fd0122aSMatthias Ringwald union { 556*5fd0122aSMatthias Ringwald __IO uint16_t SELC; /*!< Port Pair Complement Select */ 557*5fd0122aSMatthias Ringwald struct { 558*5fd0122aSMatthias Ringwald __IO uint8_t SELC_L; /*!< Low Port Complement Select */ 559*5fd0122aSMatthias Ringwald __IO uint8_t SELC_H; /*!< High Port Complement Select */ 560*5fd0122aSMatthias Ringwald }; 561*5fd0122aSMatthias Ringwald }; 562*5fd0122aSMatthias Ringwald union { 563*5fd0122aSMatthias Ringwald __IO uint16_t IES; /*!< Port Pair Interrupt Edge Select */ 564*5fd0122aSMatthias Ringwald struct { 565*5fd0122aSMatthias Ringwald __IO uint8_t IES_L; /*!< Low Port Interrupt Edge Select */ 566*5fd0122aSMatthias Ringwald __IO uint8_t IES_H; /*!< High Port Interrupt Edge Select */ 567*5fd0122aSMatthias Ringwald }; 568*5fd0122aSMatthias Ringwald }; 569*5fd0122aSMatthias Ringwald union { 570*5fd0122aSMatthias Ringwald __IO uint16_t IE; /*!< Port Pair Interrupt Enable */ 571*5fd0122aSMatthias Ringwald struct { 572*5fd0122aSMatthias Ringwald __IO uint8_t IE_L; /*!< Low Port Interrupt Enable */ 573*5fd0122aSMatthias Ringwald __IO uint8_t IE_H; /*!< High Port Interrupt Enable */ 574*5fd0122aSMatthias Ringwald }; 575*5fd0122aSMatthias Ringwald }; 576*5fd0122aSMatthias Ringwald union { 577*5fd0122aSMatthias Ringwald __IO uint16_t IFG; /*!< Port Pair Interrupt Flag */ 578*5fd0122aSMatthias Ringwald struct { 579*5fd0122aSMatthias Ringwald __IO uint8_t IFG_L; /*!< Low Port Interrupt Flag */ 580*5fd0122aSMatthias Ringwald __IO uint8_t IFG_H; /*!< High Port Interrupt Flag */ 581*5fd0122aSMatthias Ringwald }; 582*5fd0122aSMatthias Ringwald }; 583*5fd0122aSMatthias Ringwald __I uint16_t IV_H; /*!< High Port Interrupt Vector Value */ 584*5fd0122aSMatthias Ringwald } DIO_PORT_Interruptable_Type; 585*5fd0122aSMatthias Ringwald 586*5fd0122aSMatthias Ringwald typedef struct { 587*5fd0122aSMatthias Ringwald union { 588*5fd0122aSMatthias Ringwald __I uint16_t IN; /*!< Port Pair Input */ 589*5fd0122aSMatthias Ringwald struct { 590*5fd0122aSMatthias Ringwald __I uint8_t IN_L; /*!< Low Port Input */ 591*5fd0122aSMatthias Ringwald __I uint8_t IN_H; /*!< High Port Input */ 592*5fd0122aSMatthias Ringwald }; 593*5fd0122aSMatthias Ringwald }; 594*5fd0122aSMatthias Ringwald union { 595*5fd0122aSMatthias Ringwald __IO uint16_t OUT; /*!< Port Pair Output */ 596*5fd0122aSMatthias Ringwald struct { 597*5fd0122aSMatthias Ringwald __IO uint8_t OUT_L; /*!< Low Port Output */ 598*5fd0122aSMatthias Ringwald __IO uint8_t OUT_H; /*!< High Port Output */ 599*5fd0122aSMatthias Ringwald }; 600*5fd0122aSMatthias Ringwald }; 601*5fd0122aSMatthias Ringwald union { 602*5fd0122aSMatthias Ringwald __IO uint16_t DIR; /*!< Port Pair Direction */ 603*5fd0122aSMatthias Ringwald struct { 604*5fd0122aSMatthias Ringwald __IO uint8_t DIR_L; /*!< Low Port Direction */ 605*5fd0122aSMatthias Ringwald __IO uint8_t DIR_H; /*!< High Port Direction */ 606*5fd0122aSMatthias Ringwald }; 607*5fd0122aSMatthias Ringwald }; 608*5fd0122aSMatthias Ringwald union { 609*5fd0122aSMatthias Ringwald __IO uint16_t REN; /*!< Port Pair Resistor Enable */ 610*5fd0122aSMatthias Ringwald struct { 611*5fd0122aSMatthias Ringwald __IO uint8_t REN_L; /*!< Low Port Resistor Enable */ 612*5fd0122aSMatthias Ringwald __IO uint8_t REN_H; /*!< High Port Resistor Enable */ 613*5fd0122aSMatthias Ringwald }; 614*5fd0122aSMatthias Ringwald }; 615*5fd0122aSMatthias Ringwald union { 616*5fd0122aSMatthias Ringwald __IO uint16_t DS; /*!< Port Pair Drive Strength */ 617*5fd0122aSMatthias Ringwald struct { 618*5fd0122aSMatthias Ringwald __IO uint8_t DS_L; /*!< Low Port Drive Strength */ 619*5fd0122aSMatthias Ringwald __IO uint8_t DS_H; /*!< High Port Drive Strength */ 620*5fd0122aSMatthias Ringwald }; 621*5fd0122aSMatthias Ringwald }; 622*5fd0122aSMatthias Ringwald union { 623*5fd0122aSMatthias Ringwald __IO uint16_t SEL0; /*!< Port Pair Select 0 */ 624*5fd0122aSMatthias Ringwald struct { 625*5fd0122aSMatthias Ringwald __IO uint8_t SEL0_L; /*!< Low Port Select 0 */ 626*5fd0122aSMatthias Ringwald __IO uint8_t SEL0_H; /*!< High Port Select 0 */ 627*5fd0122aSMatthias Ringwald }; 628*5fd0122aSMatthias Ringwald }; 629*5fd0122aSMatthias Ringwald union { 630*5fd0122aSMatthias Ringwald __IO uint16_t SEL1; /*!< Port Pair Select 1 */ 631*5fd0122aSMatthias Ringwald struct { 632*5fd0122aSMatthias Ringwald __IO uint8_t SEL1_L; /*!< Low Port Select 1 */ 633*5fd0122aSMatthias Ringwald __IO uint8_t SEL1_H; /*!< High Port Select 1 */ 634*5fd0122aSMatthias Ringwald }; 635*5fd0122aSMatthias Ringwald }; 636*5fd0122aSMatthias Ringwald uint16_t RESERVED0[4]; 637*5fd0122aSMatthias Ringwald union { 638*5fd0122aSMatthias Ringwald __IO uint16_t SELC; /*!< Port Pair Complement Select */ 639*5fd0122aSMatthias Ringwald struct { 640*5fd0122aSMatthias Ringwald __IO uint8_t SELC_L; /*!< Low Port Complement Select */ 641*5fd0122aSMatthias Ringwald __IO uint8_t SELC_H; /*!< High Port Complement Select */ 642*5fd0122aSMatthias Ringwald }; 643*5fd0122aSMatthias Ringwald }; 644*5fd0122aSMatthias Ringwald } DIO_PORT_Not_Interruptable_Type; 645*5fd0122aSMatthias Ringwald 646*5fd0122aSMatthias Ringwald 647*5fd0122aSMatthias Ringwald typedef struct { 648*5fd0122aSMatthias Ringwald __I uint8_t IN; /*!< Port Input */ 649*5fd0122aSMatthias Ringwald uint8_t RESERVED0; 650*5fd0122aSMatthias Ringwald __IO uint8_t OUT; /*!< Port Output */ 651*5fd0122aSMatthias Ringwald uint8_t RESERVED1; 652*5fd0122aSMatthias Ringwald __IO uint8_t DIR; /*!< Port Direction */ 653*5fd0122aSMatthias Ringwald uint8_t RESERVED2; 654*5fd0122aSMatthias Ringwald __IO uint8_t REN; /*!< Port Resistor Enable */ 655*5fd0122aSMatthias Ringwald uint8_t RESERVED3; 656*5fd0122aSMatthias Ringwald __IO uint8_t DS; /*!< Port Drive Strength */ 657*5fd0122aSMatthias Ringwald uint8_t RESERVED4; 658*5fd0122aSMatthias Ringwald __IO uint8_t SEL0; /*!< Port Select 0 */ 659*5fd0122aSMatthias Ringwald uint8_t RESERVED5; 660*5fd0122aSMatthias Ringwald __IO uint8_t SEL1; /*!< Port Select 1 */ 661*5fd0122aSMatthias Ringwald uint8_t RESERVED6; 662*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< Port Interrupt Vector Value */ 663*5fd0122aSMatthias Ringwald uint8_t RESERVED7[6]; 664*5fd0122aSMatthias Ringwald __IO uint8_t SELC; /*!< Port Complement Select */ 665*5fd0122aSMatthias Ringwald uint8_t RESERVED8; 666*5fd0122aSMatthias Ringwald __IO uint8_t IES; /*!< Port Interrupt Edge Select */ 667*5fd0122aSMatthias Ringwald uint8_t RESERVED9; 668*5fd0122aSMatthias Ringwald __IO uint8_t IE; /*!< Port Interrupt Enable */ 669*5fd0122aSMatthias Ringwald uint8_t RESERVED10; 670*5fd0122aSMatthias Ringwald __IO uint8_t IFG; /*!< Port Interrupt Flag */ 671*5fd0122aSMatthias Ringwald uint8_t RESERVED11; 672*5fd0122aSMatthias Ringwald } DIO_PORT_Odd_Interruptable_Type; 673*5fd0122aSMatthias Ringwald 674*5fd0122aSMatthias Ringwald typedef struct { 675*5fd0122aSMatthias Ringwald uint8_t RESERVED0; 676*5fd0122aSMatthias Ringwald __I uint8_t IN; /*!< Port Input */ 677*5fd0122aSMatthias Ringwald uint8_t RESERVED1; 678*5fd0122aSMatthias Ringwald __IO uint8_t OUT; /*!< Port Output */ 679*5fd0122aSMatthias Ringwald uint8_t RESERVED2; 680*5fd0122aSMatthias Ringwald __IO uint8_t DIR; /*!< Port Direction */ 681*5fd0122aSMatthias Ringwald uint8_t RESERVED3; 682*5fd0122aSMatthias Ringwald __IO uint8_t REN; /*!< Port Resistor Enable */ 683*5fd0122aSMatthias Ringwald uint8_t RESERVED4; 684*5fd0122aSMatthias Ringwald __IO uint8_t DS; /*!< Port Drive Strength */ 685*5fd0122aSMatthias Ringwald uint8_t RESERVED5; 686*5fd0122aSMatthias Ringwald __IO uint8_t SEL0; /*!< Port Select 0 */ 687*5fd0122aSMatthias Ringwald uint8_t RESERVED6; 688*5fd0122aSMatthias Ringwald __IO uint8_t SEL1; /*!< Port Select 1 */ 689*5fd0122aSMatthias Ringwald uint8_t RESERVED7[9]; 690*5fd0122aSMatthias Ringwald __IO uint8_t SELC; /*!< Port Complement Select */ 691*5fd0122aSMatthias Ringwald uint8_t RESERVED8; 692*5fd0122aSMatthias Ringwald __IO uint8_t IES; /*!< Port Interrupt Edge Select */ 693*5fd0122aSMatthias Ringwald uint8_t RESERVED9; 694*5fd0122aSMatthias Ringwald __IO uint8_t IE; /*!< Port Interrupt Enable */ 695*5fd0122aSMatthias Ringwald uint8_t RESERVED10; 696*5fd0122aSMatthias Ringwald __IO uint8_t IFG; /*!< Port Interrupt Flag */ 697*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< Port Interrupt Vector Value */ 698*5fd0122aSMatthias Ringwald } DIO_PORT_Even_Interruptable_Type; 699*5fd0122aSMatthias Ringwald 700*5fd0122aSMatthias Ringwald /*@}*/ /* end of group MSP432P401R_DIO */ 701*5fd0122aSMatthias Ringwald 702*5fd0122aSMatthias Ringwald 703*5fd0122aSMatthias Ringwald /****************************************************************************** 704*5fd0122aSMatthias Ringwald * DMA Registers 705*5fd0122aSMatthias Ringwald ******************************************************************************/ 706*5fd0122aSMatthias Ringwald /** @addtogroup DMA MSP432P401R (DMA) 707*5fd0122aSMatthias Ringwald @{ 708*5fd0122aSMatthias Ringwald */ 709*5fd0122aSMatthias Ringwald typedef struct { 710*5fd0122aSMatthias Ringwald __I uint32_t DEVICE_CFG; /*!< Device Configuration Status */ 711*5fd0122aSMatthias Ringwald __IO uint32_t SW_CHTRIG; /*!< Software Channel Trigger Register */ 712*5fd0122aSMatthias Ringwald uint32_t RESERVED0[2]; 713*5fd0122aSMatthias Ringwald __IO uint32_t CH_SRCCFG[32]; /*!< Channel n Source Configuration Register */ 714*5fd0122aSMatthias Ringwald uint32_t RESERVED1[28]; 715*5fd0122aSMatthias Ringwald __IO uint32_t INT1_SRCCFG; /*!< Interrupt 1 Source Channel Configuration */ 716*5fd0122aSMatthias Ringwald __IO uint32_t INT2_SRCCFG; /*!< Interrupt 2 Source Channel Configuration Register */ 717*5fd0122aSMatthias Ringwald __IO uint32_t INT3_SRCCFG; /*!< Interrupt 3 Source Channel Configuration Register */ 718*5fd0122aSMatthias Ringwald uint32_t RESERVED2; 719*5fd0122aSMatthias Ringwald __I uint32_t INT0_SRCFLG; /*!< Interrupt 0 Source Channel Flag Register */ 720*5fd0122aSMatthias Ringwald __O uint32_t INT0_CLRFLG; /*!< Interrupt 0 Source Channel Clear Flag Register */ 721*5fd0122aSMatthias Ringwald } DMA_Channel_Type; 722*5fd0122aSMatthias Ringwald 723*5fd0122aSMatthias Ringwald typedef struct { 724*5fd0122aSMatthias Ringwald __I uint32_t STAT; /*!< Status Register */ 725*5fd0122aSMatthias Ringwald __O uint32_t CFG; /*!< Configuration Register */ 726*5fd0122aSMatthias Ringwald __IO uint32_t CTLBASE; /*!< Channel Control Data Base Pointer Register */ 727*5fd0122aSMatthias Ringwald __I uint32_t ALTBASE; /*!< Channel Alternate Control Data Base Pointer Register */ 728*5fd0122aSMatthias Ringwald __I uint32_t WAITSTAT; /*!< Channel Wait on Request Status Register */ 729*5fd0122aSMatthias Ringwald __O uint32_t SWREQ; /*!< Channel Software Request Register */ 730*5fd0122aSMatthias Ringwald __IO uint32_t USEBURSTSET; /*!< Channel Useburst Set Register */ 731*5fd0122aSMatthias Ringwald __O uint32_t USEBURSTCLR; /*!< Channel Useburst Clear Register */ 732*5fd0122aSMatthias Ringwald __IO uint32_t REQMASKSET; /*!< Channel Request Mask Set Register */ 733*5fd0122aSMatthias Ringwald __O uint32_t REQMASKCLR; /*!< Channel Request Mask Clear Register */ 734*5fd0122aSMatthias Ringwald __IO uint32_t ENASET; /*!< Channel Enable Set Register */ 735*5fd0122aSMatthias Ringwald __O uint32_t ENACLR; /*!< Channel Enable Clear Register */ 736*5fd0122aSMatthias Ringwald __IO uint32_t ALTSET; /*!< Channel Primary-Alternate Set Register */ 737*5fd0122aSMatthias Ringwald __O uint32_t ALTCLR; /*!< Channel Primary-Alternate Clear Register */ 738*5fd0122aSMatthias Ringwald __IO uint32_t PRIOSET; /*!< Channel Priority Set Register */ 739*5fd0122aSMatthias Ringwald __O uint32_t PRIOCLR; /*!< Channel Priority Clear Register */ 740*5fd0122aSMatthias Ringwald uint32_t RESERVED4[3]; 741*5fd0122aSMatthias Ringwald __IO uint32_t ERRCLR; /*!< Bus Error Clear Register */ 742*5fd0122aSMatthias Ringwald } DMA_Control_Type; 743*5fd0122aSMatthias Ringwald 744*5fd0122aSMatthias Ringwald /*@}*/ /* end of group DMA */ 745*5fd0122aSMatthias Ringwald 746*5fd0122aSMatthias Ringwald 747*5fd0122aSMatthias Ringwald /****************************************************************************** 748*5fd0122aSMatthias Ringwald * EUSCI_A Registers 749*5fd0122aSMatthias Ringwald ******************************************************************************/ 750*5fd0122aSMatthias Ringwald /** @addtogroup EUSCI_A MSP432P401R (EUSCI_A) 751*5fd0122aSMatthias Ringwald @{ 752*5fd0122aSMatthias Ringwald */ 753*5fd0122aSMatthias Ringwald typedef struct { 754*5fd0122aSMatthias Ringwald __IO uint16_t CTLW0; /*!< eUSCI_Ax Control Word Register 0 */ 755*5fd0122aSMatthias Ringwald __IO uint16_t CTLW1; /*!< eUSCI_Ax Control Word Register 1 */ 756*5fd0122aSMatthias Ringwald uint16_t RESERVED0; 757*5fd0122aSMatthias Ringwald __IO uint16_t BRW; /*!< eUSCI_Ax Baud Rate Control Word Register */ 758*5fd0122aSMatthias Ringwald __IO uint16_t MCTLW; /*!< eUSCI_Ax Modulation Control Word Register */ 759*5fd0122aSMatthias Ringwald __IO uint16_t STATW; /*!< eUSCI_Ax Status Register */ 760*5fd0122aSMatthias Ringwald __I uint16_t RXBUF; /*!< eUSCI_Ax Receive Buffer Register */ 761*5fd0122aSMatthias Ringwald __IO uint16_t TXBUF; /*!< eUSCI_Ax Transmit Buffer Register */ 762*5fd0122aSMatthias Ringwald __IO uint16_t ABCTL; /*!< eUSCI_Ax Auto Baud Rate Control Register */ 763*5fd0122aSMatthias Ringwald __IO uint16_t IRCTL; /*!< eUSCI_Ax IrDA Control Word Register */ 764*5fd0122aSMatthias Ringwald uint16_t RESERVED1[3]; 765*5fd0122aSMatthias Ringwald __IO uint16_t IE; /*!< eUSCI_Ax Interrupt Enable Register */ 766*5fd0122aSMatthias Ringwald __IO uint16_t IFG; /*!< eUSCI_Ax Interrupt Flag Register */ 767*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< eUSCI_Ax Interrupt Vector Register */ 768*5fd0122aSMatthias Ringwald } EUSCI_A_Type; 769*5fd0122aSMatthias Ringwald 770*5fd0122aSMatthias Ringwald /*@}*/ /* end of group EUSCI_A */ 771*5fd0122aSMatthias Ringwald 772*5fd0122aSMatthias Ringwald /** @addtogroup EUSCI_A_SPI MSP432P401R (EUSCI_A_SPI) 773*5fd0122aSMatthias Ringwald @{ 774*5fd0122aSMatthias Ringwald */ 775*5fd0122aSMatthias Ringwald typedef struct { 776*5fd0122aSMatthias Ringwald __IO uint16_t CTLW0; /*!< eUSCI_Ax Control Word Register 0 */ 777*5fd0122aSMatthias Ringwald uint16_t RESERVED0[2]; 778*5fd0122aSMatthias Ringwald __IO uint16_t BRW; /*!< eUSCI_Ax Bit Rate Control Register 1 */ 779*5fd0122aSMatthias Ringwald uint16_t RESERVED1; 780*5fd0122aSMatthias Ringwald __IO uint16_t STATW; 781*5fd0122aSMatthias Ringwald __I uint16_t RXBUF; /*!< eUSCI_Ax Receive Buffer Register */ 782*5fd0122aSMatthias Ringwald __IO uint16_t TXBUF; /*!< eUSCI_Ax Transmit Buffer Register */ 783*5fd0122aSMatthias Ringwald uint16_t RESERVED2[5]; 784*5fd0122aSMatthias Ringwald __IO uint16_t IE; /*!< eUSCI_Ax Interrupt Enable Register */ 785*5fd0122aSMatthias Ringwald __IO uint16_t IFG; /*!< eUSCI_Ax Interrupt Flag Register */ 786*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< eUSCI_Ax Interrupt Vector Register */ 787*5fd0122aSMatthias Ringwald } EUSCI_A_SPI_Type; 788*5fd0122aSMatthias Ringwald 789*5fd0122aSMatthias Ringwald /*@}*/ /* end of group EUSCI_A_SPI */ 790*5fd0122aSMatthias Ringwald 791*5fd0122aSMatthias Ringwald 792*5fd0122aSMatthias Ringwald /****************************************************************************** 793*5fd0122aSMatthias Ringwald * EUSCI_B Registers 794*5fd0122aSMatthias Ringwald ******************************************************************************/ 795*5fd0122aSMatthias Ringwald /** @addtogroup EUSCI_B MSP432P401R (EUSCI_B) 796*5fd0122aSMatthias Ringwald @{ 797*5fd0122aSMatthias Ringwald */ 798*5fd0122aSMatthias Ringwald typedef struct { 799*5fd0122aSMatthias Ringwald __IO uint16_t CTLW0; /*!< eUSCI_Bx Control Word Register 0 */ 800*5fd0122aSMatthias Ringwald __IO uint16_t CTLW1; /*!< eUSCI_Bx Control Word Register 1 */ 801*5fd0122aSMatthias Ringwald uint16_t RESERVED0; 802*5fd0122aSMatthias Ringwald __IO uint16_t BRW; /*!< eUSCI_Bx Baud Rate Control Word Register */ 803*5fd0122aSMatthias Ringwald __IO uint16_t STATW; /*!< eUSCI_Bx Status Register */ 804*5fd0122aSMatthias Ringwald __IO uint16_t TBCNT; /*!< eUSCI_Bx Byte Counter Threshold Register */ 805*5fd0122aSMatthias Ringwald __I uint16_t RXBUF; /*!< eUSCI_Bx Receive Buffer Register */ 806*5fd0122aSMatthias Ringwald __IO uint16_t TXBUF; /*!< eUSCI_Bx Transmit Buffer Register */ 807*5fd0122aSMatthias Ringwald uint16_t RESERVED1[2]; 808*5fd0122aSMatthias Ringwald __IO uint16_t I2COA0; /*!< eUSCI_Bx I2C Own Address 0 Register */ 809*5fd0122aSMatthias Ringwald __IO uint16_t I2COA1; /*!< eUSCI_Bx I2C Own Address 1 Register */ 810*5fd0122aSMatthias Ringwald __IO uint16_t I2COA2; /*!< eUSCI_Bx I2C Own Address 2 Register */ 811*5fd0122aSMatthias Ringwald __IO uint16_t I2COA3; /*!< eUSCI_Bx I2C Own Address 3 Register */ 812*5fd0122aSMatthias Ringwald __I uint16_t ADDRX; /*!< eUSCI_Bx I2C Received Address Register */ 813*5fd0122aSMatthias Ringwald __IO uint16_t ADDMASK; /*!< eUSCI_Bx I2C Address Mask Register */ 814*5fd0122aSMatthias Ringwald __IO uint16_t I2CSA; /*!< eUSCI_Bx I2C Slave Address Register */ 815*5fd0122aSMatthias Ringwald uint16_t RESERVED2[4]; 816*5fd0122aSMatthias Ringwald __IO uint16_t IE; /*!< eUSCI_Bx Interrupt Enable Register */ 817*5fd0122aSMatthias Ringwald __IO uint16_t IFG; /*!< eUSCI_Bx Interrupt Flag Register */ 818*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< eUSCI_Bx Interrupt Vector Register */ 819*5fd0122aSMatthias Ringwald } EUSCI_B_Type; 820*5fd0122aSMatthias Ringwald 821*5fd0122aSMatthias Ringwald /*@}*/ /* end of group EUSCI_B */ 822*5fd0122aSMatthias Ringwald 823*5fd0122aSMatthias Ringwald /** @addtogroup EUSCI_B_SPI MSP432P401R (EUSCI_B_SPI) 824*5fd0122aSMatthias Ringwald @{ 825*5fd0122aSMatthias Ringwald */ 826*5fd0122aSMatthias Ringwald typedef struct { 827*5fd0122aSMatthias Ringwald __IO uint16_t CTLW0; /*!< eUSCI_Bx Control Word Register 0 */ 828*5fd0122aSMatthias Ringwald uint16_t RESERVED0[2]; 829*5fd0122aSMatthias Ringwald __IO uint16_t BRW; /*!< eUSCI_Bx Bit Rate Control Register 1 */ 830*5fd0122aSMatthias Ringwald __IO uint16_t STATW; 831*5fd0122aSMatthias Ringwald uint16_t RESERVED1; 832*5fd0122aSMatthias Ringwald __I uint16_t RXBUF; /*!< eUSCI_Bx Receive Buffer Register */ 833*5fd0122aSMatthias Ringwald __IO uint16_t TXBUF; /*!< eUSCI_Bx Transmit Buffer Register */ 834*5fd0122aSMatthias Ringwald uint16_t RESERVED2[13]; 835*5fd0122aSMatthias Ringwald __IO uint16_t IE; /*!< eUSCI_Bx Interrupt Enable Register */ 836*5fd0122aSMatthias Ringwald __IO uint16_t IFG; /*!< eUSCI_Bx Interrupt Flag Register */ 837*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< eUSCI_Bx Interrupt Vector Register */ 838*5fd0122aSMatthias Ringwald } EUSCI_B_SPI_Type; 839*5fd0122aSMatthias Ringwald 840*5fd0122aSMatthias Ringwald /*@}*/ /* end of group EUSCI_B_SPI */ 841*5fd0122aSMatthias Ringwald 842*5fd0122aSMatthias Ringwald 843*5fd0122aSMatthias Ringwald /****************************************************************************** 844*5fd0122aSMatthias Ringwald * FLCTL Registers 845*5fd0122aSMatthias Ringwald ******************************************************************************/ 846*5fd0122aSMatthias Ringwald /** @addtogroup FLCTL MSP432P401R (FLCTL) 847*5fd0122aSMatthias Ringwald @{ 848*5fd0122aSMatthias Ringwald */ 849*5fd0122aSMatthias Ringwald typedef struct { 850*5fd0122aSMatthias Ringwald __I uint32_t POWER_STAT; /*!< Power Status Register */ 851*5fd0122aSMatthias Ringwald uint32_t RESERVED0[3]; 852*5fd0122aSMatthias Ringwald __IO uint32_t BANK0_RDCTL; /*!< Bank0 Read Control Register */ 853*5fd0122aSMatthias Ringwald __IO uint32_t BANK1_RDCTL; /*!< Bank1 Read Control Register */ 854*5fd0122aSMatthias Ringwald uint32_t RESERVED1[2]; 855*5fd0122aSMatthias Ringwald __IO uint32_t RDBRST_CTLSTAT; /*!< Read Burst/Compare Control and Status Register */ 856*5fd0122aSMatthias Ringwald __IO uint32_t RDBRST_STARTADDR; /*!< Read Burst/Compare Start Address Register */ 857*5fd0122aSMatthias Ringwald __IO uint32_t RDBRST_LEN; /*!< Read Burst/Compare Length Register */ 858*5fd0122aSMatthias Ringwald uint32_t RESERVED2[4]; 859*5fd0122aSMatthias Ringwald __IO uint32_t RDBRST_FAILADDR; /*!< Read Burst/Compare Fail Address Register */ 860*5fd0122aSMatthias Ringwald __IO uint32_t RDBRST_FAILCNT; /*!< Read Burst/Compare Fail Count Register */ 861*5fd0122aSMatthias Ringwald uint32_t RESERVED3[3]; 862*5fd0122aSMatthias Ringwald __IO uint32_t PRG_CTLSTAT; /*!< Program Control and Status Register */ 863*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_CTLSTAT; /*!< Program Burst Control and Status Register */ 864*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_STARTADDR; /*!< Program Burst Start Address Register */ 865*5fd0122aSMatthias Ringwald uint32_t RESERVED4; 866*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA0_0; /*!< Program Burst Data0 Register0 */ 867*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA0_1; /*!< Program Burst Data0 Register1 */ 868*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA0_2; /*!< Program Burst Data0 Register2 */ 869*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA0_3; /*!< Program Burst Data0 Register3 */ 870*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA1_0; /*!< Program Burst Data1 Register0 */ 871*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA1_1; /*!< Program Burst Data1 Register1 */ 872*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA1_2; /*!< Program Burst Data1 Register2 */ 873*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA1_3; /*!< Program Burst Data1 Register3 */ 874*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA2_0; /*!< Program Burst Data2 Register0 */ 875*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA2_1; /*!< Program Burst Data2 Register1 */ 876*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA2_2; /*!< Program Burst Data2 Register2 */ 877*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA2_3; /*!< Program Burst Data2 Register3 */ 878*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA3_0; /*!< Program Burst Data3 Register0 */ 879*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA3_1; /*!< Program Burst Data3 Register1 */ 880*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA3_2; /*!< Program Burst Data3 Register2 */ 881*5fd0122aSMatthias Ringwald __IO uint32_t PRGBRST_DATA3_3; /*!< Program Burst Data3 Register3 */ 882*5fd0122aSMatthias Ringwald __IO uint32_t ERASE_CTLSTAT; /*!< Erase Control and Status Register */ 883*5fd0122aSMatthias Ringwald __IO uint32_t ERASE_SECTADDR; /*!< Erase Sector Address Register */ 884*5fd0122aSMatthias Ringwald uint32_t RESERVED5[2]; 885*5fd0122aSMatthias Ringwald __IO uint32_t BANK0_INFO_WEPROT; /*!< Information Memory Bank0 Write/Erase Protection Register */ 886*5fd0122aSMatthias Ringwald __IO uint32_t BANK0_MAIN_WEPROT; /*!< Main Memory Bank0 Write/Erase Protection Register */ 887*5fd0122aSMatthias Ringwald uint32_t RESERVED6[2]; 888*5fd0122aSMatthias Ringwald __IO uint32_t BANK1_INFO_WEPROT; /*!< Information Memory Bank1 Write/Erase Protection Register */ 889*5fd0122aSMatthias Ringwald __IO uint32_t BANK1_MAIN_WEPROT; /*!< Main Memory Bank1 Write/Erase Protection Register */ 890*5fd0122aSMatthias Ringwald uint32_t RESERVED7[2]; 891*5fd0122aSMatthias Ringwald __IO uint32_t BMRK_CTLSTAT; /*!< Benchmark Control and Status Register */ 892*5fd0122aSMatthias Ringwald __IO uint32_t BMRK_IFETCH; /*!< Benchmark Instruction Fetch Count Register */ 893*5fd0122aSMatthias Ringwald __IO uint32_t BMRK_DREAD; /*!< Benchmark Data Read Count Register */ 894*5fd0122aSMatthias Ringwald __IO uint32_t BMRK_CMP; /*!< Benchmark Count Compare Register */ 895*5fd0122aSMatthias Ringwald uint32_t RESERVED8[4]; 896*5fd0122aSMatthias Ringwald __IO uint32_t IFG; /*!< Interrupt Flag Register */ 897*5fd0122aSMatthias Ringwald __IO uint32_t IE; /*!< Interrupt Enable Register */ 898*5fd0122aSMatthias Ringwald __IO uint32_t CLRIFG; /*!< Clear Interrupt Flag Register */ 899*5fd0122aSMatthias Ringwald __IO uint32_t SETIFG; /*!< Set Interrupt Flag Register */ 900*5fd0122aSMatthias Ringwald __I uint32_t READ_TIMCTL; /*!< Read Timing Control Register */ 901*5fd0122aSMatthias Ringwald __I uint32_t READMARGIN_TIMCTL; /*!< Read Margin Timing Control Register */ 902*5fd0122aSMatthias Ringwald __I uint32_t PRGVER_TIMCTL; /*!< Program Verify Timing Control Register */ 903*5fd0122aSMatthias Ringwald __I uint32_t ERSVER_TIMCTL; /*!< Erase Verify Timing Control Register */ 904*5fd0122aSMatthias Ringwald __I uint32_t LKGVER_TIMCTL; /*!< Leakage Verify Timing Control Register */ 905*5fd0122aSMatthias Ringwald __I uint32_t PROGRAM_TIMCTL; /*!< Program Timing Control Register */ 906*5fd0122aSMatthias Ringwald __I uint32_t ERASE_TIMCTL; /*!< Erase Timing Control Register */ 907*5fd0122aSMatthias Ringwald __I uint32_t MASSERASE_TIMCTL; /*!< Mass Erase Timing Control Register */ 908*5fd0122aSMatthias Ringwald __I uint32_t BURSTPRG_TIMCTL; /*!< Burst Program Timing Control Register */ 909*5fd0122aSMatthias Ringwald } FLCTL_Type; 910*5fd0122aSMatthias Ringwald 911*5fd0122aSMatthias Ringwald /*@}*/ /* end of group FLCTL */ 912*5fd0122aSMatthias Ringwald 913*5fd0122aSMatthias Ringwald 914*5fd0122aSMatthias Ringwald /****************************************************************************** 915*5fd0122aSMatthias Ringwald * FL_BOOTOVER_MAILBOX Registers 916*5fd0122aSMatthias Ringwald ******************************************************************************/ 917*5fd0122aSMatthias Ringwald /** @addtogroup SEC_ZONE_PARAMS MSP432P401R (FL_BOOTOVER_MAILBOX) 918*5fd0122aSMatthias Ringwald @{ 919*5fd0122aSMatthias Ringwald */ 920*5fd0122aSMatthias Ringwald typedef struct { 921*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_SECEN; /*!< IP Protection Secure Zone Enable. */ 922*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_START_ADDR; /*!< Start address of IP protected secure zone. */ 923*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_LENGTH; /*!< Length of IP protected secure zone in number of bytes. */ 924*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_AESINIT_VECT[4]; /*!< IP protected secure zone 0 AES initialization vector */ 925*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_SECKEYS[8]; /*!< AES-CBC security keys. */ 926*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_UNENC_PWD[4]; /*!< Unencrypted password for authentication. */ 927*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_ENCUPDATE_EN; /*!< IP Protected Secure Zone Encrypted In-field Update Enable */ 928*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_DATA_EN; /*!< IP Protected Secure Zone Data Access Enable */ 929*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_ACK; /*!< Acknowledgment for IP Protection Secure Zone Enable Command. */ 930*5fd0122aSMatthias Ringwald uint32_t RESERVED0[2]; 931*5fd0122aSMatthias Ringwald } SEC_ZONE_PARAMS_Type; 932*5fd0122aSMatthias Ringwald 933*5fd0122aSMatthias Ringwald /*@}*/ /* end of group SEC_ZONE_PARAMS */ 934*5fd0122aSMatthias Ringwald 935*5fd0122aSMatthias Ringwald /** @addtogroup SEC_ZONE_UPDATE MSP432P401R (FL_BOOTOVER_MAILBOX) 936*5fd0122aSMatthias Ringwald @{ 937*5fd0122aSMatthias Ringwald */ 938*5fd0122aSMatthias Ringwald typedef struct { 939*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_PAYLOADADDR; /*!< Start address where the payload is loaded in the device. */ 940*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_PAYLOADLEN; /*!< Length of the payload in bytes. */ 941*5fd0122aSMatthias Ringwald __IO uint32_t SEC_ZONE_UPDATE_ACK; /*!< Acknowledgment for the IP Protected Secure Zone Update Command */ 942*5fd0122aSMatthias Ringwald uint32_t RESERVED0; 943*5fd0122aSMatthias Ringwald } SEC_ZONE_UPDATE_Type; 944*5fd0122aSMatthias Ringwald 945*5fd0122aSMatthias Ringwald /*@}*/ /* end of group SEC_ZONE_UPDATE */ 946*5fd0122aSMatthias Ringwald 947*5fd0122aSMatthias Ringwald /** @addtogroup FL_BOOTOVER_MAILBOX MSP432P401R (FL_BOOTOVER_MAILBOX) 948*5fd0122aSMatthias Ringwald @{ 949*5fd0122aSMatthias Ringwald */ 950*5fd0122aSMatthias Ringwald typedef struct { 951*5fd0122aSMatthias Ringwald __IO uint32_t MB_START; /*!< Flash MailBox start: 0x0115ACF6 */ 952*5fd0122aSMatthias Ringwald __IO uint32_t CMD; /*!< Command for Boot override operations. */ 953*5fd0122aSMatthias Ringwald uint32_t RESERVED0[2]; 954*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_SECEN; /*!< JTAG and SWD Lock Enable */ 955*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_AES_INIT_VECT[4]; /*!< JTAG and SWD lock AES initialization vector for AES-CBC */ 956*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_AES_SECKEYS[8]; /*!< JTAG and SWD lock AES CBC security Keys 0-7. */ 957*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_UNENC_PWD[4]; /*!< JTAG and SWD lock unencrypted password */ 958*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_ACK; /*!< Acknowledgment for JTAG and SWD Lock command */ 959*5fd0122aSMatthias Ringwald uint32_t RESERVED1[2]; 960*5fd0122aSMatthias Ringwald SEC_ZONE_PARAMS_Type SEC_ZONE_PARAMS[4]; 961*5fd0122aSMatthias Ringwald __IO uint32_t BSL_ENABLE; /*!< BSL Enable. */ 962*5fd0122aSMatthias Ringwald __IO uint32_t BSL_START_ADDRESS; /*!< Contains the pointer to the BSL function. */ 963*5fd0122aSMatthias Ringwald __IO uint32_t BSL_PARAMETERS; /*!< BSL hardware invoke conifguration field. */ 964*5fd0122aSMatthias Ringwald uint32_t RESERVED2[2]; 965*5fd0122aSMatthias Ringwald __IO uint32_t BSL_ACK; /*!< Acknowledgment for the BSL Configuration Command */ 966*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_ENCPAYLOADADD; /*!< Start address where the payload is loaded in the device. */ 967*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_ENCPAYLOADLEN; /*!< Length of the encrypted payload in bytes */ 968*5fd0122aSMatthias Ringwald __IO uint32_t JTAG_SWD_LOCK_DST_ADDR; /*!< Destination address where the final data needs to be stored into the device. */ 969*5fd0122aSMatthias Ringwald __IO uint32_t ENC_UPDATE_ACK; /*!< Acknowledgment for JTAG and SWD Lock Encrypted Update Command */ 970*5fd0122aSMatthias Ringwald uint32_t RESERVED3; 971*5fd0122aSMatthias Ringwald SEC_ZONE_UPDATE_Type SEC_ZONE_UPDATE[4]; 972*5fd0122aSMatthias Ringwald uint32_t RESERVED4; 973*5fd0122aSMatthias Ringwald __IO uint32_t FACTORY_RESET_ENABLE; /*!< Enable/Disable Factory Reset */ 974*5fd0122aSMatthias Ringwald __IO uint32_t FACTORY_RESET_PWDEN; /*!< Factory reset password enable */ 975*5fd0122aSMatthias Ringwald __IO uint32_t FACTORY_RESET_PWD[4]; /*!< 128-bit Password for factory reset to be saved into the device. */ 976*5fd0122aSMatthias Ringwald __IO uint32_t FACTORY_RESET_PARAMS_ACK; /*!< Acknowledgment for the Factory Reset Params Command */ 977*5fd0122aSMatthias Ringwald uint32_t RESERVED5; 978*5fd0122aSMatthias Ringwald __IO uint32_t FACTORY_RESET_PASSWORD[4]; /*!< 128-bit Password for factory reset. */ 979*5fd0122aSMatthias Ringwald __IO uint32_t FACTORY_RESET_ACK; /*!< Acknowledgment for the Factory Reset Command */ 980*5fd0122aSMatthias Ringwald uint32_t RESERVED6[2]; 981*5fd0122aSMatthias Ringwald __IO uint32_t MB_END; /*!< Mailbox end */ 982*5fd0122aSMatthias Ringwald } FL_BOOTOVER_MAILBOX_Type; 983*5fd0122aSMatthias Ringwald 984*5fd0122aSMatthias Ringwald /*@}*/ /* end of group FL_BOOTOVER_MAILBOX */ 985*5fd0122aSMatthias Ringwald 986*5fd0122aSMatthias Ringwald 987*5fd0122aSMatthias Ringwald /****************************************************************************** 988*5fd0122aSMatthias Ringwald * PCM Registers 989*5fd0122aSMatthias Ringwald ******************************************************************************/ 990*5fd0122aSMatthias Ringwald /** @addtogroup PCM MSP432P401R (PCM) 991*5fd0122aSMatthias Ringwald @{ 992*5fd0122aSMatthias Ringwald */ 993*5fd0122aSMatthias Ringwald typedef struct { 994*5fd0122aSMatthias Ringwald __IO uint32_t CTL0; /*!< Control 0 Register */ 995*5fd0122aSMatthias Ringwald __IO uint32_t CTL1; /*!< Control 1 Register */ 996*5fd0122aSMatthias Ringwald __IO uint32_t IE; /*!< Interrupt Enable Register */ 997*5fd0122aSMatthias Ringwald __I uint32_t IFG; /*!< Interrupt Flag Register */ 998*5fd0122aSMatthias Ringwald __O uint32_t CLRIFG; /*!< Clear Interrupt Flag Register */ 999*5fd0122aSMatthias Ringwald } PCM_Type; 1000*5fd0122aSMatthias Ringwald 1001*5fd0122aSMatthias Ringwald /*@}*/ /* end of group PCM */ 1002*5fd0122aSMatthias Ringwald 1003*5fd0122aSMatthias Ringwald 1004*5fd0122aSMatthias Ringwald /****************************************************************************** 1005*5fd0122aSMatthias Ringwald * PMAP Registers 1006*5fd0122aSMatthias Ringwald ******************************************************************************/ 1007*5fd0122aSMatthias Ringwald /** @addtogroup PMAP MSP432P401R (PMAP) 1008*5fd0122aSMatthias Ringwald @{ 1009*5fd0122aSMatthias Ringwald */ 1010*5fd0122aSMatthias Ringwald typedef struct { 1011*5fd0122aSMatthias Ringwald __IO uint16_t KEYID; 1012*5fd0122aSMatthias Ringwald __IO uint16_t CTL; 1013*5fd0122aSMatthias Ringwald } PMAP_COMMON_Type; 1014*5fd0122aSMatthias Ringwald 1015*5fd0122aSMatthias Ringwald typedef struct { 1016*5fd0122aSMatthias Ringwald union { 1017*5fd0122aSMatthias Ringwald __IO uint16_t PMAP_REGISTER[4]; 1018*5fd0122aSMatthias Ringwald struct { 1019*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER0; 1020*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER1; 1021*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER2; 1022*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER3; 1023*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER4; 1024*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER5; 1025*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER6; 1026*5fd0122aSMatthias Ringwald __IO uint8_t PMAP_REGISTER7; 1027*5fd0122aSMatthias Ringwald }; 1028*5fd0122aSMatthias Ringwald }; 1029*5fd0122aSMatthias Ringwald } PMAP_REGISTER_Type; 1030*5fd0122aSMatthias Ringwald 1031*5fd0122aSMatthias Ringwald /*@}*/ /* end of group PMAP */ 1032*5fd0122aSMatthias Ringwald 1033*5fd0122aSMatthias Ringwald 1034*5fd0122aSMatthias Ringwald /****************************************************************************** 1035*5fd0122aSMatthias Ringwald * PSS Registers 1036*5fd0122aSMatthias Ringwald ******************************************************************************/ 1037*5fd0122aSMatthias Ringwald /** @addtogroup PSS MSP432P401R (PSS) 1038*5fd0122aSMatthias Ringwald @{ 1039*5fd0122aSMatthias Ringwald */ 1040*5fd0122aSMatthias Ringwald typedef struct { 1041*5fd0122aSMatthias Ringwald __IO uint32_t KEY; /*!< Key Register */ 1042*5fd0122aSMatthias Ringwald __IO uint32_t CTL0; /*!< Control 0 Register */ 1043*5fd0122aSMatthias Ringwald uint32_t RESERVED0[11]; 1044*5fd0122aSMatthias Ringwald __IO uint32_t IE; /*!< Interrupt Enable Register */ 1045*5fd0122aSMatthias Ringwald __I uint32_t IFG; /*!< Interrupt Flag Register */ 1046*5fd0122aSMatthias Ringwald __IO uint32_t CLRIFG; /*!< Clear Interrupt Flag Register */ 1047*5fd0122aSMatthias Ringwald } PSS_Type; 1048*5fd0122aSMatthias Ringwald 1049*5fd0122aSMatthias Ringwald /*@}*/ /* end of group PSS */ 1050*5fd0122aSMatthias Ringwald 1051*5fd0122aSMatthias Ringwald 1052*5fd0122aSMatthias Ringwald /****************************************************************************** 1053*5fd0122aSMatthias Ringwald * REF_A Registers 1054*5fd0122aSMatthias Ringwald ******************************************************************************/ 1055*5fd0122aSMatthias Ringwald /** @addtogroup REF_A MSP432P401R (REF_A) 1056*5fd0122aSMatthias Ringwald @{ 1057*5fd0122aSMatthias Ringwald */ 1058*5fd0122aSMatthias Ringwald typedef struct { 1059*5fd0122aSMatthias Ringwald __IO uint16_t CTL0; /*!< REF Control Register 0 */ 1060*5fd0122aSMatthias Ringwald } REF_A_Type; 1061*5fd0122aSMatthias Ringwald 1062*5fd0122aSMatthias Ringwald /*@}*/ /* end of group REF_A */ 1063*5fd0122aSMatthias Ringwald 1064*5fd0122aSMatthias Ringwald 1065*5fd0122aSMatthias Ringwald /****************************************************************************** 1066*5fd0122aSMatthias Ringwald * RSTCTL Registers 1067*5fd0122aSMatthias Ringwald ******************************************************************************/ 1068*5fd0122aSMatthias Ringwald /** @addtogroup RSTCTL MSP432P401R (RSTCTL) 1069*5fd0122aSMatthias Ringwald @{ 1070*5fd0122aSMatthias Ringwald */ 1071*5fd0122aSMatthias Ringwald typedef struct { 1072*5fd0122aSMatthias Ringwald __IO uint32_t RESET_REQ; /*!< Reset Request Register */ 1073*5fd0122aSMatthias Ringwald __I uint32_t HARDRESET_STAT; /*!< Hard Reset Status Register */ 1074*5fd0122aSMatthias Ringwald __IO uint32_t HARDRESET_CLR; /*!< Hard Reset Status Clear Register */ 1075*5fd0122aSMatthias Ringwald __IO uint32_t HARDRESET_SET; /*!< Hard Reset Status Set Register */ 1076*5fd0122aSMatthias Ringwald __I uint32_t SOFTRESET_STAT; /*!< Soft Reset Status Register */ 1077*5fd0122aSMatthias Ringwald __IO uint32_t SOFTRESET_CLR; /*!< Soft Reset Status Clear Register */ 1078*5fd0122aSMatthias Ringwald __IO uint32_t SOFTRESET_SET; /*!< Soft Reset Status Set Register */ 1079*5fd0122aSMatthias Ringwald uint32_t RESERVED0[57]; 1080*5fd0122aSMatthias Ringwald __I uint32_t PSSRESET_STAT; /*!< PSS Reset Status Register */ 1081*5fd0122aSMatthias Ringwald __IO uint32_t PSSRESET_CLR; /*!< PSS Reset Status Clear Register */ 1082*5fd0122aSMatthias Ringwald __I uint32_t PCMRESET_STAT; /*!< PCM Reset Status Register */ 1083*5fd0122aSMatthias Ringwald __IO uint32_t PCMRESET_CLR; /*!< PCM Reset Status Clear Register */ 1084*5fd0122aSMatthias Ringwald __I uint32_t PINRESET_STAT; /*!< Pin Reset Status Register */ 1085*5fd0122aSMatthias Ringwald __IO uint32_t PINRESET_CLR; /*!< Pin Reset Status Clear Register */ 1086*5fd0122aSMatthias Ringwald __I uint32_t REBOOTRESET_STAT; /*!< Reboot Reset Status Register */ 1087*5fd0122aSMatthias Ringwald __IO uint32_t REBOOTRESET_CLR; /*!< Reboot Reset Status Clear Register */ 1088*5fd0122aSMatthias Ringwald __I uint32_t CSRESET_STAT; /*!< CS Reset Status Register */ 1089*5fd0122aSMatthias Ringwald __IO uint32_t CSRESET_CLR; /*!< CS Reset Status Clear Register */ 1090*5fd0122aSMatthias Ringwald } RSTCTL_Type; 1091*5fd0122aSMatthias Ringwald 1092*5fd0122aSMatthias Ringwald /*@}*/ /* end of group RSTCTL */ 1093*5fd0122aSMatthias Ringwald 1094*5fd0122aSMatthias Ringwald 1095*5fd0122aSMatthias Ringwald /****************************************************************************** 1096*5fd0122aSMatthias Ringwald * RTC_C Registers 1097*5fd0122aSMatthias Ringwald ******************************************************************************/ 1098*5fd0122aSMatthias Ringwald /** @addtogroup RTC_C MSP432P401R (RTC_C) 1099*5fd0122aSMatthias Ringwald @{ 1100*5fd0122aSMatthias Ringwald */ 1101*5fd0122aSMatthias Ringwald typedef struct { 1102*5fd0122aSMatthias Ringwald __IO uint16_t CTL0; /*!< RTCCTL0 Register */ 1103*5fd0122aSMatthias Ringwald __IO uint16_t CTL13; /*!< RTCCTL13 Register */ 1104*5fd0122aSMatthias Ringwald __IO uint16_t OCAL; /*!< RTCOCAL Register */ 1105*5fd0122aSMatthias Ringwald __IO uint16_t TCMP; /*!< RTCTCMP Register */ 1106*5fd0122aSMatthias Ringwald __IO uint16_t PS0CTL; /*!< Real-Time Clock Prescale Timer 0 Control Register */ 1107*5fd0122aSMatthias Ringwald __IO uint16_t PS1CTL; /*!< Real-Time Clock Prescale Timer 1 Control Register */ 1108*5fd0122aSMatthias Ringwald __IO uint16_t PS; /*!< Real-Time Clock Prescale Timer Counter Register */ 1109*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< Real-Time Clock Interrupt Vector Register */ 1110*5fd0122aSMatthias Ringwald __IO uint16_t TIM0; /*!< RTCTIM0 Register Hexadecimal Format */ 1111*5fd0122aSMatthias Ringwald __IO uint16_t TIM1; /*!< Real-Time Clock Hour, Day of Week */ 1112*5fd0122aSMatthias Ringwald __IO uint16_t DATE; /*!< RTCDATE - Hexadecimal Format */ 1113*5fd0122aSMatthias Ringwald __IO uint16_t YEAR; /*!< RTCYEAR Register Hexadecimal Format */ 1114*5fd0122aSMatthias Ringwald __IO uint16_t AMINHR; /*!< RTCMINHR - Hexadecimal Format */ 1115*5fd0122aSMatthias Ringwald __IO uint16_t ADOWDAY; /*!< RTCADOWDAY - Hexadecimal Format */ 1116*5fd0122aSMatthias Ringwald __IO uint16_t BIN2BCD; /*!< Binary-to-BCD Conversion Register */ 1117*5fd0122aSMatthias Ringwald __IO uint16_t BCD2BIN; /*!< BCD-to-Binary Conversion Register */ 1118*5fd0122aSMatthias Ringwald } RTC_C_Type; 1119*5fd0122aSMatthias Ringwald 1120*5fd0122aSMatthias Ringwald /*@}*/ /* end of group RTC_C */ 1121*5fd0122aSMatthias Ringwald 1122*5fd0122aSMatthias Ringwald /** @addtogroup RTC_C_BCD MSP432P401R (RTC_C_BCD) 1123*5fd0122aSMatthias Ringwald @{ 1124*5fd0122aSMatthias Ringwald */ 1125*5fd0122aSMatthias Ringwald typedef struct { 1126*5fd0122aSMatthias Ringwald uint16_t RESERVED0[8]; 1127*5fd0122aSMatthias Ringwald __IO uint16_t TIM0; /*!< Real-Time Clock Seconds, Minutes Register - BCD Format */ 1128*5fd0122aSMatthias Ringwald __IO uint16_t TIM1; /*!< Real-Time Clock Hour, Day of Week - BCD Format */ 1129*5fd0122aSMatthias Ringwald __IO uint16_t DATE; /*!< Real-Time Clock Date - BCD Format */ 1130*5fd0122aSMatthias Ringwald __IO uint16_t YEAR; /*!< Real-Time Clock Year Register - BCD Format */ 1131*5fd0122aSMatthias Ringwald __IO uint16_t AMINHR; /*!< Real-Time Clock Minutes, Hour Alarm - BCD Format */ 1132*5fd0122aSMatthias Ringwald __IO uint16_t ADOWDAY; /*!< Real-Time Clock Day of Week, Day of Month Alarm - BCD Format */ 1133*5fd0122aSMatthias Ringwald } RTC_C_BCD_Type; 1134*5fd0122aSMatthias Ringwald 1135*5fd0122aSMatthias Ringwald /*@}*/ /* end of group RTC_C_BCD */ 1136*5fd0122aSMatthias Ringwald 1137*5fd0122aSMatthias Ringwald 1138*5fd0122aSMatthias Ringwald /****************************************************************************** 1139*5fd0122aSMatthias Ringwald * SYSCTL Registers 1140*5fd0122aSMatthias Ringwald ******************************************************************************/ 1141*5fd0122aSMatthias Ringwald /** @addtogroup SYSCTL MSP432P401R (SYSCTL) 1142*5fd0122aSMatthias Ringwald @{ 1143*5fd0122aSMatthias Ringwald */ 1144*5fd0122aSMatthias Ringwald typedef struct { 1145*5fd0122aSMatthias Ringwald __IO uint32_t REBOOT_CTL; /*!< Reboot Control Register */ 1146*5fd0122aSMatthias Ringwald __IO uint32_t NMI_CTLSTAT; /*!< NMI Control and Status Register */ 1147*5fd0122aSMatthias Ringwald __IO uint32_t WDTRESET_CTL; /*!< Watchdog Reset Control Register */ 1148*5fd0122aSMatthias Ringwald __IO uint32_t PERIHALT_CTL; /*!< Peripheral Halt Control Register */ 1149*5fd0122aSMatthias Ringwald __I uint32_t SRAM_SIZE; /*!< SRAM Size Register */ 1150*5fd0122aSMatthias Ringwald __IO uint32_t SRAM_BANKEN; /*!< SRAM Bank Enable Register */ 1151*5fd0122aSMatthias Ringwald __IO uint32_t SRAM_BANKRET; /*!< SRAM Bank Retention Control Register */ 1152*5fd0122aSMatthias Ringwald uint32_t RESERVED0; 1153*5fd0122aSMatthias Ringwald __I uint32_t FLASH_SIZE; /*!< Flash Size Register */ 1154*5fd0122aSMatthias Ringwald uint32_t RESERVED1[3]; 1155*5fd0122aSMatthias Ringwald __IO uint32_t DIO_GLTFLT_CTL; /*!< Digital I/O Glitch Filter Control Register */ 1156*5fd0122aSMatthias Ringwald uint32_t RESERVED2[3]; 1157*5fd0122aSMatthias Ringwald __IO uint32_t SECDATA_UNLOCK; /*!< IP Protected Secure Zone Data Access Unlock Register */ 1158*5fd0122aSMatthias Ringwald } SYSCTL_Type; 1159*5fd0122aSMatthias Ringwald 1160*5fd0122aSMatthias Ringwald typedef struct { 1161*5fd0122aSMatthias Ringwald __IO uint32_t MASTER_UNLOCK; /*!< Master Unlock Register */ 1162*5fd0122aSMatthias Ringwald __IO uint32_t BOOTOVER_REQ[2]; /*!< Boot Override Request Register */ 1163*5fd0122aSMatthias Ringwald __IO uint32_t BOOTOVER_ACK; /*!< Boot Override Acknowledge Register */ 1164*5fd0122aSMatthias Ringwald __IO uint32_t RESET_REQ; /*!< Reset Request Register */ 1165*5fd0122aSMatthias Ringwald __IO uint32_t RESET_STATOVER; /*!< Reset Status and Override Register */ 1166*5fd0122aSMatthias Ringwald uint32_t RESERVED7[2]; 1167*5fd0122aSMatthias Ringwald __I uint32_t SYSTEM_STAT; /*!< System Status Register */ 1168*5fd0122aSMatthias Ringwald } SYSCTL_Boot_Type; 1169*5fd0122aSMatthias Ringwald 1170*5fd0122aSMatthias Ringwald /*@}*/ /* end of group SYSCTL */ 1171*5fd0122aSMatthias Ringwald 1172*5fd0122aSMatthias Ringwald 1173*5fd0122aSMatthias Ringwald /****************************************************************************** 1174*5fd0122aSMatthias Ringwald * Timer32 Registers 1175*5fd0122aSMatthias Ringwald ******************************************************************************/ 1176*5fd0122aSMatthias Ringwald /** @addtogroup Timer32 MSP432P401R (Timer32) 1177*5fd0122aSMatthias Ringwald @{ 1178*5fd0122aSMatthias Ringwald */ 1179*5fd0122aSMatthias Ringwald typedef struct { 1180*5fd0122aSMatthias Ringwald __IO uint32_t LOAD; /*!< Timer Load Register */ 1181*5fd0122aSMatthias Ringwald __I uint32_t VALUE; /*!< Timer Current Value Register */ 1182*5fd0122aSMatthias Ringwald __IO uint32_t CONTROL; /*!< Timer Control Register */ 1183*5fd0122aSMatthias Ringwald __O uint32_t INTCLR; /*!< Timer Interrupt Clear Register */ 1184*5fd0122aSMatthias Ringwald __I uint32_t RIS; /*!< Timer Raw Interrupt Status Register */ 1185*5fd0122aSMatthias Ringwald __I uint32_t MIS; /*!< Timer Interrupt Status Register */ 1186*5fd0122aSMatthias Ringwald __IO uint32_t BGLOAD; /*!< Timer Background Load Register */ 1187*5fd0122aSMatthias Ringwald } Timer32_Type; 1188*5fd0122aSMatthias Ringwald 1189*5fd0122aSMatthias Ringwald /*@}*/ /* end of group Timer32 */ 1190*5fd0122aSMatthias Ringwald 1191*5fd0122aSMatthias Ringwald 1192*5fd0122aSMatthias Ringwald /****************************************************************************** 1193*5fd0122aSMatthias Ringwald * Timer_A Registers 1194*5fd0122aSMatthias Ringwald ******************************************************************************/ 1195*5fd0122aSMatthias Ringwald /** @addtogroup Timer_A MSP432P401R (Timer_A) 1196*5fd0122aSMatthias Ringwald @{ 1197*5fd0122aSMatthias Ringwald */ 1198*5fd0122aSMatthias Ringwald typedef struct { 1199*5fd0122aSMatthias Ringwald __IO uint16_t CTL; /*!< TimerAx Control Register */ 1200*5fd0122aSMatthias Ringwald __IO uint16_t CCTL[5]; /*!< Timer_A Capture/Compare Control Register */ 1201*5fd0122aSMatthias Ringwald uint16_t RESERVED0[2]; 1202*5fd0122aSMatthias Ringwald __IO uint16_t R; /*!< TimerA register */ 1203*5fd0122aSMatthias Ringwald __IO uint16_t CCR[5]; /*!< Timer_A Capture/Compare Register */ 1204*5fd0122aSMatthias Ringwald uint16_t RESERVED1[2]; 1205*5fd0122aSMatthias Ringwald __IO uint16_t EX0; /*!< TimerAx Expansion 0 Register */ 1206*5fd0122aSMatthias Ringwald uint16_t RESERVED2[6]; 1207*5fd0122aSMatthias Ringwald __I uint16_t IV; /*!< TimerAx Interrupt Vector Register */ 1208*5fd0122aSMatthias Ringwald } Timer_A_Type; 1209*5fd0122aSMatthias Ringwald 1210*5fd0122aSMatthias Ringwald /*@}*/ /* end of group Timer_A */ 1211*5fd0122aSMatthias Ringwald 1212*5fd0122aSMatthias Ringwald 1213*5fd0122aSMatthias Ringwald /****************************************************************************** 1214*5fd0122aSMatthias Ringwald * TLV Registers 1215*5fd0122aSMatthias Ringwald ******************************************************************************/ 1216*5fd0122aSMatthias Ringwald /** @addtogroup TLV MSP432P401R (TLV) 1217*5fd0122aSMatthias Ringwald @{ 1218*5fd0122aSMatthias Ringwald */ 1219*5fd0122aSMatthias Ringwald typedef struct { 1220*5fd0122aSMatthias Ringwald __I uint32_t TLV_CHECKSUM; /*!< TLV Checksum */ 1221*5fd0122aSMatthias Ringwald __I uint32_t DEVICE_INFO_TAG; /*!< Device Info Tag */ 1222*5fd0122aSMatthias Ringwald __I uint32_t DEVICE_INFO_LEN; /*!< Device Info Length */ 1223*5fd0122aSMatthias Ringwald __I uint32_t DEVICE_ID; /*!< Device ID */ 1224*5fd0122aSMatthias Ringwald __I uint32_t HWREV; /*!< HW Revision */ 1225*5fd0122aSMatthias Ringwald __I uint32_t BCREV; /*!< Boot Code Revision */ 1226*5fd0122aSMatthias Ringwald __I uint32_t ROM_DRVLIB_REV; /*!< ROM Driver Library Revision */ 1227*5fd0122aSMatthias Ringwald __I uint32_t DIE_REC_TAG; /*!< Die Record Tag */ 1228*5fd0122aSMatthias Ringwald __I uint32_t DIE_REC_LEN; /*!< Die Record Length */ 1229*5fd0122aSMatthias Ringwald __I uint32_t DIE_XPOS; /*!< Die X-Position */ 1230*5fd0122aSMatthias Ringwald __I uint32_t DIE_YPOS; /*!< Die Y-Position */ 1231*5fd0122aSMatthias Ringwald __I uint32_t WAFER_ID; /*!< Wafer ID */ 1232*5fd0122aSMatthias Ringwald __I uint32_t LOT_ID; /*!< Lot ID */ 1233*5fd0122aSMatthias Ringwald __I uint32_t RESERVED0; /*!< Reserved */ 1234*5fd0122aSMatthias Ringwald __I uint32_t RESERVED1; /*!< Reserved */ 1235*5fd0122aSMatthias Ringwald __I uint32_t RESERVED2; /*!< Reserved */ 1236*5fd0122aSMatthias Ringwald __I uint32_t TEST_RESULTS; /*!< Test Results */ 1237*5fd0122aSMatthias Ringwald __I uint32_t CS_CAL_TAG; /*!< Clock System Calibration Tag */ 1238*5fd0122aSMatthias Ringwald __I uint32_t CS_CAL_LEN; /*!< Clock System Calibration Length */ 1239*5fd0122aSMatthias Ringwald __I uint32_t DCOIR_FCAL_RSEL04; /*!< DCO IR mode: Frequency calibration for DCORSEL 0 to 4 */ 1240*5fd0122aSMatthias Ringwald __I uint32_t DCOIR_FCAL_RSEL5; /*!< DCO IR mode: Frequency calibration for DCORSEL 5 */ 1241*5fd0122aSMatthias Ringwald __I uint32_t RESERVED3; /*!< Reserved */ 1242*5fd0122aSMatthias Ringwald __I uint32_t RESERVED4; /*!< Reserved */ 1243*5fd0122aSMatthias Ringwald __I uint32_t RESERVED5; /*!< Reserved */ 1244*5fd0122aSMatthias Ringwald __I uint32_t RESERVED6; /*!< Reserved */ 1245*5fd0122aSMatthias Ringwald __I uint32_t DCOIR_CONSTK_RSEL04; /*!< DCO IR mode: DCO Constant (K) for DCORSEL 0 to 4 */ 1246*5fd0122aSMatthias Ringwald __I uint32_t DCOIR_CONSTK_RSEL5; /*!< DCO IR mode: DCO Constant (K) for DCORSEL 5 */ 1247*5fd0122aSMatthias Ringwald __I uint32_t DCOER_FCAL_RSEL04; /*!< DCO ER mode: Frequency calibration for DCORSEL 0 to 4 */ 1248*5fd0122aSMatthias Ringwald __I uint32_t DCOER_FCAL_RSEL5; /*!< DCO ER mode: Frequency calibration for DCORSEL 5 */ 1249*5fd0122aSMatthias Ringwald __I uint32_t RESERVED7; /*!< Reserved */ 1250*5fd0122aSMatthias Ringwald __I uint32_t RESERVED8; /*!< Reserved */ 1251*5fd0122aSMatthias Ringwald __I uint32_t RESERVED9; /*!< Reserved */ 1252*5fd0122aSMatthias Ringwald __I uint32_t RESERVED10; /*!< Reserved */ 1253*5fd0122aSMatthias Ringwald __I uint32_t DCOER_CONSTK_RSEL04; /*!< DCO ER mode: DCO Constant (K) for DCORSEL 0 to 4 */ 1254*5fd0122aSMatthias Ringwald __I uint32_t DCOER_CONSTK_RSEL5; /*!< DCO ER mode: DCO Constant (K) for DCORSEL 5 */ 1255*5fd0122aSMatthias Ringwald __I uint32_t ADC14_CAL_TAG; /*!< ADC14 Calibration Tag */ 1256*5fd0122aSMatthias Ringwald __I uint32_t ADC14_CAL_LEN; /*!< ADC14 Calibration Length */ 1257*5fd0122aSMatthias Ringwald __I uint32_t ADC_GAIN_FACTOR; /*!< ADC Gain Factor */ 1258*5fd0122aSMatthias Ringwald __I uint32_t ADC_OFFSET; /*!< ADC Offset */ 1259*5fd0122aSMatthias Ringwald __I uint32_t RESERVED11; /*!< Reserved */ 1260*5fd0122aSMatthias Ringwald __I uint32_t RESERVED12; /*!< Reserved */ 1261*5fd0122aSMatthias Ringwald __I uint32_t RESERVED13; /*!< Reserved */ 1262*5fd0122aSMatthias Ringwald __I uint32_t RESERVED14; /*!< Reserved */ 1263*5fd0122aSMatthias Ringwald __I uint32_t RESERVED15; /*!< Reserved */ 1264*5fd0122aSMatthias Ringwald __I uint32_t RESERVED16; /*!< Reserved */ 1265*5fd0122aSMatthias Ringwald __I uint32_t RESERVED17; /*!< Reserved */ 1266*5fd0122aSMatthias Ringwald __I uint32_t RESERVED18; /*!< Reserved */ 1267*5fd0122aSMatthias Ringwald __I uint32_t RESERVED19; /*!< Reserved */ 1268*5fd0122aSMatthias Ringwald __I uint32_t RESERVED20; /*!< Reserved */ 1269*5fd0122aSMatthias Ringwald __I uint32_t RESERVED21; /*!< Reserved */ 1270*5fd0122aSMatthias Ringwald __I uint32_t RESERVED22; /*!< Reserved */ 1271*5fd0122aSMatthias Ringwald __I uint32_t RESERVED23; /*!< Reserved */ 1272*5fd0122aSMatthias Ringwald __I uint32_t RESERVED24; /*!< Reserved */ 1273*5fd0122aSMatthias Ringwald __I uint32_t RESERVED25; /*!< Reserved */ 1274*5fd0122aSMatthias Ringwald __I uint32_t RESERVED26; /*!< Reserved */ 1275*5fd0122aSMatthias Ringwald __I uint32_t ADC14_REF1P2V_TS30C; /*!< ADC14 1.2V Reference Temp. Sensor 30C */ 1276*5fd0122aSMatthias Ringwald __I uint32_t ADC14_REF1P2V_TS85C; /*!< ADC14 1.2V Reference Temp. Sensor 85C */ 1277*5fd0122aSMatthias Ringwald __I uint32_t ADC14_REF1P45V_TS30C; /*!< ADC14 1.45V Reference Temp. Sensor 30C */ 1278*5fd0122aSMatthias Ringwald __I uint32_t ADC14_REF1P45V_TS85C; /*!< ADC14 1.45V Reference Temp. Sensor 85C */ 1279*5fd0122aSMatthias Ringwald __I uint32_t ADC14_REF2P5V_TS30C; /*!< ADC14 2.5V Reference Temp. Sensor 30C */ 1280*5fd0122aSMatthias Ringwald __I uint32_t ADC14_REF2P5V_TS85C; /*!< ADC14 2.5V Reference Temp. Sensor 85C */ 1281*5fd0122aSMatthias Ringwald __I uint32_t REF_CAL_TAG; /*!< REF Calibration Tag */ 1282*5fd0122aSMatthias Ringwald __I uint32_t REF_CAL_LEN; /*!< REF Calibration Length */ 1283*5fd0122aSMatthias Ringwald __I uint32_t REF_1P2V; /*!< REF 1.2V Reference */ 1284*5fd0122aSMatthias Ringwald __I uint32_t REF_1P45V; /*!< REF 1.45V Reference */ 1285*5fd0122aSMatthias Ringwald __I uint32_t REF_2P5V; /*!< REF 2.5V Reference */ 1286*5fd0122aSMatthias Ringwald __I uint32_t FLASH_INFO_TAG; /*!< Flash Info Tag */ 1287*5fd0122aSMatthias Ringwald __I uint32_t FLASH_INFO_LEN; /*!< Flash Info Length */ 1288*5fd0122aSMatthias Ringwald __I uint32_t FLASH_MAX_PROG_PULSES; /*!< Flash Maximum Programming Pulses */ 1289*5fd0122aSMatthias Ringwald __I uint32_t FLASH_MAX_ERASE_PULSES; /*!< Flash Maximum Erase Pulses */ 1290*5fd0122aSMatthias Ringwald __I uint32_t RANDOM_NUM_TAG; /*!< 128-bit Random Number Tag */ 1291*5fd0122aSMatthias Ringwald __I uint32_t RANDOM_NUM_LEN; /*!< 128-bit Random Number Length */ 1292*5fd0122aSMatthias Ringwald __I uint32_t RANDOM_NUM_1; /*!< 32-bit Random Number 1 */ 1293*5fd0122aSMatthias Ringwald __I uint32_t RANDOM_NUM_2; /*!< 32-bit Random Number 2 */ 1294*5fd0122aSMatthias Ringwald __I uint32_t RANDOM_NUM_3; /*!< 32-bit Random Number 3 */ 1295*5fd0122aSMatthias Ringwald __I uint32_t RANDOM_NUM_4; /*!< 32-bit Random Number 4 */ 1296*5fd0122aSMatthias Ringwald __I uint32_t BSL_CFG_TAG; /*!< BSL Configuration Tag */ 1297*5fd0122aSMatthias Ringwald __I uint32_t BSL_CFG_LEN; /*!< BSL Configuration Length */ 1298*5fd0122aSMatthias Ringwald __I uint32_t BSL_PERIPHIF_SEL; /*!< BSL Peripheral Interface Selection */ 1299*5fd0122aSMatthias Ringwald __I uint32_t BSL_PORTIF_CFG_UART; /*!< BSL Port Interface Configuration for UART */ 1300*5fd0122aSMatthias Ringwald __I uint32_t BSL_PORTIF_CFG_SPI; /*!< BSL Port Interface Configuration for SPI */ 1301*5fd0122aSMatthias Ringwald __I uint32_t BSL_PORTIF_CFG_I2C; /*!< BSL Port Interface Configuration for I2C */ 1302*5fd0122aSMatthias Ringwald __I uint32_t TLV_END; /*!< TLV End Word */ 1303*5fd0122aSMatthias Ringwald } TLV_Type; 1304*5fd0122aSMatthias Ringwald 1305*5fd0122aSMatthias Ringwald /*@}*/ /* end of group TLV */ 1306*5fd0122aSMatthias Ringwald 1307*5fd0122aSMatthias Ringwald 1308*5fd0122aSMatthias Ringwald /****************************************************************************** 1309*5fd0122aSMatthias Ringwald * WDT_A Registers 1310*5fd0122aSMatthias Ringwald ******************************************************************************/ 1311*5fd0122aSMatthias Ringwald /** @addtogroup WDT_A MSP432P401R (WDT_A) 1312*5fd0122aSMatthias Ringwald @{ 1313*5fd0122aSMatthias Ringwald */ 1314*5fd0122aSMatthias Ringwald typedef struct { 1315*5fd0122aSMatthias Ringwald uint16_t RESERVED0[6]; 1316*5fd0122aSMatthias Ringwald __IO uint16_t CTL; /*!< Watchdog Timer Control Register */ 1317*5fd0122aSMatthias Ringwald } WDT_A_Type; 1318*5fd0122aSMatthias Ringwald 1319*5fd0122aSMatthias Ringwald /*@}*/ /* end of group WDT_A */ 1320*5fd0122aSMatthias Ringwald 1321*5fd0122aSMatthias Ringwald 1322*5fd0122aSMatthias Ringwald /* -------------------- End of section using anonymous unions ------------------- */ 1323*5fd0122aSMatthias Ringwald #if defined(__CC_ARM) 1324*5fd0122aSMatthias Ringwald #pragma pop 1325*5fd0122aSMatthias Ringwald #elif defined(__ICCARM__) 1326*5fd0122aSMatthias Ringwald /* leave anonymous unions enabled */ 1327*5fd0122aSMatthias Ringwald #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 1328*5fd0122aSMatthias Ringwald #pragma clang diagnostic pop 1329*5fd0122aSMatthias Ringwald #elif defined(__GNUC__) 1330*5fd0122aSMatthias Ringwald /* anonymous unions are enabled by default */ 1331*5fd0122aSMatthias Ringwald #elif defined(__TI_ARM__) 1332*5fd0122aSMatthias Ringwald /* anonymous unions are enabled by default */ 1333*5fd0122aSMatthias Ringwald #else 1334*5fd0122aSMatthias Ringwald #warning Not supported compiler type 1335*5fd0122aSMatthias Ringwald #endif 1336*5fd0122aSMatthias Ringwald 1337*5fd0122aSMatthias Ringwald /*@}*/ /* end of group MSP432P401R_Peripherals */ 1338*5fd0122aSMatthias Ringwald 1339*5fd0122aSMatthias Ringwald /****************************************************************************** 1340*5fd0122aSMatthias Ringwald * Peripheral declaration * 1341*5fd0122aSMatthias Ringwald ******************************************************************************/ 1342*5fd0122aSMatthias Ringwald /** @addtogroup MSP432P401R_PeripheralDecl MSP432P401R Peripheral Declaration 1343*5fd0122aSMatthias Ringwald @{ 1344*5fd0122aSMatthias Ringwald */ 1345*5fd0122aSMatthias Ringwald 1346*5fd0122aSMatthias Ringwald #define ADC14 ((ADC14_Type *) ADC14_BASE) 1347*5fd0122aSMatthias Ringwald #define AES256 ((AES256_Type *) AES256_BASE) 1348*5fd0122aSMatthias Ringwald #define CAPTIO0 ((CAPTIO_Type *) CAPTIO0_BASE) 1349*5fd0122aSMatthias Ringwald #define CAPTIO1 ((CAPTIO_Type *) CAPTIO1_BASE) 1350*5fd0122aSMatthias Ringwald #define COMP_E0 ((COMP_E_Type *) COMP_E0_BASE) 1351*5fd0122aSMatthias Ringwald #define COMP_E1 ((COMP_E_Type *) COMP_E1_BASE) 1352*5fd0122aSMatthias Ringwald #define CRC32 ((CRC32_Type *) CRC32_BASE) 1353*5fd0122aSMatthias Ringwald #define CS ((CS_Type *) CS_BASE) 1354*5fd0122aSMatthias Ringwald #define PA ((DIO_PORT_Interruptable_Type*) (DIO_BASE + 0x0000)) 1355*5fd0122aSMatthias Ringwald #define PB ((DIO_PORT_Interruptable_Type*) (DIO_BASE + 0x0020)) 1356*5fd0122aSMatthias Ringwald #define PC ((DIO_PORT_Interruptable_Type*) (DIO_BASE + 0x0040)) 1357*5fd0122aSMatthias Ringwald #define PD ((DIO_PORT_Interruptable_Type*) (DIO_BASE + 0x0060)) 1358*5fd0122aSMatthias Ringwald #define PE ((DIO_PORT_Interruptable_Type*) (DIO_BASE + 0x0080)) 1359*5fd0122aSMatthias Ringwald #define PJ ((DIO_PORT_Not_Interruptable_Type*) (DIO_BASE + 0x0120)) 1360*5fd0122aSMatthias Ringwald #define P1 ((DIO_PORT_Odd_Interruptable_Type*) (DIO_BASE + 0x0000)) 1361*5fd0122aSMatthias Ringwald #define P2 ((DIO_PORT_Even_Interruptable_Type*) (DIO_BASE + 0x0000)) 1362*5fd0122aSMatthias Ringwald #define P3 ((DIO_PORT_Odd_Interruptable_Type*) (DIO_BASE + 0x0020)) 1363*5fd0122aSMatthias Ringwald #define P4 ((DIO_PORT_Even_Interruptable_Type*) (DIO_BASE + 0x0020)) 1364*5fd0122aSMatthias Ringwald #define P5 ((DIO_PORT_Odd_Interruptable_Type*) (DIO_BASE + 0x0040)) 1365*5fd0122aSMatthias Ringwald #define P6 ((DIO_PORT_Even_Interruptable_Type*) (DIO_BASE + 0x0040)) 1366*5fd0122aSMatthias Ringwald #define P7 ((DIO_PORT_Odd_Interruptable_Type*) (DIO_BASE + 0x0060)) 1367*5fd0122aSMatthias Ringwald #define P8 ((DIO_PORT_Even_Interruptable_Type*) (DIO_BASE + 0x0060)) 1368*5fd0122aSMatthias Ringwald #define P9 ((DIO_PORT_Odd_Interruptable_Type*) (DIO_BASE + 0x0080)) 1369*5fd0122aSMatthias Ringwald #define P10 ((DIO_PORT_Even_Interruptable_Type*) (DIO_BASE + 0x0080)) 1370*5fd0122aSMatthias Ringwald #define DMA_Channel ((DMA_Channel_Type *) DMA_BASE) 1371*5fd0122aSMatthias Ringwald #define DMA_Control ((DMA_Control_Type *) (DMA_BASE + 0x1000)) 1372*5fd0122aSMatthias Ringwald #define EUSCI_A0 ((EUSCI_A_Type *) EUSCI_A0_BASE) 1373*5fd0122aSMatthias Ringwald #define EUSCI_A0_SPI ((EUSCI_A_SPI_Type *) EUSCI_A0_SPI_BASE) 1374*5fd0122aSMatthias Ringwald #define EUSCI_A1 ((EUSCI_A_Type *) EUSCI_A1_BASE) 1375*5fd0122aSMatthias Ringwald #define EUSCI_A1_SPI ((EUSCI_A_SPI_Type *) EUSCI_A1_SPI_BASE) 1376*5fd0122aSMatthias Ringwald #define EUSCI_A2 ((EUSCI_A_Type *) EUSCI_A2_BASE) 1377*5fd0122aSMatthias Ringwald #define EUSCI_A2_SPI ((EUSCI_A_SPI_Type *) EUSCI_A2_SPI_BASE) 1378*5fd0122aSMatthias Ringwald #define EUSCI_A3 ((EUSCI_A_Type *) EUSCI_A3_BASE) 1379*5fd0122aSMatthias Ringwald #define EUSCI_A3_SPI ((EUSCI_A_SPI_Type *) EUSCI_A3_SPI_BASE) 1380*5fd0122aSMatthias Ringwald #define EUSCI_B0 ((EUSCI_B_Type *) EUSCI_B0_BASE) 1381*5fd0122aSMatthias Ringwald #define EUSCI_B0_SPI ((EUSCI_B_SPI_Type *) EUSCI_B0_SPI_BASE) 1382*5fd0122aSMatthias Ringwald #define EUSCI_B1 ((EUSCI_B_Type *) EUSCI_B1_BASE) 1383*5fd0122aSMatthias Ringwald #define EUSCI_B1_SPI ((EUSCI_B_SPI_Type *) EUSCI_B1_SPI_BASE) 1384*5fd0122aSMatthias Ringwald #define EUSCI_B2 ((EUSCI_B_Type *) EUSCI_B2_BASE) 1385*5fd0122aSMatthias Ringwald #define EUSCI_B2_SPI ((EUSCI_B_SPI_Type *) EUSCI_B2_SPI_BASE) 1386*5fd0122aSMatthias Ringwald #define EUSCI_B3 ((EUSCI_B_Type *) EUSCI_B3_BASE) 1387*5fd0122aSMatthias Ringwald #define EUSCI_B3_SPI ((EUSCI_B_SPI_Type *) EUSCI_B3_SPI_BASE) 1388*5fd0122aSMatthias Ringwald #define FLCTL ((FLCTL_Type *) FLCTL_BASE) 1389*5fd0122aSMatthias Ringwald #define FL_BOOTOVER_MAILBOX ((FL_BOOTOVER_MAILBOX_Type *) FL_BOOTOVER_MAILBOX_BASE) 1390*5fd0122aSMatthias Ringwald #define PCM ((PCM_Type *) PCM_BASE) 1391*5fd0122aSMatthias Ringwald #define PMAP ((PMAP_COMMON_Type*) PMAP_BASE) 1392*5fd0122aSMatthias Ringwald #define P1MAP ((PMAP_REGISTER_Type*) (PMAP_BASE + 0x0008)) 1393*5fd0122aSMatthias Ringwald #define P2MAP ((PMAP_REGISTER_Type*) (PMAP_BASE + 0x0010)) 1394*5fd0122aSMatthias Ringwald #define P3MAP ((PMAP_REGISTER_Type*) (PMAP_BASE + 0x0018)) 1395*5fd0122aSMatthias Ringwald #define P4MAP ((PMAP_REGISTER_Type*) (PMAP_BASE + 0x0020)) 1396*5fd0122aSMatthias Ringwald #define P5MAP ((PMAP_REGISTER_Type*) (PMAP_BASE + 0x0028)) 1397*5fd0122aSMatthias Ringwald #define P6MAP ((PMAP_REGISTER_Type*) (PMAP_BASE + 0x0030)) 1398*5fd0122aSMatthias Ringwald #define P7MAP ((PMAP_REGISTER_Type*) (PMAP_BASE + 0x0038)) 1399*5fd0122aSMatthias Ringwald #define PSS ((PSS_Type *) PSS_BASE) 1400*5fd0122aSMatthias Ringwald #define REF_A ((REF_A_Type *) REF_A_BASE) 1401*5fd0122aSMatthias Ringwald #define RSTCTL ((RSTCTL_Type *) RSTCTL_BASE) 1402*5fd0122aSMatthias Ringwald #define RTC_C ((RTC_C_Type *) RTC_C_BASE) 1403*5fd0122aSMatthias Ringwald #define RTC_C_BCD ((RTC_C_BCD_Type *) RTC_C_BCD_BASE) 1404*5fd0122aSMatthias Ringwald #define SYSCTL ((SYSCTL_Type *) SYSCTL_BASE) 1405*5fd0122aSMatthias Ringwald #define SYSCTL_Boot ((SYSCTL_Boot_Type *) (SYSCTL_BASE + 0x1000)) 1406*5fd0122aSMatthias Ringwald #define TIMER32_1 ((Timer32_Type *) TIMER32_BASE) 1407*5fd0122aSMatthias Ringwald #define TIMER32_2 ((Timer32_Type *) (TIMER32_BASE + 0x00020)) 1408*5fd0122aSMatthias Ringwald #define TIMER_A0 ((Timer_A_Type *) TIMER_A0_BASE) 1409*5fd0122aSMatthias Ringwald #define TIMER_A1 ((Timer_A_Type *) TIMER_A1_BASE) 1410*5fd0122aSMatthias Ringwald #define TIMER_A2 ((Timer_A_Type *) TIMER_A2_BASE) 1411*5fd0122aSMatthias Ringwald #define TIMER_A3 ((Timer_A_Type *) TIMER_A3_BASE) 1412*5fd0122aSMatthias Ringwald #define TLV ((TLV_Type *) TLV_BASE) 1413*5fd0122aSMatthias Ringwald #define WDT_A ((WDT_A_Type *) WDT_A_BASE) 1414*5fd0122aSMatthias Ringwald 1415*5fd0122aSMatthias Ringwald 1416*5fd0122aSMatthias Ringwald /*@}*/ /* end of group MSP432P401R_PeripheralDecl */ 1417*5fd0122aSMatthias Ringwald 1418*5fd0122aSMatthias Ringwald /*@}*/ /* end of group MSP432P401R_Definitions */ 1419*5fd0122aSMatthias Ringwald 1420*5fd0122aSMatthias Ringwald #endif /* __CMSIS_CONFIG__ */ 1421*5fd0122aSMatthias Ringwald 1422*5fd0122aSMatthias Ringwald /****************************************************************************** 1423*5fd0122aSMatthias Ringwald * Peripheral register control bits * 1424*5fd0122aSMatthias Ringwald ******************************************************************************/ 1425*5fd0122aSMatthias Ringwald 1426*5fd0122aSMatthias Ringwald /****************************************************************************** 1427*5fd0122aSMatthias Ringwald * ADC14 Bits 1428*5fd0122aSMatthias Ringwald ******************************************************************************/ 1429*5fd0122aSMatthias Ringwald /* ADC14_CTL0[SC] Bits */ 1430*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SC_OFS ( 0) /*!< ADC14SC Bit Offset */ 1431*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SC ((uint32_t)0x00000001) /*!< ADC14 start conversion */ 1432*5fd0122aSMatthias Ringwald /* ADC14_CTL0[ENC] Bits */ 1433*5fd0122aSMatthias Ringwald #define ADC14_CTL0_ENC_OFS ( 1) /*!< ADC14ENC Bit Offset */ 1434*5fd0122aSMatthias Ringwald #define ADC14_CTL0_ENC ((uint32_t)0x00000002) /*!< ADC14 enable conversion */ 1435*5fd0122aSMatthias Ringwald /* ADC14_CTL0[ON] Bits */ 1436*5fd0122aSMatthias Ringwald #define ADC14_CTL0_ON_OFS ( 4) /*!< ADC14ON Bit Offset */ 1437*5fd0122aSMatthias Ringwald #define ADC14_CTL0_ON ((uint32_t)0x00000010) /*!< ADC14 on */ 1438*5fd0122aSMatthias Ringwald /* ADC14_CTL0[MSC] Bits */ 1439*5fd0122aSMatthias Ringwald #define ADC14_CTL0_MSC_OFS ( 7) /*!< ADC14MSC Bit Offset */ 1440*5fd0122aSMatthias Ringwald #define ADC14_CTL0_MSC ((uint32_t)0x00000080) /*!< ADC14 multiple sample and conversion */ 1441*5fd0122aSMatthias Ringwald /* ADC14_CTL0[SHT0] Bits */ 1442*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_OFS ( 8) /*!< ADC14SHT0 Bit Offset */ 1443*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_MASK ((uint32_t)0x00000F00) /*!< ADC14SHT0 Bit Mask */ 1444*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT00 ((uint32_t)0x00000100) /*!< SHT0 Bit 0 */ 1445*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT01 ((uint32_t)0x00000200) /*!< SHT0 Bit 1 */ 1446*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT02 ((uint32_t)0x00000400) /*!< SHT0 Bit 2 */ 1447*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT03 ((uint32_t)0x00000800) /*!< SHT0 Bit 3 */ 1448*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_0 ((uint32_t)0x00000000) /*!< 4 */ 1449*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_1 ((uint32_t)0x00000100) /*!< 8 */ 1450*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_2 ((uint32_t)0x00000200) /*!< 16 */ 1451*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_3 ((uint32_t)0x00000300) /*!< 32 */ 1452*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_4 ((uint32_t)0x00000400) /*!< 64 */ 1453*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_5 ((uint32_t)0x00000500) /*!< 96 */ 1454*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_6 ((uint32_t)0x00000600) /*!< 128 */ 1455*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0_7 ((uint32_t)0x00000700) /*!< 192 */ 1456*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__4 ((uint32_t)0x00000000) /*!< 4 */ 1457*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__8 ((uint32_t)0x00000100) /*!< 8 */ 1458*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__16 ((uint32_t)0x00000200) /*!< 16 */ 1459*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__32 ((uint32_t)0x00000300) /*!< 32 */ 1460*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__64 ((uint32_t)0x00000400) /*!< 64 */ 1461*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__96 ((uint32_t)0x00000500) /*!< 96 */ 1462*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__128 ((uint32_t)0x00000600) /*!< 128 */ 1463*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT0__192 ((uint32_t)0x00000700) /*!< 192 */ 1464*5fd0122aSMatthias Ringwald /* ADC14_CTL0[SHT1] Bits */ 1465*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_OFS (12) /*!< ADC14SHT1 Bit Offset */ 1466*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_MASK ((uint32_t)0x0000F000) /*!< ADC14SHT1 Bit Mask */ 1467*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT10 ((uint32_t)0x00001000) /*!< SHT1 Bit 0 */ 1468*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT11 ((uint32_t)0x00002000) /*!< SHT1 Bit 1 */ 1469*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT12 ((uint32_t)0x00004000) /*!< SHT1 Bit 2 */ 1470*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT13 ((uint32_t)0x00008000) /*!< SHT1 Bit 3 */ 1471*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_0 ((uint32_t)0x00000000) /*!< 4 */ 1472*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_1 ((uint32_t)0x00001000) /*!< 8 */ 1473*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_2 ((uint32_t)0x00002000) /*!< 16 */ 1474*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_3 ((uint32_t)0x00003000) /*!< 32 */ 1475*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_4 ((uint32_t)0x00004000) /*!< 64 */ 1476*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_5 ((uint32_t)0x00005000) /*!< 96 */ 1477*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_6 ((uint32_t)0x00006000) /*!< 128 */ 1478*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1_7 ((uint32_t)0x00007000) /*!< 192 */ 1479*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__4 ((uint32_t)0x00000000) /*!< 4 */ 1480*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__8 ((uint32_t)0x00001000) /*!< 8 */ 1481*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__16 ((uint32_t)0x00002000) /*!< 16 */ 1482*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__32 ((uint32_t)0x00003000) /*!< 32 */ 1483*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__64 ((uint32_t)0x00004000) /*!< 64 */ 1484*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__96 ((uint32_t)0x00005000) /*!< 96 */ 1485*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__128 ((uint32_t)0x00006000) /*!< 128 */ 1486*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHT1__192 ((uint32_t)0x00007000) /*!< 192 */ 1487*5fd0122aSMatthias Ringwald /* ADC14_CTL0[BUSY] Bits */ 1488*5fd0122aSMatthias Ringwald #define ADC14_CTL0_BUSY_OFS (16) /*!< ADC14BUSY Bit Offset */ 1489*5fd0122aSMatthias Ringwald #define ADC14_CTL0_BUSY ((uint32_t)0x00010000) /*!< ADC14 busy */ 1490*5fd0122aSMatthias Ringwald /* ADC14_CTL0[CONSEQ] Bits */ 1491*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ_OFS (17) /*!< ADC14CONSEQ Bit Offset */ 1492*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ_MASK ((uint32_t)0x00060000) /*!< ADC14CONSEQ Bit Mask */ 1493*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ0 ((uint32_t)0x00020000) /*!< CONSEQ Bit 0 */ 1494*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ1 ((uint32_t)0x00040000) /*!< CONSEQ Bit 1 */ 1495*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ_0 ((uint32_t)0x00000000) /*!< Single-channel, single-conversion */ 1496*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ_1 ((uint32_t)0x00020000) /*!< Sequence-of-channels */ 1497*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ_2 ((uint32_t)0x00040000) /*!< Repeat-single-channel */ 1498*5fd0122aSMatthias Ringwald #define ADC14_CTL0_CONSEQ_3 ((uint32_t)0x00060000) /*!< Repeat-sequence-of-channels */ 1499*5fd0122aSMatthias Ringwald /* ADC14_CTL0[SSEL] Bits */ 1500*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_OFS (19) /*!< ADC14SSEL Bit Offset */ 1501*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_MASK ((uint32_t)0x00380000) /*!< ADC14SSEL Bit Mask */ 1502*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL0 ((uint32_t)0x00080000) /*!< SSEL Bit 0 */ 1503*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL1 ((uint32_t)0x00100000) /*!< SSEL Bit 1 */ 1504*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL2 ((uint32_t)0x00200000) /*!< SSEL Bit 2 */ 1505*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_0 ((uint32_t)0x00000000) /*!< MODCLK */ 1506*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_1 ((uint32_t)0x00080000) /*!< SYSCLK */ 1507*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_2 ((uint32_t)0x00100000) /*!< ACLK */ 1508*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_3 ((uint32_t)0x00180000) /*!< MCLK */ 1509*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_4 ((uint32_t)0x00200000) /*!< SMCLK */ 1510*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL_5 ((uint32_t)0x00280000) /*!< HSMCLK */ 1511*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL__MODCLK ((uint32_t)0x00000000) /*!< MODCLK */ 1512*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL__SYSCLK ((uint32_t)0x00080000) /*!< SYSCLK */ 1513*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL__ACLK ((uint32_t)0x00100000) /*!< ACLK */ 1514*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL__MCLK ((uint32_t)0x00180000) /*!< MCLK */ 1515*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL__SMCLK ((uint32_t)0x00200000) /*!< SMCLK */ 1516*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SSEL__HSMCLK ((uint32_t)0x00280000) /*!< HSMCLK */ 1517*5fd0122aSMatthias Ringwald /* ADC14_CTL0[DIV] Bits */ 1518*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_OFS (22) /*!< ADC14DIV Bit Offset */ 1519*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_MASK ((uint32_t)0x01C00000) /*!< ADC14DIV Bit Mask */ 1520*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV0 ((uint32_t)0x00400000) /*!< DIV Bit 0 */ 1521*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV1 ((uint32_t)0x00800000) /*!< DIV Bit 1 */ 1522*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV2 ((uint32_t)0x01000000) /*!< DIV Bit 2 */ 1523*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_0 ((uint32_t)0x00000000) /*!< /1 */ 1524*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_1 ((uint32_t)0x00400000) /*!< /2 */ 1525*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_2 ((uint32_t)0x00800000) /*!< /3 */ 1526*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_3 ((uint32_t)0x00C00000) /*!< /4 */ 1527*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_4 ((uint32_t)0x01000000) /*!< /5 */ 1528*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_5 ((uint32_t)0x01400000) /*!< /6 */ 1529*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_6 ((uint32_t)0x01800000) /*!< /7 */ 1530*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV_7 ((uint32_t)0x01C00000) /*!< /8 */ 1531*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__1 ((uint32_t)0x00000000) /*!< /1 */ 1532*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__2 ((uint32_t)0x00400000) /*!< /2 */ 1533*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__3 ((uint32_t)0x00800000) /*!< /3 */ 1534*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__4 ((uint32_t)0x00C00000) /*!< /4 */ 1535*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__5 ((uint32_t)0x01000000) /*!< /5 */ 1536*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__6 ((uint32_t)0x01400000) /*!< /6 */ 1537*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__7 ((uint32_t)0x01800000) /*!< /7 */ 1538*5fd0122aSMatthias Ringwald #define ADC14_CTL0_DIV__8 ((uint32_t)0x01C00000) /*!< /8 */ 1539*5fd0122aSMatthias Ringwald /* ADC14_CTL0[ISSH] Bits */ 1540*5fd0122aSMatthias Ringwald #define ADC14_CTL0_ISSH_OFS (25) /*!< ADC14ISSH Bit Offset */ 1541*5fd0122aSMatthias Ringwald #define ADC14_CTL0_ISSH ((uint32_t)0x02000000) /*!< ADC14 invert signal sample-and-hold */ 1542*5fd0122aSMatthias Ringwald /* ADC14_CTL0[SHP] Bits */ 1543*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHP_OFS (26) /*!< ADC14SHP Bit Offset */ 1544*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHP ((uint32_t)0x04000000) /*!< ADC14 sample-and-hold pulse-mode select */ 1545*5fd0122aSMatthias Ringwald /* ADC14_CTL0[SHS] Bits */ 1546*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_OFS (27) /*!< ADC14SHS Bit Offset */ 1547*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_MASK ((uint32_t)0x38000000) /*!< ADC14SHS Bit Mask */ 1548*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS0 ((uint32_t)0x08000000) /*!< SHS Bit 0 */ 1549*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS1 ((uint32_t)0x10000000) /*!< SHS Bit 1 */ 1550*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS2 ((uint32_t)0x20000000) /*!< SHS Bit 2 */ 1551*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_0 ((uint32_t)0x00000000) /*!< ADC14SC bit */ 1552*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_1 ((uint32_t)0x08000000) /*!< See device-specific data sheet for source */ 1553*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_2 ((uint32_t)0x10000000) /*!< See device-specific data sheet for source */ 1554*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_3 ((uint32_t)0x18000000) /*!< See device-specific data sheet for source */ 1555*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_4 ((uint32_t)0x20000000) /*!< See device-specific data sheet for source */ 1556*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_5 ((uint32_t)0x28000000) /*!< See device-specific data sheet for source */ 1557*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_6 ((uint32_t)0x30000000) /*!< See device-specific data sheet for source */ 1558*5fd0122aSMatthias Ringwald #define ADC14_CTL0_SHS_7 ((uint32_t)0x38000000) /*!< See device-specific data sheet for source */ 1559*5fd0122aSMatthias Ringwald /* ADC14_CTL0[PDIV] Bits */ 1560*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV_OFS (30) /*!< ADC14PDIV Bit Offset */ 1561*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV_MASK ((uint32_t)0xC0000000) /*!< ADC14PDIV Bit Mask */ 1562*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV0 ((uint32_t)0x40000000) /*!< PDIV Bit 0 */ 1563*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV1 ((uint32_t)0x80000000) /*!< PDIV Bit 1 */ 1564*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV_0 ((uint32_t)0x00000000) /*!< Predivide by 1 */ 1565*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV_1 ((uint32_t)0x40000000) /*!< Predivide by 4 */ 1566*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV_2 ((uint32_t)0x80000000) /*!< Predivide by 32 */ 1567*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV_3 ((uint32_t)0xC0000000) /*!< Predivide by 64 */ 1568*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV__1 ((uint32_t)0x00000000) /*!< Predivide by 1 */ 1569*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV__4 ((uint32_t)0x40000000) /*!< Predivide by 4 */ 1570*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV__32 ((uint32_t)0x80000000) /*!< Predivide by 32 */ 1571*5fd0122aSMatthias Ringwald #define ADC14_CTL0_PDIV__64 ((uint32_t)0xC0000000) /*!< Predivide by 64 */ 1572*5fd0122aSMatthias Ringwald /* ADC14_CTL1[PWRMD] Bits */ 1573*5fd0122aSMatthias Ringwald #define ADC14_CTL1_PWRMD_OFS ( 0) /*!< ADC14PWRMD Bit Offset */ 1574*5fd0122aSMatthias Ringwald #define ADC14_CTL1_PWRMD_MASK ((uint32_t)0x00000003) /*!< ADC14PWRMD Bit Mask */ 1575*5fd0122aSMatthias Ringwald #define ADC14_CTL1_PWRMD0 ((uint32_t)0x00000001) /*!< PWRMD Bit 0 */ 1576*5fd0122aSMatthias Ringwald #define ADC14_CTL1_PWRMD1 ((uint32_t)0x00000002) /*!< PWRMD Bit 1 */ 1577*5fd0122aSMatthias Ringwald #define ADC14_CTL1_PWRMD_0 ((uint32_t)0x00000000) /*!< Regular power mode for use with any resolution setting. Sample rate can be */ 1578*5fd0122aSMatthias Ringwald /* up to 1 Msps. */ 1579*5fd0122aSMatthias Ringwald #define ADC14_CTL1_PWRMD_2 ((uint32_t)0x00000002) /*!< Low-power mode for 12-bit, 10-bit, and 8-bit resolution settings. Sample */ 1580*5fd0122aSMatthias Ringwald /* rate must not exceed 200 ksps. */ 1581*5fd0122aSMatthias Ringwald /* ADC14_CTL1[REFBURST] Bits */ 1582*5fd0122aSMatthias Ringwald #define ADC14_CTL1_REFBURST_OFS ( 2) /*!< ADC14REFBURST Bit Offset */ 1583*5fd0122aSMatthias Ringwald #define ADC14_CTL1_REFBURST ((uint32_t)0x00000004) /*!< ADC14 reference buffer burst */ 1584*5fd0122aSMatthias Ringwald /* ADC14_CTL1[DF] Bits */ 1585*5fd0122aSMatthias Ringwald #define ADC14_CTL1_DF_OFS ( 3) /*!< ADC14DF Bit Offset */ 1586*5fd0122aSMatthias Ringwald #define ADC14_CTL1_DF ((uint32_t)0x00000008) /*!< ADC14 data read-back format */ 1587*5fd0122aSMatthias Ringwald /* ADC14_CTL1[RES] Bits */ 1588*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES_OFS ( 4) /*!< ADC14RES Bit Offset */ 1589*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES_MASK ((uint32_t)0x00000030) /*!< ADC14RES Bit Mask */ 1590*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES0 ((uint32_t)0x00000010) /*!< RES Bit 0 */ 1591*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES1 ((uint32_t)0x00000020) /*!< RES Bit 1 */ 1592*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES_0 ((uint32_t)0x00000000) /*!< 8 bit (9 clock cycle conversion time) */ 1593*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES_1 ((uint32_t)0x00000010) /*!< 10 bit (11 clock cycle conversion time) */ 1594*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES_2 ((uint32_t)0x00000020) /*!< 12 bit (14 clock cycle conversion time) */ 1595*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES_3 ((uint32_t)0x00000030) /*!< 14 bit (16 clock cycle conversion time) */ 1596*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES__8BIT ((uint32_t)0x00000000) /*!< 8 bit (9 clock cycle conversion time) */ 1597*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES__10BIT ((uint32_t)0x00000010) /*!< 10 bit (11 clock cycle conversion time) */ 1598*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES__12BIT ((uint32_t)0x00000020) /*!< 12 bit (14 clock cycle conversion time) */ 1599*5fd0122aSMatthias Ringwald #define ADC14_CTL1_RES__14BIT ((uint32_t)0x00000030) /*!< 14 bit (16 clock cycle conversion time) */ 1600*5fd0122aSMatthias Ringwald /* ADC14_CTL1[CSTARTADD] Bits */ 1601*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CSTARTADD_OFS (16) /*!< ADC14CSTARTADD Bit Offset */ 1602*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CSTARTADD_MASK ((uint32_t)0x001F0000) /*!< ADC14CSTARTADD Bit Mask */ 1603*5fd0122aSMatthias Ringwald /* ADC14_CTL1[BATMAP] Bits */ 1604*5fd0122aSMatthias Ringwald #define ADC14_CTL1_BATMAP_OFS (22) /*!< ADC14BATMAP Bit Offset */ 1605*5fd0122aSMatthias Ringwald #define ADC14_CTL1_BATMAP ((uint32_t)0x00400000) /*!< Controls 1/2 AVCC ADC input channel selection */ 1606*5fd0122aSMatthias Ringwald /* ADC14_CTL1[TCMAP] Bits */ 1607*5fd0122aSMatthias Ringwald #define ADC14_CTL1_TCMAP_OFS (23) /*!< ADC14TCMAP Bit Offset */ 1608*5fd0122aSMatthias Ringwald #define ADC14_CTL1_TCMAP ((uint32_t)0x00800000) /*!< Controls temperature sensor ADC input channel selection */ 1609*5fd0122aSMatthias Ringwald /* ADC14_CTL1[CH0MAP] Bits */ 1610*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH0MAP_OFS (24) /*!< ADC14CH0MAP Bit Offset */ 1611*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH0MAP ((uint32_t)0x01000000) /*!< Controls internal channel 0 selection to ADC input channel MAX-2 */ 1612*5fd0122aSMatthias Ringwald /* ADC14_CTL1[CH1MAP] Bits */ 1613*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH1MAP_OFS (25) /*!< ADC14CH1MAP Bit Offset */ 1614*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH1MAP ((uint32_t)0x02000000) /*!< Controls internal channel 1 selection to ADC input channel MAX-3 */ 1615*5fd0122aSMatthias Ringwald /* ADC14_CTL1[CH2MAP] Bits */ 1616*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH2MAP_OFS (26) /*!< ADC14CH2MAP Bit Offset */ 1617*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH2MAP ((uint32_t)0x04000000) /*!< Controls internal channel 2 selection to ADC input channel MAX-4 */ 1618*5fd0122aSMatthias Ringwald /* ADC14_CTL1[CH3MAP] Bits */ 1619*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH3MAP_OFS (27) /*!< ADC14CH3MAP Bit Offset */ 1620*5fd0122aSMatthias Ringwald #define ADC14_CTL1_CH3MAP ((uint32_t)0x08000000) /*!< Controls internal channel 3 selection to ADC input channel MAX-5 */ 1621*5fd0122aSMatthias Ringwald /* ADC14_LO0[LO0] Bits */ 1622*5fd0122aSMatthias Ringwald #define ADC14_LO0_LO0_OFS ( 0) /*!< ADC14LO0 Bit Offset */ 1623*5fd0122aSMatthias Ringwald #define ADC14_LO0_LO0_MASK ((uint32_t)0x0000FFFF) /*!< ADC14LO0 Bit Mask */ 1624*5fd0122aSMatthias Ringwald /* ADC14_HI0[HI0] Bits */ 1625*5fd0122aSMatthias Ringwald #define ADC14_HI0_HI0_OFS ( 0) /*!< ADC14HI0 Bit Offset */ 1626*5fd0122aSMatthias Ringwald #define ADC14_HI0_HI0_MASK ((uint32_t)0x0000FFFF) /*!< ADC14HI0 Bit Mask */ 1627*5fd0122aSMatthias Ringwald /* ADC14_LO1[LO1] Bits */ 1628*5fd0122aSMatthias Ringwald #define ADC14_LO1_LO1_OFS ( 0) /*!< ADC14LO1 Bit Offset */ 1629*5fd0122aSMatthias Ringwald #define ADC14_LO1_LO1_MASK ((uint32_t)0x0000FFFF) /*!< ADC14LO1 Bit Mask */ 1630*5fd0122aSMatthias Ringwald /* ADC14_HI1[HI1] Bits */ 1631*5fd0122aSMatthias Ringwald #define ADC14_HI1_HI1_OFS ( 0) /*!< ADC14HI1 Bit Offset */ 1632*5fd0122aSMatthias Ringwald #define ADC14_HI1_HI1_MASK ((uint32_t)0x0000FFFF) /*!< ADC14HI1 Bit Mask */ 1633*5fd0122aSMatthias Ringwald /* ADC14_MCTLN[INCH] Bits */ 1634*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_OFS ( 0) /*!< ADC14INCH Bit Offset */ 1635*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_MASK ((uint32_t)0x0000001F) /*!< ADC14INCH Bit Mask */ 1636*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH0 ((uint32_t)0x00000001) /*!< INCH Bit 0 */ 1637*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH1 ((uint32_t)0x00000002) /*!< INCH Bit 1 */ 1638*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH2 ((uint32_t)0x00000004) /*!< INCH Bit 2 */ 1639*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH3 ((uint32_t)0x00000008) /*!< INCH Bit 3 */ 1640*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH4 ((uint32_t)0x00000010) /*!< INCH Bit 4 */ 1641*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_0 ((uint32_t)0x00000000) /*!< If ADC14DIF = 0: A0; If ADC14DIF = 1: Ain+ = A0, Ain- = A1 */ 1642*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_1 ((uint32_t)0x00000001) /*!< If ADC14DIF = 0: A1; If ADC14DIF = 1: Ain+ = A0, Ain- = A1 */ 1643*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_2 ((uint32_t)0x00000002) /*!< If ADC14DIF = 0: A2; If ADC14DIF = 1: Ain+ = A2, Ain- = A3 */ 1644*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_3 ((uint32_t)0x00000003) /*!< If ADC14DIF = 0: A3; If ADC14DIF = 1: Ain+ = A2, Ain- = A3 */ 1645*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_4 ((uint32_t)0x00000004) /*!< If ADC14DIF = 0: A4; If ADC14DIF = 1: Ain+ = A4, Ain- = A5 */ 1646*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_5 ((uint32_t)0x00000005) /*!< If ADC14DIF = 0: A5; If ADC14DIF = 1: Ain+ = A4, Ain- = A5 */ 1647*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_6 ((uint32_t)0x00000006) /*!< If ADC14DIF = 0: A6; If ADC14DIF = 1: Ain+ = A6, Ain- = A7 */ 1648*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_7 ((uint32_t)0x00000007) /*!< If ADC14DIF = 0: A7; If ADC14DIF = 1: Ain+ = A6, Ain- = A7 */ 1649*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_8 ((uint32_t)0x00000008) /*!< If ADC14DIF = 0: A8; If ADC14DIF = 1: Ain+ = A8, Ain- = A9 */ 1650*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_9 ((uint32_t)0x00000009) /*!< If ADC14DIF = 0: A9; If ADC14DIF = 1: Ain+ = A8, Ain- = A9 */ 1651*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_10 ((uint32_t)0x0000000A) /*!< If ADC14DIF = 0: A10; If ADC14DIF = 1: Ain+ = A10, Ain- = A11 */ 1652*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_11 ((uint32_t)0x0000000B) /*!< If ADC14DIF = 0: A11; If ADC14DIF = 1: Ain+ = A10, Ain- = A11 */ 1653*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_12 ((uint32_t)0x0000000C) /*!< If ADC14DIF = 0: A12; If ADC14DIF = 1: Ain+ = A12, Ain- = A13 */ 1654*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_13 ((uint32_t)0x0000000D) /*!< If ADC14DIF = 0: A13; If ADC14DIF = 1: Ain+ = A12, Ain- = A13 */ 1655*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_14 ((uint32_t)0x0000000E) /*!< If ADC14DIF = 0: A14; If ADC14DIF = 1: Ain+ = A14, Ain- = A15 */ 1656*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_15 ((uint32_t)0x0000000F) /*!< If ADC14DIF = 0: A15; If ADC14DIF = 1: Ain+ = A14, Ain- = A15 */ 1657*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_16 ((uint32_t)0x00000010) /*!< If ADC14DIF = 0: A16; If ADC14DIF = 1: Ain+ = A16, Ain- = A17 */ 1658*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_17 ((uint32_t)0x00000011) /*!< If ADC14DIF = 0: A17; If ADC14DIF = 1: Ain+ = A16, Ain- = A17 */ 1659*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_18 ((uint32_t)0x00000012) /*!< If ADC14DIF = 0: A18; If ADC14DIF = 1: Ain+ = A18, Ain- = A19 */ 1660*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_19 ((uint32_t)0x00000013) /*!< If ADC14DIF = 0: A19; If ADC14DIF = 1: Ain+ = A18, Ain- = A19 */ 1661*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_20 ((uint32_t)0x00000014) /*!< If ADC14DIF = 0: A20; If ADC14DIF = 1: Ain+ = A20, Ain- = A21 */ 1662*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_21 ((uint32_t)0x00000015) /*!< If ADC14DIF = 0: A21; If ADC14DIF = 1: Ain+ = A20, Ain- = A21 */ 1663*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_22 ((uint32_t)0x00000016) /*!< If ADC14DIF = 0: A22; If ADC14DIF = 1: Ain+ = A22, Ain- = A23 */ 1664*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_23 ((uint32_t)0x00000017) /*!< If ADC14DIF = 0: A23; If ADC14DIF = 1: Ain+ = A22, Ain- = A23 */ 1665*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_24 ((uint32_t)0x00000018) /*!< If ADC14DIF = 0: A24; If ADC14DIF = 1: Ain+ = A24, Ain- = A25 */ 1666*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_25 ((uint32_t)0x00000019) /*!< If ADC14DIF = 0: A25; If ADC14DIF = 1: Ain+ = A24, Ain- = A25 */ 1667*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_26 ((uint32_t)0x0000001A) /*!< If ADC14DIF = 0: A26; If ADC14DIF = 1: Ain+ = A26, Ain- = A27 */ 1668*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_27 ((uint32_t)0x0000001B) /*!< If ADC14DIF = 0: A27; If ADC14DIF = 1: Ain+ = A26, Ain- = A27 */ 1669*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_28 ((uint32_t)0x0000001C) /*!< If ADC14DIF = 0: A28; If ADC14DIF = 1: Ain+ = A28, Ain- = A29 */ 1670*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_29 ((uint32_t)0x0000001D) /*!< If ADC14DIF = 0: A29; If ADC14DIF = 1: Ain+ = A28, Ain- = A29 */ 1671*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_30 ((uint32_t)0x0000001E) /*!< If ADC14DIF = 0: A30; If ADC14DIF = 1: Ain+ = A30, Ain- = A31 */ 1672*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_INCH_31 ((uint32_t)0x0000001F) /*!< If ADC14DIF = 0: A31; If ADC14DIF = 1: Ain+ = A30, Ain- = A31 */ 1673*5fd0122aSMatthias Ringwald /* ADC14_MCTLN[EOS] Bits */ 1674*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_EOS_OFS ( 7) /*!< ADC14EOS Bit Offset */ 1675*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_EOS ((uint32_t)0x00000080) /*!< End of sequence */ 1676*5fd0122aSMatthias Ringwald /* ADC14_MCTLN[VRSEL] Bits */ 1677*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL_OFS ( 8) /*!< ADC14VRSEL Bit Offset */ 1678*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL_MASK ((uint32_t)0x00000F00) /*!< ADC14VRSEL Bit Mask */ 1679*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL0 ((uint32_t)0x00000100) /*!< VRSEL Bit 0 */ 1680*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL1 ((uint32_t)0x00000200) /*!< VRSEL Bit 1 */ 1681*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL2 ((uint32_t)0x00000400) /*!< VRSEL Bit 2 */ 1682*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL3 ((uint32_t)0x00000800) /*!< VRSEL Bit 3 */ 1683*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL_0 ((uint32_t)0x00000000) /*!< V(R+) = AVCC, V(R-) = AVSS */ 1684*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL_1 ((uint32_t)0x00000100) /*!< V(R+) = VREF buffered, V(R-) = AVSS */ 1685*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL_14 ((uint32_t)0x00000E00) /*!< V(R+) = VeREF+, V(R-) = VeREF- */ 1686*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_VRSEL_15 ((uint32_t)0x00000F00) /*!< V(R+) = VeREF+ buffered, V(R-) = VeREF */ 1687*5fd0122aSMatthias Ringwald /* ADC14_MCTLN[DIF] Bits */ 1688*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_DIF_OFS (13) /*!< ADC14DIF Bit Offset */ 1689*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_DIF ((uint32_t)0x00002000) /*!< Differential mode */ 1690*5fd0122aSMatthias Ringwald /* ADC14_MCTLN[WINC] Bits */ 1691*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_WINC_OFS (14) /*!< ADC14WINC Bit Offset */ 1692*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_WINC ((uint32_t)0x00004000) /*!< Comparator window enable */ 1693*5fd0122aSMatthias Ringwald /* ADC14_MCTLN[WINCTH] Bits */ 1694*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_WINCTH_OFS (15) /*!< ADC14WINCTH Bit Offset */ 1695*5fd0122aSMatthias Ringwald #define ADC14_MCTLN_WINCTH ((uint32_t)0x00008000) /*!< Window comparator threshold register selection */ 1696*5fd0122aSMatthias Ringwald /* ADC14_MEMN[CONVRES] Bits */ 1697*5fd0122aSMatthias Ringwald #define ADC14_MEMN_CONVRES_OFS ( 0) /*!< Conversion_Results Bit Offset */ 1698*5fd0122aSMatthias Ringwald #define ADC14_MEMN_CONVRES_MASK ((uint32_t)0x0000FFFF) /*!< Conversion_Results Bit Mask */ 1699*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE0] Bits */ 1700*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE0_OFS ( 0) /*!< ADC14IE0 Bit Offset */ 1701*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE0 ((uint32_t)0x00000001) /*!< Interrupt enable */ 1702*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE1] Bits */ 1703*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE1_OFS ( 1) /*!< ADC14IE1 Bit Offset */ 1704*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE1 ((uint32_t)0x00000002) /*!< Interrupt enable */ 1705*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE2] Bits */ 1706*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE2_OFS ( 2) /*!< ADC14IE2 Bit Offset */ 1707*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE2 ((uint32_t)0x00000004) /*!< Interrupt enable */ 1708*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE3] Bits */ 1709*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE3_OFS ( 3) /*!< ADC14IE3 Bit Offset */ 1710*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE3 ((uint32_t)0x00000008) /*!< Interrupt enable */ 1711*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE4] Bits */ 1712*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE4_OFS ( 4) /*!< ADC14IE4 Bit Offset */ 1713*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE4 ((uint32_t)0x00000010) /*!< Interrupt enable */ 1714*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE5] Bits */ 1715*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE5_OFS ( 5) /*!< ADC14IE5 Bit Offset */ 1716*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE5 ((uint32_t)0x00000020) /*!< Interrupt enable */ 1717*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE6] Bits */ 1718*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE6_OFS ( 6) /*!< ADC14IE6 Bit Offset */ 1719*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE6 ((uint32_t)0x00000040) /*!< Interrupt enable */ 1720*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE7] Bits */ 1721*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE7_OFS ( 7) /*!< ADC14IE7 Bit Offset */ 1722*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE7 ((uint32_t)0x00000080) /*!< Interrupt enable */ 1723*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE8] Bits */ 1724*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE8_OFS ( 8) /*!< ADC14IE8 Bit Offset */ 1725*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE8 ((uint32_t)0x00000100) /*!< Interrupt enable */ 1726*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE9] Bits */ 1727*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE9_OFS ( 9) /*!< ADC14IE9 Bit Offset */ 1728*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE9 ((uint32_t)0x00000200) /*!< Interrupt enable */ 1729*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE10] Bits */ 1730*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE10_OFS (10) /*!< ADC14IE10 Bit Offset */ 1731*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE10 ((uint32_t)0x00000400) /*!< Interrupt enable */ 1732*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE11] Bits */ 1733*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE11_OFS (11) /*!< ADC14IE11 Bit Offset */ 1734*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE11 ((uint32_t)0x00000800) /*!< Interrupt enable */ 1735*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE12] Bits */ 1736*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE12_OFS (12) /*!< ADC14IE12 Bit Offset */ 1737*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE12 ((uint32_t)0x00001000) /*!< Interrupt enable */ 1738*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE13] Bits */ 1739*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE13_OFS (13) /*!< ADC14IE13 Bit Offset */ 1740*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE13 ((uint32_t)0x00002000) /*!< Interrupt enable */ 1741*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE14] Bits */ 1742*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE14_OFS (14) /*!< ADC14IE14 Bit Offset */ 1743*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE14 ((uint32_t)0x00004000) /*!< Interrupt enable */ 1744*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE15] Bits */ 1745*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE15_OFS (15) /*!< ADC14IE15 Bit Offset */ 1746*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE15 ((uint32_t)0x00008000) /*!< Interrupt enable */ 1747*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE16] Bits */ 1748*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE16_OFS (16) /*!< ADC14IE16 Bit Offset */ 1749*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE16 ((uint32_t)0x00010000) /*!< Interrupt enable */ 1750*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE17] Bits */ 1751*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE17_OFS (17) /*!< ADC14IE17 Bit Offset */ 1752*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE17 ((uint32_t)0x00020000) /*!< Interrupt enable */ 1753*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE19] Bits */ 1754*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE19_OFS (19) /*!< ADC14IE19 Bit Offset */ 1755*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE19 ((uint32_t)0x00080000) /*!< Interrupt enable */ 1756*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE18] Bits */ 1757*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE18_OFS (18) /*!< ADC14IE18 Bit Offset */ 1758*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE18 ((uint32_t)0x00040000) /*!< Interrupt enable */ 1759*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE20] Bits */ 1760*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE20_OFS (20) /*!< ADC14IE20 Bit Offset */ 1761*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE20 ((uint32_t)0x00100000) /*!< Interrupt enable */ 1762*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE21] Bits */ 1763*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE21_OFS (21) /*!< ADC14IE21 Bit Offset */ 1764*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE21 ((uint32_t)0x00200000) /*!< Interrupt enable */ 1765*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE22] Bits */ 1766*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE22_OFS (22) /*!< ADC14IE22 Bit Offset */ 1767*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE22 ((uint32_t)0x00400000) /*!< Interrupt enable */ 1768*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE23] Bits */ 1769*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE23_OFS (23) /*!< ADC14IE23 Bit Offset */ 1770*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE23 ((uint32_t)0x00800000) /*!< Interrupt enable */ 1771*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE24] Bits */ 1772*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE24_OFS (24) /*!< ADC14IE24 Bit Offset */ 1773*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE24 ((uint32_t)0x01000000) /*!< Interrupt enable */ 1774*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE25] Bits */ 1775*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE25_OFS (25) /*!< ADC14IE25 Bit Offset */ 1776*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE25 ((uint32_t)0x02000000) /*!< Interrupt enable */ 1777*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE26] Bits */ 1778*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE26_OFS (26) /*!< ADC14IE26 Bit Offset */ 1779*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE26 ((uint32_t)0x04000000) /*!< Interrupt enable */ 1780*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE27] Bits */ 1781*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE27_OFS (27) /*!< ADC14IE27 Bit Offset */ 1782*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE27 ((uint32_t)0x08000000) /*!< Interrupt enable */ 1783*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE28] Bits */ 1784*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE28_OFS (28) /*!< ADC14IE28 Bit Offset */ 1785*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE28 ((uint32_t)0x10000000) /*!< Interrupt enable */ 1786*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE29] Bits */ 1787*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE29_OFS (29) /*!< ADC14IE29 Bit Offset */ 1788*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE29 ((uint32_t)0x20000000) /*!< Interrupt enable */ 1789*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE30] Bits */ 1790*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE30_OFS (30) /*!< ADC14IE30 Bit Offset */ 1791*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE30 ((uint32_t)0x40000000) /*!< Interrupt enable */ 1792*5fd0122aSMatthias Ringwald /* ADC14_IER0[IE31] Bits */ 1793*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE31_OFS (31) /*!< ADC14IE31 Bit Offset */ 1794*5fd0122aSMatthias Ringwald #define ADC14_IER0_IE31 ((uint32_t)0x80000000) /*!< Interrupt enable */ 1795*5fd0122aSMatthias Ringwald /* ADC14_IER1[INIE] Bits */ 1796*5fd0122aSMatthias Ringwald #define ADC14_IER1_INIE_OFS ( 1) /*!< ADC14INIE Bit Offset */ 1797*5fd0122aSMatthias Ringwald #define ADC14_IER1_INIE ((uint32_t)0x00000002) /*!< Interrupt enable for ADC14MEMx within comparator window */ 1798*5fd0122aSMatthias Ringwald /* ADC14_IER1[LOIE] Bits */ 1799*5fd0122aSMatthias Ringwald #define ADC14_IER1_LOIE_OFS ( 2) /*!< ADC14LOIE Bit Offset */ 1800*5fd0122aSMatthias Ringwald #define ADC14_IER1_LOIE ((uint32_t)0x00000004) /*!< Interrupt enable for ADC14MEMx below comparator window */ 1801*5fd0122aSMatthias Ringwald /* ADC14_IER1[HIIE] Bits */ 1802*5fd0122aSMatthias Ringwald #define ADC14_IER1_HIIE_OFS ( 3) /*!< ADC14HIIE Bit Offset */ 1803*5fd0122aSMatthias Ringwald #define ADC14_IER1_HIIE ((uint32_t)0x00000008) /*!< Interrupt enable for ADC14MEMx above comparator window */ 1804*5fd0122aSMatthias Ringwald /* ADC14_IER1[OVIE] Bits */ 1805*5fd0122aSMatthias Ringwald #define ADC14_IER1_OVIE_OFS ( 4) /*!< ADC14OVIE Bit Offset */ 1806*5fd0122aSMatthias Ringwald #define ADC14_IER1_OVIE ((uint32_t)0x00000010) /*!< ADC14MEMx overflow-interrupt enable */ 1807*5fd0122aSMatthias Ringwald /* ADC14_IER1[TOVIE] Bits */ 1808*5fd0122aSMatthias Ringwald #define ADC14_IER1_TOVIE_OFS ( 5) /*!< ADC14TOVIE Bit Offset */ 1809*5fd0122aSMatthias Ringwald #define ADC14_IER1_TOVIE ((uint32_t)0x00000020) /*!< ADC14 conversion-time-overflow interrupt enable */ 1810*5fd0122aSMatthias Ringwald /* ADC14_IER1[RDYIE] Bits */ 1811*5fd0122aSMatthias Ringwald #define ADC14_IER1_RDYIE_OFS ( 6) /*!< ADC14RDYIE Bit Offset */ 1812*5fd0122aSMatthias Ringwald #define ADC14_IER1_RDYIE ((uint32_t)0x00000040) /*!< ADC14 local buffered reference ready interrupt enable */ 1813*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG0] Bits */ 1814*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG0_OFS ( 0) /*!< ADC14IFG0 Bit Offset */ 1815*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG0 ((uint32_t)0x00000001) /*!< ADC14MEM0 interrupt flag */ 1816*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG1] Bits */ 1817*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG1_OFS ( 1) /*!< ADC14IFG1 Bit Offset */ 1818*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG1 ((uint32_t)0x00000002) /*!< ADC14MEM1 interrupt flag */ 1819*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG2] Bits */ 1820*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG2_OFS ( 2) /*!< ADC14IFG2 Bit Offset */ 1821*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG2 ((uint32_t)0x00000004) /*!< ADC14MEM2 interrupt flag */ 1822*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG3] Bits */ 1823*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG3_OFS ( 3) /*!< ADC14IFG3 Bit Offset */ 1824*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG3 ((uint32_t)0x00000008) /*!< ADC14MEM3 interrupt flag */ 1825*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG4] Bits */ 1826*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG4_OFS ( 4) /*!< ADC14IFG4 Bit Offset */ 1827*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG4 ((uint32_t)0x00000010) /*!< ADC14MEM4 interrupt flag */ 1828*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG5] Bits */ 1829*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG5_OFS ( 5) /*!< ADC14IFG5 Bit Offset */ 1830*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG5 ((uint32_t)0x00000020) /*!< ADC14MEM5 interrupt flag */ 1831*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG6] Bits */ 1832*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG6_OFS ( 6) /*!< ADC14IFG6 Bit Offset */ 1833*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG6 ((uint32_t)0x00000040) /*!< ADC14MEM6 interrupt flag */ 1834*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG7] Bits */ 1835*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG7_OFS ( 7) /*!< ADC14IFG7 Bit Offset */ 1836*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG7 ((uint32_t)0x00000080) /*!< ADC14MEM7 interrupt flag */ 1837*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG8] Bits */ 1838*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG8_OFS ( 8) /*!< ADC14IFG8 Bit Offset */ 1839*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG8 ((uint32_t)0x00000100) /*!< ADC14MEM8 interrupt flag */ 1840*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG9] Bits */ 1841*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG9_OFS ( 9) /*!< ADC14IFG9 Bit Offset */ 1842*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG9 ((uint32_t)0x00000200) /*!< ADC14MEM9 interrupt flag */ 1843*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG10] Bits */ 1844*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG10_OFS (10) /*!< ADC14IFG10 Bit Offset */ 1845*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG10 ((uint32_t)0x00000400) /*!< ADC14MEM10 interrupt flag */ 1846*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG11] Bits */ 1847*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG11_OFS (11) /*!< ADC14IFG11 Bit Offset */ 1848*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG11 ((uint32_t)0x00000800) /*!< ADC14MEM11 interrupt flag */ 1849*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG12] Bits */ 1850*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG12_OFS (12) /*!< ADC14IFG12 Bit Offset */ 1851*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG12 ((uint32_t)0x00001000) /*!< ADC14MEM12 interrupt flag */ 1852*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG13] Bits */ 1853*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG13_OFS (13) /*!< ADC14IFG13 Bit Offset */ 1854*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG13 ((uint32_t)0x00002000) /*!< ADC14MEM13 interrupt flag */ 1855*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG14] Bits */ 1856*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG14_OFS (14) /*!< ADC14IFG14 Bit Offset */ 1857*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG14 ((uint32_t)0x00004000) /*!< ADC14MEM14 interrupt flag */ 1858*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG15] Bits */ 1859*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG15_OFS (15) /*!< ADC14IFG15 Bit Offset */ 1860*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG15 ((uint32_t)0x00008000) /*!< ADC14MEM15 interrupt flag */ 1861*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG16] Bits */ 1862*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG16_OFS (16) /*!< ADC14IFG16 Bit Offset */ 1863*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG16 ((uint32_t)0x00010000) /*!< ADC14MEM16 interrupt flag */ 1864*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG17] Bits */ 1865*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG17_OFS (17) /*!< ADC14IFG17 Bit Offset */ 1866*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG17 ((uint32_t)0x00020000) /*!< ADC14MEM17 interrupt flag */ 1867*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG18] Bits */ 1868*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG18_OFS (18) /*!< ADC14IFG18 Bit Offset */ 1869*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG18 ((uint32_t)0x00040000) /*!< ADC14MEM18 interrupt flag */ 1870*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG19] Bits */ 1871*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG19_OFS (19) /*!< ADC14IFG19 Bit Offset */ 1872*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG19 ((uint32_t)0x00080000) /*!< ADC14MEM19 interrupt flag */ 1873*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG20] Bits */ 1874*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG20_OFS (20) /*!< ADC14IFG20 Bit Offset */ 1875*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG20 ((uint32_t)0x00100000) /*!< ADC14MEM20 interrupt flag */ 1876*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG21] Bits */ 1877*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG21_OFS (21) /*!< ADC14IFG21 Bit Offset */ 1878*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG21 ((uint32_t)0x00200000) /*!< ADC14MEM21 interrupt flag */ 1879*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG22] Bits */ 1880*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG22_OFS (22) /*!< ADC14IFG22 Bit Offset */ 1881*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG22 ((uint32_t)0x00400000) /*!< ADC14MEM22 interrupt flag */ 1882*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG23] Bits */ 1883*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG23_OFS (23) /*!< ADC14IFG23 Bit Offset */ 1884*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG23 ((uint32_t)0x00800000) /*!< ADC14MEM23 interrupt flag */ 1885*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG24] Bits */ 1886*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG24_OFS (24) /*!< ADC14IFG24 Bit Offset */ 1887*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG24 ((uint32_t)0x01000000) /*!< ADC14MEM24 interrupt flag */ 1888*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG25] Bits */ 1889*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG25_OFS (25) /*!< ADC14IFG25 Bit Offset */ 1890*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG25 ((uint32_t)0x02000000) /*!< ADC14MEM25 interrupt flag */ 1891*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG26] Bits */ 1892*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG26_OFS (26) /*!< ADC14IFG26 Bit Offset */ 1893*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG26 ((uint32_t)0x04000000) /*!< ADC14MEM26 interrupt flag */ 1894*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG27] Bits */ 1895*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG27_OFS (27) /*!< ADC14IFG27 Bit Offset */ 1896*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG27 ((uint32_t)0x08000000) /*!< ADC14MEM27 interrupt flag */ 1897*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG28] Bits */ 1898*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG28_OFS (28) /*!< ADC14IFG28 Bit Offset */ 1899*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG28 ((uint32_t)0x10000000) /*!< ADC14MEM28 interrupt flag */ 1900*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG29] Bits */ 1901*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG29_OFS (29) /*!< ADC14IFG29 Bit Offset */ 1902*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG29 ((uint32_t)0x20000000) /*!< ADC14MEM29 interrupt flag */ 1903*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG30] Bits */ 1904*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG30_OFS (30) /*!< ADC14IFG30 Bit Offset */ 1905*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG30 ((uint32_t)0x40000000) /*!< ADC14MEM30 interrupt flag */ 1906*5fd0122aSMatthias Ringwald /* ADC14_IFGR0[IFG31] Bits */ 1907*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG31_OFS (31) /*!< ADC14IFG31 Bit Offset */ 1908*5fd0122aSMatthias Ringwald #define ADC14_IFGR0_IFG31 ((uint32_t)0x80000000) /*!< ADC14MEM31 interrupt flag */ 1909*5fd0122aSMatthias Ringwald /* ADC14_IFGR1[INIFG] Bits */ 1910*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_INIFG_OFS ( 1) /*!< ADC14INIFG Bit Offset */ 1911*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_INIFG ((uint32_t)0x00000002) /*!< Interrupt flag for ADC14MEMx within comparator window */ 1912*5fd0122aSMatthias Ringwald /* ADC14_IFGR1[LOIFG] Bits */ 1913*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_LOIFG_OFS ( 2) /*!< ADC14LOIFG Bit Offset */ 1914*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_LOIFG ((uint32_t)0x00000004) /*!< Interrupt flag for ADC14MEMx below comparator window */ 1915*5fd0122aSMatthias Ringwald /* ADC14_IFGR1[HIIFG] Bits */ 1916*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_HIIFG_OFS ( 3) /*!< ADC14HIIFG Bit Offset */ 1917*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_HIIFG ((uint32_t)0x00000008) /*!< Interrupt flag for ADC14MEMx above comparator window */ 1918*5fd0122aSMatthias Ringwald /* ADC14_IFGR1[OVIFG] Bits */ 1919*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_OVIFG_OFS ( 4) /*!< ADC14OVIFG Bit Offset */ 1920*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_OVIFG ((uint32_t)0x00000010) /*!< ADC14MEMx overflow interrupt flag */ 1921*5fd0122aSMatthias Ringwald /* ADC14_IFGR1[TOVIFG] Bits */ 1922*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_TOVIFG_OFS ( 5) /*!< ADC14TOVIFG Bit Offset */ 1923*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_TOVIFG ((uint32_t)0x00000020) /*!< ADC14 conversion time overflow interrupt flag */ 1924*5fd0122aSMatthias Ringwald /* ADC14_IFGR1[RDYIFG] Bits */ 1925*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_RDYIFG_OFS ( 6) /*!< ADC14RDYIFG Bit Offset */ 1926*5fd0122aSMatthias Ringwald #define ADC14_IFGR1_RDYIFG ((uint32_t)0x00000040) /*!< ADC14 local buffered reference ready interrupt flag */ 1927*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG0] Bits */ 1928*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG0_OFS ( 0) /*!< CLRADC14IFG0 Bit Offset */ 1929*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG0 ((uint32_t)0x00000001) /*!< clear ADC14IFG0 */ 1930*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG1] Bits */ 1931*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG1_OFS ( 1) /*!< CLRADC14IFG1 Bit Offset */ 1932*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG1 ((uint32_t)0x00000002) /*!< clear ADC14IFG1 */ 1933*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG2] Bits */ 1934*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG2_OFS ( 2) /*!< CLRADC14IFG2 Bit Offset */ 1935*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG2 ((uint32_t)0x00000004) /*!< clear ADC14IFG2 */ 1936*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG3] Bits */ 1937*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG3_OFS ( 3) /*!< CLRADC14IFG3 Bit Offset */ 1938*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG3 ((uint32_t)0x00000008) /*!< clear ADC14IFG3 */ 1939*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG4] Bits */ 1940*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG4_OFS ( 4) /*!< CLRADC14IFG4 Bit Offset */ 1941*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG4 ((uint32_t)0x00000010) /*!< clear ADC14IFG4 */ 1942*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG5] Bits */ 1943*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG5_OFS ( 5) /*!< CLRADC14IFG5 Bit Offset */ 1944*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG5 ((uint32_t)0x00000020) /*!< clear ADC14IFG5 */ 1945*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG6] Bits */ 1946*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG6_OFS ( 6) /*!< CLRADC14IFG6 Bit Offset */ 1947*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG6 ((uint32_t)0x00000040) /*!< clear ADC14IFG6 */ 1948*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG7] Bits */ 1949*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG7_OFS ( 7) /*!< CLRADC14IFG7 Bit Offset */ 1950*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG7 ((uint32_t)0x00000080) /*!< clear ADC14IFG7 */ 1951*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG8] Bits */ 1952*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG8_OFS ( 8) /*!< CLRADC14IFG8 Bit Offset */ 1953*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG8 ((uint32_t)0x00000100) /*!< clear ADC14IFG8 */ 1954*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG9] Bits */ 1955*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG9_OFS ( 9) /*!< CLRADC14IFG9 Bit Offset */ 1956*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG9 ((uint32_t)0x00000200) /*!< clear ADC14IFG9 */ 1957*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG10] Bits */ 1958*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG10_OFS (10) /*!< CLRADC14IFG10 Bit Offset */ 1959*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG10 ((uint32_t)0x00000400) /*!< clear ADC14IFG10 */ 1960*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG11] Bits */ 1961*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG11_OFS (11) /*!< CLRADC14IFG11 Bit Offset */ 1962*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG11 ((uint32_t)0x00000800) /*!< clear ADC14IFG11 */ 1963*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG12] Bits */ 1964*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG12_OFS (12) /*!< CLRADC14IFG12 Bit Offset */ 1965*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG12 ((uint32_t)0x00001000) /*!< clear ADC14IFG12 */ 1966*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG13] Bits */ 1967*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG13_OFS (13) /*!< CLRADC14IFG13 Bit Offset */ 1968*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG13 ((uint32_t)0x00002000) /*!< clear ADC14IFG13 */ 1969*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG14] Bits */ 1970*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG14_OFS (14) /*!< CLRADC14IFG14 Bit Offset */ 1971*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG14 ((uint32_t)0x00004000) /*!< clear ADC14IFG14 */ 1972*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG15] Bits */ 1973*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG15_OFS (15) /*!< CLRADC14IFG15 Bit Offset */ 1974*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG15 ((uint32_t)0x00008000) /*!< clear ADC14IFG15 */ 1975*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG16] Bits */ 1976*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG16_OFS (16) /*!< CLRADC14IFG16 Bit Offset */ 1977*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG16 ((uint32_t)0x00010000) /*!< clear ADC14IFG16 */ 1978*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG17] Bits */ 1979*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG17_OFS (17) /*!< CLRADC14IFG17 Bit Offset */ 1980*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG17 ((uint32_t)0x00020000) /*!< clear ADC14IFG17 */ 1981*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG18] Bits */ 1982*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG18_OFS (18) /*!< CLRADC14IFG18 Bit Offset */ 1983*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG18 ((uint32_t)0x00040000) /*!< clear ADC14IFG18 */ 1984*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG19] Bits */ 1985*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG19_OFS (19) /*!< CLRADC14IFG19 Bit Offset */ 1986*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG19 ((uint32_t)0x00080000) /*!< clear ADC14IFG19 */ 1987*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG20] Bits */ 1988*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG20_OFS (20) /*!< CLRADC14IFG20 Bit Offset */ 1989*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG20 ((uint32_t)0x00100000) /*!< clear ADC14IFG20 */ 1990*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG21] Bits */ 1991*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG21_OFS (21) /*!< CLRADC14IFG21 Bit Offset */ 1992*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG21 ((uint32_t)0x00200000) /*!< clear ADC14IFG21 */ 1993*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG22] Bits */ 1994*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG22_OFS (22) /*!< CLRADC14IFG22 Bit Offset */ 1995*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG22 ((uint32_t)0x00400000) /*!< clear ADC14IFG22 */ 1996*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG23] Bits */ 1997*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG23_OFS (23) /*!< CLRADC14IFG23 Bit Offset */ 1998*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG23 ((uint32_t)0x00800000) /*!< clear ADC14IFG23 */ 1999*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG24] Bits */ 2000*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG24_OFS (24) /*!< CLRADC14IFG24 Bit Offset */ 2001*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG24 ((uint32_t)0x01000000) /*!< clear ADC14IFG24 */ 2002*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG25] Bits */ 2003*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG25_OFS (25) /*!< CLRADC14IFG25 Bit Offset */ 2004*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG25 ((uint32_t)0x02000000) /*!< clear ADC14IFG25 */ 2005*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG26] Bits */ 2006*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG26_OFS (26) /*!< CLRADC14IFG26 Bit Offset */ 2007*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG26 ((uint32_t)0x04000000) /*!< clear ADC14IFG26 */ 2008*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG27] Bits */ 2009*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG27_OFS (27) /*!< CLRADC14IFG27 Bit Offset */ 2010*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG27 ((uint32_t)0x08000000) /*!< clear ADC14IFG27 */ 2011*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG28] Bits */ 2012*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG28_OFS (28) /*!< CLRADC14IFG28 Bit Offset */ 2013*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG28 ((uint32_t)0x10000000) /*!< clear ADC14IFG28 */ 2014*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG29] Bits */ 2015*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG29_OFS (29) /*!< CLRADC14IFG29 Bit Offset */ 2016*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG29 ((uint32_t)0x20000000) /*!< clear ADC14IFG29 */ 2017*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG30] Bits */ 2018*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG30_OFS (30) /*!< CLRADC14IFG30 Bit Offset */ 2019*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG30 ((uint32_t)0x40000000) /*!< clear ADC14IFG30 */ 2020*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR0[CLRIFG31] Bits */ 2021*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG31_OFS (31) /*!< CLRADC14IFG31 Bit Offset */ 2022*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR0_CLRIFG31 ((uint32_t)0x80000000) /*!< clear ADC14IFG31 */ 2023*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR1[CLRINIFG] Bits */ 2024*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRINIFG_OFS ( 1) /*!< CLRADC14INIFG Bit Offset */ 2025*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRINIFG ((uint32_t)0x00000002) /*!< clear ADC14INIFG */ 2026*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR1[CLRLOIFG] Bits */ 2027*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRLOIFG_OFS ( 2) /*!< CLRADC14LOIFG Bit Offset */ 2028*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRLOIFG ((uint32_t)0x00000004) /*!< clear ADC14LOIFG */ 2029*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR1[CLRHIIFG] Bits */ 2030*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRHIIFG_OFS ( 3) /*!< CLRADC14HIIFG Bit Offset */ 2031*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRHIIFG ((uint32_t)0x00000008) /*!< clear ADC14HIIFG */ 2032*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR1[CLROVIFG] Bits */ 2033*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLROVIFG_OFS ( 4) /*!< CLRADC14OVIFG Bit Offset */ 2034*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLROVIFG ((uint32_t)0x00000010) /*!< clear ADC14OVIFG */ 2035*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR1[CLRTOVIFG] Bits */ 2036*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRTOVIFG_OFS ( 5) /*!< CLRADC14TOVIFG Bit Offset */ 2037*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRTOVIFG ((uint32_t)0x00000020) /*!< clear ADC14TOVIFG */ 2038*5fd0122aSMatthias Ringwald /* ADC14_CLRIFGR1[CLRRDYIFG] Bits */ 2039*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRRDYIFG_OFS ( 6) /*!< CLRADC14RDYIFG Bit Offset */ 2040*5fd0122aSMatthias Ringwald #define ADC14_CLRIFGR1_CLRRDYIFG ((uint32_t)0x00000040) /*!< clear ADC14RDYIFG */ 2041*5fd0122aSMatthias Ringwald 2042*5fd0122aSMatthias Ringwald /****************************************************************************** 2043*5fd0122aSMatthias Ringwald * AES256 Bits 2044*5fd0122aSMatthias Ringwald ******************************************************************************/ 2045*5fd0122aSMatthias Ringwald /* AES256_CTL0[OP] Bits */ 2046*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP_OFS ( 0) /*!< AESOPx Bit Offset */ 2047*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP_MASK ((uint16_t)0x0003) /*!< AESOPx Bit Mask */ 2048*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP0 ((uint16_t)0x0001) /*!< OP Bit 0 */ 2049*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP1 ((uint16_t)0x0002) /*!< OP Bit 1 */ 2050*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP_0 ((uint16_t)0x0000) /*!< Encryption */ 2051*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP_1 ((uint16_t)0x0001) /*!< Decryption. The provided key is the same key used for encryption */ 2052*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP_2 ((uint16_t)0x0002) /*!< Generate first round key required for decryption */ 2053*5fd0122aSMatthias Ringwald #define AES256_CTL0_OP_3 ((uint16_t)0x0003) /*!< Decryption. The provided key is the first round key required for decryption */ 2054*5fd0122aSMatthias Ringwald /* AES256_CTL0[KL] Bits */ 2055*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL_OFS ( 2) /*!< AESKLx Bit Offset */ 2056*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL_MASK ((uint16_t)0x000C) /*!< AESKLx Bit Mask */ 2057*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL0 ((uint16_t)0x0004) /*!< KL Bit 0 */ 2058*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL1 ((uint16_t)0x0008) /*!< KL Bit 1 */ 2059*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL_0 ((uint16_t)0x0000) /*!< AES128. The key size is 128 bit */ 2060*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL_1 ((uint16_t)0x0004) /*!< AES192. The key size is 192 bit. */ 2061*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL_2 ((uint16_t)0x0008) /*!< AES256. The key size is 256 bit */ 2062*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL__128BIT ((uint16_t)0x0000) /*!< AES128. The key size is 128 bit */ 2063*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL__192BIT ((uint16_t)0x0004) /*!< AES192. The key size is 192 bit. */ 2064*5fd0122aSMatthias Ringwald #define AES256_CTL0_KL__256BIT ((uint16_t)0x0008) /*!< AES256. The key size is 256 bit */ 2065*5fd0122aSMatthias Ringwald /* AES256_CTL0[CM] Bits */ 2066*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM_OFS ( 5) /*!< AESCMx Bit Offset */ 2067*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM_MASK ((uint16_t)0x0060) /*!< AESCMx Bit Mask */ 2068*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM0 ((uint16_t)0x0020) /*!< CM Bit 0 */ 2069*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM1 ((uint16_t)0x0040) /*!< CM Bit 1 */ 2070*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM_0 ((uint16_t)0x0000) /*!< ECB */ 2071*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM_1 ((uint16_t)0x0020) /*!< CBC */ 2072*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM_2 ((uint16_t)0x0040) /*!< OFB */ 2073*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM_3 ((uint16_t)0x0060) /*!< CFB */ 2074*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM__ECB ((uint16_t)0x0000) /*!< ECB */ 2075*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM__CBC ((uint16_t)0x0020) /*!< CBC */ 2076*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM__OFB ((uint16_t)0x0040) /*!< OFB */ 2077*5fd0122aSMatthias Ringwald #define AES256_CTL0_CM__CFB ((uint16_t)0x0060) /*!< CFB */ 2078*5fd0122aSMatthias Ringwald /* AES256_CTL0[SWRST] Bits */ 2079*5fd0122aSMatthias Ringwald #define AES256_CTL0_SWRST_OFS ( 7) /*!< AESSWRST Bit Offset */ 2080*5fd0122aSMatthias Ringwald #define AES256_CTL0_SWRST ((uint16_t)0x0080) /*!< AES software reset */ 2081*5fd0122aSMatthias Ringwald /* AES256_CTL0[RDYIFG] Bits */ 2082*5fd0122aSMatthias Ringwald #define AES256_CTL0_RDYIFG_OFS ( 8) /*!< AESRDYIFG Bit Offset */ 2083*5fd0122aSMatthias Ringwald #define AES256_CTL0_RDYIFG ((uint16_t)0x0100) /*!< AES ready interrupt flag */ 2084*5fd0122aSMatthias Ringwald /* AES256_CTL0[ERRFG] Bits */ 2085*5fd0122aSMatthias Ringwald #define AES256_CTL0_ERRFG_OFS (11) /*!< AESERRFG Bit Offset */ 2086*5fd0122aSMatthias Ringwald #define AES256_CTL0_ERRFG ((uint16_t)0x0800) /*!< AES error flag */ 2087*5fd0122aSMatthias Ringwald /* AES256_CTL0[RDYIE] Bits */ 2088*5fd0122aSMatthias Ringwald #define AES256_CTL0_RDYIE_OFS (12) /*!< AESRDYIE Bit Offset */ 2089*5fd0122aSMatthias Ringwald #define AES256_CTL0_RDYIE ((uint16_t)0x1000) /*!< AES ready interrupt enable */ 2090*5fd0122aSMatthias Ringwald /* AES256_CTL0[CMEN] Bits */ 2091*5fd0122aSMatthias Ringwald #define AES256_CTL0_CMEN_OFS (15) /*!< AESCMEN Bit Offset */ 2092*5fd0122aSMatthias Ringwald #define AES256_CTL0_CMEN ((uint16_t)0x8000) /*!< AES cipher mode enable */ 2093*5fd0122aSMatthias Ringwald /* AES256_CTL1[BLKCNT] Bits */ 2094*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT_OFS ( 0) /*!< AESBLKCNTx Bit Offset */ 2095*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT_MASK ((uint16_t)0x00FF) /*!< AESBLKCNTx Bit Mask */ 2096*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT0 ((uint16_t)0x0001) /*!< BLKCNT Bit 0 */ 2097*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT1 ((uint16_t)0x0002) /*!< BLKCNT Bit 1 */ 2098*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT2 ((uint16_t)0x0004) /*!< BLKCNT Bit 2 */ 2099*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT3 ((uint16_t)0x0008) /*!< BLKCNT Bit 3 */ 2100*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT4 ((uint16_t)0x0010) /*!< BLKCNT Bit 4 */ 2101*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT5 ((uint16_t)0x0020) /*!< BLKCNT Bit 5 */ 2102*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT6 ((uint16_t)0x0040) /*!< BLKCNT Bit 6 */ 2103*5fd0122aSMatthias Ringwald #define AES256_CTL1_BLKCNT7 ((uint16_t)0x0080) /*!< BLKCNT Bit 7 */ 2104*5fd0122aSMatthias Ringwald /* AES256_STAT[BUSY] Bits */ 2105*5fd0122aSMatthias Ringwald #define AES256_STAT_BUSY_OFS ( 0) /*!< AESBUSY Bit Offset */ 2106*5fd0122aSMatthias Ringwald #define AES256_STAT_BUSY ((uint16_t)0x0001) /*!< AES accelerator module busy */ 2107*5fd0122aSMatthias Ringwald /* AES256_STAT[KEYWR] Bits */ 2108*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYWR_OFS ( 1) /*!< AESKEYWR Bit Offset */ 2109*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYWR ((uint16_t)0x0002) /*!< All 16 bytes written to AESAKEY */ 2110*5fd0122aSMatthias Ringwald /* AES256_STAT[DINWR] Bits */ 2111*5fd0122aSMatthias Ringwald #define AES256_STAT_DINWR_OFS ( 2) /*!< AESDINWR Bit Offset */ 2112*5fd0122aSMatthias Ringwald #define AES256_STAT_DINWR ((uint16_t)0x0004) /*!< All 16 bytes written to AESADIN, AESAXDIN or AESAXIN */ 2113*5fd0122aSMatthias Ringwald /* AES256_STAT[DOUTRD] Bits */ 2114*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTRD_OFS ( 3) /*!< AESDOUTRD Bit Offset */ 2115*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTRD ((uint16_t)0x0008) /*!< All 16 bytes read from AESADOUT */ 2116*5fd0122aSMatthias Ringwald /* AES256_STAT[KEYCNT] Bits */ 2117*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYCNT_OFS ( 4) /*!< AESKEYCNTx Bit Offset */ 2118*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYCNT_MASK ((uint16_t)0x00F0) /*!< AESKEYCNTx Bit Mask */ 2119*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYCNT0 ((uint16_t)0x0010) /*!< KEYCNT Bit 0 */ 2120*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYCNT1 ((uint16_t)0x0020) /*!< KEYCNT Bit 1 */ 2121*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYCNT2 ((uint16_t)0x0040) /*!< KEYCNT Bit 2 */ 2122*5fd0122aSMatthias Ringwald #define AES256_STAT_KEYCNT3 ((uint16_t)0x0080) /*!< KEYCNT Bit 3 */ 2123*5fd0122aSMatthias Ringwald /* AES256_STAT[DINCNT] Bits */ 2124*5fd0122aSMatthias Ringwald #define AES256_STAT_DINCNT_OFS ( 8) /*!< AESDINCNTx Bit Offset */ 2125*5fd0122aSMatthias Ringwald #define AES256_STAT_DINCNT_MASK ((uint16_t)0x0F00) /*!< AESDINCNTx Bit Mask */ 2126*5fd0122aSMatthias Ringwald #define AES256_STAT_DINCNT0 ((uint16_t)0x0100) /*!< DINCNT Bit 0 */ 2127*5fd0122aSMatthias Ringwald #define AES256_STAT_DINCNT1 ((uint16_t)0x0200) /*!< DINCNT Bit 1 */ 2128*5fd0122aSMatthias Ringwald #define AES256_STAT_DINCNT2 ((uint16_t)0x0400) /*!< DINCNT Bit 2 */ 2129*5fd0122aSMatthias Ringwald #define AES256_STAT_DINCNT3 ((uint16_t)0x0800) /*!< DINCNT Bit 3 */ 2130*5fd0122aSMatthias Ringwald /* AES256_STAT[DOUTCNT] Bits */ 2131*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTCNT_OFS (12) /*!< AESDOUTCNTx Bit Offset */ 2132*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTCNT_MASK ((uint16_t)0xF000) /*!< AESDOUTCNTx Bit Mask */ 2133*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTCNT0 ((uint16_t)0x1000) /*!< DOUTCNT Bit 0 */ 2134*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTCNT1 ((uint16_t)0x2000) /*!< DOUTCNT Bit 1 */ 2135*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTCNT2 ((uint16_t)0x4000) /*!< DOUTCNT Bit 2 */ 2136*5fd0122aSMatthias Ringwald #define AES256_STAT_DOUTCNT3 ((uint16_t)0x8000) /*!< DOUTCNT Bit 3 */ 2137*5fd0122aSMatthias Ringwald /* AES256_KEY[KEY0] Bits */ 2138*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY0_OFS ( 0) /*!< AESKEY0x Bit Offset */ 2139*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY0_MASK ((uint16_t)0x00FF) /*!< AESKEY0x Bit Mask */ 2140*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY00 ((uint16_t)0x0001) /*!< KEY0 Bit 0 */ 2141*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY01 ((uint16_t)0x0002) /*!< KEY0 Bit 1 */ 2142*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY02 ((uint16_t)0x0004) /*!< KEY0 Bit 2 */ 2143*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY03 ((uint16_t)0x0008) /*!< KEY0 Bit 3 */ 2144*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY04 ((uint16_t)0x0010) /*!< KEY0 Bit 4 */ 2145*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY05 ((uint16_t)0x0020) /*!< KEY0 Bit 5 */ 2146*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY06 ((uint16_t)0x0040) /*!< KEY0 Bit 6 */ 2147*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY07 ((uint16_t)0x0080) /*!< KEY0 Bit 7 */ 2148*5fd0122aSMatthias Ringwald /* AES256_KEY[KEY1] Bits */ 2149*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY1_OFS ( 8) /*!< AESKEY1x Bit Offset */ 2150*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY1_MASK ((uint16_t)0xFF00) /*!< AESKEY1x Bit Mask */ 2151*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY10 ((uint16_t)0x0100) /*!< KEY1 Bit 0 */ 2152*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY11 ((uint16_t)0x0200) /*!< KEY1 Bit 1 */ 2153*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY12 ((uint16_t)0x0400) /*!< KEY1 Bit 2 */ 2154*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY13 ((uint16_t)0x0800) /*!< KEY1 Bit 3 */ 2155*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY14 ((uint16_t)0x1000) /*!< KEY1 Bit 4 */ 2156*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY15 ((uint16_t)0x2000) /*!< KEY1 Bit 5 */ 2157*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY16 ((uint16_t)0x4000) /*!< KEY1 Bit 6 */ 2158*5fd0122aSMatthias Ringwald #define AES256_KEY_KEY17 ((uint16_t)0x8000) /*!< KEY1 Bit 7 */ 2159*5fd0122aSMatthias Ringwald /* AES256_DIN[DIN0] Bits */ 2160*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN0_OFS ( 0) /*!< AESDIN0x Bit Offset */ 2161*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN0_MASK ((uint16_t)0x00FF) /*!< AESDIN0x Bit Mask */ 2162*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN00 ((uint16_t)0x0001) /*!< DIN0 Bit 0 */ 2163*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN01 ((uint16_t)0x0002) /*!< DIN0 Bit 1 */ 2164*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN02 ((uint16_t)0x0004) /*!< DIN0 Bit 2 */ 2165*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN03 ((uint16_t)0x0008) /*!< DIN0 Bit 3 */ 2166*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN04 ((uint16_t)0x0010) /*!< DIN0 Bit 4 */ 2167*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN05 ((uint16_t)0x0020) /*!< DIN0 Bit 5 */ 2168*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN06 ((uint16_t)0x0040) /*!< DIN0 Bit 6 */ 2169*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN07 ((uint16_t)0x0080) /*!< DIN0 Bit 7 */ 2170*5fd0122aSMatthias Ringwald /* AES256_DIN[DIN1] Bits */ 2171*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN1_OFS ( 8) /*!< AESDIN1x Bit Offset */ 2172*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN1_MASK ((uint16_t)0xFF00) /*!< AESDIN1x Bit Mask */ 2173*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN10 ((uint16_t)0x0100) /*!< DIN1 Bit 0 */ 2174*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN11 ((uint16_t)0x0200) /*!< DIN1 Bit 1 */ 2175*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN12 ((uint16_t)0x0400) /*!< DIN1 Bit 2 */ 2176*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN13 ((uint16_t)0x0800) /*!< DIN1 Bit 3 */ 2177*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN14 ((uint16_t)0x1000) /*!< DIN1 Bit 4 */ 2178*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN15 ((uint16_t)0x2000) /*!< DIN1 Bit 5 */ 2179*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN16 ((uint16_t)0x4000) /*!< DIN1 Bit 6 */ 2180*5fd0122aSMatthias Ringwald #define AES256_DIN_DIN17 ((uint16_t)0x8000) /*!< DIN1 Bit 7 */ 2181*5fd0122aSMatthias Ringwald /* AES256_DOUT[DOUT0] Bits */ 2182*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT0_OFS ( 0) /*!< AESDOUT0x Bit Offset */ 2183*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT0_MASK ((uint16_t)0x00FF) /*!< AESDOUT0x Bit Mask */ 2184*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT00 ((uint16_t)0x0001) /*!< DOUT0 Bit 0 */ 2185*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT01 ((uint16_t)0x0002) /*!< DOUT0 Bit 1 */ 2186*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT02 ((uint16_t)0x0004) /*!< DOUT0 Bit 2 */ 2187*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT03 ((uint16_t)0x0008) /*!< DOUT0 Bit 3 */ 2188*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT04 ((uint16_t)0x0010) /*!< DOUT0 Bit 4 */ 2189*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT05 ((uint16_t)0x0020) /*!< DOUT0 Bit 5 */ 2190*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT06 ((uint16_t)0x0040) /*!< DOUT0 Bit 6 */ 2191*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT07 ((uint16_t)0x0080) /*!< DOUT0 Bit 7 */ 2192*5fd0122aSMatthias Ringwald /* AES256_DOUT[DOUT1] Bits */ 2193*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT1_OFS ( 8) /*!< AESDOUT1x Bit Offset */ 2194*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT1_MASK ((uint16_t)0xFF00) /*!< AESDOUT1x Bit Mask */ 2195*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT10 ((uint16_t)0x0100) /*!< DOUT1 Bit 0 */ 2196*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT11 ((uint16_t)0x0200) /*!< DOUT1 Bit 1 */ 2197*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT12 ((uint16_t)0x0400) /*!< DOUT1 Bit 2 */ 2198*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT13 ((uint16_t)0x0800) /*!< DOUT1 Bit 3 */ 2199*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT14 ((uint16_t)0x1000) /*!< DOUT1 Bit 4 */ 2200*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT15 ((uint16_t)0x2000) /*!< DOUT1 Bit 5 */ 2201*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT16 ((uint16_t)0x4000) /*!< DOUT1 Bit 6 */ 2202*5fd0122aSMatthias Ringwald #define AES256_DOUT_DOUT17 ((uint16_t)0x8000) /*!< DOUT1 Bit 7 */ 2203*5fd0122aSMatthias Ringwald /* AES256_XDIN[XDIN0] Bits */ 2204*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN0_OFS ( 0) /*!< AESXDIN0x Bit Offset */ 2205*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN0_MASK ((uint16_t)0x00FF) /*!< AESXDIN0x Bit Mask */ 2206*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN00 ((uint16_t)0x0001) /*!< XDIN0 Bit 0 */ 2207*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN01 ((uint16_t)0x0002) /*!< XDIN0 Bit 1 */ 2208*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN02 ((uint16_t)0x0004) /*!< XDIN0 Bit 2 */ 2209*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN03 ((uint16_t)0x0008) /*!< XDIN0 Bit 3 */ 2210*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN04 ((uint16_t)0x0010) /*!< XDIN0 Bit 4 */ 2211*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN05 ((uint16_t)0x0020) /*!< XDIN0 Bit 5 */ 2212*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN06 ((uint16_t)0x0040) /*!< XDIN0 Bit 6 */ 2213*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN07 ((uint16_t)0x0080) /*!< XDIN0 Bit 7 */ 2214*5fd0122aSMatthias Ringwald /* AES256_XDIN[XDIN1] Bits */ 2215*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN1_OFS ( 8) /*!< AESXDIN1x Bit Offset */ 2216*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN1_MASK ((uint16_t)0xFF00) /*!< AESXDIN1x Bit Mask */ 2217*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN10 ((uint16_t)0x0100) /*!< XDIN1 Bit 0 */ 2218*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN11 ((uint16_t)0x0200) /*!< XDIN1 Bit 1 */ 2219*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN12 ((uint16_t)0x0400) /*!< XDIN1 Bit 2 */ 2220*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN13 ((uint16_t)0x0800) /*!< XDIN1 Bit 3 */ 2221*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN14 ((uint16_t)0x1000) /*!< XDIN1 Bit 4 */ 2222*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN15 ((uint16_t)0x2000) /*!< XDIN1 Bit 5 */ 2223*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN16 ((uint16_t)0x4000) /*!< XDIN1 Bit 6 */ 2224*5fd0122aSMatthias Ringwald #define AES256_XDIN_XDIN17 ((uint16_t)0x8000) /*!< XDIN1 Bit 7 */ 2225*5fd0122aSMatthias Ringwald /* AES256_XIN[XIN0] Bits */ 2226*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN0_OFS ( 0) /*!< AESXIN0x Bit Offset */ 2227*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN0_MASK ((uint16_t)0x00FF) /*!< AESXIN0x Bit Mask */ 2228*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN00 ((uint16_t)0x0001) /*!< XIN0 Bit 0 */ 2229*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN01 ((uint16_t)0x0002) /*!< XIN0 Bit 1 */ 2230*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN02 ((uint16_t)0x0004) /*!< XIN0 Bit 2 */ 2231*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN03 ((uint16_t)0x0008) /*!< XIN0 Bit 3 */ 2232*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN04 ((uint16_t)0x0010) /*!< XIN0 Bit 4 */ 2233*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN05 ((uint16_t)0x0020) /*!< XIN0 Bit 5 */ 2234*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN06 ((uint16_t)0x0040) /*!< XIN0 Bit 6 */ 2235*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN07 ((uint16_t)0x0080) /*!< XIN0 Bit 7 */ 2236*5fd0122aSMatthias Ringwald /* AES256_XIN[XIN1] Bits */ 2237*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN1_OFS ( 8) /*!< AESXIN1x Bit Offset */ 2238*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN1_MASK ((uint16_t)0xFF00) /*!< AESXIN1x Bit Mask */ 2239*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN10 ((uint16_t)0x0100) /*!< XIN1 Bit 0 */ 2240*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN11 ((uint16_t)0x0200) /*!< XIN1 Bit 1 */ 2241*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN12 ((uint16_t)0x0400) /*!< XIN1 Bit 2 */ 2242*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN13 ((uint16_t)0x0800) /*!< XIN1 Bit 3 */ 2243*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN14 ((uint16_t)0x1000) /*!< XIN1 Bit 4 */ 2244*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN15 ((uint16_t)0x2000) /*!< XIN1 Bit 5 */ 2245*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN16 ((uint16_t)0x4000) /*!< XIN1 Bit 6 */ 2246*5fd0122aSMatthias Ringwald #define AES256_XIN_XIN17 ((uint16_t)0x8000) /*!< XIN1 Bit 7 */ 2247*5fd0122aSMatthias Ringwald 2248*5fd0122aSMatthias Ringwald /****************************************************************************** 2249*5fd0122aSMatthias Ringwald * CAPTIO Bits 2250*5fd0122aSMatthias Ringwald ******************************************************************************/ 2251*5fd0122aSMatthias Ringwald /* CAPTIO_CTL[PISEL] Bits */ 2252*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_OFS ( 1) /*!< CAPTIOPISELx Bit Offset */ 2253*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_MASK ((uint16_t)0x000E) /*!< CAPTIOPISELx Bit Mask */ 2254*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL0 ((uint16_t)0x0002) /*!< PISEL Bit 0 */ 2255*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL1 ((uint16_t)0x0004) /*!< PISEL Bit 1 */ 2256*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL2 ((uint16_t)0x0008) /*!< PISEL Bit 2 */ 2257*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_0 ((uint16_t)0x0000) /*!< Px.0 */ 2258*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_1 ((uint16_t)0x0002) /*!< Px.1 */ 2259*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_2 ((uint16_t)0x0004) /*!< Px.2 */ 2260*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_3 ((uint16_t)0x0006) /*!< Px.3 */ 2261*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_4 ((uint16_t)0x0008) /*!< Px.4 */ 2262*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_5 ((uint16_t)0x000A) /*!< Px.5 */ 2263*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_6 ((uint16_t)0x000C) /*!< Px.6 */ 2264*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_PISEL_7 ((uint16_t)0x000E) /*!< Px.7 */ 2265*5fd0122aSMatthias Ringwald /* CAPTIO_CTL[POSEL] Bits */ 2266*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_OFS ( 4) /*!< CAPTIOPOSELx Bit Offset */ 2267*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_MASK ((uint16_t)0x00F0) /*!< CAPTIOPOSELx Bit Mask */ 2268*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL0 ((uint16_t)0x0010) /*!< POSEL Bit 0 */ 2269*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL1 ((uint16_t)0x0020) /*!< POSEL Bit 1 */ 2270*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL2 ((uint16_t)0x0040) /*!< POSEL Bit 2 */ 2271*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL3 ((uint16_t)0x0080) /*!< POSEL Bit 3 */ 2272*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_0 ((uint16_t)0x0000) /*!< Px = PJ */ 2273*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_1 ((uint16_t)0x0010) /*!< Px = P1 */ 2274*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_2 ((uint16_t)0x0020) /*!< Px = P2 */ 2275*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_3 ((uint16_t)0x0030) /*!< Px = P3 */ 2276*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_4 ((uint16_t)0x0040) /*!< Px = P4 */ 2277*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_5 ((uint16_t)0x0050) /*!< Px = P5 */ 2278*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_6 ((uint16_t)0x0060) /*!< Px = P6 */ 2279*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_7 ((uint16_t)0x0070) /*!< Px = P7 */ 2280*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_8 ((uint16_t)0x0080) /*!< Px = P8 */ 2281*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_9 ((uint16_t)0x0090) /*!< Px = P9 */ 2282*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_10 ((uint16_t)0x00A0) /*!< Px = P10 */ 2283*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_11 ((uint16_t)0x00B0) /*!< Px = P11 */ 2284*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_12 ((uint16_t)0x00C0) /*!< Px = P12 */ 2285*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_13 ((uint16_t)0x00D0) /*!< Px = P13 */ 2286*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_14 ((uint16_t)0x00E0) /*!< Px = P14 */ 2287*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL_15 ((uint16_t)0x00F0) /*!< Px = P15 */ 2288*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__PJ ((uint16_t)0x0000) /*!< Px = PJ */ 2289*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P1 ((uint16_t)0x0010) /*!< Px = P1 */ 2290*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P2 ((uint16_t)0x0020) /*!< Px = P2 */ 2291*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P3 ((uint16_t)0x0030) /*!< Px = P3 */ 2292*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P4 ((uint16_t)0x0040) /*!< Px = P4 */ 2293*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P5 ((uint16_t)0x0050) /*!< Px = P5 */ 2294*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P6 ((uint16_t)0x0060) /*!< Px = P6 */ 2295*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P7 ((uint16_t)0x0070) /*!< Px = P7 */ 2296*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P8 ((uint16_t)0x0080) /*!< Px = P8 */ 2297*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P9 ((uint16_t)0x0090) /*!< Px = P9 */ 2298*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P10 ((uint16_t)0x00A0) /*!< Px = P10 */ 2299*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P11 ((uint16_t)0x00B0) /*!< Px = P11 */ 2300*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P12 ((uint16_t)0x00C0) /*!< Px = P12 */ 2301*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P13 ((uint16_t)0x00D0) /*!< Px = P13 */ 2302*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P14 ((uint16_t)0x00E0) /*!< Px = P14 */ 2303*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_POSEL__P15 ((uint16_t)0x00F0) /*!< Px = P15 */ 2304*5fd0122aSMatthias Ringwald /* CAPTIO_CTL[EN] Bits */ 2305*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_EN_OFS ( 8) /*!< CAPTIOEN Bit Offset */ 2306*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_EN ((uint16_t)0x0100) /*!< Capacitive Touch IO enable */ 2307*5fd0122aSMatthias Ringwald /* CAPTIO_CTL[STATE] Bits */ 2308*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_STATE_OFS ( 9) /*!< CAPTIOSTATE Bit Offset */ 2309*5fd0122aSMatthias Ringwald #define CAPTIO_CTL_STATE ((uint16_t)0x0200) /*!< Capacitive Touch IO state */ 2310*5fd0122aSMatthias Ringwald 2311*5fd0122aSMatthias Ringwald /****************************************************************************** 2312*5fd0122aSMatthias Ringwald * COMP_E Bits 2313*5fd0122aSMatthias Ringwald ******************************************************************************/ 2314*5fd0122aSMatthias Ringwald /* COMP_E_CTL0[IPSEL] Bits */ 2315*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_OFS ( 0) /*!< CEIPSEL Bit Offset */ 2316*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_MASK ((uint16_t)0x000F) /*!< CEIPSEL Bit Mask */ 2317*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL0 ((uint16_t)0x0001) /*!< IPSEL Bit 0 */ 2318*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL1 ((uint16_t)0x0002) /*!< IPSEL Bit 1 */ 2319*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL2 ((uint16_t)0x0004) /*!< IPSEL Bit 2 */ 2320*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL3 ((uint16_t)0x0008) /*!< IPSEL Bit 3 */ 2321*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_0 ((uint16_t)0x0000) /*!< Channel 0 selected */ 2322*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_1 ((uint16_t)0x0001) /*!< Channel 1 selected */ 2323*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_2 ((uint16_t)0x0002) /*!< Channel 2 selected */ 2324*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_3 ((uint16_t)0x0003) /*!< Channel 3 selected */ 2325*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_4 ((uint16_t)0x0004) /*!< Channel 4 selected */ 2326*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_5 ((uint16_t)0x0005) /*!< Channel 5 selected */ 2327*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_6 ((uint16_t)0x0006) /*!< Channel 6 selected */ 2328*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_7 ((uint16_t)0x0007) /*!< Channel 7 selected */ 2329*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_8 ((uint16_t)0x0008) /*!< Channel 8 selected */ 2330*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_9 ((uint16_t)0x0009) /*!< Channel 9 selected */ 2331*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_10 ((uint16_t)0x000A) /*!< Channel 10 selected */ 2332*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_11 ((uint16_t)0x000B) /*!< Channel 11 selected */ 2333*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_12 ((uint16_t)0x000C) /*!< Channel 12 selected */ 2334*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_13 ((uint16_t)0x000D) /*!< Channel 13 selected */ 2335*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_14 ((uint16_t)0x000E) /*!< Channel 14 selected */ 2336*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPSEL_15 ((uint16_t)0x000F) /*!< Channel 15 selected */ 2337*5fd0122aSMatthias Ringwald /* COMP_E_CTL0[IPEN] Bits */ 2338*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPEN_OFS ( 7) /*!< CEIPEN Bit Offset */ 2339*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IPEN ((uint16_t)0x0080) /*!< Channel input enable for the V+ terminal */ 2340*5fd0122aSMatthias Ringwald /* COMP_E_CTL0[IMSEL] Bits */ 2341*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_OFS ( 8) /*!< CEIMSEL Bit Offset */ 2342*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_MASK ((uint16_t)0x0F00) /*!< CEIMSEL Bit Mask */ 2343*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL0 ((uint16_t)0x0100) /*!< IMSEL Bit 0 */ 2344*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL1 ((uint16_t)0x0200) /*!< IMSEL Bit 1 */ 2345*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL2 ((uint16_t)0x0400) /*!< IMSEL Bit 2 */ 2346*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL3 ((uint16_t)0x0800) /*!< IMSEL Bit 3 */ 2347*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_0 ((uint16_t)0x0000) /*!< Channel 0 selected */ 2348*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_1 ((uint16_t)0x0100) /*!< Channel 1 selected */ 2349*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_2 ((uint16_t)0x0200) /*!< Channel 2 selected */ 2350*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_3 ((uint16_t)0x0300) /*!< Channel 3 selected */ 2351*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_4 ((uint16_t)0x0400) /*!< Channel 4 selected */ 2352*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_5 ((uint16_t)0x0500) /*!< Channel 5 selected */ 2353*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_6 ((uint16_t)0x0600) /*!< Channel 6 selected */ 2354*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_7 ((uint16_t)0x0700) /*!< Channel 7 selected */ 2355*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_8 ((uint16_t)0x0800) /*!< Channel 8 selected */ 2356*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_9 ((uint16_t)0x0900) /*!< Channel 9 selected */ 2357*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_10 ((uint16_t)0x0A00) /*!< Channel 10 selected */ 2358*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_11 ((uint16_t)0x0B00) /*!< Channel 11 selected */ 2359*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_12 ((uint16_t)0x0C00) /*!< Channel 12 selected */ 2360*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_13 ((uint16_t)0x0D00) /*!< Channel 13 selected */ 2361*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_14 ((uint16_t)0x0E00) /*!< Channel 14 selected */ 2362*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMSEL_15 ((uint16_t)0x0F00) /*!< Channel 15 selected */ 2363*5fd0122aSMatthias Ringwald /* COMP_E_CTL0[IMEN] Bits */ 2364*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMEN_OFS (15) /*!< CEIMEN Bit Offset */ 2365*5fd0122aSMatthias Ringwald #define COMP_E_CTL0_IMEN ((uint16_t)0x8000) /*!< Channel input enable for the - terminal */ 2366*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[OUT] Bits */ 2367*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_OUT_OFS ( 0) /*!< CEOUT Bit Offset */ 2368*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_OUT ((uint16_t)0x0001) /*!< Comparator output value */ 2369*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[OUTPOL] Bits */ 2370*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_OUTPOL_OFS ( 1) /*!< CEOUTPOL Bit Offset */ 2371*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_OUTPOL ((uint16_t)0x0002) /*!< Comparator output polarity */ 2372*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[F] Bits */ 2373*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_F_OFS ( 2) /*!< CEF Bit Offset */ 2374*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_F ((uint16_t)0x0004) /*!< Comparator output filter */ 2375*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[IES] Bits */ 2376*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_IES_OFS ( 3) /*!< CEIES Bit Offset */ 2377*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_IES ((uint16_t)0x0008) /*!< Interrupt edge select for CEIIFG and CEIFG */ 2378*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[SHORT] Bits */ 2379*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_SHORT_OFS ( 4) /*!< CESHORT Bit Offset */ 2380*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_SHORT ((uint16_t)0x0010) /*!< Input short */ 2381*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[EX] Bits */ 2382*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_EX_OFS ( 5) /*!< CEEX Bit Offset */ 2383*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_EX ((uint16_t)0x0020) /*!< Exchange */ 2384*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[FDLY] Bits */ 2385*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY_OFS ( 6) /*!< CEFDLY Bit Offset */ 2386*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY_MASK ((uint16_t)0x00C0) /*!< CEFDLY Bit Mask */ 2387*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY0 ((uint16_t)0x0040) /*!< FDLY Bit 0 */ 2388*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY1 ((uint16_t)0x0080) /*!< FDLY Bit 1 */ 2389*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY_0 ((uint16_t)0x0000) /*!< Typical filter delay of TBD (450) ns */ 2390*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY_1 ((uint16_t)0x0040) /*!< Typical filter delay of TBD (900) ns */ 2391*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY_2 ((uint16_t)0x0080) /*!< Typical filter delay of TBD (1800) ns */ 2392*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_FDLY_3 ((uint16_t)0x00C0) /*!< Typical filter delay of TBD (3600) ns */ 2393*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[PWRMD] Bits */ 2394*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_PWRMD_OFS ( 8) /*!< CEPWRMD Bit Offset */ 2395*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_PWRMD_MASK ((uint16_t)0x0300) /*!< CEPWRMD Bit Mask */ 2396*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_PWRMD0 ((uint16_t)0x0100) /*!< PWRMD Bit 0 */ 2397*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_PWRMD1 ((uint16_t)0x0200) /*!< PWRMD Bit 1 */ 2398*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_PWRMD_0 ((uint16_t)0x0000) /*!< High-speed mode */ 2399*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_PWRMD_1 ((uint16_t)0x0100) /*!< Normal mode */ 2400*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_PWRMD_2 ((uint16_t)0x0200) /*!< Ultra-low power mode */ 2401*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[ON] Bits */ 2402*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_ON_OFS (10) /*!< CEON Bit Offset */ 2403*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_ON ((uint16_t)0x0400) /*!< Comparator On */ 2404*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[MRVL] Bits */ 2405*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_MRVL_OFS (11) /*!< CEMRVL Bit Offset */ 2406*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_MRVL ((uint16_t)0x0800) /*!< This bit is valid of CEMRVS is set to 1 */ 2407*5fd0122aSMatthias Ringwald /* COMP_E_CTL1[MRVS] Bits */ 2408*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_MRVS_OFS (12) /*!< CEMRVS Bit Offset */ 2409*5fd0122aSMatthias Ringwald #define COMP_E_CTL1_MRVS ((uint16_t)0x1000) 2410*5fd0122aSMatthias Ringwald /* COMP_E_CTL2[REF0] Bits */ 2411*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_OFS ( 0) /*!< CEREF0 Bit Offset */ 2412*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_MASK ((uint16_t)0x001F) /*!< CEREF0 Bit Mask */ 2413*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF00 ((uint16_t)0x0001) /*!< REF0 Bit 0 */ 2414*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF01 ((uint16_t)0x0002) /*!< REF0 Bit 1 */ 2415*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF02 ((uint16_t)0x0004) /*!< REF0 Bit 2 */ 2416*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF03 ((uint16_t)0x0008) /*!< REF0 Bit 3 */ 2417*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF04 ((uint16_t)0x0010) /*!< REF0 Bit 4 */ 2418*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_0 ((uint16_t)0x0000) /*!< Reference resistor tap for setting 0. */ 2419*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_1 ((uint16_t)0x0001) /*!< Reference resistor tap for setting 1. */ 2420*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_2 ((uint16_t)0x0002) /*!< Reference resistor tap for setting 2. */ 2421*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_3 ((uint16_t)0x0003) /*!< Reference resistor tap for setting 3. */ 2422*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_4 ((uint16_t)0x0004) /*!< Reference resistor tap for setting 4. */ 2423*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_5 ((uint16_t)0x0005) /*!< Reference resistor tap for setting 5. */ 2424*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_6 ((uint16_t)0x0006) /*!< Reference resistor tap for setting 6. */ 2425*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_7 ((uint16_t)0x0007) /*!< Reference resistor tap for setting 7. */ 2426*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_8 ((uint16_t)0x0008) /*!< Reference resistor tap for setting 8. */ 2427*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_9 ((uint16_t)0x0009) /*!< Reference resistor tap for setting 9. */ 2428*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_10 ((uint16_t)0x000A) /*!< Reference resistor tap for setting 10. */ 2429*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_11 ((uint16_t)0x000B) /*!< Reference resistor tap for setting 11. */ 2430*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_12 ((uint16_t)0x000C) /*!< Reference resistor tap for setting 12. */ 2431*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_13 ((uint16_t)0x000D) /*!< Reference resistor tap for setting 13. */ 2432*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_14 ((uint16_t)0x000E) /*!< Reference resistor tap for setting 14. */ 2433*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_15 ((uint16_t)0x000F) /*!< Reference resistor tap for setting 15. */ 2434*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_16 ((uint16_t)0x0010) /*!< Reference resistor tap for setting 16. */ 2435*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_17 ((uint16_t)0x0011) /*!< Reference resistor tap for setting 17. */ 2436*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_18 ((uint16_t)0x0012) /*!< Reference resistor tap for setting 18. */ 2437*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_19 ((uint16_t)0x0013) /*!< Reference resistor tap for setting 19. */ 2438*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_20 ((uint16_t)0x0014) /*!< Reference resistor tap for setting 20. */ 2439*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_21 ((uint16_t)0x0015) /*!< Reference resistor tap for setting 21. */ 2440*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_22 ((uint16_t)0x0016) /*!< Reference resistor tap for setting 22. */ 2441*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_23 ((uint16_t)0x0017) /*!< Reference resistor tap for setting 23. */ 2442*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_24 ((uint16_t)0x0018) /*!< Reference resistor tap for setting 24. */ 2443*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_25 ((uint16_t)0x0019) /*!< Reference resistor tap for setting 25. */ 2444*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_26 ((uint16_t)0x001A) /*!< Reference resistor tap for setting 26. */ 2445*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_27 ((uint16_t)0x001B) /*!< Reference resistor tap for setting 27. */ 2446*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_28 ((uint16_t)0x001C) /*!< Reference resistor tap for setting 28. */ 2447*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_29 ((uint16_t)0x001D) /*!< Reference resistor tap for setting 29. */ 2448*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_30 ((uint16_t)0x001E) /*!< Reference resistor tap for setting 30. */ 2449*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF0_31 ((uint16_t)0x001F) /*!< Reference resistor tap for setting 31. */ 2450*5fd0122aSMatthias Ringwald /* COMP_E_CTL2[RSEL] Bits */ 2451*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RSEL_OFS ( 5) /*!< CERSEL Bit Offset */ 2452*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RSEL ((uint16_t)0x0020) /*!< Reference select */ 2453*5fd0122aSMatthias Ringwald /* COMP_E_CTL2[RS] Bits */ 2454*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS_OFS ( 6) /*!< CERS Bit Offset */ 2455*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS_MASK ((uint16_t)0x00C0) /*!< CERS Bit Mask */ 2456*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS0 ((uint16_t)0x0040) /*!< RS Bit 0 */ 2457*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS1 ((uint16_t)0x0080) /*!< RS Bit 1 */ 2458*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS_0 ((uint16_t)0x0000) /*!< No current is drawn by the reference circuitry */ 2459*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS_1 ((uint16_t)0x0040) /*!< VCC applied to the resistor ladder */ 2460*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS_2 ((uint16_t)0x0080) /*!< Shared reference voltage applied to the resistor ladder */ 2461*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_RS_3 ((uint16_t)0x00C0) /*!< Shared reference voltage supplied to V(CREF). Resistor ladder is off */ 2462*5fd0122aSMatthias Ringwald /* COMP_E_CTL2[REF1] Bits */ 2463*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_OFS ( 8) /*!< CEREF1 Bit Offset */ 2464*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_MASK ((uint16_t)0x1F00) /*!< CEREF1 Bit Mask */ 2465*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF10 ((uint16_t)0x0100) /*!< REF1 Bit 0 */ 2466*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF11 ((uint16_t)0x0200) /*!< REF1 Bit 1 */ 2467*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF12 ((uint16_t)0x0400) /*!< REF1 Bit 2 */ 2468*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF13 ((uint16_t)0x0800) /*!< REF1 Bit 3 */ 2469*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF14 ((uint16_t)0x1000) /*!< REF1 Bit 4 */ 2470*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_0 ((uint16_t)0x0000) /*!< Reference resistor tap for setting 0. */ 2471*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_1 ((uint16_t)0x0100) /*!< Reference resistor tap for setting 1. */ 2472*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_2 ((uint16_t)0x0200) /*!< Reference resistor tap for setting 2. */ 2473*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_3 ((uint16_t)0x0300) /*!< Reference resistor tap for setting 3. */ 2474*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_4 ((uint16_t)0x0400) /*!< Reference resistor tap for setting 4. */ 2475*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_5 ((uint16_t)0x0500) /*!< Reference resistor tap for setting 5. */ 2476*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_6 ((uint16_t)0x0600) /*!< Reference resistor tap for setting 6. */ 2477*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_7 ((uint16_t)0x0700) /*!< Reference resistor tap for setting 7. */ 2478*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_8 ((uint16_t)0x0800) /*!< Reference resistor tap for setting 8. */ 2479*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_9 ((uint16_t)0x0900) /*!< Reference resistor tap for setting 9. */ 2480*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_10 ((uint16_t)0x0A00) /*!< Reference resistor tap for setting 10. */ 2481*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_11 ((uint16_t)0x0B00) /*!< Reference resistor tap for setting 11. */ 2482*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_12 ((uint16_t)0x0C00) /*!< Reference resistor tap for setting 12. */ 2483*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_13 ((uint16_t)0x0D00) /*!< Reference resistor tap for setting 13. */ 2484*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_14 ((uint16_t)0x0E00) /*!< Reference resistor tap for setting 14. */ 2485*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_15 ((uint16_t)0x0F00) /*!< Reference resistor tap for setting 15. */ 2486*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_16 ((uint16_t)0x1000) /*!< Reference resistor tap for setting 16. */ 2487*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_17 ((uint16_t)0x1100) /*!< Reference resistor tap for setting 17. */ 2488*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_18 ((uint16_t)0x1200) /*!< Reference resistor tap for setting 18. */ 2489*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_19 ((uint16_t)0x1300) /*!< Reference resistor tap for setting 19. */ 2490*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_20 ((uint16_t)0x1400) /*!< Reference resistor tap for setting 20. */ 2491*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_21 ((uint16_t)0x1500) /*!< Reference resistor tap for setting 21. */ 2492*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_22 ((uint16_t)0x1600) /*!< Reference resistor tap for setting 22. */ 2493*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_23 ((uint16_t)0x1700) /*!< Reference resistor tap for setting 23. */ 2494*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_24 ((uint16_t)0x1800) /*!< Reference resistor tap for setting 24. */ 2495*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_25 ((uint16_t)0x1900) /*!< Reference resistor tap for setting 25. */ 2496*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_26 ((uint16_t)0x1A00) /*!< Reference resistor tap for setting 26. */ 2497*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_27 ((uint16_t)0x1B00) /*!< Reference resistor tap for setting 27. */ 2498*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_28 ((uint16_t)0x1C00) /*!< Reference resistor tap for setting 28. */ 2499*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_29 ((uint16_t)0x1D00) /*!< Reference resistor tap for setting 29. */ 2500*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_30 ((uint16_t)0x1E00) /*!< Reference resistor tap for setting 30. */ 2501*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REF1_31 ((uint16_t)0x1F00) /*!< Reference resistor tap for setting 31. */ 2502*5fd0122aSMatthias Ringwald /* COMP_E_CTL2[REFL] Bits */ 2503*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL_OFS (13) /*!< CEREFL Bit Offset */ 2504*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL_MASK ((uint16_t)0x6000) /*!< CEREFL Bit Mask */ 2505*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL0 ((uint16_t)0x2000) /*!< REFL Bit 0 */ 2506*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL1 ((uint16_t)0x4000) /*!< REFL Bit 1 */ 2507*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_CEREFL_0 ((uint16_t)0x0000) /*!< Reference amplifier is disabled. No reference voltage is requested */ 2508*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_CEREFL_1 ((uint16_t)0x2000) /*!< 1.2 V is selected as shared reference voltage input */ 2509*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_CEREFL_2 ((uint16_t)0x4000) /*!< 2.0 V is selected as shared reference voltage input */ 2510*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_CEREFL_3 ((uint16_t)0x6000) /*!< 2.5 V is selected as shared reference voltage input */ 2511*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL__OFF ((uint16_t)0x0000) /*!< Reference amplifier is disabled. No reference voltage is requested */ 2512*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL__1P2V ((uint16_t)0x2000) /*!< 1.2 V is selected as shared reference voltage input */ 2513*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL__2P0V ((uint16_t)0x4000) /*!< 2.0 V is selected as shared reference voltage input */ 2514*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFL__2P5V ((uint16_t)0x6000) /*!< 2.5 V is selected as shared reference voltage input */ 2515*5fd0122aSMatthias Ringwald /* COMP_E_CTL2[REFACC] Bits */ 2516*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFACC_OFS (15) /*!< CEREFACC Bit Offset */ 2517*5fd0122aSMatthias Ringwald #define COMP_E_CTL2_REFACC ((uint16_t)0x8000) /*!< Reference accuracy */ 2518*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD0] Bits */ 2519*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD0_OFS ( 0) /*!< CEPD0 Bit Offset */ 2520*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD0 ((uint16_t)0x0001) /*!< Port disable */ 2521*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD1] Bits */ 2522*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD1_OFS ( 1) /*!< CEPD1 Bit Offset */ 2523*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD1 ((uint16_t)0x0002) /*!< Port disable */ 2524*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD2] Bits */ 2525*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD2_OFS ( 2) /*!< CEPD2 Bit Offset */ 2526*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD2 ((uint16_t)0x0004) /*!< Port disable */ 2527*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD3] Bits */ 2528*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD3_OFS ( 3) /*!< CEPD3 Bit Offset */ 2529*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD3 ((uint16_t)0x0008) /*!< Port disable */ 2530*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD4] Bits */ 2531*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD4_OFS ( 4) /*!< CEPD4 Bit Offset */ 2532*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD4 ((uint16_t)0x0010) /*!< Port disable */ 2533*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD5] Bits */ 2534*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD5_OFS ( 5) /*!< CEPD5 Bit Offset */ 2535*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD5 ((uint16_t)0x0020) /*!< Port disable */ 2536*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD6] Bits */ 2537*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD6_OFS ( 6) /*!< CEPD6 Bit Offset */ 2538*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD6 ((uint16_t)0x0040) /*!< Port disable */ 2539*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD7] Bits */ 2540*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD7_OFS ( 7) /*!< CEPD7 Bit Offset */ 2541*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD7 ((uint16_t)0x0080) /*!< Port disable */ 2542*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD8] Bits */ 2543*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD8_OFS ( 8) /*!< CEPD8 Bit Offset */ 2544*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD8 ((uint16_t)0x0100) /*!< Port disable */ 2545*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD9] Bits */ 2546*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD9_OFS ( 9) /*!< CEPD9 Bit Offset */ 2547*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD9 ((uint16_t)0x0200) /*!< Port disable */ 2548*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD10] Bits */ 2549*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD10_OFS (10) /*!< CEPD10 Bit Offset */ 2550*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD10 ((uint16_t)0x0400) /*!< Port disable */ 2551*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD11] Bits */ 2552*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD11_OFS (11) /*!< CEPD11 Bit Offset */ 2553*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD11 ((uint16_t)0x0800) /*!< Port disable */ 2554*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD12] Bits */ 2555*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD12_OFS (12) /*!< CEPD12 Bit Offset */ 2556*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD12 ((uint16_t)0x1000) /*!< Port disable */ 2557*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD13] Bits */ 2558*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD13_OFS (13) /*!< CEPD13 Bit Offset */ 2559*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD13 ((uint16_t)0x2000) /*!< Port disable */ 2560*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD14] Bits */ 2561*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD14_OFS (14) /*!< CEPD14 Bit Offset */ 2562*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD14 ((uint16_t)0x4000) /*!< Port disable */ 2563*5fd0122aSMatthias Ringwald /* COMP_E_CTL3[PD15] Bits */ 2564*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD15_OFS (15) /*!< CEPD15 Bit Offset */ 2565*5fd0122aSMatthias Ringwald #define COMP_E_CTL3_PD15 ((uint16_t)0x8000) /*!< Port disable */ 2566*5fd0122aSMatthias Ringwald /* COMP_E_INT[IFG] Bits */ 2567*5fd0122aSMatthias Ringwald #define COMP_E_INT_IFG_OFS ( 0) /*!< CEIFG Bit Offset */ 2568*5fd0122aSMatthias Ringwald #define COMP_E_INT_IFG ((uint16_t)0x0001) /*!< Comparator output interrupt flag */ 2569*5fd0122aSMatthias Ringwald /* COMP_E_INT[IIFG] Bits */ 2570*5fd0122aSMatthias Ringwald #define COMP_E_INT_IIFG_OFS ( 1) /*!< CEIIFG Bit Offset */ 2571*5fd0122aSMatthias Ringwald #define COMP_E_INT_IIFG ((uint16_t)0x0002) /*!< Comparator output inverted interrupt flag */ 2572*5fd0122aSMatthias Ringwald /* COMP_E_INT[RDYIFG] Bits */ 2573*5fd0122aSMatthias Ringwald #define COMP_E_INT_RDYIFG_OFS ( 4) /*!< CERDYIFG Bit Offset */ 2574*5fd0122aSMatthias Ringwald #define COMP_E_INT_RDYIFG ((uint16_t)0x0010) /*!< Comparator ready interrupt flag */ 2575*5fd0122aSMatthias Ringwald /* COMP_E_INT[IE] Bits */ 2576*5fd0122aSMatthias Ringwald #define COMP_E_INT_IE_OFS ( 8) /*!< CEIE Bit Offset */ 2577*5fd0122aSMatthias Ringwald #define COMP_E_INT_IE ((uint16_t)0x0100) /*!< Comparator output interrupt enable */ 2578*5fd0122aSMatthias Ringwald /* COMP_E_INT[IIE] Bits */ 2579*5fd0122aSMatthias Ringwald #define COMP_E_INT_IIE_OFS ( 9) /*!< CEIIE Bit Offset */ 2580*5fd0122aSMatthias Ringwald #define COMP_E_INT_IIE ((uint16_t)0x0200) /*!< Comparator output interrupt enable inverted polarity */ 2581*5fd0122aSMatthias Ringwald /* COMP_E_INT[RDYIE] Bits */ 2582*5fd0122aSMatthias Ringwald #define COMP_E_INT_RDYIE_OFS (12) /*!< CERDYIE Bit Offset */ 2583*5fd0122aSMatthias Ringwald #define COMP_E_INT_RDYIE ((uint16_t)0x1000) /*!< Comparator ready interrupt enable */ 2584*5fd0122aSMatthias Ringwald 2585*5fd0122aSMatthias Ringwald /****************************************************************************** 2586*5fd0122aSMatthias Ringwald * COREDEBUG Bits 2587*5fd0122aSMatthias Ringwald ******************************************************************************/ 2588*5fd0122aSMatthias Ringwald 2589*5fd0122aSMatthias Ringwald 2590*5fd0122aSMatthias Ringwald /****************************************************************************** 2591*5fd0122aSMatthias Ringwald * CRC32 Bits 2592*5fd0122aSMatthias Ringwald ******************************************************************************/ 2593*5fd0122aSMatthias Ringwald 2594*5fd0122aSMatthias Ringwald /****************************************************************************** 2595*5fd0122aSMatthias Ringwald * CS Bits 2596*5fd0122aSMatthias Ringwald ******************************************************************************/ 2597*5fd0122aSMatthias Ringwald /* CS_KEY[KEY] Bits */ 2598*5fd0122aSMatthias Ringwald #define CS_KEY_KEY_OFS ( 0) /*!< CSKEY Bit Offset */ 2599*5fd0122aSMatthias Ringwald #define CS_KEY_KEY_MASK ((uint32_t)0x0000FFFF) /*!< CSKEY Bit Mask */ 2600*5fd0122aSMatthias Ringwald /* CS_CTL0[DCOTUNE] Bits */ 2601*5fd0122aSMatthias Ringwald #define CS_CTL0_DCOTUNE_OFS ( 0) /*!< DCOTUNE Bit Offset */ 2602*5fd0122aSMatthias Ringwald #define CS_CTL0_DCOTUNE_MASK ((uint32_t)0x000003FF) /*!< DCOTUNE Bit Mask */ 2603*5fd0122aSMatthias Ringwald /* CS_CTL0[DCORSEL] Bits */ 2604*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_OFS (16) /*!< DCORSEL Bit Offset */ 2605*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_MASK ((uint32_t)0x00070000) /*!< DCORSEL Bit Mask */ 2606*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL0 ((uint32_t)0x00010000) /*!< DCORSEL Bit 0 */ 2607*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL1 ((uint32_t)0x00020000) /*!< DCORSEL Bit 1 */ 2608*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL2 ((uint32_t)0x00040000) /*!< DCORSEL Bit 2 */ 2609*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_0 ((uint32_t)0x00000000) /*!< Nominal DCO Frequency Range (MHz): 1 to 2 */ 2610*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_1 ((uint32_t)0x00010000) /*!< Nominal DCO Frequency Range (MHz): 2 to 4 */ 2611*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_2 ((uint32_t)0x00020000) /*!< Nominal DCO Frequency Range (MHz): 4 to 8 */ 2612*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_3 ((uint32_t)0x00030000) /*!< Nominal DCO Frequency Range (MHz): 8 to 16 */ 2613*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_4 ((uint32_t)0x00040000) /*!< Nominal DCO Frequency Range (MHz): 16 to 32 */ 2614*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORSEL_5 ((uint32_t)0x00050000) /*!< Nominal DCO Frequency Range (MHz): 32 to 64 */ 2615*5fd0122aSMatthias Ringwald /* CS_CTL0[DCORES] Bits */ 2616*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORES_OFS (22) /*!< DCORES Bit Offset */ 2617*5fd0122aSMatthias Ringwald #define CS_CTL0_DCORES ((uint32_t)0x00400000) /*!< Enables the DCO external resistor mode */ 2618*5fd0122aSMatthias Ringwald /* CS_CTL0[DCOEN] Bits */ 2619*5fd0122aSMatthias Ringwald #define CS_CTL0_DCOEN_OFS (23) /*!< DCOEN Bit Offset */ 2620*5fd0122aSMatthias Ringwald #define CS_CTL0_DCOEN ((uint32_t)0x00800000) /*!< Enables the DCO oscillator */ 2621*5fd0122aSMatthias Ringwald /* CS_CTL1[SELM] Bits */ 2622*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_OFS ( 0) /*!< SELM Bit Offset */ 2623*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_MASK ((uint32_t)0x00000007) /*!< SELM Bit Mask */ 2624*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM0 ((uint32_t)0x00000001) /*!< SELM Bit 0 */ 2625*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM1 ((uint32_t)0x00000002) /*!< SELM Bit 1 */ 2626*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM2 ((uint32_t)0x00000004) /*!< SELM Bit 2 */ 2627*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_0 ((uint32_t)0x00000000) /*!< when LFXT available, otherwise REFOCLK */ 2628*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_1 ((uint32_t)0x00000001) 2629*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_2 ((uint32_t)0x00000002) 2630*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_3 ((uint32_t)0x00000003) 2631*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_4 ((uint32_t)0x00000004) 2632*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_5 ((uint32_t)0x00000005) /*!< when HFXT available, otherwise DCOCLK */ 2633*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM_6 ((uint32_t)0x00000006) /*!< when HFXT2 available, otherwise DCOCLK */ 2634*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM__LFXTCLK ((uint32_t)0x00000000) /*!< when LFXT available, otherwise REFOCLK */ 2635*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM__VLOCLK ((uint32_t)0x00000001) 2636*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM__REFOCLK ((uint32_t)0x00000002) 2637*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM__DCOCLK ((uint32_t)0x00000003) 2638*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM__MODOSC ((uint32_t)0x00000004) 2639*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM__HFXTCLK ((uint32_t)0x00000005) /*!< when HFXT available, otherwise DCOCLK */ 2640*5fd0122aSMatthias Ringwald #define CS_CTL1_SELM__HFXT2CLK ((uint32_t)0x00000006) /*!< when HFXT2 available, otherwise DCOCLK */ 2641*5fd0122aSMatthias Ringwald /* CS_CTL1[SELS] Bits */ 2642*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_OFS ( 4) /*!< SELS Bit Offset */ 2643*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_MASK ((uint32_t)0x00000070) /*!< SELS Bit Mask */ 2644*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS0 ((uint32_t)0x00000010) /*!< SELS Bit 0 */ 2645*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS1 ((uint32_t)0x00000020) /*!< SELS Bit 1 */ 2646*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS2 ((uint32_t)0x00000040) /*!< SELS Bit 2 */ 2647*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_0 ((uint32_t)0x00000000) /*!< when LFXT available, otherwise REFOCLK */ 2648*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_1 ((uint32_t)0x00000010) 2649*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_2 ((uint32_t)0x00000020) 2650*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_3 ((uint32_t)0x00000030) 2651*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_4 ((uint32_t)0x00000040) 2652*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_5 ((uint32_t)0x00000050) /*!< when HFXT available, otherwise DCOCLK */ 2653*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS_6 ((uint32_t)0x00000060) /*!< when HFXT2 available, otherwise DCOCLK */ 2654*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS__LFXTCLK ((uint32_t)0x00000000) /*!< when LFXT available, otherwise REFOCLK */ 2655*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS__VLOCLK ((uint32_t)0x00000010) 2656*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS__REFOCLK ((uint32_t)0x00000020) 2657*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS__DCOCLK ((uint32_t)0x00000030) 2658*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS__MODOSC ((uint32_t)0x00000040) 2659*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS__HFXTCLK ((uint32_t)0x00000050) /*!< when HFXT available, otherwise DCOCLK */ 2660*5fd0122aSMatthias Ringwald #define CS_CTL1_SELS__HFXT2CLK ((uint32_t)0x00000060) /*!< when HFXT2 available, otherwise DCOCLK */ 2661*5fd0122aSMatthias Ringwald /* CS_CTL1[SELA] Bits */ 2662*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA_OFS ( 8) /*!< SELA Bit Offset */ 2663*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA_MASK ((uint32_t)0x00000700) /*!< SELA Bit Mask */ 2664*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA0 ((uint32_t)0x00000100) /*!< SELA Bit 0 */ 2665*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA1 ((uint32_t)0x00000200) /*!< SELA Bit 1 */ 2666*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA2 ((uint32_t)0x00000400) /*!< SELA Bit 2 */ 2667*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA_0 ((uint32_t)0x00000000) /*!< when LFXT available, otherwise REFOCLK */ 2668*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA_1 ((uint32_t)0x00000100) 2669*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA_2 ((uint32_t)0x00000200) 2670*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA__LFXTCLK ((uint32_t)0x00000000) /*!< when LFXT available, otherwise REFOCLK */ 2671*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA__VLOCLK ((uint32_t)0x00000100) 2672*5fd0122aSMatthias Ringwald #define CS_CTL1_SELA__REFOCLK ((uint32_t)0x00000200) 2673*5fd0122aSMatthias Ringwald /* CS_CTL1[SELB] Bits */ 2674*5fd0122aSMatthias Ringwald #define CS_CTL1_SELB_OFS (12) /*!< SELB Bit Offset */ 2675*5fd0122aSMatthias Ringwald #define CS_CTL1_SELB ((uint32_t)0x00001000) /*!< Selects the BCLK source */ 2676*5fd0122aSMatthias Ringwald /* CS_CTL1[DIVM] Bits */ 2677*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_OFS (16) /*!< DIVM Bit Offset */ 2678*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_MASK ((uint32_t)0x00070000) /*!< DIVM Bit Mask */ 2679*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM0 ((uint32_t)0x00010000) /*!< DIVM Bit 0 */ 2680*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM1 ((uint32_t)0x00020000) /*!< DIVM Bit 1 */ 2681*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM2 ((uint32_t)0x00040000) /*!< DIVM Bit 2 */ 2682*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_0 ((uint32_t)0x00000000) /*!< f(MCLK)/1 */ 2683*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_1 ((uint32_t)0x00010000) /*!< f(MCLK)/2 */ 2684*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_2 ((uint32_t)0x00020000) /*!< f(MCLK)/4 */ 2685*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_3 ((uint32_t)0x00030000) /*!< f(MCLK)/8 */ 2686*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_4 ((uint32_t)0x00040000) /*!< f(MCLK)/16 */ 2687*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_5 ((uint32_t)0x00050000) /*!< f(MCLK)/32 */ 2688*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_6 ((uint32_t)0x00060000) /*!< f(MCLK)/64 */ 2689*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM_7 ((uint32_t)0x00070000) /*!< f(MCLK)/128 */ 2690*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__1 ((uint32_t)0x00000000) /*!< f(MCLK)/1 */ 2691*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__2 ((uint32_t)0x00010000) /*!< f(MCLK)/2 */ 2692*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__4 ((uint32_t)0x00020000) /*!< f(MCLK)/4 */ 2693*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__8 ((uint32_t)0x00030000) /*!< f(MCLK)/8 */ 2694*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__16 ((uint32_t)0x00040000) /*!< f(MCLK)/16 */ 2695*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__32 ((uint32_t)0x00050000) /*!< f(MCLK)/32 */ 2696*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__64 ((uint32_t)0x00060000) /*!< f(MCLK)/64 */ 2697*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVM__128 ((uint32_t)0x00070000) /*!< f(MCLK)/128 */ 2698*5fd0122aSMatthias Ringwald /* CS_CTL1[DIVHS] Bits */ 2699*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_OFS (20) /*!< DIVHS Bit Offset */ 2700*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_MASK ((uint32_t)0x00700000) /*!< DIVHS Bit Mask */ 2701*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS0 ((uint32_t)0x00100000) /*!< DIVHS Bit 0 */ 2702*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS1 ((uint32_t)0x00200000) /*!< DIVHS Bit 1 */ 2703*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS2 ((uint32_t)0x00400000) /*!< DIVHS Bit 2 */ 2704*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_0 ((uint32_t)0x00000000) /*!< f(HSMCLK)/1 */ 2705*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_1 ((uint32_t)0x00100000) /*!< f(HSMCLK)/2 */ 2706*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_2 ((uint32_t)0x00200000) /*!< f(HSMCLK)/4 */ 2707*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_3 ((uint32_t)0x00300000) /*!< f(HSMCLK)/8 */ 2708*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_4 ((uint32_t)0x00400000) /*!< f(HSMCLK)/16 */ 2709*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_5 ((uint32_t)0x00500000) /*!< f(HSMCLK)/32 */ 2710*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_6 ((uint32_t)0x00600000) /*!< f(HSMCLK)/64 */ 2711*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS_7 ((uint32_t)0x00700000) /*!< f(HSMCLK)/128 */ 2712*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__1 ((uint32_t)0x00000000) /*!< f(HSMCLK)/1 */ 2713*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__2 ((uint32_t)0x00100000) /*!< f(HSMCLK)/2 */ 2714*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__4 ((uint32_t)0x00200000) /*!< f(HSMCLK)/4 */ 2715*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__8 ((uint32_t)0x00300000) /*!< f(HSMCLK)/8 */ 2716*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__16 ((uint32_t)0x00400000) /*!< f(HSMCLK)/16 */ 2717*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__32 ((uint32_t)0x00500000) /*!< f(HSMCLK)/32 */ 2718*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__64 ((uint32_t)0x00600000) /*!< f(HSMCLK)/64 */ 2719*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVHS__128 ((uint32_t)0x00700000) /*!< f(HSMCLK)/128 */ 2720*5fd0122aSMatthias Ringwald /* CS_CTL1[DIVA] Bits */ 2721*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_OFS (24) /*!< DIVA Bit Offset */ 2722*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_MASK ((uint32_t)0x07000000) /*!< DIVA Bit Mask */ 2723*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA0 ((uint32_t)0x01000000) /*!< DIVA Bit 0 */ 2724*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA1 ((uint32_t)0x02000000) /*!< DIVA Bit 1 */ 2725*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA2 ((uint32_t)0x04000000) /*!< DIVA Bit 2 */ 2726*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_0 ((uint32_t)0x00000000) /*!< f(ACLK)/1 */ 2727*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_1 ((uint32_t)0x01000000) /*!< f(ACLK)/2 */ 2728*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_2 ((uint32_t)0x02000000) /*!< f(ACLK)/4 */ 2729*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_3 ((uint32_t)0x03000000) /*!< f(ACLK)/8 */ 2730*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_4 ((uint32_t)0x04000000) /*!< f(ACLK)/16 */ 2731*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_5 ((uint32_t)0x05000000) /*!< f(ACLK)/32 */ 2732*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_6 ((uint32_t)0x06000000) /*!< f(ACLK)/64 */ 2733*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA_7 ((uint32_t)0x07000000) /*!< f(ACLK)/128 */ 2734*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__1 ((uint32_t)0x00000000) /*!< f(ACLK)/1 */ 2735*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__2 ((uint32_t)0x01000000) /*!< f(ACLK)/2 */ 2736*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__4 ((uint32_t)0x02000000) /*!< f(ACLK)/4 */ 2737*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__8 ((uint32_t)0x03000000) /*!< f(ACLK)/8 */ 2738*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__16 ((uint32_t)0x04000000) /*!< f(ACLK)/16 */ 2739*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__32 ((uint32_t)0x05000000) /*!< f(ACLK)/32 */ 2740*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__64 ((uint32_t)0x06000000) /*!< f(ACLK)/64 */ 2741*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVA__128 ((uint32_t)0x07000000) /*!< f(ACLK)/128 */ 2742*5fd0122aSMatthias Ringwald /* CS_CTL1[DIVS] Bits */ 2743*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_OFS (28) /*!< DIVS Bit Offset */ 2744*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_MASK ((uint32_t)0x70000000) /*!< DIVS Bit Mask */ 2745*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS0 ((uint32_t)0x10000000) /*!< DIVS Bit 0 */ 2746*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS1 ((uint32_t)0x20000000) /*!< DIVS Bit 1 */ 2747*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS2 ((uint32_t)0x40000000) /*!< DIVS Bit 2 */ 2748*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_0 ((uint32_t)0x00000000) /*!< f(SMCLK)/1 */ 2749*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_1 ((uint32_t)0x10000000) /*!< f(SMCLK)/2 */ 2750*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_2 ((uint32_t)0x20000000) /*!< f(SMCLK)/4 */ 2751*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_3 ((uint32_t)0x30000000) /*!< f(SMCLK)/8 */ 2752*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_4 ((uint32_t)0x40000000) /*!< f(SMCLK)/16 */ 2753*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_5 ((uint32_t)0x50000000) /*!< f(SMCLK)/32 */ 2754*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_6 ((uint32_t)0x60000000) /*!< f(SMCLK)/64 */ 2755*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS_7 ((uint32_t)0x70000000) /*!< f(SMCLK)/128 */ 2756*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__1 ((uint32_t)0x00000000) /*!< f(SMCLK)/1 */ 2757*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__2 ((uint32_t)0x10000000) /*!< f(SMCLK)/2 */ 2758*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__4 ((uint32_t)0x20000000) /*!< f(SMCLK)/4 */ 2759*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__8 ((uint32_t)0x30000000) /*!< f(SMCLK)/8 */ 2760*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__16 ((uint32_t)0x40000000) /*!< f(SMCLK)/16 */ 2761*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__32 ((uint32_t)0x50000000) /*!< f(SMCLK)/32 */ 2762*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__64 ((uint32_t)0x60000000) /*!< f(SMCLK)/64 */ 2763*5fd0122aSMatthias Ringwald #define CS_CTL1_DIVS__128 ((uint32_t)0x70000000) /*!< f(SMCLK)/128 */ 2764*5fd0122aSMatthias Ringwald /* CS_CTL2[LFXTDRIVE] Bits */ 2765*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE_OFS ( 0) /*!< LFXTDRIVE Bit Offset */ 2766*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE_MASK ((uint32_t)0x00000003) /*!< LFXTDRIVE Bit Mask */ 2767*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE0 ((uint32_t)0x00000001) /*!< LFXTDRIVE Bit 0 */ 2768*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE1 ((uint32_t)0x00000002) /*!< LFXTDRIVE Bit 1 */ 2769*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE_0 ((uint32_t)0x00000000) /*!< Lowest drive strength and current consumption LFXT oscillator. */ 2770*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE_1 ((uint32_t)0x00000001) /*!< Increased drive strength LFXT oscillator. */ 2771*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE_2 ((uint32_t)0x00000002) /*!< Increased drive strength LFXT oscillator. */ 2772*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTDRIVE_3 ((uint32_t)0x00000003) /*!< Maximum drive strength and maximum current consumption LFXT oscillator. */ 2773*5fd0122aSMatthias Ringwald /* CS_CTL2[LFXT_EN] Bits */ 2774*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXT_EN_OFS ( 8) /*!< LFXT_EN Bit Offset */ 2775*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXT_EN ((uint32_t)0x00000100) /*!< Turns on the LFXT oscillator regardless if used as a clock resource */ 2776*5fd0122aSMatthias Ringwald /* CS_CTL2[LFXTBYPASS] Bits */ 2777*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTBYPASS_OFS ( 9) /*!< LFXTBYPASS Bit Offset */ 2778*5fd0122aSMatthias Ringwald #define CS_CTL2_LFXTBYPASS ((uint32_t)0x00000200) /*!< LFXT bypass select */ 2779*5fd0122aSMatthias Ringwald /* CS_CTL2[HFXTDRIVE] Bits */ 2780*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTDRIVE_OFS (16) /*!< HFXTDRIVE Bit Offset */ 2781*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTDRIVE ((uint32_t)0x00010000) /*!< HFXT oscillator drive selection */ 2782*5fd0122aSMatthias Ringwald /* CS_CTL2[HFXTFREQ] Bits */ 2783*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_OFS (20) /*!< HFXTFREQ Bit Offset */ 2784*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_MASK ((uint32_t)0x00700000) /*!< HFXTFREQ Bit Mask */ 2785*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ0 ((uint32_t)0x00100000) /*!< HFXTFREQ Bit 0 */ 2786*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ1 ((uint32_t)0x00200000) /*!< HFXTFREQ Bit 1 */ 2787*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ2 ((uint32_t)0x00400000) /*!< HFXTFREQ Bit 2 */ 2788*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_0 ((uint32_t)0x00000000) /*!< 1 MHz to 4 MHz */ 2789*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_1 ((uint32_t)0x00100000) /*!< >4 MHz to 8 MHz */ 2790*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_2 ((uint32_t)0x00200000) /*!< >8 MHz to 16 MHz */ 2791*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_3 ((uint32_t)0x00300000) /*!< >16 MHz to 24 MHz */ 2792*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_4 ((uint32_t)0x00400000) /*!< >24 MHz to 32 MHz */ 2793*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_5 ((uint32_t)0x00500000) /*!< >32 MHz to 40 MHz */ 2794*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_6 ((uint32_t)0x00600000) /*!< >40 MHz to 48 MHz */ 2795*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTFREQ_7 ((uint32_t)0x00700000) /*!< Reserved for future use. */ 2796*5fd0122aSMatthias Ringwald /* CS_CTL2[HFXT_EN] Bits */ 2797*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXT_EN_OFS (24) /*!< HFXT_EN Bit Offset */ 2798*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXT_EN ((uint32_t)0x01000000) /*!< Turns on the HFXT oscillator regardless if used as a clock resource */ 2799*5fd0122aSMatthias Ringwald /* CS_CTL2[HFXTBYPASS] Bits */ 2800*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTBYPASS_OFS (25) /*!< HFXTBYPASS Bit Offset */ 2801*5fd0122aSMatthias Ringwald #define CS_CTL2_HFXTBYPASS ((uint32_t)0x02000000) /*!< HFXT bypass select */ 2802*5fd0122aSMatthias Ringwald /* CS_CTL3[FCNTLF] Bits */ 2803*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_OFS ( 0) /*!< FCNTLF Bit Offset */ 2804*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_MASK ((uint32_t)0x00000003) /*!< FCNTLF Bit Mask */ 2805*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF0 ((uint32_t)0x00000001) /*!< FCNTLF Bit 0 */ 2806*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF1 ((uint32_t)0x00000002) /*!< FCNTLF Bit 1 */ 2807*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_0 ((uint32_t)0x00000000) /*!< 4096 cycles */ 2808*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_1 ((uint32_t)0x00000001) /*!< 8192 cycles */ 2809*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_2 ((uint32_t)0x00000002) /*!< 16384 cycles */ 2810*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_3 ((uint32_t)0x00000003) /*!< 32768 cycles */ 2811*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF__4096 ((uint32_t)0x00000000) /*!< 4096 cycles */ 2812*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF__8192 ((uint32_t)0x00000001) /*!< 8192 cycles */ 2813*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF__16384 ((uint32_t)0x00000002) /*!< 16384 cycles */ 2814*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF__32768 ((uint32_t)0x00000003) /*!< 32768 cycles */ 2815*5fd0122aSMatthias Ringwald /* CS_CTL3[RFCNTLF] Bits */ 2816*5fd0122aSMatthias Ringwald #define CS_CTL3_RFCNTLF_OFS ( 2) /*!< RFCNTLF Bit Offset */ 2817*5fd0122aSMatthias Ringwald #define CS_CTL3_RFCNTLF ((uint32_t)0x00000004) /*!< Reset start fault counter for LFXT */ 2818*5fd0122aSMatthias Ringwald /* CS_CTL3[FCNTLF_EN] Bits */ 2819*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_EN_OFS ( 3) /*!< FCNTLF_EN Bit Offset */ 2820*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTLF_EN ((uint32_t)0x00000008) /*!< Enable start fault counter for LFXT */ 2821*5fd0122aSMatthias Ringwald /* CS_CTL3[FCNTHF] Bits */ 2822*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_OFS ( 4) /*!< FCNTHF Bit Offset */ 2823*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_MASK ((uint32_t)0x00000030) /*!< FCNTHF Bit Mask */ 2824*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF0 ((uint32_t)0x00000010) /*!< FCNTHF Bit 0 */ 2825*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF1 ((uint32_t)0x00000020) /*!< FCNTHF Bit 1 */ 2826*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_0 ((uint32_t)0x00000000) /*!< 2048 cycles */ 2827*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_1 ((uint32_t)0x00000010) /*!< 4096 cycles */ 2828*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_2 ((uint32_t)0x00000020) /*!< 8192 cycles */ 2829*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_3 ((uint32_t)0x00000030) /*!< 16384 cycles */ 2830*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF__2048 ((uint32_t)0x00000000) /*!< 2048 cycles */ 2831*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF__4096 ((uint32_t)0x00000010) /*!< 4096 cycles */ 2832*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF__8192 ((uint32_t)0x00000020) /*!< 8192 cycles */ 2833*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF__16384 ((uint32_t)0x00000030) /*!< 16384 cycles */ 2834*5fd0122aSMatthias Ringwald /* CS_CTL3[RFCNTHF] Bits */ 2835*5fd0122aSMatthias Ringwald #define CS_CTL3_RFCNTHF_OFS ( 6) /*!< RFCNTHF Bit Offset */ 2836*5fd0122aSMatthias Ringwald #define CS_CTL3_RFCNTHF ((uint32_t)0x00000040) /*!< Reset start fault counter for HFXT */ 2837*5fd0122aSMatthias Ringwald /* CS_CTL3[FCNTHF_EN] Bits */ 2838*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_EN_OFS ( 7) /*!< FCNTHF_EN Bit Offset */ 2839*5fd0122aSMatthias Ringwald #define CS_CTL3_FCNTHF_EN ((uint32_t)0x00000080) /*!< Enable start fault counter for HFXT */ 2840*5fd0122aSMatthias Ringwald /* CS_CLKEN[ACLK_EN] Bits */ 2841*5fd0122aSMatthias Ringwald #define CS_CLKEN_ACLK_EN_OFS ( 0) /*!< ACLK_EN Bit Offset */ 2842*5fd0122aSMatthias Ringwald #define CS_CLKEN_ACLK_EN ((uint32_t)0x00000001) /*!< ACLK system clock conditional request enable */ 2843*5fd0122aSMatthias Ringwald /* CS_CLKEN[MCLK_EN] Bits */ 2844*5fd0122aSMatthias Ringwald #define CS_CLKEN_MCLK_EN_OFS ( 1) /*!< MCLK_EN Bit Offset */ 2845*5fd0122aSMatthias Ringwald #define CS_CLKEN_MCLK_EN ((uint32_t)0x00000002) /*!< MCLK system clock conditional request enable */ 2846*5fd0122aSMatthias Ringwald /* CS_CLKEN[HSMCLK_EN] Bits */ 2847*5fd0122aSMatthias Ringwald #define CS_CLKEN_HSMCLK_EN_OFS ( 2) /*!< HSMCLK_EN Bit Offset */ 2848*5fd0122aSMatthias Ringwald #define CS_CLKEN_HSMCLK_EN ((uint32_t)0x00000004) /*!< HSMCLK system clock conditional request enable */ 2849*5fd0122aSMatthias Ringwald /* CS_CLKEN[SMCLK_EN] Bits */ 2850*5fd0122aSMatthias Ringwald #define CS_CLKEN_SMCLK_EN_OFS ( 3) /*!< SMCLK_EN Bit Offset */ 2851*5fd0122aSMatthias Ringwald #define CS_CLKEN_SMCLK_EN ((uint32_t)0x00000008) /*!< SMCLK system clock conditional request enable */ 2852*5fd0122aSMatthias Ringwald /* CS_CLKEN[VLO_EN] Bits */ 2853*5fd0122aSMatthias Ringwald #define CS_CLKEN_VLO_EN_OFS ( 8) /*!< VLO_EN Bit Offset */ 2854*5fd0122aSMatthias Ringwald #define CS_CLKEN_VLO_EN ((uint32_t)0x00000100) /*!< Turns on the VLO oscillator */ 2855*5fd0122aSMatthias Ringwald /* CS_CLKEN[REFO_EN] Bits */ 2856*5fd0122aSMatthias Ringwald #define CS_CLKEN_REFO_EN_OFS ( 9) /*!< REFO_EN Bit Offset */ 2857*5fd0122aSMatthias Ringwald #define CS_CLKEN_REFO_EN ((uint32_t)0x00000200) /*!< Turns on the REFO oscillator */ 2858*5fd0122aSMatthias Ringwald /* CS_CLKEN[MODOSC_EN] Bits */ 2859*5fd0122aSMatthias Ringwald #define CS_CLKEN_MODOSC_EN_OFS (10) /*!< MODOSC_EN Bit Offset */ 2860*5fd0122aSMatthias Ringwald #define CS_CLKEN_MODOSC_EN ((uint32_t)0x00000400) /*!< Turns on the MODOSC oscillator */ 2861*5fd0122aSMatthias Ringwald /* CS_CLKEN[REFOFSEL] Bits */ 2862*5fd0122aSMatthias Ringwald #define CS_CLKEN_REFOFSEL_OFS (15) /*!< REFOFSEL Bit Offset */ 2863*5fd0122aSMatthias Ringwald #define CS_CLKEN_REFOFSEL ((uint32_t)0x00008000) /*!< Selects REFO nominal frequency */ 2864*5fd0122aSMatthias Ringwald /* CS_STAT[DCO_ON] Bits */ 2865*5fd0122aSMatthias Ringwald #define CS_STAT_DCO_ON_OFS ( 0) /*!< DCO_ON Bit Offset */ 2866*5fd0122aSMatthias Ringwald #define CS_STAT_DCO_ON ((uint32_t)0x00000001) /*!< DCO status */ 2867*5fd0122aSMatthias Ringwald /* CS_STAT[DCOBIAS_ON] Bits */ 2868*5fd0122aSMatthias Ringwald #define CS_STAT_DCOBIAS_ON_OFS ( 1) /*!< DCOBIAS_ON Bit Offset */ 2869*5fd0122aSMatthias Ringwald #define CS_STAT_DCOBIAS_ON ((uint32_t)0x00000002) /*!< DCO bias status */ 2870*5fd0122aSMatthias Ringwald /* CS_STAT[HFXT_ON] Bits */ 2871*5fd0122aSMatthias Ringwald #define CS_STAT_HFXT_ON_OFS ( 2) /*!< HFXT_ON Bit Offset */ 2872*5fd0122aSMatthias Ringwald #define CS_STAT_HFXT_ON ((uint32_t)0x00000004) /*!< HFXT status */ 2873*5fd0122aSMatthias Ringwald /* CS_STAT[MODOSC_ON] Bits */ 2874*5fd0122aSMatthias Ringwald #define CS_STAT_MODOSC_ON_OFS ( 4) /*!< MODOSC_ON Bit Offset */ 2875*5fd0122aSMatthias Ringwald #define CS_STAT_MODOSC_ON ((uint32_t)0x00000010) /*!< MODOSC status */ 2876*5fd0122aSMatthias Ringwald /* CS_STAT[VLO_ON] Bits */ 2877*5fd0122aSMatthias Ringwald #define CS_STAT_VLO_ON_OFS ( 5) /*!< VLO_ON Bit Offset */ 2878*5fd0122aSMatthias Ringwald #define CS_STAT_VLO_ON ((uint32_t)0x00000020) /*!< VLO status */ 2879*5fd0122aSMatthias Ringwald /* CS_STAT[LFXT_ON] Bits */ 2880*5fd0122aSMatthias Ringwald #define CS_STAT_LFXT_ON_OFS ( 6) /*!< LFXT_ON Bit Offset */ 2881*5fd0122aSMatthias Ringwald #define CS_STAT_LFXT_ON ((uint32_t)0x00000040) /*!< LFXT status */ 2882*5fd0122aSMatthias Ringwald /* CS_STAT[REFO_ON] Bits */ 2883*5fd0122aSMatthias Ringwald #define CS_STAT_REFO_ON_OFS ( 7) /*!< REFO_ON Bit Offset */ 2884*5fd0122aSMatthias Ringwald #define CS_STAT_REFO_ON ((uint32_t)0x00000080) /*!< REFO status */ 2885*5fd0122aSMatthias Ringwald /* CS_STAT[ACLK_ON] Bits */ 2886*5fd0122aSMatthias Ringwald #define CS_STAT_ACLK_ON_OFS (16) /*!< ACLK_ON Bit Offset */ 2887*5fd0122aSMatthias Ringwald #define CS_STAT_ACLK_ON ((uint32_t)0x00010000) /*!< ACLK system clock status */ 2888*5fd0122aSMatthias Ringwald /* CS_STAT[MCLK_ON] Bits */ 2889*5fd0122aSMatthias Ringwald #define CS_STAT_MCLK_ON_OFS (17) /*!< MCLK_ON Bit Offset */ 2890*5fd0122aSMatthias Ringwald #define CS_STAT_MCLK_ON ((uint32_t)0x00020000) /*!< MCLK system clock status */ 2891*5fd0122aSMatthias Ringwald /* CS_STAT[HSMCLK_ON] Bits */ 2892*5fd0122aSMatthias Ringwald #define CS_STAT_HSMCLK_ON_OFS (18) /*!< HSMCLK_ON Bit Offset */ 2893*5fd0122aSMatthias Ringwald #define CS_STAT_HSMCLK_ON ((uint32_t)0x00040000) /*!< HSMCLK system clock status */ 2894*5fd0122aSMatthias Ringwald /* CS_STAT[SMCLK_ON] Bits */ 2895*5fd0122aSMatthias Ringwald #define CS_STAT_SMCLK_ON_OFS (19) /*!< SMCLK_ON Bit Offset */ 2896*5fd0122aSMatthias Ringwald #define CS_STAT_SMCLK_ON ((uint32_t)0x00080000) /*!< SMCLK system clock status */ 2897*5fd0122aSMatthias Ringwald /* CS_STAT[MODCLK_ON] Bits */ 2898*5fd0122aSMatthias Ringwald #define CS_STAT_MODCLK_ON_OFS (20) /*!< MODCLK_ON Bit Offset */ 2899*5fd0122aSMatthias Ringwald #define CS_STAT_MODCLK_ON ((uint32_t)0x00100000) /*!< MODCLK system clock status */ 2900*5fd0122aSMatthias Ringwald /* CS_STAT[VLOCLK_ON] Bits */ 2901*5fd0122aSMatthias Ringwald #define CS_STAT_VLOCLK_ON_OFS (21) /*!< VLOCLK_ON Bit Offset */ 2902*5fd0122aSMatthias Ringwald #define CS_STAT_VLOCLK_ON ((uint32_t)0x00200000) /*!< VLOCLK system clock status */ 2903*5fd0122aSMatthias Ringwald /* CS_STAT[LFXTCLK_ON] Bits */ 2904*5fd0122aSMatthias Ringwald #define CS_STAT_LFXTCLK_ON_OFS (22) /*!< LFXTCLK_ON Bit Offset */ 2905*5fd0122aSMatthias Ringwald #define CS_STAT_LFXTCLK_ON ((uint32_t)0x00400000) /*!< LFXTCLK system clock status */ 2906*5fd0122aSMatthias Ringwald /* CS_STAT[REFOCLK_ON] Bits */ 2907*5fd0122aSMatthias Ringwald #define CS_STAT_REFOCLK_ON_OFS (23) /*!< REFOCLK_ON Bit Offset */ 2908*5fd0122aSMatthias Ringwald #define CS_STAT_REFOCLK_ON ((uint32_t)0x00800000) /*!< REFOCLK system clock status */ 2909*5fd0122aSMatthias Ringwald /* CS_STAT[ACLK_READY] Bits */ 2910*5fd0122aSMatthias Ringwald #define CS_STAT_ACLK_READY_OFS (24) /*!< ACLK_READY Bit Offset */ 2911*5fd0122aSMatthias Ringwald #define CS_STAT_ACLK_READY ((uint32_t)0x01000000) /*!< ACLK Ready status */ 2912*5fd0122aSMatthias Ringwald /* CS_STAT[MCLK_READY] Bits */ 2913*5fd0122aSMatthias Ringwald #define CS_STAT_MCLK_READY_OFS (25) /*!< MCLK_READY Bit Offset */ 2914*5fd0122aSMatthias Ringwald #define CS_STAT_MCLK_READY ((uint32_t)0x02000000) /*!< MCLK Ready status */ 2915*5fd0122aSMatthias Ringwald /* CS_STAT[HSMCLK_READY] Bits */ 2916*5fd0122aSMatthias Ringwald #define CS_STAT_HSMCLK_READY_OFS (26) /*!< HSMCLK_READY Bit Offset */ 2917*5fd0122aSMatthias Ringwald #define CS_STAT_HSMCLK_READY ((uint32_t)0x04000000) /*!< HSMCLK Ready status */ 2918*5fd0122aSMatthias Ringwald /* CS_STAT[SMCLK_READY] Bits */ 2919*5fd0122aSMatthias Ringwald #define CS_STAT_SMCLK_READY_OFS (27) /*!< SMCLK_READY Bit Offset */ 2920*5fd0122aSMatthias Ringwald #define CS_STAT_SMCLK_READY ((uint32_t)0x08000000) /*!< SMCLK Ready status */ 2921*5fd0122aSMatthias Ringwald /* CS_STAT[BCLK_READY] Bits */ 2922*5fd0122aSMatthias Ringwald #define CS_STAT_BCLK_READY_OFS (28) /*!< BCLK_READY Bit Offset */ 2923*5fd0122aSMatthias Ringwald #define CS_STAT_BCLK_READY ((uint32_t)0x10000000) /*!< BCLK Ready status */ 2924*5fd0122aSMatthias Ringwald /* CS_IE[LFXTIE] Bits */ 2925*5fd0122aSMatthias Ringwald #define CS_IE_LFXTIE_OFS ( 0) /*!< LFXTIE Bit Offset */ 2926*5fd0122aSMatthias Ringwald #define CS_IE_LFXTIE ((uint32_t)0x00000001) /*!< LFXT oscillator fault flag interrupt enable */ 2927*5fd0122aSMatthias Ringwald /* CS_IE[HFXTIE] Bits */ 2928*5fd0122aSMatthias Ringwald #define CS_IE_HFXTIE_OFS ( 1) /*!< HFXTIE Bit Offset */ 2929*5fd0122aSMatthias Ringwald #define CS_IE_HFXTIE ((uint32_t)0x00000002) /*!< HFXT oscillator fault flag interrupt enable */ 2930*5fd0122aSMatthias Ringwald /* CS_IE[DCOR_OPNIE] Bits */ 2931*5fd0122aSMatthias Ringwald #define CS_IE_DCOR_OPNIE_OFS ( 6) /*!< DCOR_OPNIE Bit Offset */ 2932*5fd0122aSMatthias Ringwald #define CS_IE_DCOR_OPNIE ((uint32_t)0x00000040) /*!< DCO external resistor open circuit fault flag interrupt enable. */ 2933*5fd0122aSMatthias Ringwald /* CS_IE[FCNTLFIE] Bits */ 2934*5fd0122aSMatthias Ringwald #define CS_IE_FCNTLFIE_OFS ( 8) /*!< FCNTLFIE Bit Offset */ 2935*5fd0122aSMatthias Ringwald #define CS_IE_FCNTLFIE ((uint32_t)0x00000100) /*!< Start fault counter interrupt enable LFXT */ 2936*5fd0122aSMatthias Ringwald /* CS_IE[FCNTHFIE] Bits */ 2937*5fd0122aSMatthias Ringwald #define CS_IE_FCNTHFIE_OFS ( 9) /*!< FCNTHFIE Bit Offset */ 2938*5fd0122aSMatthias Ringwald #define CS_IE_FCNTHFIE ((uint32_t)0x00000200) /*!< Start fault counter interrupt enable HFXT */ 2939*5fd0122aSMatthias Ringwald /* CS_IFG[LFXTIFG] Bits */ 2940*5fd0122aSMatthias Ringwald #define CS_IFG_LFXTIFG_OFS ( 0) /*!< LFXTIFG Bit Offset */ 2941*5fd0122aSMatthias Ringwald #define CS_IFG_LFXTIFG ((uint32_t)0x00000001) /*!< LFXT oscillator fault flag */ 2942*5fd0122aSMatthias Ringwald /* CS_IFG[HFXTIFG] Bits */ 2943*5fd0122aSMatthias Ringwald #define CS_IFG_HFXTIFG_OFS ( 1) /*!< HFXTIFG Bit Offset */ 2944*5fd0122aSMatthias Ringwald #define CS_IFG_HFXTIFG ((uint32_t)0x00000002) /*!< HFXT oscillator fault flag */ 2945*5fd0122aSMatthias Ringwald /* CS_IFG[DCOR_SHTIFG] Bits */ 2946*5fd0122aSMatthias Ringwald #define CS_IFG_DCOR_SHTIFG_OFS ( 5) /*!< DCOR_SHTIFG Bit Offset */ 2947*5fd0122aSMatthias Ringwald #define CS_IFG_DCOR_SHTIFG ((uint32_t)0x00000020) /*!< DCO external resistor short circuit fault flag. */ 2948*5fd0122aSMatthias Ringwald /* CS_IFG[DCOR_OPNIFG] Bits */ 2949*5fd0122aSMatthias Ringwald #define CS_IFG_DCOR_OPNIFG_OFS ( 6) /*!< DCOR_OPNIFG Bit Offset */ 2950*5fd0122aSMatthias Ringwald #define CS_IFG_DCOR_OPNIFG ((uint32_t)0x00000040) /*!< DCO external resistor open circuit fault flag. */ 2951*5fd0122aSMatthias Ringwald /* CS_IFG[FCNTLFIFG] Bits */ 2952*5fd0122aSMatthias Ringwald #define CS_IFG_FCNTLFIFG_OFS ( 8) /*!< FCNTLFIFG Bit Offset */ 2953*5fd0122aSMatthias Ringwald #define CS_IFG_FCNTLFIFG ((uint32_t)0x00000100) /*!< Start fault counter interrupt flag LFXT */ 2954*5fd0122aSMatthias Ringwald /* CS_IFG[FCNTHFIFG] Bits */ 2955*5fd0122aSMatthias Ringwald #define CS_IFG_FCNTHFIFG_OFS ( 9) /*!< FCNTHFIFG Bit Offset */ 2956*5fd0122aSMatthias Ringwald #define CS_IFG_FCNTHFIFG ((uint32_t)0x00000200) /*!< Start fault counter interrupt flag HFXT */ 2957*5fd0122aSMatthias Ringwald /* CS_CLRIFG[CLR_LFXTIFG] Bits */ 2958*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_LFXTIFG_OFS ( 0) /*!< CLR_LFXTIFG Bit Offset */ 2959*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_LFXTIFG ((uint32_t)0x00000001) /*!< Clear LFXT oscillator fault interrupt flag */ 2960*5fd0122aSMatthias Ringwald /* CS_CLRIFG[CLR_HFXTIFG] Bits */ 2961*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_HFXTIFG_OFS ( 1) /*!< CLR_HFXTIFG Bit Offset */ 2962*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_HFXTIFG ((uint32_t)0x00000002) /*!< Clear HFXT oscillator fault interrupt flag */ 2963*5fd0122aSMatthias Ringwald /* CS_CLRIFG[CLR_DCOR_OPNIFG] Bits */ 2964*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_DCOR_OPNIFG_OFS ( 6) /*!< CLR_DCOR_OPNIFG Bit Offset */ 2965*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_DCOR_OPNIFG ((uint32_t)0x00000040) /*!< Clear DCO external resistor open circuit fault interrupt flag. */ 2966*5fd0122aSMatthias Ringwald /* CS_CLRIFG[CLR_FCNTLFIFG] Bits */ 2967*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_FCNTLFIFG_OFS ( 8) /*!< CLR_FCNTLFIFG Bit Offset */ 2968*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_FCNTLFIFG ((uint32_t)0x00000100) /*!< Start fault counter clear interrupt flag LFXT */ 2969*5fd0122aSMatthias Ringwald /* CS_CLRIFG[CLR_FCNTHFIFG] Bits */ 2970*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_FCNTHFIFG_OFS ( 9) /*!< CLR_FCNTHFIFG Bit Offset */ 2971*5fd0122aSMatthias Ringwald #define CS_CLRIFG_CLR_FCNTHFIFG ((uint32_t)0x00000200) /*!< Start fault counter clear interrupt flag HFXT */ 2972*5fd0122aSMatthias Ringwald /* CS_SETIFG[SET_LFXTIFG] Bits */ 2973*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_LFXTIFG_OFS ( 0) /*!< SET_LFXTIFG Bit Offset */ 2974*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_LFXTIFG ((uint32_t)0x00000001) /*!< Set LFXT oscillator fault interrupt flag */ 2975*5fd0122aSMatthias Ringwald /* CS_SETIFG[SET_HFXTIFG] Bits */ 2976*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_HFXTIFG_OFS ( 1) /*!< SET_HFXTIFG Bit Offset */ 2977*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_HFXTIFG ((uint32_t)0x00000002) /*!< Set HFXT oscillator fault interrupt flag */ 2978*5fd0122aSMatthias Ringwald /* CS_SETIFG[SET_DCOR_OPNIFG] Bits */ 2979*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_DCOR_OPNIFG_OFS ( 6) /*!< SET_DCOR_OPNIFG Bit Offset */ 2980*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_DCOR_OPNIFG ((uint32_t)0x00000040) /*!< Set DCO external resistor open circuit fault interrupt flag. */ 2981*5fd0122aSMatthias Ringwald /* CS_SETIFG[SET_FCNTHFIFG] Bits */ 2982*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_FCNTHFIFG_OFS ( 9) /*!< SET_FCNTHFIFG Bit Offset */ 2983*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_FCNTHFIFG ((uint32_t)0x00000200) /*!< Start fault counter set interrupt flag HFXT */ 2984*5fd0122aSMatthias Ringwald /* CS_SETIFG[SET_FCNTLFIFG] Bits */ 2985*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_FCNTLFIFG_OFS ( 8) /*!< SET_FCNTLFIFG Bit Offset */ 2986*5fd0122aSMatthias Ringwald #define CS_SETIFG_SET_FCNTLFIFG ((uint32_t)0x00000100) /*!< Start fault counter set interrupt flag LFXT */ 2987*5fd0122aSMatthias Ringwald /* CS_DCOERCAL0[DCO_TCCAL] Bits */ 2988*5fd0122aSMatthias Ringwald #define CS_DCOERCAL0_DCO_TCCAL_OFS ( 0) /*!< DCO_TCCAL Bit Offset */ 2989*5fd0122aSMatthias Ringwald #define CS_DCOERCAL0_DCO_TCCAL_MASK ((uint32_t)0x00000003) /*!< DCO_TCCAL Bit Mask */ 2990*5fd0122aSMatthias Ringwald /* CS_DCOERCAL0[DCO_FCAL_RSEL04] Bits */ 2991*5fd0122aSMatthias Ringwald #define CS_DCOERCAL0_DCO_FCAL_RSEL04_OFS (16) /*!< DCO_FCAL_RSEL04 Bit Offset */ 2992*5fd0122aSMatthias Ringwald #define CS_DCOERCAL0_DCO_FCAL_RSEL04_MASK ((uint32_t)0x03FF0000) /*!< DCO_FCAL_RSEL04 Bit Mask */ 2993*5fd0122aSMatthias Ringwald /* CS_DCOERCAL1[DCO_FCAL_RSEL5] Bits */ 2994*5fd0122aSMatthias Ringwald #define CS_DCOERCAL1_DCO_FCAL_RSEL5_OFS ( 0) /*!< DCO_FCAL_RSEL5 Bit Offset */ 2995*5fd0122aSMatthias Ringwald #define CS_DCOERCAL1_DCO_FCAL_RSEL5_MASK ((uint32_t)0x000003FF) /*!< DCO_FCAL_RSEL5 Bit Mask */ 2996*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 2997*5fd0122aSMatthias Ringwald #define CS_KEY_VAL ((uint32_t)0x0000695A) /*!< CS control key value */ 2998*5fd0122aSMatthias Ringwald 2999*5fd0122aSMatthias Ringwald /****************************************************************************** 3000*5fd0122aSMatthias Ringwald * DIO Bits 3001*5fd0122aSMatthias Ringwald ******************************************************************************/ 3002*5fd0122aSMatthias Ringwald /* DIO_IV[IV] Bits */ 3003*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_OFS ( 0) /*!< DIO Port IV Bit Offset */ 3004*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_MASK ((uint16_t)0x001F) /*!< DIO Port IV Bit Mask */ 3005*5fd0122aSMatthias Ringwald #define DIO_PORT_IV0 ((uint16_t)0x0001) /*!< DIO Port IV Bit 0 */ 3006*5fd0122aSMatthias Ringwald #define DIO_PORT_IV1 ((uint16_t)0x0002) /*!< DIO Port IV Bit 1 */ 3007*5fd0122aSMatthias Ringwald #define DIO_PORT_IV2 ((uint16_t)0x0004) /*!< DIO Port IV Bit 2 */ 3008*5fd0122aSMatthias Ringwald #define DIO_PORT_IV3 ((uint16_t)0x0008) /*!< DIO Port IV Bit 3 */ 3009*5fd0122aSMatthias Ringwald #define DIO_PORT_IV4 ((uint16_t)0x0010) /*!< DIO Port IV Bit 4 */ 3010*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_0 ((uint16_t)0x0000) /*!< No interrupt pending */ 3011*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_2 ((uint16_t)0x0002) /*!< Interrupt Source: Port x.0 interrupt; Interrupt Flag: IFG0; Interrupt */ 3012*5fd0122aSMatthias Ringwald /* Priority: Highest */ 3013*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_4 ((uint16_t)0x0004) /*!< Interrupt Source: Port x.1 interrupt; Interrupt Flag: IFG1 */ 3014*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_6 ((uint16_t)0x0006) /*!< Interrupt Source: Port x.2 interrupt; Interrupt Flag: IFG2 */ 3015*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_8 ((uint16_t)0x0008) /*!< Interrupt Source: Port x.3 interrupt; Interrupt Flag: IFG3 */ 3016*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_10 ((uint16_t)0x000A) /*!< Interrupt Source: Port x.4 interrupt; Interrupt Flag: IFG4 */ 3017*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_12 ((uint16_t)0x000C) /*!< Interrupt Source: Port x.5 interrupt; Interrupt Flag: IFG5 */ 3018*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_14 ((uint16_t)0x000E) /*!< Interrupt Source: Port x.6 interrupt; Interrupt Flag: IFG6 */ 3019*5fd0122aSMatthias Ringwald #define DIO_PORT_IV_16 ((uint16_t)0x0010) /*!< Interrupt Source: Port x.7 interrupt; Interrupt Flag: IFG7; Interrupt */ 3020*5fd0122aSMatthias Ringwald /* Priority: Lowest */ 3021*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__NONE ((uint16_t)0x0000) /*!< No interrupt pending */ 3022*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG0 ((uint16_t)0x0002) /*!< Interrupt Source: Port x.0 interrupt; Interrupt Flag: IFG0; Interrupt */ 3023*5fd0122aSMatthias Ringwald /* Priority: Highest */ 3024*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG1 ((uint16_t)0x0004) /*!< Interrupt Source: Port x.1 interrupt; Interrupt Flag: IFG1 */ 3025*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG2 ((uint16_t)0x0006) /*!< Interrupt Source: Port x.2 interrupt; Interrupt Flag: IFG2 */ 3026*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG3 ((uint16_t)0x0008) /*!< Interrupt Source: Port x.3 interrupt; Interrupt Flag: IFG3 */ 3027*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG4 ((uint16_t)0x000A) /*!< Interrupt Source: Port x.4 interrupt; Interrupt Flag: IFG4 */ 3028*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG5 ((uint16_t)0x000C) /*!< Interrupt Source: Port x.5 interrupt; Interrupt Flag: IFG5 */ 3029*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG6 ((uint16_t)0x000E) /*!< Interrupt Source: Port x.6 interrupt; Interrupt Flag: IFG6 */ 3030*5fd0122aSMatthias Ringwald #define DIO_PORT_IV__IFG7 ((uint16_t)0x0010) /*!< Interrupt Source: Port x.7 interrupt; Interrupt Flag: IFG7; Interrupt */ 3031*5fd0122aSMatthias Ringwald /* Priority: Lowest */ 3032*5fd0122aSMatthias Ringwald 3033*5fd0122aSMatthias Ringwald 3034*5fd0122aSMatthias Ringwald /****************************************************************************** 3035*5fd0122aSMatthias Ringwald * DMA Bits 3036*5fd0122aSMatthias Ringwald ******************************************************************************/ 3037*5fd0122aSMatthias Ringwald /* DMA_DEVICE_CFG[NUM_DMA_CHANNELS] Bits */ 3038*5fd0122aSMatthias Ringwald #define DMA_DEVICE_CFG_NUM_DMA_CHANNELS_OFS ( 0) /*!< NUM_DMA_CHANNELS Bit Offset */ 3039*5fd0122aSMatthias Ringwald #define DMA_DEVICE_CFG_NUM_DMA_CHANNELS_MASK ((uint32_t)0x000000FF) /*!< NUM_DMA_CHANNELS Bit Mask */ 3040*5fd0122aSMatthias Ringwald /* DMA_DEVICE_CFG[NUM_SRC_PER_CHANNEL] Bits */ 3041*5fd0122aSMatthias Ringwald #define DMA_DEVICE_CFG_NUM_SRC_PER_CHANNEL_OFS ( 8) /*!< NUM_SRC_PER_CHANNEL Bit Offset */ 3042*5fd0122aSMatthias Ringwald #define DMA_DEVICE_CFG_NUM_SRC_PER_CHANNEL_MASK ((uint32_t)0x0000FF00) /*!< NUM_SRC_PER_CHANNEL Bit Mask */ 3043*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH0] Bits */ 3044*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH0_OFS ( 0) /*!< CH0 Bit Offset */ 3045*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH0 ((uint32_t)0x00000001) /*!< Write 1, triggers DMA_CHANNEL0 */ 3046*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH1] Bits */ 3047*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH1_OFS ( 1) /*!< CH1 Bit Offset */ 3048*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH1 ((uint32_t)0x00000002) /*!< Write 1, triggers DMA_CHANNEL1 */ 3049*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH2] Bits */ 3050*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH2_OFS ( 2) /*!< CH2 Bit Offset */ 3051*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH2 ((uint32_t)0x00000004) /*!< Write 1, triggers DMA_CHANNEL2 */ 3052*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH3] Bits */ 3053*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH3_OFS ( 3) /*!< CH3 Bit Offset */ 3054*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH3 ((uint32_t)0x00000008) /*!< Write 1, triggers DMA_CHANNEL3 */ 3055*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH4] Bits */ 3056*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH4_OFS ( 4) /*!< CH4 Bit Offset */ 3057*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH4 ((uint32_t)0x00000010) /*!< Write 1, triggers DMA_CHANNEL4 */ 3058*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH5] Bits */ 3059*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH5_OFS ( 5) /*!< CH5 Bit Offset */ 3060*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH5 ((uint32_t)0x00000020) /*!< Write 1, triggers DMA_CHANNEL5 */ 3061*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH6] Bits */ 3062*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH6_OFS ( 6) /*!< CH6 Bit Offset */ 3063*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH6 ((uint32_t)0x00000040) /*!< Write 1, triggers DMA_CHANNEL6 */ 3064*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH7] Bits */ 3065*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH7_OFS ( 7) /*!< CH7 Bit Offset */ 3066*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH7 ((uint32_t)0x00000080) /*!< Write 1, triggers DMA_CHANNEL7 */ 3067*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH8] Bits */ 3068*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH8_OFS ( 8) /*!< CH8 Bit Offset */ 3069*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH8 ((uint32_t)0x00000100) /*!< Write 1, triggers DMA_CHANNEL8 */ 3070*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH9] Bits */ 3071*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH9_OFS ( 9) /*!< CH9 Bit Offset */ 3072*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH9 ((uint32_t)0x00000200) /*!< Write 1, triggers DMA_CHANNEL9 */ 3073*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH10] Bits */ 3074*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH10_OFS (10) /*!< CH10 Bit Offset */ 3075*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH10 ((uint32_t)0x00000400) /*!< Write 1, triggers DMA_CHANNEL10 */ 3076*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH11] Bits */ 3077*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH11_OFS (11) /*!< CH11 Bit Offset */ 3078*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH11 ((uint32_t)0x00000800) /*!< Write 1, triggers DMA_CHANNEL11 */ 3079*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH12] Bits */ 3080*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH12_OFS (12) /*!< CH12 Bit Offset */ 3081*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH12 ((uint32_t)0x00001000) /*!< Write 1, triggers DMA_CHANNEL12 */ 3082*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH13] Bits */ 3083*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH13_OFS (13) /*!< CH13 Bit Offset */ 3084*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH13 ((uint32_t)0x00002000) /*!< Write 1, triggers DMA_CHANNEL13 */ 3085*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH14] Bits */ 3086*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH14_OFS (14) /*!< CH14 Bit Offset */ 3087*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH14 ((uint32_t)0x00004000) /*!< Write 1, triggers DMA_CHANNEL14 */ 3088*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH15] Bits */ 3089*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH15_OFS (15) /*!< CH15 Bit Offset */ 3090*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH15 ((uint32_t)0x00008000) /*!< Write 1, triggers DMA_CHANNEL15 */ 3091*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH16] Bits */ 3092*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH16_OFS (16) /*!< CH16 Bit Offset */ 3093*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH16 ((uint32_t)0x00010000) /*!< Write 1, triggers DMA_CHANNEL16 */ 3094*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH17] Bits */ 3095*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH17_OFS (17) /*!< CH17 Bit Offset */ 3096*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH17 ((uint32_t)0x00020000) /*!< Write 1, triggers DMA_CHANNEL17 */ 3097*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH18] Bits */ 3098*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH18_OFS (18) /*!< CH18 Bit Offset */ 3099*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH18 ((uint32_t)0x00040000) /*!< Write 1, triggers DMA_CHANNEL18 */ 3100*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH19] Bits */ 3101*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH19_OFS (19) /*!< CH19 Bit Offset */ 3102*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH19 ((uint32_t)0x00080000) /*!< Write 1, triggers DMA_CHANNEL19 */ 3103*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH20] Bits */ 3104*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH20_OFS (20) /*!< CH20 Bit Offset */ 3105*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH20 ((uint32_t)0x00100000) /*!< Write 1, triggers DMA_CHANNEL20 */ 3106*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH21] Bits */ 3107*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH21_OFS (21) /*!< CH21 Bit Offset */ 3108*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH21 ((uint32_t)0x00200000) /*!< Write 1, triggers DMA_CHANNEL21 */ 3109*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH22] Bits */ 3110*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH22_OFS (22) /*!< CH22 Bit Offset */ 3111*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH22 ((uint32_t)0x00400000) /*!< Write 1, triggers DMA_CHANNEL22 */ 3112*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH23] Bits */ 3113*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH23_OFS (23) /*!< CH23 Bit Offset */ 3114*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH23 ((uint32_t)0x00800000) /*!< Write 1, triggers DMA_CHANNEL23 */ 3115*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH24] Bits */ 3116*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH24_OFS (24) /*!< CH24 Bit Offset */ 3117*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH24 ((uint32_t)0x01000000) /*!< Write 1, triggers DMA_CHANNEL24 */ 3118*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH25] Bits */ 3119*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH25_OFS (25) /*!< CH25 Bit Offset */ 3120*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH25 ((uint32_t)0x02000000) /*!< Write 1, triggers DMA_CHANNEL25 */ 3121*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH26] Bits */ 3122*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH26_OFS (26) /*!< CH26 Bit Offset */ 3123*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH26 ((uint32_t)0x04000000) /*!< Write 1, triggers DMA_CHANNEL26 */ 3124*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH27] Bits */ 3125*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH27_OFS (27) /*!< CH27 Bit Offset */ 3126*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH27 ((uint32_t)0x08000000) /*!< Write 1, triggers DMA_CHANNEL27 */ 3127*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH28] Bits */ 3128*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH28_OFS (28) /*!< CH28 Bit Offset */ 3129*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH28 ((uint32_t)0x10000000) /*!< Write 1, triggers DMA_CHANNEL28 */ 3130*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH29] Bits */ 3131*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH29_OFS (29) /*!< CH29 Bit Offset */ 3132*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH29 ((uint32_t)0x20000000) /*!< Write 1, triggers DMA_CHANNEL29 */ 3133*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH30] Bits */ 3134*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH30_OFS (30) /*!< CH30 Bit Offset */ 3135*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH30 ((uint32_t)0x40000000) /*!< Write 1, triggers DMA_CHANNEL30 */ 3136*5fd0122aSMatthias Ringwald /* DMA_SW_CHTRIG[CH31] Bits */ 3137*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH31_OFS (31) /*!< CH31 Bit Offset */ 3138*5fd0122aSMatthias Ringwald #define DMA_SW_CHTRIG_CH31 ((uint32_t)0x80000000) /*!< Write 1, triggers DMA_CHANNEL31 */ 3139*5fd0122aSMatthias Ringwald /* DMA_CHN_SRCCFG[DMA_SRC] Bits */ 3140*5fd0122aSMatthias Ringwald #define DMA_CHN_SRCCFG_DMA_SRC_OFS ( 0) /*!< DMA_SRC Bit Offset */ 3141*5fd0122aSMatthias Ringwald #define DMA_CHN_SRCCFG_DMA_SRC_MASK ((uint32_t)0x000000FF) /*!< DMA_SRC Bit Mask */ 3142*5fd0122aSMatthias Ringwald /* DMA_INT1_SRCCFG[INT_SRC] Bits */ 3143*5fd0122aSMatthias Ringwald #define DMA_INT1_SRCCFG_INT_SRC_OFS ( 0) /*!< INT_SRC Bit Offset */ 3144*5fd0122aSMatthias Ringwald #define DMA_INT1_SRCCFG_INT_SRC_MASK ((uint32_t)0x0000001F) /*!< INT_SRC Bit Mask */ 3145*5fd0122aSMatthias Ringwald /* DMA_INT1_SRCCFG[EN] Bits */ 3146*5fd0122aSMatthias Ringwald #define DMA_INT1_SRCCFG_EN_OFS ( 5) /*!< EN Bit Offset */ 3147*5fd0122aSMatthias Ringwald #define DMA_INT1_SRCCFG_EN ((uint32_t)0x00000020) /*!< Enables DMA_INT1 mapping */ 3148*5fd0122aSMatthias Ringwald /* DMA_INT2_SRCCFG[INT_SRC] Bits */ 3149*5fd0122aSMatthias Ringwald #define DMA_INT2_SRCCFG_INT_SRC_OFS ( 0) /*!< INT_SRC Bit Offset */ 3150*5fd0122aSMatthias Ringwald #define DMA_INT2_SRCCFG_INT_SRC_MASK ((uint32_t)0x0000001F) /*!< INT_SRC Bit Mask */ 3151*5fd0122aSMatthias Ringwald /* DMA_INT2_SRCCFG[EN] Bits */ 3152*5fd0122aSMatthias Ringwald #define DMA_INT2_SRCCFG_EN_OFS ( 5) /*!< EN Bit Offset */ 3153*5fd0122aSMatthias Ringwald #define DMA_INT2_SRCCFG_EN ((uint32_t)0x00000020) /*!< Enables DMA_INT2 mapping */ 3154*5fd0122aSMatthias Ringwald /* DMA_INT3_SRCCFG[INT_SRC] Bits */ 3155*5fd0122aSMatthias Ringwald #define DMA_INT3_SRCCFG_INT_SRC_OFS ( 0) /*!< INT_SRC Bit Offset */ 3156*5fd0122aSMatthias Ringwald #define DMA_INT3_SRCCFG_INT_SRC_MASK ((uint32_t)0x0000001F) /*!< INT_SRC Bit Mask */ 3157*5fd0122aSMatthias Ringwald /* DMA_INT3_SRCCFG[EN] Bits */ 3158*5fd0122aSMatthias Ringwald #define DMA_INT3_SRCCFG_EN_OFS ( 5) /*!< EN Bit Offset */ 3159*5fd0122aSMatthias Ringwald #define DMA_INT3_SRCCFG_EN ((uint32_t)0x00000020) /*!< Enables DMA_INT3 mapping */ 3160*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH0] Bits */ 3161*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH0_OFS ( 0) /*!< CH0 Bit Offset */ 3162*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH0 ((uint32_t)0x00000001) /*!< Channel 0 was the source of DMA_INT0 */ 3163*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH1] Bits */ 3164*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH1_OFS ( 1) /*!< CH1 Bit Offset */ 3165*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH1 ((uint32_t)0x00000002) /*!< Channel 1 was the source of DMA_INT0 */ 3166*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH2] Bits */ 3167*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH2_OFS ( 2) /*!< CH2 Bit Offset */ 3168*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH2 ((uint32_t)0x00000004) /*!< Channel 2 was the source of DMA_INT0 */ 3169*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH3] Bits */ 3170*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH3_OFS ( 3) /*!< CH3 Bit Offset */ 3171*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH3 ((uint32_t)0x00000008) /*!< Channel 3 was the source of DMA_INT0 */ 3172*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH4] Bits */ 3173*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH4_OFS ( 4) /*!< CH4 Bit Offset */ 3174*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH4 ((uint32_t)0x00000010) /*!< Channel 4 was the source of DMA_INT0 */ 3175*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH5] Bits */ 3176*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH5_OFS ( 5) /*!< CH5 Bit Offset */ 3177*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH5 ((uint32_t)0x00000020) /*!< Channel 5 was the source of DMA_INT0 */ 3178*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH6] Bits */ 3179*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH6_OFS ( 6) /*!< CH6 Bit Offset */ 3180*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH6 ((uint32_t)0x00000040) /*!< Channel 6 was the source of DMA_INT0 */ 3181*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH7] Bits */ 3182*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH7_OFS ( 7) /*!< CH7 Bit Offset */ 3183*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH7 ((uint32_t)0x00000080) /*!< Channel 7 was the source of DMA_INT0 */ 3184*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH8] Bits */ 3185*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH8_OFS ( 8) /*!< CH8 Bit Offset */ 3186*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH8 ((uint32_t)0x00000100) /*!< Channel 8 was the source of DMA_INT0 */ 3187*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH9] Bits */ 3188*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH9_OFS ( 9) /*!< CH9 Bit Offset */ 3189*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH9 ((uint32_t)0x00000200) /*!< Channel 9 was the source of DMA_INT0 */ 3190*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH10] Bits */ 3191*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH10_OFS (10) /*!< CH10 Bit Offset */ 3192*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH10 ((uint32_t)0x00000400) /*!< Channel 10 was the source of DMA_INT0 */ 3193*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH11] Bits */ 3194*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH11_OFS (11) /*!< CH11 Bit Offset */ 3195*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH11 ((uint32_t)0x00000800) /*!< Channel 11 was the source of DMA_INT0 */ 3196*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH12] Bits */ 3197*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH12_OFS (12) /*!< CH12 Bit Offset */ 3198*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH12 ((uint32_t)0x00001000) /*!< Channel 12 was the source of DMA_INT0 */ 3199*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH13] Bits */ 3200*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH13_OFS (13) /*!< CH13 Bit Offset */ 3201*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH13 ((uint32_t)0x00002000) /*!< Channel 13 was the source of DMA_INT0 */ 3202*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH14] Bits */ 3203*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH14_OFS (14) /*!< CH14 Bit Offset */ 3204*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH14 ((uint32_t)0x00004000) /*!< Channel 14 was the source of DMA_INT0 */ 3205*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH15] Bits */ 3206*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH15_OFS (15) /*!< CH15 Bit Offset */ 3207*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH15 ((uint32_t)0x00008000) /*!< Channel 15 was the source of DMA_INT0 */ 3208*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH16] Bits */ 3209*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH16_OFS (16) /*!< CH16 Bit Offset */ 3210*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH16 ((uint32_t)0x00010000) /*!< Channel 16 was the source of DMA_INT0 */ 3211*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH17] Bits */ 3212*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH17_OFS (17) /*!< CH17 Bit Offset */ 3213*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH17 ((uint32_t)0x00020000) /*!< Channel 17 was the source of DMA_INT0 */ 3214*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH18] Bits */ 3215*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH18_OFS (18) /*!< CH18 Bit Offset */ 3216*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH18 ((uint32_t)0x00040000) /*!< Channel 18 was the source of DMA_INT0 */ 3217*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH19] Bits */ 3218*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH19_OFS (19) /*!< CH19 Bit Offset */ 3219*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH19 ((uint32_t)0x00080000) /*!< Channel 19 was the source of DMA_INT0 */ 3220*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH20] Bits */ 3221*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH20_OFS (20) /*!< CH20 Bit Offset */ 3222*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH20 ((uint32_t)0x00100000) /*!< Channel 20 was the source of DMA_INT0 */ 3223*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH21] Bits */ 3224*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH21_OFS (21) /*!< CH21 Bit Offset */ 3225*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH21 ((uint32_t)0x00200000) /*!< Channel 21 was the source of DMA_INT0 */ 3226*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH22] Bits */ 3227*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH22_OFS (22) /*!< CH22 Bit Offset */ 3228*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH22 ((uint32_t)0x00400000) /*!< Channel 22 was the source of DMA_INT0 */ 3229*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH23] Bits */ 3230*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH23_OFS (23) /*!< CH23 Bit Offset */ 3231*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH23 ((uint32_t)0x00800000) /*!< Channel 23 was the source of DMA_INT0 */ 3232*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH24] Bits */ 3233*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH24_OFS (24) /*!< CH24 Bit Offset */ 3234*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH24 ((uint32_t)0x01000000) /*!< Channel 24 was the source of DMA_INT0 */ 3235*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH25] Bits */ 3236*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH25_OFS (25) /*!< CH25 Bit Offset */ 3237*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH25 ((uint32_t)0x02000000) /*!< Channel 25 was the source of DMA_INT0 */ 3238*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH26] Bits */ 3239*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH26_OFS (26) /*!< CH26 Bit Offset */ 3240*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH26 ((uint32_t)0x04000000) /*!< Channel 26 was the source of DMA_INT0 */ 3241*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH27] Bits */ 3242*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH27_OFS (27) /*!< CH27 Bit Offset */ 3243*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH27 ((uint32_t)0x08000000) /*!< Channel 27 was the source of DMA_INT0 */ 3244*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH28] Bits */ 3245*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH28_OFS (28) /*!< CH28 Bit Offset */ 3246*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH28 ((uint32_t)0x10000000) /*!< Channel 28 was the source of DMA_INT0 */ 3247*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH29] Bits */ 3248*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH29_OFS (29) /*!< CH29 Bit Offset */ 3249*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH29 ((uint32_t)0x20000000) /*!< Channel 29 was the source of DMA_INT0 */ 3250*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH30] Bits */ 3251*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH30_OFS (30) /*!< CH30 Bit Offset */ 3252*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH30 ((uint32_t)0x40000000) /*!< Channel 30 was the source of DMA_INT0 */ 3253*5fd0122aSMatthias Ringwald /* DMA_INT0_SRCFLG[CH31] Bits */ 3254*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH31_OFS (31) /*!< CH31 Bit Offset */ 3255*5fd0122aSMatthias Ringwald #define DMA_INT0_SRCFLG_CH31 ((uint32_t)0x80000000) /*!< Channel 31 was the source of DMA_INT0 */ 3256*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH0] Bits */ 3257*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH0_OFS ( 0) /*!< CH0 Bit Offset */ 3258*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH0 ((uint32_t)0x00000001) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3259*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH1] Bits */ 3260*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH1_OFS ( 1) /*!< CH1 Bit Offset */ 3261*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH1 ((uint32_t)0x00000002) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3262*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH2] Bits */ 3263*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH2_OFS ( 2) /*!< CH2 Bit Offset */ 3264*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH2 ((uint32_t)0x00000004) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3265*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH3] Bits */ 3266*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH3_OFS ( 3) /*!< CH3 Bit Offset */ 3267*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH3 ((uint32_t)0x00000008) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3268*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH4] Bits */ 3269*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH4_OFS ( 4) /*!< CH4 Bit Offset */ 3270*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH4 ((uint32_t)0x00000010) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3271*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH5] Bits */ 3272*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH5_OFS ( 5) /*!< CH5 Bit Offset */ 3273*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH5 ((uint32_t)0x00000020) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3274*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH6] Bits */ 3275*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH6_OFS ( 6) /*!< CH6 Bit Offset */ 3276*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH6 ((uint32_t)0x00000040) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3277*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH7] Bits */ 3278*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH7_OFS ( 7) /*!< CH7 Bit Offset */ 3279*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH7 ((uint32_t)0x00000080) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3280*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH8] Bits */ 3281*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH8_OFS ( 8) /*!< CH8 Bit Offset */ 3282*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH8 ((uint32_t)0x00000100) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3283*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH9] Bits */ 3284*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH9_OFS ( 9) /*!< CH9 Bit Offset */ 3285*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH9 ((uint32_t)0x00000200) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3286*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH10] Bits */ 3287*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH10_OFS (10) /*!< CH10 Bit Offset */ 3288*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH10 ((uint32_t)0x00000400) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3289*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH11] Bits */ 3290*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH11_OFS (11) /*!< CH11 Bit Offset */ 3291*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH11 ((uint32_t)0x00000800) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3292*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH12] Bits */ 3293*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH12_OFS (12) /*!< CH12 Bit Offset */ 3294*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH12 ((uint32_t)0x00001000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3295*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH13] Bits */ 3296*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH13_OFS (13) /*!< CH13 Bit Offset */ 3297*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH13 ((uint32_t)0x00002000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3298*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH14] Bits */ 3299*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH14_OFS (14) /*!< CH14 Bit Offset */ 3300*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH14 ((uint32_t)0x00004000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3301*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH15] Bits */ 3302*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH15_OFS (15) /*!< CH15 Bit Offset */ 3303*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH15 ((uint32_t)0x00008000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3304*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH16] Bits */ 3305*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH16_OFS (16) /*!< CH16 Bit Offset */ 3306*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH16 ((uint32_t)0x00010000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3307*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH17] Bits */ 3308*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH17_OFS (17) /*!< CH17 Bit Offset */ 3309*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH17 ((uint32_t)0x00020000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3310*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH18] Bits */ 3311*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH18_OFS (18) /*!< CH18 Bit Offset */ 3312*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH18 ((uint32_t)0x00040000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3313*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH19] Bits */ 3314*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH19_OFS (19) /*!< CH19 Bit Offset */ 3315*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH19 ((uint32_t)0x00080000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3316*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH20] Bits */ 3317*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH20_OFS (20) /*!< CH20 Bit Offset */ 3318*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH20 ((uint32_t)0x00100000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3319*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH21] Bits */ 3320*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH21_OFS (21) /*!< CH21 Bit Offset */ 3321*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH21 ((uint32_t)0x00200000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3322*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH22] Bits */ 3323*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH22_OFS (22) /*!< CH22 Bit Offset */ 3324*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH22 ((uint32_t)0x00400000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3325*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH23] Bits */ 3326*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH23_OFS (23) /*!< CH23 Bit Offset */ 3327*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH23 ((uint32_t)0x00800000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3328*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH24] Bits */ 3329*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH24_OFS (24) /*!< CH24 Bit Offset */ 3330*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH24 ((uint32_t)0x01000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3331*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH25] Bits */ 3332*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH25_OFS (25) /*!< CH25 Bit Offset */ 3333*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH25 ((uint32_t)0x02000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3334*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH26] Bits */ 3335*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH26_OFS (26) /*!< CH26 Bit Offset */ 3336*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH26 ((uint32_t)0x04000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3337*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH27] Bits */ 3338*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH27_OFS (27) /*!< CH27 Bit Offset */ 3339*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH27 ((uint32_t)0x08000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3340*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH28] Bits */ 3341*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH28_OFS (28) /*!< CH28 Bit Offset */ 3342*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH28 ((uint32_t)0x10000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3343*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH29] Bits */ 3344*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH29_OFS (29) /*!< CH29 Bit Offset */ 3345*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH29 ((uint32_t)0x20000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3346*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH30] Bits */ 3347*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH30_OFS (30) /*!< CH30 Bit Offset */ 3348*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH30 ((uint32_t)0x40000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3349*5fd0122aSMatthias Ringwald /* DMA_INT0_CLRFLG[CH31] Bits */ 3350*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH31_OFS (31) /*!< CH31 Bit Offset */ 3351*5fd0122aSMatthias Ringwald #define DMA_INT0_CLRFLG_CH31 ((uint32_t)0x80000000) /*!< Clear corresponding DMA_INT0_SRCFLG_REG */ 3352*5fd0122aSMatthias Ringwald /* DMA_STAT[MASTEN] Bits */ 3353*5fd0122aSMatthias Ringwald #define DMA_STAT_MASTEN_OFS ( 0) /*!< MASTEN Bit Offset */ 3354*5fd0122aSMatthias Ringwald #define DMA_STAT_MASTEN ((uint32_t)0x00000001) 3355*5fd0122aSMatthias Ringwald /* DMA_STAT[STATE] Bits */ 3356*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_OFS ( 4) /*!< STATE Bit Offset */ 3357*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_MASK ((uint32_t)0x000000F0) /*!< STATE Bit Mask */ 3358*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE0 ((uint32_t)0x00000010) /*!< STATE Bit 0 */ 3359*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE1 ((uint32_t)0x00000020) /*!< STATE Bit 1 */ 3360*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE2 ((uint32_t)0x00000040) /*!< STATE Bit 2 */ 3361*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE3 ((uint32_t)0x00000080) /*!< STATE Bit 3 */ 3362*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_0 ((uint32_t)0x00000000) /*!< idle */ 3363*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_1 ((uint32_t)0x00000010) /*!< reading channel controller data */ 3364*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_2 ((uint32_t)0x00000020) /*!< reading source data end pointer */ 3365*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_3 ((uint32_t)0x00000030) /*!< reading destination data end pointer */ 3366*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_4 ((uint32_t)0x00000040) /*!< reading source data */ 3367*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_5 ((uint32_t)0x00000050) /*!< writing destination data */ 3368*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_6 ((uint32_t)0x00000060) /*!< waiting for DMA request to clear */ 3369*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_7 ((uint32_t)0x00000070) /*!< writing channel controller data */ 3370*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_8 ((uint32_t)0x00000080) /*!< stalled */ 3371*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_9 ((uint32_t)0x00000090) /*!< done */ 3372*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_10 ((uint32_t)0x000000A0) /*!< peripheral scatter-gather transition */ 3373*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_11 ((uint32_t)0x000000B0) /*!< Reserved */ 3374*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_12 ((uint32_t)0x000000C0) /*!< Reserved */ 3375*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_13 ((uint32_t)0x000000D0) /*!< Reserved */ 3376*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_14 ((uint32_t)0x000000E0) /*!< Reserved */ 3377*5fd0122aSMatthias Ringwald #define DMA_STAT_STATE_15 ((uint32_t)0x000000F0) /*!< Reserved */ 3378*5fd0122aSMatthias Ringwald /* DMA_STAT[DMACHANS] Bits */ 3379*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS_OFS (16) /*!< DMACHANS Bit Offset */ 3380*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS_MASK ((uint32_t)0x001F0000) /*!< DMACHANS Bit Mask */ 3381*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS0 ((uint32_t)0x00010000) /*!< DMACHANS Bit 0 */ 3382*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS1 ((uint32_t)0x00020000) /*!< DMACHANS Bit 1 */ 3383*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS2 ((uint32_t)0x00040000) /*!< DMACHANS Bit 2 */ 3384*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS3 ((uint32_t)0x00080000) /*!< DMACHANS Bit 3 */ 3385*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS4 ((uint32_t)0x00100000) /*!< DMACHANS Bit 4 */ 3386*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS_0 ((uint32_t)0x00000000) /*!< Controller configured to use 1 DMA channel */ 3387*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS_1 ((uint32_t)0x00010000) /*!< Controller configured to use 2 DMA channels */ 3388*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS_30 ((uint32_t)0x001E0000) /*!< Controller configured to use 31 DMA channels */ 3389*5fd0122aSMatthias Ringwald #define DMA_STAT_DMACHANS_31 ((uint32_t)0x001F0000) /*!< Controller configured to use 32 DMA channels */ 3390*5fd0122aSMatthias Ringwald /* DMA_STAT[TESTSTAT] Bits */ 3391*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT_OFS (28) /*!< TESTSTAT Bit Offset */ 3392*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT_MASK ((uint32_t)0xF0000000) /*!< TESTSTAT Bit Mask */ 3393*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT0 ((uint32_t)0x10000000) /*!< TESTSTAT Bit 0 */ 3394*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT1 ((uint32_t)0x20000000) /*!< TESTSTAT Bit 1 */ 3395*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT2 ((uint32_t)0x40000000) /*!< TESTSTAT Bit 2 */ 3396*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT3 ((uint32_t)0x80000000) /*!< TESTSTAT Bit 3 */ 3397*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT_0 ((uint32_t)0x00000000) /*!< Controller does not include the integration test logic */ 3398*5fd0122aSMatthias Ringwald #define DMA_STAT_TESTSTAT_1 ((uint32_t)0x10000000) /*!< Controller includes the integration test logic */ 3399*5fd0122aSMatthias Ringwald /* DMA_CFG[MASTEN] Bits */ 3400*5fd0122aSMatthias Ringwald #define DMA_CFG_MASTEN_OFS ( 0) /*!< MASTEN Bit Offset */ 3401*5fd0122aSMatthias Ringwald #define DMA_CFG_MASTEN ((uint32_t)0x00000001) 3402*5fd0122aSMatthias Ringwald /* DMA_CFG[CHPROTCTRL] Bits */ 3403*5fd0122aSMatthias Ringwald #define DMA_CFG_CHPROTCTRL_OFS ( 5) /*!< CHPROTCTRL Bit Offset */ 3404*5fd0122aSMatthias Ringwald #define DMA_CFG_CHPROTCTRL_MASK ((uint32_t)0x000000E0) /*!< CHPROTCTRL Bit Mask */ 3405*5fd0122aSMatthias Ringwald /* DMA_CTLBASE[ADDR] Bits */ 3406*5fd0122aSMatthias Ringwald #define DMA_CTLBASE_ADDR_OFS ( 5) /*!< ADDR Bit Offset */ 3407*5fd0122aSMatthias Ringwald #define DMA_CTLBASE_ADDR_MASK ((uint32_t)0xFFFFFFE0) /*!< ADDR Bit Mask */ 3408*5fd0122aSMatthias Ringwald /* DMA_ERRCLR[ERRCLR] Bits */ 3409*5fd0122aSMatthias Ringwald #define DMA_ERRCLR_ERRCLR_OFS ( 0) /*!< ERRCLR Bit Offset */ 3410*5fd0122aSMatthias Ringwald #define DMA_ERRCLR_ERRCLR ((uint32_t)0x00000001) 3411*5fd0122aSMatthias Ringwald /* DMA channel definitions and memory structure alignment */ 3412*5fd0122aSMatthias Ringwald #define __MCU_NUM_DMA_CHANNELS__ 8 3413*5fd0122aSMatthias Ringwald #define DMA_CHANNEL_CONTROL_STRUCT_SIZE 0x10 3414*5fd0122aSMatthias Ringwald #define DMA_CONTROL_MEMORY_ALIGNMENT (__MCU_NUM_DMA_CHANNELS__ * DMA_CHANNEL_CONTROL_STRUCT_SIZE) 3415*5fd0122aSMatthias Ringwald 3416*5fd0122aSMatthias Ringwald /* UDMA_STAT Control Bits */ 3417*5fd0122aSMatthias Ringwald #define UDMA_STAT_DMACHANS_M ((uint32_t)0x001F0000) /*!< Available uDMA Channels Minus 1 */ 3418*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_M ((uint32_t)0x000000F0) /*!< Control State Machine Status */ 3419*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_IDLE ((uint32_t)0x00000000) /*!< Idle */ 3420*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_RD_CTRL ((uint32_t)0x00000010) /*!< Reading channel controller data */ 3421*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_RD_SRCENDP ((uint32_t)0x00000020) /*!< Reading source end pointer */ 3422*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_RD_DSTENDP ((uint32_t)0x00000030) /*!< Reading destination end pointer */ 3423*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_RD_SRCDAT ((uint32_t)0x00000040) /*!< Reading source data */ 3424*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_WR_DSTDAT ((uint32_t)0x00000050) /*!< Writing destination data */ 3425*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_WAIT ((uint32_t)0x00000060) /*!< Waiting for uDMA request to clear */ 3426*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_WR_CTRL ((uint32_t)0x00000070) /*!< Writing channel controller data */ 3427*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_STALL ((uint32_t)0x00000080) /*!< Stalled */ 3428*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_DONE ((uint32_t)0x00000090) /*!< Done */ 3429*5fd0122aSMatthias Ringwald #define UDMA_STAT_STATE_UNDEF ((uint32_t)0x000000A0) /*!< Undefined */ 3430*5fd0122aSMatthias Ringwald #define UDMA_STAT_MASTEN ((uint32_t)0x00000001) /*!< Master Enable Status */ 3431*5fd0122aSMatthias Ringwald #define UDMA_STAT_DMACHANS_S (16) 3432*5fd0122aSMatthias Ringwald 3433*5fd0122aSMatthias Ringwald /* UDMA_CFG Control Bits */ 3434*5fd0122aSMatthias Ringwald #define UDMA_CFG_MASTEN ((uint32_t)0x00000001) /*!< Controller Master Enable */ 3435*5fd0122aSMatthias Ringwald 3436*5fd0122aSMatthias Ringwald /* UDMA_CTLBASE Control Bits */ 3437*5fd0122aSMatthias Ringwald #define UDMA_CTLBASE_ADDR_M ((uint32_t)0xFFFFFC00) /*!< Channel Control Base Address */ 3438*5fd0122aSMatthias Ringwald #define UDMA_CTLBASE_ADDR_S (10) 3439*5fd0122aSMatthias Ringwald 3440*5fd0122aSMatthias Ringwald /* UDMA_ALTBASE Control Bits */ 3441*5fd0122aSMatthias Ringwald #define UDMA_ALTBASE_ADDR_M ((uint32_t)0xFFFFFFFF) /*!< Alternate Channel Address Pointer */ 3442*5fd0122aSMatthias Ringwald #define UDMA_ALTBASE_ADDR_S ( 0) 3443*5fd0122aSMatthias Ringwald 3444*5fd0122aSMatthias Ringwald /* UDMA_WAITSTAT Control Bits */ 3445*5fd0122aSMatthias Ringwald #define UDMA_WAITSTAT_WAITREQ_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Wait Status */ 3446*5fd0122aSMatthias Ringwald 3447*5fd0122aSMatthias Ringwald /* UDMA_SWREQ Control Bits */ 3448*5fd0122aSMatthias Ringwald #define UDMA_SWREQ_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Software Request */ 3449*5fd0122aSMatthias Ringwald 3450*5fd0122aSMatthias Ringwald /* UDMA_USEBURSTSET Control Bits */ 3451*5fd0122aSMatthias Ringwald #define UDMA_USEBURSTSET_SET_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Useburst Set */ 3452*5fd0122aSMatthias Ringwald 3453*5fd0122aSMatthias Ringwald /* UDMA_USEBURSTCLR Control Bits */ 3454*5fd0122aSMatthias Ringwald #define UDMA_USEBURSTCLR_CLR_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Useburst Clear */ 3455*5fd0122aSMatthias Ringwald 3456*5fd0122aSMatthias Ringwald /* UDMA_REQMASKSET Control Bits */ 3457*5fd0122aSMatthias Ringwald #define UDMA_REQMASKSET_SET_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Request Mask Set */ 3458*5fd0122aSMatthias Ringwald 3459*5fd0122aSMatthias Ringwald /* UDMA_REQMASKCLR Control Bits */ 3460*5fd0122aSMatthias Ringwald #define UDMA_REQMASKCLR_CLR_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Request Mask Clear */ 3461*5fd0122aSMatthias Ringwald 3462*5fd0122aSMatthias Ringwald /* UDMA_ENASET Control Bits */ 3463*5fd0122aSMatthias Ringwald #define UDMA_ENASET_SET_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Enable Set */ 3464*5fd0122aSMatthias Ringwald 3465*5fd0122aSMatthias Ringwald /* UDMA_ENACLR Control Bits */ 3466*5fd0122aSMatthias Ringwald #define UDMA_ENACLR_CLR_M ((uint32_t)0xFFFFFFFF) /*!< Clear Channel [n] Enable Clear */ 3467*5fd0122aSMatthias Ringwald 3468*5fd0122aSMatthias Ringwald /* UDMA_ALTSET Control Bits */ 3469*5fd0122aSMatthias Ringwald #define UDMA_ALTSET_SET_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Alternate Set */ 3470*5fd0122aSMatthias Ringwald 3471*5fd0122aSMatthias Ringwald /* UDMA_ALTCLR Control Bits */ 3472*5fd0122aSMatthias Ringwald #define UDMA_ALTCLR_CLR_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Alternate Clear */ 3473*5fd0122aSMatthias Ringwald 3474*5fd0122aSMatthias Ringwald /* UDMA_PRIOSET Control Bits */ 3475*5fd0122aSMatthias Ringwald #define UDMA_PRIOSET_SET_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Priority Set */ 3476*5fd0122aSMatthias Ringwald 3477*5fd0122aSMatthias Ringwald /* UDMA_PRIOCLR Control Bits */ 3478*5fd0122aSMatthias Ringwald #define UDMA_PRIOCLR_CLR_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Priority Clear */ 3479*5fd0122aSMatthias Ringwald 3480*5fd0122aSMatthias Ringwald /* UDMA_ERRCLR Control Bits */ 3481*5fd0122aSMatthias Ringwald #define UDMA_ERRCLR_ERRCLR ((uint32_t)0x00000001) /*!< uDMA Bus Error Status */ 3482*5fd0122aSMatthias Ringwald 3483*5fd0122aSMatthias Ringwald /* UDMA_CHASGN Control Bits */ 3484*5fd0122aSMatthias Ringwald #define UDMA_CHASGN_M ((uint32_t)0xFFFFFFFF) /*!< Channel [n] Assignment Select */ 3485*5fd0122aSMatthias Ringwald #define UDMA_CHASGN_PRIMARY ((uint32_t)0x00000000) /*!< Use the primary channel assignment */ 3486*5fd0122aSMatthias Ringwald #define UDMA_CHASGN_SECONDARY ((uint32_t)0x00000001) /*!< Use the secondary channel assignment */ 3487*5fd0122aSMatthias Ringwald 3488*5fd0122aSMatthias Ringwald /* Micro Direct Memory Access (uDMA) offsets */ 3489*5fd0122aSMatthias Ringwald #define UDMA_O_SRCENDP ((uint32_t)0x00000000) /*!< DMA Channel Source Address End Pointer */ 3490*5fd0122aSMatthias Ringwald #define UDMA_O_DSTENDP ((uint32_t)0x00000004) /*!< DMA Channel Destination Address End Pointer */ 3491*5fd0122aSMatthias Ringwald #define UDMA_O_CHCTL ((uint32_t)0x00000008) /*!< DMA Channel Control Word */ 3492*5fd0122aSMatthias Ringwald 3493*5fd0122aSMatthias Ringwald /* UDMA_O_SRCENDP Control Bits */ 3494*5fd0122aSMatthias Ringwald #define UDMA_SRCENDP_ADDR_M ((uint32_t)0xFFFFFFFF) /*!< Source Address End Pointer */ 3495*5fd0122aSMatthias Ringwald #define UDMA_SRCENDP_ADDR_S ( 0) 3496*5fd0122aSMatthias Ringwald 3497*5fd0122aSMatthias Ringwald /* UDMA_O_DSTENDP Control Bits */ 3498*5fd0122aSMatthias Ringwald #define UDMA_DSTENDP_ADDR_M ((uint32_t)0xFFFFFFFF) /*!< Destination Address End Pointer */ 3499*5fd0122aSMatthias Ringwald #define UDMA_DSTENDP_ADDR_S ( 0) 3500*5fd0122aSMatthias Ringwald 3501*5fd0122aSMatthias Ringwald /* UDMA_O_CHCTL Control Bits */ 3502*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTINC_M ((uint32_t)0xC0000000) /*!< Destination Address Increment */ 3503*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTINC_8 ((uint32_t)0x00000000) /*!< Byte */ 3504*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTINC_16 ((uint32_t)0x40000000) /*!< Half-word */ 3505*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTINC_32 ((uint32_t)0x80000000) /*!< Word */ 3506*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTINC_NONE ((uint32_t)0xC0000000) /*!< No increment */ 3507*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTSIZE_M ((uint32_t)0x30000000) /*!< Destination Data Size */ 3508*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTSIZE_8 ((uint32_t)0x00000000) /*!< Byte */ 3509*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTSIZE_16 ((uint32_t)0x10000000) /*!< Half-word */ 3510*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_DSTSIZE_32 ((uint32_t)0x20000000) /*!< Word */ 3511*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCINC_M ((uint32_t)0x0C000000) /*!< Source Address Increment */ 3512*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCINC_8 ((uint32_t)0x00000000) /*!< Byte */ 3513*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCINC_16 ((uint32_t)0x04000000) /*!< Half-word */ 3514*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCINC_32 ((uint32_t)0x08000000) /*!< Word */ 3515*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCINC_NONE ((uint32_t)0x0C000000) /*!< No increment */ 3516*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCSIZE_M ((uint32_t)0x03000000) /*!< Source Data Size */ 3517*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCSIZE_8 ((uint32_t)0x00000000) /*!< Byte */ 3518*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCSIZE_16 ((uint32_t)0x01000000) /*!< Half-word */ 3519*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_SRCSIZE_32 ((uint32_t)0x02000000) /*!< Word */ 3520*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_M ((uint32_t)0x0003C000) /*!< Arbitration Size */ 3521*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_1 ((uint32_t)0x00000000) /*!< 1 Transfer */ 3522*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_2 ((uint32_t)0x00004000) /*!< 2 Transfers */ 3523*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_4 ((uint32_t)0x00008000) /*!< 4 Transfers */ 3524*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_8 ((uint32_t)0x0000C000) /*!< 8 Transfers */ 3525*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_16 ((uint32_t)0x00010000) /*!< 16 Transfers */ 3526*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_32 ((uint32_t)0x00014000) /*!< 32 Transfers */ 3527*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_64 ((uint32_t)0x00018000) /*!< 64 Transfers */ 3528*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_128 ((uint32_t)0x0001C000) /*!< 128 Transfers */ 3529*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_256 ((uint32_t)0x00020000) /*!< 256 Transfers */ 3530*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_512 ((uint32_t)0x00024000) /*!< 512 Transfers */ 3531*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_ARBSIZE_1024 ((uint32_t)0x00028000) /*!< 1024 Transfers */ 3532*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERSIZE_M ((uint32_t)0x00003FF0) /*!< Transfer Size (minus 1) */ 3533*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_NXTUSEBURST ((uint32_t)0x00000008) /*!< Next Useburst */ 3534*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_M ((uint32_t)0x00000007) /*!< uDMA Transfer Mode */ 3535*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_STOP ((uint32_t)0x00000000) /*!< Stop */ 3536*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_BASIC ((uint32_t)0x00000001) /*!< Basic */ 3537*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_AUTO ((uint32_t)0x00000002) /*!< Auto-Request */ 3538*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_PINGPONG ((uint32_t)0x00000003) /*!< Ping-Pong */ 3539*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_MEM_SG ((uint32_t)0x00000004) /*!< Memory Scatter-Gather */ 3540*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_MEM_SGA ((uint32_t)0x00000005) /*!< Alternate Memory Scatter-Gather */ 3541*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_PER_SG ((uint32_t)0x00000006) /*!< Peripheral Scatter-Gather */ 3542*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERMODE_PER_SGA ((uint32_t)0x00000007) /*!< Alternate Peripheral Scatter-Gather */ 3543*5fd0122aSMatthias Ringwald 3544*5fd0122aSMatthias Ringwald #define UDMA_CHCTL_XFERSIZE_S ( 4) 3545*5fd0122aSMatthias Ringwald 3546*5fd0122aSMatthias Ringwald 3547*5fd0122aSMatthias Ringwald /****************************************************************************** 3548*5fd0122aSMatthias Ringwald * DWT Bits 3549*5fd0122aSMatthias Ringwald ******************************************************************************/ 3550*5fd0122aSMatthias Ringwald 3551*5fd0122aSMatthias Ringwald 3552*5fd0122aSMatthias Ringwald /****************************************************************************** 3553*5fd0122aSMatthias Ringwald * EUSCI_A Bits 3554*5fd0122aSMatthias Ringwald ******************************************************************************/ 3555*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[SWRST] Bits */ 3556*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SWRST_OFS ( 0) /*!< UCSWRST Bit Offset */ 3557*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SWRST ((uint16_t)0x0001) /*!< Software reset enable */ 3558*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[TXBRK] Bits */ 3559*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_TXBRK_OFS ( 1) /*!< UCTXBRK Bit Offset */ 3560*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_TXBRK ((uint16_t)0x0002) /*!< Transmit break */ 3561*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[TXADDR] Bits */ 3562*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_TXADDR_OFS ( 2) /*!< UCTXADDR Bit Offset */ 3563*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_TXADDR ((uint16_t)0x0004) /*!< Transmit address */ 3564*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[DORM] Bits */ 3565*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_DORM_OFS ( 3) /*!< UCDORM Bit Offset */ 3566*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_DORM ((uint16_t)0x0008) /*!< Dormant */ 3567*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[BRKIE] Bits */ 3568*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_BRKIE_OFS ( 4) /*!< UCBRKIE Bit Offset */ 3569*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_BRKIE ((uint16_t)0x0010) /*!< Receive break character interrupt enable */ 3570*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[RXEIE] Bits */ 3571*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_RXEIE_OFS ( 5) /*!< UCRXEIE Bit Offset */ 3572*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_RXEIE ((uint16_t)0x0020) /*!< Receive erroneous-character interrupt enable */ 3573*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[SSEL] Bits */ 3574*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SSEL_OFS ( 6) /*!< UCSSEL Bit Offset */ 3575*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SSEL_MASK ((uint16_t)0x00C0) /*!< UCSSEL Bit Mask */ 3576*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SSEL0 ((uint16_t)0x0040) /*!< SSEL Bit 0 */ 3577*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SSEL1 ((uint16_t)0x0080) /*!< SSEL Bit 1 */ 3578*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_UCSSEL_0 ((uint16_t)0x0000) /*!< UCLK */ 3579*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_UCSSEL_1 ((uint16_t)0x0040) /*!< ACLK */ 3580*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_UCSSEL_2 ((uint16_t)0x0080) /*!< SMCLK */ 3581*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SSEL__UCLK ((uint16_t)0x0000) /*!< UCLK */ 3582*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SSEL__ACLK ((uint16_t)0x0040) /*!< ACLK */ 3583*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SSEL__SMCLK ((uint16_t)0x0080) /*!< SMCLK */ 3584*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[SYNC] Bits */ 3585*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SYNC_OFS ( 8) /*!< UCSYNC Bit Offset */ 3586*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SYNC ((uint16_t)0x0100) /*!< Synchronous mode enable */ 3587*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[MODE] Bits */ 3588*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE_OFS ( 9) /*!< UCMODE Bit Offset */ 3589*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE_MASK ((uint16_t)0x0600) /*!< UCMODE Bit Mask */ 3590*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE0 ((uint16_t)0x0200) /*!< MODE Bit 0 */ 3591*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE1 ((uint16_t)0x0400) /*!< MODE Bit 1 */ 3592*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE_0 ((uint16_t)0x0000) /*!< UART mode */ 3593*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE_1 ((uint16_t)0x0200) /*!< Idle-line multiprocessor mode */ 3594*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE_2 ((uint16_t)0x0400) /*!< Address-bit multiprocessor mode */ 3595*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MODE_3 ((uint16_t)0x0600) /*!< UART mode with automatic baud-rate detection */ 3596*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[SPB] Bits */ 3597*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SPB_OFS (11) /*!< UCSPB Bit Offset */ 3598*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SPB ((uint16_t)0x0800) /*!< Stop bit select */ 3599*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[SEVENBIT] Bits */ 3600*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SEVENBIT_OFS (12) /*!< UC7BIT Bit Offset */ 3601*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_SEVENBIT ((uint16_t)0x1000) /*!< Character length */ 3602*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[MSB] Bits */ 3603*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MSB_OFS (13) /*!< UCMSB Bit Offset */ 3604*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MSB ((uint16_t)0x2000) /*!< MSB first select */ 3605*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[PAR] Bits */ 3606*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_PAR_OFS (14) /*!< UCPAR Bit Offset */ 3607*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_PAR ((uint16_t)0x4000) /*!< Parity select */ 3608*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[PEN] Bits */ 3609*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_PEN_OFS (15) /*!< UCPEN Bit Offset */ 3610*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_PEN ((uint16_t)0x8000) /*!< Parity enable */ 3611*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[STEM] Bits */ 3612*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_STEM_OFS ( 1) /*!< UCSTEM Bit Offset */ 3613*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_STEM ((uint16_t)0x0002) /*!< STE mode select in master mode. */ 3614*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[MST] Bits */ 3615*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MST_OFS (11) /*!< UCMST Bit Offset */ 3616*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_MST ((uint16_t)0x0800) /*!< Master mode select */ 3617*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[CKPL] Bits */ 3618*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_CKPL_OFS (14) /*!< UCCKPL Bit Offset */ 3619*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_CKPL ((uint16_t)0x4000) /*!< Clock polarity select */ 3620*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW0[CKPH] Bits */ 3621*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_CKPH_OFS (15) /*!< UCCKPH Bit Offset */ 3622*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW0_CKPH ((uint16_t)0x8000) /*!< Clock phase select */ 3623*5fd0122aSMatthias Ringwald /* EUSCI_A_CTLW1[GLIT] Bits */ 3624*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT_OFS ( 0) /*!< UCGLIT Bit Offset */ 3625*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT_MASK ((uint16_t)0x0003) /*!< UCGLIT Bit Mask */ 3626*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT0 ((uint16_t)0x0001) /*!< GLIT Bit 0 */ 3627*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT1 ((uint16_t)0x0002) /*!< GLIT Bit 1 */ 3628*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT_0 ((uint16_t)0x0000) /*!< Approximately 2 ns (equivalent of 1 delay element) */ 3629*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT_1 ((uint16_t)0x0001) /*!< Approximately 50 ns */ 3630*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT_2 ((uint16_t)0x0002) /*!< Approximately 100 ns */ 3631*5fd0122aSMatthias Ringwald #define EUSCI_A_CTLW1_GLIT_3 ((uint16_t)0x0003) /*!< Approximately 200 ns */ 3632*5fd0122aSMatthias Ringwald /* EUSCI_A_MCTLW[OS16] Bits */ 3633*5fd0122aSMatthias Ringwald #define EUSCI_A_MCTLW_OS16_OFS ( 0) /*!< UCOS16 Bit Offset */ 3634*5fd0122aSMatthias Ringwald #define EUSCI_A_MCTLW_OS16 ((uint16_t)0x0001) /*!< Oversampling mode enabled */ 3635*5fd0122aSMatthias Ringwald /* EUSCI_A_MCTLW[BRF] Bits */ 3636*5fd0122aSMatthias Ringwald #define EUSCI_A_MCTLW_BRF_OFS ( 4) /*!< UCBRF Bit Offset */ 3637*5fd0122aSMatthias Ringwald #define EUSCI_A_MCTLW_BRF_MASK ((uint16_t)0x00F0) /*!< UCBRF Bit Mask */ 3638*5fd0122aSMatthias Ringwald /* EUSCI_A_MCTLW[BRS] Bits */ 3639*5fd0122aSMatthias Ringwald #define EUSCI_A_MCTLW_BRS_OFS ( 8) /*!< UCBRS Bit Offset */ 3640*5fd0122aSMatthias Ringwald #define EUSCI_A_MCTLW_BRS_MASK ((uint16_t)0xFF00) /*!< UCBRS Bit Mask */ 3641*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[BUSY] Bits */ 3642*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_BUSY_OFS ( 0) /*!< UCBUSY Bit Offset */ 3643*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_BUSY ((uint16_t)0x0001) /*!< eUSCI_A busy */ 3644*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[ADDR_IDLE] Bits */ 3645*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_ADDR_IDLE_OFS ( 1) /*!< UCADDR_UCIDLE Bit Offset */ 3646*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_ADDR_IDLE ((uint16_t)0x0002) /*!< Address received / Idle line detected */ 3647*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[RXERR] Bits */ 3648*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_RXERR_OFS ( 2) /*!< UCRXERR Bit Offset */ 3649*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_RXERR ((uint16_t)0x0004) /*!< Receive error flag */ 3650*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[BRK] Bits */ 3651*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_BRK_OFS ( 3) /*!< UCBRK Bit Offset */ 3652*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_BRK ((uint16_t)0x0008) /*!< Break detect flag */ 3653*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[PE] Bits */ 3654*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_PE_OFS ( 4) /*!< UCPE Bit Offset */ 3655*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_PE ((uint16_t)0x0010) 3656*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[OE] Bits */ 3657*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_OE_OFS ( 5) /*!< UCOE Bit Offset */ 3658*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_OE ((uint16_t)0x0020) /*!< Overrun error flag */ 3659*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[FE] Bits */ 3660*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_FE_OFS ( 6) /*!< UCFE Bit Offset */ 3661*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_FE ((uint16_t)0x0040) /*!< Framing error flag */ 3662*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[LISTEN] Bits */ 3663*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_LISTEN_OFS ( 7) /*!< UCLISTEN Bit Offset */ 3664*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_LISTEN ((uint16_t)0x0080) /*!< Listen enable */ 3665*5fd0122aSMatthias Ringwald /* EUSCI_A_STATW[SPI_BUSY] Bits */ 3666*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_SPI_BUSY_OFS ( 0) /*!< UCBUSY Bit Offset */ 3667*5fd0122aSMatthias Ringwald #define EUSCI_A_STATW_SPI_BUSY ((uint16_t)0x0001) /*!< eUSCI_A busy */ 3668*5fd0122aSMatthias Ringwald /* EUSCI_A_RXBUF[RXBUF] Bits */ 3669*5fd0122aSMatthias Ringwald #define EUSCI_A_RXBUF_RXBUF_OFS ( 0) /*!< UCRXBUF Bit Offset */ 3670*5fd0122aSMatthias Ringwald #define EUSCI_A_RXBUF_RXBUF_MASK ((uint16_t)0x00FF) /*!< UCRXBUF Bit Mask */ 3671*5fd0122aSMatthias Ringwald /* EUSCI_A_TXBUF[TXBUF] Bits */ 3672*5fd0122aSMatthias Ringwald #define EUSCI_A_TXBUF_TXBUF_OFS ( 0) /*!< UCTXBUF Bit Offset */ 3673*5fd0122aSMatthias Ringwald #define EUSCI_A_TXBUF_TXBUF_MASK ((uint16_t)0x00FF) /*!< UCTXBUF Bit Mask */ 3674*5fd0122aSMatthias Ringwald /* EUSCI_A_ABCTL[ABDEN] Bits */ 3675*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_ABDEN_OFS ( 0) /*!< UCABDEN Bit Offset */ 3676*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_ABDEN ((uint16_t)0x0001) /*!< Automatic baud-rate detect enable */ 3677*5fd0122aSMatthias Ringwald /* EUSCI_A_ABCTL[BTOE] Bits */ 3678*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_BTOE_OFS ( 2) /*!< UCBTOE Bit Offset */ 3679*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_BTOE ((uint16_t)0x0004) /*!< Break time out error */ 3680*5fd0122aSMatthias Ringwald /* EUSCI_A_ABCTL[STOE] Bits */ 3681*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_STOE_OFS ( 3) /*!< UCSTOE Bit Offset */ 3682*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_STOE ((uint16_t)0x0008) /*!< Synch field time out error */ 3683*5fd0122aSMatthias Ringwald /* EUSCI_A_ABCTL[DELIM] Bits */ 3684*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM_OFS ( 4) /*!< UCDELIM Bit Offset */ 3685*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM_MASK ((uint16_t)0x0030) /*!< UCDELIM Bit Mask */ 3686*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM0 ((uint16_t)0x0010) /*!< DELIM Bit 0 */ 3687*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM1 ((uint16_t)0x0020) /*!< DELIM Bit 1 */ 3688*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM_0 ((uint16_t)0x0000) /*!< 1 bit time */ 3689*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM_1 ((uint16_t)0x0010) /*!< 2 bit times */ 3690*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM_2 ((uint16_t)0x0020) /*!< 3 bit times */ 3691*5fd0122aSMatthias Ringwald #define EUSCI_A_ABCTL_DELIM_3 ((uint16_t)0x0030) /*!< 4 bit times */ 3692*5fd0122aSMatthias Ringwald /* EUSCI_A_IRCTL[IREN] Bits */ 3693*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IREN_OFS ( 0) /*!< UCIREN Bit Offset */ 3694*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IREN ((uint16_t)0x0001) /*!< IrDA encoder/decoder enable */ 3695*5fd0122aSMatthias Ringwald /* EUSCI_A_IRCTL[IRTXCLK] Bits */ 3696*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRTXCLK_OFS ( 1) /*!< UCIRTXCLK Bit Offset */ 3697*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRTXCLK ((uint16_t)0x0002) /*!< IrDA transmit pulse clock select */ 3698*5fd0122aSMatthias Ringwald /* EUSCI_A_IRCTL[IRTXPL] Bits */ 3699*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRTXPL_OFS ( 2) /*!< UCIRTXPL Bit Offset */ 3700*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRTXPL_MASK ((uint16_t)0x00FC) /*!< UCIRTXPL Bit Mask */ 3701*5fd0122aSMatthias Ringwald /* EUSCI_A_IRCTL[IRRXFE] Bits */ 3702*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRRXFE_OFS ( 8) /*!< UCIRRXFE Bit Offset */ 3703*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRRXFE ((uint16_t)0x0100) /*!< IrDA receive filter enabled */ 3704*5fd0122aSMatthias Ringwald /* EUSCI_A_IRCTL[IRRXPL] Bits */ 3705*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRRXPL_OFS ( 9) /*!< UCIRRXPL Bit Offset */ 3706*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRRXPL ((uint16_t)0x0200) /*!< IrDA receive input UCAxRXD polarity */ 3707*5fd0122aSMatthias Ringwald /* EUSCI_A_IRCTL[IRRXFL] Bits */ 3708*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRRXFL_OFS (10) /*!< UCIRRXFL Bit Offset */ 3709*5fd0122aSMatthias Ringwald #define EUSCI_A_IRCTL_IRRXFL_MASK ((uint16_t)0x3C00) /*!< UCIRRXFL Bit Mask */ 3710*5fd0122aSMatthias Ringwald /* EUSCI_A_IE[RXIE] Bits */ 3711*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_RXIE_OFS ( 0) /*!< UCRXIE Bit Offset */ 3712*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_RXIE ((uint16_t)0x0001) /*!< Receive interrupt enable */ 3713*5fd0122aSMatthias Ringwald /* EUSCI_A_IE[TXIE] Bits */ 3714*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_TXIE_OFS ( 1) /*!< UCTXIE Bit Offset */ 3715*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_TXIE ((uint16_t)0x0002) /*!< Transmit interrupt enable */ 3716*5fd0122aSMatthias Ringwald /* EUSCI_A_IE[STTIE] Bits */ 3717*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_STTIE_OFS ( 2) /*!< UCSTTIE Bit Offset */ 3718*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_STTIE ((uint16_t)0x0004) /*!< Start bit interrupt enable */ 3719*5fd0122aSMatthias Ringwald /* EUSCI_A_IE[TXCPTIE] Bits */ 3720*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_TXCPTIE_OFS ( 3) /*!< UCTXCPTIE Bit Offset */ 3721*5fd0122aSMatthias Ringwald #define EUSCI_A_IE_TXCPTIE ((uint16_t)0x0008) /*!< Transmit complete interrupt enable */ 3722*5fd0122aSMatthias Ringwald /* EUSCI_A_IFG[RXIFG] Bits */ 3723*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_RXIFG_OFS ( 0) /*!< UCRXIFG Bit Offset */ 3724*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_RXIFG ((uint16_t)0x0001) /*!< Receive interrupt flag */ 3725*5fd0122aSMatthias Ringwald /* EUSCI_A_IFG[TXIFG] Bits */ 3726*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_TXIFG_OFS ( 1) /*!< UCTXIFG Bit Offset */ 3727*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_TXIFG ((uint16_t)0x0002) /*!< Transmit interrupt flag */ 3728*5fd0122aSMatthias Ringwald /* EUSCI_A_IFG[STTIFG] Bits */ 3729*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_STTIFG_OFS ( 2) /*!< UCSTTIFG Bit Offset */ 3730*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_STTIFG ((uint16_t)0x0004) /*!< Start bit interrupt flag */ 3731*5fd0122aSMatthias Ringwald /* EUSCI_A_IFG[TXCPTIFG] Bits */ 3732*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_TXCPTIFG_OFS ( 3) /*!< UCTXCPTIFG Bit Offset */ 3733*5fd0122aSMatthias Ringwald #define EUSCI_A_IFG_TXCPTIFG ((uint16_t)0x0008) /*!< Transmit ready interrupt enable */ 3734*5fd0122aSMatthias Ringwald /* legacy definitions for backward compatibility to version 2100 */ 3735*5fd0122aSMatthias Ringwald #define EUSCI_A__RXIE_OFS EUSCI_A_IE_RXIE_OFS /*!< UCRXIE Bit Offset */ 3736*5fd0122aSMatthias Ringwald #define EUSCI_A__RXIE EUSCI_A_IE_RXIE /*!< Receive interrupt enable */ 3737*5fd0122aSMatthias Ringwald #define EUSCI_A__TXIE_OFS EUSCI_A_IE_TXIE_OFS /*!< UCTXIE Bit Offset */ 3738*5fd0122aSMatthias Ringwald #define EUSCI_A__TXIE EUSCI_A_IE_TXIE /*!< Transmit interrupt enable */ 3739*5fd0122aSMatthias Ringwald 3740*5fd0122aSMatthias Ringwald 3741*5fd0122aSMatthias Ringwald /****************************************************************************** 3742*5fd0122aSMatthias Ringwald * EUSCI_B Bits 3743*5fd0122aSMatthias Ringwald ******************************************************************************/ 3744*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[SWRST] Bits */ 3745*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SWRST_OFS ( 0) /*!< UCSWRST Bit Offset */ 3746*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SWRST ((uint16_t)0x0001) /*!< Software reset enable */ 3747*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[TXSTT] Bits */ 3748*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXSTT_OFS ( 1) /*!< UCTXSTT Bit Offset */ 3749*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXSTT ((uint16_t)0x0002) /*!< Transmit START condition in master mode */ 3750*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[TXSTP] Bits */ 3751*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXSTP_OFS ( 2) /*!< UCTXSTP Bit Offset */ 3752*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXSTP ((uint16_t)0x0004) /*!< Transmit STOP condition in master mode */ 3753*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[TXNACK] Bits */ 3754*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXNACK_OFS ( 3) /*!< UCTXNACK Bit Offset */ 3755*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXNACK ((uint16_t)0x0008) /*!< Transmit a NACK */ 3756*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[TR] Bits */ 3757*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TR_OFS ( 4) /*!< UCTR Bit Offset */ 3758*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TR ((uint16_t)0x0010) /*!< Transmitter/receiver */ 3759*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[TXACK] Bits */ 3760*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXACK_OFS ( 5) /*!< UCTXACK Bit Offset */ 3761*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_TXACK ((uint16_t)0x0020) /*!< Transmit ACK condition in slave mode */ 3762*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[SSEL] Bits */ 3763*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SSEL_OFS ( 6) /*!< UCSSEL Bit Offset */ 3764*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SSEL_MASK ((uint16_t)0x00C0) /*!< UCSSEL Bit Mask */ 3765*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SSEL0 ((uint16_t)0x0040) /*!< SSEL Bit 0 */ 3766*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SSEL1 ((uint16_t)0x0080) /*!< SSEL Bit 1 */ 3767*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_UCSSEL_0 ((uint16_t)0x0000) /*!< UCLKI */ 3768*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_UCSSEL_1 ((uint16_t)0x0040) /*!< ACLK */ 3769*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_UCSSEL_2 ((uint16_t)0x0080) /*!< SMCLK */ 3770*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_UCSSEL_3 ((uint16_t)0x00C0) /*!< SMCLK */ 3771*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SSEL__UCLKI ((uint16_t)0x0000) /*!< UCLKI */ 3772*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SSEL__ACLK ((uint16_t)0x0040) /*!< ACLK */ 3773*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SSEL__SMCLK ((uint16_t)0x0080) /*!< SMCLK */ 3774*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[SYNC] Bits */ 3775*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SYNC_OFS ( 8) /*!< UCSYNC Bit Offset */ 3776*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SYNC ((uint16_t)0x0100) /*!< Synchronous mode enable */ 3777*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[MODE] Bits */ 3778*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE_OFS ( 9) /*!< UCMODE Bit Offset */ 3779*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE_MASK ((uint16_t)0x0600) /*!< UCMODE Bit Mask */ 3780*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE0 ((uint16_t)0x0200) /*!< MODE Bit 0 */ 3781*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE1 ((uint16_t)0x0400) /*!< MODE Bit 1 */ 3782*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE_0 ((uint16_t)0x0000) /*!< 3-pin SPI */ 3783*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE_1 ((uint16_t)0x0200) /*!< 4-pin SPI (master or slave enabled if STE = 1) */ 3784*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE_2 ((uint16_t)0x0400) /*!< 4-pin SPI (master or slave enabled if STE = 0) */ 3785*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MODE_3 ((uint16_t)0x0600) /*!< I2C mode */ 3786*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[MST] Bits */ 3787*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MST_OFS (11) /*!< UCMST Bit Offset */ 3788*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MST ((uint16_t)0x0800) /*!< Master mode select */ 3789*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[MM] Bits */ 3790*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MM_OFS (13) /*!< UCMM Bit Offset */ 3791*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MM ((uint16_t)0x2000) /*!< Multi-master environment select */ 3792*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[SLA10] Bits */ 3793*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SLA10_OFS (14) /*!< UCSLA10 Bit Offset */ 3794*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SLA10 ((uint16_t)0x4000) /*!< Slave addressing mode select */ 3795*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[A10] Bits */ 3796*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_A10_OFS (15) /*!< UCA10 Bit Offset */ 3797*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_A10 ((uint16_t)0x8000) /*!< Own addressing mode select */ 3798*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[STEM] Bits */ 3799*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_STEM_OFS ( 1) /*!< UCSTEM Bit Offset */ 3800*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_STEM ((uint16_t)0x0002) /*!< STE mode select in master mode. */ 3801*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[SEVENBIT] Bits */ 3802*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SEVENBIT_OFS (12) /*!< UC7BIT Bit Offset */ 3803*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_SEVENBIT ((uint16_t)0x1000) /*!< Character length */ 3804*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[MSB] Bits */ 3805*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MSB_OFS (13) /*!< UCMSB Bit Offset */ 3806*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_MSB ((uint16_t)0x2000) /*!< MSB first select */ 3807*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[CKPL] Bits */ 3808*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_CKPL_OFS (14) /*!< UCCKPL Bit Offset */ 3809*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_CKPL ((uint16_t)0x4000) /*!< Clock polarity select */ 3810*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW0[CKPH] Bits */ 3811*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_CKPH_OFS (15) /*!< UCCKPH Bit Offset */ 3812*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW0_CKPH ((uint16_t)0x8000) /*!< Clock phase select */ 3813*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW1[GLIT] Bits */ 3814*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT_OFS ( 0) /*!< UCGLIT Bit Offset */ 3815*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT_MASK ((uint16_t)0x0003) /*!< UCGLIT Bit Mask */ 3816*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT0 ((uint16_t)0x0001) /*!< GLIT Bit 0 */ 3817*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT1 ((uint16_t)0x0002) /*!< GLIT Bit 1 */ 3818*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT_0 ((uint16_t)0x0000) /*!< 50 ns */ 3819*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT_1 ((uint16_t)0x0001) /*!< 25 ns */ 3820*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT_2 ((uint16_t)0x0002) /*!< 12.5 ns */ 3821*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_GLIT_3 ((uint16_t)0x0003) /*!< 6.25 ns */ 3822*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW1[ASTP] Bits */ 3823*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ASTP_OFS ( 2) /*!< UCASTP Bit Offset */ 3824*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ASTP_MASK ((uint16_t)0x000C) /*!< UCASTP Bit Mask */ 3825*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ASTP0 ((uint16_t)0x0004) /*!< ASTP Bit 0 */ 3826*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ASTP1 ((uint16_t)0x0008) /*!< ASTP Bit 1 */ 3827*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ASTP_0 ((uint16_t)0x0000) /*!< No automatic STOP generation. The STOP condition is generated after the user */ 3828*5fd0122aSMatthias Ringwald /* sets the UCTXSTP bit. The value in UCBxTBCNT is a don't care. */ 3829*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ASTP_1 ((uint16_t)0x0004) /*!< UCBCNTIFG is set with the byte counter reaches the threshold defined in */ 3830*5fd0122aSMatthias Ringwald /* UCBxTBCNT */ 3831*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ASTP_2 ((uint16_t)0x0008) /*!< A STOP condition is generated automatically after the byte counter value */ 3832*5fd0122aSMatthias Ringwald /* reached UCBxTBCNT. UCBCNTIFG is set with the byte counter reaching the */ 3833*5fd0122aSMatthias Ringwald /* threshold */ 3834*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW1[SWACK] Bits */ 3835*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_SWACK_OFS ( 4) /*!< UCSWACK Bit Offset */ 3836*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_SWACK ((uint16_t)0x0010) /*!< SW or HW ACK control */ 3837*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW1[STPNACK] Bits */ 3838*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_STPNACK_OFS ( 5) /*!< UCSTPNACK Bit Offset */ 3839*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_STPNACK ((uint16_t)0x0020) /*!< ACK all master bytes */ 3840*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW1[CLTO] Bits */ 3841*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO_OFS ( 6) /*!< UCCLTO Bit Offset */ 3842*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO_MASK ((uint16_t)0x00C0) /*!< UCCLTO Bit Mask */ 3843*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO0 ((uint16_t)0x0040) /*!< CLTO Bit 0 */ 3844*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO1 ((uint16_t)0x0080) /*!< CLTO Bit 1 */ 3845*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO_0 ((uint16_t)0x0000) /*!< Disable clock low timeout counter */ 3846*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO_1 ((uint16_t)0x0040) /*!< 135 000 SYSCLK cycles (approximately 28 ms) */ 3847*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO_2 ((uint16_t)0x0080) /*!< 150 000 SYSCLK cycles (approximately 31 ms) */ 3848*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_CLTO_3 ((uint16_t)0x00C0) /*!< 165 000 SYSCLK cycles (approximately 34 ms) */ 3849*5fd0122aSMatthias Ringwald /* EUSCI_B_CTLW1[ETXINT] Bits */ 3850*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ETXINT_OFS ( 8) /*!< UCETXINT Bit Offset */ 3851*5fd0122aSMatthias Ringwald #define EUSCI_B_CTLW1_ETXINT ((uint16_t)0x0100) /*!< Early UCTXIFG0 */ 3852*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[BBUSY] Bits */ 3853*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_BBUSY_OFS ( 4) /*!< UCBBUSY Bit Offset */ 3854*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_BBUSY ((uint16_t)0x0010) /*!< Bus busy */ 3855*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[GC] Bits */ 3856*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_GC_OFS ( 5) /*!< UCGC Bit Offset */ 3857*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_GC ((uint16_t)0x0020) /*!< General call address received */ 3858*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[SCLLOW] Bits */ 3859*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_SCLLOW_OFS ( 6) /*!< UCSCLLOW Bit Offset */ 3860*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_SCLLOW ((uint16_t)0x0040) /*!< SCL low */ 3861*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[BCNT] Bits */ 3862*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_BCNT_OFS ( 8) /*!< UCBCNT Bit Offset */ 3863*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_BCNT_MASK ((uint16_t)0xFF00) /*!< UCBCNT Bit Mask */ 3864*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[SPI_BUSY] Bits */ 3865*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_SPI_BUSY_OFS ( 0) /*!< UCBUSY Bit Offset */ 3866*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_SPI_BUSY ((uint16_t)0x0001) /*!< eUSCI_B busy */ 3867*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[OE] Bits */ 3868*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_OE_OFS ( 5) /*!< UCOE Bit Offset */ 3869*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_OE ((uint16_t)0x0020) /*!< Overrun error flag */ 3870*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[FE] Bits */ 3871*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_FE_OFS ( 6) /*!< UCFE Bit Offset */ 3872*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_FE ((uint16_t)0x0040) /*!< Framing error flag */ 3873*5fd0122aSMatthias Ringwald /* EUSCI_B_STATW[LISTEN] Bits */ 3874*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_LISTEN_OFS ( 7) /*!< UCLISTEN Bit Offset */ 3875*5fd0122aSMatthias Ringwald #define EUSCI_B_STATW_LISTEN ((uint16_t)0x0080) /*!< Listen enable */ 3876*5fd0122aSMatthias Ringwald /* EUSCI_B_TBCNT[TBCNT] Bits */ 3877*5fd0122aSMatthias Ringwald #define EUSCI_B_TBCNT_TBCNT_OFS ( 0) /*!< UCTBCNT Bit Offset */ 3878*5fd0122aSMatthias Ringwald #define EUSCI_B_TBCNT_TBCNT_MASK ((uint16_t)0x00FF) /*!< UCTBCNT Bit Mask */ 3879*5fd0122aSMatthias Ringwald /* EUSCI_B_RXBUF[RXBUF] Bits */ 3880*5fd0122aSMatthias Ringwald #define EUSCI_B_RXBUF_RXBUF_OFS ( 0) /*!< UCRXBUF Bit Offset */ 3881*5fd0122aSMatthias Ringwald #define EUSCI_B_RXBUF_RXBUF_MASK ((uint16_t)0x00FF) /*!< UCRXBUF Bit Mask */ 3882*5fd0122aSMatthias Ringwald /* EUSCI_B_TXBUF[TXBUF] Bits */ 3883*5fd0122aSMatthias Ringwald #define EUSCI_B_TXBUF_TXBUF_OFS ( 0) /*!< UCTXBUF Bit Offset */ 3884*5fd0122aSMatthias Ringwald #define EUSCI_B_TXBUF_TXBUF_MASK ((uint16_t)0x00FF) /*!< UCTXBUF Bit Mask */ 3885*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA0[I2COA0] Bits */ 3886*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA0_I2COA0_OFS ( 0) /*!< I2COA0 Bit Offset */ 3887*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA0_I2COA0_MASK ((uint16_t)0x03FF) /*!< I2COA0 Bit Mask */ 3888*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA0[OAEN] Bits */ 3889*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA0_OAEN_OFS (10) /*!< UCOAEN Bit Offset */ 3890*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA0_OAEN ((uint16_t)0x0400) /*!< Own Address enable register */ 3891*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA0[GCEN] Bits */ 3892*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA0_GCEN_OFS (15) /*!< UCGCEN Bit Offset */ 3893*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA0_GCEN ((uint16_t)0x8000) /*!< General call response enable */ 3894*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA1[I2COA1] Bits */ 3895*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA1_I2COA1_OFS ( 0) /*!< I2COA1 Bit Offset */ 3896*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA1_I2COA1_MASK ((uint16_t)0x03FF) /*!< I2COA1 Bit Mask */ 3897*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA1[OAEN] Bits */ 3898*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA1_OAEN_OFS (10) /*!< UCOAEN Bit Offset */ 3899*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA1_OAEN ((uint16_t)0x0400) /*!< Own Address enable register */ 3900*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA2[I2COA2] Bits */ 3901*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA2_I2COA2_OFS ( 0) /*!< I2COA2 Bit Offset */ 3902*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA2_I2COA2_MASK ((uint16_t)0x03FF) /*!< I2COA2 Bit Mask */ 3903*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA2[OAEN] Bits */ 3904*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA2_OAEN_OFS (10) /*!< UCOAEN Bit Offset */ 3905*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA2_OAEN ((uint16_t)0x0400) /*!< Own Address enable register */ 3906*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA3[I2COA3] Bits */ 3907*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA3_I2COA3_OFS ( 0) /*!< I2COA3 Bit Offset */ 3908*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA3_I2COA3_MASK ((uint16_t)0x03FF) /*!< I2COA3 Bit Mask */ 3909*5fd0122aSMatthias Ringwald /* EUSCI_B_I2COA3[OAEN] Bits */ 3910*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA3_OAEN_OFS (10) /*!< UCOAEN Bit Offset */ 3911*5fd0122aSMatthias Ringwald #define EUSCI_B_I2COA3_OAEN ((uint16_t)0x0400) /*!< Own Address enable register */ 3912*5fd0122aSMatthias Ringwald /* EUSCI_B_ADDRX[ADDRX] Bits */ 3913*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX_OFS ( 0) /*!< ADDRX Bit Offset */ 3914*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX_MASK ((uint16_t)0x03FF) /*!< ADDRX Bit Mask */ 3915*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX0 ((uint16_t)0x0001) /*!< ADDRX Bit 0 */ 3916*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX1 ((uint16_t)0x0002) /*!< ADDRX Bit 1 */ 3917*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX2 ((uint16_t)0x0004) /*!< ADDRX Bit 2 */ 3918*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX3 ((uint16_t)0x0008) /*!< ADDRX Bit 3 */ 3919*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX4 ((uint16_t)0x0010) /*!< ADDRX Bit 4 */ 3920*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX5 ((uint16_t)0x0020) /*!< ADDRX Bit 5 */ 3921*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX6 ((uint16_t)0x0040) /*!< ADDRX Bit 6 */ 3922*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX7 ((uint16_t)0x0080) /*!< ADDRX Bit 7 */ 3923*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX8 ((uint16_t)0x0100) /*!< ADDRX Bit 8 */ 3924*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDRX_ADDRX9 ((uint16_t)0x0200) /*!< ADDRX Bit 9 */ 3925*5fd0122aSMatthias Ringwald /* EUSCI_B_ADDMASK[ADDMASK] Bits */ 3926*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDMASK_ADDMASK_OFS ( 0) /*!< ADDMASK Bit Offset */ 3927*5fd0122aSMatthias Ringwald #define EUSCI_B_ADDMASK_ADDMASK_MASK ((uint16_t)0x03FF) /*!< ADDMASK Bit Mask */ 3928*5fd0122aSMatthias Ringwald /* EUSCI_B_I2CSA[I2CSA] Bits */ 3929*5fd0122aSMatthias Ringwald #define EUSCI_B_I2CSA_I2CSA_OFS ( 0) /*!< I2CSA Bit Offset */ 3930*5fd0122aSMatthias Ringwald #define EUSCI_B_I2CSA_I2CSA_MASK ((uint16_t)0x03FF) /*!< I2CSA Bit Mask */ 3931*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[RXIE0] Bits */ 3932*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE0_OFS ( 0) /*!< UCRXIE0 Bit Offset */ 3933*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE0 ((uint16_t)0x0001) /*!< Receive interrupt enable 0 */ 3934*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[TXIE0] Bits */ 3935*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE0_OFS ( 1) /*!< UCTXIE0 Bit Offset */ 3936*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE0 ((uint16_t)0x0002) /*!< Transmit interrupt enable 0 */ 3937*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[STTIE] Bits */ 3938*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_STTIE_OFS ( 2) /*!< UCSTTIE Bit Offset */ 3939*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_STTIE ((uint16_t)0x0004) /*!< START condition interrupt enable */ 3940*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[STPIE] Bits */ 3941*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_STPIE_OFS ( 3) /*!< UCSTPIE Bit Offset */ 3942*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_STPIE ((uint16_t)0x0008) /*!< STOP condition interrupt enable */ 3943*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[ALIE] Bits */ 3944*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_ALIE_OFS ( 4) /*!< UCALIE Bit Offset */ 3945*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_ALIE ((uint16_t)0x0010) /*!< Arbitration lost interrupt enable */ 3946*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[NACKIE] Bits */ 3947*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_NACKIE_OFS ( 5) /*!< UCNACKIE Bit Offset */ 3948*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_NACKIE ((uint16_t)0x0020) /*!< Not-acknowledge interrupt enable */ 3949*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[BCNTIE] Bits */ 3950*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_BCNTIE_OFS ( 6) /*!< UCBCNTIE Bit Offset */ 3951*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_BCNTIE ((uint16_t)0x0040) /*!< Byte counter interrupt enable */ 3952*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[CLTOIE] Bits */ 3953*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_CLTOIE_OFS ( 7) /*!< UCCLTOIE Bit Offset */ 3954*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_CLTOIE ((uint16_t)0x0080) /*!< Clock low timeout interrupt enable */ 3955*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[RXIE1] Bits */ 3956*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE1_OFS ( 8) /*!< UCRXIE1 Bit Offset */ 3957*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE1 ((uint16_t)0x0100) /*!< Receive interrupt enable 1 */ 3958*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[TXIE1] Bits */ 3959*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE1_OFS ( 9) /*!< UCTXIE1 Bit Offset */ 3960*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE1 ((uint16_t)0x0200) /*!< Transmit interrupt enable 1 */ 3961*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[RXIE2] Bits */ 3962*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE2_OFS (10) /*!< UCRXIE2 Bit Offset */ 3963*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE2 ((uint16_t)0x0400) /*!< Receive interrupt enable 2 */ 3964*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[TXIE2] Bits */ 3965*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE2_OFS (11) /*!< UCTXIE2 Bit Offset */ 3966*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE2 ((uint16_t)0x0800) /*!< Transmit interrupt enable 2 */ 3967*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[RXIE3] Bits */ 3968*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE3_OFS (12) /*!< UCRXIE3 Bit Offset */ 3969*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE3 ((uint16_t)0x1000) /*!< Receive interrupt enable 3 */ 3970*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[TXIE3] Bits */ 3971*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE3_OFS (13) /*!< UCTXIE3 Bit Offset */ 3972*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE3 ((uint16_t)0x2000) /*!< Transmit interrupt enable 3 */ 3973*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[BIT9IE] Bits */ 3974*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_BIT9IE_OFS (14) /*!< UCBIT9IE Bit Offset */ 3975*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_BIT9IE ((uint16_t)0x4000) /*!< Bit position 9 interrupt enable */ 3976*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[RXIE] Bits */ 3977*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE_OFS ( 0) /*!< UCRXIE Bit Offset */ 3978*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_RXIE ((uint16_t)0x0001) /*!< Receive interrupt enable */ 3979*5fd0122aSMatthias Ringwald /* EUSCI_B_IE[TXIE] Bits */ 3980*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE_OFS ( 1) /*!< UCTXIE Bit Offset */ 3981*5fd0122aSMatthias Ringwald #define EUSCI_B_IE_TXIE ((uint16_t)0x0002) /*!< Transmit interrupt enable */ 3982*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[RXIFG0] Bits */ 3983*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG0_OFS ( 0) /*!< UCRXIFG0 Bit Offset */ 3984*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG0 ((uint16_t)0x0001) /*!< eUSCI_B receive interrupt flag 0 */ 3985*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[TXIFG0] Bits */ 3986*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG0_OFS ( 1) /*!< UCTXIFG0 Bit Offset */ 3987*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG0 ((uint16_t)0x0002) /*!< eUSCI_B transmit interrupt flag 0 */ 3988*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[STTIFG] Bits */ 3989*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_STTIFG_OFS ( 2) /*!< UCSTTIFG Bit Offset */ 3990*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_STTIFG ((uint16_t)0x0004) /*!< START condition interrupt flag */ 3991*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[STPIFG] Bits */ 3992*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_STPIFG_OFS ( 3) /*!< UCSTPIFG Bit Offset */ 3993*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_STPIFG ((uint16_t)0x0008) /*!< STOP condition interrupt flag */ 3994*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[ALIFG] Bits */ 3995*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_ALIFG_OFS ( 4) /*!< UCALIFG Bit Offset */ 3996*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_ALIFG ((uint16_t)0x0010) /*!< Arbitration lost interrupt flag */ 3997*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[NACKIFG] Bits */ 3998*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_NACKIFG_OFS ( 5) /*!< UCNACKIFG Bit Offset */ 3999*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_NACKIFG ((uint16_t)0x0020) /*!< Not-acknowledge received interrupt flag */ 4000*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[BCNTIFG] Bits */ 4001*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_BCNTIFG_OFS ( 6) /*!< UCBCNTIFG Bit Offset */ 4002*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_BCNTIFG ((uint16_t)0x0040) /*!< Byte counter interrupt flag */ 4003*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[CLTOIFG] Bits */ 4004*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_CLTOIFG_OFS ( 7) /*!< UCCLTOIFG Bit Offset */ 4005*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_CLTOIFG ((uint16_t)0x0080) /*!< Clock low timeout interrupt flag */ 4006*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[RXIFG1] Bits */ 4007*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG1_OFS ( 8) /*!< UCRXIFG1 Bit Offset */ 4008*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG1 ((uint16_t)0x0100) /*!< eUSCI_B receive interrupt flag 1 */ 4009*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[TXIFG1] Bits */ 4010*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG1_OFS ( 9) /*!< UCTXIFG1 Bit Offset */ 4011*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG1 ((uint16_t)0x0200) /*!< eUSCI_B transmit interrupt flag 1 */ 4012*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[RXIFG2] Bits */ 4013*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG2_OFS (10) /*!< UCRXIFG2 Bit Offset */ 4014*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG2 ((uint16_t)0x0400) /*!< eUSCI_B receive interrupt flag 2 */ 4015*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[TXIFG2] Bits */ 4016*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG2_OFS (11) /*!< UCTXIFG2 Bit Offset */ 4017*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG2 ((uint16_t)0x0800) /*!< eUSCI_B transmit interrupt flag 2 */ 4018*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[RXIFG3] Bits */ 4019*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG3_OFS (12) /*!< UCRXIFG3 Bit Offset */ 4020*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG3 ((uint16_t)0x1000) /*!< eUSCI_B receive interrupt flag 3 */ 4021*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[TXIFG3] Bits */ 4022*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG3_OFS (13) /*!< UCTXIFG3 Bit Offset */ 4023*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG3 ((uint16_t)0x2000) /*!< eUSCI_B transmit interrupt flag 3 */ 4024*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[BIT9IFG] Bits */ 4025*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_BIT9IFG_OFS (14) /*!< UCBIT9IFG Bit Offset */ 4026*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_BIT9IFG ((uint16_t)0x4000) /*!< Bit position 9 interrupt flag */ 4027*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[RXIFG] Bits */ 4028*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG_OFS ( 0) /*!< UCRXIFG Bit Offset */ 4029*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_RXIFG ((uint16_t)0x0001) /*!< Receive interrupt flag */ 4030*5fd0122aSMatthias Ringwald /* EUSCI_B_IFG[TXIFG] Bits */ 4031*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG_OFS ( 1) /*!< UCTXIFG Bit Offset */ 4032*5fd0122aSMatthias Ringwald #define EUSCI_B_IFG_TXIFG ((uint16_t)0x0002) /*!< Transmit interrupt flag */ 4033*5fd0122aSMatthias Ringwald /* legacy definitions for backward compatibility to version 2100 */ 4034*5fd0122aSMatthias Ringwald #define EUSCI_B__RXIE_OFS EUSCI_B_IE_RXIE_OFS /*!< UCRXIE Bit Offset */ 4035*5fd0122aSMatthias Ringwald #define EUSCI_B__RXIE EUSCI_B_IE_RXIE /*!< Receive interrupt enable */ 4036*5fd0122aSMatthias Ringwald #define EUSCI_B__TXIE_OFS EUSCI_B_IE_TXIE_OFS /*!< UCTXIE Bit Offset */ 4037*5fd0122aSMatthias Ringwald #define EUSCI_B__TXIE EUSCI_B_IE_TXIE /*!< Transmit interrupt enable */ 4038*5fd0122aSMatthias Ringwald 4039*5fd0122aSMatthias Ringwald 4040*5fd0122aSMatthias Ringwald /****************************************************************************** 4041*5fd0122aSMatthias Ringwald * FLCTL Bits 4042*5fd0122aSMatthias Ringwald ******************************************************************************/ 4043*5fd0122aSMatthias Ringwald /* FLCTL_POWER_STAT[PSTAT] Bits */ 4044*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_OFS ( 0) /*!< PSTAT Bit Offset */ 4045*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_MASK ((uint32_t)0x00000007) /*!< PSTAT Bit Mask */ 4046*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT0 ((uint32_t)0x00000001) /*!< PSTAT Bit 0 */ 4047*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT1 ((uint32_t)0x00000002) /*!< PSTAT Bit 1 */ 4048*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT2 ((uint32_t)0x00000004) /*!< PSTAT Bit 2 */ 4049*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_0 ((uint32_t)0x00000000) /*!< Flash IP in power-down mode */ 4050*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_1 ((uint32_t)0x00000001) /*!< Flash IP Vdd domain power-up in progress */ 4051*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_2 ((uint32_t)0x00000002) /*!< PSS LDO_GOOD, IREF_OK and VREF_OK check in progress */ 4052*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_3 ((uint32_t)0x00000003) /*!< Flash IP SAFE_LV check in progress */ 4053*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_4 ((uint32_t)0x00000004) /*!< Flash IP Active */ 4054*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_5 ((uint32_t)0x00000005) /*!< Flash IP Active in Low-Frequency Active and Low-Frequency LPM0 modes. */ 4055*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_6 ((uint32_t)0x00000006) /*!< Flash IP in Standby mode */ 4056*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_PSTAT_7 ((uint32_t)0x00000007) /*!< Flash IP in Current mirror boost state */ 4057*5fd0122aSMatthias Ringwald /* FLCTL_POWER_STAT[LDOSTAT] Bits */ 4058*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_LDOSTAT_OFS ( 3) /*!< LDOSTAT Bit Offset */ 4059*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_LDOSTAT ((uint32_t)0x00000008) /*!< PSS FLDO GOOD status */ 4060*5fd0122aSMatthias Ringwald /* FLCTL_POWER_STAT[VREFSTAT] Bits */ 4061*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_VREFSTAT_OFS ( 4) /*!< VREFSTAT Bit Offset */ 4062*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_VREFSTAT ((uint32_t)0x00000010) /*!< PSS VREF stable status */ 4063*5fd0122aSMatthias Ringwald /* FLCTL_POWER_STAT[IREFSTAT] Bits */ 4064*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_IREFSTAT_OFS ( 5) /*!< IREFSTAT Bit Offset */ 4065*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_IREFSTAT ((uint32_t)0x00000020) /*!< PSS IREF stable status */ 4066*5fd0122aSMatthias Ringwald /* FLCTL_POWER_STAT[TRIMSTAT] Bits */ 4067*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_TRIMSTAT_OFS ( 6) /*!< TRIMSTAT Bit Offset */ 4068*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_TRIMSTAT ((uint32_t)0x00000040) /*!< PSS trim done status */ 4069*5fd0122aSMatthias Ringwald /* FLCTL_POWER_STAT[RD_2T] Bits */ 4070*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_RD_2T_OFS ( 7) /*!< RD_2T Bit Offset */ 4071*5fd0122aSMatthias Ringwald #define FLCTL_POWER_STAT_RD_2T ((uint32_t)0x00000080) /*!< Indicates if Flash is being accessed in 2T mode */ 4072*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_RDCTL[RD_MODE] Bits */ 4073*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_OFS ( 0) /*!< RD_MODE Bit Offset */ 4074*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_MASK ((uint32_t)0x0000000F) /*!< RD_MODE Bit Mask */ 4075*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE0 ((uint32_t)0x00000001) /*!< RD_MODE Bit 0 */ 4076*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE1 ((uint32_t)0x00000002) /*!< RD_MODE Bit 1 */ 4077*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE2 ((uint32_t)0x00000004) /*!< RD_MODE Bit 2 */ 4078*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE3 ((uint32_t)0x00000008) /*!< RD_MODE Bit 3 */ 4079*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_0 ((uint32_t)0x00000000) /*!< Normal read mode */ 4080*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_1 ((uint32_t)0x00000001) /*!< Read Margin 0 */ 4081*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_2 ((uint32_t)0x00000002) /*!< Read Margin 1 */ 4082*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_3 ((uint32_t)0x00000003) /*!< Program Verify */ 4083*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_4 ((uint32_t)0x00000004) /*!< Erase Verify */ 4084*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_5 ((uint32_t)0x00000005) /*!< Leakage Verify */ 4085*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_9 ((uint32_t)0x00000009) /*!< Read Margin 0B */ 4086*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_10 ((uint32_t)0x0000000A) /*!< Read Margin 1B */ 4087*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_RDCTL[BUFI] Bits */ 4088*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_BUFI_OFS ( 4) /*!< BUFI Bit Offset */ 4089*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_BUFI ((uint32_t)0x00000010) /*!< Enables read buffering feature for instruction fetches to this Bank */ 4090*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_RDCTL[BUFD] Bits */ 4091*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_BUFD_OFS ( 5) /*!< BUFD Bit Offset */ 4092*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_BUFD ((uint32_t)0x00000020) /*!< Enables read buffering feature for data reads to this Bank */ 4093*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_RDCTL[WAIT] Bits */ 4094*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_OFS (12) /*!< WAIT Bit Offset */ 4095*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_MASK ((uint32_t)0x0000F000) /*!< WAIT Bit Mask */ 4096*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT0 ((uint32_t)0x00001000) /*!< WAIT Bit 0 */ 4097*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT1 ((uint32_t)0x00002000) /*!< WAIT Bit 1 */ 4098*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT2 ((uint32_t)0x00004000) /*!< WAIT Bit 2 */ 4099*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT3 ((uint32_t)0x00008000) /*!< WAIT Bit 3 */ 4100*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_0 ((uint32_t)0x00000000) /*!< 0 wait states */ 4101*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_1 ((uint32_t)0x00001000) /*!< 1 wait states */ 4102*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_2 ((uint32_t)0x00002000) /*!< 2 wait states */ 4103*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_3 ((uint32_t)0x00003000) /*!< 3 wait states */ 4104*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_4 ((uint32_t)0x00004000) /*!< 4 wait states */ 4105*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_5 ((uint32_t)0x00005000) /*!< 5 wait states */ 4106*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_6 ((uint32_t)0x00006000) /*!< 6 wait states */ 4107*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_7 ((uint32_t)0x00007000) /*!< 7 wait states */ 4108*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_8 ((uint32_t)0x00008000) /*!< 8 wait states */ 4109*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_9 ((uint32_t)0x00009000) /*!< 9 wait states */ 4110*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_10 ((uint32_t)0x0000A000) /*!< 10 wait states */ 4111*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_11 ((uint32_t)0x0000B000) /*!< 11 wait states */ 4112*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_12 ((uint32_t)0x0000C000) /*!< 12 wait states */ 4113*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_13 ((uint32_t)0x0000D000) /*!< 13 wait states */ 4114*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_14 ((uint32_t)0x0000E000) /*!< 14 wait states */ 4115*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_WAIT_15 ((uint32_t)0x0000F000) /*!< 15 wait states */ 4116*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_RDCTL[RD_MODE_STATUS] Bits */ 4117*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_OFS (16) /*!< RD_MODE_STATUS Bit Offset */ 4118*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_MASK ((uint32_t)0x000F0000) /*!< RD_MODE_STATUS Bit Mask */ 4119*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS0 ((uint32_t)0x00010000) /*!< RD_MODE_STATUS Bit 0 */ 4120*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS1 ((uint32_t)0x00020000) /*!< RD_MODE_STATUS Bit 1 */ 4121*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS2 ((uint32_t)0x00040000) /*!< RD_MODE_STATUS Bit 2 */ 4122*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS3 ((uint32_t)0x00080000) /*!< RD_MODE_STATUS Bit 3 */ 4123*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_0 ((uint32_t)0x00000000) /*!< Normal read mode */ 4124*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_1 ((uint32_t)0x00010000) /*!< Read Margin 0 */ 4125*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_2 ((uint32_t)0x00020000) /*!< Read Margin 1 */ 4126*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_3 ((uint32_t)0x00030000) /*!< Program Verify */ 4127*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_4 ((uint32_t)0x00040000) /*!< Erase Verify */ 4128*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_5 ((uint32_t)0x00050000) /*!< Leakage Verify */ 4129*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_9 ((uint32_t)0x00090000) /*!< Read Margin 0B */ 4130*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_RDCTL_RD_MODE_STATUS_10 ((uint32_t)0x000A0000) /*!< Read Margin 1B */ 4131*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_RDCTL[RD_MODE] Bits */ 4132*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_OFS ( 0) /*!< RD_MODE Bit Offset */ 4133*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_MASK ((uint32_t)0x0000000F) /*!< RD_MODE Bit Mask */ 4134*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE0 ((uint32_t)0x00000001) /*!< RD_MODE Bit 0 */ 4135*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE1 ((uint32_t)0x00000002) /*!< RD_MODE Bit 1 */ 4136*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE2 ((uint32_t)0x00000004) /*!< RD_MODE Bit 2 */ 4137*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE3 ((uint32_t)0x00000008) /*!< RD_MODE Bit 3 */ 4138*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_0 ((uint32_t)0x00000000) /*!< Normal read mode */ 4139*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_1 ((uint32_t)0x00000001) /*!< Read Margin 0 */ 4140*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_2 ((uint32_t)0x00000002) /*!< Read Margin 1 */ 4141*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_3 ((uint32_t)0x00000003) /*!< Program Verify */ 4142*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_4 ((uint32_t)0x00000004) /*!< Erase Verify */ 4143*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_5 ((uint32_t)0x00000005) /*!< Leakage Verify */ 4144*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_9 ((uint32_t)0x00000009) /*!< Read Margin 0B */ 4145*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_10 ((uint32_t)0x0000000A) /*!< Read Margin 1B */ 4146*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_RDCTL[BUFI] Bits */ 4147*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_BUFI_OFS ( 4) /*!< BUFI Bit Offset */ 4148*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_BUFI ((uint32_t)0x00000010) /*!< Enables read buffering feature for instruction fetches to this Bank */ 4149*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_RDCTL[BUFD] Bits */ 4150*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_BUFD_OFS ( 5) /*!< BUFD Bit Offset */ 4151*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_BUFD ((uint32_t)0x00000020) /*!< Enables read buffering feature for data reads to this Bank */ 4152*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_RDCTL[RD_MODE_STATUS] Bits */ 4153*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_OFS (16) /*!< RD_MODE_STATUS Bit Offset */ 4154*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_MASK ((uint32_t)0x000F0000) /*!< RD_MODE_STATUS Bit Mask */ 4155*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS0 ((uint32_t)0x00010000) /*!< RD_MODE_STATUS Bit 0 */ 4156*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS1 ((uint32_t)0x00020000) /*!< RD_MODE_STATUS Bit 1 */ 4157*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS2 ((uint32_t)0x00040000) /*!< RD_MODE_STATUS Bit 2 */ 4158*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS3 ((uint32_t)0x00080000) /*!< RD_MODE_STATUS Bit 3 */ 4159*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_0 ((uint32_t)0x00000000) /*!< Normal read mode */ 4160*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_1 ((uint32_t)0x00010000) /*!< Read Margin 0 */ 4161*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_2 ((uint32_t)0x00020000) /*!< Read Margin 1 */ 4162*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_3 ((uint32_t)0x00030000) /*!< Program Verify */ 4163*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_4 ((uint32_t)0x00040000) /*!< Erase Verify */ 4164*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_5 ((uint32_t)0x00050000) /*!< Leakage Verify */ 4165*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_9 ((uint32_t)0x00090000) /*!< Read Margin 0B */ 4166*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_RD_MODE_STATUS_10 ((uint32_t)0x000A0000) /*!< Read Margin 1B */ 4167*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_RDCTL[WAIT] Bits */ 4168*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_OFS (12) /*!< WAIT Bit Offset */ 4169*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_MASK ((uint32_t)0x0000F000) /*!< WAIT Bit Mask */ 4170*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT0 ((uint32_t)0x00001000) /*!< WAIT Bit 0 */ 4171*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT1 ((uint32_t)0x00002000) /*!< WAIT Bit 1 */ 4172*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT2 ((uint32_t)0x00004000) /*!< WAIT Bit 2 */ 4173*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT3 ((uint32_t)0x00008000) /*!< WAIT Bit 3 */ 4174*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_0 ((uint32_t)0x00000000) /*!< 0 wait states */ 4175*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_1 ((uint32_t)0x00001000) /*!< 1 wait states */ 4176*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_2 ((uint32_t)0x00002000) /*!< 2 wait states */ 4177*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_3 ((uint32_t)0x00003000) /*!< 3 wait states */ 4178*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_4 ((uint32_t)0x00004000) /*!< 4 wait states */ 4179*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_5 ((uint32_t)0x00005000) /*!< 5 wait states */ 4180*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_6 ((uint32_t)0x00006000) /*!< 6 wait states */ 4181*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_7 ((uint32_t)0x00007000) /*!< 7 wait states */ 4182*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_8 ((uint32_t)0x00008000) /*!< 8 wait states */ 4183*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_9 ((uint32_t)0x00009000) /*!< 9 wait states */ 4184*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_10 ((uint32_t)0x0000A000) /*!< 10 wait states */ 4185*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_11 ((uint32_t)0x0000B000) /*!< 11 wait states */ 4186*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_12 ((uint32_t)0x0000C000) /*!< 12 wait states */ 4187*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_13 ((uint32_t)0x0000D000) /*!< 13 wait states */ 4188*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_14 ((uint32_t)0x0000E000) /*!< 14 wait states */ 4189*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_RDCTL_WAIT_15 ((uint32_t)0x0000F000) /*!< 15 wait states */ 4190*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[START] Bits */ 4191*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_START_OFS ( 0) /*!< START Bit Offset */ 4192*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_START ((uint32_t)0x00000001) /*!< Start of burst/compare operation */ 4193*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[MEM_TYPE] Bits */ 4194*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE_OFS ( 1) /*!< MEM_TYPE Bit Offset */ 4195*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE_MASK ((uint32_t)0x00000006) /*!< MEM_TYPE Bit Mask */ 4196*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE0 ((uint32_t)0x00000002) /*!< MEM_TYPE Bit 0 */ 4197*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE1 ((uint32_t)0x00000004) /*!< MEM_TYPE Bit 1 */ 4198*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE_0 ((uint32_t)0x00000000) /*!< Main Memory */ 4199*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE_1 ((uint32_t)0x00000002) /*!< Information Memory */ 4200*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE_2 ((uint32_t)0x00000004) /*!< Reserved */ 4201*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_MEM_TYPE_3 ((uint32_t)0x00000006) /*!< Engineering Memory */ 4202*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[STOP_FAIL] Bits */ 4203*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_STOP_FAIL_OFS ( 3) /*!< STOP_FAIL Bit Offset */ 4204*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_STOP_FAIL ((uint32_t)0x00000008) /*!< Terminate burst/compare operation */ 4205*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[DATA_CMP] Bits */ 4206*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_DATA_CMP_OFS ( 4) /*!< DATA_CMP Bit Offset */ 4207*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_DATA_CMP ((uint32_t)0x00000010) /*!< Data pattern used for comparison against memory read data */ 4208*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[TEST_EN] Bits */ 4209*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_TEST_EN_OFS ( 6) /*!< TEST_EN Bit Offset */ 4210*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_TEST_EN ((uint32_t)0x00000040) /*!< Enable comparison against test data compare registers */ 4211*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[BRST_STAT] Bits */ 4212*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT_OFS (16) /*!< BRST_STAT Bit Offset */ 4213*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT_MASK ((uint32_t)0x00030000) /*!< BRST_STAT Bit Mask */ 4214*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT0 ((uint32_t)0x00010000) /*!< BRST_STAT Bit 0 */ 4215*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT1 ((uint32_t)0x00020000) /*!< BRST_STAT Bit 1 */ 4216*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT_0 ((uint32_t)0x00000000) /*!< Idle */ 4217*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT_1 ((uint32_t)0x00010000) /*!< Burst/Compare START bit written, but operation pending */ 4218*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT_2 ((uint32_t)0x00020000) /*!< Burst/Compare in progress */ 4219*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_BRST_STAT_3 ((uint32_t)0x00030000) /*!< Burst complete (status of completed burst remains in this state unless */ 4220*5fd0122aSMatthias Ringwald /* explicitly cleared by SW) */ 4221*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[CMP_ERR] Bits */ 4222*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_CMP_ERR_OFS (18) /*!< CMP_ERR Bit Offset */ 4223*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_CMP_ERR ((uint32_t)0x00040000) /*!< Burst/Compare Operation encountered atleast one data */ 4224*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[ADDR_ERR] Bits */ 4225*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_ADDR_ERR_OFS (19) /*!< ADDR_ERR Bit Offset */ 4226*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_ADDR_ERR ((uint32_t)0x00080000) /*!< Burst/Compare Operation was terminated due to access to */ 4227*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_CTLSTAT[CLR_STAT] Bits */ 4228*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_CLR_STAT_OFS (23) /*!< CLR_STAT Bit Offset */ 4229*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_CTLSTAT_CLR_STAT ((uint32_t)0x00800000) /*!< Clear status bits 19-16 of this register */ 4230*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_STARTADDR[START_ADDRESS] Bits */ 4231*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_STARTADDR_START_ADDRESS_OFS ( 0) /*!< START_ADDRESS Bit Offset */ 4232*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_STARTADDR_START_ADDRESS_MASK ((uint32_t)0x001FFFFF) /*!< START_ADDRESS Bit Mask */ 4233*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_LEN[BURST_LENGTH] Bits */ 4234*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_LEN_BURST_LENGTH_OFS ( 0) /*!< BURST_LENGTH Bit Offset */ 4235*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_LEN_BURST_LENGTH_MASK ((uint32_t)0x001FFFFF) /*!< BURST_LENGTH Bit Mask */ 4236*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_FAILADDR[FAIL_ADDRESS] Bits */ 4237*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_FAILADDR_FAIL_ADDRESS_OFS ( 0) /*!< FAIL_ADDRESS Bit Offset */ 4238*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_FAILADDR_FAIL_ADDRESS_MASK ((uint32_t)0x001FFFFF) /*!< FAIL_ADDRESS Bit Mask */ 4239*5fd0122aSMatthias Ringwald /* FLCTL_RDBRST_FAILCNT[FAIL_COUNT] Bits */ 4240*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_FAILCNT_FAIL_COUNT_OFS ( 0) /*!< FAIL_COUNT Bit Offset */ 4241*5fd0122aSMatthias Ringwald #define FLCTL_RDBRST_FAILCNT_FAIL_COUNT_MASK ((uint32_t)0x0001FFFF) /*!< FAIL_COUNT Bit Mask */ 4242*5fd0122aSMatthias Ringwald /* FLCTL_PRG_CTLSTAT[ENABLE] Bits */ 4243*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_ENABLE_OFS ( 0) /*!< ENABLE Bit Offset */ 4244*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_ENABLE ((uint32_t)0x00000001) /*!< Master control for all word program operations */ 4245*5fd0122aSMatthias Ringwald /* FLCTL_PRG_CTLSTAT[MODE] Bits */ 4246*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_MODE_OFS ( 1) /*!< MODE Bit Offset */ 4247*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_MODE ((uint32_t)0x00000002) /*!< Write mode */ 4248*5fd0122aSMatthias Ringwald /* FLCTL_PRG_CTLSTAT[VER_PRE] Bits */ 4249*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_VER_PRE_OFS ( 2) /*!< VER_PRE Bit Offset */ 4250*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_VER_PRE ((uint32_t)0x00000004) /*!< Controls automatic pre program verify operations */ 4251*5fd0122aSMatthias Ringwald /* FLCTL_PRG_CTLSTAT[VER_PST] Bits */ 4252*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_VER_PST_OFS ( 3) /*!< VER_PST Bit Offset */ 4253*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_VER_PST ((uint32_t)0x00000008) /*!< Controls automatic post program verify operations */ 4254*5fd0122aSMatthias Ringwald /* FLCTL_PRG_CTLSTAT[STATUS] Bits */ 4255*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS_OFS (16) /*!< STATUS Bit Offset */ 4256*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS_MASK ((uint32_t)0x00030000) /*!< STATUS Bit Mask */ 4257*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS0 ((uint32_t)0x00010000) /*!< STATUS Bit 0 */ 4258*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS1 ((uint32_t)0x00020000) /*!< STATUS Bit 1 */ 4259*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS_0 ((uint32_t)0x00000000) /*!< Idle (no program operation currently active) */ 4260*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS_1 ((uint32_t)0x00010000) /*!< Single word program operation triggered, but pending */ 4261*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS_2 ((uint32_t)0x00020000) /*!< Single word program in progress */ 4262*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_STATUS_3 ((uint32_t)0x00030000) /*!< Reserved (Idle) */ 4263*5fd0122aSMatthias Ringwald /* FLCTL_PRG_CTLSTAT[BNK_ACT] Bits */ 4264*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_BNK_ACT_OFS (18) /*!< BNK_ACT Bit Offset */ 4265*5fd0122aSMatthias Ringwald #define FLCTL_PRG_CTLSTAT_BNK_ACT ((uint32_t)0x00040000) /*!< Bank active */ 4266*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[START] Bits */ 4267*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_START_OFS ( 0) /*!< START Bit Offset */ 4268*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_START ((uint32_t)0x00000001) /*!< Trigger start of burst program operation */ 4269*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[TYPE] Bits */ 4270*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE_OFS ( 1) /*!< TYPE Bit Offset */ 4271*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE_MASK ((uint32_t)0x00000006) /*!< TYPE Bit Mask */ 4272*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE0 ((uint32_t)0x00000002) /*!< TYPE Bit 0 */ 4273*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE1 ((uint32_t)0x00000004) /*!< TYPE Bit 1 */ 4274*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE_0 ((uint32_t)0x00000000) /*!< Main Memory */ 4275*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE_1 ((uint32_t)0x00000002) /*!< Information Memory */ 4276*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE_2 ((uint32_t)0x00000004) /*!< Reserved */ 4277*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_TYPE_3 ((uint32_t)0x00000006) /*!< Engineering Memory */ 4278*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[LEN] Bits */ 4279*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN_OFS ( 3) /*!< LEN Bit Offset */ 4280*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN_MASK ((uint32_t)0x00000038) /*!< LEN Bit Mask */ 4281*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN0 ((uint32_t)0x00000008) /*!< LEN Bit 0 */ 4282*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN1 ((uint32_t)0x00000010) /*!< LEN Bit 1 */ 4283*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN2 ((uint32_t)0x00000020) /*!< LEN Bit 2 */ 4284*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN_0 ((uint32_t)0x00000000) /*!< No burst operation */ 4285*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN_1 ((uint32_t)0x00000008) /*!< 1 word burst of 128 bits, starting with address in the */ 4286*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_STARTADDR Register */ 4287*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN_2 ((uint32_t)0x00000010) /*!< 2*128 bits burst write, starting with address in the FLCTL_PRGBRST_STARTADDR */ 4288*5fd0122aSMatthias Ringwald /* Register */ 4289*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN_3 ((uint32_t)0x00000018) /*!< 3*128 bits burst write, starting with address in the FLCTL_PRGBRST_STARTADDR */ 4290*5fd0122aSMatthias Ringwald /* Register */ 4291*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_LEN_4 ((uint32_t)0x00000020) /*!< 4*128 bits burst write, starting with address in the FLCTL_PRGBRST_STARTADDR */ 4292*5fd0122aSMatthias Ringwald /* Register */ 4293*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[AUTO_PRE] Bits */ 4294*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_AUTO_PRE_OFS ( 6) /*!< AUTO_PRE Bit Offset */ 4295*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_AUTO_PRE ((uint32_t)0x00000040) /*!< Auto-Verify operation before the Burst Program */ 4296*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[AUTO_PST] Bits */ 4297*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_AUTO_PST_OFS ( 7) /*!< AUTO_PST Bit Offset */ 4298*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_AUTO_PST ((uint32_t)0x00000080) /*!< Auto-Verify operation after the Burst Program */ 4299*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[BURST_STATUS] Bits */ 4300*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_OFS (16) /*!< BURST_STATUS Bit Offset */ 4301*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_MASK ((uint32_t)0x00070000) /*!< BURST_STATUS Bit Mask */ 4302*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS0 ((uint32_t)0x00010000) /*!< BURST_STATUS Bit 0 */ 4303*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS1 ((uint32_t)0x00020000) /*!< BURST_STATUS Bit 1 */ 4304*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS2 ((uint32_t)0x00040000) /*!< BURST_STATUS Bit 2 */ 4305*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_0 ((uint32_t)0x00000000) /*!< Idle (Burst not active) */ 4306*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_1 ((uint32_t)0x00010000) /*!< Burst program started but pending */ 4307*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_2 ((uint32_t)0x00020000) /*!< Burst active, with 1st 128 bit word being written into Flash */ 4308*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_3 ((uint32_t)0x00030000) /*!< Burst active, with 2nd 128 bit word being written into Flash */ 4309*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_4 ((uint32_t)0x00040000) /*!< Burst active, with 3rd 128 bit word being written into Flash */ 4310*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_5 ((uint32_t)0x00050000) /*!< Burst active, with 4th 128 bit word being written into Flash */ 4311*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_6 ((uint32_t)0x00060000) /*!< Reserved (Idle) */ 4312*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_BURST_STATUS_7 ((uint32_t)0x00070000) /*!< Burst Complete (status of completed burst remains in this state unless */ 4313*5fd0122aSMatthias Ringwald /* explicitly cleared by SW) */ 4314*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[PRE_ERR] Bits */ 4315*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_PRE_ERR_OFS (19) /*!< PRE_ERR Bit Offset */ 4316*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_PRE_ERR ((uint32_t)0x00080000) /*!< Burst Operation encountered preprogram auto-verify errors */ 4317*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[PST_ERR] Bits */ 4318*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_PST_ERR_OFS (20) /*!< PST_ERR Bit Offset */ 4319*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_PST_ERR ((uint32_t)0x00100000) /*!< Burst Operation encountered postprogram auto-verify errors */ 4320*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[ADDR_ERR] Bits */ 4321*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_ADDR_ERR_OFS (21) /*!< ADDR_ERR Bit Offset */ 4322*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_ADDR_ERR ((uint32_t)0x00200000) /*!< Burst Operation was terminated due to attempted program of reserved memory */ 4323*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_CTLSTAT[CLR_STAT] Bits */ 4324*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_CLR_STAT_OFS (23) /*!< CLR_STAT Bit Offset */ 4325*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_CTLSTAT_CLR_STAT ((uint32_t)0x00800000) /*!< Clear status bits 21-16 of this register */ 4326*5fd0122aSMatthias Ringwald /* FLCTL_PRGBRST_STARTADDR[START_ADDRESS] Bits */ 4327*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_STARTADDR_START_ADDRESS_OFS ( 0) /*!< START_ADDRESS Bit Offset */ 4328*5fd0122aSMatthias Ringwald #define FLCTL_PRGBRST_STARTADDR_START_ADDRESS_MASK ((uint32_t)0x003FFFFF) /*!< START_ADDRESS Bit Mask */ 4329*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_CTLSTAT[START] Bits */ 4330*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_START_OFS ( 0) /*!< START Bit Offset */ 4331*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_START ((uint32_t)0x00000001) /*!< Start of Erase operation */ 4332*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_CTLSTAT[MODE] Bits */ 4333*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_MODE_OFS ( 1) /*!< MODE Bit Offset */ 4334*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_MODE ((uint32_t)0x00000002) /*!< Erase mode selected by application */ 4335*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_CTLSTAT[TYPE] Bits */ 4336*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE_OFS ( 2) /*!< TYPE Bit Offset */ 4337*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE_MASK ((uint32_t)0x0000000C) /*!< TYPE Bit Mask */ 4338*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE0 ((uint32_t)0x00000004) /*!< TYPE Bit 0 */ 4339*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE1 ((uint32_t)0x00000008) /*!< TYPE Bit 1 */ 4340*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE_0 ((uint32_t)0x00000000) /*!< Main Memory */ 4341*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE_1 ((uint32_t)0x00000004) /*!< Information Memory */ 4342*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE_2 ((uint32_t)0x00000008) /*!< Reserved */ 4343*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_TYPE_3 ((uint32_t)0x0000000C) /*!< Engineering Memory */ 4344*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_CTLSTAT[STATUS] Bits */ 4345*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS_OFS (16) /*!< STATUS Bit Offset */ 4346*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS_MASK ((uint32_t)0x00030000) /*!< STATUS Bit Mask */ 4347*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS0 ((uint32_t)0x00010000) /*!< STATUS Bit 0 */ 4348*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS1 ((uint32_t)0x00020000) /*!< STATUS Bit 1 */ 4349*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS_0 ((uint32_t)0x00000000) /*!< Idle (no program operation currently active) */ 4350*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS_1 ((uint32_t)0x00010000) /*!< Erase operation triggered to START but pending */ 4351*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS_2 ((uint32_t)0x00020000) /*!< Erase operation in progress */ 4352*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_STATUS_3 ((uint32_t)0x00030000) /*!< Erase operation completed (status of completed erase remains in this state */ 4353*5fd0122aSMatthias Ringwald /* unless explicitly cleared by SW) */ 4354*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_CTLSTAT[ADDR_ERR] Bits */ 4355*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_ADDR_ERR_OFS (18) /*!< ADDR_ERR Bit Offset */ 4356*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_ADDR_ERR ((uint32_t)0x00040000) /*!< Erase Operation was terminated due to attempted erase of reserved memory */ 4357*5fd0122aSMatthias Ringwald /* address */ 4358*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_CTLSTAT[CLR_STAT] Bits */ 4359*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_CLR_STAT_OFS (19) /*!< CLR_STAT Bit Offset */ 4360*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_CTLSTAT_CLR_STAT ((uint32_t)0x00080000) /*!< Clear status bits 18-16 of this register */ 4361*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_SECTADDR[SECT_ADDRESS] Bits */ 4362*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_SECTADDR_SECT_ADDRESS_OFS ( 0) /*!< SECT_ADDRESS Bit Offset */ 4363*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_SECTADDR_SECT_ADDRESS_MASK ((uint32_t)0x003FFFFF) /*!< SECT_ADDRESS Bit Mask */ 4364*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_INFO_WEPROT[PROT0] Bits */ 4365*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_INFO_WEPROT_PROT0_OFS ( 0) /*!< PROT0 Bit Offset */ 4366*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_INFO_WEPROT_PROT0 ((uint32_t)0x00000001) /*!< Protects Sector 0 from program or erase */ 4367*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_INFO_WEPROT[PROT1] Bits */ 4368*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_INFO_WEPROT_PROT1_OFS ( 1) /*!< PROT1 Bit Offset */ 4369*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_INFO_WEPROT_PROT1 ((uint32_t)0x00000002) /*!< Protects Sector 1 from program or erase */ 4370*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT0] Bits */ 4371*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT0_OFS ( 0) /*!< PROT0 Bit Offset */ 4372*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT0 ((uint32_t)0x00000001) /*!< Protects Sector 0 from program or erase */ 4373*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT1] Bits */ 4374*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT1_OFS ( 1) /*!< PROT1 Bit Offset */ 4375*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT1 ((uint32_t)0x00000002) /*!< Protects Sector 1 from program or erase */ 4376*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT2] Bits */ 4377*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT2_OFS ( 2) /*!< PROT2 Bit Offset */ 4378*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT2 ((uint32_t)0x00000004) /*!< Protects Sector 2 from program or erase */ 4379*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT3] Bits */ 4380*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT3_OFS ( 3) /*!< PROT3 Bit Offset */ 4381*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT3 ((uint32_t)0x00000008) /*!< Protects Sector 3 from program or erase */ 4382*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT4] Bits */ 4383*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT4_OFS ( 4) /*!< PROT4 Bit Offset */ 4384*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT4 ((uint32_t)0x00000010) /*!< Protects Sector 4 from program or erase */ 4385*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT5] Bits */ 4386*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT5_OFS ( 5) /*!< PROT5 Bit Offset */ 4387*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT5 ((uint32_t)0x00000020) /*!< Protects Sector 5 from program or erase */ 4388*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT6] Bits */ 4389*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT6_OFS ( 6) /*!< PROT6 Bit Offset */ 4390*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT6 ((uint32_t)0x00000040) /*!< Protects Sector 6 from program or erase */ 4391*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT7] Bits */ 4392*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT7_OFS ( 7) /*!< PROT7 Bit Offset */ 4393*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT7 ((uint32_t)0x00000080) /*!< Protects Sector 7 from program or erase */ 4394*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT8] Bits */ 4395*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT8_OFS ( 8) /*!< PROT8 Bit Offset */ 4396*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT8 ((uint32_t)0x00000100) /*!< Protects Sector 8 from program or erase */ 4397*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT9] Bits */ 4398*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT9_OFS ( 9) /*!< PROT9 Bit Offset */ 4399*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT9 ((uint32_t)0x00000200) /*!< Protects Sector 9 from program or erase */ 4400*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT10] Bits */ 4401*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT10_OFS (10) /*!< PROT10 Bit Offset */ 4402*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT10 ((uint32_t)0x00000400) /*!< Protects Sector 10 from program or erase */ 4403*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT11] Bits */ 4404*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT11_OFS (11) /*!< PROT11 Bit Offset */ 4405*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT11 ((uint32_t)0x00000800) /*!< Protects Sector 11 from program or erase */ 4406*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT12] Bits */ 4407*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT12_OFS (12) /*!< PROT12 Bit Offset */ 4408*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT12 ((uint32_t)0x00001000) /*!< Protects Sector 12 from program or erase */ 4409*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT13] Bits */ 4410*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT13_OFS (13) /*!< PROT13 Bit Offset */ 4411*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT13 ((uint32_t)0x00002000) /*!< Protects Sector 13 from program or erase */ 4412*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT14] Bits */ 4413*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT14_OFS (14) /*!< PROT14 Bit Offset */ 4414*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT14 ((uint32_t)0x00004000) /*!< Protects Sector 14 from program or erase */ 4415*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT15] Bits */ 4416*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT15_OFS (15) /*!< PROT15 Bit Offset */ 4417*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT15 ((uint32_t)0x00008000) /*!< Protects Sector 15 from program or erase */ 4418*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT16] Bits */ 4419*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT16_OFS (16) /*!< PROT16 Bit Offset */ 4420*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT16 ((uint32_t)0x00010000) /*!< Protects Sector 16 from program or erase */ 4421*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT17] Bits */ 4422*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT17_OFS (17) /*!< PROT17 Bit Offset */ 4423*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT17 ((uint32_t)0x00020000) /*!< Protects Sector 17 from program or erase */ 4424*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT18] Bits */ 4425*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT18_OFS (18) /*!< PROT18 Bit Offset */ 4426*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT18 ((uint32_t)0x00040000) /*!< Protects Sector 18 from program or erase */ 4427*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT19] Bits */ 4428*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT19_OFS (19) /*!< PROT19 Bit Offset */ 4429*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT19 ((uint32_t)0x00080000) /*!< Protects Sector 19 from program or erase */ 4430*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT20] Bits */ 4431*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT20_OFS (20) /*!< PROT20 Bit Offset */ 4432*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT20 ((uint32_t)0x00100000) /*!< Protects Sector 20 from program or erase */ 4433*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT21] Bits */ 4434*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT21_OFS (21) /*!< PROT21 Bit Offset */ 4435*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT21 ((uint32_t)0x00200000) /*!< Protects Sector 21 from program or erase */ 4436*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT22] Bits */ 4437*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT22_OFS (22) /*!< PROT22 Bit Offset */ 4438*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT22 ((uint32_t)0x00400000) /*!< Protects Sector 22 from program or erase */ 4439*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT23] Bits */ 4440*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT23_OFS (23) /*!< PROT23 Bit Offset */ 4441*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT23 ((uint32_t)0x00800000) /*!< Protects Sector 23 from program or erase */ 4442*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT24] Bits */ 4443*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT24_OFS (24) /*!< PROT24 Bit Offset */ 4444*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT24 ((uint32_t)0x01000000) /*!< Protects Sector 24 from program or erase */ 4445*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT25] Bits */ 4446*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT25_OFS (25) /*!< PROT25 Bit Offset */ 4447*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT25 ((uint32_t)0x02000000) /*!< Protects Sector 25 from program or erase */ 4448*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT26] Bits */ 4449*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT26_OFS (26) /*!< PROT26 Bit Offset */ 4450*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT26 ((uint32_t)0x04000000) /*!< Protects Sector 26 from program or erase */ 4451*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT27] Bits */ 4452*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT27_OFS (27) /*!< PROT27 Bit Offset */ 4453*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT27 ((uint32_t)0x08000000) /*!< Protects Sector 27 from program or erase */ 4454*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT28] Bits */ 4455*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT28_OFS (28) /*!< PROT28 Bit Offset */ 4456*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT28 ((uint32_t)0x10000000) /*!< Protects Sector 28 from program or erase */ 4457*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT29] Bits */ 4458*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT29_OFS (29) /*!< PROT29 Bit Offset */ 4459*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT29 ((uint32_t)0x20000000) /*!< Protects Sector 29 from program or erase */ 4460*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT30] Bits */ 4461*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT30_OFS (30) /*!< PROT30 Bit Offset */ 4462*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT30 ((uint32_t)0x40000000) /*!< Protects Sector 30 from program or erase */ 4463*5fd0122aSMatthias Ringwald /* FLCTL_BANK0_MAIN_WEPROT[PROT31] Bits */ 4464*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT31_OFS (31) /*!< PROT31 Bit Offset */ 4465*5fd0122aSMatthias Ringwald #define FLCTL_BANK0_MAIN_WEPROT_PROT31 ((uint32_t)0x80000000) /*!< Protects Sector 31 from program or erase */ 4466*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_INFO_WEPROT[PROT0] Bits */ 4467*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_INFO_WEPROT_PROT0_OFS ( 0) /*!< PROT0 Bit Offset */ 4468*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_INFO_WEPROT_PROT0 ((uint32_t)0x00000001) /*!< Protects Sector 0 from program or erase operations */ 4469*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_INFO_WEPROT[PROT1] Bits */ 4470*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_INFO_WEPROT_PROT1_OFS ( 1) /*!< PROT1 Bit Offset */ 4471*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_INFO_WEPROT_PROT1 ((uint32_t)0x00000002) /*!< Protects Sector 1 from program or erase operations */ 4472*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT0] Bits */ 4473*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT0_OFS ( 0) /*!< PROT0 Bit Offset */ 4474*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT0 ((uint32_t)0x00000001) /*!< Protects Sector 0 from program or erase operations */ 4475*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT1] Bits */ 4476*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT1_OFS ( 1) /*!< PROT1 Bit Offset */ 4477*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT1 ((uint32_t)0x00000002) /*!< Protects Sector 1 from program or erase operations */ 4478*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT2] Bits */ 4479*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT2_OFS ( 2) /*!< PROT2 Bit Offset */ 4480*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT2 ((uint32_t)0x00000004) /*!< Protects Sector 2 from program or erase operations */ 4481*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT3] Bits */ 4482*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT3_OFS ( 3) /*!< PROT3 Bit Offset */ 4483*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT3 ((uint32_t)0x00000008) /*!< Protects Sector 3 from program or erase operations */ 4484*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT4] Bits */ 4485*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT4_OFS ( 4) /*!< PROT4 Bit Offset */ 4486*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT4 ((uint32_t)0x00000010) /*!< Protects Sector 4 from program or erase operations */ 4487*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT5] Bits */ 4488*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT5_OFS ( 5) /*!< PROT5 Bit Offset */ 4489*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT5 ((uint32_t)0x00000020) /*!< Protects Sector 5 from program or erase operations */ 4490*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT6] Bits */ 4491*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT6_OFS ( 6) /*!< PROT6 Bit Offset */ 4492*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT6 ((uint32_t)0x00000040) /*!< Protects Sector 6 from program or erase operations */ 4493*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT7] Bits */ 4494*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT7_OFS ( 7) /*!< PROT7 Bit Offset */ 4495*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT7 ((uint32_t)0x00000080) /*!< Protects Sector 7 from program or erase operations */ 4496*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT8] Bits */ 4497*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT8_OFS ( 8) /*!< PROT8 Bit Offset */ 4498*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT8 ((uint32_t)0x00000100) /*!< Protects Sector 8 from program or erase operations */ 4499*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT9] Bits */ 4500*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT9_OFS ( 9) /*!< PROT9 Bit Offset */ 4501*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT9 ((uint32_t)0x00000200) /*!< Protects Sector 9 from program or erase operations */ 4502*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT10] Bits */ 4503*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT10_OFS (10) /*!< PROT10 Bit Offset */ 4504*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT10 ((uint32_t)0x00000400) /*!< Protects Sector 10 from program or erase operations */ 4505*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT11] Bits */ 4506*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT11_OFS (11) /*!< PROT11 Bit Offset */ 4507*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT11 ((uint32_t)0x00000800) /*!< Protects Sector 11 from program or erase operations */ 4508*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT12] Bits */ 4509*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT12_OFS (12) /*!< PROT12 Bit Offset */ 4510*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT12 ((uint32_t)0x00001000) /*!< Protects Sector 12 from program or erase operations */ 4511*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT13] Bits */ 4512*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT13_OFS (13) /*!< PROT13 Bit Offset */ 4513*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT13 ((uint32_t)0x00002000) /*!< Protects Sector 13 from program or erase operations */ 4514*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT14] Bits */ 4515*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT14_OFS (14) /*!< PROT14 Bit Offset */ 4516*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT14 ((uint32_t)0x00004000) /*!< Protects Sector 14 from program or erase operations */ 4517*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT15] Bits */ 4518*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT15_OFS (15) /*!< PROT15 Bit Offset */ 4519*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT15 ((uint32_t)0x00008000) /*!< Protects Sector 15 from program or erase operations */ 4520*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT16] Bits */ 4521*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT16_OFS (16) /*!< PROT16 Bit Offset */ 4522*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT16 ((uint32_t)0x00010000) /*!< Protects Sector 16 from program or erase operations */ 4523*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT17] Bits */ 4524*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT17_OFS (17) /*!< PROT17 Bit Offset */ 4525*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT17 ((uint32_t)0x00020000) /*!< Protects Sector 17 from program or erase operations */ 4526*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT18] Bits */ 4527*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT18_OFS (18) /*!< PROT18 Bit Offset */ 4528*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT18 ((uint32_t)0x00040000) /*!< Protects Sector 18 from program or erase operations */ 4529*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT19] Bits */ 4530*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT19_OFS (19) /*!< PROT19 Bit Offset */ 4531*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT19 ((uint32_t)0x00080000) /*!< Protects Sector 19 from program or erase operations */ 4532*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT20] Bits */ 4533*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT20_OFS (20) /*!< PROT20 Bit Offset */ 4534*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT20 ((uint32_t)0x00100000) /*!< Protects Sector 20 from program or erase operations */ 4535*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT21] Bits */ 4536*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT21_OFS (21) /*!< PROT21 Bit Offset */ 4537*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT21 ((uint32_t)0x00200000) /*!< Protects Sector 21 from program or erase operations */ 4538*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT22] Bits */ 4539*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT22_OFS (22) /*!< PROT22 Bit Offset */ 4540*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT22 ((uint32_t)0x00400000) /*!< Protects Sector 22 from program or erase operations */ 4541*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT23] Bits */ 4542*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT23_OFS (23) /*!< PROT23 Bit Offset */ 4543*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT23 ((uint32_t)0x00800000) /*!< Protects Sector 23 from program or erase operations */ 4544*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT24] Bits */ 4545*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT24_OFS (24) /*!< PROT24 Bit Offset */ 4546*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT24 ((uint32_t)0x01000000) /*!< Protects Sector 24 from program or erase operations */ 4547*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT25] Bits */ 4548*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT25_OFS (25) /*!< PROT25 Bit Offset */ 4549*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT25 ((uint32_t)0x02000000) /*!< Protects Sector 25 from program or erase operations */ 4550*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT26] Bits */ 4551*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT26_OFS (26) /*!< PROT26 Bit Offset */ 4552*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT26 ((uint32_t)0x04000000) /*!< Protects Sector 26 from program or erase operations */ 4553*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT27] Bits */ 4554*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT27_OFS (27) /*!< PROT27 Bit Offset */ 4555*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT27 ((uint32_t)0x08000000) /*!< Protects Sector 27 from program or erase operations */ 4556*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT28] Bits */ 4557*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT28_OFS (28) /*!< PROT28 Bit Offset */ 4558*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT28 ((uint32_t)0x10000000) /*!< Protects Sector 28 from program or erase operations */ 4559*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT29] Bits */ 4560*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT29_OFS (29) /*!< PROT29 Bit Offset */ 4561*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT29 ((uint32_t)0x20000000) /*!< Protects Sector 29 from program or erase operations */ 4562*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT30] Bits */ 4563*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT30_OFS (30) /*!< PROT30 Bit Offset */ 4564*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT30 ((uint32_t)0x40000000) /*!< Protects Sector 30 from program or erase operations */ 4565*5fd0122aSMatthias Ringwald /* FLCTL_BANK1_MAIN_WEPROT[PROT31] Bits */ 4566*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT31_OFS (31) /*!< PROT31 Bit Offset */ 4567*5fd0122aSMatthias Ringwald #define FLCTL_BANK1_MAIN_WEPROT_PROT31 ((uint32_t)0x80000000) /*!< Protects Sector 31 from program or erase operations */ 4568*5fd0122aSMatthias Ringwald /* FLCTL_BMRK_CTLSTAT[I_BMRK] Bits */ 4569*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_I_BMRK_OFS ( 0) /*!< I_BMRK Bit Offset */ 4570*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_I_BMRK ((uint32_t)0x00000001) 4571*5fd0122aSMatthias Ringwald /* FLCTL_BMRK_CTLSTAT[D_BMRK] Bits */ 4572*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_D_BMRK_OFS ( 1) /*!< D_BMRK Bit Offset */ 4573*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_D_BMRK ((uint32_t)0x00000002) 4574*5fd0122aSMatthias Ringwald /* FLCTL_BMRK_CTLSTAT[CMP_EN] Bits */ 4575*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_CMP_EN_OFS ( 2) /*!< CMP_EN Bit Offset */ 4576*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_CMP_EN ((uint32_t)0x00000004) 4577*5fd0122aSMatthias Ringwald /* FLCTL_BMRK_CTLSTAT[CMP_SEL] Bits */ 4578*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_CMP_SEL_OFS ( 3) /*!< CMP_SEL Bit Offset */ 4579*5fd0122aSMatthias Ringwald #define FLCTL_BMRK_CTLSTAT_CMP_SEL ((uint32_t)0x00000008) 4580*5fd0122aSMatthias Ringwald /* FLCTL_IFG[RDBRST] Bits */ 4581*5fd0122aSMatthias Ringwald #define FLCTL_IFG_RDBRST_OFS ( 0) /*!< RDBRST Bit Offset */ 4582*5fd0122aSMatthias Ringwald #define FLCTL_IFG_RDBRST ((uint32_t)0x00000001) 4583*5fd0122aSMatthias Ringwald /* FLCTL_IFG[AVPRE] Bits */ 4584*5fd0122aSMatthias Ringwald #define FLCTL_IFG_AVPRE_OFS ( 1) /*!< AVPRE Bit Offset */ 4585*5fd0122aSMatthias Ringwald #define FLCTL_IFG_AVPRE ((uint32_t)0x00000002) 4586*5fd0122aSMatthias Ringwald /* FLCTL_IFG[AVPST] Bits */ 4587*5fd0122aSMatthias Ringwald #define FLCTL_IFG_AVPST_OFS ( 2) /*!< AVPST Bit Offset */ 4588*5fd0122aSMatthias Ringwald #define FLCTL_IFG_AVPST ((uint32_t)0x00000004) 4589*5fd0122aSMatthias Ringwald /* FLCTL_IFG[PRG] Bits */ 4590*5fd0122aSMatthias Ringwald #define FLCTL_IFG_PRG_OFS ( 3) /*!< PRG Bit Offset */ 4591*5fd0122aSMatthias Ringwald #define FLCTL_IFG_PRG ((uint32_t)0x00000008) 4592*5fd0122aSMatthias Ringwald /* FLCTL_IFG[PRGB] Bits */ 4593*5fd0122aSMatthias Ringwald #define FLCTL_IFG_PRGB_OFS ( 4) /*!< PRGB Bit Offset */ 4594*5fd0122aSMatthias Ringwald #define FLCTL_IFG_PRGB ((uint32_t)0x00000010) 4595*5fd0122aSMatthias Ringwald /* FLCTL_IFG[ERASE] Bits */ 4596*5fd0122aSMatthias Ringwald #define FLCTL_IFG_ERASE_OFS ( 5) /*!< ERASE Bit Offset */ 4597*5fd0122aSMatthias Ringwald #define FLCTL_IFG_ERASE ((uint32_t)0x00000020) 4598*5fd0122aSMatthias Ringwald /* FLCTL_IFG[BMRK] Bits */ 4599*5fd0122aSMatthias Ringwald #define FLCTL_IFG_BMRK_OFS ( 8) /*!< BMRK Bit Offset */ 4600*5fd0122aSMatthias Ringwald #define FLCTL_IFG_BMRK ((uint32_t)0x00000100) 4601*5fd0122aSMatthias Ringwald /* FLCTL_IFG[PRG_ERR] Bits */ 4602*5fd0122aSMatthias Ringwald #define FLCTL_IFG_PRG_ERR_OFS ( 9) /*!< PRG_ERR Bit Offset */ 4603*5fd0122aSMatthias Ringwald #define FLCTL_IFG_PRG_ERR ((uint32_t)0x00000200) 4604*5fd0122aSMatthias Ringwald /* FLCTL_IE[RDBRST] Bits */ 4605*5fd0122aSMatthias Ringwald #define FLCTL_IE_RDBRST_OFS ( 0) /*!< RDBRST Bit Offset */ 4606*5fd0122aSMatthias Ringwald #define FLCTL_IE_RDBRST ((uint32_t)0x00000001) 4607*5fd0122aSMatthias Ringwald /* FLCTL_IE[AVPRE] Bits */ 4608*5fd0122aSMatthias Ringwald #define FLCTL_IE_AVPRE_OFS ( 1) /*!< AVPRE Bit Offset */ 4609*5fd0122aSMatthias Ringwald #define FLCTL_IE_AVPRE ((uint32_t)0x00000002) 4610*5fd0122aSMatthias Ringwald /* FLCTL_IE[AVPST] Bits */ 4611*5fd0122aSMatthias Ringwald #define FLCTL_IE_AVPST_OFS ( 2) /*!< AVPST Bit Offset */ 4612*5fd0122aSMatthias Ringwald #define FLCTL_IE_AVPST ((uint32_t)0x00000004) 4613*5fd0122aSMatthias Ringwald /* FLCTL_IE[PRG] Bits */ 4614*5fd0122aSMatthias Ringwald #define FLCTL_IE_PRG_OFS ( 3) /*!< PRG Bit Offset */ 4615*5fd0122aSMatthias Ringwald #define FLCTL_IE_PRG ((uint32_t)0x00000008) 4616*5fd0122aSMatthias Ringwald /* FLCTL_IE[PRGB] Bits */ 4617*5fd0122aSMatthias Ringwald #define FLCTL_IE_PRGB_OFS ( 4) /*!< PRGB Bit Offset */ 4618*5fd0122aSMatthias Ringwald #define FLCTL_IE_PRGB ((uint32_t)0x00000010) 4619*5fd0122aSMatthias Ringwald /* FLCTL_IE[ERASE] Bits */ 4620*5fd0122aSMatthias Ringwald #define FLCTL_IE_ERASE_OFS ( 5) /*!< ERASE Bit Offset */ 4621*5fd0122aSMatthias Ringwald #define FLCTL_IE_ERASE ((uint32_t)0x00000020) 4622*5fd0122aSMatthias Ringwald /* FLCTL_IE[BMRK] Bits */ 4623*5fd0122aSMatthias Ringwald #define FLCTL_IE_BMRK_OFS ( 8) /*!< BMRK Bit Offset */ 4624*5fd0122aSMatthias Ringwald #define FLCTL_IE_BMRK ((uint32_t)0x00000100) 4625*5fd0122aSMatthias Ringwald /* FLCTL_IE[PRG_ERR] Bits */ 4626*5fd0122aSMatthias Ringwald #define FLCTL_IE_PRG_ERR_OFS ( 9) /*!< PRG_ERR Bit Offset */ 4627*5fd0122aSMatthias Ringwald #define FLCTL_IE_PRG_ERR ((uint32_t)0x00000200) 4628*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[RDBRST] Bits */ 4629*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_RDBRST_OFS ( 0) /*!< RDBRST Bit Offset */ 4630*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_RDBRST ((uint32_t)0x00000001) 4631*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[AVPRE] Bits */ 4632*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_AVPRE_OFS ( 1) /*!< AVPRE Bit Offset */ 4633*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_AVPRE ((uint32_t)0x00000002) 4634*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[AVPST] Bits */ 4635*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_AVPST_OFS ( 2) /*!< AVPST Bit Offset */ 4636*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_AVPST ((uint32_t)0x00000004) 4637*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[PRG] Bits */ 4638*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_PRG_OFS ( 3) /*!< PRG Bit Offset */ 4639*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_PRG ((uint32_t)0x00000008) 4640*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[PRGB] Bits */ 4641*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_PRGB_OFS ( 4) /*!< PRGB Bit Offset */ 4642*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_PRGB ((uint32_t)0x00000010) 4643*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[ERASE] Bits */ 4644*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_ERASE_OFS ( 5) /*!< ERASE Bit Offset */ 4645*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_ERASE ((uint32_t)0x00000020) 4646*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[BMRK] Bits */ 4647*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_BMRK_OFS ( 8) /*!< BMRK Bit Offset */ 4648*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_BMRK ((uint32_t)0x00000100) 4649*5fd0122aSMatthias Ringwald /* FLCTL_CLRIFG[PRG_ERR] Bits */ 4650*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_PRG_ERR_OFS ( 9) /*!< PRG_ERR Bit Offset */ 4651*5fd0122aSMatthias Ringwald #define FLCTL_CLRIFG_PRG_ERR ((uint32_t)0x00000200) 4652*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[RDBRST] Bits */ 4653*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_RDBRST_OFS ( 0) /*!< RDBRST Bit Offset */ 4654*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_RDBRST ((uint32_t)0x00000001) 4655*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[AVPRE] Bits */ 4656*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_AVPRE_OFS ( 1) /*!< AVPRE Bit Offset */ 4657*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_AVPRE ((uint32_t)0x00000002) 4658*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[AVPST] Bits */ 4659*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_AVPST_OFS ( 2) /*!< AVPST Bit Offset */ 4660*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_AVPST ((uint32_t)0x00000004) 4661*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[PRG] Bits */ 4662*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_PRG_OFS ( 3) /*!< PRG Bit Offset */ 4663*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_PRG ((uint32_t)0x00000008) 4664*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[PRGB] Bits */ 4665*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_PRGB_OFS ( 4) /*!< PRGB Bit Offset */ 4666*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_PRGB ((uint32_t)0x00000010) 4667*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[ERASE] Bits */ 4668*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_ERASE_OFS ( 5) /*!< ERASE Bit Offset */ 4669*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_ERASE ((uint32_t)0x00000020) 4670*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[BMRK] Bits */ 4671*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_BMRK_OFS ( 8) /*!< BMRK Bit Offset */ 4672*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_BMRK ((uint32_t)0x00000100) 4673*5fd0122aSMatthias Ringwald /* FLCTL_SETIFG[PRG_ERR] Bits */ 4674*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_PRG_ERR_OFS ( 9) /*!< PRG_ERR Bit Offset */ 4675*5fd0122aSMatthias Ringwald #define FLCTL_SETIFG_PRG_ERR ((uint32_t)0x00000200) 4676*5fd0122aSMatthias Ringwald /* FLCTL_READ_TIMCTL[SETUP] Bits */ 4677*5fd0122aSMatthias Ringwald #define FLCTL_READ_TIMCTL_SETUP_OFS ( 0) /*!< SETUP Bit Offset */ 4678*5fd0122aSMatthias Ringwald #define FLCTL_READ_TIMCTL_SETUP_MASK ((uint32_t)0x000000FF) /*!< SETUP Bit Mask */ 4679*5fd0122aSMatthias Ringwald /* FLCTL_READ_TIMCTL[IREF_BOOST1] Bits */ 4680*5fd0122aSMatthias Ringwald #define FLCTL_READ_TIMCTL_IREF_BOOST1_OFS (12) /*!< IREF_BOOST1 Bit Offset */ 4681*5fd0122aSMatthias Ringwald #define FLCTL_READ_TIMCTL_IREF_BOOST1_MASK ((uint32_t)0x0000F000) /*!< IREF_BOOST1 Bit Mask */ 4682*5fd0122aSMatthias Ringwald /* FLCTL_READ_TIMCTL[SETUP_LONG] Bits */ 4683*5fd0122aSMatthias Ringwald #define FLCTL_READ_TIMCTL_SETUP_LONG_OFS (16) /*!< SETUP_LONG Bit Offset */ 4684*5fd0122aSMatthias Ringwald #define FLCTL_READ_TIMCTL_SETUP_LONG_MASK ((uint32_t)0x00FF0000) /*!< SETUP_LONG Bit Mask */ 4685*5fd0122aSMatthias Ringwald /* FLCTL_READMARGIN_TIMCTL[SETUP] Bits */ 4686*5fd0122aSMatthias Ringwald #define FLCTL_READMARGIN_TIMCTL_SETUP_OFS ( 0) /*!< SETUP Bit Offset */ 4687*5fd0122aSMatthias Ringwald #define FLCTL_READMARGIN_TIMCTL_SETUP_MASK ((uint32_t)0x000000FF) /*!< SETUP Bit Mask */ 4688*5fd0122aSMatthias Ringwald /* FLCTL_PRGVER_TIMCTL[SETUP] Bits */ 4689*5fd0122aSMatthias Ringwald #define FLCTL_PRGVER_TIMCTL_SETUP_OFS ( 0) /*!< SETUP Bit Offset */ 4690*5fd0122aSMatthias Ringwald #define FLCTL_PRGVER_TIMCTL_SETUP_MASK ((uint32_t)0x000000FF) /*!< SETUP Bit Mask */ 4691*5fd0122aSMatthias Ringwald /* FLCTL_PRGVER_TIMCTL[ACTIVE] Bits */ 4692*5fd0122aSMatthias Ringwald #define FLCTL_PRGVER_TIMCTL_ACTIVE_OFS ( 8) /*!< ACTIVE Bit Offset */ 4693*5fd0122aSMatthias Ringwald #define FLCTL_PRGVER_TIMCTL_ACTIVE_MASK ((uint32_t)0x00000F00) /*!< ACTIVE Bit Mask */ 4694*5fd0122aSMatthias Ringwald /* FLCTL_PRGVER_TIMCTL[HOLD] Bits */ 4695*5fd0122aSMatthias Ringwald #define FLCTL_PRGVER_TIMCTL_HOLD_OFS (12) /*!< HOLD Bit Offset */ 4696*5fd0122aSMatthias Ringwald #define FLCTL_PRGVER_TIMCTL_HOLD_MASK ((uint32_t)0x0000F000) /*!< HOLD Bit Mask */ 4697*5fd0122aSMatthias Ringwald /* FLCTL_ERSVER_TIMCTL[SETUP] Bits */ 4698*5fd0122aSMatthias Ringwald #define FLCTL_ERSVER_TIMCTL_SETUP_OFS ( 0) /*!< SETUP Bit Offset */ 4699*5fd0122aSMatthias Ringwald #define FLCTL_ERSVER_TIMCTL_SETUP_MASK ((uint32_t)0x000000FF) /*!< SETUP Bit Mask */ 4700*5fd0122aSMatthias Ringwald /* FLCTL_LKGVER_TIMCTL[SETUP] Bits */ 4701*5fd0122aSMatthias Ringwald #define FLCTL_LKGVER_TIMCTL_SETUP_OFS ( 0) /*!< SETUP Bit Offset */ 4702*5fd0122aSMatthias Ringwald #define FLCTL_LKGVER_TIMCTL_SETUP_MASK ((uint32_t)0x000000FF) /*!< SETUP Bit Mask */ 4703*5fd0122aSMatthias Ringwald /* FLCTL_PROGRAM_TIMCTL[SETUP] Bits */ 4704*5fd0122aSMatthias Ringwald #define FLCTL_PROGRAM_TIMCTL_SETUP_OFS ( 0) /*!< SETUP Bit Offset */ 4705*5fd0122aSMatthias Ringwald #define FLCTL_PROGRAM_TIMCTL_SETUP_MASK ((uint32_t)0x000000FF) /*!< SETUP Bit Mask */ 4706*5fd0122aSMatthias Ringwald /* FLCTL_PROGRAM_TIMCTL[ACTIVE] Bits */ 4707*5fd0122aSMatthias Ringwald #define FLCTL_PROGRAM_TIMCTL_ACTIVE_OFS ( 8) /*!< ACTIVE Bit Offset */ 4708*5fd0122aSMatthias Ringwald #define FLCTL_PROGRAM_TIMCTL_ACTIVE_MASK ((uint32_t)0x0FFFFF00) /*!< ACTIVE Bit Mask */ 4709*5fd0122aSMatthias Ringwald /* FLCTL_PROGRAM_TIMCTL[HOLD] Bits */ 4710*5fd0122aSMatthias Ringwald #define FLCTL_PROGRAM_TIMCTL_HOLD_OFS (28) /*!< HOLD Bit Offset */ 4711*5fd0122aSMatthias Ringwald #define FLCTL_PROGRAM_TIMCTL_HOLD_MASK ((uint32_t)0xF0000000) /*!< HOLD Bit Mask */ 4712*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_TIMCTL[SETUP] Bits */ 4713*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_TIMCTL_SETUP_OFS ( 0) /*!< SETUP Bit Offset */ 4714*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_TIMCTL_SETUP_MASK ((uint32_t)0x000000FF) /*!< SETUP Bit Mask */ 4715*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_TIMCTL[ACTIVE] Bits */ 4716*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_TIMCTL_ACTIVE_OFS ( 8) /*!< ACTIVE Bit Offset */ 4717*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_TIMCTL_ACTIVE_MASK ((uint32_t)0x0FFFFF00) /*!< ACTIVE Bit Mask */ 4718*5fd0122aSMatthias Ringwald /* FLCTL_ERASE_TIMCTL[HOLD] Bits */ 4719*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_TIMCTL_HOLD_OFS (28) /*!< HOLD Bit Offset */ 4720*5fd0122aSMatthias Ringwald #define FLCTL_ERASE_TIMCTL_HOLD_MASK ((uint32_t)0xF0000000) /*!< HOLD Bit Mask */ 4721*5fd0122aSMatthias Ringwald /* FLCTL_MASSERASE_TIMCTL[BOOST_ACTIVE] Bits */ 4722*5fd0122aSMatthias Ringwald #define FLCTL_MASSERASE_TIMCTL_BOOST_ACTIVE_OFS ( 0) /*!< BOOST_ACTIVE Bit Offset */ 4723*5fd0122aSMatthias Ringwald #define FLCTL_MASSERASE_TIMCTL_BOOST_ACTIVE_MASK ((uint32_t)0x000000FF) /*!< BOOST_ACTIVE Bit Mask */ 4724*5fd0122aSMatthias Ringwald /* FLCTL_MASSERASE_TIMCTL[BOOST_HOLD] Bits */ 4725*5fd0122aSMatthias Ringwald #define FLCTL_MASSERASE_TIMCTL_BOOST_HOLD_OFS ( 8) /*!< BOOST_HOLD Bit Offset */ 4726*5fd0122aSMatthias Ringwald #define FLCTL_MASSERASE_TIMCTL_BOOST_HOLD_MASK ((uint32_t)0x0000FF00) /*!< BOOST_HOLD Bit Mask */ 4727*5fd0122aSMatthias Ringwald /* FLCTL_BURSTPRG_TIMCTL[ACTIVE] Bits */ 4728*5fd0122aSMatthias Ringwald #define FLCTL_BURSTPRG_TIMCTL_ACTIVE_OFS ( 8) /*!< ACTIVE Bit Offset */ 4729*5fd0122aSMatthias Ringwald #define FLCTL_BURSTPRG_TIMCTL_ACTIVE_MASK ((uint32_t)0x0FFFFF00) /*!< ACTIVE Bit Mask */ 4730*5fd0122aSMatthias Ringwald 4731*5fd0122aSMatthias Ringwald /****************************************************************************** 4732*5fd0122aSMatthias Ringwald * FL_BOOTOVER_MAILBOX Bits 4733*5fd0122aSMatthias Ringwald ******************************************************************************/ 4734*5fd0122aSMatthias Ringwald 4735*5fd0122aSMatthias Ringwald /****************************************************************************** 4736*5fd0122aSMatthias Ringwald * FPB Bits 4737*5fd0122aSMatthias Ringwald ******************************************************************************/ 4738*5fd0122aSMatthias Ringwald 4739*5fd0122aSMatthias Ringwald 4740*5fd0122aSMatthias Ringwald /****************************************************************************** 4741*5fd0122aSMatthias Ringwald * FPU Bits 4742*5fd0122aSMatthias Ringwald ******************************************************************************/ 4743*5fd0122aSMatthias Ringwald 4744*5fd0122aSMatthias Ringwald 4745*5fd0122aSMatthias Ringwald /****************************************************************************** 4746*5fd0122aSMatthias Ringwald * ITM Bits 4747*5fd0122aSMatthias Ringwald ******************************************************************************/ 4748*5fd0122aSMatthias Ringwald 4749*5fd0122aSMatthias Ringwald 4750*5fd0122aSMatthias Ringwald /****************************************************************************** 4751*5fd0122aSMatthias Ringwald * MPU Bits 4752*5fd0122aSMatthias Ringwald ******************************************************************************/ 4753*5fd0122aSMatthias Ringwald 4754*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 4755*5fd0122aSMatthias Ringwald 4756*5fd0122aSMatthias Ringwald /* MPU_RASR_SIZE Bitfield Bits */ 4757*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__32B ((uint32_t)0x00000008) /*!< 32B */ 4758*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__64B ((uint32_t)0x0000000A) /*!< 64B */ 4759*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__128B ((uint32_t)0x0000000C) /*!< 128B */ 4760*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__256B ((uint32_t)0x0000000E) /*!< 256B */ 4761*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__512B ((uint32_t)0x00000010) /*!< 512B */ 4762*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__1K ((uint32_t)0x00000012) /*!< 1KB */ 4763*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__2K ((uint32_t)0x00000014) /*!< 2KB */ 4764*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__4K ((uint32_t)0x00000016) /*!< 4KB */ 4765*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__8K ((uint32_t)0x00000018) /*!< 8KB */ 4766*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__16K ((uint32_t)0x0000001A) /*!< 16KB */ 4767*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__32K ((uint32_t)0x0000001C) /*!< 32KB */ 4768*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__64K ((uint32_t)0x0000001E) /*!< 64KB */ 4769*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__128K ((uint32_t)0x00000020) /*!< 128KB */ 4770*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__256K ((uint32_t)0x00000022) /*!< 256KB */ 4771*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__512K ((uint32_t)0x00000024) /*!< 512KB */ 4772*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__1M ((uint32_t)0x00000026) /*!< 1MB */ 4773*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__2M ((uint32_t)0x00000028) /*!< 2MB */ 4774*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__4M ((uint32_t)0x0000002A) /*!< 4MB */ 4775*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__8M ((uint32_t)0x0000002C) /*!< 8MB */ 4776*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__16M ((uint32_t)0x0000002E) /*!< 16MB */ 4777*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__32M ((uint32_t)0x00000030) /*!< 32MB */ 4778*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__64M ((uint32_t)0x00000032) /*!< 64MB */ 4779*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__128M ((uint32_t)0x00000034) /*!< 128MB */ 4780*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__256M ((uint32_t)0x00000036) /*!< 256MB */ 4781*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__512M ((uint32_t)0x00000038) /*!< 512MB */ 4782*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__1G ((uint32_t)0x0000003A) /*!< 1GB */ 4783*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__2G ((uint32_t)0x0000003C) /*!< 2GB */ 4784*5fd0122aSMatthias Ringwald #define MPU_RASR_SIZE__4G ((uint32_t)0x0000003E) /*!< 4GB */ 4785*5fd0122aSMatthias Ringwald 4786*5fd0122aSMatthias Ringwald /* MPU_RASR_AP Bitfield Bits */ 4787*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_PRV_NO_USR_NO ((uint32_t)0x00000000) /*!< Privileged permissions: No access. User permissions: No access. */ 4788*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_PRV_RW_USR_NO ((uint32_t)0x01000000) /*!< Privileged permissions: Read-write. User permissions: No access. */ 4789*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_PRV_RW_USR_RO ((uint32_t)0x02000000) /*!< Privileged permissions: Read-write. User permissions: Read-only. */ 4790*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_PRV_RW_USR_RW ((uint32_t)0x03000000) /*!< Privileged permissions: Read-write. User permissions: Read-write. */ 4791*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_PRV_RO_USR_NO ((uint32_t)0x05000000) /*!< Privileged permissions: Read-only. User permissions: No access. */ 4792*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_PRV_RO_USR_RO ((uint32_t)0x06000000) /*!< Privileged permissions: Read-only. User permissions: Read-only. */ 4793*5fd0122aSMatthias Ringwald 4794*5fd0122aSMatthias Ringwald /* MPU_RASR_XN Bitfield Bits */ 4795*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_EXEC ((uint32_t)0x00000000) /*!< Instruction access enabled */ 4796*5fd0122aSMatthias Ringwald #define MPU_RASR_AP_NOEXEC ((uint32_t)0x10000000) /*!< Instruction access disabled */ 4797*5fd0122aSMatthias Ringwald 4798*5fd0122aSMatthias Ringwald 4799*5fd0122aSMatthias Ringwald /****************************************************************************** 4800*5fd0122aSMatthias Ringwald * NVIC Bits 4801*5fd0122aSMatthias Ringwald ******************************************************************************/ 4802*5fd0122aSMatthias Ringwald 4803*5fd0122aSMatthias Ringwald /* NVIC_IPR0[NVIC_IPR0_PRI_0] Bits */ 4804*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_0_OFS ( 0) /*!< PRI_0 Offset */ 4805*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_0_M ((uint32_t)0x000000ff) /* */ 4806*5fd0122aSMatthias Ringwald /* NVIC_IPR0[NVIC_IPR0_PRI_1] Bits */ 4807*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_1_OFS ( 8) /*!< PRI_1 Offset */ 4808*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_1_M ((uint32_t)0x0000ff00) /* */ 4809*5fd0122aSMatthias Ringwald /* NVIC_IPR0[NVIC_IPR0_PRI_2] Bits */ 4810*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_2_OFS (16) /*!< PRI_2 Offset */ 4811*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_2_M ((uint32_t)0x00ff0000) /* */ 4812*5fd0122aSMatthias Ringwald /* NVIC_IPR0[NVIC_IPR0_PRI_3] Bits */ 4813*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_3_OFS (24) /*!< PRI_3 Offset */ 4814*5fd0122aSMatthias Ringwald #define NVIC_IPR0_PRI_3_M ((uint32_t)0xff000000) /* */ 4815*5fd0122aSMatthias Ringwald /* NVIC_IPR1[NVIC_IPR1_PRI_4] Bits */ 4816*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_4_OFS ( 0) /*!< PRI_4 Offset */ 4817*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_4_M ((uint32_t)0x000000ff) /* */ 4818*5fd0122aSMatthias Ringwald /* NVIC_IPR1[NVIC_IPR1_PRI_5] Bits */ 4819*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_5_OFS ( 8) /*!< PRI_5 Offset */ 4820*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_5_M ((uint32_t)0x0000ff00) /* */ 4821*5fd0122aSMatthias Ringwald /* NVIC_IPR1[NVIC_IPR1_PRI_6] Bits */ 4822*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_6_OFS (16) /*!< PRI_6 Offset */ 4823*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_6_M ((uint32_t)0x00ff0000) /* */ 4824*5fd0122aSMatthias Ringwald /* NVIC_IPR1[NVIC_IPR1_PRI_7] Bits */ 4825*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_7_OFS (24) /*!< PRI_7 Offset */ 4826*5fd0122aSMatthias Ringwald #define NVIC_IPR1_PRI_7_M ((uint32_t)0xff000000) /* */ 4827*5fd0122aSMatthias Ringwald /* NVIC_IPR2[NVIC_IPR2_PRI_8] Bits */ 4828*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_8_OFS ( 0) /*!< PRI_8 Offset */ 4829*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_8_M ((uint32_t)0x000000ff) /* */ 4830*5fd0122aSMatthias Ringwald /* NVIC_IPR2[NVIC_IPR2_PRI_9] Bits */ 4831*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_9_OFS ( 8) /*!< PRI_9 Offset */ 4832*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_9_M ((uint32_t)0x0000ff00) /* */ 4833*5fd0122aSMatthias Ringwald /* NVIC_IPR2[NVIC_IPR2_PRI_10] Bits */ 4834*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_10_OFS (16) /*!< PRI_10 Offset */ 4835*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_10_M ((uint32_t)0x00ff0000) /* */ 4836*5fd0122aSMatthias Ringwald /* NVIC_IPR2[NVIC_IPR2_PRI_11] Bits */ 4837*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_11_OFS (24) /*!< PRI_11 Offset */ 4838*5fd0122aSMatthias Ringwald #define NVIC_IPR2_PRI_11_M ((uint32_t)0xff000000) /* */ 4839*5fd0122aSMatthias Ringwald /* NVIC_IPR3[NVIC_IPR3_PRI_12] Bits */ 4840*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_12_OFS ( 0) /*!< PRI_12 Offset */ 4841*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_12_M ((uint32_t)0x000000ff) /* */ 4842*5fd0122aSMatthias Ringwald /* NVIC_IPR3[NVIC_IPR3_PRI_13] Bits */ 4843*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_13_OFS ( 8) /*!< PRI_13 Offset */ 4844*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_13_M ((uint32_t)0x0000ff00) /* */ 4845*5fd0122aSMatthias Ringwald /* NVIC_IPR3[NVIC_IPR3_PRI_14] Bits */ 4846*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_14_OFS (16) /*!< PRI_14 Offset */ 4847*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_14_M ((uint32_t)0x00ff0000) /* */ 4848*5fd0122aSMatthias Ringwald /* NVIC_IPR3[NVIC_IPR3_PRI_15] Bits */ 4849*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_15_OFS (24) /*!< PRI_15 Offset */ 4850*5fd0122aSMatthias Ringwald #define NVIC_IPR3_PRI_15_M ((uint32_t)0xff000000) /* */ 4851*5fd0122aSMatthias Ringwald /* NVIC_IPR4[NVIC_IPR4_PRI_16] Bits */ 4852*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_16_OFS ( 0) /*!< PRI_16 Offset */ 4853*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_16_M ((uint32_t)0x000000ff) /* */ 4854*5fd0122aSMatthias Ringwald /* NVIC_IPR4[NVIC_IPR4_PRI_17] Bits */ 4855*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_17_OFS ( 8) /*!< PRI_17 Offset */ 4856*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_17_M ((uint32_t)0x0000ff00) /* */ 4857*5fd0122aSMatthias Ringwald /* NVIC_IPR4[NVIC_IPR4_PRI_18] Bits */ 4858*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_18_OFS (16) /*!< PRI_18 Offset */ 4859*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_18_M ((uint32_t)0x00ff0000) /* */ 4860*5fd0122aSMatthias Ringwald /* NVIC_IPR4[NVIC_IPR4_PRI_19] Bits */ 4861*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_19_OFS (24) /*!< PRI_19 Offset */ 4862*5fd0122aSMatthias Ringwald #define NVIC_IPR4_PRI_19_M ((uint32_t)0xff000000) /* */ 4863*5fd0122aSMatthias Ringwald /* NVIC_IPR5[NVIC_IPR5_PRI_20] Bits */ 4864*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_20_OFS ( 0) /*!< PRI_20 Offset */ 4865*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_20_M ((uint32_t)0x000000ff) /* */ 4866*5fd0122aSMatthias Ringwald /* NVIC_IPR5[NVIC_IPR5_PRI_21] Bits */ 4867*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_21_OFS ( 8) /*!< PRI_21 Offset */ 4868*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_21_M ((uint32_t)0x0000ff00) /* */ 4869*5fd0122aSMatthias Ringwald /* NVIC_IPR5[NVIC_IPR5_PRI_22] Bits */ 4870*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_22_OFS (16) /*!< PRI_22 Offset */ 4871*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_22_M ((uint32_t)0x00ff0000) /* */ 4872*5fd0122aSMatthias Ringwald /* NVIC_IPR5[NVIC_IPR5_PRI_23] Bits */ 4873*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_23_OFS (24) /*!< PRI_23 Offset */ 4874*5fd0122aSMatthias Ringwald #define NVIC_IPR5_PRI_23_M ((uint32_t)0xff000000) /* */ 4875*5fd0122aSMatthias Ringwald /* NVIC_IPR6[NVIC_IPR6_PRI_24] Bits */ 4876*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_24_OFS ( 0) /*!< PRI_24 Offset */ 4877*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_24_M ((uint32_t)0x000000ff) /* */ 4878*5fd0122aSMatthias Ringwald /* NVIC_IPR6[NVIC_IPR6_PRI_25] Bits */ 4879*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_25_OFS ( 8) /*!< PRI_25 Offset */ 4880*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_25_M ((uint32_t)0x0000ff00) /* */ 4881*5fd0122aSMatthias Ringwald /* NVIC_IPR6[NVIC_IPR6_PRI_26] Bits */ 4882*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_26_OFS (16) /*!< PRI_26 Offset */ 4883*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_26_M ((uint32_t)0x00ff0000) /* */ 4884*5fd0122aSMatthias Ringwald /* NVIC_IPR6[NVIC_IPR6_PRI_27] Bits */ 4885*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_27_OFS (24) /*!< PRI_27 Offset */ 4886*5fd0122aSMatthias Ringwald #define NVIC_IPR6_PRI_27_M ((uint32_t)0xff000000) /* */ 4887*5fd0122aSMatthias Ringwald /* NVIC_IPR7[NVIC_IPR7_PRI_28] Bits */ 4888*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_28_OFS ( 0) /*!< PRI_28 Offset */ 4889*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_28_M ((uint32_t)0x000000ff) /* */ 4890*5fd0122aSMatthias Ringwald /* NVIC_IPR7[NVIC_IPR7_PRI_29] Bits */ 4891*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_29_OFS ( 8) /*!< PRI_29 Offset */ 4892*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_29_M ((uint32_t)0x0000ff00) /* */ 4893*5fd0122aSMatthias Ringwald /* NVIC_IPR7[NVIC_IPR7_PRI_30] Bits */ 4894*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_30_OFS (16) /*!< PRI_30 Offset */ 4895*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_30_M ((uint32_t)0x00ff0000) /* */ 4896*5fd0122aSMatthias Ringwald /* NVIC_IPR7[NVIC_IPR7_PRI_31] Bits */ 4897*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_31_OFS (24) /*!< PRI_31 Offset */ 4898*5fd0122aSMatthias Ringwald #define NVIC_IPR7_PRI_31_M ((uint32_t)0xff000000) /* */ 4899*5fd0122aSMatthias Ringwald /* NVIC_IPR8[NVIC_IPR8_PRI_32] Bits */ 4900*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_32_OFS ( 0) /*!< PRI_32 Offset */ 4901*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_32_M ((uint32_t)0x000000ff) /* */ 4902*5fd0122aSMatthias Ringwald /* NVIC_IPR8[NVIC_IPR8_PRI_33] Bits */ 4903*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_33_OFS ( 8) /*!< PRI_33 Offset */ 4904*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_33_M ((uint32_t)0x0000ff00) /* */ 4905*5fd0122aSMatthias Ringwald /* NVIC_IPR8[NVIC_IPR8_PRI_34] Bits */ 4906*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_34_OFS (16) /*!< PRI_34 Offset */ 4907*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_34_M ((uint32_t)0x00ff0000) /* */ 4908*5fd0122aSMatthias Ringwald /* NVIC_IPR8[NVIC_IPR8_PRI_35] Bits */ 4909*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_35_OFS (24) /*!< PRI_35 Offset */ 4910*5fd0122aSMatthias Ringwald #define NVIC_IPR8_PRI_35_M ((uint32_t)0xff000000) /* */ 4911*5fd0122aSMatthias Ringwald /* NVIC_IPR9[NVIC_IPR9_PRI_36] Bits */ 4912*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_36_OFS ( 0) /*!< PRI_36 Offset */ 4913*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_36_M ((uint32_t)0x000000ff) /* */ 4914*5fd0122aSMatthias Ringwald /* NVIC_IPR9[NVIC_IPR9_PRI_37] Bits */ 4915*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_37_OFS ( 8) /*!< PRI_37 Offset */ 4916*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_37_M ((uint32_t)0x0000ff00) /* */ 4917*5fd0122aSMatthias Ringwald /* NVIC_IPR9[NVIC_IPR9_PRI_38] Bits */ 4918*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_38_OFS (16) /*!< PRI_38 Offset */ 4919*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_38_M ((uint32_t)0x00ff0000) /* */ 4920*5fd0122aSMatthias Ringwald /* NVIC_IPR9[NVIC_IPR9_PRI_39] Bits */ 4921*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_39_OFS (24) /*!< PRI_39 Offset */ 4922*5fd0122aSMatthias Ringwald #define NVIC_IPR9_PRI_39_M ((uint32_t)0xff000000) /* */ 4923*5fd0122aSMatthias Ringwald /* NVIC_IPR10[NVIC_IPR10_PRI_40] Bits */ 4924*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_40_OFS ( 0) /*!< PRI_40 Offset */ 4925*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_40_M ((uint32_t)0x000000ff) /* */ 4926*5fd0122aSMatthias Ringwald /* NVIC_IPR10[NVIC_IPR10_PRI_41] Bits */ 4927*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_41_OFS ( 8) /*!< PRI_41 Offset */ 4928*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_41_M ((uint32_t)0x0000ff00) /* */ 4929*5fd0122aSMatthias Ringwald /* NVIC_IPR10[NVIC_IPR10_PRI_42] Bits */ 4930*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_42_OFS (16) /*!< PRI_42 Offset */ 4931*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_42_M ((uint32_t)0x00ff0000) /* */ 4932*5fd0122aSMatthias Ringwald /* NVIC_IPR10[NVIC_IPR10_PRI_43] Bits */ 4933*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_43_OFS (24) /*!< PRI_43 Offset */ 4934*5fd0122aSMatthias Ringwald #define NVIC_IPR10_PRI_43_M ((uint32_t)0xff000000) /* */ 4935*5fd0122aSMatthias Ringwald /* NVIC_IPR11[NVIC_IPR11_PRI_44] Bits */ 4936*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_44_OFS ( 0) /*!< PRI_44 Offset */ 4937*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_44_M ((uint32_t)0x000000ff) /* */ 4938*5fd0122aSMatthias Ringwald /* NVIC_IPR11[NVIC_IPR11_PRI_45] Bits */ 4939*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_45_OFS ( 8) /*!< PRI_45 Offset */ 4940*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_45_M ((uint32_t)0x0000ff00) /* */ 4941*5fd0122aSMatthias Ringwald /* NVIC_IPR11[NVIC_IPR11_PRI_46] Bits */ 4942*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_46_OFS (16) /*!< PRI_46 Offset */ 4943*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_46_M ((uint32_t)0x00ff0000) /* */ 4944*5fd0122aSMatthias Ringwald /* NVIC_IPR11[NVIC_IPR11_PRI_47] Bits */ 4945*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_47_OFS (24) /*!< PRI_47 Offset */ 4946*5fd0122aSMatthias Ringwald #define NVIC_IPR11_PRI_47_M ((uint32_t)0xff000000) /* */ 4947*5fd0122aSMatthias Ringwald /* NVIC_IPR12[NVIC_IPR12_PRI_48] Bits */ 4948*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_48_OFS ( 0) /*!< PRI_48 Offset */ 4949*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_48_M ((uint32_t)0x000000ff) /* */ 4950*5fd0122aSMatthias Ringwald /* NVIC_IPR12[NVIC_IPR12_PRI_49] Bits */ 4951*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_49_OFS ( 8) /*!< PRI_49 Offset */ 4952*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_49_M ((uint32_t)0x0000ff00) /* */ 4953*5fd0122aSMatthias Ringwald /* NVIC_IPR12[NVIC_IPR12_PRI_50] Bits */ 4954*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_50_OFS (16) /*!< PRI_50 Offset */ 4955*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_50_M ((uint32_t)0x00ff0000) /* */ 4956*5fd0122aSMatthias Ringwald /* NVIC_IPR12[NVIC_IPR12_PRI_51] Bits */ 4957*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_51_OFS (24) /*!< PRI_51 Offset */ 4958*5fd0122aSMatthias Ringwald #define NVIC_IPR12_PRI_51_M ((uint32_t)0xff000000) /* */ 4959*5fd0122aSMatthias Ringwald /* NVIC_IPR13[NVIC_IPR13_PRI_52] Bits */ 4960*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_52_OFS ( 0) /*!< PRI_52 Offset */ 4961*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_52_M ((uint32_t)0x000000ff) /* */ 4962*5fd0122aSMatthias Ringwald /* NVIC_IPR13[NVIC_IPR13_PRI_53] Bits */ 4963*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_53_OFS ( 8) /*!< PRI_53 Offset */ 4964*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_53_M ((uint32_t)0x0000ff00) /* */ 4965*5fd0122aSMatthias Ringwald /* NVIC_IPR13[NVIC_IPR13_PRI_54] Bits */ 4966*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_54_OFS (16) /*!< PRI_54 Offset */ 4967*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_54_M ((uint32_t)0x00ff0000) /* */ 4968*5fd0122aSMatthias Ringwald /* NVIC_IPR13[NVIC_IPR13_PRI_55] Bits */ 4969*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_55_OFS (24) /*!< PRI_55 Offset */ 4970*5fd0122aSMatthias Ringwald #define NVIC_IPR13_PRI_55_M ((uint32_t)0xff000000) /* */ 4971*5fd0122aSMatthias Ringwald /* NVIC_IPR14[NVIC_IPR14_PRI_56] Bits */ 4972*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_56_OFS ( 0) /*!< PRI_56 Offset */ 4973*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_56_M ((uint32_t)0x000000ff) /* */ 4974*5fd0122aSMatthias Ringwald /* NVIC_IPR14[NVIC_IPR14_PRI_57] Bits */ 4975*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_57_OFS ( 8) /*!< PRI_57 Offset */ 4976*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_57_M ((uint32_t)0x0000ff00) /* */ 4977*5fd0122aSMatthias Ringwald /* NVIC_IPR14[NVIC_IPR14_PRI_58] Bits */ 4978*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_58_OFS (16) /*!< PRI_58 Offset */ 4979*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_58_M ((uint32_t)0x00ff0000) /* */ 4980*5fd0122aSMatthias Ringwald /* NVIC_IPR14[NVIC_IPR14_PRI_59] Bits */ 4981*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_59_OFS (24) /*!< PRI_59 Offset */ 4982*5fd0122aSMatthias Ringwald #define NVIC_IPR14_PRI_59_M ((uint32_t)0xff000000) /* */ 4983*5fd0122aSMatthias Ringwald /* NVIC_IPR15[NVIC_IPR15_PRI_60] Bits */ 4984*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_60_OFS ( 0) /*!< PRI_60 Offset */ 4985*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_60_M ((uint32_t)0x000000ff) /* */ 4986*5fd0122aSMatthias Ringwald /* NVIC_IPR15[NVIC_IPR15_PRI_61] Bits */ 4987*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_61_OFS ( 8) /*!< PRI_61 Offset */ 4988*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_61_M ((uint32_t)0x0000ff00) /* */ 4989*5fd0122aSMatthias Ringwald /* NVIC_IPR15[NVIC_IPR15_PRI_62] Bits */ 4990*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_62_OFS (16) /*!< PRI_62 Offset */ 4991*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_62_M ((uint32_t)0x00ff0000) /* */ 4992*5fd0122aSMatthias Ringwald /* NVIC_IPR15[NVIC_IPR15_PRI_63] Bits */ 4993*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_63_OFS (24) /*!< PRI_63 Offset */ 4994*5fd0122aSMatthias Ringwald #define NVIC_IPR15_PRI_63_M ((uint32_t)0xff000000) /* */ 4995*5fd0122aSMatthias Ringwald 4996*5fd0122aSMatthias Ringwald 4997*5fd0122aSMatthias Ringwald /****************************************************************************** 4998*5fd0122aSMatthias Ringwald * PCM Bits 4999*5fd0122aSMatthias Ringwald ******************************************************************************/ 5000*5fd0122aSMatthias Ringwald /* PCM_CTL0[AMR] Bits */ 5001*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_OFS ( 0) /*!< AMR Bit Offset */ 5002*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_MASK ((uint32_t)0x0000000F) /*!< AMR Bit Mask */ 5003*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR0 ((uint32_t)0x00000001) /*!< AMR Bit 0 */ 5004*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR1 ((uint32_t)0x00000002) /*!< AMR Bit 1 */ 5005*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR2 ((uint32_t)0x00000004) /*!< AMR Bit 2 */ 5006*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR3 ((uint32_t)0x00000008) /*!< AMR Bit 3 */ 5007*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_0 ((uint32_t)0x00000000) /*!< LDO based Active Mode at Core voltage setting 0. */ 5008*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_1 ((uint32_t)0x00000001) /*!< LDO based Active Mode at Core voltage setting 1. */ 5009*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_4 ((uint32_t)0x00000004) /*!< DC-DC based Active Mode at Core voltage setting 0. */ 5010*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_5 ((uint32_t)0x00000005) /*!< DC-DC based Active Mode at Core voltage setting 1. */ 5011*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_8 ((uint32_t)0x00000008) /*!< Low-Frequency Active Mode at Core voltage setting 0. */ 5012*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR_9 ((uint32_t)0x00000009) /*!< Low-Frequency Active Mode at Core voltage setting 1. */ 5013*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR__AM_LDO_VCORE0 ((uint32_t)0x00000000) /*!< LDO based Active Mode at Core voltage setting 0. */ 5014*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR__AM_LDO_VCORE1 ((uint32_t)0x00000001) /*!< LDO based Active Mode at Core voltage setting 1. */ 5015*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR__AM_DCDC_VCORE0 ((uint32_t)0x00000004) /*!< DC-DC based Active Mode at Core voltage setting 0. */ 5016*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR__AM_DCDC_VCORE1 ((uint32_t)0x00000005) /*!< DC-DC based Active Mode at Core voltage setting 1. */ 5017*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR__AM_LF_VCORE0 ((uint32_t)0x00000008) /*!< Low-Frequency Active Mode at Core voltage setting 0. */ 5018*5fd0122aSMatthias Ringwald #define PCM_CTL0_AMR__AM_LF_VCORE1 ((uint32_t)0x00000009) /*!< Low-Frequency Active Mode at Core voltage setting 1. */ 5019*5fd0122aSMatthias Ringwald /* PCM_CTL0[LPMR] Bits */ 5020*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR_OFS ( 4) /*!< LPMR Bit Offset */ 5021*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR_MASK ((uint32_t)0x000000F0) /*!< LPMR Bit Mask */ 5022*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR0 ((uint32_t)0x00000010) /*!< LPMR Bit 0 */ 5023*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR1 ((uint32_t)0x00000020) /*!< LPMR Bit 1 */ 5024*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR2 ((uint32_t)0x00000040) /*!< LPMR Bit 2 */ 5025*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR3 ((uint32_t)0x00000080) /*!< LPMR Bit 3 */ 5026*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR_0 ((uint32_t)0x00000000) /*!< LPM3. Core voltage setting is similar to the mode from which LPM3 is */ 5027*5fd0122aSMatthias Ringwald /* entered. */ 5028*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR_10 ((uint32_t)0x000000A0) /*!< LPM3.5. Core voltage setting 0. */ 5029*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR_12 ((uint32_t)0x000000C0) /*!< LPM4.5 */ 5030*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR__LPM3 ((uint32_t)0x00000000) /*!< LPM3. Core voltage setting is similar to the mode from which LPM3 is */ 5031*5fd0122aSMatthias Ringwald /* entered. */ 5032*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR__LPM35 ((uint32_t)0x000000A0) /*!< LPM3.5. Core voltage setting 0. */ 5033*5fd0122aSMatthias Ringwald #define PCM_CTL0_LPMR__LPM45 ((uint32_t)0x000000C0) /*!< LPM4.5 */ 5034*5fd0122aSMatthias Ringwald /* PCM_CTL0[CPM] Bits */ 5035*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_OFS ( 8) /*!< CPM Bit Offset */ 5036*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_MASK ((uint32_t)0x00003F00) /*!< CPM Bit Mask */ 5037*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM0 ((uint32_t)0x00000100) /*!< CPM Bit 0 */ 5038*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM1 ((uint32_t)0x00000200) /*!< CPM Bit 1 */ 5039*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM2 ((uint32_t)0x00000400) /*!< CPM Bit 2 */ 5040*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM3 ((uint32_t)0x00000800) /*!< CPM Bit 3 */ 5041*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM4 ((uint32_t)0x00001000) /*!< CPM Bit 4 */ 5042*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM5 ((uint32_t)0x00002000) /*!< CPM Bit 5 */ 5043*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_0 ((uint32_t)0x00000000) /*!< LDO based Active Mode at Core voltage setting 0. */ 5044*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_1 ((uint32_t)0x00000100) /*!< LDO based Active Mode at Core voltage setting 1. */ 5045*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_4 ((uint32_t)0x00000400) /*!< DC-DC based Active Mode at Core voltage setting 0. */ 5046*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_5 ((uint32_t)0x00000500) /*!< DC-DC based Active Mode at Core voltage setting 1. */ 5047*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_8 ((uint32_t)0x00000800) /*!< Low-Frequency Active Mode at Core voltage setting 0. */ 5048*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_9 ((uint32_t)0x00000900) /*!< Low-Frequency Active Mode at Core voltage setting 1. */ 5049*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_16 ((uint32_t)0x00001000) /*!< LDO based LPM0 at Core voltage setting 0. */ 5050*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_17 ((uint32_t)0x00001100) /*!< LDO based LPM0 at Core voltage setting 1. */ 5051*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_20 ((uint32_t)0x00001400) /*!< DC-DC based LPM0 at Core voltage setting 0. */ 5052*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_21 ((uint32_t)0x00001500) /*!< DC-DC based LPM0 at Core voltage setting 1. */ 5053*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_24 ((uint32_t)0x00001800) /*!< Low-Frequency LPM0 at Core voltage setting 0. */ 5054*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_25 ((uint32_t)0x00001900) /*!< Low-Frequency LPM0 at Core voltage setting 1. */ 5055*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM_32 ((uint32_t)0x00002000) /*!< LPM3 */ 5056*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__AM_LDO_VCORE0 ((uint32_t)0x00000000) /*!< LDO based Active Mode at Core voltage setting 0. */ 5057*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__AM_LDO_VCORE1 ((uint32_t)0x00000100) /*!< LDO based Active Mode at Core voltage setting 1. */ 5058*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__AM_DCDC_VCORE0 ((uint32_t)0x00000400) /*!< DC-DC based Active Mode at Core voltage setting 0. */ 5059*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__AM_DCDC_VCORE1 ((uint32_t)0x00000500) /*!< DC-DC based Active Mode at Core voltage setting 1. */ 5060*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__AM_LF_VCORE0 ((uint32_t)0x00000800) /*!< Low-Frequency Active Mode at Core voltage setting 0. */ 5061*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__AM_LF_VCORE1 ((uint32_t)0x00000900) /*!< Low-Frequency Active Mode at Core voltage setting 1. */ 5062*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__LPM0_LDO_VCORE0 ((uint32_t)0x00001000) /*!< LDO based LPM0 at Core voltage setting 0. */ 5063*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__LPM0_LDO_VCORE1 ((uint32_t)0x00001100) /*!< LDO based LPM0 at Core voltage setting 1. */ 5064*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__LPM0_DCDC_VCORE0 ((uint32_t)0x00001400) /*!< DC-DC based LPM0 at Core voltage setting 0. */ 5065*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__LPM0_DCDC_VCORE1 ((uint32_t)0x00001500) /*!< DC-DC based LPM0 at Core voltage setting 1. */ 5066*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__LPM0_LF_VCORE0 ((uint32_t)0x00001800) /*!< Low-Frequency LPM0 at Core voltage setting 0. */ 5067*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__LPM0_LF_VCORE1 ((uint32_t)0x00001900) /*!< Low-Frequency LPM0 at Core voltage setting 1. */ 5068*5fd0122aSMatthias Ringwald #define PCM_CTL0_CPM__LPM3 ((uint32_t)0x00002000) /*!< LPM3 */ 5069*5fd0122aSMatthias Ringwald /* PCM_CTL0[KEY] Bits */ 5070*5fd0122aSMatthias Ringwald #define PCM_CTL0_KEY_OFS (16) /*!< PCMKEY Bit Offset */ 5071*5fd0122aSMatthias Ringwald #define PCM_CTL0_KEY_MASK ((uint32_t)0xFFFF0000) /*!< PCMKEY Bit Mask */ 5072*5fd0122aSMatthias Ringwald /* PCM_CTL1[LOCKLPM5] Bits */ 5073*5fd0122aSMatthias Ringwald #define PCM_CTL1_LOCKLPM5_OFS ( 0) /*!< LOCKLPM5 Bit Offset */ 5074*5fd0122aSMatthias Ringwald #define PCM_CTL1_LOCKLPM5 ((uint32_t)0x00000001) /*!< Lock LPM5 */ 5075*5fd0122aSMatthias Ringwald /* PCM_CTL1[LOCKBKUP] Bits */ 5076*5fd0122aSMatthias Ringwald #define PCM_CTL1_LOCKBKUP_OFS ( 1) /*!< LOCKBKUP Bit Offset */ 5077*5fd0122aSMatthias Ringwald #define PCM_CTL1_LOCKBKUP ((uint32_t)0x00000002) /*!< Lock Backup */ 5078*5fd0122aSMatthias Ringwald /* PCM_CTL1[FORCE_LPM_ENTRY] Bits */ 5079*5fd0122aSMatthias Ringwald #define PCM_CTL1_FORCE_LPM_ENTRY_OFS ( 2) /*!< FORCE_LPM_ENTRY Bit Offset */ 5080*5fd0122aSMatthias Ringwald #define PCM_CTL1_FORCE_LPM_ENTRY ((uint32_t)0x00000004) /*!< Force LPM entry */ 5081*5fd0122aSMatthias Ringwald /* PCM_CTL1[PMR_BUSY] Bits */ 5082*5fd0122aSMatthias Ringwald #define PCM_CTL1_PMR_BUSY_OFS ( 8) /*!< PMR_BUSY Bit Offset */ 5083*5fd0122aSMatthias Ringwald #define PCM_CTL1_PMR_BUSY ((uint32_t)0x00000100) /*!< Power mode request busy flag */ 5084*5fd0122aSMatthias Ringwald /* PCM_CTL1[KEY] Bits */ 5085*5fd0122aSMatthias Ringwald #define PCM_CTL1_KEY_OFS (16) /*!< PCMKEY Bit Offset */ 5086*5fd0122aSMatthias Ringwald #define PCM_CTL1_KEY_MASK ((uint32_t)0xFFFF0000) /*!< PCMKEY Bit Mask */ 5087*5fd0122aSMatthias Ringwald /* PCM_IE[LPM_INVALID_TR_IE] Bits */ 5088*5fd0122aSMatthias Ringwald #define PCM_IE_LPM_INVALID_TR_IE_OFS ( 0) /*!< LPM_INVALID_TR_IE Bit Offset */ 5089*5fd0122aSMatthias Ringwald #define PCM_IE_LPM_INVALID_TR_IE ((uint32_t)0x00000001) /*!< LPM invalid transition interrupt enable */ 5090*5fd0122aSMatthias Ringwald /* PCM_IE[LPM_INVALID_CLK_IE] Bits */ 5091*5fd0122aSMatthias Ringwald #define PCM_IE_LPM_INVALID_CLK_IE_OFS ( 1) /*!< LPM_INVALID_CLK_IE Bit Offset */ 5092*5fd0122aSMatthias Ringwald #define PCM_IE_LPM_INVALID_CLK_IE ((uint32_t)0x00000002) /*!< LPM invalid clock interrupt enable */ 5093*5fd0122aSMatthias Ringwald /* PCM_IE[AM_INVALID_TR_IE] Bits */ 5094*5fd0122aSMatthias Ringwald #define PCM_IE_AM_INVALID_TR_IE_OFS ( 2) /*!< AM_INVALID_TR_IE Bit Offset */ 5095*5fd0122aSMatthias Ringwald #define PCM_IE_AM_INVALID_TR_IE ((uint32_t)0x00000004) /*!< Active mode invalid transition interrupt enable */ 5096*5fd0122aSMatthias Ringwald /* PCM_IE[DCDC_ERROR_IE] Bits */ 5097*5fd0122aSMatthias Ringwald #define PCM_IE_DCDC_ERROR_IE_OFS ( 6) /*!< DCDC_ERROR_IE Bit Offset */ 5098*5fd0122aSMatthias Ringwald #define PCM_IE_DCDC_ERROR_IE ((uint32_t)0x00000040) /*!< DC-DC error interrupt enable */ 5099*5fd0122aSMatthias Ringwald /* PCM_IFG[LPM_INVALID_TR_IFG] Bits */ 5100*5fd0122aSMatthias Ringwald #define PCM_IFG_LPM_INVALID_TR_IFG_OFS ( 0) /*!< LPM_INVALID_TR_IFG Bit Offset */ 5101*5fd0122aSMatthias Ringwald #define PCM_IFG_LPM_INVALID_TR_IFG ((uint32_t)0x00000001) /*!< LPM invalid transition flag */ 5102*5fd0122aSMatthias Ringwald /* PCM_IFG[LPM_INVALID_CLK_IFG] Bits */ 5103*5fd0122aSMatthias Ringwald #define PCM_IFG_LPM_INVALID_CLK_IFG_OFS ( 1) /*!< LPM_INVALID_CLK_IFG Bit Offset */ 5104*5fd0122aSMatthias Ringwald #define PCM_IFG_LPM_INVALID_CLK_IFG ((uint32_t)0x00000002) /*!< LPM invalid clock flag */ 5105*5fd0122aSMatthias Ringwald /* PCM_IFG[AM_INVALID_TR_IFG] Bits */ 5106*5fd0122aSMatthias Ringwald #define PCM_IFG_AM_INVALID_TR_IFG_OFS ( 2) /*!< AM_INVALID_TR_IFG Bit Offset */ 5107*5fd0122aSMatthias Ringwald #define PCM_IFG_AM_INVALID_TR_IFG ((uint32_t)0x00000004) /*!< Active mode invalid transition flag */ 5108*5fd0122aSMatthias Ringwald /* PCM_IFG[DCDC_ERROR_IFG] Bits */ 5109*5fd0122aSMatthias Ringwald #define PCM_IFG_DCDC_ERROR_IFG_OFS ( 6) /*!< DCDC_ERROR_IFG Bit Offset */ 5110*5fd0122aSMatthias Ringwald #define PCM_IFG_DCDC_ERROR_IFG ((uint32_t)0x00000040) /*!< DC-DC error flag */ 5111*5fd0122aSMatthias Ringwald /* PCM_CLRIFG[CLR_LPM_INVALID_TR_IFG] Bits */ 5112*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_LPM_INVALID_TR_IFG_OFS ( 0) /*!< CLR_LPM_INVALID_TR_IFG Bit Offset */ 5113*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_LPM_INVALID_TR_IFG ((uint32_t)0x00000001) /*!< Clear LPM invalid transition flag */ 5114*5fd0122aSMatthias Ringwald /* PCM_CLRIFG[CLR_LPM_INVALID_CLK_IFG] Bits */ 5115*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_LPM_INVALID_CLK_IFG_OFS ( 1) /*!< CLR_LPM_INVALID_CLK_IFG Bit Offset */ 5116*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_LPM_INVALID_CLK_IFG ((uint32_t)0x00000002) /*!< Clear LPM invalid clock flag */ 5117*5fd0122aSMatthias Ringwald /* PCM_CLRIFG[CLR_AM_INVALID_TR_IFG] Bits */ 5118*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_AM_INVALID_TR_IFG_OFS ( 2) /*!< CLR_AM_INVALID_TR_IFG Bit Offset */ 5119*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_AM_INVALID_TR_IFG ((uint32_t)0x00000004) /*!< Clear active mode invalid transition flag */ 5120*5fd0122aSMatthias Ringwald /* PCM_CLRIFG[CLR_DCDC_ERROR_IFG] Bits */ 5121*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_DCDC_ERROR_IFG_OFS ( 6) /*!< CLR_DCDC_ERROR_IFG Bit Offset */ 5122*5fd0122aSMatthias Ringwald #define PCM_CLRIFG_CLR_DCDC_ERROR_IFG ((uint32_t)0x00000040) /*!< Clear DC-DC error flag */ 5123*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 5124*5fd0122aSMatthias Ringwald #define PCM_CTL0_KEY_VAL ((uint32_t)0x695A0000) /*!< PCM key value */ 5125*5fd0122aSMatthias Ringwald #define PCM_CTL1_KEY_VAL ((uint32_t)0x695A0000) /*!< PCM key value */ 5126*5fd0122aSMatthias Ringwald 5127*5fd0122aSMatthias Ringwald 5128*5fd0122aSMatthias Ringwald /****************************************************************************** 5129*5fd0122aSMatthias Ringwald * PMAP Bits 5130*5fd0122aSMatthias Ringwald ******************************************************************************/ 5131*5fd0122aSMatthias Ringwald /* PMAP_CTL[LOCKED] Bits */ 5132*5fd0122aSMatthias Ringwald #define PMAP_CTL_LOCKED_OFS ( 0) /*!< PMAPLOCKED Bit Offset */ 5133*5fd0122aSMatthias Ringwald #define PMAP_CTL_LOCKED ((uint16_t)0x0001) /*!< Port mapping lock bit */ 5134*5fd0122aSMatthias Ringwald /* PMAP_CTL[PRECFG] Bits */ 5135*5fd0122aSMatthias Ringwald #define PMAP_CTL_PRECFG_OFS ( 1) /*!< PMAPRECFG Bit Offset */ 5136*5fd0122aSMatthias Ringwald #define PMAP_CTL_PRECFG ((uint16_t)0x0002) /*!< Port mapping reconfiguration control bit */ 5137*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 5138*5fd0122aSMatthias Ringwald #define PMAP_NONE 0 5139*5fd0122aSMatthias Ringwald #define PMAP_UCA0CLK 1 5140*5fd0122aSMatthias Ringwald #define PMAP_UCA0RXD 2 5141*5fd0122aSMatthias Ringwald #define PMAP_UCA0SOMI 2 5142*5fd0122aSMatthias Ringwald #define PMAP_UCA0TXD 3 5143*5fd0122aSMatthias Ringwald #define PMAP_UCA0SIMO 3 5144*5fd0122aSMatthias Ringwald #define PMAP_UCB0CLK 4 5145*5fd0122aSMatthias Ringwald #define PMAP_UCB0SDA 5 5146*5fd0122aSMatthias Ringwald #define PMAP_UCB0SIMO 5 5147*5fd0122aSMatthias Ringwald #define PMAP_UCB0SCL 6 5148*5fd0122aSMatthias Ringwald #define PMAP_UCB0SOMI 6 5149*5fd0122aSMatthias Ringwald #define PMAP_UCA1STE 7 5150*5fd0122aSMatthias Ringwald #define PMAP_UCA1CLK 8 5151*5fd0122aSMatthias Ringwald #define PMAP_UCA1RXD 9 5152*5fd0122aSMatthias Ringwald #define PMAP_UCA1SOMI 9 5153*5fd0122aSMatthias Ringwald #define PMAP_UCA1TXD 10 5154*5fd0122aSMatthias Ringwald #define PMAP_UCA1SIMO 10 5155*5fd0122aSMatthias Ringwald #define PMAP_UCA2STE 11 5156*5fd0122aSMatthias Ringwald #define PMAP_UCA2CLK 12 5157*5fd0122aSMatthias Ringwald #define PMAP_UCA2RXD 13 5158*5fd0122aSMatthias Ringwald #define PMAP_UCA2SOMI 13 5159*5fd0122aSMatthias Ringwald #define PMAP_UCA2TXD 14 5160*5fd0122aSMatthias Ringwald #define PMAP_UCA2SIMO 14 5161*5fd0122aSMatthias Ringwald #define PMAP_UCB2STE 15 5162*5fd0122aSMatthias Ringwald #define PMAP_UCB2CLK 16 5163*5fd0122aSMatthias Ringwald #define PMAP_UCB2SDA 17 5164*5fd0122aSMatthias Ringwald #define PMAP_UCB2SIMO 17 5165*5fd0122aSMatthias Ringwald #define PMAP_UCB2SCL 18 5166*5fd0122aSMatthias Ringwald #define PMAP_UCB2SOMI 18 5167*5fd0122aSMatthias Ringwald #define PMAP_TA0CCR0A 19 5168*5fd0122aSMatthias Ringwald #define PMAP_TA0CCR1A 20 5169*5fd0122aSMatthias Ringwald #define PMAP_TA0CCR2A 21 5170*5fd0122aSMatthias Ringwald #define PMAP_TA0CCR3A 22 5171*5fd0122aSMatthias Ringwald #define PMAP_TA0CCR4A 23 5172*5fd0122aSMatthias Ringwald #define PMAP_TA1CCR1A 24 5173*5fd0122aSMatthias Ringwald #define PMAP_TA1CCR2A 25 5174*5fd0122aSMatthias Ringwald #define PMAP_TA1CCR3A 26 5175*5fd0122aSMatthias Ringwald #define PMAP_TA1CCR4A 27 5176*5fd0122aSMatthias Ringwald #define PMAP_TA0CLK 28 5177*5fd0122aSMatthias Ringwald #define PMAP_CE0OUT 28 5178*5fd0122aSMatthias Ringwald #define PMAP_TA1CLK 29 5179*5fd0122aSMatthias Ringwald #define PMAP_CE1OUT 29 5180*5fd0122aSMatthias Ringwald #define PMAP_DMAE0 30 5181*5fd0122aSMatthias Ringwald #define PMAP_SMCLK 30 5182*5fd0122aSMatthias Ringwald #define PMAP_ANALOG 31 5183*5fd0122aSMatthias Ringwald 5184*5fd0122aSMatthias Ringwald #define PMAP_KEYID_VAL ((uint16_t)0x2D52) /*!< Port Mapping Key */ 5185*5fd0122aSMatthias Ringwald 5186*5fd0122aSMatthias Ringwald 5187*5fd0122aSMatthias Ringwald /****************************************************************************** 5188*5fd0122aSMatthias Ringwald * PSS Bits 5189*5fd0122aSMatthias Ringwald ******************************************************************************/ 5190*5fd0122aSMatthias Ringwald /* PSS_KEY[KEY] Bits */ 5191*5fd0122aSMatthias Ringwald #define PSS_KEY_KEY_OFS ( 0) /*!< PSSKEY Bit Offset */ 5192*5fd0122aSMatthias Ringwald #define PSS_KEY_KEY_MASK ((uint32_t)0x0000FFFF) /*!< PSSKEY Bit Mask */ 5193*5fd0122aSMatthias Ringwald /* PSS_CTL0[SVSMHOFF] Bits */ 5194*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHOFF_OFS ( 0) /*!< SVSMHOFF Bit Offset */ 5195*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHOFF ((uint32_t)0x00000001) /*!< SVSM high-side off */ 5196*5fd0122aSMatthias Ringwald /* PSS_CTL0[SVSMHLP] Bits */ 5197*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHLP_OFS ( 1) /*!< SVSMHLP Bit Offset */ 5198*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHLP ((uint32_t)0x00000002) /*!< SVSM high-side low power normal performance mode */ 5199*5fd0122aSMatthias Ringwald /* PSS_CTL0[SVSMHS] Bits */ 5200*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHS_OFS ( 2) /*!< SVSMHS Bit Offset */ 5201*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHS ((uint32_t)0x00000004) /*!< Supply supervisor or monitor selection for the high-side */ 5202*5fd0122aSMatthias Ringwald /* PSS_CTL0[SVSMHTH] Bits */ 5203*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHTH_OFS ( 3) /*!< SVSMHTH Bit Offset */ 5204*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVSMHTH_MASK ((uint32_t)0x00000038) /*!< SVSMHTH Bit Mask */ 5205*5fd0122aSMatthias Ringwald /* PSS_CTL0[SVMHOE] Bits */ 5206*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVMHOE_OFS ( 6) /*!< SVMHOE Bit Offset */ 5207*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVMHOE ((uint32_t)0x00000040) /*!< SVSM high-side output enable */ 5208*5fd0122aSMatthias Ringwald /* PSS_CTL0[SVMHOUTPOLAL] Bits */ 5209*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVMHOUTPOLAL_OFS ( 7) /*!< SVMHOUTPOLAL Bit Offset */ 5210*5fd0122aSMatthias Ringwald #define PSS_CTL0_SVMHOUTPOLAL ((uint32_t)0x00000080) /*!< SVMHOUT pin polarity active low */ 5211*5fd0122aSMatthias Ringwald /* PSS_CTL0[DCDC_FORCE] Bits */ 5212*5fd0122aSMatthias Ringwald #define PSS_CTL0_DCDC_FORCE_OFS (10) /*!< DCDC_FORCE Bit Offset */ 5213*5fd0122aSMatthias Ringwald #define PSS_CTL0_DCDC_FORCE ((uint32_t)0x00000400) /*!< Force DC-DC regulator operation */ 5214*5fd0122aSMatthias Ringwald /* PSS_CTL0[VCORETRAN] Bits */ 5215*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN_OFS (12) /*!< VCORETRAN Bit Offset */ 5216*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN_MASK ((uint32_t)0x00003000) /*!< VCORETRAN Bit Mask */ 5217*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN0 ((uint32_t)0x00001000) /*!< VCORETRAN Bit 0 */ 5218*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN1 ((uint32_t)0x00002000) /*!< VCORETRAN Bit 1 */ 5219*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN_0 ((uint32_t)0x00000000) /*!< 32 s / 100 mV */ 5220*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN_1 ((uint32_t)0x00001000) /*!< 64 s / 100 mV */ 5221*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN_2 ((uint32_t)0x00002000) /*!< 128 s / 100 mV (default) */ 5222*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN_3 ((uint32_t)0x00003000) /*!< 256 s / 100 mV */ 5223*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN__32 ((uint32_t)0x00000000) /*!< 32 s / 100 mV */ 5224*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN__64 ((uint32_t)0x00001000) /*!< 64 s / 100 mV */ 5225*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN__128 ((uint32_t)0x00002000) /*!< 128 s / 100 mV (default) */ 5226*5fd0122aSMatthias Ringwald #define PSS_CTL0_VCORETRAN__256 ((uint32_t)0x00003000) /*!< 256 s / 100 mV */ 5227*5fd0122aSMatthias Ringwald /* PSS_IE[SVSMHIE] Bits */ 5228*5fd0122aSMatthias Ringwald #define PSS_IE_SVSMHIE_OFS ( 1) /*!< SVSMHIE Bit Offset */ 5229*5fd0122aSMatthias Ringwald #define PSS_IE_SVSMHIE ((uint32_t)0x00000002) /*!< High-side SVSM interrupt enable */ 5230*5fd0122aSMatthias Ringwald /* PSS_IFG[SVSMHIFG] Bits */ 5231*5fd0122aSMatthias Ringwald #define PSS_IFG_SVSMHIFG_OFS ( 1) /*!< SVSMHIFG Bit Offset */ 5232*5fd0122aSMatthias Ringwald #define PSS_IFG_SVSMHIFG ((uint32_t)0x00000002) /*!< High-side SVSM interrupt flag */ 5233*5fd0122aSMatthias Ringwald /* PSS_CLRIFG[CLRSVSMHIFG] Bits */ 5234*5fd0122aSMatthias Ringwald #define PSS_CLRIFG_CLRSVSMHIFG_OFS ( 1) /*!< CLRSVSMHIFG Bit Offset */ 5235*5fd0122aSMatthias Ringwald #define PSS_CLRIFG_CLRSVSMHIFG ((uint32_t)0x00000002) /*!< SVSMH clear interrupt flag */ 5236*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 5237*5fd0122aSMatthias Ringwald #define PSS_KEY_KEY_VAL ((uint32_t)0x0000695A) /*!< PSS control key value */ 5238*5fd0122aSMatthias Ringwald 5239*5fd0122aSMatthias Ringwald 5240*5fd0122aSMatthias Ringwald /****************************************************************************** 5241*5fd0122aSMatthias Ringwald * REF_A Bits 5242*5fd0122aSMatthias Ringwald ******************************************************************************/ 5243*5fd0122aSMatthias Ringwald /* REF_A_CTL0[ON] Bits */ 5244*5fd0122aSMatthias Ringwald #define REF_A_CTL0_ON_OFS ( 0) /*!< REFON Bit Offset */ 5245*5fd0122aSMatthias Ringwald #define REF_A_CTL0_ON ((uint16_t)0x0001) /*!< Reference enable */ 5246*5fd0122aSMatthias Ringwald /* REF_A_CTL0[OUT] Bits */ 5247*5fd0122aSMatthias Ringwald #define REF_A_CTL0_OUT_OFS ( 1) /*!< REFOUT Bit Offset */ 5248*5fd0122aSMatthias Ringwald #define REF_A_CTL0_OUT ((uint16_t)0x0002) /*!< Reference output buffer */ 5249*5fd0122aSMatthias Ringwald /* REF_A_CTL0[TCOFF] Bits */ 5250*5fd0122aSMatthias Ringwald #define REF_A_CTL0_TCOFF_OFS ( 3) /*!< REFTCOFF Bit Offset */ 5251*5fd0122aSMatthias Ringwald #define REF_A_CTL0_TCOFF ((uint16_t)0x0008) /*!< Temperature sensor disabled */ 5252*5fd0122aSMatthias Ringwald /* REF_A_CTL0[VSEL] Bits */ 5253*5fd0122aSMatthias Ringwald #define REF_A_CTL0_VSEL_OFS ( 4) /*!< REFVSEL Bit Offset */ 5254*5fd0122aSMatthias Ringwald #define REF_A_CTL0_VSEL_MASK ((uint16_t)0x0030) /*!< REFVSEL Bit Mask */ 5255*5fd0122aSMatthias Ringwald #define REF_A_CTL0_VSEL0 ((uint16_t)0x0010) /*!< VSEL Bit 0 */ 5256*5fd0122aSMatthias Ringwald #define REF_A_CTL0_VSEL1 ((uint16_t)0x0020) /*!< VSEL Bit 1 */ 5257*5fd0122aSMatthias Ringwald #define REF_A_CTL0_VSEL_0 ((uint16_t)0x0000) /*!< 1.2 V available when reference requested or REFON = 1 */ 5258*5fd0122aSMatthias Ringwald #define REF_A_CTL0_VSEL_1 ((uint16_t)0x0010) /*!< 1.45 V available when reference requested or REFON = 1 */ 5259*5fd0122aSMatthias Ringwald #define REF_A_CTL0_VSEL_3 ((uint16_t)0x0030) /*!< 2.5 V available when reference requested or REFON = 1 */ 5260*5fd0122aSMatthias Ringwald /* REF_A_CTL0[GENOT] Bits */ 5261*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENOT_OFS ( 6) /*!< REFGENOT Bit Offset */ 5262*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENOT ((uint16_t)0x0040) /*!< Reference generator one-time trigger */ 5263*5fd0122aSMatthias Ringwald /* REF_A_CTL0[BGOT] Bits */ 5264*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGOT_OFS ( 7) /*!< REFBGOT Bit Offset */ 5265*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGOT ((uint16_t)0x0080) /*!< Bandgap and bandgap buffer one-time trigger */ 5266*5fd0122aSMatthias Ringwald /* REF_A_CTL0[GENACT] Bits */ 5267*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENACT_OFS ( 8) /*!< REFGENACT Bit Offset */ 5268*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENACT ((uint16_t)0x0100) /*!< Reference generator active */ 5269*5fd0122aSMatthias Ringwald /* REF_A_CTL0[BGACT] Bits */ 5270*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGACT_OFS ( 9) /*!< REFBGACT Bit Offset */ 5271*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGACT ((uint16_t)0x0200) /*!< Reference bandgap active */ 5272*5fd0122aSMatthias Ringwald /* REF_A_CTL0[GENBUSY] Bits */ 5273*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENBUSY_OFS (10) /*!< REFGENBUSY Bit Offset */ 5274*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENBUSY ((uint16_t)0x0400) /*!< Reference generator busy */ 5275*5fd0122aSMatthias Ringwald /* REF_A_CTL0[BGMODE] Bits */ 5276*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGMODE_OFS (11) /*!< BGMODE Bit Offset */ 5277*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGMODE ((uint16_t)0x0800) /*!< Bandgap mode */ 5278*5fd0122aSMatthias Ringwald /* REF_A_CTL0[GENRDY] Bits */ 5279*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENRDY_OFS (12) /*!< REFGENRDY Bit Offset */ 5280*5fd0122aSMatthias Ringwald #define REF_A_CTL0_GENRDY ((uint16_t)0x1000) /*!< Variable reference voltage ready status */ 5281*5fd0122aSMatthias Ringwald /* REF_A_CTL0[BGRDY] Bits */ 5282*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGRDY_OFS (13) /*!< REFBGRDY Bit Offset */ 5283*5fd0122aSMatthias Ringwald #define REF_A_CTL0_BGRDY ((uint16_t)0x2000) /*!< Buffered bandgap voltage ready status */ 5284*5fd0122aSMatthias Ringwald 5285*5fd0122aSMatthias Ringwald /****************************************************************************** 5286*5fd0122aSMatthias Ringwald * RSTCTL Bits 5287*5fd0122aSMatthias Ringwald ******************************************************************************/ 5288*5fd0122aSMatthias Ringwald /* RSTCTL_RESET_REQ[SOFT_REQ] Bits */ 5289*5fd0122aSMatthias Ringwald #define RSTCTL_RESET_REQ_SOFT_REQ_OFS ( 0) /*!< SOFT_REQ Bit Offset */ 5290*5fd0122aSMatthias Ringwald #define RSTCTL_RESET_REQ_SOFT_REQ ((uint32_t)0x00000001) /*!< Soft Reset request */ 5291*5fd0122aSMatthias Ringwald /* RSTCTL_RESET_REQ[HARD_REQ] Bits */ 5292*5fd0122aSMatthias Ringwald #define RSTCTL_RESET_REQ_HARD_REQ_OFS ( 1) /*!< HARD_REQ Bit Offset */ 5293*5fd0122aSMatthias Ringwald #define RSTCTL_RESET_REQ_HARD_REQ ((uint32_t)0x00000002) /*!< Hard Reset request */ 5294*5fd0122aSMatthias Ringwald /* RSTCTL_RESET_REQ[RSTKEY] Bits */ 5295*5fd0122aSMatthias Ringwald #define RSTCTL_RESET_REQ_RSTKEY_OFS ( 8) /*!< RSTKEY Bit Offset */ 5296*5fd0122aSMatthias Ringwald #define RSTCTL_RESET_REQ_RSTKEY_MASK ((uint32_t)0x0000FF00) /*!< RSTKEY Bit Mask */ 5297*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC0] Bits */ 5298*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC0_OFS ( 0) /*!< SRC0 Bit Offset */ 5299*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC0 ((uint32_t)0x00000001) /*!< Indicates that SRC0 was the source of the Hard Reset */ 5300*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC1] Bits */ 5301*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC1_OFS ( 1) /*!< SRC1 Bit Offset */ 5302*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC1 ((uint32_t)0x00000002) /*!< Indicates that SRC1 was the source of the Hard Reset */ 5303*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC2] Bits */ 5304*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC2_OFS ( 2) /*!< SRC2 Bit Offset */ 5305*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC2 ((uint32_t)0x00000004) /*!< Indicates that SRC2 was the source of the Hard Reset */ 5306*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC3] Bits */ 5307*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC3_OFS ( 3) /*!< SRC3 Bit Offset */ 5308*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC3 ((uint32_t)0x00000008) /*!< Indicates that SRC3 was the source of the Hard Reset */ 5309*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC4] Bits */ 5310*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC4_OFS ( 4) /*!< SRC4 Bit Offset */ 5311*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC4 ((uint32_t)0x00000010) /*!< Indicates that SRC4 was the source of the Hard Reset */ 5312*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC5] Bits */ 5313*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC5_OFS ( 5) /*!< SRC5 Bit Offset */ 5314*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC5 ((uint32_t)0x00000020) /*!< Indicates that SRC5 was the source of the Hard Reset */ 5315*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC6] Bits */ 5316*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC6_OFS ( 6) /*!< SRC6 Bit Offset */ 5317*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC6 ((uint32_t)0x00000040) /*!< Indicates that SRC6 was the source of the Hard Reset */ 5318*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC7] Bits */ 5319*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC7_OFS ( 7) /*!< SRC7 Bit Offset */ 5320*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC7 ((uint32_t)0x00000080) /*!< Indicates that SRC7 was the source of the Hard Reset */ 5321*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC8] Bits */ 5322*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC8_OFS ( 8) /*!< SRC8 Bit Offset */ 5323*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC8 ((uint32_t)0x00000100) /*!< Indicates that SRC8 was the source of the Hard Reset */ 5324*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC9] Bits */ 5325*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC9_OFS ( 9) /*!< SRC9 Bit Offset */ 5326*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC9 ((uint32_t)0x00000200) /*!< Indicates that SRC9 was the source of the Hard Reset */ 5327*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC10] Bits */ 5328*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC10_OFS (10) /*!< SRC10 Bit Offset */ 5329*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC10 ((uint32_t)0x00000400) /*!< Indicates that SRC10 was the source of the Hard Reset */ 5330*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC11] Bits */ 5331*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC11_OFS (11) /*!< SRC11 Bit Offset */ 5332*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC11 ((uint32_t)0x00000800) /*!< Indicates that SRC11 was the source of the Hard Reset */ 5333*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC12] Bits */ 5334*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC12_OFS (12) /*!< SRC12 Bit Offset */ 5335*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC12 ((uint32_t)0x00001000) /*!< Indicates that SRC12 was the source of the Hard Reset */ 5336*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC13] Bits */ 5337*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC13_OFS (13) /*!< SRC13 Bit Offset */ 5338*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC13 ((uint32_t)0x00002000) /*!< Indicates that SRC13 was the source of the Hard Reset */ 5339*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC14] Bits */ 5340*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC14_OFS (14) /*!< SRC14 Bit Offset */ 5341*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC14 ((uint32_t)0x00004000) /*!< Indicates that SRC14 was the source of the Hard Reset */ 5342*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_STAT[SRC15] Bits */ 5343*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC15_OFS (15) /*!< SRC15 Bit Offset */ 5344*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_STAT_SRC15 ((uint32_t)0x00008000) /*!< Indicates that SRC15 was the source of the Hard Reset */ 5345*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC0] Bits */ 5346*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC0_OFS ( 0) /*!< SRC0 Bit Offset */ 5347*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC0 ((uint32_t)0x00000001) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5348*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC1] Bits */ 5349*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC1_OFS ( 1) /*!< SRC1 Bit Offset */ 5350*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC1 ((uint32_t)0x00000002) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5351*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC2] Bits */ 5352*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC2_OFS ( 2) /*!< SRC2 Bit Offset */ 5353*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC2 ((uint32_t)0x00000004) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5354*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC3] Bits */ 5355*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC3_OFS ( 3) /*!< SRC3 Bit Offset */ 5356*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC3 ((uint32_t)0x00000008) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5357*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC4] Bits */ 5358*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC4_OFS ( 4) /*!< SRC4 Bit Offset */ 5359*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC4 ((uint32_t)0x00000010) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5360*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC5] Bits */ 5361*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC5_OFS ( 5) /*!< SRC5 Bit Offset */ 5362*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC5 ((uint32_t)0x00000020) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5363*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC6] Bits */ 5364*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC6_OFS ( 6) /*!< SRC6 Bit Offset */ 5365*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC6 ((uint32_t)0x00000040) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5366*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC7] Bits */ 5367*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC7_OFS ( 7) /*!< SRC7 Bit Offset */ 5368*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC7 ((uint32_t)0x00000080) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5369*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC8] Bits */ 5370*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC8_OFS ( 8) /*!< SRC8 Bit Offset */ 5371*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC8 ((uint32_t)0x00000100) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5372*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC9] Bits */ 5373*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC9_OFS ( 9) /*!< SRC9 Bit Offset */ 5374*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC9 ((uint32_t)0x00000200) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5375*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC10] Bits */ 5376*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC10_OFS (10) /*!< SRC10 Bit Offset */ 5377*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC10 ((uint32_t)0x00000400) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5378*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC11] Bits */ 5379*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC11_OFS (11) /*!< SRC11 Bit Offset */ 5380*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC11 ((uint32_t)0x00000800) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5381*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC12] Bits */ 5382*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC12_OFS (12) /*!< SRC12 Bit Offset */ 5383*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC12 ((uint32_t)0x00001000) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5384*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC13] Bits */ 5385*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC13_OFS (13) /*!< SRC13 Bit Offset */ 5386*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC13 ((uint32_t)0x00002000) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5387*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC14] Bits */ 5388*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC14_OFS (14) /*!< SRC14 Bit Offset */ 5389*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC14 ((uint32_t)0x00004000) /*!< Write 1 clears the corresponding bit in the RSTCTL_HARDRESET_STAT */ 5390*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_CLR[SRC15] Bits */ 5391*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC15_OFS (15) /*!< SRC15 Bit Offset */ 5392*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_CLR_SRC15 ((uint32_t)0x00008000) /*!< Write 1 clears the corresponding bit in the RSTCTL_HRDRESETSTAT_REG */ 5393*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC0] Bits */ 5394*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC0_OFS ( 0) /*!< SRC0 Bit Offset */ 5395*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC0 ((uint32_t)0x00000001) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5396*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5397*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC1] Bits */ 5398*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC1_OFS ( 1) /*!< SRC1 Bit Offset */ 5399*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC1 ((uint32_t)0x00000002) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5400*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5401*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC2] Bits */ 5402*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC2_OFS ( 2) /*!< SRC2 Bit Offset */ 5403*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC2 ((uint32_t)0x00000004) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5404*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5405*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC3] Bits */ 5406*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC3_OFS ( 3) /*!< SRC3 Bit Offset */ 5407*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC3 ((uint32_t)0x00000008) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5408*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5409*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC4] Bits */ 5410*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC4_OFS ( 4) /*!< SRC4 Bit Offset */ 5411*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC4 ((uint32_t)0x00000010) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5412*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5413*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC5] Bits */ 5414*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC5_OFS ( 5) /*!< SRC5 Bit Offset */ 5415*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC5 ((uint32_t)0x00000020) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5416*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5417*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC6] Bits */ 5418*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC6_OFS ( 6) /*!< SRC6 Bit Offset */ 5419*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC6 ((uint32_t)0x00000040) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5420*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5421*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC7] Bits */ 5422*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC7_OFS ( 7) /*!< SRC7 Bit Offset */ 5423*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC7 ((uint32_t)0x00000080) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5424*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5425*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC8] Bits */ 5426*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC8_OFS ( 8) /*!< SRC8 Bit Offset */ 5427*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC8 ((uint32_t)0x00000100) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5428*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5429*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC9] Bits */ 5430*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC9_OFS ( 9) /*!< SRC9 Bit Offset */ 5431*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC9 ((uint32_t)0x00000200) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5432*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5433*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC10] Bits */ 5434*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC10_OFS (10) /*!< SRC10 Bit Offset */ 5435*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC10 ((uint32_t)0x00000400) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5436*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5437*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC11] Bits */ 5438*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC11_OFS (11) /*!< SRC11 Bit Offset */ 5439*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC11 ((uint32_t)0x00000800) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5440*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5441*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC12] Bits */ 5442*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC12_OFS (12) /*!< SRC12 Bit Offset */ 5443*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC12 ((uint32_t)0x00001000) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5444*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5445*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC13] Bits */ 5446*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC13_OFS (13) /*!< SRC13 Bit Offset */ 5447*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC13 ((uint32_t)0x00002000) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5448*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5449*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC14] Bits */ 5450*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC14_OFS (14) /*!< SRC14 Bit Offset */ 5451*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC14 ((uint32_t)0x00004000) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5452*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5453*5fd0122aSMatthias Ringwald /* RSTCTL_HARDRESET_SET[SRC15] Bits */ 5454*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC15_OFS (15) /*!< SRC15 Bit Offset */ 5455*5fd0122aSMatthias Ringwald #define RSTCTL_HARDRESET_SET_SRC15 ((uint32_t)0x00008000) /*!< Write 1 sets the corresponding bit in the RSTCTL_HARDRESET_STAT (and */ 5456*5fd0122aSMatthias Ringwald /* initiates a Hard Reset) */ 5457*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC0] Bits */ 5458*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC0_OFS ( 0) /*!< SRC0 Bit Offset */ 5459*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC0 ((uint32_t)0x00000001) /*!< If 1, indicates that SRC0 was the source of the Soft Reset */ 5460*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC1] Bits */ 5461*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC1_OFS ( 1) /*!< SRC1 Bit Offset */ 5462*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC1 ((uint32_t)0x00000002) /*!< If 1, indicates that SRC1 was the source of the Soft Reset */ 5463*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC2] Bits */ 5464*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC2_OFS ( 2) /*!< SRC2 Bit Offset */ 5465*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC2 ((uint32_t)0x00000004) /*!< If 1, indicates that SRC2 was the source of the Soft Reset */ 5466*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC3] Bits */ 5467*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC3_OFS ( 3) /*!< SRC3 Bit Offset */ 5468*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC3 ((uint32_t)0x00000008) /*!< If 1, indicates that SRC3 was the source of the Soft Reset */ 5469*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC4] Bits */ 5470*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC4_OFS ( 4) /*!< SRC4 Bit Offset */ 5471*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC4 ((uint32_t)0x00000010) /*!< If 1, indicates that SRC4 was the source of the Soft Reset */ 5472*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC5] Bits */ 5473*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC5_OFS ( 5) /*!< SRC5 Bit Offset */ 5474*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC5 ((uint32_t)0x00000020) /*!< If 1, indicates that SRC5 was the source of the Soft Reset */ 5475*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC6] Bits */ 5476*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC6_OFS ( 6) /*!< SRC6 Bit Offset */ 5477*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC6 ((uint32_t)0x00000040) /*!< If 1, indicates that SRC6 was the source of the Soft Reset */ 5478*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC7] Bits */ 5479*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC7_OFS ( 7) /*!< SRC7 Bit Offset */ 5480*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC7 ((uint32_t)0x00000080) /*!< If 1, indicates that SRC7 was the source of the Soft Reset */ 5481*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC8] Bits */ 5482*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC8_OFS ( 8) /*!< SRC8 Bit Offset */ 5483*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC8 ((uint32_t)0x00000100) /*!< If 1, indicates that SRC8 was the source of the Soft Reset */ 5484*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC9] Bits */ 5485*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC9_OFS ( 9) /*!< SRC9 Bit Offset */ 5486*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC9 ((uint32_t)0x00000200) /*!< If 1, indicates that SRC9 was the source of the Soft Reset */ 5487*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC10] Bits */ 5488*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC10_OFS (10) /*!< SRC10 Bit Offset */ 5489*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC10 ((uint32_t)0x00000400) /*!< If 1, indicates that SRC10 was the source of the Soft Reset */ 5490*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC11] Bits */ 5491*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC11_OFS (11) /*!< SRC11 Bit Offset */ 5492*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC11 ((uint32_t)0x00000800) /*!< If 1, indicates that SRC11 was the source of the Soft Reset */ 5493*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC12] Bits */ 5494*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC12_OFS (12) /*!< SRC12 Bit Offset */ 5495*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC12 ((uint32_t)0x00001000) /*!< If 1, indicates that SRC12 was the source of the Soft Reset */ 5496*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC13] Bits */ 5497*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC13_OFS (13) /*!< SRC13 Bit Offset */ 5498*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC13 ((uint32_t)0x00002000) /*!< If 1, indicates that SRC13 was the source of the Soft Reset */ 5499*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC14] Bits */ 5500*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC14_OFS (14) /*!< SRC14 Bit Offset */ 5501*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC14 ((uint32_t)0x00004000) /*!< If 1, indicates that SRC14 was the source of the Soft Reset */ 5502*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_STAT[SRC15] Bits */ 5503*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC15_OFS (15) /*!< SRC15 Bit Offset */ 5504*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_STAT_SRC15 ((uint32_t)0x00008000) /*!< If 1, indicates that SRC15 was the source of the Soft Reset */ 5505*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC0] Bits */ 5506*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC0_OFS ( 0) /*!< SRC0 Bit Offset */ 5507*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC0 ((uint32_t)0x00000001) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5508*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC1] Bits */ 5509*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC1_OFS ( 1) /*!< SRC1 Bit Offset */ 5510*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC1 ((uint32_t)0x00000002) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5511*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC2] Bits */ 5512*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC2_OFS ( 2) /*!< SRC2 Bit Offset */ 5513*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC2 ((uint32_t)0x00000004) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5514*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC3] Bits */ 5515*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC3_OFS ( 3) /*!< SRC3 Bit Offset */ 5516*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC3 ((uint32_t)0x00000008) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5517*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC4] Bits */ 5518*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC4_OFS ( 4) /*!< SRC4 Bit Offset */ 5519*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC4 ((uint32_t)0x00000010) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5520*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC5] Bits */ 5521*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC5_OFS ( 5) /*!< SRC5 Bit Offset */ 5522*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC5 ((uint32_t)0x00000020) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5523*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC6] Bits */ 5524*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC6_OFS ( 6) /*!< SRC6 Bit Offset */ 5525*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC6 ((uint32_t)0x00000040) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5526*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC7] Bits */ 5527*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC7_OFS ( 7) /*!< SRC7 Bit Offset */ 5528*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC7 ((uint32_t)0x00000080) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5529*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC8] Bits */ 5530*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC8_OFS ( 8) /*!< SRC8 Bit Offset */ 5531*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC8 ((uint32_t)0x00000100) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5532*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC9] Bits */ 5533*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC9_OFS ( 9) /*!< SRC9 Bit Offset */ 5534*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC9 ((uint32_t)0x00000200) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5535*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC10] Bits */ 5536*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC10_OFS (10) /*!< SRC10 Bit Offset */ 5537*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC10 ((uint32_t)0x00000400) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5538*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC11] Bits */ 5539*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC11_OFS (11) /*!< SRC11 Bit Offset */ 5540*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC11 ((uint32_t)0x00000800) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5541*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC12] Bits */ 5542*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC12_OFS (12) /*!< SRC12 Bit Offset */ 5543*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC12 ((uint32_t)0x00001000) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5544*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC13] Bits */ 5545*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC13_OFS (13) /*!< SRC13 Bit Offset */ 5546*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC13 ((uint32_t)0x00002000) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5547*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC14] Bits */ 5548*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC14_OFS (14) /*!< SRC14 Bit Offset */ 5549*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC14 ((uint32_t)0x00004000) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5550*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_CLR[SRC15] Bits */ 5551*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC15_OFS (15) /*!< SRC15 Bit Offset */ 5552*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_CLR_SRC15 ((uint32_t)0x00008000) /*!< Write 1 clears the corresponding bit in the RSTCTL_SOFTRESET_STAT */ 5553*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC0] Bits */ 5554*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC0_OFS ( 0) /*!< SRC0 Bit Offset */ 5555*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC0 ((uint32_t)0x00000001) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5556*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5557*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC1] Bits */ 5558*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC1_OFS ( 1) /*!< SRC1 Bit Offset */ 5559*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC1 ((uint32_t)0x00000002) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5560*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5561*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC2] Bits */ 5562*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC2_OFS ( 2) /*!< SRC2 Bit Offset */ 5563*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC2 ((uint32_t)0x00000004) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5564*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5565*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC3] Bits */ 5566*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC3_OFS ( 3) /*!< SRC3 Bit Offset */ 5567*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC3 ((uint32_t)0x00000008) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5568*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5569*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC4] Bits */ 5570*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC4_OFS ( 4) /*!< SRC4 Bit Offset */ 5571*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC4 ((uint32_t)0x00000010) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5572*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5573*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC5] Bits */ 5574*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC5_OFS ( 5) /*!< SRC5 Bit Offset */ 5575*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC5 ((uint32_t)0x00000020) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5576*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5577*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC6] Bits */ 5578*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC6_OFS ( 6) /*!< SRC6 Bit Offset */ 5579*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC6 ((uint32_t)0x00000040) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5580*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5581*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC7] Bits */ 5582*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC7_OFS ( 7) /*!< SRC7 Bit Offset */ 5583*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC7 ((uint32_t)0x00000080) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5584*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5585*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC8] Bits */ 5586*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC8_OFS ( 8) /*!< SRC8 Bit Offset */ 5587*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC8 ((uint32_t)0x00000100) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5588*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5589*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC9] Bits */ 5590*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC9_OFS ( 9) /*!< SRC9 Bit Offset */ 5591*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC9 ((uint32_t)0x00000200) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5592*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5593*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC10] Bits */ 5594*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC10_OFS (10) /*!< SRC10 Bit Offset */ 5595*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC10 ((uint32_t)0x00000400) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5596*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5597*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC11] Bits */ 5598*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC11_OFS (11) /*!< SRC11 Bit Offset */ 5599*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC11 ((uint32_t)0x00000800) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5600*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5601*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC12] Bits */ 5602*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC12_OFS (12) /*!< SRC12 Bit Offset */ 5603*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC12 ((uint32_t)0x00001000) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5604*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5605*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC13] Bits */ 5606*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC13_OFS (13) /*!< SRC13 Bit Offset */ 5607*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC13 ((uint32_t)0x00002000) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5608*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5609*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC14] Bits */ 5610*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC14_OFS (14) /*!< SRC14 Bit Offset */ 5611*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC14 ((uint32_t)0x00004000) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5612*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5613*5fd0122aSMatthias Ringwald /* RSTCTL_SOFTRESET_SET[SRC15] Bits */ 5614*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC15_OFS (15) /*!< SRC15 Bit Offset */ 5615*5fd0122aSMatthias Ringwald #define RSTCTL_SOFTRESET_SET_SRC15 ((uint32_t)0x00008000) /*!< Write 1 sets the corresponding bit in the RSTCTL_SOFTRESET_STAT (and */ 5616*5fd0122aSMatthias Ringwald /* initiates a Soft Reset) */ 5617*5fd0122aSMatthias Ringwald /* RSTCTL_PSSRESET_STAT[SVSMH] Bits */ 5618*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_STAT_SVSMH_OFS ( 1) /*!< SVSMH Bit Offset */ 5619*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_STAT_SVSMH ((uint32_t)0x00000002) /*!< Indicates if POR was caused by an SVSMH trip condition int the PSS */ 5620*5fd0122aSMatthias Ringwald /* RSTCTL_PSSRESET_STAT[BGREF] Bits */ 5621*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_STAT_BGREF_OFS ( 2) /*!< BGREF Bit Offset */ 5622*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_STAT_BGREF ((uint32_t)0x00000004) /*!< Indicates if POR was caused by a BGREF not okay condition in the PSS */ 5623*5fd0122aSMatthias Ringwald /* RSTCTL_PSSRESET_STAT[VCCDET] Bits */ 5624*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_STAT_VCCDET_OFS ( 3) /*!< VCCDET Bit Offset */ 5625*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_STAT_VCCDET ((uint32_t)0x00000008) /*!< Indicates if POR was caused by a VCCDET trip condition in the PSS */ 5626*5fd0122aSMatthias Ringwald /* RSTCTL_PSSRESET_CLR[CLR] Bits */ 5627*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_CLR_CLR_OFS ( 0) /*!< CLR Bit Offset */ 5628*5fd0122aSMatthias Ringwald #define RSTCTL_PSSRESET_CLR_CLR ((uint32_t)0x00000001) /*!< Write 1 clears all PSS Reset Flags in the RSTCTL_PSSRESET_STAT */ 5629*5fd0122aSMatthias Ringwald /* RSTCTL_PCMRESET_STAT[LPM35] Bits */ 5630*5fd0122aSMatthias Ringwald #define RSTCTL_PCMRESET_STAT_LPM35_OFS ( 0) /*!< LPM35 Bit Offset */ 5631*5fd0122aSMatthias Ringwald #define RSTCTL_PCMRESET_STAT_LPM35 ((uint32_t)0x00000001) /*!< Indicates if POR was caused by PCM due to an exit from LPM3.5 */ 5632*5fd0122aSMatthias Ringwald /* RSTCTL_PCMRESET_STAT[LPM45] Bits */ 5633*5fd0122aSMatthias Ringwald #define RSTCTL_PCMRESET_STAT_LPM45_OFS ( 1) /*!< LPM45 Bit Offset */ 5634*5fd0122aSMatthias Ringwald #define RSTCTL_PCMRESET_STAT_LPM45 ((uint32_t)0x00000002) /*!< Indicates if POR was caused by PCM due to an exit from LPM4.5 */ 5635*5fd0122aSMatthias Ringwald /* RSTCTL_PCMRESET_CLR[CLR] Bits */ 5636*5fd0122aSMatthias Ringwald #define RSTCTL_PCMRESET_CLR_CLR_OFS ( 0) /*!< CLR Bit Offset */ 5637*5fd0122aSMatthias Ringwald #define RSTCTL_PCMRESET_CLR_CLR ((uint32_t)0x00000001) /*!< Write 1 clears all PCM Reset Flags in the RSTCTL_PCMRESET_STAT */ 5638*5fd0122aSMatthias Ringwald /* RSTCTL_PINRESET_STAT[RSTNMI] Bits */ 5639*5fd0122aSMatthias Ringwald #define RSTCTL_PINRESET_STAT_RSTNMI_OFS ( 0) /*!< RSTNMI Bit Offset */ 5640*5fd0122aSMatthias Ringwald #define RSTCTL_PINRESET_STAT_RSTNMI ((uint32_t)0x00000001) /*!< POR was caused by RSTn/NMI pin based reset event */ 5641*5fd0122aSMatthias Ringwald /* RSTCTL_PINRESET_CLR[CLR] Bits */ 5642*5fd0122aSMatthias Ringwald #define RSTCTL_PINRESET_CLR_CLR_OFS ( 0) /*!< CLR Bit Offset */ 5643*5fd0122aSMatthias Ringwald #define RSTCTL_PINRESET_CLR_CLR ((uint32_t)0x00000001) /*!< Write 1 clears the RSTn/NMI Pin Reset Flag in RSTCTL_PINRESET_STAT */ 5644*5fd0122aSMatthias Ringwald /* RSTCTL_REBOOTRESET_STAT[REBOOT] Bits */ 5645*5fd0122aSMatthias Ringwald #define RSTCTL_REBOOTRESET_STAT_REBOOT_OFS ( 0) /*!< REBOOT Bit Offset */ 5646*5fd0122aSMatthias Ringwald #define RSTCTL_REBOOTRESET_STAT_REBOOT ((uint32_t)0x00000001) /*!< Indicates if Reboot reset was caused by the SYSCTL module. */ 5647*5fd0122aSMatthias Ringwald /* RSTCTL_REBOOTRESET_CLR[CLR] Bits */ 5648*5fd0122aSMatthias Ringwald #define RSTCTL_REBOOTRESET_CLR_CLR_OFS ( 0) /*!< CLR Bit Offset */ 5649*5fd0122aSMatthias Ringwald #define RSTCTL_REBOOTRESET_CLR_CLR ((uint32_t)0x00000001) /*!< Write 1 clears the Reboot Reset Flag in RSTCTL_REBOOTRESET_STAT */ 5650*5fd0122aSMatthias Ringwald /* RSTCTL_CSRESET_STAT[DCOR_SHT] Bits */ 5651*5fd0122aSMatthias Ringwald #define RSTCTL_CSRESET_STAT_DCOR_SHT_OFS ( 0) /*!< DCOR_SHT Bit Offset */ 5652*5fd0122aSMatthias Ringwald #define RSTCTL_CSRESET_STAT_DCOR_SHT ((uint32_t)0x00000001) /*!< Indicates if POR was caused by DCO short circuit fault in the external */ 5653*5fd0122aSMatthias Ringwald /* resistor mode */ 5654*5fd0122aSMatthias Ringwald /* RSTCTL_CSRESET_CLR[CLR] Bits */ 5655*5fd0122aSMatthias Ringwald #define RSTCTL_CSRESET_CLR_CLR_OFS ( 0) /*!< CLR Bit Offset */ 5656*5fd0122aSMatthias Ringwald #define RSTCTL_CSRESET_CLR_CLR ((uint32_t)0x00000001) /*!< Write 1 clears the DCOR_SHT Flag in RSTCTL_CSRESET_STAT as well as */ 5657*5fd0122aSMatthias Ringwald /* DCOR_SHTIFG flag in CSIFG register of clock system */ 5658*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 5659*5fd0122aSMatthias Ringwald #define RSTCTL_RESETREQ_RSTKEY_VAL ((uint32_t)0x00006900) /*!< Key value to enable writes to bits 1-0 */ 5660*5fd0122aSMatthias Ringwald 5661*5fd0122aSMatthias Ringwald 5662*5fd0122aSMatthias Ringwald /****************************************************************************** 5663*5fd0122aSMatthias Ringwald * RTC_C Bits 5664*5fd0122aSMatthias Ringwald ******************************************************************************/ 5665*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[RDYIFG] Bits */ 5666*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_RDYIFG_OFS ( 0) /*!< RTCRDYIFG Bit Offset */ 5667*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_RDYIFG ((uint16_t)0x0001) /*!< Real-time clock ready interrupt flag */ 5668*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[AIFG] Bits */ 5669*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_AIFG_OFS ( 1) /*!< RTCAIFG Bit Offset */ 5670*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_AIFG ((uint16_t)0x0002) /*!< Real-time clock alarm interrupt flag */ 5671*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[TEVIFG] Bits */ 5672*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_TEVIFG_OFS ( 2) /*!< RTCTEVIFG Bit Offset */ 5673*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_TEVIFG ((uint16_t)0x0004) /*!< Real-time clock time event interrupt flag */ 5674*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[OFIFG] Bits */ 5675*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_OFIFG_OFS ( 3) /*!< RTCOFIFG Bit Offset */ 5676*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_OFIFG ((uint16_t)0x0008) /*!< 32-kHz crystal oscillator fault interrupt flag */ 5677*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[RDYIE] Bits */ 5678*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_RDYIE_OFS ( 4) /*!< RTCRDYIE Bit Offset */ 5679*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_RDYIE ((uint16_t)0x0010) /*!< Real-time clock ready interrupt enable */ 5680*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[AIE] Bits */ 5681*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_AIE_OFS ( 5) /*!< RTCAIE Bit Offset */ 5682*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_AIE ((uint16_t)0x0020) /*!< Real-time clock alarm interrupt enable */ 5683*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[TEVIE] Bits */ 5684*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_TEVIE_OFS ( 6) /*!< RTCTEVIE Bit Offset */ 5685*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_TEVIE ((uint16_t)0x0040) /*!< Real-time clock time event interrupt enable */ 5686*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[OFIE] Bits */ 5687*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_OFIE_OFS ( 7) /*!< RTCOFIE Bit Offset */ 5688*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_OFIE ((uint16_t)0x0080) /*!< 32-kHz crystal oscillator fault interrupt enable */ 5689*5fd0122aSMatthias Ringwald /* RTC_C_CTL0[KEY] Bits */ 5690*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_KEY_OFS ( 8) /*!< RTCKEY Bit Offset */ 5691*5fd0122aSMatthias Ringwald #define RTC_C_CTL0_KEY_MASK ((uint16_t)0xFF00) /*!< RTCKEY Bit Mask */ 5692*5fd0122aSMatthias Ringwald /* RTC_C_CTL13[TEV] Bits */ 5693*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV_OFS ( 0) /*!< RTCTEV Bit Offset */ 5694*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV_MASK ((uint16_t)0x0003) /*!< RTCTEV Bit Mask */ 5695*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV0 ((uint16_t)0x0001) /*!< TEV Bit 0 */ 5696*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV1 ((uint16_t)0x0002) /*!< TEV Bit 1 */ 5697*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV_0 ((uint16_t)0x0000) /*!< Minute changed */ 5698*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV_1 ((uint16_t)0x0001) /*!< Hour changed */ 5699*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV_2 ((uint16_t)0x0002) /*!< Every day at midnight (00:00) */ 5700*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_TEV_3 ((uint16_t)0x0003) /*!< Every day at noon (12:00) */ 5701*5fd0122aSMatthias Ringwald /* RTC_C_CTL13[SSEL] Bits */ 5702*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_SSEL_OFS ( 2) /*!< RTCSSEL Bit Offset */ 5703*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_SSEL_MASK ((uint16_t)0x000C) /*!< RTCSSEL Bit Mask */ 5704*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_SSEL0 ((uint16_t)0x0004) /*!< SSEL Bit 0 */ 5705*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_SSEL1 ((uint16_t)0x0008) /*!< SSEL Bit 1 */ 5706*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_SSEL_0 ((uint16_t)0x0000) /*!< BCLK */ 5707*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_SSEL__BCLK ((uint16_t)0x0000) /*!< BCLK */ 5708*5fd0122aSMatthias Ringwald /* RTC_C_CTL13[RDY] Bits */ 5709*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_RDY_OFS ( 4) /*!< RTCRDY Bit Offset */ 5710*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_RDY ((uint16_t)0x0010) /*!< Real-time clock ready */ 5711*5fd0122aSMatthias Ringwald /* RTC_C_CTL13[MODE] Bits */ 5712*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_MODE_OFS ( 5) /*!< RTCMODE Bit Offset */ 5713*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_MODE ((uint16_t)0x0020) 5714*5fd0122aSMatthias Ringwald /* RTC_C_CTL13[HOLD] Bits */ 5715*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_HOLD_OFS ( 6) /*!< RTCHOLD Bit Offset */ 5716*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_HOLD ((uint16_t)0x0040) /*!< Real-time clock hold */ 5717*5fd0122aSMatthias Ringwald /* RTC_C_CTL13[BCD] Bits */ 5718*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_BCD_OFS ( 7) /*!< RTCBCD Bit Offset */ 5719*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_BCD ((uint16_t)0x0080) /*!< Real-time clock BCD select */ 5720*5fd0122aSMatthias Ringwald /* RTC_C_CTL13[CALF] Bits */ 5721*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF_OFS ( 8) /*!< RTCCALF Bit Offset */ 5722*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF_MASK ((uint16_t)0x0300) /*!< RTCCALF Bit Mask */ 5723*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF0 ((uint16_t)0x0100) /*!< CALF Bit 0 */ 5724*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF1 ((uint16_t)0x0200) /*!< CALF Bit 1 */ 5725*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF_0 ((uint16_t)0x0000) /*!< No frequency output to RTCCLK pin */ 5726*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF_1 ((uint16_t)0x0100) /*!< 512 Hz */ 5727*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF_2 ((uint16_t)0x0200) /*!< 256 Hz */ 5728*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF_3 ((uint16_t)0x0300) /*!< 1 Hz */ 5729*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF__NONE ((uint16_t)0x0000) /*!< No frequency output to RTCCLK pin */ 5730*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF__512 ((uint16_t)0x0100) /*!< 512 Hz */ 5731*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF__256 ((uint16_t)0x0200) /*!< 256 Hz */ 5732*5fd0122aSMatthias Ringwald #define RTC_C_CTL13_CALF__1 ((uint16_t)0x0300) /*!< 1 Hz */ 5733*5fd0122aSMatthias Ringwald /* RTC_C_OCAL[OCAL] Bits */ 5734*5fd0122aSMatthias Ringwald #define RTC_C_OCAL_OCAL_OFS ( 0) /*!< RTCOCAL Bit Offset */ 5735*5fd0122aSMatthias Ringwald #define RTC_C_OCAL_OCAL_MASK ((uint16_t)0x00FF) /*!< RTCOCAL Bit Mask */ 5736*5fd0122aSMatthias Ringwald /* RTC_C_OCAL[OCALS] Bits */ 5737*5fd0122aSMatthias Ringwald #define RTC_C_OCAL_OCALS_OFS (15) /*!< RTCOCALS Bit Offset */ 5738*5fd0122aSMatthias Ringwald #define RTC_C_OCAL_OCALS ((uint16_t)0x8000) /*!< Real-time clock offset error calibration sign */ 5739*5fd0122aSMatthias Ringwald /* RTC_C_TCMP[TCMPx] Bits */ 5740*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCMPX_OFS ( 0) /*!< RTCTCMP Bit Offset */ 5741*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCMPX_MASK ((uint16_t)0x00FF) /*!< RTCTCMP Bit Mask */ 5742*5fd0122aSMatthias Ringwald /* RTC_C_TCMP[TCOK] Bits */ 5743*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCOK_OFS (13) /*!< RTCTCOK Bit Offset */ 5744*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCOK ((uint16_t)0x2000) /*!< Real-time clock temperature compensation write OK */ 5745*5fd0122aSMatthias Ringwald /* RTC_C_TCMP[TCRDY] Bits */ 5746*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCRDY_OFS (14) /*!< RTCTCRDY Bit Offset */ 5747*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCRDY ((uint16_t)0x4000) /*!< Real-time clock temperature compensation ready */ 5748*5fd0122aSMatthias Ringwald /* RTC_C_TCMP[TCMPS] Bits */ 5749*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCMPS_OFS (15) /*!< RTCTCMPS Bit Offset */ 5750*5fd0122aSMatthias Ringwald #define RTC_C_TCMP_TCMPS ((uint16_t)0x8000) /*!< Real-time clock temperature compensation sign */ 5751*5fd0122aSMatthias Ringwald /* RTC_C_PS0CTL[RT0PSIFG] Bits */ 5752*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0PSIFG_OFS ( 0) /*!< RT0PSIFG Bit Offset */ 5753*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0PSIFG ((uint16_t)0x0001) /*!< Prescale timer 0 interrupt flag */ 5754*5fd0122aSMatthias Ringwald /* RTC_C_PS0CTL[RT0PSIE] Bits */ 5755*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0PSIE_OFS ( 1) /*!< RT0PSIE Bit Offset */ 5756*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0PSIE ((uint16_t)0x0002) /*!< Prescale timer 0 interrupt enable */ 5757*5fd0122aSMatthias Ringwald /* RTC_C_PS0CTL[RT0IP] Bits */ 5758*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_OFS ( 2) /*!< RT0IP Bit Offset */ 5759*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_MASK ((uint16_t)0x001C) /*!< RT0IP Bit Mask */ 5760*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP0 ((uint16_t)0x0004) /*!< RT0IP Bit 0 */ 5761*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP1 ((uint16_t)0x0008) /*!< RT0IP Bit 1 */ 5762*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP2 ((uint16_t)0x0010) /*!< RT0IP Bit 2 */ 5763*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_0 ((uint16_t)0x0000) /*!< Divide by 2 */ 5764*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_1 ((uint16_t)0x0004) /*!< Divide by 4 */ 5765*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_2 ((uint16_t)0x0008) /*!< Divide by 8 */ 5766*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_3 ((uint16_t)0x000C) /*!< Divide by 16 */ 5767*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_4 ((uint16_t)0x0010) /*!< Divide by 32 */ 5768*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_5 ((uint16_t)0x0014) /*!< Divide by 64 */ 5769*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_6 ((uint16_t)0x0018) /*!< Divide by 128 */ 5770*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP_7 ((uint16_t)0x001C) /*!< Divide by 256 */ 5771*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__2 ((uint16_t)0x0000) /*!< Divide by 2 */ 5772*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__4 ((uint16_t)0x0004) /*!< Divide by 4 */ 5773*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__8 ((uint16_t)0x0008) /*!< Divide by 8 */ 5774*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__16 ((uint16_t)0x000C) /*!< Divide by 16 */ 5775*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__32 ((uint16_t)0x0010) /*!< Divide by 32 */ 5776*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__64 ((uint16_t)0x0014) /*!< Divide by 64 */ 5777*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__128 ((uint16_t)0x0018) /*!< Divide by 128 */ 5778*5fd0122aSMatthias Ringwald #define RTC_C_PS0CTL_RT0IP__256 ((uint16_t)0x001C) /*!< Divide by 256 */ 5779*5fd0122aSMatthias Ringwald /* RTC_C_PS1CTL[RT1PSIFG] Bits */ 5780*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1PSIFG_OFS ( 0) /*!< RT1PSIFG Bit Offset */ 5781*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1PSIFG ((uint16_t)0x0001) /*!< Prescale timer 1 interrupt flag */ 5782*5fd0122aSMatthias Ringwald /* RTC_C_PS1CTL[RT1PSIE] Bits */ 5783*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1PSIE_OFS ( 1) /*!< RT1PSIE Bit Offset */ 5784*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1PSIE ((uint16_t)0x0002) /*!< Prescale timer 1 interrupt enable */ 5785*5fd0122aSMatthias Ringwald /* RTC_C_PS1CTL[RT1IP] Bits */ 5786*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_OFS ( 2) /*!< RT1IP Bit Offset */ 5787*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_MASK ((uint16_t)0x001C) /*!< RT1IP Bit Mask */ 5788*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP0 ((uint16_t)0x0004) /*!< RT1IP Bit 0 */ 5789*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP1 ((uint16_t)0x0008) /*!< RT1IP Bit 1 */ 5790*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP2 ((uint16_t)0x0010) /*!< RT1IP Bit 2 */ 5791*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_0 ((uint16_t)0x0000) /*!< Divide by 2 */ 5792*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_1 ((uint16_t)0x0004) /*!< Divide by 4 */ 5793*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_2 ((uint16_t)0x0008) /*!< Divide by 8 */ 5794*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_3 ((uint16_t)0x000C) /*!< Divide by 16 */ 5795*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_4 ((uint16_t)0x0010) /*!< Divide by 32 */ 5796*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_5 ((uint16_t)0x0014) /*!< Divide by 64 */ 5797*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_6 ((uint16_t)0x0018) /*!< Divide by 128 */ 5798*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP_7 ((uint16_t)0x001C) /*!< Divide by 256 */ 5799*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__2 ((uint16_t)0x0000) /*!< Divide by 2 */ 5800*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__4 ((uint16_t)0x0004) /*!< Divide by 4 */ 5801*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__8 ((uint16_t)0x0008) /*!< Divide by 8 */ 5802*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__16 ((uint16_t)0x000C) /*!< Divide by 16 */ 5803*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__32 ((uint16_t)0x0010) /*!< Divide by 32 */ 5804*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__64 ((uint16_t)0x0014) /*!< Divide by 64 */ 5805*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__128 ((uint16_t)0x0018) /*!< Divide by 128 */ 5806*5fd0122aSMatthias Ringwald #define RTC_C_PS1CTL_RT1IP__256 ((uint16_t)0x001C) /*!< Divide by 256 */ 5807*5fd0122aSMatthias Ringwald /* RTC_C_PS[RT0PS] Bits */ 5808*5fd0122aSMatthias Ringwald #define RTC_C_PS_RT0PS_OFS ( 0) /*!< RT0PS Bit Offset */ 5809*5fd0122aSMatthias Ringwald #define RTC_C_PS_RT0PS_MASK ((uint16_t)0x00FF) /*!< RT0PS Bit Mask */ 5810*5fd0122aSMatthias Ringwald /* RTC_C_PS[RT1PS] Bits */ 5811*5fd0122aSMatthias Ringwald #define RTC_C_PS_RT1PS_OFS ( 8) /*!< RT1PS Bit Offset */ 5812*5fd0122aSMatthias Ringwald #define RTC_C_PS_RT1PS_MASK ((uint16_t)0xFF00) /*!< RT1PS Bit Mask */ 5813*5fd0122aSMatthias Ringwald /* RTC_C_TIM0[SEC] Bits */ 5814*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_SEC_OFS ( 0) /*!< Seconds Bit Offset */ 5815*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_SEC_MASK ((uint16_t)0x003F) /*!< Seconds Bit Mask */ 5816*5fd0122aSMatthias Ringwald /* RTC_C_TIM0[MIN] Bits */ 5817*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_MIN_OFS ( 8) /*!< Minutes Bit Offset */ 5818*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_MIN_MASK ((uint16_t)0x3F00) /*!< Minutes Bit Mask */ 5819*5fd0122aSMatthias Ringwald /* RTC_C_TIM0[SEC_LD] Bits */ 5820*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_SEC_LD_OFS ( 0) /*!< SecondsLowDigit Bit Offset */ 5821*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_SEC_LD_MASK ((uint16_t)0x000F) /*!< SecondsLowDigit Bit Mask */ 5822*5fd0122aSMatthias Ringwald /* RTC_C_TIM0[SEC_HD] Bits */ 5823*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_SEC_HD_OFS ( 4) /*!< SecondsHighDigit Bit Offset */ 5824*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_SEC_HD_MASK ((uint16_t)0x0070) /*!< SecondsHighDigit Bit Mask */ 5825*5fd0122aSMatthias Ringwald /* RTC_C_TIM0[MIN_LD] Bits */ 5826*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_MIN_LD_OFS ( 8) /*!< MinutesLowDigit Bit Offset */ 5827*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_MIN_LD_MASK ((uint16_t)0x0F00) /*!< MinutesLowDigit Bit Mask */ 5828*5fd0122aSMatthias Ringwald /* RTC_C_TIM0[MIN_HD] Bits */ 5829*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_MIN_HD_OFS (12) /*!< MinutesHighDigit Bit Offset */ 5830*5fd0122aSMatthias Ringwald #define RTC_C_TIM0_MIN_HD_MASK ((uint16_t)0x7000) /*!< MinutesHighDigit Bit Mask */ 5831*5fd0122aSMatthias Ringwald /* RTC_C_TIM1[HOUR] Bits */ 5832*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_HOUR_OFS ( 0) /*!< Hours Bit Offset */ 5833*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_HOUR_MASK ((uint16_t)0x001F) /*!< Hours Bit Mask */ 5834*5fd0122aSMatthias Ringwald /* RTC_C_TIM1[DOW] Bits */ 5835*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_DOW_OFS ( 8) /*!< DayofWeek Bit Offset */ 5836*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_DOW_MASK ((uint16_t)0x0700) /*!< DayofWeek Bit Mask */ 5837*5fd0122aSMatthias Ringwald /* RTC_C_TIM1[HOUR_LD] Bits */ 5838*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_HOUR_LD_OFS ( 0) /*!< HoursLowDigit Bit Offset */ 5839*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_HOUR_LD_MASK ((uint16_t)0x000F) /*!< HoursLowDigit Bit Mask */ 5840*5fd0122aSMatthias Ringwald /* RTC_C_TIM1[HOUR_HD] Bits */ 5841*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_HOUR_HD_OFS ( 4) /*!< HoursHighDigit Bit Offset */ 5842*5fd0122aSMatthias Ringwald #define RTC_C_TIM1_HOUR_HD_MASK ((uint16_t)0x0030) /*!< HoursHighDigit Bit Mask */ 5843*5fd0122aSMatthias Ringwald /* RTC_C_DATE[DAY] Bits */ 5844*5fd0122aSMatthias Ringwald #define RTC_C_DATE_DAY_OFS ( 0) /*!< Day Bit Offset */ 5845*5fd0122aSMatthias Ringwald #define RTC_C_DATE_DAY_MASK ((uint16_t)0x001F) /*!< Day Bit Mask */ 5846*5fd0122aSMatthias Ringwald /* RTC_C_DATE[MON] Bits */ 5847*5fd0122aSMatthias Ringwald #define RTC_C_DATE_MON_OFS ( 8) /*!< Month Bit Offset */ 5848*5fd0122aSMatthias Ringwald #define RTC_C_DATE_MON_MASK ((uint16_t)0x0F00) /*!< Month Bit Mask */ 5849*5fd0122aSMatthias Ringwald /* RTC_C_DATE[DAY_LD] Bits */ 5850*5fd0122aSMatthias Ringwald #define RTC_C_DATE_DAY_LD_OFS ( 0) /*!< DayLowDigit Bit Offset */ 5851*5fd0122aSMatthias Ringwald #define RTC_C_DATE_DAY_LD_MASK ((uint16_t)0x000F) /*!< DayLowDigit Bit Mask */ 5852*5fd0122aSMatthias Ringwald /* RTC_C_DATE[DAY_HD] Bits */ 5853*5fd0122aSMatthias Ringwald #define RTC_C_DATE_DAY_HD_OFS ( 4) /*!< DayHighDigit Bit Offset */ 5854*5fd0122aSMatthias Ringwald #define RTC_C_DATE_DAY_HD_MASK ((uint16_t)0x0030) /*!< DayHighDigit Bit Mask */ 5855*5fd0122aSMatthias Ringwald /* RTC_C_DATE[MON_LD] Bits */ 5856*5fd0122aSMatthias Ringwald #define RTC_C_DATE_MON_LD_OFS ( 8) /*!< MonthLowDigit Bit Offset */ 5857*5fd0122aSMatthias Ringwald #define RTC_C_DATE_MON_LD_MASK ((uint16_t)0x0F00) /*!< MonthLowDigit Bit Mask */ 5858*5fd0122aSMatthias Ringwald /* RTC_C_DATE[MON_HD] Bits */ 5859*5fd0122aSMatthias Ringwald #define RTC_C_DATE_MON_HD_OFS (12) /*!< MonthHighDigit Bit Offset */ 5860*5fd0122aSMatthias Ringwald #define RTC_C_DATE_MON_HD ((uint16_t)0x1000) /*!< Month high digit (0 or 1) */ 5861*5fd0122aSMatthias Ringwald /* RTC_C_YEAR[YEAR_LB] Bits */ 5862*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_YEAR_LB_OFS ( 0) /*!< YearLowByte Bit Offset */ 5863*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_YEAR_LB_MASK ((uint16_t)0x00FF) /*!< YearLowByte Bit Mask */ 5864*5fd0122aSMatthias Ringwald /* RTC_C_YEAR[YEAR_HB] Bits */ 5865*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_YEAR_HB_OFS ( 8) /*!< YearHighByte Bit Offset */ 5866*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_YEAR_HB_MASK ((uint16_t)0x0F00) /*!< YearHighByte Bit Mask */ 5867*5fd0122aSMatthias Ringwald /* RTC_C_YEAR[YEAR] Bits */ 5868*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_YEAR_OFS ( 0) /*!< Year Bit Offset */ 5869*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_YEAR_MASK ((uint16_t)0x000F) /*!< Year Bit Mask */ 5870*5fd0122aSMatthias Ringwald /* RTC_C_YEAR[DEC] Bits */ 5871*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_DEC_OFS ( 4) /*!< Decade Bit Offset */ 5872*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_DEC_MASK ((uint16_t)0x00F0) /*!< Decade Bit Mask */ 5873*5fd0122aSMatthias Ringwald /* RTC_C_YEAR[CENT_LD] Bits */ 5874*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_CENT_LD_OFS ( 8) /*!< CenturyLowDigit Bit Offset */ 5875*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_CENT_LD_MASK ((uint16_t)0x0F00) /*!< CenturyLowDigit Bit Mask */ 5876*5fd0122aSMatthias Ringwald /* RTC_C_YEAR[CENT_HD] Bits */ 5877*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_CENT_HD_OFS (12) /*!< CenturyHighDigit Bit Offset */ 5878*5fd0122aSMatthias Ringwald #define RTC_C_YEAR_CENT_HD_MASK ((uint16_t)0x7000) /*!< CenturyHighDigit Bit Mask */ 5879*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[MIN] Bits */ 5880*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MIN_OFS ( 0) /*!< Minutes Bit Offset */ 5881*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MIN_MASK ((uint16_t)0x003F) /*!< Minutes Bit Mask */ 5882*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[MINAE] Bits */ 5883*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MINAE_OFS ( 7) /*!< MINAE Bit Offset */ 5884*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MINAE ((uint16_t)0x0080) /*!< Alarm enable */ 5885*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[HOUR] Bits */ 5886*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOUR_OFS ( 8) /*!< Hours Bit Offset */ 5887*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOUR_MASK ((uint16_t)0x1F00) /*!< Hours Bit Mask */ 5888*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[HOURAE] Bits */ 5889*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOURAE_OFS (15) /*!< HOURAE Bit Offset */ 5890*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOURAE ((uint16_t)0x8000) /*!< Alarm enable */ 5891*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[MIN_LD] Bits */ 5892*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MIN_LD_OFS ( 0) /*!< MinutesLowDigit Bit Offset */ 5893*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MIN_LD_MASK ((uint16_t)0x000F) /*!< MinutesLowDigit Bit Mask */ 5894*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[MIN_HD] Bits */ 5895*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MIN_HD_OFS ( 4) /*!< MinutesHighDigit Bit Offset */ 5896*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_MIN_HD_MASK ((uint16_t)0x0070) /*!< MinutesHighDigit Bit Mask */ 5897*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[HOUR_LD] Bits */ 5898*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOUR_LD_OFS ( 8) /*!< HoursLowDigit Bit Offset */ 5899*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOUR_LD_MASK ((uint16_t)0x0F00) /*!< HoursLowDigit Bit Mask */ 5900*5fd0122aSMatthias Ringwald /* RTC_C_AMINHR[HOUR_HD] Bits */ 5901*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOUR_HD_OFS (12) /*!< HoursHighDigit Bit Offset */ 5902*5fd0122aSMatthias Ringwald #define RTC_C_AMINHR_HOUR_HD_MASK ((uint16_t)0x3000) /*!< HoursHighDigit Bit Mask */ 5903*5fd0122aSMatthias Ringwald /* RTC_C_ADOWDAY[DOW] Bits */ 5904*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DOW_OFS ( 0) /*!< DayofWeek Bit Offset */ 5905*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DOW_MASK ((uint16_t)0x0007) /*!< DayofWeek Bit Mask */ 5906*5fd0122aSMatthias Ringwald /* RTC_C_ADOWDAY[DOWAE] Bits */ 5907*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DOWAE_OFS ( 7) /*!< DOWAE Bit Offset */ 5908*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DOWAE ((uint16_t)0x0080) /*!< Alarm enable */ 5909*5fd0122aSMatthias Ringwald /* RTC_C_ADOWDAY[DAY] Bits */ 5910*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAY_OFS ( 8) /*!< DayofMonth Bit Offset */ 5911*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAY_MASK ((uint16_t)0x1F00) /*!< DayofMonth Bit Mask */ 5912*5fd0122aSMatthias Ringwald /* RTC_C_ADOWDAY[DAYAE] Bits */ 5913*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAYAE_OFS (15) /*!< DAYAE Bit Offset */ 5914*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAYAE ((uint16_t)0x8000) /*!< Alarm enable */ 5915*5fd0122aSMatthias Ringwald /* RTC_C_ADOWDAY[DAY_LD] Bits */ 5916*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAY_LD_OFS ( 8) /*!< DayLowDigit Bit Offset */ 5917*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAY_LD_MASK ((uint16_t)0x0F00) /*!< DayLowDigit Bit Mask */ 5918*5fd0122aSMatthias Ringwald /* RTC_C_ADOWDAY[DAY_HD] Bits */ 5919*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAY_HD_OFS (12) /*!< DayHighDigit Bit Offset */ 5920*5fd0122aSMatthias Ringwald #define RTC_C_ADOWDAY_DAY_HD_MASK ((uint16_t)0x3000) /*!< DayHighDigit Bit Mask */ 5921*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 5922*5fd0122aSMatthias Ringwald #define RTC_C_KEY ((uint16_t)0xA500) /*!< RTC_C Key Value for RTC_C write access */ 5923*5fd0122aSMatthias Ringwald #define RTC_C_KEY_H ((uint16_t)0x00A5) /*!< RTC_C Key Value for RTC_C write access */ 5924*5fd0122aSMatthias Ringwald #define RTC_C_KEY_VAL ((uint16_t)0xA500) /*!< RTC_C Key Value for RTC_C write access */ 5925*5fd0122aSMatthias Ringwald 5926*5fd0122aSMatthias Ringwald 5927*5fd0122aSMatthias Ringwald /****************************************************************************** 5928*5fd0122aSMatthias Ringwald * SCB Bits 5929*5fd0122aSMatthias Ringwald ******************************************************************************/ 5930*5fd0122aSMatthias Ringwald /* SCB_PFR0[STATE0] Bits */ 5931*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE0_OFS ( 0) /*!< STATE0 Bit Offset */ 5932*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE0_MASK ((uint32_t)0x0000000F) /*!< STATE0 Bit Mask */ 5933*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE00 ((uint32_t)0x00000001) /*!< STATE0 Bit 0 */ 5934*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE01 ((uint32_t)0x00000002) /*!< STATE0 Bit 1 */ 5935*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE02 ((uint32_t)0x00000004) /*!< STATE0 Bit 2 */ 5936*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE03 ((uint32_t)0x00000008) /*!< STATE0 Bit 3 */ 5937*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE0_0 ((uint32_t)0x00000000) /*!< no ARM encoding */ 5938*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE0_1 ((uint32_t)0x00000001) /*!< N/A */ 5939*5fd0122aSMatthias Ringwald /* SCB_PFR0[STATE1] Bits */ 5940*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE1_OFS ( 4) /*!< STATE1 Bit Offset */ 5941*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE1_MASK ((uint32_t)0x000000F0) /*!< STATE1 Bit Mask */ 5942*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE10 ((uint32_t)0x00000010) /*!< STATE1 Bit 0 */ 5943*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE11 ((uint32_t)0x00000020) /*!< STATE1 Bit 1 */ 5944*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE12 ((uint32_t)0x00000040) /*!< STATE1 Bit 2 */ 5945*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE13 ((uint32_t)0x00000080) /*!< STATE1 Bit 3 */ 5946*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE1_0 ((uint32_t)0x00000000) /*!< N/A */ 5947*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE1_1 ((uint32_t)0x00000010) /*!< N/A */ 5948*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE1_2 ((uint32_t)0x00000020) /*!< Thumb-2 encoding with the 16-bit basic instructions plus 32-bit Buncond/BL */ 5949*5fd0122aSMatthias Ringwald /* but no other 32-bit basic instructions (Note non-basic 32-bit instructions */ 5950*5fd0122aSMatthias Ringwald /* can be added using the appropriate instruction attribute, but other 32-bit */ 5951*5fd0122aSMatthias Ringwald /* basic instructions cannot.) */ 5952*5fd0122aSMatthias Ringwald #define SCB_PFR0_STATE1_3 ((uint32_t)0x00000030) /*!< Thumb-2 encoding with all Thumb-2 basic instructions */ 5953*5fd0122aSMatthias Ringwald /* SCB_PFR1[MICROCONTROLLER_PROGRAMMERS_MODEL] Bits */ 5954*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL_OFS ( 8) /*!< MICROCONTROLLER_PROGRAMMERS_MODEL Bit Offset */ 5955*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL_MASK ((uint32_t)0x00000F00) /*!< MICROCONTROLLER_PROGRAMMERS_MODEL Bit Mask */ 5956*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL0 ((uint32_t)0x00000100) /*!< MICROCONTROLLER_PROGRAMMERS_MODEL Bit 0 */ 5957*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL1 ((uint32_t)0x00000200) /*!< MICROCONTROLLER_PROGRAMMERS_MODEL Bit 1 */ 5958*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL2 ((uint32_t)0x00000400) /*!< MICROCONTROLLER_PROGRAMMERS_MODEL Bit 2 */ 5959*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL3 ((uint32_t)0x00000800) /*!< MICROCONTROLLER_PROGRAMMERS_MODEL Bit 3 */ 5960*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL_0 ((uint32_t)0x00000000) /*!< not supported */ 5961*5fd0122aSMatthias Ringwald #define SCB_PFR1_MICROCONTROLLER_PROGRAMMERS_MODEL_2 ((uint32_t)0x00000200) /*!< two-stack support */ 5962*5fd0122aSMatthias Ringwald /* SCB_DFR0[MICROCONTROLLER_DEBUG_MODEL] Bits */ 5963*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL_OFS (20) /*!< MICROCONTROLLER_DEBUG_MODEL Bit Offset */ 5964*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL_MASK ((uint32_t)0x00F00000) /*!< MICROCONTROLLER_DEBUG_MODEL Bit Mask */ 5965*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL0 ((uint32_t)0x00100000) /*!< MICROCONTROLLER_DEBUG_MODEL Bit 0 */ 5966*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL1 ((uint32_t)0x00200000) /*!< MICROCONTROLLER_DEBUG_MODEL Bit 1 */ 5967*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL2 ((uint32_t)0x00400000) /*!< MICROCONTROLLER_DEBUG_MODEL Bit 2 */ 5968*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL3 ((uint32_t)0x00800000) /*!< MICROCONTROLLER_DEBUG_MODEL Bit 3 */ 5969*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL_0 ((uint32_t)0x00000000) /*!< not supported */ 5970*5fd0122aSMatthias Ringwald #define SCB_DFR0_MICROCONTROLLER_DEBUG_MODEL_1 ((uint32_t)0x00100000) /*!< Microcontroller debug v1 (ITMv1, DWTv1, optional ETM) */ 5971*5fd0122aSMatthias Ringwald /* SCB_MMFR0[PMSA_SUPPORT] Bits */ 5972*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT_OFS ( 4) /*!< PMSA_SUPPORT Bit Offset */ 5973*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT_MASK ((uint32_t)0x000000F0) /*!< PMSA_SUPPORT Bit Mask */ 5974*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT0 ((uint32_t)0x00000010) /*!< PMSA_SUPPORT Bit 0 */ 5975*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT1 ((uint32_t)0x00000020) /*!< PMSA_SUPPORT Bit 1 */ 5976*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT2 ((uint32_t)0x00000040) /*!< PMSA_SUPPORT Bit 2 */ 5977*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT3 ((uint32_t)0x00000080) /*!< PMSA_SUPPORT Bit 3 */ 5978*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT_0 ((uint32_t)0x00000000) /*!< not supported */ 5979*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT_1 ((uint32_t)0x00000010) /*!< IMPLEMENTATION DEFINED (N/A) */ 5980*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT_2 ((uint32_t)0x00000020) /*!< PMSA base (features as defined for ARMv6) (N/A) */ 5981*5fd0122aSMatthias Ringwald #define SCB_MMFR0_PMSA_SUPPORT_3 ((uint32_t)0x00000030) /*!< PMSAv7 (base plus subregion support) */ 5982*5fd0122aSMatthias Ringwald /* SCB_MMFR0[CACHE_COHERENCE_SUPPORT] Bits */ 5983*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT_OFS ( 8) /*!< CACHE_COHERENCE_SUPPORT Bit Offset */ 5984*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT_MASK ((uint32_t)0x00000F00) /*!< CACHE_COHERENCE_SUPPORT Bit Mask */ 5985*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT0 ((uint32_t)0x00000100) /*!< CACHE_COHERENCE_SUPPORT Bit 0 */ 5986*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT1 ((uint32_t)0x00000200) /*!< CACHE_COHERENCE_SUPPORT Bit 1 */ 5987*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT2 ((uint32_t)0x00000400) /*!< CACHE_COHERENCE_SUPPORT Bit 2 */ 5988*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT3 ((uint32_t)0x00000800) /*!< CACHE_COHERENCE_SUPPORT Bit 3 */ 5989*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT_0 ((uint32_t)0x00000000) /*!< no shared support */ 5990*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT_1 ((uint32_t)0x00000100) /*!< partial-inner-shared coherency (coherency amongst some - but not all - of */ 5991*5fd0122aSMatthias Ringwald /* the entities within an inner-coherent domain) */ 5992*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT_2 ((uint32_t)0x00000200) /*!< full-inner-shared coherency (coherency amongst all of the entities within an */ 5993*5fd0122aSMatthias Ringwald /* inner-coherent domain) */ 5994*5fd0122aSMatthias Ringwald #define SCB_MMFR0_CACHE_COHERENCE_SUPPORT_3 ((uint32_t)0x00000300) /*!< full coherency (coherency amongst all of the entities) */ 5995*5fd0122aSMatthias Ringwald /* SCB_MMFR0[OUTER_NON_SHARABLE_SUPPORT] Bits */ 5996*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT_OFS (12) /*!< OUTER_NON_SHARABLE_SUPPORT Bit Offset */ 5997*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT_MASK ((uint32_t)0x0000F000) /*!< OUTER_NON_SHARABLE_SUPPORT Bit Mask */ 5998*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT0 ((uint32_t)0x00001000) /*!< OUTER_NON_SHARABLE_SUPPORT Bit 0 */ 5999*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT1 ((uint32_t)0x00002000) /*!< OUTER_NON_SHARABLE_SUPPORT Bit 1 */ 6000*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT2 ((uint32_t)0x00004000) /*!< OUTER_NON_SHARABLE_SUPPORT Bit 2 */ 6001*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT3 ((uint32_t)0x00008000) /*!< OUTER_NON_SHARABLE_SUPPORT Bit 3 */ 6002*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT_0 ((uint32_t)0x00000000) /*!< Outer non-sharable not supported */ 6003*5fd0122aSMatthias Ringwald #define SCB_MMFR0_OUTER_NON_SHARABLE_SUPPORT_1 ((uint32_t)0x00001000) /*!< Outer sharable supported */ 6004*5fd0122aSMatthias Ringwald /* SCB_MMFR0[AUILIARY_REGISTER_SUPPORT] Bits */ 6005*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT_OFS (20) /*!< AUXILIARY_REGISTER_SUPPORT Bit Offset */ 6006*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT_MASK ((uint32_t)0x00F00000) /*!< AUXILIARY_REGISTER_SUPPORT Bit Mask */ 6007*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT0 ((uint32_t)0x00100000) /*!< AUILIARY_REGISTER_SUPPORT Bit 0 */ 6008*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT1 ((uint32_t)0x00200000) /*!< AUILIARY_REGISTER_SUPPORT Bit 1 */ 6009*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT2 ((uint32_t)0x00400000) /*!< AUILIARY_REGISTER_SUPPORT Bit 2 */ 6010*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT3 ((uint32_t)0x00800000) /*!< AUILIARY_REGISTER_SUPPORT Bit 3 */ 6011*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT_0 ((uint32_t)0x00000000) /*!< not supported */ 6012*5fd0122aSMatthias Ringwald #define SCB_MMFR0_AUILIARY_REGISTER_SUPPORT_1 ((uint32_t)0x00100000) /*!< Auxiliary control register */ 6013*5fd0122aSMatthias Ringwald /* SCB_MMFR2[WAIT_FOR_INTERRUPT_STALLING] Bits */ 6014*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING_OFS (24) /*!< WAIT_FOR_INTERRUPT_STALLING Bit Offset */ 6015*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING_MASK ((uint32_t)0x0F000000) /*!< WAIT_FOR_INTERRUPT_STALLING Bit Mask */ 6016*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING0 ((uint32_t)0x01000000) /*!< WAIT_FOR_INTERRUPT_STALLING Bit 0 */ 6017*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING1 ((uint32_t)0x02000000) /*!< WAIT_FOR_INTERRUPT_STALLING Bit 1 */ 6018*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING2 ((uint32_t)0x04000000) /*!< WAIT_FOR_INTERRUPT_STALLING Bit 2 */ 6019*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING3 ((uint32_t)0x08000000) /*!< WAIT_FOR_INTERRUPT_STALLING Bit 3 */ 6020*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING_0 ((uint32_t)0x00000000) /*!< not supported */ 6021*5fd0122aSMatthias Ringwald #define SCB_MMFR2_WAIT_FOR_INTERRUPT_STALLING_1 ((uint32_t)0x01000000) /*!< wait for interrupt supported */ 6022*5fd0122aSMatthias Ringwald /* SCB_ISAR0[BITCOUNT_INSTRS] Bits */ 6023*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS_OFS ( 4) /*!< BITCOUNT_INSTRS Bit Offset */ 6024*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS_MASK ((uint32_t)0x000000F0) /*!< BITCOUNT_INSTRS Bit Mask */ 6025*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS0 ((uint32_t)0x00000010) /*!< BITCOUNT_INSTRS Bit 0 */ 6026*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS1 ((uint32_t)0x00000020) /*!< BITCOUNT_INSTRS Bit 1 */ 6027*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS2 ((uint32_t)0x00000040) /*!< BITCOUNT_INSTRS Bit 2 */ 6028*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS3 ((uint32_t)0x00000080) /*!< BITCOUNT_INSTRS Bit 3 */ 6029*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS_0 ((uint32_t)0x00000000) /*!< no bit-counting instructions present */ 6030*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITCOUNT_INSTRS_1 ((uint32_t)0x00000010) /*!< adds CLZ */ 6031*5fd0122aSMatthias Ringwald /* SCB_ISAR0[BITFIELD_INSTRS] Bits */ 6032*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS_OFS ( 8) /*!< BITFIELD_INSTRS Bit Offset */ 6033*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS_MASK ((uint32_t)0x00000F00) /*!< BITFIELD_INSTRS Bit Mask */ 6034*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS0 ((uint32_t)0x00000100) /*!< BITFIELD_INSTRS Bit 0 */ 6035*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS1 ((uint32_t)0x00000200) /*!< BITFIELD_INSTRS Bit 1 */ 6036*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS2 ((uint32_t)0x00000400) /*!< BITFIELD_INSTRS Bit 2 */ 6037*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS3 ((uint32_t)0x00000800) /*!< BITFIELD_INSTRS Bit 3 */ 6038*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS_0 ((uint32_t)0x00000000) /*!< no bitfield instructions present */ 6039*5fd0122aSMatthias Ringwald #define SCB_ISAR0_BITFIELD_INSTRS_1 ((uint32_t)0x00000100) /*!< adds BFC, BFI, SBFX, UBFX */ 6040*5fd0122aSMatthias Ringwald /* SCB_ISAR0[CMPBRANCH_INSTRS] Bits */ 6041*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS_OFS (12) /*!< CMPBRANCH_INSTRS Bit Offset */ 6042*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS_MASK ((uint32_t)0x0000F000) /*!< CMPBRANCH_INSTRS Bit Mask */ 6043*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS0 ((uint32_t)0x00001000) /*!< CMPBRANCH_INSTRS Bit 0 */ 6044*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS1 ((uint32_t)0x00002000) /*!< CMPBRANCH_INSTRS Bit 1 */ 6045*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS2 ((uint32_t)0x00004000) /*!< CMPBRANCH_INSTRS Bit 2 */ 6046*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS3 ((uint32_t)0x00008000) /*!< CMPBRANCH_INSTRS Bit 3 */ 6047*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS_0 ((uint32_t)0x00000000) /*!< no combined compare-and-branch instructions present */ 6048*5fd0122aSMatthias Ringwald #define SCB_ISAR0_CMPBRANCH_INSTRS_1 ((uint32_t)0x00001000) /*!< adds CB{N}Z */ 6049*5fd0122aSMatthias Ringwald /* SCB_ISAR0[COPROC_INSTRS] Bits */ 6050*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS_OFS (16) /*!< COPROC_INSTRS Bit Offset */ 6051*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS_MASK ((uint32_t)0x000F0000) /*!< COPROC_INSTRS Bit Mask */ 6052*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS0 ((uint32_t)0x00010000) /*!< COPROC_INSTRS Bit 0 */ 6053*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS1 ((uint32_t)0x00020000) /*!< COPROC_INSTRS Bit 1 */ 6054*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS2 ((uint32_t)0x00040000) /*!< COPROC_INSTRS Bit 2 */ 6055*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS3 ((uint32_t)0x00080000) /*!< COPROC_INSTRS Bit 3 */ 6056*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS_0 ((uint32_t)0x00000000) /*!< no coprocessor support, other than for separately attributed architectures */ 6057*5fd0122aSMatthias Ringwald /* such as CP15 or VFP */ 6058*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS_1 ((uint32_t)0x00010000) /*!< adds generic CDP, LDC, MCR, MRC, STC */ 6059*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS_2 ((uint32_t)0x00020000) /*!< adds generic CDP2, LDC2, MCR2, MRC2, STC2 */ 6060*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS_3 ((uint32_t)0x00030000) /*!< adds generic MCRR, MRRC */ 6061*5fd0122aSMatthias Ringwald #define SCB_ISAR0_COPROC_INSTRS_4 ((uint32_t)0x00040000) /*!< adds generic MCRR2, MRRC2 */ 6062*5fd0122aSMatthias Ringwald /* SCB_ISAR0[DEBUG_INSTRS] Bits */ 6063*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS_OFS (20) /*!< DEBUG_INSTRS Bit Offset */ 6064*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS_MASK ((uint32_t)0x00F00000) /*!< DEBUG_INSTRS Bit Mask */ 6065*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS0 ((uint32_t)0x00100000) /*!< DEBUG_INSTRS Bit 0 */ 6066*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS1 ((uint32_t)0x00200000) /*!< DEBUG_INSTRS Bit 1 */ 6067*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS2 ((uint32_t)0x00400000) /*!< DEBUG_INSTRS Bit 2 */ 6068*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS3 ((uint32_t)0x00800000) /*!< DEBUG_INSTRS Bit 3 */ 6069*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS_0 ((uint32_t)0x00000000) /*!< no debug instructions present */ 6070*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DEBUG_INSTRS_1 ((uint32_t)0x00100000) /*!< adds BKPT */ 6071*5fd0122aSMatthias Ringwald /* SCB_ISAR0[DIVIDE_INSTRS] Bits */ 6072*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS_OFS (24) /*!< DIVIDE_INSTRS Bit Offset */ 6073*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS_MASK ((uint32_t)0x0F000000) /*!< DIVIDE_INSTRS Bit Mask */ 6074*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS0 ((uint32_t)0x01000000) /*!< DIVIDE_INSTRS Bit 0 */ 6075*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS1 ((uint32_t)0x02000000) /*!< DIVIDE_INSTRS Bit 1 */ 6076*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS2 ((uint32_t)0x04000000) /*!< DIVIDE_INSTRS Bit 2 */ 6077*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS3 ((uint32_t)0x08000000) /*!< DIVIDE_INSTRS Bit 3 */ 6078*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS_0 ((uint32_t)0x00000000) /*!< no divide instructions present */ 6079*5fd0122aSMatthias Ringwald #define SCB_ISAR0_DIVIDE_INSTRS_1 ((uint32_t)0x01000000) /*!< adds SDIV, UDIV (v1 quotient only result) */ 6080*5fd0122aSMatthias Ringwald /* SCB_ISAR1[ETEND_INSRS] Bits */ 6081*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS_OFS (12) /*!< EXTEND_INSRS Bit Offset */ 6082*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS_MASK ((uint32_t)0x0000F000) /*!< EXTEND_INSRS Bit Mask */ 6083*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS0 ((uint32_t)0x00001000) /*!< ETEND_INSRS Bit 0 */ 6084*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS1 ((uint32_t)0x00002000) /*!< ETEND_INSRS Bit 1 */ 6085*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS2 ((uint32_t)0x00004000) /*!< ETEND_INSRS Bit 2 */ 6086*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS3 ((uint32_t)0x00008000) /*!< ETEND_INSRS Bit 3 */ 6087*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS_0 ((uint32_t)0x00000000) /*!< no scalar (i.e. non-SIMD) sign/zero-extend instructions present */ 6088*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS_1 ((uint32_t)0x00001000) /*!< adds SXTB, SXTH, UXTB, UXTH */ 6089*5fd0122aSMatthias Ringwald #define SCB_ISAR1_ETEND_INSRS_2 ((uint32_t)0x00002000) /*!< N/A */ 6090*5fd0122aSMatthias Ringwald /* SCB_ISAR1[IFTHEN_INSTRS] Bits */ 6091*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS_OFS (16) /*!< IFTHEN_INSTRS Bit Offset */ 6092*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS_MASK ((uint32_t)0x000F0000) /*!< IFTHEN_INSTRS Bit Mask */ 6093*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS0 ((uint32_t)0x00010000) /*!< IFTHEN_INSTRS Bit 0 */ 6094*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS1 ((uint32_t)0x00020000) /*!< IFTHEN_INSTRS Bit 1 */ 6095*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS2 ((uint32_t)0x00040000) /*!< IFTHEN_INSTRS Bit 2 */ 6096*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS3 ((uint32_t)0x00080000) /*!< IFTHEN_INSTRS Bit 3 */ 6097*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS_0 ((uint32_t)0x00000000) /*!< IT instructions not present */ 6098*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IFTHEN_INSTRS_1 ((uint32_t)0x00010000) /*!< adds IT instructions (and IT bits in PSRs) */ 6099*5fd0122aSMatthias Ringwald /* SCB_ISAR1[IMMEDIATE_INSTRS] Bits */ 6100*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS_OFS (20) /*!< IMMEDIATE_INSTRS Bit Offset */ 6101*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS_MASK ((uint32_t)0x00F00000) /*!< IMMEDIATE_INSTRS Bit Mask */ 6102*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS0 ((uint32_t)0x00100000) /*!< IMMEDIATE_INSTRS Bit 0 */ 6103*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS1 ((uint32_t)0x00200000) /*!< IMMEDIATE_INSTRS Bit 1 */ 6104*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS2 ((uint32_t)0x00400000) /*!< IMMEDIATE_INSTRS Bit 2 */ 6105*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS3 ((uint32_t)0x00800000) /*!< IMMEDIATE_INSTRS Bit 3 */ 6106*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS_0 ((uint32_t)0x00000000) /*!< no special immediate-generating instructions present */ 6107*5fd0122aSMatthias Ringwald #define SCB_ISAR1_IMMEDIATE_INSTRS_1 ((uint32_t)0x00100000) /*!< adds ADDW, MOVW, MOVT, SUBW */ 6108*5fd0122aSMatthias Ringwald /* SCB_ISAR1[INTERWORK_INSTRS] Bits */ 6109*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS_OFS (24) /*!< INTERWORK_INSTRS Bit Offset */ 6110*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS_MASK ((uint32_t)0x0F000000) /*!< INTERWORK_INSTRS Bit Mask */ 6111*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS0 ((uint32_t)0x01000000) /*!< INTERWORK_INSTRS Bit 0 */ 6112*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS1 ((uint32_t)0x02000000) /*!< INTERWORK_INSTRS Bit 1 */ 6113*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS2 ((uint32_t)0x04000000) /*!< INTERWORK_INSTRS Bit 2 */ 6114*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS3 ((uint32_t)0x08000000) /*!< INTERWORK_INSTRS Bit 3 */ 6115*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS_0 ((uint32_t)0x00000000) /*!< no interworking instructions supported */ 6116*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS_1 ((uint32_t)0x01000000) /*!< adds BX (and T bit in PSRs) */ 6117*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS_2 ((uint32_t)0x02000000) /*!< adds BLX, and PC loads have BX-like behavior */ 6118*5fd0122aSMatthias Ringwald #define SCB_ISAR1_INTERWORK_INSTRS_3 ((uint32_t)0x03000000) /*!< N/A */ 6119*5fd0122aSMatthias Ringwald /* SCB_ISAR2[LOADSTORE_INSTRS] Bits */ 6120*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS_OFS ( 0) /*!< LOADSTORE_INSTRS Bit Offset */ 6121*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS_MASK ((uint32_t)0x0000000F) /*!< LOADSTORE_INSTRS Bit Mask */ 6122*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS0 ((uint32_t)0x00000001) /*!< LOADSTORE_INSTRS Bit 0 */ 6123*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS1 ((uint32_t)0x00000002) /*!< LOADSTORE_INSTRS Bit 1 */ 6124*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS2 ((uint32_t)0x00000004) /*!< LOADSTORE_INSTRS Bit 2 */ 6125*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS3 ((uint32_t)0x00000008) /*!< LOADSTORE_INSTRS Bit 3 */ 6126*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS_0 ((uint32_t)0x00000000) /*!< no additional normal load/store instructions present */ 6127*5fd0122aSMatthias Ringwald #define SCB_ISAR2_LOADSTORE_INSTRS_1 ((uint32_t)0x00000001) /*!< adds LDRD/STRD */ 6128*5fd0122aSMatthias Ringwald /* SCB_ISAR2[MEMHINT_INSTRS] Bits */ 6129*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS_OFS ( 4) /*!< MEMHINT_INSTRS Bit Offset */ 6130*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS_MASK ((uint32_t)0x000000F0) /*!< MEMHINT_INSTRS Bit Mask */ 6131*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS0 ((uint32_t)0x00000010) /*!< MEMHINT_INSTRS Bit 0 */ 6132*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS1 ((uint32_t)0x00000020) /*!< MEMHINT_INSTRS Bit 1 */ 6133*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS2 ((uint32_t)0x00000040) /*!< MEMHINT_INSTRS Bit 2 */ 6134*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS3 ((uint32_t)0x00000080) /*!< MEMHINT_INSTRS Bit 3 */ 6135*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS_0 ((uint32_t)0x00000000) /*!< no memory hint instructions presen */ 6136*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS_1 ((uint32_t)0x00000010) /*!< adds PLD */ 6137*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS_2 ((uint32_t)0x00000020) /*!< adds PLD (ie a repeat on value 1) */ 6138*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MEMHINT_INSTRS_3 ((uint32_t)0x00000030) /*!< adds PLI */ 6139*5fd0122aSMatthias Ringwald /* SCB_ISAR2[MULTIACCESSINT_INSTRS] Bits */ 6140*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS_OFS ( 8) /*!< MULTIACCESSINT_INSTRS Bit Offset */ 6141*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS_MASK ((uint32_t)0x00000F00) /*!< MULTIACCESSINT_INSTRS Bit Mask */ 6142*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS0 ((uint32_t)0x00000100) /*!< MULTIACCESSINT_INSTRS Bit 0 */ 6143*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS1 ((uint32_t)0x00000200) /*!< MULTIACCESSINT_INSTRS Bit 1 */ 6144*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS2 ((uint32_t)0x00000400) /*!< MULTIACCESSINT_INSTRS Bit 2 */ 6145*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS3 ((uint32_t)0x00000800) /*!< MULTIACCESSINT_INSTRS Bit 3 */ 6146*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS_0 ((uint32_t)0x00000000) /*!< the (LDM/STM) instructions are non-interruptible */ 6147*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS_1 ((uint32_t)0x00000100) /*!< the (LDM/STM) instructions are restartable */ 6148*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTIACCESSINT_INSTRS_2 ((uint32_t)0x00000200) /*!< the (LDM/STM) instructions are continuable */ 6149*5fd0122aSMatthias Ringwald /* SCB_ISAR2[MULT_INSTRS] Bits */ 6150*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS_OFS (12) /*!< MULT_INSTRS Bit Offset */ 6151*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS_MASK ((uint32_t)0x0000F000) /*!< MULT_INSTRS Bit Mask */ 6152*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS0 ((uint32_t)0x00001000) /*!< MULT_INSTRS Bit 0 */ 6153*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS1 ((uint32_t)0x00002000) /*!< MULT_INSTRS Bit 1 */ 6154*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS2 ((uint32_t)0x00004000) /*!< MULT_INSTRS Bit 2 */ 6155*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS3 ((uint32_t)0x00008000) /*!< MULT_INSTRS Bit 3 */ 6156*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS_0 ((uint32_t)0x00000000) /*!< only MUL present */ 6157*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS_1 ((uint32_t)0x00001000) /*!< adds MLA */ 6158*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULT_INSTRS_2 ((uint32_t)0x00002000) /*!< adds MLS */ 6159*5fd0122aSMatthias Ringwald /* SCB_ISAR2[MULTS_INSTRS] Bits */ 6160*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS_OFS (16) /*!< MULTS_INSTRS Bit Offset */ 6161*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS_MASK ((uint32_t)0x000F0000) /*!< MULTS_INSTRS Bit Mask */ 6162*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS0 ((uint32_t)0x00010000) /*!< MULTS_INSTRS Bit 0 */ 6163*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS1 ((uint32_t)0x00020000) /*!< MULTS_INSTRS Bit 1 */ 6164*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS2 ((uint32_t)0x00040000) /*!< MULTS_INSTRS Bit 2 */ 6165*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS3 ((uint32_t)0x00080000) /*!< MULTS_INSTRS Bit 3 */ 6166*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS_0 ((uint32_t)0x00000000) /*!< no signed multiply instructions present */ 6167*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS_1 ((uint32_t)0x00010000) /*!< adds SMULL, SMLAL */ 6168*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS_2 ((uint32_t)0x00020000) /*!< N/A */ 6169*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTS_INSTRS_3 ((uint32_t)0x00030000) /*!< N/A */ 6170*5fd0122aSMatthias Ringwald /* SCB_ISAR2[MULTU_INSTRS] Bits */ 6171*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS_OFS (20) /*!< MULTU_INSTRS Bit Offset */ 6172*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS_MASK ((uint32_t)0x00F00000) /*!< MULTU_INSTRS Bit Mask */ 6173*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS0 ((uint32_t)0x00100000) /*!< MULTU_INSTRS Bit 0 */ 6174*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS1 ((uint32_t)0x00200000) /*!< MULTU_INSTRS Bit 1 */ 6175*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS2 ((uint32_t)0x00400000) /*!< MULTU_INSTRS Bit 2 */ 6176*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS3 ((uint32_t)0x00800000) /*!< MULTU_INSTRS Bit 3 */ 6177*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS_0 ((uint32_t)0x00000000) /*!< no unsigned multiply instructions present */ 6178*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS_1 ((uint32_t)0x00100000) /*!< adds UMULL, UMLAL */ 6179*5fd0122aSMatthias Ringwald #define SCB_ISAR2_MULTU_INSTRS_2 ((uint32_t)0x00200000) /*!< N/A */ 6180*5fd0122aSMatthias Ringwald /* SCB_ISAR2[REVERSAL_INSTRS] Bits */ 6181*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS_OFS (28) /*!< REVERSAL_INSTRS Bit Offset */ 6182*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS_MASK ((uint32_t)0xF0000000) /*!< REVERSAL_INSTRS Bit Mask */ 6183*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS0 ((uint32_t)0x10000000) /*!< REVERSAL_INSTRS Bit 0 */ 6184*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS1 ((uint32_t)0x20000000) /*!< REVERSAL_INSTRS Bit 1 */ 6185*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS2 ((uint32_t)0x40000000) /*!< REVERSAL_INSTRS Bit 2 */ 6186*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS3 ((uint32_t)0x80000000) /*!< REVERSAL_INSTRS Bit 3 */ 6187*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS_0 ((uint32_t)0x00000000) /*!< no reversal instructions present */ 6188*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS_1 ((uint32_t)0x10000000) /*!< adds REV, REV16, REVSH */ 6189*5fd0122aSMatthias Ringwald #define SCB_ISAR2_REVERSAL_INSTRS_2 ((uint32_t)0x20000000) /*!< adds RBIT */ 6190*5fd0122aSMatthias Ringwald /* SCB_ISAR3[SATRUATE_INSTRS] Bits */ 6191*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS_OFS ( 0) /*!< SATRUATE_INSTRS Bit Offset */ 6192*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS_MASK ((uint32_t)0x0000000F) /*!< SATRUATE_INSTRS Bit Mask */ 6193*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS0 ((uint32_t)0x00000001) /*!< SATRUATE_INSTRS Bit 0 */ 6194*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS1 ((uint32_t)0x00000002) /*!< SATRUATE_INSTRS Bit 1 */ 6195*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS2 ((uint32_t)0x00000004) /*!< SATRUATE_INSTRS Bit 2 */ 6196*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS3 ((uint32_t)0x00000008) /*!< SATRUATE_INSTRS Bit 3 */ 6197*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS_0 ((uint32_t)0x00000000) /*!< no non-SIMD saturate instructions present */ 6198*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SATRUATE_INSTRS_1 ((uint32_t)0x00000001) /*!< N/A */ 6199*5fd0122aSMatthias Ringwald /* SCB_ISAR3[SIMD_INSTRS] Bits */ 6200*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS_OFS ( 4) /*!< SIMD_INSTRS Bit Offset */ 6201*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS_MASK ((uint32_t)0x000000F0) /*!< SIMD_INSTRS Bit Mask */ 6202*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS0 ((uint32_t)0x00000010) /*!< SIMD_INSTRS Bit 0 */ 6203*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS1 ((uint32_t)0x00000020) /*!< SIMD_INSTRS Bit 1 */ 6204*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS2 ((uint32_t)0x00000040) /*!< SIMD_INSTRS Bit 2 */ 6205*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS3 ((uint32_t)0x00000080) /*!< SIMD_INSTRS Bit 3 */ 6206*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS_0 ((uint32_t)0x00000000) /*!< no SIMD instructions present */ 6207*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS_1 ((uint32_t)0x00000010) /*!< adds SSAT, USAT (and the Q flag in the PSRs) */ 6208*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SIMD_INSTRS_3 ((uint32_t)0x00000030) /*!< N/A */ 6209*5fd0122aSMatthias Ringwald /* SCB_ISAR3[SVC_INSTRS] Bits */ 6210*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS_OFS ( 8) /*!< SVC_INSTRS Bit Offset */ 6211*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS_MASK ((uint32_t)0x00000F00) /*!< SVC_INSTRS Bit Mask */ 6212*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS0 ((uint32_t)0x00000100) /*!< SVC_INSTRS Bit 0 */ 6213*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS1 ((uint32_t)0x00000200) /*!< SVC_INSTRS Bit 1 */ 6214*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS2 ((uint32_t)0x00000400) /*!< SVC_INSTRS Bit 2 */ 6215*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS3 ((uint32_t)0x00000800) /*!< SVC_INSTRS Bit 3 */ 6216*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS_0 ((uint32_t)0x00000000) /*!< no SVC (SWI) instructions present */ 6217*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SVC_INSTRS_1 ((uint32_t)0x00000100) /*!< adds SVC (SWI) */ 6218*5fd0122aSMatthias Ringwald /* SCB_ISAR3[SYNCPRIM_INSTRS] Bits */ 6219*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS_OFS (12) /*!< SYNCPRIM_INSTRS Bit Offset */ 6220*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS_MASK ((uint32_t)0x0000F000) /*!< SYNCPRIM_INSTRS Bit Mask */ 6221*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS0 ((uint32_t)0x00001000) /*!< SYNCPRIM_INSTRS Bit 0 */ 6222*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS1 ((uint32_t)0x00002000) /*!< SYNCPRIM_INSTRS Bit 1 */ 6223*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS2 ((uint32_t)0x00004000) /*!< SYNCPRIM_INSTRS Bit 2 */ 6224*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS3 ((uint32_t)0x00008000) /*!< SYNCPRIM_INSTRS Bit 3 */ 6225*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS_0 ((uint32_t)0x00000000) /*!< no synchronization primitives present */ 6226*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS_1 ((uint32_t)0x00001000) /*!< adds LDREX, STREX */ 6227*5fd0122aSMatthias Ringwald #define SCB_ISAR3_SYNCPRIM_INSTRS_2 ((uint32_t)0x00002000) /*!< adds LDREXB, LDREXH, LDREXD, STREXB, STREXH, STREXD, CLREX(N/A) */ 6228*5fd0122aSMatthias Ringwald /* SCB_ISAR3[TABBRANCH_INSTRS] Bits */ 6229*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS_OFS (16) /*!< TABBRANCH_INSTRS Bit Offset */ 6230*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS_MASK ((uint32_t)0x000F0000) /*!< TABBRANCH_INSTRS Bit Mask */ 6231*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS0 ((uint32_t)0x00010000) /*!< TABBRANCH_INSTRS Bit 0 */ 6232*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS1 ((uint32_t)0x00020000) /*!< TABBRANCH_INSTRS Bit 1 */ 6233*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS2 ((uint32_t)0x00040000) /*!< TABBRANCH_INSTRS Bit 2 */ 6234*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS3 ((uint32_t)0x00080000) /*!< TABBRANCH_INSTRS Bit 3 */ 6235*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS_0 ((uint32_t)0x00000000) /*!< no table-branch instructions present */ 6236*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TABBRANCH_INSTRS_1 ((uint32_t)0x00010000) /*!< adds TBB, TBH */ 6237*5fd0122aSMatthias Ringwald /* SCB_ISAR3[THUMBCOPY_INSTRS] Bits */ 6238*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS_OFS (20) /*!< THUMBCOPY_INSTRS Bit Offset */ 6239*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS_MASK ((uint32_t)0x00F00000) /*!< THUMBCOPY_INSTRS Bit Mask */ 6240*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS0 ((uint32_t)0x00100000) /*!< THUMBCOPY_INSTRS Bit 0 */ 6241*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS1 ((uint32_t)0x00200000) /*!< THUMBCOPY_INSTRS Bit 1 */ 6242*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS2 ((uint32_t)0x00400000) /*!< THUMBCOPY_INSTRS Bit 2 */ 6243*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS3 ((uint32_t)0x00800000) /*!< THUMBCOPY_INSTRS Bit 3 */ 6244*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS_0 ((uint32_t)0x00000000) /*!< Thumb MOV(register) instruction does not allow low reg -> low reg */ 6245*5fd0122aSMatthias Ringwald #define SCB_ISAR3_THUMBCOPY_INSTRS_1 ((uint32_t)0x00100000) /*!< adds Thumb MOV(register) low reg -> low reg and the CPY alias */ 6246*5fd0122aSMatthias Ringwald /* SCB_ISAR3[TRUENOP_INSTRS] Bits */ 6247*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS_OFS (24) /*!< TRUENOP_INSTRS Bit Offset */ 6248*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS_MASK ((uint32_t)0x0F000000) /*!< TRUENOP_INSTRS Bit Mask */ 6249*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS0 ((uint32_t)0x01000000) /*!< TRUENOP_INSTRS Bit 0 */ 6250*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS1 ((uint32_t)0x02000000) /*!< TRUENOP_INSTRS Bit 1 */ 6251*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS2 ((uint32_t)0x04000000) /*!< TRUENOP_INSTRS Bit 2 */ 6252*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS3 ((uint32_t)0x08000000) /*!< TRUENOP_INSTRS Bit 3 */ 6253*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS_0 ((uint32_t)0x00000000) /*!< true NOP instructions not present - that is, NOP instructions with no */ 6254*5fd0122aSMatthias Ringwald /* register dependencies */ 6255*5fd0122aSMatthias Ringwald #define SCB_ISAR3_TRUENOP_INSTRS_1 ((uint32_t)0x01000000) /*!< adds "true NOP", and the capability of additional "NOP compatible hints" */ 6256*5fd0122aSMatthias Ringwald /* SCB_ISAR4[UNPRIV_INSTRS] Bits */ 6257*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS_OFS ( 0) /*!< UNPRIV_INSTRS Bit Offset */ 6258*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS_MASK ((uint32_t)0x0000000F) /*!< UNPRIV_INSTRS Bit Mask */ 6259*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS0 ((uint32_t)0x00000001) /*!< UNPRIV_INSTRS Bit 0 */ 6260*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS1 ((uint32_t)0x00000002) /*!< UNPRIV_INSTRS Bit 1 */ 6261*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS2 ((uint32_t)0x00000004) /*!< UNPRIV_INSTRS Bit 2 */ 6262*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS3 ((uint32_t)0x00000008) /*!< UNPRIV_INSTRS Bit 3 */ 6263*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS_0 ((uint32_t)0x00000000) /*!< no "T variant" instructions exist */ 6264*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS_1 ((uint32_t)0x00000001) /*!< adds LDRBT, LDRT, STRBT, STRT */ 6265*5fd0122aSMatthias Ringwald #define SCB_ISAR4_UNPRIV_INSTRS_2 ((uint32_t)0x00000002) /*!< adds LDRHT, LDRSBT, LDRSHT, STRHT */ 6266*5fd0122aSMatthias Ringwald /* SCB_ISAR4[WITHSHIFTS_INSTRS] Bits */ 6267*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS_OFS ( 4) /*!< WITHSHIFTS_INSTRS Bit Offset */ 6268*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS_MASK ((uint32_t)0x000000F0) /*!< WITHSHIFTS_INSTRS Bit Mask */ 6269*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS0 ((uint32_t)0x00000010) /*!< WITHSHIFTS_INSTRS Bit 0 */ 6270*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS1 ((uint32_t)0x00000020) /*!< WITHSHIFTS_INSTRS Bit 1 */ 6271*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS2 ((uint32_t)0x00000040) /*!< WITHSHIFTS_INSTRS Bit 2 */ 6272*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS3 ((uint32_t)0x00000080) /*!< WITHSHIFTS_INSTRS Bit 3 */ 6273*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS_0 ((uint32_t)0x00000000) /*!< non-zero shifts only support MOV and shift instructions (see notes) */ 6274*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS_1 ((uint32_t)0x00000010) /*!< shifts of loads/stores over the range LSL 0-3 */ 6275*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS_3 ((uint32_t)0x00000030) /*!< adds other constant shift options. */ 6276*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WITHSHIFTS_INSTRS_4 ((uint32_t)0x00000040) /*!< adds register-controlled shift options. */ 6277*5fd0122aSMatthias Ringwald /* SCB_ISAR4[WRITEBACK_INSTRS] Bits */ 6278*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS_OFS ( 8) /*!< WRITEBACK_INSTRS Bit Offset */ 6279*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS_MASK ((uint32_t)0x00000F00) /*!< WRITEBACK_INSTRS Bit Mask */ 6280*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS0 ((uint32_t)0x00000100) /*!< WRITEBACK_INSTRS Bit 0 */ 6281*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS1 ((uint32_t)0x00000200) /*!< WRITEBACK_INSTRS Bit 1 */ 6282*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS2 ((uint32_t)0x00000400) /*!< WRITEBACK_INSTRS Bit 2 */ 6283*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS3 ((uint32_t)0x00000800) /*!< WRITEBACK_INSTRS Bit 3 */ 6284*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS_0 ((uint32_t)0x00000000) /*!< only non-writeback addressing modes present, except that */ 6285*5fd0122aSMatthias Ringwald /* LDMIA/STMDB/PUSH/POP instructions support writeback addressing. */ 6286*5fd0122aSMatthias Ringwald #define SCB_ISAR4_WRITEBACK_INSTRS_1 ((uint32_t)0x00000100) /*!< adds all currently-defined writeback addressing modes (ARMv7, Thumb-2) */ 6287*5fd0122aSMatthias Ringwald /* SCB_ISAR4[BARRIER_INSTRS] Bits */ 6288*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS_OFS (16) /*!< BARRIER_INSTRS Bit Offset */ 6289*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS_MASK ((uint32_t)0x000F0000) /*!< BARRIER_INSTRS Bit Mask */ 6290*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS0 ((uint32_t)0x00010000) /*!< BARRIER_INSTRS Bit 0 */ 6291*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS1 ((uint32_t)0x00020000) /*!< BARRIER_INSTRS Bit 1 */ 6292*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS2 ((uint32_t)0x00040000) /*!< BARRIER_INSTRS Bit 2 */ 6293*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS3 ((uint32_t)0x00080000) /*!< BARRIER_INSTRS Bit 3 */ 6294*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS_0 ((uint32_t)0x00000000) /*!< no barrier instructions supported */ 6295*5fd0122aSMatthias Ringwald #define SCB_ISAR4_BARRIER_INSTRS_1 ((uint32_t)0x00010000) /*!< adds DMB, DSB, ISB barrier instructions */ 6296*5fd0122aSMatthias Ringwald /* SCB_ISAR4[SYNCPRIM_INSTRS_FRAC] Bits */ 6297*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC_OFS (20) /*!< SYNCPRIM_INSTRS_FRAC Bit Offset */ 6298*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC_MASK ((uint32_t)0x00F00000) /*!< SYNCPRIM_INSTRS_FRAC Bit Mask */ 6299*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC0 ((uint32_t)0x00100000) /*!< SYNCPRIM_INSTRS_FRAC Bit 0 */ 6300*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC1 ((uint32_t)0x00200000) /*!< SYNCPRIM_INSTRS_FRAC Bit 1 */ 6301*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC2 ((uint32_t)0x00400000) /*!< SYNCPRIM_INSTRS_FRAC Bit 2 */ 6302*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC3 ((uint32_t)0x00800000) /*!< SYNCPRIM_INSTRS_FRAC Bit 3 */ 6303*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC_0 ((uint32_t)0x00000000) /*!< no additional support */ 6304*5fd0122aSMatthias Ringwald #define SCB_ISAR4_SYNCPRIM_INSTRS_FRAC_3 ((uint32_t)0x00300000) /*!< adds CLREX, LDREXB, STREXB, LDREXH, STREXH */ 6305*5fd0122aSMatthias Ringwald /* SCB_ISAR4[PSR_M_INSTRS] Bits */ 6306*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS_OFS (24) /*!< PSR_M_INSTRS Bit Offset */ 6307*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS_MASK ((uint32_t)0x0F000000) /*!< PSR_M_INSTRS Bit Mask */ 6308*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS0 ((uint32_t)0x01000000) /*!< PSR_M_INSTRS Bit 0 */ 6309*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS1 ((uint32_t)0x02000000) /*!< PSR_M_INSTRS Bit 1 */ 6310*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS2 ((uint32_t)0x04000000) /*!< PSR_M_INSTRS Bit 2 */ 6311*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS3 ((uint32_t)0x08000000) /*!< PSR_M_INSTRS Bit 3 */ 6312*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS_0 ((uint32_t)0x00000000) /*!< instructions not present */ 6313*5fd0122aSMatthias Ringwald #define SCB_ISAR4_PSR_M_INSTRS_1 ((uint32_t)0x01000000) /*!< adds CPS, MRS, and MSR instructions (M-profile forms) */ 6314*5fd0122aSMatthias Ringwald /* SCB_CPACR[CP11] Bits */ 6315*5fd0122aSMatthias Ringwald #define SCB_CPACR_CP11_OFS (22) /*!< CP11 Bit Offset */ 6316*5fd0122aSMatthias Ringwald #define SCB_CPACR_CP11_MASK ((uint32_t)0x00C00000) /*!< CP11 Bit Mask */ 6317*5fd0122aSMatthias Ringwald /* SCB_CPACR[CP10] Bits */ 6318*5fd0122aSMatthias Ringwald #define SCB_CPACR_CP10_OFS (20) /*!< CP10 Bit Offset */ 6319*5fd0122aSMatthias Ringwald #define SCB_CPACR_CP10_MASK ((uint32_t)0x00300000) /*!< CP10 Bit Mask */ 6320*5fd0122aSMatthias Ringwald /* SCB_SHPR1[SCB_SHPR1_PRI_4] Bits */ 6321*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_4_OFS ( 0) /*!< PRI_4 Offset */ 6322*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_4_M ((uint32_t)0x000000ff) /* */ 6323*5fd0122aSMatthias Ringwald /* SCB_SHPR1[SCB_SHPR1_PRI_5] Bits */ 6324*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_5_OFS ( 8) /*!< PRI_5 Offset */ 6325*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_5_M ((uint32_t)0x0000ff00) /* */ 6326*5fd0122aSMatthias Ringwald /* SCB_SHPR1[SCB_SHPR1_PRI_6] Bits */ 6327*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_6_OFS (16) /*!< PRI_6 Offset */ 6328*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_6_M ((uint32_t)0x00ff0000) /* */ 6329*5fd0122aSMatthias Ringwald /* SCB_SHPR1[SCB_SHPR1_PRI_7] Bits */ 6330*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_7_OFS (24) /*!< PRI_7 Offset */ 6331*5fd0122aSMatthias Ringwald #define SCB_SHPR1_PRI_7_M ((uint32_t)0xff000000) /* */ 6332*5fd0122aSMatthias Ringwald /* SCB_SHPR2[SCB_SHPR2_PRI_8] Bits */ 6333*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_8_OFS ( 0) /*!< PRI_8 Offset */ 6334*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_8_M ((uint32_t)0x000000ff) /* */ 6335*5fd0122aSMatthias Ringwald /* SCB_SHPR2[SCB_SHPR2_PRI_9] Bits */ 6336*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_9_OFS ( 8) /*!< PRI_9 Offset */ 6337*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_9_M ((uint32_t)0x0000ff00) /* */ 6338*5fd0122aSMatthias Ringwald /* SCB_SHPR2[SCB_SHPR2_PRI_10] Bits */ 6339*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_10_OFS (16) /*!< PRI_10 Offset */ 6340*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_10_M ((uint32_t)0x00ff0000) /* */ 6341*5fd0122aSMatthias Ringwald /* SCB_SHPR2[SCB_SHPR2_PRI_11] Bits */ 6342*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_11_OFS (24) /*!< PRI_11 Offset */ 6343*5fd0122aSMatthias Ringwald #define SCB_SHPR2_PRI_11_M ((uint32_t)0xff000000) /* */ 6344*5fd0122aSMatthias Ringwald /* SCB_SHPR3[SCB_SHPR3_PRI_12] Bits */ 6345*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_12_OFS ( 0) /*!< PRI_12 Offset */ 6346*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_12_M ((uint32_t)0x000000ff) /* */ 6347*5fd0122aSMatthias Ringwald /* SCB_SHPR3[SCB_SHPR3_PRI_13] Bits */ 6348*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_13_OFS ( 8) /*!< PRI_13 Offset */ 6349*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_13_M ((uint32_t)0x0000ff00) /* */ 6350*5fd0122aSMatthias Ringwald /* SCB_SHPR3[SCB_SHPR3_PRI_14] Bits */ 6351*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_14_OFS (16) /*!< PRI_14 Offset */ 6352*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_14_M ((uint32_t)0x00ff0000) /* */ 6353*5fd0122aSMatthias Ringwald /* SCB_SHPR3[SCB_SHPR3_PRI_15] Bits */ 6354*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_15_OFS (24) /*!< PRI_15 Offset */ 6355*5fd0122aSMatthias Ringwald #define SCB_SHPR3_PRI_15_M ((uint32_t)0xff000000) /* */ 6356*5fd0122aSMatthias Ringwald 6357*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_IACCVIOL] Bits */ 6358*5fd0122aSMatthias Ringwald #define SCB_CFSR_IACCVIOL_OFS ( 0) /*!< IACCVIOL Offset */ 6359*5fd0122aSMatthias Ringwald #define SCB_CFSR_IACCVIOL ((uint32_t)0x00000001) /* */ 6360*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_DACCVIOL] Bits */ 6361*5fd0122aSMatthias Ringwald #define SCB_CFSR_DACCVIOL_OFS ( 1) /*!< DACCVIOL Offset */ 6362*5fd0122aSMatthias Ringwald #define SCB_CFSR_DACCVIOL ((uint32_t)0x00000002) /* */ 6363*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_MUNSTKERR] Bits */ 6364*5fd0122aSMatthias Ringwald #define SCB_CFSR_MUNSTKERR_OFS ( 3) /*!< MUNSTKERR Offset */ 6365*5fd0122aSMatthias Ringwald #define SCB_CFSR_MUNSTKERR ((uint32_t)0x00000008) /* */ 6366*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_MSTKERR] Bits */ 6367*5fd0122aSMatthias Ringwald #define SCB_CFSR_MSTKERR_OFS ( 4) /*!< MSTKERR Offset */ 6368*5fd0122aSMatthias Ringwald #define SCB_CFSR_MSTKERR ((uint32_t)0x00000010) /* */ 6369*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_MMARVALID] Bits */ 6370*5fd0122aSMatthias Ringwald #define SCB_CFSR_MMARVALID_OFS ( 7) /*!< MMARVALID Offset */ 6371*5fd0122aSMatthias Ringwald #define SCB_CFSR_MMARVALID ((uint32_t)0x00000080) /* */ 6372*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_IBUSERR] Bits */ 6373*5fd0122aSMatthias Ringwald #define SCB_CFSR_IBUSERR_OFS ( 8) /*!< IBUSERR Offset */ 6374*5fd0122aSMatthias Ringwald #define SCB_CFSR_IBUSERR ((uint32_t)0x00000100) /* */ 6375*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_PRECISERR] Bits */ 6376*5fd0122aSMatthias Ringwald #define SCB_CFSR_PRECISERR_OFS ( 9) /*!< PRECISERR Offset */ 6377*5fd0122aSMatthias Ringwald #define SCB_CFSR_PRECISERR ((uint32_t)0x00000200) /* */ 6378*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_IMPRECISERR] Bits */ 6379*5fd0122aSMatthias Ringwald #define SCB_CFSR_IMPRECISERR_OFS (10) /*!< IMPRECISERR Offset */ 6380*5fd0122aSMatthias Ringwald #define SCB_CFSR_IMPRECISERR ((uint32_t)0x00000400) /* */ 6381*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_UNSTKERR] Bits */ 6382*5fd0122aSMatthias Ringwald #define SCB_CFSR_UNSTKERR_OFS (11) /*!< UNSTKERR Offset */ 6383*5fd0122aSMatthias Ringwald #define SCB_CFSR_UNSTKERR ((uint32_t)0x00000800) /* */ 6384*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_STKERR] Bits */ 6385*5fd0122aSMatthias Ringwald #define SCB_CFSR_STKERR_OFS (12) /*!< STKERR Offset */ 6386*5fd0122aSMatthias Ringwald #define SCB_CFSR_STKERR ((uint32_t)0x00001000) /* */ 6387*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_BFARVALID] Bits */ 6388*5fd0122aSMatthias Ringwald #define SCB_CFSR_BFARVALID_OFS (15) /*!< BFARVALID Offset */ 6389*5fd0122aSMatthias Ringwald #define SCB_CFSR_BFARVALID ((uint32_t)0x00008000) /* */ 6390*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_UNDEFINSTR] Bits */ 6391*5fd0122aSMatthias Ringwald #define SCB_CFSR_UNDEFINSTR_OFS (16) /*!< UNDEFINSTR Offset */ 6392*5fd0122aSMatthias Ringwald #define SCB_CFSR_UNDEFINSTR ((uint32_t)0x00010000) /* */ 6393*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_INVSTATE] Bits */ 6394*5fd0122aSMatthias Ringwald #define SCB_CFSR_INVSTATE_OFS (17) /*!< INVSTATE Offset */ 6395*5fd0122aSMatthias Ringwald #define SCB_CFSR_INVSTATE ((uint32_t)0x00020000) /* */ 6396*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_INVPC] Bits */ 6397*5fd0122aSMatthias Ringwald #define SCB_CFSR_INVPC_OFS (18) /*!< INVPC Offset */ 6398*5fd0122aSMatthias Ringwald #define SCB_CFSR_INVPC ((uint32_t)0x00040000) /* */ 6399*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_NOCP] Bits */ 6400*5fd0122aSMatthias Ringwald #define SCB_CFSR_NOCP_OFS (19) /*!< NOCP Offset */ 6401*5fd0122aSMatthias Ringwald #define SCB_CFSR_NOCP ((uint32_t)0x00080000) /* */ 6402*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_UNALIGNED] Bits */ 6403*5fd0122aSMatthias Ringwald #define SCB_CFSR_UNALIGNED_OFS (24) /*!< UNALIGNED Offset */ 6404*5fd0122aSMatthias Ringwald #define SCB_CFSR_UNALIGNED ((uint32_t)0x01000000) /* */ 6405*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_DIVBYZERO] Bits */ 6406*5fd0122aSMatthias Ringwald #define SCB_CFSR_DIVBYZERO_OFS (25) /*!< DIVBYZERO Offset */ 6407*5fd0122aSMatthias Ringwald #define SCB_CFSR_DIVBYZERO ((uint32_t)0x02000000) /* */ 6408*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_MLSPERR] Bits */ 6409*5fd0122aSMatthias Ringwald #define SCB_CFSR_MLSPERR_OFS ( 5) /*!< MLSPERR Offset */ 6410*5fd0122aSMatthias Ringwald #define SCB_CFSR_MLSPERR ((uint32_t)0x00000020) /* */ 6411*5fd0122aSMatthias Ringwald /* SCB_CFSR[SCB_CFSR_LSPERR] Bits */ 6412*5fd0122aSMatthias Ringwald #define SCB_CFSR_LSPERR_OFS (13) /*!< LSPERR Offset */ 6413*5fd0122aSMatthias Ringwald #define SCB_CFSR_LSPERR ((uint32_t)0x00002000) /* */ 6414*5fd0122aSMatthias Ringwald 6415*5fd0122aSMatthias Ringwald 6416*5fd0122aSMatthias Ringwald /****************************************************************************** 6417*5fd0122aSMatthias Ringwald * SCNSCB Bits 6418*5fd0122aSMatthias Ringwald ******************************************************************************/ 6419*5fd0122aSMatthias Ringwald 6420*5fd0122aSMatthias Ringwald 6421*5fd0122aSMatthias Ringwald /****************************************************************************** 6422*5fd0122aSMatthias Ringwald * SYSCTL Bits 6423*5fd0122aSMatthias Ringwald ******************************************************************************/ 6424*5fd0122aSMatthias Ringwald /* SYSCTL_REBOOT_CTL[REBOOT] Bits */ 6425*5fd0122aSMatthias Ringwald #define SYSCTL_REBOOT_CTL_REBOOT_OFS ( 0) /*!< REBOOT Bit Offset */ 6426*5fd0122aSMatthias Ringwald #define SYSCTL_REBOOT_CTL_REBOOT ((uint32_t)0x00000001) /*!< Write 1 initiates a Reboot of the device */ 6427*5fd0122aSMatthias Ringwald /* SYSCTL_REBOOT_CTL[WKEY] Bits */ 6428*5fd0122aSMatthias Ringwald #define SYSCTL_REBOOT_CTL_WKEY_OFS ( 8) /*!< WKEY Bit Offset */ 6429*5fd0122aSMatthias Ringwald #define SYSCTL_REBOOT_CTL_WKEY_MASK ((uint32_t)0x0000FF00) /*!< WKEY Bit Mask */ 6430*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[CS_SRC] Bits */ 6431*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_CS_SRC_OFS ( 0) /*!< CS_SRC Bit Offset */ 6432*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_CS_SRC ((uint32_t)0x00000001) /*!< CS interrupt as a source of NMI */ 6433*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[PSS_SRC] Bits */ 6434*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PSS_SRC_OFS ( 1) /*!< PSS_SRC Bit Offset */ 6435*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PSS_SRC ((uint32_t)0x00000002) /*!< PSS interrupt as a source of NMI */ 6436*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[PCM_SRC] Bits */ 6437*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PCM_SRC_OFS ( 2) /*!< PCM_SRC Bit Offset */ 6438*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PCM_SRC ((uint32_t)0x00000004) /*!< PCM interrupt as a source of NMI */ 6439*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[PIN_SRC] Bits */ 6440*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PIN_SRC_OFS ( 3) /*!< PIN_SRC Bit Offset */ 6441*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PIN_SRC ((uint32_t)0x00000008) 6442*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[CS_FLG] Bits */ 6443*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_CS_FLG_OFS (16) /*!< CS_FLG Bit Offset */ 6444*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_CS_FLG ((uint32_t)0x00010000) /*!< CS interrupt was the source of NMI */ 6445*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[PSS_FLG] Bits */ 6446*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PSS_FLG_OFS (17) /*!< PSS_FLG Bit Offset */ 6447*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PSS_FLG ((uint32_t)0x00020000) /*!< PSS interrupt was the source of NMI */ 6448*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[PCM_FLG] Bits */ 6449*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PCM_FLG_OFS (18) /*!< PCM_FLG Bit Offset */ 6450*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PCM_FLG ((uint32_t)0x00040000) /*!< PCM interrupt was the source of NMI */ 6451*5fd0122aSMatthias Ringwald /* SYSCTL_NMI_CTLSTAT[PIN_FLG] Bits */ 6452*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PIN_FLG_OFS (19) /*!< PIN_FLG Bit Offset */ 6453*5fd0122aSMatthias Ringwald #define SYSCTL_NMI_CTLSTAT_PIN_FLG ((uint32_t)0x00080000) /*!< RSTn/NMI pin was the source of NMI */ 6454*5fd0122aSMatthias Ringwald /* SYSCTL_WDTRESET_CTL[TIMEOUT] Bits */ 6455*5fd0122aSMatthias Ringwald #define SYSCTL_WDTRESET_CTL_TIMEOUT_OFS ( 0) /*!< TIMEOUT Bit Offset */ 6456*5fd0122aSMatthias Ringwald #define SYSCTL_WDTRESET_CTL_TIMEOUT ((uint32_t)0x00000001) /*!< WDT timeout reset type */ 6457*5fd0122aSMatthias Ringwald /* SYSCTL_WDTRESET_CTL[VIOLATION] Bits */ 6458*5fd0122aSMatthias Ringwald #define SYSCTL_WDTRESET_CTL_VIOLATION_OFS ( 1) /*!< VIOLATION Bit Offset */ 6459*5fd0122aSMatthias Ringwald #define SYSCTL_WDTRESET_CTL_VIOLATION ((uint32_t)0x00000002) /*!< WDT password violation reset type */ 6460*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_T16_0] Bits */ 6461*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_0_OFS ( 0) /*!< HALT_T16_0 Bit Offset */ 6462*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_0 ((uint32_t)0x00000001) /*!< Freezes IP operation when CPU is halted */ 6463*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_T16_1] Bits */ 6464*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_1_OFS ( 1) /*!< HALT_T16_1 Bit Offset */ 6465*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_1 ((uint32_t)0x00000002) /*!< Freezes IP operation when CPU is halted */ 6466*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_T16_2] Bits */ 6467*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_2_OFS ( 2) /*!< HALT_T16_2 Bit Offset */ 6468*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_2 ((uint32_t)0x00000004) /*!< Freezes IP operation when CPU is halted */ 6469*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_T16_3] Bits */ 6470*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_3_OFS ( 3) /*!< HALT_T16_3 Bit Offset */ 6471*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T16_3 ((uint32_t)0x00000008) /*!< Freezes IP operation when CPU is halted */ 6472*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_T32_0] Bits */ 6473*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T32_0_OFS ( 4) /*!< HALT_T32_0 Bit Offset */ 6474*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_T32_0 ((uint32_t)0x00000010) /*!< Freezes IP operation when CPU is halted */ 6475*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUA0] Bits */ 6476*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA0_OFS ( 5) /*!< HALT_eUA0 Bit Offset */ 6477*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA0 ((uint32_t)0x00000020) /*!< Freezes IP operation when CPU is halted */ 6478*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUA1] Bits */ 6479*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA1_OFS ( 6) /*!< HALT_eUA1 Bit Offset */ 6480*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA1 ((uint32_t)0x00000040) /*!< Freezes IP operation when CPU is halted */ 6481*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUA2] Bits */ 6482*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA2_OFS ( 7) /*!< HALT_eUA2 Bit Offset */ 6483*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA2 ((uint32_t)0x00000080) /*!< Freezes IP operation when CPU is halted */ 6484*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUA3] Bits */ 6485*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA3_OFS ( 8) /*!< HALT_eUA3 Bit Offset */ 6486*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUA3 ((uint32_t)0x00000100) /*!< Freezes IP operation when CPU is halted */ 6487*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUB0] Bits */ 6488*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB0_OFS ( 9) /*!< HALT_eUB0 Bit Offset */ 6489*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB0 ((uint32_t)0x00000200) /*!< Freezes IP operation when CPU is halted */ 6490*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUB1] Bits */ 6491*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB1_OFS (10) /*!< HALT_eUB1 Bit Offset */ 6492*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB1 ((uint32_t)0x00000400) /*!< Freezes IP operation when CPU is halted */ 6493*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUB2] Bits */ 6494*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB2_OFS (11) /*!< HALT_eUB2 Bit Offset */ 6495*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB2 ((uint32_t)0x00000800) /*!< Freezes IP operation when CPU is halted */ 6496*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_eUB3] Bits */ 6497*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB3_OFS (12) /*!< HALT_eUB3 Bit Offset */ 6498*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_EUB3 ((uint32_t)0x00001000) /*!< Freezes IP operation when CPU is halted */ 6499*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_ADC] Bits */ 6500*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_ADC_OFS (13) /*!< HALT_ADC Bit Offset */ 6501*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_ADC ((uint32_t)0x00002000) /*!< Freezes IP operation when CPU is halted */ 6502*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_WDT] Bits */ 6503*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_WDT_OFS (14) /*!< HALT_WDT Bit Offset */ 6504*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_WDT ((uint32_t)0x00004000) /*!< Freezes IP operation when CPU is halted */ 6505*5fd0122aSMatthias Ringwald /* SYSCTL_PERIHALT_CTL[HALT_DMA] Bits */ 6506*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_DMA_OFS (15) /*!< HALT_DMA Bit Offset */ 6507*5fd0122aSMatthias Ringwald #define SYSCTL_PERIHALT_CTL_HALT_DMA ((uint32_t)0x00008000) /*!< Freezes IP operation when CPU is halted */ 6508*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK0_EN] Bits */ 6509*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK0_EN_OFS ( 0) /*!< BNK0_EN Bit Offset */ 6510*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK0_EN ((uint32_t)0x00000001) /*!< SRAM Bank0 enable */ 6511*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK1_EN] Bits */ 6512*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK1_EN_OFS ( 1) /*!< BNK1_EN Bit Offset */ 6513*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK1_EN ((uint32_t)0x00000002) /*!< SRAM Bank1 enable */ 6514*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK2_EN] Bits */ 6515*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK2_EN_OFS ( 2) /*!< BNK2_EN Bit Offset */ 6516*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK2_EN ((uint32_t)0x00000004) /*!< SRAM Bank1 enable */ 6517*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK3_EN] Bits */ 6518*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK3_EN_OFS ( 3) /*!< BNK3_EN Bit Offset */ 6519*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK3_EN ((uint32_t)0x00000008) /*!< SRAM Bank1 enable */ 6520*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK4_EN] Bits */ 6521*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK4_EN_OFS ( 4) /*!< BNK4_EN Bit Offset */ 6522*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK4_EN ((uint32_t)0x00000010) /*!< SRAM Bank1 enable */ 6523*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK5_EN] Bits */ 6524*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK5_EN_OFS ( 5) /*!< BNK5_EN Bit Offset */ 6525*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK5_EN ((uint32_t)0x00000020) /*!< SRAM Bank1 enable */ 6526*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK6_EN] Bits */ 6527*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK6_EN_OFS ( 6) /*!< BNK6_EN Bit Offset */ 6528*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK6_EN ((uint32_t)0x00000040) /*!< SRAM Bank1 enable */ 6529*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[BNK7_EN] Bits */ 6530*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK7_EN_OFS ( 7) /*!< BNK7_EN Bit Offset */ 6531*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_BNK7_EN ((uint32_t)0x00000080) /*!< SRAM Bank1 enable */ 6532*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKEN[SRAM_RDY] Bits */ 6533*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_SRAM_RDY_OFS (16) /*!< SRAM_RDY Bit Offset */ 6534*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKEN_SRAM_RDY ((uint32_t)0x00010000) /*!< SRAM ready */ 6535*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK0_RET] Bits */ 6536*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK0_RET_OFS ( 0) /*!< BNK0_RET Bit Offset */ 6537*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK0_RET ((uint32_t)0x00000001) /*!< Bank0 retention */ 6538*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK1_RET] Bits */ 6539*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK1_RET_OFS ( 1) /*!< BNK1_RET Bit Offset */ 6540*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK1_RET ((uint32_t)0x00000002) /*!< Bank1 retention */ 6541*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK2_RET] Bits */ 6542*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK2_RET_OFS ( 2) /*!< BNK2_RET Bit Offset */ 6543*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK2_RET ((uint32_t)0x00000004) /*!< Bank2 retention */ 6544*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK3_RET] Bits */ 6545*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK3_RET_OFS ( 3) /*!< BNK3_RET Bit Offset */ 6546*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK3_RET ((uint32_t)0x00000008) /*!< Bank3 retention */ 6547*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK4_RET] Bits */ 6548*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK4_RET_OFS ( 4) /*!< BNK4_RET Bit Offset */ 6549*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK4_RET ((uint32_t)0x00000010) /*!< Bank4 retention */ 6550*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK5_RET] Bits */ 6551*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK5_RET_OFS ( 5) /*!< BNK5_RET Bit Offset */ 6552*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK5_RET ((uint32_t)0x00000020) /*!< Bank5 retention */ 6553*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK6_RET] Bits */ 6554*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK6_RET_OFS ( 6) /*!< BNK6_RET Bit Offset */ 6555*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK6_RET ((uint32_t)0x00000040) /*!< Bank6 retention */ 6556*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[BNK7_RET] Bits */ 6557*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK7_RET_OFS ( 7) /*!< BNK7_RET Bit Offset */ 6558*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_BNK7_RET ((uint32_t)0x00000080) /*!< Bank7 retention */ 6559*5fd0122aSMatthias Ringwald /* SYSCTL_SRAM_BANKRET[SRAM_RDY] Bits */ 6560*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_SRAM_RDY_OFS (16) /*!< SRAM_RDY Bit Offset */ 6561*5fd0122aSMatthias Ringwald #define SYSCTL_SRAM_BANKRET_SRAM_RDY ((uint32_t)0x00010000) /*!< SRAM ready */ 6562*5fd0122aSMatthias Ringwald /* SYSCTL_DIO_GLTFLT_CTL[GLTCH_EN] Bits */ 6563*5fd0122aSMatthias Ringwald #define SYSCTL_DIO_GLTFLT_CTL_GLTCH_EN_OFS ( 0) /*!< GLTCH_EN Bit Offset */ 6564*5fd0122aSMatthias Ringwald #define SYSCTL_DIO_GLTFLT_CTL_GLTCH_EN ((uint32_t)0x00000001) /*!< Glitch filter enable */ 6565*5fd0122aSMatthias Ringwald /* SYSCTL_SECDATA_UNLOCK[UNLKEY] Bits */ 6566*5fd0122aSMatthias Ringwald #define SYSCTL_SECDATA_UNLOCK_UNLKEY_OFS ( 0) /*!< UNLKEY Bit Offset */ 6567*5fd0122aSMatthias Ringwald #define SYSCTL_SECDATA_UNLOCK_UNLKEY_MASK ((uint32_t)0x0000FFFF) /*!< UNLKEY Bit Mask */ 6568*5fd0122aSMatthias Ringwald /* SYSCTL_MASTER_UNLOCK[UNLKEY] Bits */ 6569*5fd0122aSMatthias Ringwald #define SYSCTL_MASTER_UNLOCK_UNLKEY_OFS ( 0) /*!< UNLKEY Bit Offset */ 6570*5fd0122aSMatthias Ringwald #define SYSCTL_MASTER_UNLOCK_UNLKEY_MASK ((uint32_t)0x0000FFFF) /*!< UNLKEY Bit Mask */ 6571*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_REQ[POR] Bits */ 6572*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_REQ_POR_OFS ( 0) /*!< POR Bit Offset */ 6573*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_REQ_POR ((uint32_t)0x00000001) /*!< Generate POR */ 6574*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_REQ[REBOOT] Bits */ 6575*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_REQ_REBOOT_OFS ( 1) /*!< REBOOT Bit Offset */ 6576*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_REQ_REBOOT ((uint32_t)0x00000002) /*!< Generate Reboot_Reset */ 6577*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_REQ[WKEY] Bits */ 6578*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_REQ_WKEY_OFS ( 8) /*!< WKEY Bit Offset */ 6579*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_REQ_WKEY_MASK ((uint32_t)0x0000FF00) /*!< WKEY Bit Mask */ 6580*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_STATOVER[SOFT] Bits */ 6581*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_SOFT_OFS ( 0) /*!< SOFT Bit Offset */ 6582*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_SOFT ((uint32_t)0x00000001) /*!< Indicates if SOFT Reset is active */ 6583*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_STATOVER[HARD] Bits */ 6584*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_HARD_OFS ( 1) /*!< HARD Bit Offset */ 6585*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_HARD ((uint32_t)0x00000002) /*!< Indicates if HARD Reset is active */ 6586*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_STATOVER[REBOOT] Bits */ 6587*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_REBOOT_OFS ( 2) /*!< REBOOT Bit Offset */ 6588*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_REBOOT ((uint32_t)0x00000004) /*!< Indicates if Reboot Reset is active */ 6589*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_STATOVER[SOFT_OVER] Bits */ 6590*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_SOFT_OVER_OFS ( 8) /*!< SOFT_OVER Bit Offset */ 6591*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_SOFT_OVER ((uint32_t)0x00000100) /*!< SOFT_Reset overwrite request */ 6592*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_STATOVER[HARD_OVER] Bits */ 6593*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_HARD_OVER_OFS ( 9) /*!< HARD_OVER Bit Offset */ 6594*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_HARD_OVER ((uint32_t)0x00000200) /*!< HARD_Reset overwrite request */ 6595*5fd0122aSMatthias Ringwald /* SYSCTL_RESET_STATOVER[RBT_OVER] Bits */ 6596*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_RBT_OVER_OFS (10) /*!< RBT_OVER Bit Offset */ 6597*5fd0122aSMatthias Ringwald #define SYSCTL_RESET_STATOVER_RBT_OVER ((uint32_t)0x00000400) /*!< Reboot Reset overwrite request */ 6598*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 6599*5fd0122aSMatthias Ringwald #define SYSCTL_REBOOT_CTL_WKEY_VAL ((uint32_t)0x00006900) /*!< Key value to enable writes to bit 0 */ 6600*5fd0122aSMatthias Ringwald /* cleared */ 6601*5fd0122aSMatthias Ringwald 6602*5fd0122aSMatthias Ringwald 6603*5fd0122aSMatthias Ringwald /****************************************************************************** 6604*5fd0122aSMatthias Ringwald * SYSTICK Bits 6605*5fd0122aSMatthias Ringwald ******************************************************************************/ 6606*5fd0122aSMatthias Ringwald 6607*5fd0122aSMatthias Ringwald /****************************************************************************** 6608*5fd0122aSMatthias Ringwald * Timer32 Bits 6609*5fd0122aSMatthias Ringwald ******************************************************************************/ 6610*5fd0122aSMatthias Ringwald /* TIMER32_CONTROL[ONESHOT] Bits */ 6611*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_ONESHOT_OFS ( 0) /*!< ONESHOT Bit Offset */ 6612*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_ONESHOT ((uint32_t)0x00000001) /*!< Selects one-shot or wrapping counter mode */ 6613*5fd0122aSMatthias Ringwald /* TIMER32_CONTROL[SIZE] Bits */ 6614*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_SIZE_OFS ( 1) /*!< SIZE Bit Offset */ 6615*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_SIZE ((uint32_t)0x00000002) /*!< Selects 16 or 32 bit counter operation */ 6616*5fd0122aSMatthias Ringwald /* TIMER32_CONTROL[PRESCALE] Bits */ 6617*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_PRESCALE_OFS ( 2) /*!< PRESCALE Bit Offset */ 6618*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_PRESCALE_MASK ((uint32_t)0x0000000C) /*!< PRESCALE Bit Mask */ 6619*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_PRESCALE0 ((uint32_t)0x00000004) /*!< PRESCALE Bit 0 */ 6620*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_PRESCALE1 ((uint32_t)0x00000008) /*!< PRESCALE Bit 1 */ 6621*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_PRESCALE_0 ((uint32_t)0x00000000) /*!< 0 stages of prescale, clock is divided by 1 */ 6622*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_PRESCALE_1 ((uint32_t)0x00000004) /*!< 4 stages of prescale, clock is divided by 16 */ 6623*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_PRESCALE_2 ((uint32_t)0x00000008) /*!< 8 stages of prescale, clock is divided by 256 */ 6624*5fd0122aSMatthias Ringwald /* TIMER32_CONTROL[IE] Bits */ 6625*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_IE_OFS ( 5) /*!< IE Bit Offset */ 6626*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_IE ((uint32_t)0x00000020) /*!< Interrupt enable bit */ 6627*5fd0122aSMatthias Ringwald /* TIMER32_CONTROL[MODE] Bits */ 6628*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_MODE_OFS ( 6) /*!< MODE Bit Offset */ 6629*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_MODE ((uint32_t)0x00000040) /*!< Mode bit */ 6630*5fd0122aSMatthias Ringwald /* TIMER32_CONTROL[ENABLE] Bits */ 6631*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_ENABLE_OFS ( 7) /*!< ENABLE Bit Offset */ 6632*5fd0122aSMatthias Ringwald #define TIMER32_CONTROL_ENABLE ((uint32_t)0x00000080) 6633*5fd0122aSMatthias Ringwald /* TIMER32_RIS[RAW_IFG] Bits */ 6634*5fd0122aSMatthias Ringwald #define TIMER32_RIS_RAW_IFG_OFS ( 0) /*!< RAW_IFG Bit Offset */ 6635*5fd0122aSMatthias Ringwald #define TIMER32_RIS_RAW_IFG ((uint32_t)0x00000001) /*!< Raw interrupt status */ 6636*5fd0122aSMatthias Ringwald /* TIMER32_MIS[IFG] Bits */ 6637*5fd0122aSMatthias Ringwald #define TIMER32_MIS_IFG_OFS ( 0) /*!< IFG Bit Offset */ 6638*5fd0122aSMatthias Ringwald #define TIMER32_MIS_IFG ((uint32_t)0x00000001) /*!< Enabled interrupt status */ 6639*5fd0122aSMatthias Ringwald 6640*5fd0122aSMatthias Ringwald 6641*5fd0122aSMatthias Ringwald 6642*5fd0122aSMatthias Ringwald /****************************************************************************** 6643*5fd0122aSMatthias Ringwald * TIMER_A Bits 6644*5fd0122aSMatthias Ringwald ******************************************************************************/ 6645*5fd0122aSMatthias Ringwald /* TIMER_A_CTL[IFG] Bits */ 6646*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_IFG_OFS ( 0) /*!< TAIFG Bit Offset */ 6647*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_IFG ((uint16_t)0x0001) /*!< TimerA interrupt flag */ 6648*5fd0122aSMatthias Ringwald /* TIMER_A_CTL[IE] Bits */ 6649*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_IE_OFS ( 1) /*!< TAIE Bit Offset */ 6650*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_IE ((uint16_t)0x0002) /*!< TimerA interrupt enable */ 6651*5fd0122aSMatthias Ringwald /* TIMER_A_CTL[CLR] Bits */ 6652*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_CLR_OFS ( 2) /*!< TACLR Bit Offset */ 6653*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_CLR ((uint16_t)0x0004) /*!< TimerA clear */ 6654*5fd0122aSMatthias Ringwald /* TIMER_A_CTL[MC] Bits */ 6655*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC_OFS ( 4) /*!< MC Bit Offset */ 6656*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC_MASK ((uint16_t)0x0030) /*!< MC Bit Mask */ 6657*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC0 ((uint16_t)0x0010) /*!< MC Bit 0 */ 6658*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC1 ((uint16_t)0x0020) /*!< MC Bit 1 */ 6659*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC_0 ((uint16_t)0x0000) /*!< Stop mode: Timer is halted */ 6660*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC_1 ((uint16_t)0x0010) /*!< Up mode: Timer counts up to TAxCCR0 */ 6661*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC_2 ((uint16_t)0x0020) /*!< Continuous mode: Timer counts up to 0FFFFh */ 6662*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC_3 ((uint16_t)0x0030) /*!< Up/down mode: Timer counts up to TAxCCR0 then down to 0000h */ 6663*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC__STOP ((uint16_t)0x0000) /*!< Stop mode: Timer is halted */ 6664*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC__UP ((uint16_t)0x0010) /*!< Up mode: Timer counts up to TAxCCR0 */ 6665*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC__CONTINUOUS ((uint16_t)0x0020) /*!< Continuous mode: Timer counts up to 0FFFFh */ 6666*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_MC__UPDOWN ((uint16_t)0x0030) /*!< Up/down mode: Timer counts up to TAxCCR0 then down to 0000h */ 6667*5fd0122aSMatthias Ringwald /* TIMER_A_CTL[ID] Bits */ 6668*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID_OFS ( 6) /*!< ID Bit Offset */ 6669*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID_MASK ((uint16_t)0x00C0) /*!< ID Bit Mask */ 6670*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID0 ((uint16_t)0x0040) /*!< ID Bit 0 */ 6671*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID1 ((uint16_t)0x0080) /*!< ID Bit 1 */ 6672*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID_0 ((uint16_t)0x0000) /*!< /1 */ 6673*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID_1 ((uint16_t)0x0040) /*!< /2 */ 6674*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID_2 ((uint16_t)0x0080) /*!< /4 */ 6675*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID_3 ((uint16_t)0x00C0) /*!< /8 */ 6676*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID__1 ((uint16_t)0x0000) /*!< /1 */ 6677*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID__2 ((uint16_t)0x0040) /*!< /2 */ 6678*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID__4 ((uint16_t)0x0080) /*!< /4 */ 6679*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_ID__8 ((uint16_t)0x00C0) /*!< /8 */ 6680*5fd0122aSMatthias Ringwald /* TIMER_A_CTL[SSEL] Bits */ 6681*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL_OFS ( 8) /*!< TASSEL Bit Offset */ 6682*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL_MASK ((uint16_t)0x0300) /*!< TASSEL Bit Mask */ 6683*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL0 ((uint16_t)0x0100) /*!< SSEL Bit 0 */ 6684*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL1 ((uint16_t)0x0200) /*!< SSEL Bit 1 */ 6685*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_TASSEL_0 ((uint16_t)0x0000) /*!< TAxCLK */ 6686*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_TASSEL_1 ((uint16_t)0x0100) /*!< ACLK */ 6687*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_TASSEL_2 ((uint16_t)0x0200) /*!< SMCLK */ 6688*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_TASSEL_3 ((uint16_t)0x0300) /*!< INCLK */ 6689*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL__TACLK ((uint16_t)0x0000) /*!< TAxCLK */ 6690*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL__ACLK ((uint16_t)0x0100) /*!< ACLK */ 6691*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL__SMCLK ((uint16_t)0x0200) /*!< SMCLK */ 6692*5fd0122aSMatthias Ringwald #define TIMER_A_CTL_SSEL__INCLK ((uint16_t)0x0300) /*!< INCLK */ 6693*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[CCIFG] Bits */ 6694*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIFG_OFS ( 0) /*!< CCIFG Bit Offset */ 6695*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIFG ((uint16_t)0x0001) /*!< Capture/compare interrupt flag */ 6696*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[COV] Bits */ 6697*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_COV_OFS ( 1) /*!< COV Bit Offset */ 6698*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_COV ((uint16_t)0x0002) /*!< Capture overflow */ 6699*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[OUT] Bits */ 6700*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUT_OFS ( 2) /*!< OUT Bit Offset */ 6701*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUT ((uint16_t)0x0004) /*!< Output */ 6702*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[CCI] Bits */ 6703*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCI_OFS ( 3) /*!< CCI Bit Offset */ 6704*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCI ((uint16_t)0x0008) /*!< Capture/compare input */ 6705*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[CCIE] Bits */ 6706*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIE_OFS ( 4) /*!< CCIE Bit Offset */ 6707*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIE ((uint16_t)0x0010) /*!< Capture/compare interrupt enable */ 6708*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[OUTMOD] Bits */ 6709*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_OFS ( 5) /*!< OUTMOD Bit Offset */ 6710*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_MASK ((uint16_t)0x00E0) /*!< OUTMOD Bit Mask */ 6711*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD0 ((uint16_t)0x0020) /*!< OUTMOD Bit 0 */ 6712*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD1 ((uint16_t)0x0040) /*!< OUTMOD Bit 1 */ 6713*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD2 ((uint16_t)0x0080) /*!< OUTMOD Bit 2 */ 6714*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_0 ((uint16_t)0x0000) /*!< OUT bit value */ 6715*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_1 ((uint16_t)0x0020) /*!< Set */ 6716*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_2 ((uint16_t)0x0040) /*!< Toggle/reset */ 6717*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_3 ((uint16_t)0x0060) /*!< Set/reset */ 6718*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_4 ((uint16_t)0x0080) /*!< Toggle */ 6719*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_5 ((uint16_t)0x00A0) /*!< Reset */ 6720*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_6 ((uint16_t)0x00C0) /*!< Toggle/set */ 6721*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_OUTMOD_7 ((uint16_t)0x00E0) /*!< Reset/set */ 6722*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[CAP] Bits */ 6723*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CAP_OFS ( 8) /*!< CAP Bit Offset */ 6724*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CAP ((uint16_t)0x0100) /*!< Capture mode */ 6725*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[SCCI] Bits */ 6726*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_SCCI_OFS (10) /*!< SCCI Bit Offset */ 6727*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_SCCI ((uint16_t)0x0400) /*!< Synchronized capture/compare input */ 6728*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[SCS] Bits */ 6729*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_SCS_OFS (11) /*!< SCS Bit Offset */ 6730*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_SCS ((uint16_t)0x0800) /*!< Synchronize capture source */ 6731*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[CCIS] Bits */ 6732*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS_OFS (12) /*!< CCIS Bit Offset */ 6733*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS_MASK ((uint16_t)0x3000) /*!< CCIS Bit Mask */ 6734*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS0 ((uint16_t)0x1000) /*!< CCIS Bit 0 */ 6735*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS1 ((uint16_t)0x2000) /*!< CCIS Bit 1 */ 6736*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS_0 ((uint16_t)0x0000) /*!< CCIxA */ 6737*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS_1 ((uint16_t)0x1000) /*!< CCIxB */ 6738*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS_2 ((uint16_t)0x2000) /*!< GND */ 6739*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS_3 ((uint16_t)0x3000) /*!< VCC */ 6740*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS__CCIA ((uint16_t)0x0000) /*!< CCIxA */ 6741*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS__CCIB ((uint16_t)0x1000) /*!< CCIxB */ 6742*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS__GND ((uint16_t)0x2000) /*!< GND */ 6743*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CCIS__VCC ((uint16_t)0x3000) /*!< VCC */ 6744*5fd0122aSMatthias Ringwald /* TIMER_A_CCTLN[CM] Bits */ 6745*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM_OFS (14) /*!< CM Bit Offset */ 6746*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM_MASK ((uint16_t)0xC000) /*!< CM Bit Mask */ 6747*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM0 ((uint16_t)0x4000) /*!< CM Bit 0 */ 6748*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM1 ((uint16_t)0x8000) /*!< CM Bit 1 */ 6749*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM_0 ((uint16_t)0x0000) /*!< No capture */ 6750*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM_1 ((uint16_t)0x4000) /*!< Capture on rising edge */ 6751*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM_2 ((uint16_t)0x8000) /*!< Capture on falling edge */ 6752*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM_3 ((uint16_t)0xC000) /*!< Capture on both rising and falling edges */ 6753*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM__NONE ((uint16_t)0x0000) /*!< No capture */ 6754*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM__RISING ((uint16_t)0x4000) /*!< Capture on rising edge */ 6755*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM__FALLING ((uint16_t)0x8000) /*!< Capture on falling edge */ 6756*5fd0122aSMatthias Ringwald #define TIMER_A_CCTLN_CM__BOTH ((uint16_t)0xC000) /*!< Capture on both rising and falling edges */ 6757*5fd0122aSMatthias Ringwald /* TIMER_A_EX0[IDEX] Bits */ 6758*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX_OFS ( 0) /*!< TAIDEX Bit Offset */ 6759*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX_MASK ((uint16_t)0x0007) /*!< TAIDEX Bit Mask */ 6760*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX0 ((uint16_t)0x0001) /*!< IDEX Bit 0 */ 6761*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX1 ((uint16_t)0x0002) /*!< IDEX Bit 1 */ 6762*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX2 ((uint16_t)0x0004) /*!< IDEX Bit 2 */ 6763*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_0 ((uint16_t)0x0000) /*!< Divide by 1 */ 6764*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_1 ((uint16_t)0x0001) /*!< Divide by 2 */ 6765*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_2 ((uint16_t)0x0002) /*!< Divide by 3 */ 6766*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_3 ((uint16_t)0x0003) /*!< Divide by 4 */ 6767*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_4 ((uint16_t)0x0004) /*!< Divide by 5 */ 6768*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_5 ((uint16_t)0x0005) /*!< Divide by 6 */ 6769*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_6 ((uint16_t)0x0006) /*!< Divide by 7 */ 6770*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_TAIDEX_7 ((uint16_t)0x0007) /*!< Divide by 8 */ 6771*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__1 ((uint16_t)0x0000) /*!< Divide by 1 */ 6772*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__2 ((uint16_t)0x0001) /*!< Divide by 2 */ 6773*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__3 ((uint16_t)0x0002) /*!< Divide by 3 */ 6774*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__4 ((uint16_t)0x0003) /*!< Divide by 4 */ 6775*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__5 ((uint16_t)0x0004) /*!< Divide by 5 */ 6776*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__6 ((uint16_t)0x0005) /*!< Divide by 6 */ 6777*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__7 ((uint16_t)0x0006) /*!< Divide by 7 */ 6778*5fd0122aSMatthias Ringwald #define TIMER_A_EX0_IDEX__8 ((uint16_t)0x0007) /*!< Divide by 8 */ 6779*5fd0122aSMatthias Ringwald 6780*5fd0122aSMatthias Ringwald /****************************************************************************** 6781*5fd0122aSMatthias Ringwald * TLV Bits 6782*5fd0122aSMatthias Ringwald ******************************************************************************/ 6783*5fd0122aSMatthias Ringwald /****************************************************************************** 6784*5fd0122aSMatthias Ringwald * TLV table start and TLV tags * 6785*5fd0122aSMatthias Ringwald ******************************************************************************/ 6786*5fd0122aSMatthias Ringwald #define TLV_START_ADDR (TLV_BASE + 0x0004) /*!< Start Address of the TLV structure */ 6787*5fd0122aSMatthias Ringwald 6788*5fd0122aSMatthias Ringwald #define TLV_TAG_RESERVED1 1 6789*5fd0122aSMatthias Ringwald #define TLV_TAG_RESERVED2 2 6790*5fd0122aSMatthias Ringwald #define TLV_TAG_CS 3 6791*5fd0122aSMatthias Ringwald #define TLV_TAG_FLASHCTL 4 6792*5fd0122aSMatthias Ringwald #define TLV_TAG_ADC14 5 6793*5fd0122aSMatthias Ringwald #define TLV_TAG_RESERVED6 6 6794*5fd0122aSMatthias Ringwald #define TLV_TAG_RESERVED7 7 6795*5fd0122aSMatthias Ringwald #define TLV_TAG_REF 8 6796*5fd0122aSMatthias Ringwald #define TLV_TAG_RESERVED9 9 6797*5fd0122aSMatthias Ringwald #define TLV_TAG_RESERVED10 10 6798*5fd0122aSMatthias Ringwald #define TLV_TAG_DEVINFO 11 6799*5fd0122aSMatthias Ringwald #define TLV_TAG_DIEREC 12 6800*5fd0122aSMatthias Ringwald #define TLV_TAG_RANDNUM 13 6801*5fd0122aSMatthias Ringwald #define TLV_TAG_RESERVED14 14 6802*5fd0122aSMatthias Ringwald #define TLV_TAG_BSL 15 6803*5fd0122aSMatthias Ringwald #define TLV_TAG_END (0x0BD0E11D) 6804*5fd0122aSMatthias Ringwald 6805*5fd0122aSMatthias Ringwald 6806*5fd0122aSMatthias Ringwald /****************************************************************************** 6807*5fd0122aSMatthias Ringwald * TPIU Bits 6808*5fd0122aSMatthias Ringwald ******************************************************************************/ 6809*5fd0122aSMatthias Ringwald 6810*5fd0122aSMatthias Ringwald 6811*5fd0122aSMatthias Ringwald /****************************************************************************** 6812*5fd0122aSMatthias Ringwald * WDT_A Bits 6813*5fd0122aSMatthias Ringwald ******************************************************************************/ 6814*5fd0122aSMatthias Ringwald /* WDT_A_CTL[IS] Bits */ 6815*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_OFS ( 0) /*!< WDTIS Bit Offset */ 6816*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_MASK ((uint16_t)0x0007) /*!< WDTIS Bit Mask */ 6817*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS0 ((uint16_t)0x0001) /*!< IS Bit 0 */ 6818*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS1 ((uint16_t)0x0002) /*!< IS Bit 1 */ 6819*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS2 ((uint16_t)0x0004) /*!< IS Bit 2 */ 6820*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_0 ((uint16_t)0x0000) /*!< Watchdog clock source / (2^(31)) (18:12:16 at 32.768 kHz) */ 6821*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_1 ((uint16_t)0x0001) /*!< Watchdog clock source /(2^(27)) (01:08:16 at 32.768 kHz) */ 6822*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_2 ((uint16_t)0x0002) /*!< Watchdog clock source /(2^(23)) (00:04:16 at 32.768 kHz) */ 6823*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_3 ((uint16_t)0x0003) /*!< Watchdog clock source /(2^(19)) (00:00:16 at 32.768 kHz) */ 6824*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_4 ((uint16_t)0x0004) /*!< Watchdog clock source /(2^(15)) (1 s at 32.768 kHz) */ 6825*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_5 ((uint16_t)0x0005) /*!< Watchdog clock source / (2^(13)) (250 ms at 32.768 kHz) */ 6826*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_6 ((uint16_t)0x0006) /*!< Watchdog clock source / (2^(9)) (15.625 ms at 32.768 kHz) */ 6827*5fd0122aSMatthias Ringwald #define WDT_A_CTL_IS_7 ((uint16_t)0x0007) /*!< Watchdog clock source / (2^(6)) (1.95 ms at 32.768 kHz) */ 6828*5fd0122aSMatthias Ringwald /* WDT_A_CTL[CNTCL] Bits */ 6829*5fd0122aSMatthias Ringwald #define WDT_A_CTL_CNTCL_OFS ( 3) /*!< WDTCNTCL Bit Offset */ 6830*5fd0122aSMatthias Ringwald #define WDT_A_CTL_CNTCL ((uint16_t)0x0008) /*!< Watchdog timer counter clear */ 6831*5fd0122aSMatthias Ringwald /* WDT_A_CTL[TMSEL] Bits */ 6832*5fd0122aSMatthias Ringwald #define WDT_A_CTL_TMSEL_OFS ( 4) /*!< WDTTMSEL Bit Offset */ 6833*5fd0122aSMatthias Ringwald #define WDT_A_CTL_TMSEL ((uint16_t)0x0010) /*!< Watchdog timer mode select */ 6834*5fd0122aSMatthias Ringwald /* WDT_A_CTL[SSEL] Bits */ 6835*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL_OFS ( 5) /*!< WDTSSEL Bit Offset */ 6836*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL_MASK ((uint16_t)0x0060) /*!< WDTSSEL Bit Mask */ 6837*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL0 ((uint16_t)0x0020) /*!< SSEL Bit 0 */ 6838*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL1 ((uint16_t)0x0040) /*!< SSEL Bit 1 */ 6839*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL_0 ((uint16_t)0x0000) /*!< SMCLK */ 6840*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL_1 ((uint16_t)0x0020) /*!< ACLK */ 6841*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL_2 ((uint16_t)0x0040) /*!< VLOCLK */ 6842*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL_3 ((uint16_t)0x0060) /*!< BCLK */ 6843*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL__SMCLK ((uint16_t)0x0000) /*!< SMCLK */ 6844*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL__ACLK ((uint16_t)0x0020) /*!< ACLK */ 6845*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL__VLOCLK ((uint16_t)0x0040) /*!< VLOCLK */ 6846*5fd0122aSMatthias Ringwald #define WDT_A_CTL_SSEL__BCLK ((uint16_t)0x0060) /*!< BCLK */ 6847*5fd0122aSMatthias Ringwald /* WDT_A_CTL[HOLD] Bits */ 6848*5fd0122aSMatthias Ringwald #define WDT_A_CTL_HOLD_OFS ( 7) /*!< WDTHOLD Bit Offset */ 6849*5fd0122aSMatthias Ringwald #define WDT_A_CTL_HOLD ((uint16_t)0x0080) /*!< Watchdog timer hold */ 6850*5fd0122aSMatthias Ringwald /* WDT_A_CTL[PW] Bits */ 6851*5fd0122aSMatthias Ringwald #define WDT_A_CTL_PW_OFS ( 8) /*!< WDTPW Bit Offset */ 6852*5fd0122aSMatthias Ringwald #define WDT_A_CTL_PW_MASK ((uint16_t)0xFF00) /*!< WDTPW Bit Mask */ 6853*5fd0122aSMatthias Ringwald /* Pre-defined bitfield values */ 6854*5fd0122aSMatthias Ringwald #define WDT_A_CTL_PW ((uint16_t)0x5A00) /*!< WDT Key Value for WDT write access */ 6855*5fd0122aSMatthias Ringwald 6856*5fd0122aSMatthias Ringwald 6857*5fd0122aSMatthias Ringwald /****************************************************************************** 6858*5fd0122aSMatthias Ringwald * BSL * 6859*5fd0122aSMatthias Ringwald ******************************************************************************/ 6860*5fd0122aSMatthias Ringwald #define BSL_DEFAULT_PARAM ((uint32_t)0xFC48FFFF) /*!< I2C slave address = 0x48, Interface selection = Auto */ 6861*5fd0122aSMatthias Ringwald #define BSL_API_TABLE_ADDR ((uint32_t)0x00202000) /*!< Address of BSL API table */ 6862*5fd0122aSMatthias Ringwald #define BSL_ENTRY_FUNCTION (*((uint32_t *)BSL_API_TABLE_ADDR)) 6863*5fd0122aSMatthias Ringwald 6864*5fd0122aSMatthias Ringwald #define BSL_AUTO_INTERFACE ((uint32_t)0x0000E0000) /*!< Auto detect interface */ 6865*5fd0122aSMatthias Ringwald #define BSL_UART_INTERFACE ((uint32_t)0x0000C0000) /*!< UART interface */ 6866*5fd0122aSMatthias Ringwald #define BSL_SPI_INTERFACE ((uint32_t)0x0000A0000) /*!< SPI interface */ 6867*5fd0122aSMatthias Ringwald #define BSL_I2C_INTERFACE ((uint32_t)0x000080000) /*!< I2C interface */ 6868*5fd0122aSMatthias Ringwald 6869*5fd0122aSMatthias Ringwald #define BSL_INVOKE(x) ((void (*)())BSL_ENTRY_FUNCTION)((uint32_t) x) /*!< Invoke the BSL with parameters */ 6870*5fd0122aSMatthias Ringwald 6871*5fd0122aSMatthias Ringwald 6872*5fd0122aSMatthias Ringwald /****************************************************************************** 6873*5fd0122aSMatthias Ringwald * Mailbox struct legacy definition * 6874*5fd0122aSMatthias Ringwald ******************************************************************************/ 6875*5fd0122aSMatthias Ringwald #define FLASH_MAILBOX_Type FL_BOOTOVER_MAILBOX_Type 6876*5fd0122aSMatthias Ringwald 6877*5fd0122aSMatthias Ringwald /****************************************************************************** 6878*5fd0122aSMatthias Ringwald * Device Unlock Support * 6879*5fd0122aSMatthias Ringwald ******************************************************************************/ 6880*5fd0122aSMatthias Ringwald /* unlock the device by: 6881*5fd0122aSMatthias Ringwald * Load SYSCTL_SECDATA_UNLOCK register address into R0 6882*5fd0122aSMatthias Ringwald * Load SYSCTL_SECDATA_UNLOCK unlock key into R1 6883*5fd0122aSMatthias Ringwald * Write the unlock key to the SYSCTL_SECDATA_UNLOCK register 6884*5fd0122aSMatthias Ringwald */ 6885*5fd0122aSMatthias Ringwald #define UNLOCK_DEVICE\ 6886*5fd0122aSMatthias Ringwald __asm(" MOVW.W R0, #0x3040");\ 6887*5fd0122aSMatthias Ringwald __asm(" MOVT.W R0, #0xE004");\ 6888*5fd0122aSMatthias Ringwald __asm(" MOVW.W R1, #0x695A");\ 6889*5fd0122aSMatthias Ringwald __asm(" MOVT.W R1, #0x0000");\ 6890*5fd0122aSMatthias Ringwald __asm(" STR R1, [R0]"); 6891*5fd0122aSMatthias Ringwald 6892*5fd0122aSMatthias Ringwald /****************************************************************************** 6893*5fd0122aSMatthias Ringwald * 6894*5fd0122aSMatthias Ringwald * The following are values that can be used to choose the command that will be 6895*5fd0122aSMatthias Ringwald * run by the boot code. Perform a logical OR of these settings to create your 6896*5fd0122aSMatthias Ringwald * general parameter command. 6897*5fd0122aSMatthias Ringwald * 6898*5fd0122aSMatthias Ringwald ******************************************************************************/ 6899*5fd0122aSMatthias Ringwald #define COMMAND_FACTORY_RESET ((uint32_t)0x00010000) 6900*5fd0122aSMatthias Ringwald #define COMMAND_BSL_CONFIG ((uint32_t)0x00020000) 6901*5fd0122aSMatthias Ringwald #define COMMAND_JTAG_SWD_LOCK_SECEN ((uint32_t)0x00080000) 6902*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE0_EN ((uint32_t)0x00100000) 6903*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE1_EN ((uint32_t)0x00200000) 6904*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE2_EN ((uint32_t)0x00400000) 6905*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE3_EN ((uint32_t)0x00800000) 6906*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE0_UPDATE ((uint32_t)0x01000000) 6907*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE1_UPDATE ((uint32_t)0x02000000) 6908*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE2_UPDATE ((uint32_t)0x04000000) 6909*5fd0122aSMatthias Ringwald #define COMMAND_SEC_ZONE3_UPDATE ((uint32_t)0x08000000) 6910*5fd0122aSMatthias Ringwald #define COMMAND_JTAG_SWD_LOCK_ENC_UPDATE ((uint32_t)0x10000000) 6911*5fd0122aSMatthias Ringwald #define COMMAND_NONE ((uint32_t)0xFFFFFFFF) 6912*5fd0122aSMatthias Ringwald 6913*5fd0122aSMatthias Ringwald /****************************************************************************** 6914*5fd0122aSMatthias Ringwald * 6915*5fd0122aSMatthias Ringwald * The following are values that can be used to configure the BSL. Perform a 6916*5fd0122aSMatthias Ringwald * logical OR of these settings to create your BSL parameter. 6917*5fd0122aSMatthias Ringwald * 6918*5fd0122aSMatthias Ringwald ******************************************************************************/ 6919*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE ((uint32_t)0x70000000) 6920*5fd0122aSMatthias Ringwald 6921*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PORT1 ((uint32_t)0x00000000) 6922*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PORT2 ((uint32_t)0x00000001) 6923*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PORT3 ((uint32_t)0x00000002) 6924*5fd0122aSMatthias Ringwald 6925*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN0 ((uint32_t)0x00000000) 6926*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN1 ((uint32_t)0x00000010) 6927*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN2 ((uint32_t)0x00000020) 6928*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN3 ((uint32_t)0x00000030) 6929*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN4 ((uint32_t)0x00000040) 6930*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN5 ((uint32_t)0x00000050) 6931*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN6 ((uint32_t)0x00000060) 6932*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN7 ((uint32_t)0x00000070) 6933*5fd0122aSMatthias Ringwald 6934*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN_LOW ((uint32_t)0x00000000) 6935*5fd0122aSMatthias Ringwald #define BSL_CONFIG_HW_INVOKE_PIN_HIGH ((uint32_t)0x00001000) 6936*5fd0122aSMatthias Ringwald 6937*5fd0122aSMatthias Ringwald #define BSL_CONFIG_INTERFACE_I2C ((uint32_t)0x00008000) 6938*5fd0122aSMatthias Ringwald #define BSL_CONFIG_INTERFACE_SPI ((uint32_t)0x0000A000) 6939*5fd0122aSMatthias Ringwald #define BSL_CONFIG_INTERFACE_UART ((uint32_t)0x0000C000) 6940*5fd0122aSMatthias Ringwald #define BSL_CONFIG_INTERFACE_AUTO ((uint32_t)0x0000E000) 6941*5fd0122aSMatthias Ringwald 6942*5fd0122aSMatthias Ringwald #define BSL_CONFIG_I2C_ADD_OFFSET (16) 6943*5fd0122aSMatthias Ringwald 6944*5fd0122aSMatthias Ringwald 6945*5fd0122aSMatthias Ringwald /****************************************************************************** 6946*5fd0122aSMatthias Ringwald * ULP Advisor * 6947*5fd0122aSMatthias Ringwald ******************************************************************************/ 6948*5fd0122aSMatthias Ringwald #ifdef __TI_ARM__ 6949*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(1,DIR={0x40004C04,8},OUT={0x40004C02,8},SEL1={0x40004C0A,8},SEL2={0x40004C0C,8}) 6950*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(2,DIR={0x40004C05,8},OUT={0x40004C03,8},SEL1={0x40004C0B,8},SEL2={0x40004C0D,8}) 6951*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(3,DIR={0x40004C24,8},OUT={0x40004C22,8},SEL1={0x40004C2A,8},SEL2={0x40004C2C,8}) 6952*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(4,DIR={0x40004C25,8},OUT={0x40004C23,8},SEL1={0x40004C2B,8},SEL2={0x40004C2D,8}) 6953*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(5,DIR={0x40004C44,8},OUT={0x40004C42,8},SEL1={0x40004C4A,8},SEL2={0x40004C4C,8}) 6954*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(6,DIR={0x40004C45,8},OUT={0x40004C43,8},SEL1={0x40004C4B,8},SEL2={0x40004C4D,8}) 6955*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(7,DIR={0x40004C64,8},OUT={0x40004C62,8},SEL1={0x40004C6A,8},SEL2={0x40004C6C,8}) 6956*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(8,DIR={0x40004C65,8},OUT={0x40004C63,8},SEL1={0x40004C6B,8},SEL2={0x40004C6D,8}) 6957*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(9,DIR={0x40004C84,8},OUT={0x40004C82,8},SEL1={0x40004C8A,8},SEL2={0x40004C8C,8}) 6958*5fd0122aSMatthias Ringwald #pragma ULP_PORT_CONFIG(10,DIR={0x40004C85,8},OUT={0x40004C83,8},SEL1={0x40004C8B,8},SEL2={0x40004C8D,8}) 6959*5fd0122aSMatthias Ringwald #endif 6960*5fd0122aSMatthias Ringwald 6961*5fd0122aSMatthias Ringwald 6962*5fd0122aSMatthias Ringwald #ifdef __cplusplus 6963*5fd0122aSMatthias Ringwald } 6964*5fd0122aSMatthias Ringwald #endif 6965*5fd0122aSMatthias Ringwald 6966*5fd0122aSMatthias Ringwald #endif /* __MSP432P401R_H__ */ 6967*5fd0122aSMatthias Ringwald 6968