The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Committer:
Mikchel
Date:
Sun May 03 16:04:42 2015 +0000
Revision:
99:7f6c6de930c0
Parent:
98:8ab26030e058
12

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 98:8ab26030e058 1 /**************************************************************************//**
Kojto 98:8ab26030e058 2 * @file efm32gg_etm.h
Kojto 98:8ab26030e058 3 * @brief EFM32GG_ETM register and bit field definitions
Kojto 98:8ab26030e058 4 * @version 3.20.6
Kojto 98:8ab26030e058 5 ******************************************************************************
Kojto 98:8ab26030e058 6 * @section License
Kojto 98:8ab26030e058 7 * <b>(C) Copyright 2014 Silicon Laboratories, Inc. http://www.silabs.com</b>
Kojto 98:8ab26030e058 8 ******************************************************************************
Kojto 98:8ab26030e058 9 *
Kojto 98:8ab26030e058 10 * Permission is granted to anyone to use this software for any purpose,
Kojto 98:8ab26030e058 11 * including commercial applications, and to alter it and redistribute it
Kojto 98:8ab26030e058 12 * freely, subject to the following restrictions:
Kojto 98:8ab26030e058 13 *
Kojto 98:8ab26030e058 14 * 1. The origin of this software must not be misrepresented; you must not
Kojto 98:8ab26030e058 15 * claim that you wrote the original software.@n
Kojto 98:8ab26030e058 16 * 2. Altered source versions must be plainly marked as such, and must not be
Kojto 98:8ab26030e058 17 * misrepresented as being the original software.@n
Kojto 98:8ab26030e058 18 * 3. This notice may not be removed or altered from any source distribution.
Kojto 98:8ab26030e058 19 *
Kojto 98:8ab26030e058 20 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
Kojto 98:8ab26030e058 21 * has no obligation to support this Software. Silicon Laboratories, Inc. is
Kojto 98:8ab26030e058 22 * providing the Software "AS IS", with no express or implied warranties of any
Kojto 98:8ab26030e058 23 * kind, including, but not limited to, any implied warranties of
Kojto 98:8ab26030e058 24 * merchantability or fitness for any particular purpose or warranties against
Kojto 98:8ab26030e058 25 * infringement of any proprietary rights of a third party.
Kojto 98:8ab26030e058 26 *
Kojto 98:8ab26030e058 27 * Silicon Laboratories, Inc. will not be liable for any consequential,
Kojto 98:8ab26030e058 28 * incidental, or special damages, or any other relief, or for any claim by
Kojto 98:8ab26030e058 29 * any third party, arising from your use of this Software.
Kojto 98:8ab26030e058 30 *
Kojto 98:8ab26030e058 31 *****************************************************************************/
Kojto 98:8ab26030e058 32 /**************************************************************************//**
Kojto 98:8ab26030e058 33 * @defgroup EFM32GG_ETM
Kojto 98:8ab26030e058 34 * @{
Kojto 98:8ab26030e058 35 * @brief EFM32GG_ETM Register Declaration
Kojto 98:8ab26030e058 36 *****************************************************************************/
Kojto 98:8ab26030e058 37 typedef struct
Kojto 98:8ab26030e058 38 {
Kojto 98:8ab26030e058 39 __IO uint32_t ETMCR; /**< Main Control Register */
Kojto 98:8ab26030e058 40 __I uint32_t ETMCCR; /**< Configuration Code Register */
Kojto 98:8ab26030e058 41 __IO uint32_t ETMTRIGGER; /**< ETM Trigger Event Register */
Kojto 98:8ab26030e058 42 uint32_t RESERVED0[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 43 __IO uint32_t ETMSR; /**< ETM Status Register */
Kojto 98:8ab26030e058 44 __I uint32_t ETMSCR; /**< ETM System Configuration Register */
Kojto 98:8ab26030e058 45 uint32_t RESERVED1[2]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 46 __IO uint32_t ETMTEEVR; /**< ETM TraceEnable Event Register */
Kojto 98:8ab26030e058 47 __IO uint32_t ETMTECR1; /**< ETM Trace control Register */
Kojto 98:8ab26030e058 48 uint32_t RESERVED2[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 49 __IO uint32_t ETMFFLR; /**< ETM Fifo Full Level Register */
Kojto 98:8ab26030e058 50 uint32_t RESERVED3[68]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 51 __IO uint32_t ETMCNTRLDVR1; /**< Counter Reload Value */
Kojto 98:8ab26030e058 52 uint32_t RESERVED4[39]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 53 __IO uint32_t ETMSYNCFR; /**< Synchronisation Frequency Register */
Kojto 98:8ab26030e058 54 __I uint32_t ETMIDR; /**< ID Register */
Kojto 98:8ab26030e058 55 __I uint32_t ETMCCER; /**< Configuration Code Extension Register */
Kojto 98:8ab26030e058 56 uint32_t RESERVED5[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 57 __IO uint32_t ETMTESSEICR; /**< TraceEnable Start/Stop EmbeddedICE Control Register */
Kojto 98:8ab26030e058 58 uint32_t RESERVED6[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 59 __IO uint32_t ETMTSEVR; /**< Timestamp Event Register */
Kojto 98:8ab26030e058 60 uint32_t RESERVED7[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 61 __IO uint32_t ETMTRACEIDR; /**< CoreSight Trace ID Register */
Kojto 98:8ab26030e058 62 uint32_t RESERVED8[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 63 __I uint32_t ETMIDR2; /**< ETM ID Register 2 */
Kojto 98:8ab26030e058 64 uint32_t RESERVED9[66]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 65 __I uint32_t ETMPDSR; /**< Device Power-down Status Register */
Kojto 98:8ab26030e058 66 uint32_t RESERVED10[754]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 67 __IO uint32_t ETMISCIN; /**< Integration Test Miscellaneous Inputs Register */
Kojto 98:8ab26030e058 68 uint32_t RESERVED11[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 69 __O uint32_t ITTRIGOUT; /**< Integration Test Trigger Out Register */
Kojto 98:8ab26030e058 70 uint32_t RESERVED12[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 71 __I uint32_t ETMITATBCTR2; /**< ETM Integration Test ATB Control 2 Register */
Kojto 98:8ab26030e058 72 uint32_t RESERVED13[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 73 __O uint32_t ETMITATBCTR0; /**< ETM Integration Test ATB Control 0 Register */
Kojto 98:8ab26030e058 74 uint32_t RESERVED14[1]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 75 __IO uint32_t ETMITCTRL; /**< ETM Integration Control Register */
Kojto 98:8ab26030e058 76 uint32_t RESERVED15[39]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 77 __IO uint32_t ETMCLAIMSET; /**< ETM Claim Tag Set Register */
Kojto 98:8ab26030e058 78 __IO uint32_t ETMCLAIMCLR; /**< ETM Claim Tag Clear Register */
Kojto 98:8ab26030e058 79 uint32_t RESERVED16[2]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 80 __IO uint32_t ETMLAR; /**< ETM Lock Access Register */
Kojto 98:8ab26030e058 81 __I uint32_t ETMLSR; /**< Lock Status Register */
Kojto 98:8ab26030e058 82 __I uint32_t ETMAUTHSTATUS; /**< ETM Authentication Status Register */
Kojto 98:8ab26030e058 83 uint32_t RESERVED17[4]; /**< Reserved for future use **/
Kojto 98:8ab26030e058 84 __I uint32_t ETMDEVTYPE; /**< CoreSight Device Type Register */
Kojto 98:8ab26030e058 85 __I uint32_t ETMPIDR4; /**< Peripheral ID4 Register */
Kojto 98:8ab26030e058 86 __O uint32_t ETMPIDR5; /**< Peripheral ID5 Register */
Kojto 98:8ab26030e058 87 __O uint32_t ETMPIDR6; /**< Peripheral ID6 Register */
Kojto 98:8ab26030e058 88 __O uint32_t ETMPIDR7; /**< Peripheral ID7 Register */
Kojto 98:8ab26030e058 89 __I uint32_t ETMPIDR0; /**< Peripheral ID0 Register */
Kojto 98:8ab26030e058 90 __I uint32_t ETMPIDR1; /**< Peripheral ID1 Register */
Kojto 98:8ab26030e058 91 __I uint32_t ETMPIDR2; /**< Peripheral ID2 Register */
Kojto 98:8ab26030e058 92 __I uint32_t ETMPIDR3; /**< Peripheral ID3 Register */
Kojto 98:8ab26030e058 93 __I uint32_t ETMCIDR0; /**< Component ID0 Register */
Kojto 98:8ab26030e058 94 __I uint32_t ETMCIDR1; /**< Component ID1 Register */
Kojto 98:8ab26030e058 95 __I uint32_t ETMCIDR2; /**< Component ID2 Register */
Kojto 98:8ab26030e058 96 __I uint32_t ETMCIDR3; /**< Component ID3 Register */
Kojto 98:8ab26030e058 97 } ETM_TypeDef; /** @} */
Kojto 98:8ab26030e058 98
Kojto 98:8ab26030e058 99 /**************************************************************************//**
Kojto 98:8ab26030e058 100 * @defgroup EFM32GG_ETM_BitFields
Kojto 98:8ab26030e058 101 * @{
Kojto 98:8ab26030e058 102 *****************************************************************************/
Kojto 98:8ab26030e058 103
Kojto 98:8ab26030e058 104 /* Bit fields for ETM ETMCR */
Kojto 98:8ab26030e058 105 #define _ETM_ETMCR_RESETVALUE 0x00000411UL /**< Default value for ETM_ETMCR */
Kojto 98:8ab26030e058 106 #define _ETM_ETMCR_MASK 0x10632FF1UL /**< Mask for ETM_ETMCR */
Kojto 98:8ab26030e058 107 #define ETM_ETMCR_POWERDWN (0x1UL << 0) /**< ETM Control in low power mode */
Kojto 98:8ab26030e058 108 #define _ETM_ETMCR_POWERDWN_SHIFT 0 /**< Shift value for ETM_POWERDWN */
Kojto 98:8ab26030e058 109 #define _ETM_ETMCR_POWERDWN_MASK 0x1UL /**< Bit mask for ETM_POWERDWN */
Kojto 98:8ab26030e058 110 #define _ETM_ETMCR_POWERDWN_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 111 #define ETM_ETMCR_POWERDWN_DEFAULT (_ETM_ETMCR_POWERDWN_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 112 #define _ETM_ETMCR_PORTSIZE_SHIFT 4 /**< Shift value for ETM_PORTSIZE */
Kojto 98:8ab26030e058 113 #define _ETM_ETMCR_PORTSIZE_MASK 0x70UL /**< Bit mask for ETM_PORTSIZE */
Kojto 98:8ab26030e058 114 #define _ETM_ETMCR_PORTSIZE_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 115 #define ETM_ETMCR_PORTSIZE_DEFAULT (_ETM_ETMCR_PORTSIZE_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 116 #define ETM_ETMCR_STALL (0x1UL << 7) /**< Stall Processor */
Kojto 98:8ab26030e058 117 #define _ETM_ETMCR_STALL_SHIFT 7 /**< Shift value for ETM_STALL */
Kojto 98:8ab26030e058 118 #define _ETM_ETMCR_STALL_MASK 0x80UL /**< Bit mask for ETM_STALL */
Kojto 98:8ab26030e058 119 #define _ETM_ETMCR_STALL_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 120 #define ETM_ETMCR_STALL_DEFAULT (_ETM_ETMCR_STALL_DEFAULT << 7) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 121 #define ETM_ETMCR_BRANCHOUTPUT (0x1UL << 8) /**< Branch Output */
Kojto 98:8ab26030e058 122 #define _ETM_ETMCR_BRANCHOUTPUT_SHIFT 8 /**< Shift value for ETM_BRANCHOUTPUT */
Kojto 98:8ab26030e058 123 #define _ETM_ETMCR_BRANCHOUTPUT_MASK 0x100UL /**< Bit mask for ETM_BRANCHOUTPUT */
Kojto 98:8ab26030e058 124 #define _ETM_ETMCR_BRANCHOUTPUT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 125 #define ETM_ETMCR_BRANCHOUTPUT_DEFAULT (_ETM_ETMCR_BRANCHOUTPUT_DEFAULT << 8) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 126 #define ETM_ETMCR_DBGREQCTRL (0x1UL << 9) /**< Debug Request Control */
Kojto 98:8ab26030e058 127 #define _ETM_ETMCR_DBGREQCTRL_SHIFT 9 /**< Shift value for ETM_DBGREQCTRL */
Kojto 98:8ab26030e058 128 #define _ETM_ETMCR_DBGREQCTRL_MASK 0x200UL /**< Bit mask for ETM_DBGREQCTRL */
Kojto 98:8ab26030e058 129 #define _ETM_ETMCR_DBGREQCTRL_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 130 #define ETM_ETMCR_DBGREQCTRL_DEFAULT (_ETM_ETMCR_DBGREQCTRL_DEFAULT << 9) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 131 #define ETM_ETMCR_ETMPROG (0x1UL << 10) /**< ETM Programming */
Kojto 98:8ab26030e058 132 #define _ETM_ETMCR_ETMPROG_SHIFT 10 /**< Shift value for ETM_ETMPROG */
Kojto 98:8ab26030e058 133 #define _ETM_ETMCR_ETMPROG_MASK 0x400UL /**< Bit mask for ETM_ETMPROG */
Kojto 98:8ab26030e058 134 #define _ETM_ETMCR_ETMPROG_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 135 #define ETM_ETMCR_ETMPROG_DEFAULT (_ETM_ETMCR_ETMPROG_DEFAULT << 10) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 136 #define ETM_ETMCR_ETMPORTSEL (0x1UL << 11) /**< ETM Port Selection */
Kojto 98:8ab26030e058 137 #define _ETM_ETMCR_ETMPORTSEL_SHIFT 11 /**< Shift value for ETM_ETMPORTSEL */
Kojto 98:8ab26030e058 138 #define _ETM_ETMCR_ETMPORTSEL_MASK 0x800UL /**< Bit mask for ETM_ETMPORTSEL */
Kojto 98:8ab26030e058 139 #define _ETM_ETMCR_ETMPORTSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 140 #define _ETM_ETMCR_ETMPORTSEL_ETMLOW 0x00000000UL /**< Mode ETMLOW for ETM_ETMCR */
Kojto 98:8ab26030e058 141 #define _ETM_ETMCR_ETMPORTSEL_ETMHIGH 0x00000001UL /**< Mode ETMHIGH for ETM_ETMCR */
Kojto 98:8ab26030e058 142 #define ETM_ETMCR_ETMPORTSEL_DEFAULT (_ETM_ETMCR_ETMPORTSEL_DEFAULT << 11) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 143 #define ETM_ETMCR_ETMPORTSEL_ETMLOW (_ETM_ETMCR_ETMPORTSEL_ETMLOW << 11) /**< Shifted mode ETMLOW for ETM_ETMCR */
Kojto 98:8ab26030e058 144 #define ETM_ETMCR_ETMPORTSEL_ETMHIGH (_ETM_ETMCR_ETMPORTSEL_ETMHIGH << 11) /**< Shifted mode ETMHIGH for ETM_ETMCR */
Kojto 98:8ab26030e058 145 #define ETM_ETMCR_PORTMODE2 (0x1UL << 13) /**< Port Mode[2] */
Kojto 98:8ab26030e058 146 #define _ETM_ETMCR_PORTMODE2_SHIFT 13 /**< Shift value for ETM_PORTMODE2 */
Kojto 98:8ab26030e058 147 #define _ETM_ETMCR_PORTMODE2_MASK 0x2000UL /**< Bit mask for ETM_PORTMODE2 */
Kojto 98:8ab26030e058 148 #define _ETM_ETMCR_PORTMODE2_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 149 #define ETM_ETMCR_PORTMODE2_DEFAULT (_ETM_ETMCR_PORTMODE2_DEFAULT << 13) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 150 #define _ETM_ETMCR_PORTMODE_SHIFT 16 /**< Shift value for ETM_PORTMODE */
Kojto 98:8ab26030e058 151 #define _ETM_ETMCR_PORTMODE_MASK 0x30000UL /**< Bit mask for ETM_PORTMODE */
Kojto 98:8ab26030e058 152 #define _ETM_ETMCR_PORTMODE_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 153 #define ETM_ETMCR_PORTMODE_DEFAULT (_ETM_ETMCR_PORTMODE_DEFAULT << 16) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 154 #define _ETM_ETMCR_EPORTSIZE_SHIFT 21 /**< Shift value for ETM_EPORTSIZE */
Kojto 98:8ab26030e058 155 #define _ETM_ETMCR_EPORTSIZE_MASK 0x600000UL /**< Bit mask for ETM_EPORTSIZE */
Kojto 98:8ab26030e058 156 #define _ETM_ETMCR_EPORTSIZE_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 157 #define ETM_ETMCR_EPORTSIZE_DEFAULT (_ETM_ETMCR_EPORTSIZE_DEFAULT << 21) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 158 #define ETM_ETMCR_TSTAMPEN (0x1UL << 28) /**< Time Stamp Enable */
Kojto 98:8ab26030e058 159 #define _ETM_ETMCR_TSTAMPEN_SHIFT 28 /**< Shift value for ETM_TSTAMPEN */
Kojto 98:8ab26030e058 160 #define _ETM_ETMCR_TSTAMPEN_MASK 0x10000000UL /**< Bit mask for ETM_TSTAMPEN */
Kojto 98:8ab26030e058 161 #define _ETM_ETMCR_TSTAMPEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 162 #define ETM_ETMCR_TSTAMPEN_DEFAULT (_ETM_ETMCR_TSTAMPEN_DEFAULT << 28) /**< Shifted mode DEFAULT for ETM_ETMCR */
Kojto 98:8ab26030e058 163
Kojto 98:8ab26030e058 164 /* Bit fields for ETM ETMCCR */
Kojto 98:8ab26030e058 165 #define _ETM_ETMCCR_RESETVALUE 0x8C802000UL /**< Default value for ETM_ETMCCR */
Kojto 98:8ab26030e058 166 #define _ETM_ETMCCR_MASK 0x8FFFFFFFUL /**< Mask for ETM_ETMCCR */
Kojto 98:8ab26030e058 167 #define _ETM_ETMCCR_ADRCMPPAIR_SHIFT 0 /**< Shift value for ETM_ADRCMPPAIR */
Kojto 98:8ab26030e058 168 #define _ETM_ETMCCR_ADRCMPPAIR_MASK 0xFUL /**< Bit mask for ETM_ADRCMPPAIR */
Kojto 98:8ab26030e058 169 #define _ETM_ETMCCR_ADRCMPPAIR_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 170 #define ETM_ETMCCR_ADRCMPPAIR_DEFAULT (_ETM_ETMCCR_ADRCMPPAIR_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 171 #define _ETM_ETMCCR_DATACMPNUM_SHIFT 4 /**< Shift value for ETM_DATACMPNUM */
Kojto 98:8ab26030e058 172 #define _ETM_ETMCCR_DATACMPNUM_MASK 0xF0UL /**< Bit mask for ETM_DATACMPNUM */
Kojto 98:8ab26030e058 173 #define _ETM_ETMCCR_DATACMPNUM_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 174 #define ETM_ETMCCR_DATACMPNUM_DEFAULT (_ETM_ETMCCR_DATACMPNUM_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 175 #define _ETM_ETMCCR_MMDECCNT_SHIFT 8 /**< Shift value for ETM_MMDECCNT */
Kojto 98:8ab26030e058 176 #define _ETM_ETMCCR_MMDECCNT_MASK 0x1F00UL /**< Bit mask for ETM_MMDECCNT */
Kojto 98:8ab26030e058 177 #define _ETM_ETMCCR_MMDECCNT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 178 #define ETM_ETMCCR_MMDECCNT_DEFAULT (_ETM_ETMCCR_MMDECCNT_DEFAULT << 8) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 179 #define _ETM_ETMCCR_COUNTNUM_SHIFT 13 /**< Shift value for ETM_COUNTNUM */
Kojto 98:8ab26030e058 180 #define _ETM_ETMCCR_COUNTNUM_MASK 0xE000UL /**< Bit mask for ETM_COUNTNUM */
Kojto 98:8ab26030e058 181 #define _ETM_ETMCCR_COUNTNUM_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 182 #define ETM_ETMCCR_COUNTNUM_DEFAULT (_ETM_ETMCCR_COUNTNUM_DEFAULT << 13) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 183 #define ETM_ETMCCR_SEQPRES (0x1UL << 16) /**< Sequencer Present */
Kojto 98:8ab26030e058 184 #define _ETM_ETMCCR_SEQPRES_SHIFT 16 /**< Shift value for ETM_SEQPRES */
Kojto 98:8ab26030e058 185 #define _ETM_ETMCCR_SEQPRES_MASK 0x10000UL /**< Bit mask for ETM_SEQPRES */
Kojto 98:8ab26030e058 186 #define _ETM_ETMCCR_SEQPRES_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 187 #define ETM_ETMCCR_SEQPRES_DEFAULT (_ETM_ETMCCR_SEQPRES_DEFAULT << 16) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 188 #define _ETM_ETMCCR_EXTINPNUM_SHIFT 17 /**< Shift value for ETM_EXTINPNUM */
Kojto 98:8ab26030e058 189 #define _ETM_ETMCCR_EXTINPNUM_MASK 0xE0000UL /**< Bit mask for ETM_EXTINPNUM */
Kojto 98:8ab26030e058 190 #define _ETM_ETMCCR_EXTINPNUM_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 191 #define _ETM_ETMCCR_EXTINPNUM_ZERO 0x00000000UL /**< Mode ZERO for ETM_ETMCCR */
Kojto 98:8ab26030e058 192 #define _ETM_ETMCCR_EXTINPNUM_ONE 0x00000001UL /**< Mode ONE for ETM_ETMCCR */
Kojto 98:8ab26030e058 193 #define _ETM_ETMCCR_EXTINPNUM_TWO 0x00000002UL /**< Mode TWO for ETM_ETMCCR */
Kojto 98:8ab26030e058 194 #define ETM_ETMCCR_EXTINPNUM_DEFAULT (_ETM_ETMCCR_EXTINPNUM_DEFAULT << 17) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 195 #define ETM_ETMCCR_EXTINPNUM_ZERO (_ETM_ETMCCR_EXTINPNUM_ZERO << 17) /**< Shifted mode ZERO for ETM_ETMCCR */
Kojto 98:8ab26030e058 196 #define ETM_ETMCCR_EXTINPNUM_ONE (_ETM_ETMCCR_EXTINPNUM_ONE << 17) /**< Shifted mode ONE for ETM_ETMCCR */
Kojto 98:8ab26030e058 197 #define ETM_ETMCCR_EXTINPNUM_TWO (_ETM_ETMCCR_EXTINPNUM_TWO << 17) /**< Shifted mode TWO for ETM_ETMCCR */
Kojto 98:8ab26030e058 198 #define _ETM_ETMCCR_EXTOUTNUM_SHIFT 20 /**< Shift value for ETM_EXTOUTNUM */
Kojto 98:8ab26030e058 199 #define _ETM_ETMCCR_EXTOUTNUM_MASK 0x700000UL /**< Bit mask for ETM_EXTOUTNUM */
Kojto 98:8ab26030e058 200 #define _ETM_ETMCCR_EXTOUTNUM_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 201 #define ETM_ETMCCR_EXTOUTNUM_DEFAULT (_ETM_ETMCCR_EXTOUTNUM_DEFAULT << 20) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 202 #define ETM_ETMCCR_FIFOFULLPRES (0x1UL << 23) /**< FIFIO FULL present */
Kojto 98:8ab26030e058 203 #define _ETM_ETMCCR_FIFOFULLPRES_SHIFT 23 /**< Shift value for ETM_FIFOFULLPRES */
Kojto 98:8ab26030e058 204 #define _ETM_ETMCCR_FIFOFULLPRES_MASK 0x800000UL /**< Bit mask for ETM_FIFOFULLPRES */
Kojto 98:8ab26030e058 205 #define _ETM_ETMCCR_FIFOFULLPRES_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 206 #define ETM_ETMCCR_FIFOFULLPRES_DEFAULT (_ETM_ETMCCR_FIFOFULLPRES_DEFAULT << 23) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 207 #define _ETM_ETMCCR_IDCOMPNUM_SHIFT 24 /**< Shift value for ETM_IDCOMPNUM */
Kojto 98:8ab26030e058 208 #define _ETM_ETMCCR_IDCOMPNUM_MASK 0x3000000UL /**< Bit mask for ETM_IDCOMPNUM */
Kojto 98:8ab26030e058 209 #define _ETM_ETMCCR_IDCOMPNUM_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 210 #define ETM_ETMCCR_IDCOMPNUM_DEFAULT (_ETM_ETMCCR_IDCOMPNUM_DEFAULT << 24) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 211 #define ETM_ETMCCR_TRACESS (0x1UL << 26) /**< Trace Start/Stop Block Present */
Kojto 98:8ab26030e058 212 #define _ETM_ETMCCR_TRACESS_SHIFT 26 /**< Shift value for ETM_TRACESS */
Kojto 98:8ab26030e058 213 #define _ETM_ETMCCR_TRACESS_MASK 0x4000000UL /**< Bit mask for ETM_TRACESS */
Kojto 98:8ab26030e058 214 #define _ETM_ETMCCR_TRACESS_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 215 #define ETM_ETMCCR_TRACESS_DEFAULT (_ETM_ETMCCR_TRACESS_DEFAULT << 26) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 216 #define ETM_ETMCCR_MMACCESS (0x1UL << 27) /**< Coprocessor and Memeory Access */
Kojto 98:8ab26030e058 217 #define _ETM_ETMCCR_MMACCESS_SHIFT 27 /**< Shift value for ETM_MMACCESS */
Kojto 98:8ab26030e058 218 #define _ETM_ETMCCR_MMACCESS_MASK 0x8000000UL /**< Bit mask for ETM_MMACCESS */
Kojto 98:8ab26030e058 219 #define _ETM_ETMCCR_MMACCESS_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 220 #define ETM_ETMCCR_MMACCESS_DEFAULT (_ETM_ETMCCR_MMACCESS_DEFAULT << 27) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 221 #define ETM_ETMCCR_ETMID (0x1UL << 31) /**< ETM ID Register Present */
Kojto 98:8ab26030e058 222 #define _ETM_ETMCCR_ETMID_SHIFT 31 /**< Shift value for ETM_ETMID */
Kojto 98:8ab26030e058 223 #define _ETM_ETMCCR_ETMID_MASK 0x80000000UL /**< Bit mask for ETM_ETMID */
Kojto 98:8ab26030e058 224 #define _ETM_ETMCCR_ETMID_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 225 #define ETM_ETMCCR_ETMID_DEFAULT (_ETM_ETMCCR_ETMID_DEFAULT << 31) /**< Shifted mode DEFAULT for ETM_ETMCCR */
Kojto 98:8ab26030e058 226
Kojto 98:8ab26030e058 227 /* Bit fields for ETM ETMTRIGGER */
Kojto 98:8ab26030e058 228 #define _ETM_ETMTRIGGER_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 229 #define _ETM_ETMTRIGGER_MASK 0x0001FFFFUL /**< Mask for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 230 #define _ETM_ETMTRIGGER_RESA_SHIFT 0 /**< Shift value for ETM_RESA */
Kojto 98:8ab26030e058 231 #define _ETM_ETMTRIGGER_RESA_MASK 0x7FUL /**< Bit mask for ETM_RESA */
Kojto 98:8ab26030e058 232 #define _ETM_ETMTRIGGER_RESA_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 233 #define ETM_ETMTRIGGER_RESA_DEFAULT (_ETM_ETMTRIGGER_RESA_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 234 #define _ETM_ETMTRIGGER_RESB_SHIFT 7 /**< Shift value for ETM_RESB */
Kojto 98:8ab26030e058 235 #define _ETM_ETMTRIGGER_RESB_MASK 0x3F80UL /**< Bit mask for ETM_RESB */
Kojto 98:8ab26030e058 236 #define _ETM_ETMTRIGGER_RESB_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 237 #define ETM_ETMTRIGGER_RESB_DEFAULT (_ETM_ETMTRIGGER_RESB_DEFAULT << 7) /**< Shifted mode DEFAULT for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 238 #define _ETM_ETMTRIGGER_ETMFCN_SHIFT 14 /**< Shift value for ETM_ETMFCN */
Kojto 98:8ab26030e058 239 #define _ETM_ETMTRIGGER_ETMFCN_MASK 0x1C000UL /**< Bit mask for ETM_ETMFCN */
Kojto 98:8ab26030e058 240 #define _ETM_ETMTRIGGER_ETMFCN_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 241 #define ETM_ETMTRIGGER_ETMFCN_DEFAULT (_ETM_ETMTRIGGER_ETMFCN_DEFAULT << 14) /**< Shifted mode DEFAULT for ETM_ETMTRIGGER */
Kojto 98:8ab26030e058 242
Kojto 98:8ab26030e058 243 /* Bit fields for ETM ETMSR */
Kojto 98:8ab26030e058 244 #define _ETM_ETMSR_RESETVALUE 0x00000002UL /**< Default value for ETM_ETMSR */
Kojto 98:8ab26030e058 245 #define _ETM_ETMSR_MASK 0x0000000FUL /**< Mask for ETM_ETMSR */
Kojto 98:8ab26030e058 246 #define ETM_ETMSR_ETHOF (0x1UL << 0) /**< ETM Overflow */
Kojto 98:8ab26030e058 247 #define _ETM_ETMSR_ETHOF_SHIFT 0 /**< Shift value for ETM_ETHOF */
Kojto 98:8ab26030e058 248 #define _ETM_ETMSR_ETHOF_MASK 0x1UL /**< Bit mask for ETM_ETHOF */
Kojto 98:8ab26030e058 249 #define _ETM_ETMSR_ETHOF_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 250 #define ETM_ETMSR_ETHOF_DEFAULT (_ETM_ETMSR_ETHOF_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 251 #define ETM_ETMSR_ETMPROGBIT (0x1UL << 1) /**< ETM Programming Bit Status */
Kojto 98:8ab26030e058 252 #define _ETM_ETMSR_ETMPROGBIT_SHIFT 1 /**< Shift value for ETM_ETMPROGBIT */
Kojto 98:8ab26030e058 253 #define _ETM_ETMSR_ETMPROGBIT_MASK 0x2UL /**< Bit mask for ETM_ETMPROGBIT */
Kojto 98:8ab26030e058 254 #define _ETM_ETMSR_ETMPROGBIT_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 255 #define ETM_ETMSR_ETMPROGBIT_DEFAULT (_ETM_ETMSR_ETMPROGBIT_DEFAULT << 1) /**< Shifted mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 256 #define ETM_ETMSR_TRACESTAT (0x1UL << 2) /**< Trace Start/Stop Status */
Kojto 98:8ab26030e058 257 #define _ETM_ETMSR_TRACESTAT_SHIFT 2 /**< Shift value for ETM_TRACESTAT */
Kojto 98:8ab26030e058 258 #define _ETM_ETMSR_TRACESTAT_MASK 0x4UL /**< Bit mask for ETM_TRACESTAT */
Kojto 98:8ab26030e058 259 #define _ETM_ETMSR_TRACESTAT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 260 #define ETM_ETMSR_TRACESTAT_DEFAULT (_ETM_ETMSR_TRACESTAT_DEFAULT << 2) /**< Shifted mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 261 #define ETM_ETMSR_TRIGBIT (0x1UL << 3) /**< Trigger Bit */
Kojto 98:8ab26030e058 262 #define _ETM_ETMSR_TRIGBIT_SHIFT 3 /**< Shift value for ETM_TRIGBIT */
Kojto 98:8ab26030e058 263 #define _ETM_ETMSR_TRIGBIT_MASK 0x8UL /**< Bit mask for ETM_TRIGBIT */
Kojto 98:8ab26030e058 264 #define _ETM_ETMSR_TRIGBIT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 265 #define ETM_ETMSR_TRIGBIT_DEFAULT (_ETM_ETMSR_TRIGBIT_DEFAULT << 3) /**< Shifted mode DEFAULT for ETM_ETMSR */
Kojto 98:8ab26030e058 266
Kojto 98:8ab26030e058 267 /* Bit fields for ETM ETMSCR */
Kojto 98:8ab26030e058 268 #define _ETM_ETMSCR_RESETVALUE 0x00020D09UL /**< Default value for ETM_ETMSCR */
Kojto 98:8ab26030e058 269 #define _ETM_ETMSCR_MASK 0x00027F0FUL /**< Mask for ETM_ETMSCR */
Kojto 98:8ab26030e058 270 #define _ETM_ETMSCR_MAXPORTSIZE_SHIFT 0 /**< Shift value for ETM_MAXPORTSIZE */
Kojto 98:8ab26030e058 271 #define _ETM_ETMSCR_MAXPORTSIZE_MASK 0x7UL /**< Bit mask for ETM_MAXPORTSIZE */
Kojto 98:8ab26030e058 272 #define _ETM_ETMSCR_MAXPORTSIZE_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 273 #define ETM_ETMSCR_MAXPORTSIZE_DEFAULT (_ETM_ETMSCR_MAXPORTSIZE_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 274 #define ETM_ETMSCR_Reserved (0x1UL << 3) /**< Reserved */
Kojto 98:8ab26030e058 275 #define _ETM_ETMSCR_Reserved_SHIFT 3 /**< Shift value for ETM_Reserved */
Kojto 98:8ab26030e058 276 #define _ETM_ETMSCR_Reserved_MASK 0x8UL /**< Bit mask for ETM_Reserved */
Kojto 98:8ab26030e058 277 #define _ETM_ETMSCR_Reserved_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 278 #define ETM_ETMSCR_Reserved_DEFAULT (_ETM_ETMSCR_Reserved_DEFAULT << 3) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 279 #define ETM_ETMSCR_FIFOFULL (0x1UL << 8) /**< FIFO FULL Supported */
Kojto 98:8ab26030e058 280 #define _ETM_ETMSCR_FIFOFULL_SHIFT 8 /**< Shift value for ETM_FIFOFULL */
Kojto 98:8ab26030e058 281 #define _ETM_ETMSCR_FIFOFULL_MASK 0x100UL /**< Bit mask for ETM_FIFOFULL */
Kojto 98:8ab26030e058 282 #define _ETM_ETMSCR_FIFOFULL_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 283 #define ETM_ETMSCR_FIFOFULL_DEFAULT (_ETM_ETMSCR_FIFOFULL_DEFAULT << 8) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 284 #define ETM_ETMSCR_MAXPORTSIZE3 (0x1UL << 9) /**< Max Port Size[3] */
Kojto 98:8ab26030e058 285 #define _ETM_ETMSCR_MAXPORTSIZE3_SHIFT 9 /**< Shift value for ETM_MAXPORTSIZE3 */
Kojto 98:8ab26030e058 286 #define _ETM_ETMSCR_MAXPORTSIZE3_MASK 0x200UL /**< Bit mask for ETM_MAXPORTSIZE3 */
Kojto 98:8ab26030e058 287 #define _ETM_ETMSCR_MAXPORTSIZE3_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 288 #define ETM_ETMSCR_MAXPORTSIZE3_DEFAULT (_ETM_ETMSCR_MAXPORTSIZE3_DEFAULT << 9) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 289 #define ETM_ETMSCR_PORTSIZE (0x1UL << 10) /**< Port Size Supported */
Kojto 98:8ab26030e058 290 #define _ETM_ETMSCR_PORTSIZE_SHIFT 10 /**< Shift value for ETM_PORTSIZE */
Kojto 98:8ab26030e058 291 #define _ETM_ETMSCR_PORTSIZE_MASK 0x400UL /**< Bit mask for ETM_PORTSIZE */
Kojto 98:8ab26030e058 292 #define _ETM_ETMSCR_PORTSIZE_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 293 #define ETM_ETMSCR_PORTSIZE_DEFAULT (_ETM_ETMSCR_PORTSIZE_DEFAULT << 10) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 294 #define ETM_ETMSCR_PORTMODE (0x1UL << 11) /**< Port Mode Supported */
Kojto 98:8ab26030e058 295 #define _ETM_ETMSCR_PORTMODE_SHIFT 11 /**< Shift value for ETM_PORTMODE */
Kojto 98:8ab26030e058 296 #define _ETM_ETMSCR_PORTMODE_MASK 0x800UL /**< Bit mask for ETM_PORTMODE */
Kojto 98:8ab26030e058 297 #define _ETM_ETMSCR_PORTMODE_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 298 #define ETM_ETMSCR_PORTMODE_DEFAULT (_ETM_ETMSCR_PORTMODE_DEFAULT << 11) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 299 #define _ETM_ETMSCR_PROCNUM_SHIFT 12 /**< Shift value for ETM_PROCNUM */
Kojto 98:8ab26030e058 300 #define _ETM_ETMSCR_PROCNUM_MASK 0x7000UL /**< Bit mask for ETM_PROCNUM */
Kojto 98:8ab26030e058 301 #define _ETM_ETMSCR_PROCNUM_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 302 #define ETM_ETMSCR_PROCNUM_DEFAULT (_ETM_ETMSCR_PROCNUM_DEFAULT << 12) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 303 #define ETM_ETMSCR_NOFETCHCOMP (0x1UL << 17) /**< No Fetch Comparison */
Kojto 98:8ab26030e058 304 #define _ETM_ETMSCR_NOFETCHCOMP_SHIFT 17 /**< Shift value for ETM_NOFETCHCOMP */
Kojto 98:8ab26030e058 305 #define _ETM_ETMSCR_NOFETCHCOMP_MASK 0x20000UL /**< Bit mask for ETM_NOFETCHCOMP */
Kojto 98:8ab26030e058 306 #define _ETM_ETMSCR_NOFETCHCOMP_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 307 #define ETM_ETMSCR_NOFETCHCOMP_DEFAULT (_ETM_ETMSCR_NOFETCHCOMP_DEFAULT << 17) /**< Shifted mode DEFAULT for ETM_ETMSCR */
Kojto 98:8ab26030e058 308
Kojto 98:8ab26030e058 309 /* Bit fields for ETM ETMTEEVR */
Kojto 98:8ab26030e058 310 #define _ETM_ETMTEEVR_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 311 #define _ETM_ETMTEEVR_MASK 0x0001FFFFUL /**< Mask for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 312 #define _ETM_ETMTEEVR_RESA_SHIFT 0 /**< Shift value for ETM_RESA */
Kojto 98:8ab26030e058 313 #define _ETM_ETMTEEVR_RESA_MASK 0x7FUL /**< Bit mask for ETM_RESA */
Kojto 98:8ab26030e058 314 #define _ETM_ETMTEEVR_RESA_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 315 #define ETM_ETMTEEVR_RESA_DEFAULT (_ETM_ETMTEEVR_RESA_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 316 #define _ETM_ETMTEEVR_RESB_SHIFT 7 /**< Shift value for ETM_RESB */
Kojto 98:8ab26030e058 317 #define _ETM_ETMTEEVR_RESB_MASK 0x3F80UL /**< Bit mask for ETM_RESB */
Kojto 98:8ab26030e058 318 #define _ETM_ETMTEEVR_RESB_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 319 #define ETM_ETMTEEVR_RESB_DEFAULT (_ETM_ETMTEEVR_RESB_DEFAULT << 7) /**< Shifted mode DEFAULT for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 320 #define _ETM_ETMTEEVR_ETMFCNEN_SHIFT 14 /**< Shift value for ETM_ETMFCNEN */
Kojto 98:8ab26030e058 321 #define _ETM_ETMTEEVR_ETMFCNEN_MASK 0x1C000UL /**< Bit mask for ETM_ETMFCNEN */
Kojto 98:8ab26030e058 322 #define _ETM_ETMTEEVR_ETMFCNEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 323 #define ETM_ETMTEEVR_ETMFCNEN_DEFAULT (_ETM_ETMTEEVR_ETMFCNEN_DEFAULT << 14) /**< Shifted mode DEFAULT for ETM_ETMTEEVR */
Kojto 98:8ab26030e058 324
Kojto 98:8ab26030e058 325 /* Bit fields for ETM ETMTECR1 */
Kojto 98:8ab26030e058 326 #define _ETM_ETMTECR1_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 327 #define _ETM_ETMTECR1_MASK 0x03FFFFFFUL /**< Mask for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 328 #define _ETM_ETMTECR1_ADRCMP_SHIFT 0 /**< Shift value for ETM_ADRCMP */
Kojto 98:8ab26030e058 329 #define _ETM_ETMTECR1_ADRCMP_MASK 0xFFUL /**< Bit mask for ETM_ADRCMP */
Kojto 98:8ab26030e058 330 #define _ETM_ETMTECR1_ADRCMP_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 331 #define ETM_ETMTECR1_ADRCMP_DEFAULT (_ETM_ETMTECR1_ADRCMP_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 332 #define _ETM_ETMTECR1_MEMMAP_SHIFT 8 /**< Shift value for ETM_MEMMAP */
Kojto 98:8ab26030e058 333 #define _ETM_ETMTECR1_MEMMAP_MASK 0xFFFF00UL /**< Bit mask for ETM_MEMMAP */
Kojto 98:8ab26030e058 334 #define _ETM_ETMTECR1_MEMMAP_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 335 #define ETM_ETMTECR1_MEMMAP_DEFAULT (_ETM_ETMTECR1_MEMMAP_DEFAULT << 8) /**< Shifted mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 336 #define ETM_ETMTECR1_INCEXCTL (0x1UL << 24) /**< Trace Include/Exclude Flag */
Kojto 98:8ab26030e058 337 #define _ETM_ETMTECR1_INCEXCTL_SHIFT 24 /**< Shift value for ETM_INCEXCTL */
Kojto 98:8ab26030e058 338 #define _ETM_ETMTECR1_INCEXCTL_MASK 0x1000000UL /**< Bit mask for ETM_INCEXCTL */
Kojto 98:8ab26030e058 339 #define _ETM_ETMTECR1_INCEXCTL_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 340 #define _ETM_ETMTECR1_INCEXCTL_INC 0x00000000UL /**< Mode INC for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 341 #define _ETM_ETMTECR1_INCEXCTL_EXC 0x00000001UL /**< Mode EXC for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 342 #define ETM_ETMTECR1_INCEXCTL_DEFAULT (_ETM_ETMTECR1_INCEXCTL_DEFAULT << 24) /**< Shifted mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 343 #define ETM_ETMTECR1_INCEXCTL_INC (_ETM_ETMTECR1_INCEXCTL_INC << 24) /**< Shifted mode INC for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 344 #define ETM_ETMTECR1_INCEXCTL_EXC (_ETM_ETMTECR1_INCEXCTL_EXC << 24) /**< Shifted mode EXC for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 345 #define ETM_ETMTECR1_TCE (0x1UL << 25) /**< Trace Control Enable */
Kojto 98:8ab26030e058 346 #define _ETM_ETMTECR1_TCE_SHIFT 25 /**< Shift value for ETM_TCE */
Kojto 98:8ab26030e058 347 #define _ETM_ETMTECR1_TCE_MASK 0x2000000UL /**< Bit mask for ETM_TCE */
Kojto 98:8ab26030e058 348 #define _ETM_ETMTECR1_TCE_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 349 #define _ETM_ETMTECR1_TCE_EN 0x00000000UL /**< Mode EN for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 350 #define _ETM_ETMTECR1_TCE_DIS 0x00000001UL /**< Mode DIS for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 351 #define ETM_ETMTECR1_TCE_DEFAULT (_ETM_ETMTECR1_TCE_DEFAULT << 25) /**< Shifted mode DEFAULT for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 352 #define ETM_ETMTECR1_TCE_EN (_ETM_ETMTECR1_TCE_EN << 25) /**< Shifted mode EN for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 353 #define ETM_ETMTECR1_TCE_DIS (_ETM_ETMTECR1_TCE_DIS << 25) /**< Shifted mode DIS for ETM_ETMTECR1 */
Kojto 98:8ab26030e058 354
Kojto 98:8ab26030e058 355 /* Bit fields for ETM ETMFFLR */
Kojto 98:8ab26030e058 356 #define _ETM_ETMFFLR_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMFFLR */
Kojto 98:8ab26030e058 357 #define _ETM_ETMFFLR_MASK 0x000000FFUL /**< Mask for ETM_ETMFFLR */
Kojto 98:8ab26030e058 358 #define _ETM_ETMFFLR_BYTENUM_SHIFT 0 /**< Shift value for ETM_BYTENUM */
Kojto 98:8ab26030e058 359 #define _ETM_ETMFFLR_BYTENUM_MASK 0xFFUL /**< Bit mask for ETM_BYTENUM */
Kojto 98:8ab26030e058 360 #define _ETM_ETMFFLR_BYTENUM_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMFFLR */
Kojto 98:8ab26030e058 361 #define ETM_ETMFFLR_BYTENUM_DEFAULT (_ETM_ETMFFLR_BYTENUM_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMFFLR */
Kojto 98:8ab26030e058 362
Kojto 98:8ab26030e058 363 /* Bit fields for ETM ETMCNTRLDVR1 */
Kojto 98:8ab26030e058 364 #define _ETM_ETMCNTRLDVR1_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMCNTRLDVR1 */
Kojto 98:8ab26030e058 365 #define _ETM_ETMCNTRLDVR1_MASK 0x0000FFFFUL /**< Mask for ETM_ETMCNTRLDVR1 */
Kojto 98:8ab26030e058 366 #define _ETM_ETMCNTRLDVR1_COUNT_SHIFT 0 /**< Shift value for ETM_COUNT */
Kojto 98:8ab26030e058 367 #define _ETM_ETMCNTRLDVR1_COUNT_MASK 0xFFFFUL /**< Bit mask for ETM_COUNT */
Kojto 98:8ab26030e058 368 #define _ETM_ETMCNTRLDVR1_COUNT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCNTRLDVR1 */
Kojto 98:8ab26030e058 369 #define ETM_ETMCNTRLDVR1_COUNT_DEFAULT (_ETM_ETMCNTRLDVR1_COUNT_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCNTRLDVR1 */
Kojto 98:8ab26030e058 370
Kojto 98:8ab26030e058 371 /* Bit fields for ETM ETMSYNCFR */
Kojto 98:8ab26030e058 372 #define _ETM_ETMSYNCFR_RESETVALUE 0x00000400UL /**< Default value for ETM_ETMSYNCFR */
Kojto 98:8ab26030e058 373 #define _ETM_ETMSYNCFR_MASK 0x00000FFFUL /**< Mask for ETM_ETMSYNCFR */
Kojto 98:8ab26030e058 374 #define _ETM_ETMSYNCFR_FREQ_SHIFT 0 /**< Shift value for ETM_FREQ */
Kojto 98:8ab26030e058 375 #define _ETM_ETMSYNCFR_FREQ_MASK 0xFFFUL /**< Bit mask for ETM_FREQ */
Kojto 98:8ab26030e058 376 #define _ETM_ETMSYNCFR_FREQ_DEFAULT 0x00000400UL /**< Mode DEFAULT for ETM_ETMSYNCFR */
Kojto 98:8ab26030e058 377 #define ETM_ETMSYNCFR_FREQ_DEFAULT (_ETM_ETMSYNCFR_FREQ_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMSYNCFR */
Kojto 98:8ab26030e058 378
Kojto 98:8ab26030e058 379 /* Bit fields for ETM ETMIDR */
Kojto 98:8ab26030e058 380 #define _ETM_ETMIDR_RESETVALUE 0x4114F253UL /**< Default value for ETM_ETMIDR */
Kojto 98:8ab26030e058 381 #define _ETM_ETMIDR_MASK 0xFF1DFFFFUL /**< Mask for ETM_ETMIDR */
Kojto 98:8ab26030e058 382 #define _ETM_ETMIDR_IMPVER_SHIFT 0 /**< Shift value for ETM_IMPVER */
Kojto 98:8ab26030e058 383 #define _ETM_ETMIDR_IMPVER_MASK 0xFUL /**< Bit mask for ETM_IMPVER */
Kojto 98:8ab26030e058 384 #define _ETM_ETMIDR_IMPVER_DEFAULT 0x00000003UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 385 #define ETM_ETMIDR_IMPVER_DEFAULT (_ETM_ETMIDR_IMPVER_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 386 #define _ETM_ETMIDR_ETMMINVER_SHIFT 4 /**< Shift value for ETM_ETMMINVER */
Kojto 98:8ab26030e058 387 #define _ETM_ETMIDR_ETMMINVER_MASK 0xF0UL /**< Bit mask for ETM_ETMMINVER */
Kojto 98:8ab26030e058 388 #define _ETM_ETMIDR_ETMMINVER_DEFAULT 0x00000005UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 389 #define ETM_ETMIDR_ETMMINVER_DEFAULT (_ETM_ETMIDR_ETMMINVER_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 390 #define _ETM_ETMIDR_ETMMAJVER_SHIFT 8 /**< Shift value for ETM_ETMMAJVER */
Kojto 98:8ab26030e058 391 #define _ETM_ETMIDR_ETMMAJVER_MASK 0xF00UL /**< Bit mask for ETM_ETMMAJVER */
Kojto 98:8ab26030e058 392 #define _ETM_ETMIDR_ETMMAJVER_DEFAULT 0x00000002UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 393 #define ETM_ETMIDR_ETMMAJVER_DEFAULT (_ETM_ETMIDR_ETMMAJVER_DEFAULT << 8) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 394 #define _ETM_ETMIDR_PROCFAM_SHIFT 12 /**< Shift value for ETM_PROCFAM */
Kojto 98:8ab26030e058 395 #define _ETM_ETMIDR_PROCFAM_MASK 0xF000UL /**< Bit mask for ETM_PROCFAM */
Kojto 98:8ab26030e058 396 #define _ETM_ETMIDR_PROCFAM_DEFAULT 0x0000000FUL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 397 #define ETM_ETMIDR_PROCFAM_DEFAULT (_ETM_ETMIDR_PROCFAM_DEFAULT << 12) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 398 #define ETM_ETMIDR_LPCF (0x1UL << 16) /**< Load PC First */
Kojto 98:8ab26030e058 399 #define _ETM_ETMIDR_LPCF_SHIFT 16 /**< Shift value for ETM_LPCF */
Kojto 98:8ab26030e058 400 #define _ETM_ETMIDR_LPCF_MASK 0x10000UL /**< Bit mask for ETM_LPCF */
Kojto 98:8ab26030e058 401 #define _ETM_ETMIDR_LPCF_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 402 #define ETM_ETMIDR_LPCF_DEFAULT (_ETM_ETMIDR_LPCF_DEFAULT << 16) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 403 #define ETM_ETMIDR_THUMBT (0x1UL << 18) /**< 32-bit Thumb Instruction Tracing */
Kojto 98:8ab26030e058 404 #define _ETM_ETMIDR_THUMBT_SHIFT 18 /**< Shift value for ETM_THUMBT */
Kojto 98:8ab26030e058 405 #define _ETM_ETMIDR_THUMBT_MASK 0x40000UL /**< Bit mask for ETM_THUMBT */
Kojto 98:8ab26030e058 406 #define _ETM_ETMIDR_THUMBT_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 407 #define ETM_ETMIDR_THUMBT_DEFAULT (_ETM_ETMIDR_THUMBT_DEFAULT << 18) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 408 #define ETM_ETMIDR_SECEXT (0x1UL << 19) /**< Security Extension Support */
Kojto 98:8ab26030e058 409 #define _ETM_ETMIDR_SECEXT_SHIFT 19 /**< Shift value for ETM_SECEXT */
Kojto 98:8ab26030e058 410 #define _ETM_ETMIDR_SECEXT_MASK 0x80000UL /**< Bit mask for ETM_SECEXT */
Kojto 98:8ab26030e058 411 #define _ETM_ETMIDR_SECEXT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 412 #define ETM_ETMIDR_SECEXT_DEFAULT (_ETM_ETMIDR_SECEXT_DEFAULT << 19) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 413 #define ETM_ETMIDR_BPE (0x1UL << 20) /**< Branch Packet Encoding */
Kojto 98:8ab26030e058 414 #define _ETM_ETMIDR_BPE_SHIFT 20 /**< Shift value for ETM_BPE */
Kojto 98:8ab26030e058 415 #define _ETM_ETMIDR_BPE_MASK 0x100000UL /**< Bit mask for ETM_BPE */
Kojto 98:8ab26030e058 416 #define _ETM_ETMIDR_BPE_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 417 #define ETM_ETMIDR_BPE_DEFAULT (_ETM_ETMIDR_BPE_DEFAULT << 20) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 418 #define _ETM_ETMIDR_IMPCODE_SHIFT 24 /**< Shift value for ETM_IMPCODE */
Kojto 98:8ab26030e058 419 #define _ETM_ETMIDR_IMPCODE_MASK 0xFF000000UL /**< Bit mask for ETM_IMPCODE */
Kojto 98:8ab26030e058 420 #define _ETM_ETMIDR_IMPCODE_DEFAULT 0x00000041UL /**< Mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 421 #define ETM_ETMIDR_IMPCODE_DEFAULT (_ETM_ETMIDR_IMPCODE_DEFAULT << 24) /**< Shifted mode DEFAULT for ETM_ETMIDR */
Kojto 98:8ab26030e058 422
Kojto 98:8ab26030e058 423 /* Bit fields for ETM ETMCCER */
Kojto 98:8ab26030e058 424 #define _ETM_ETMCCER_RESETVALUE 0x18541800UL /**< Default value for ETM_ETMCCER */
Kojto 98:8ab26030e058 425 #define _ETM_ETMCCER_MASK 0x387FFFFBUL /**< Mask for ETM_ETMCCER */
Kojto 98:8ab26030e058 426 #define _ETM_ETMCCER_EXTINPSEL_SHIFT 0 /**< Shift value for ETM_EXTINPSEL */
Kojto 98:8ab26030e058 427 #define _ETM_ETMCCER_EXTINPSEL_MASK 0x3UL /**< Bit mask for ETM_EXTINPSEL */
Kojto 98:8ab26030e058 428 #define _ETM_ETMCCER_EXTINPSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 429 #define ETM_ETMCCER_EXTINPSEL_DEFAULT (_ETM_ETMCCER_EXTINPSEL_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 430 #define _ETM_ETMCCER_EXTINPBUS_SHIFT 3 /**< Shift value for ETM_EXTINPBUS */
Kojto 98:8ab26030e058 431 #define _ETM_ETMCCER_EXTINPBUS_MASK 0x7F8UL /**< Bit mask for ETM_EXTINPBUS */
Kojto 98:8ab26030e058 432 #define _ETM_ETMCCER_EXTINPBUS_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 433 #define ETM_ETMCCER_EXTINPBUS_DEFAULT (_ETM_ETMCCER_EXTINPBUS_DEFAULT << 3) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 434 #define ETM_ETMCCER_READREGS (0x1UL << 11) /**< Readable Registers */
Kojto 98:8ab26030e058 435 #define _ETM_ETMCCER_READREGS_SHIFT 11 /**< Shift value for ETM_READREGS */
Kojto 98:8ab26030e058 436 #define _ETM_ETMCCER_READREGS_MASK 0x800UL /**< Bit mask for ETM_READREGS */
Kojto 98:8ab26030e058 437 #define _ETM_ETMCCER_READREGS_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 438 #define ETM_ETMCCER_READREGS_DEFAULT (_ETM_ETMCCER_READREGS_DEFAULT << 11) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 439 #define ETM_ETMCCER_DADDRCMP (0x1UL << 12) /**< Data Address comparisons */
Kojto 98:8ab26030e058 440 #define _ETM_ETMCCER_DADDRCMP_SHIFT 12 /**< Shift value for ETM_DADDRCMP */
Kojto 98:8ab26030e058 441 #define _ETM_ETMCCER_DADDRCMP_MASK 0x1000UL /**< Bit mask for ETM_DADDRCMP */
Kojto 98:8ab26030e058 442 #define _ETM_ETMCCER_DADDRCMP_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 443 #define ETM_ETMCCER_DADDRCMP_DEFAULT (_ETM_ETMCCER_DADDRCMP_DEFAULT << 12) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 444 #define _ETM_ETMCCER_INSTRES_SHIFT 13 /**< Shift value for ETM_INSTRES */
Kojto 98:8ab26030e058 445 #define _ETM_ETMCCER_INSTRES_MASK 0xE000UL /**< Bit mask for ETM_INSTRES */
Kojto 98:8ab26030e058 446 #define _ETM_ETMCCER_INSTRES_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 447 #define ETM_ETMCCER_INSTRES_DEFAULT (_ETM_ETMCCER_INSTRES_DEFAULT << 13) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 448 #define _ETM_ETMCCER_EICEWPNT_SHIFT 16 /**< Shift value for ETM_EICEWPNT */
Kojto 98:8ab26030e058 449 #define _ETM_ETMCCER_EICEWPNT_MASK 0xF0000UL /**< Bit mask for ETM_EICEWPNT */
Kojto 98:8ab26030e058 450 #define _ETM_ETMCCER_EICEWPNT_DEFAULT 0x00000004UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 451 #define ETM_ETMCCER_EICEWPNT_DEFAULT (_ETM_ETMCCER_EICEWPNT_DEFAULT << 16) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 452 #define ETM_ETMCCER_TEICEWPNT (0x1UL << 20) /**< Trace Sart/Stop Block Uses EmbeddedICE watchpoint inputs */
Kojto 98:8ab26030e058 453 #define _ETM_ETMCCER_TEICEWPNT_SHIFT 20 /**< Shift value for ETM_TEICEWPNT */
Kojto 98:8ab26030e058 454 #define _ETM_ETMCCER_TEICEWPNT_MASK 0x100000UL /**< Bit mask for ETM_TEICEWPNT */
Kojto 98:8ab26030e058 455 #define _ETM_ETMCCER_TEICEWPNT_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 456 #define ETM_ETMCCER_TEICEWPNT_DEFAULT (_ETM_ETMCCER_TEICEWPNT_DEFAULT << 20) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 457 #define ETM_ETMCCER_EICEIMP (0x1UL << 21) /**< EmbeddedICE Behavior control Implemented */
Kojto 98:8ab26030e058 458 #define _ETM_ETMCCER_EICEIMP_SHIFT 21 /**< Shift value for ETM_EICEIMP */
Kojto 98:8ab26030e058 459 #define _ETM_ETMCCER_EICEIMP_MASK 0x200000UL /**< Bit mask for ETM_EICEIMP */
Kojto 98:8ab26030e058 460 #define _ETM_ETMCCER_EICEIMP_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 461 #define ETM_ETMCCER_EICEIMP_DEFAULT (_ETM_ETMCCER_EICEIMP_DEFAULT << 21) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 462 #define ETM_ETMCCER_TIMP (0x1UL << 22) /**< Timestamping Implemented */
Kojto 98:8ab26030e058 463 #define _ETM_ETMCCER_TIMP_SHIFT 22 /**< Shift value for ETM_TIMP */
Kojto 98:8ab26030e058 464 #define _ETM_ETMCCER_TIMP_MASK 0x400000UL /**< Bit mask for ETM_TIMP */
Kojto 98:8ab26030e058 465 #define _ETM_ETMCCER_TIMP_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 466 #define ETM_ETMCCER_TIMP_DEFAULT (_ETM_ETMCCER_TIMP_DEFAULT << 22) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 467 #define ETM_ETMCCER_RFCNT (0x1UL << 27) /**< Reduced Function Counter */
Kojto 98:8ab26030e058 468 #define _ETM_ETMCCER_RFCNT_SHIFT 27 /**< Shift value for ETM_RFCNT */
Kojto 98:8ab26030e058 469 #define _ETM_ETMCCER_RFCNT_MASK 0x8000000UL /**< Bit mask for ETM_RFCNT */
Kojto 98:8ab26030e058 470 #define _ETM_ETMCCER_RFCNT_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 471 #define ETM_ETMCCER_RFCNT_DEFAULT (_ETM_ETMCCER_RFCNT_DEFAULT << 27) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 472 #define ETM_ETMCCER_TENC (0x1UL << 28) /**< Timestamp Encoding */
Kojto 98:8ab26030e058 473 #define _ETM_ETMCCER_TENC_SHIFT 28 /**< Shift value for ETM_TENC */
Kojto 98:8ab26030e058 474 #define _ETM_ETMCCER_TENC_MASK 0x10000000UL /**< Bit mask for ETM_TENC */
Kojto 98:8ab26030e058 475 #define _ETM_ETMCCER_TENC_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 476 #define ETM_ETMCCER_TENC_DEFAULT (_ETM_ETMCCER_TENC_DEFAULT << 28) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 477 #define ETM_ETMCCER_TSIZE (0x1UL << 29) /**< Timestamp Size */
Kojto 98:8ab26030e058 478 #define _ETM_ETMCCER_TSIZE_SHIFT 29 /**< Shift value for ETM_TSIZE */
Kojto 98:8ab26030e058 479 #define _ETM_ETMCCER_TSIZE_MASK 0x20000000UL /**< Bit mask for ETM_TSIZE */
Kojto 98:8ab26030e058 480 #define _ETM_ETMCCER_TSIZE_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 481 #define ETM_ETMCCER_TSIZE_DEFAULT (_ETM_ETMCCER_TSIZE_DEFAULT << 29) /**< Shifted mode DEFAULT for ETM_ETMCCER */
Kojto 98:8ab26030e058 482
Kojto 98:8ab26030e058 483 /* Bit fields for ETM ETMTESSEICR */
Kojto 98:8ab26030e058 484 #define _ETM_ETMTESSEICR_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMTESSEICR */
Kojto 98:8ab26030e058 485 #define _ETM_ETMTESSEICR_MASK 0x000F000FUL /**< Mask for ETM_ETMTESSEICR */
Kojto 98:8ab26030e058 486 #define _ETM_ETMTESSEICR_STARTRSEL_SHIFT 0 /**< Shift value for ETM_STARTRSEL */
Kojto 98:8ab26030e058 487 #define _ETM_ETMTESSEICR_STARTRSEL_MASK 0xFUL /**< Bit mask for ETM_STARTRSEL */
Kojto 98:8ab26030e058 488 #define _ETM_ETMTESSEICR_STARTRSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTESSEICR */
Kojto 98:8ab26030e058 489 #define ETM_ETMTESSEICR_STARTRSEL_DEFAULT (_ETM_ETMTESSEICR_STARTRSEL_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMTESSEICR */
Kojto 98:8ab26030e058 490 #define _ETM_ETMTESSEICR_STOPRSEL_SHIFT 16 /**< Shift value for ETM_STOPRSEL */
Kojto 98:8ab26030e058 491 #define _ETM_ETMTESSEICR_STOPRSEL_MASK 0xF0000UL /**< Bit mask for ETM_STOPRSEL */
Kojto 98:8ab26030e058 492 #define _ETM_ETMTESSEICR_STOPRSEL_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTESSEICR */
Kojto 98:8ab26030e058 493 #define ETM_ETMTESSEICR_STOPRSEL_DEFAULT (_ETM_ETMTESSEICR_STOPRSEL_DEFAULT << 16) /**< Shifted mode DEFAULT for ETM_ETMTESSEICR */
Kojto 98:8ab26030e058 494
Kojto 98:8ab26030e058 495 /* Bit fields for ETM ETMTSEVR */
Kojto 98:8ab26030e058 496 #define _ETM_ETMTSEVR_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 497 #define _ETM_ETMTSEVR_MASK 0x0001FFFFUL /**< Mask for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 498 #define _ETM_ETMTSEVR_RESAEVT_SHIFT 0 /**< Shift value for ETM_RESAEVT */
Kojto 98:8ab26030e058 499 #define _ETM_ETMTSEVR_RESAEVT_MASK 0x7FUL /**< Bit mask for ETM_RESAEVT */
Kojto 98:8ab26030e058 500 #define _ETM_ETMTSEVR_RESAEVT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 501 #define ETM_ETMTSEVR_RESAEVT_DEFAULT (_ETM_ETMTSEVR_RESAEVT_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 502 #define _ETM_ETMTSEVR_RESBEVT_SHIFT 7 /**< Shift value for ETM_RESBEVT */
Kojto 98:8ab26030e058 503 #define _ETM_ETMTSEVR_RESBEVT_MASK 0x3F80UL /**< Bit mask for ETM_RESBEVT */
Kojto 98:8ab26030e058 504 #define _ETM_ETMTSEVR_RESBEVT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 505 #define ETM_ETMTSEVR_RESBEVT_DEFAULT (_ETM_ETMTSEVR_RESBEVT_DEFAULT << 7) /**< Shifted mode DEFAULT for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 506 #define _ETM_ETMTSEVR_ETMFCNEVT_SHIFT 14 /**< Shift value for ETM_ETMFCNEVT */
Kojto 98:8ab26030e058 507 #define _ETM_ETMTSEVR_ETMFCNEVT_MASK 0x1C000UL /**< Bit mask for ETM_ETMFCNEVT */
Kojto 98:8ab26030e058 508 #define _ETM_ETMTSEVR_ETMFCNEVT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 509 #define ETM_ETMTSEVR_ETMFCNEVT_DEFAULT (_ETM_ETMTSEVR_ETMFCNEVT_DEFAULT << 14) /**< Shifted mode DEFAULT for ETM_ETMTSEVR */
Kojto 98:8ab26030e058 510
Kojto 98:8ab26030e058 511 /* Bit fields for ETM ETMTRACEIDR */
Kojto 98:8ab26030e058 512 #define _ETM_ETMTRACEIDR_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMTRACEIDR */
Kojto 98:8ab26030e058 513 #define _ETM_ETMTRACEIDR_MASK 0x0000007FUL /**< Mask for ETM_ETMTRACEIDR */
Kojto 98:8ab26030e058 514 #define _ETM_ETMTRACEIDR_TRACEID_SHIFT 0 /**< Shift value for ETM_TRACEID */
Kojto 98:8ab26030e058 515 #define _ETM_ETMTRACEIDR_TRACEID_MASK 0x7FUL /**< Bit mask for ETM_TRACEID */
Kojto 98:8ab26030e058 516 #define _ETM_ETMTRACEIDR_TRACEID_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMTRACEIDR */
Kojto 98:8ab26030e058 517 #define ETM_ETMTRACEIDR_TRACEID_DEFAULT (_ETM_ETMTRACEIDR_TRACEID_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMTRACEIDR */
Kojto 98:8ab26030e058 518
Kojto 98:8ab26030e058 519 /* Bit fields for ETM ETMIDR2 */
Kojto 98:8ab26030e058 520 #define _ETM_ETMIDR2_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 521 #define _ETM_ETMIDR2_MASK 0x00000003UL /**< Mask for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 522 #define ETM_ETMIDR2_RFE (0x1UL << 0) /**< RFE Transfer Order */
Kojto 98:8ab26030e058 523 #define _ETM_ETMIDR2_RFE_SHIFT 0 /**< Shift value for ETM_RFE */
Kojto 98:8ab26030e058 524 #define _ETM_ETMIDR2_RFE_MASK 0x1UL /**< Bit mask for ETM_RFE */
Kojto 98:8ab26030e058 525 #define _ETM_ETMIDR2_RFE_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 526 #define _ETM_ETMIDR2_RFE_PC 0x00000000UL /**< Mode PC for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 527 #define _ETM_ETMIDR2_RFE_CPSR 0x00000001UL /**< Mode CPSR for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 528 #define ETM_ETMIDR2_RFE_DEFAULT (_ETM_ETMIDR2_RFE_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 529 #define ETM_ETMIDR2_RFE_PC (_ETM_ETMIDR2_RFE_PC << 0) /**< Shifted mode PC for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 530 #define ETM_ETMIDR2_RFE_CPSR (_ETM_ETMIDR2_RFE_CPSR << 0) /**< Shifted mode CPSR for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 531 #define ETM_ETMIDR2_SWP (0x1UL << 1) /**< SWP Transfer Order */
Kojto 98:8ab26030e058 532 #define _ETM_ETMIDR2_SWP_SHIFT 1 /**< Shift value for ETM_SWP */
Kojto 98:8ab26030e058 533 #define _ETM_ETMIDR2_SWP_MASK 0x2UL /**< Bit mask for ETM_SWP */
Kojto 98:8ab26030e058 534 #define _ETM_ETMIDR2_SWP_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 535 #define _ETM_ETMIDR2_SWP_LOAD 0x00000000UL /**< Mode LOAD for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 536 #define _ETM_ETMIDR2_SWP_STORE 0x00000001UL /**< Mode STORE for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 537 #define ETM_ETMIDR2_SWP_DEFAULT (_ETM_ETMIDR2_SWP_DEFAULT << 1) /**< Shifted mode DEFAULT for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 538 #define ETM_ETMIDR2_SWP_LOAD (_ETM_ETMIDR2_SWP_LOAD << 1) /**< Shifted mode LOAD for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 539 #define ETM_ETMIDR2_SWP_STORE (_ETM_ETMIDR2_SWP_STORE << 1) /**< Shifted mode STORE for ETM_ETMIDR2 */
Kojto 98:8ab26030e058 540
Kojto 98:8ab26030e058 541 /* Bit fields for ETM ETMPDSR */
Kojto 98:8ab26030e058 542 #define _ETM_ETMPDSR_RESETVALUE 0x00000001UL /**< Default value for ETM_ETMPDSR */
Kojto 98:8ab26030e058 543 #define _ETM_ETMPDSR_MASK 0x00000001UL /**< Mask for ETM_ETMPDSR */
Kojto 98:8ab26030e058 544 #define ETM_ETMPDSR_ETMUP (0x1UL << 0) /**< ETM Powered Up */
Kojto 98:8ab26030e058 545 #define _ETM_ETMPDSR_ETMUP_SHIFT 0 /**< Shift value for ETM_ETMUP */
Kojto 98:8ab26030e058 546 #define _ETM_ETMPDSR_ETMUP_MASK 0x1UL /**< Bit mask for ETM_ETMUP */
Kojto 98:8ab26030e058 547 #define _ETM_ETMPDSR_ETMUP_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMPDSR */
Kojto 98:8ab26030e058 548 #define ETM_ETMPDSR_ETMUP_DEFAULT (_ETM_ETMPDSR_ETMUP_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMPDSR */
Kojto 98:8ab26030e058 549
Kojto 98:8ab26030e058 550 /* Bit fields for ETM ETMISCIN */
Kojto 98:8ab26030e058 551 #define _ETM_ETMISCIN_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMISCIN */
Kojto 98:8ab26030e058 552 #define _ETM_ETMISCIN_MASK 0x00000013UL /**< Mask for ETM_ETMISCIN */
Kojto 98:8ab26030e058 553 #define _ETM_ETMISCIN_EXTIN_SHIFT 0 /**< Shift value for ETM_EXTIN */
Kojto 98:8ab26030e058 554 #define _ETM_ETMISCIN_EXTIN_MASK 0x3UL /**< Bit mask for ETM_EXTIN */
Kojto 98:8ab26030e058 555 #define _ETM_ETMISCIN_EXTIN_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMISCIN */
Kojto 98:8ab26030e058 556 #define ETM_ETMISCIN_EXTIN_DEFAULT (_ETM_ETMISCIN_EXTIN_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMISCIN */
Kojto 98:8ab26030e058 557 #define ETM_ETMISCIN_COREHALT (0x1UL << 4) /**< Core Halt */
Kojto 98:8ab26030e058 558 #define _ETM_ETMISCIN_COREHALT_SHIFT 4 /**< Shift value for ETM_COREHALT */
Kojto 98:8ab26030e058 559 #define _ETM_ETMISCIN_COREHALT_MASK 0x10UL /**< Bit mask for ETM_COREHALT */
Kojto 98:8ab26030e058 560 #define _ETM_ETMISCIN_COREHALT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMISCIN */
Kojto 98:8ab26030e058 561 #define ETM_ETMISCIN_COREHALT_DEFAULT (_ETM_ETMISCIN_COREHALT_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMISCIN */
Kojto 98:8ab26030e058 562
Kojto 98:8ab26030e058 563 /* Bit fields for ETM ITTRIGOUT */
Kojto 98:8ab26030e058 564 #define _ETM_ITTRIGOUT_RESETVALUE 0x00000000UL /**< Default value for ETM_ITTRIGOUT */
Kojto 98:8ab26030e058 565 #define _ETM_ITTRIGOUT_MASK 0x00000001UL /**< Mask for ETM_ITTRIGOUT */
Kojto 98:8ab26030e058 566 #define ETM_ITTRIGOUT_TRIGGEROUT (0x1UL << 0) /**< Trigger output value */
Kojto 98:8ab26030e058 567 #define _ETM_ITTRIGOUT_TRIGGEROUT_SHIFT 0 /**< Shift value for ETM_TRIGGEROUT */
Kojto 98:8ab26030e058 568 #define _ETM_ITTRIGOUT_TRIGGEROUT_MASK 0x1UL /**< Bit mask for ETM_TRIGGEROUT */
Kojto 98:8ab26030e058 569 #define _ETM_ITTRIGOUT_TRIGGEROUT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ITTRIGOUT */
Kojto 98:8ab26030e058 570 #define ETM_ITTRIGOUT_TRIGGEROUT_DEFAULT (_ETM_ITTRIGOUT_TRIGGEROUT_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ITTRIGOUT */
Kojto 98:8ab26030e058 571
Kojto 98:8ab26030e058 572 /* Bit fields for ETM ETMITATBCTR2 */
Kojto 98:8ab26030e058 573 #define _ETM_ETMITATBCTR2_RESETVALUE 0x00000001UL /**< Default value for ETM_ETMITATBCTR2 */
Kojto 98:8ab26030e058 574 #define _ETM_ETMITATBCTR2_MASK 0x00000001UL /**< Mask for ETM_ETMITATBCTR2 */
Kojto 98:8ab26030e058 575 #define ETM_ETMITATBCTR2_ATREADY (0x1UL << 0) /**< ATREADY Input Value */
Kojto 98:8ab26030e058 576 #define _ETM_ETMITATBCTR2_ATREADY_SHIFT 0 /**< Shift value for ETM_ATREADY */
Kojto 98:8ab26030e058 577 #define _ETM_ETMITATBCTR2_ATREADY_MASK 0x1UL /**< Bit mask for ETM_ATREADY */
Kojto 98:8ab26030e058 578 #define _ETM_ETMITATBCTR2_ATREADY_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMITATBCTR2 */
Kojto 98:8ab26030e058 579 #define ETM_ETMITATBCTR2_ATREADY_DEFAULT (_ETM_ETMITATBCTR2_ATREADY_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMITATBCTR2 */
Kojto 98:8ab26030e058 580
Kojto 98:8ab26030e058 581 /* Bit fields for ETM ETMITATBCTR0 */
Kojto 98:8ab26030e058 582 #define _ETM_ETMITATBCTR0_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMITATBCTR0 */
Kojto 98:8ab26030e058 583 #define _ETM_ETMITATBCTR0_MASK 0x00000001UL /**< Mask for ETM_ETMITATBCTR0 */
Kojto 98:8ab26030e058 584 #define ETM_ETMITATBCTR0_ATVALID (0x1UL << 0) /**< ATVALID Output Value */
Kojto 98:8ab26030e058 585 #define _ETM_ETMITATBCTR0_ATVALID_SHIFT 0 /**< Shift value for ETM_ATVALID */
Kojto 98:8ab26030e058 586 #define _ETM_ETMITATBCTR0_ATVALID_MASK 0x1UL /**< Bit mask for ETM_ATVALID */
Kojto 98:8ab26030e058 587 #define _ETM_ETMITATBCTR0_ATVALID_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMITATBCTR0 */
Kojto 98:8ab26030e058 588 #define ETM_ETMITATBCTR0_ATVALID_DEFAULT (_ETM_ETMITATBCTR0_ATVALID_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMITATBCTR0 */
Kojto 98:8ab26030e058 589
Kojto 98:8ab26030e058 590 /* Bit fields for ETM ETMITCTRL */
Kojto 98:8ab26030e058 591 #define _ETM_ETMITCTRL_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMITCTRL */
Kojto 98:8ab26030e058 592 #define _ETM_ETMITCTRL_MASK 0x00000001UL /**< Mask for ETM_ETMITCTRL */
Kojto 98:8ab26030e058 593 #define ETM_ETMITCTRL_ITEN (0x1UL << 0) /**< Integration Mode Enable */
Kojto 98:8ab26030e058 594 #define _ETM_ETMITCTRL_ITEN_SHIFT 0 /**< Shift value for ETM_ITEN */
Kojto 98:8ab26030e058 595 #define _ETM_ETMITCTRL_ITEN_MASK 0x1UL /**< Bit mask for ETM_ITEN */
Kojto 98:8ab26030e058 596 #define _ETM_ETMITCTRL_ITEN_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMITCTRL */
Kojto 98:8ab26030e058 597 #define ETM_ETMITCTRL_ITEN_DEFAULT (_ETM_ETMITCTRL_ITEN_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMITCTRL */
Kojto 98:8ab26030e058 598
Kojto 98:8ab26030e058 599 /* Bit fields for ETM ETMCLAIMSET */
Kojto 98:8ab26030e058 600 #define _ETM_ETMCLAIMSET_RESETVALUE 0x0000000FUL /**< Default value for ETM_ETMCLAIMSET */
Kojto 98:8ab26030e058 601 #define _ETM_ETMCLAIMSET_MASK 0x000000FFUL /**< Mask for ETM_ETMCLAIMSET */
Kojto 98:8ab26030e058 602 #define _ETM_ETMCLAIMSET_SETTAG_SHIFT 0 /**< Shift value for ETM_SETTAG */
Kojto 98:8ab26030e058 603 #define _ETM_ETMCLAIMSET_SETTAG_MASK 0xFFUL /**< Bit mask for ETM_SETTAG */
Kojto 98:8ab26030e058 604 #define _ETM_ETMCLAIMSET_SETTAG_DEFAULT 0x0000000FUL /**< Mode DEFAULT for ETM_ETMCLAIMSET */
Kojto 98:8ab26030e058 605 #define ETM_ETMCLAIMSET_SETTAG_DEFAULT (_ETM_ETMCLAIMSET_SETTAG_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCLAIMSET */
Kojto 98:8ab26030e058 606
Kojto 98:8ab26030e058 607 /* Bit fields for ETM ETMCLAIMCLR */
Kojto 98:8ab26030e058 608 #define _ETM_ETMCLAIMCLR_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMCLAIMCLR */
Kojto 98:8ab26030e058 609 #define _ETM_ETMCLAIMCLR_MASK 0x00000001UL /**< Mask for ETM_ETMCLAIMCLR */
Kojto 98:8ab26030e058 610 #define ETM_ETMCLAIMCLR_CLRTAG (0x1UL << 0) /**< Tag Bits */
Kojto 98:8ab26030e058 611 #define _ETM_ETMCLAIMCLR_CLRTAG_SHIFT 0 /**< Shift value for ETM_CLRTAG */
Kojto 98:8ab26030e058 612 #define _ETM_ETMCLAIMCLR_CLRTAG_MASK 0x1UL /**< Bit mask for ETM_CLRTAG */
Kojto 98:8ab26030e058 613 #define _ETM_ETMCLAIMCLR_CLRTAG_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMCLAIMCLR */
Kojto 98:8ab26030e058 614 #define ETM_ETMCLAIMCLR_CLRTAG_DEFAULT (_ETM_ETMCLAIMCLR_CLRTAG_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCLAIMCLR */
Kojto 98:8ab26030e058 615
Kojto 98:8ab26030e058 616 /* Bit fields for ETM ETMLAR */
Kojto 98:8ab26030e058 617 #define _ETM_ETMLAR_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMLAR */
Kojto 98:8ab26030e058 618 #define _ETM_ETMLAR_MASK 0x00000001UL /**< Mask for ETM_ETMLAR */
Kojto 98:8ab26030e058 619 #define ETM_ETMLAR_KEY (0x1UL << 0) /**< Key Value */
Kojto 98:8ab26030e058 620 #define _ETM_ETMLAR_KEY_SHIFT 0 /**< Shift value for ETM_KEY */
Kojto 98:8ab26030e058 621 #define _ETM_ETMLAR_KEY_MASK 0x1UL /**< Bit mask for ETM_KEY */
Kojto 98:8ab26030e058 622 #define _ETM_ETMLAR_KEY_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMLAR */
Kojto 98:8ab26030e058 623 #define ETM_ETMLAR_KEY_DEFAULT (_ETM_ETMLAR_KEY_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMLAR */
Kojto 98:8ab26030e058 624
Kojto 98:8ab26030e058 625 /* Bit fields for ETM ETMLSR */
Kojto 98:8ab26030e058 626 #define _ETM_ETMLSR_RESETVALUE 0x00000003UL /**< Default value for ETM_ETMLSR */
Kojto 98:8ab26030e058 627 #define _ETM_ETMLSR_MASK 0x00000003UL /**< Mask for ETM_ETMLSR */
Kojto 98:8ab26030e058 628 #define ETM_ETMLSR_LOCKIMP (0x1UL << 0) /**< ETM Locking Implemented */
Kojto 98:8ab26030e058 629 #define _ETM_ETMLSR_LOCKIMP_SHIFT 0 /**< Shift value for ETM_LOCKIMP */
Kojto 98:8ab26030e058 630 #define _ETM_ETMLSR_LOCKIMP_MASK 0x1UL /**< Bit mask for ETM_LOCKIMP */
Kojto 98:8ab26030e058 631 #define _ETM_ETMLSR_LOCKIMP_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMLSR */
Kojto 98:8ab26030e058 632 #define ETM_ETMLSR_LOCKIMP_DEFAULT (_ETM_ETMLSR_LOCKIMP_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMLSR */
Kojto 98:8ab26030e058 633 #define ETM_ETMLSR_LOCKED (0x1UL << 1) /**< ETM locked */
Kojto 98:8ab26030e058 634 #define _ETM_ETMLSR_LOCKED_SHIFT 1 /**< Shift value for ETM_LOCKED */
Kojto 98:8ab26030e058 635 #define _ETM_ETMLSR_LOCKED_MASK 0x2UL /**< Bit mask for ETM_LOCKED */
Kojto 98:8ab26030e058 636 #define _ETM_ETMLSR_LOCKED_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMLSR */
Kojto 98:8ab26030e058 637 #define ETM_ETMLSR_LOCKED_DEFAULT (_ETM_ETMLSR_LOCKED_DEFAULT << 1) /**< Shifted mode DEFAULT for ETM_ETMLSR */
Kojto 98:8ab26030e058 638
Kojto 98:8ab26030e058 639 /* Bit fields for ETM ETMAUTHSTATUS */
Kojto 98:8ab26030e058 640 #define _ETM_ETMAUTHSTATUS_RESETVALUE 0x000000C0UL /**< Default value for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 641 #define _ETM_ETMAUTHSTATUS_MASK 0x000000FFUL /**< Mask for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 642 #define _ETM_ETMAUTHSTATUS_NONSECINVDBG_SHIFT 0 /**< Shift value for ETM_NONSECINVDBG */
Kojto 98:8ab26030e058 643 #define _ETM_ETMAUTHSTATUS_NONSECINVDBG_MASK 0x3UL /**< Bit mask for ETM_NONSECINVDBG */
Kojto 98:8ab26030e058 644 #define _ETM_ETMAUTHSTATUS_NONSECINVDBG_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 645 #define ETM_ETMAUTHSTATUS_NONSECINVDBG_DEFAULT (_ETM_ETMAUTHSTATUS_NONSECINVDBG_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 646 #define _ETM_ETMAUTHSTATUS_NONSECNONINVDBG_SHIFT 2 /**< Shift value for ETM_NONSECNONINVDBG */
Kojto 98:8ab26030e058 647 #define _ETM_ETMAUTHSTATUS_NONSECNONINVDBG_MASK 0xCUL /**< Bit mask for ETM_NONSECNONINVDBG */
Kojto 98:8ab26030e058 648 #define _ETM_ETMAUTHSTATUS_NONSECNONINVDBG_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 649 #define _ETM_ETMAUTHSTATUS_NONSECNONINVDBG_DISABLE 0x00000002UL /**< Mode DISABLE for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 650 #define _ETM_ETMAUTHSTATUS_NONSECNONINVDBG_ENABLE 0x00000003UL /**< Mode ENABLE for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 651 #define ETM_ETMAUTHSTATUS_NONSECNONINVDBG_DEFAULT (_ETM_ETMAUTHSTATUS_NONSECNONINVDBG_DEFAULT << 2) /**< Shifted mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 652 #define ETM_ETMAUTHSTATUS_NONSECNONINVDBG_DISABLE (_ETM_ETMAUTHSTATUS_NONSECNONINVDBG_DISABLE << 2) /**< Shifted mode DISABLE for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 653 #define ETM_ETMAUTHSTATUS_NONSECNONINVDBG_ENABLE (_ETM_ETMAUTHSTATUS_NONSECNONINVDBG_ENABLE << 2) /**< Shifted mode ENABLE for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 654 #define _ETM_ETMAUTHSTATUS_SECINVDBG_SHIFT 4 /**< Shift value for ETM_SECINVDBG */
Kojto 98:8ab26030e058 655 #define _ETM_ETMAUTHSTATUS_SECINVDBG_MASK 0x30UL /**< Bit mask for ETM_SECINVDBG */
Kojto 98:8ab26030e058 656 #define _ETM_ETMAUTHSTATUS_SECINVDBG_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 657 #define ETM_ETMAUTHSTATUS_SECINVDBG_DEFAULT (_ETM_ETMAUTHSTATUS_SECINVDBG_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 658 #define _ETM_ETMAUTHSTATUS_SECNONINVDBG_SHIFT 6 /**< Shift value for ETM_SECNONINVDBG */
Kojto 98:8ab26030e058 659 #define _ETM_ETMAUTHSTATUS_SECNONINVDBG_MASK 0xC0UL /**< Bit mask for ETM_SECNONINVDBG */
Kojto 98:8ab26030e058 660 #define _ETM_ETMAUTHSTATUS_SECNONINVDBG_DEFAULT 0x00000003UL /**< Mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 661 #define ETM_ETMAUTHSTATUS_SECNONINVDBG_DEFAULT (_ETM_ETMAUTHSTATUS_SECNONINVDBG_DEFAULT << 6) /**< Shifted mode DEFAULT for ETM_ETMAUTHSTATUS */
Kojto 98:8ab26030e058 662
Kojto 98:8ab26030e058 663 /* Bit fields for ETM ETMDEVTYPE */
Kojto 98:8ab26030e058 664 #define _ETM_ETMDEVTYPE_RESETVALUE 0x00000013UL /**< Default value for ETM_ETMDEVTYPE */
Kojto 98:8ab26030e058 665 #define _ETM_ETMDEVTYPE_MASK 0x000000FFUL /**< Mask for ETM_ETMDEVTYPE */
Kojto 98:8ab26030e058 666 #define _ETM_ETMDEVTYPE_TRACESRC_SHIFT 0 /**< Shift value for ETM_TRACESRC */
Kojto 98:8ab26030e058 667 #define _ETM_ETMDEVTYPE_TRACESRC_MASK 0xFUL /**< Bit mask for ETM_TRACESRC */
Kojto 98:8ab26030e058 668 #define _ETM_ETMDEVTYPE_TRACESRC_DEFAULT 0x00000003UL /**< Mode DEFAULT for ETM_ETMDEVTYPE */
Kojto 98:8ab26030e058 669 #define ETM_ETMDEVTYPE_TRACESRC_DEFAULT (_ETM_ETMDEVTYPE_TRACESRC_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMDEVTYPE */
Kojto 98:8ab26030e058 670 #define _ETM_ETMDEVTYPE_PROCTRACE_SHIFT 4 /**< Shift value for ETM_PROCTRACE */
Kojto 98:8ab26030e058 671 #define _ETM_ETMDEVTYPE_PROCTRACE_MASK 0xF0UL /**< Bit mask for ETM_PROCTRACE */
Kojto 98:8ab26030e058 672 #define _ETM_ETMDEVTYPE_PROCTRACE_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMDEVTYPE */
Kojto 98:8ab26030e058 673 #define ETM_ETMDEVTYPE_PROCTRACE_DEFAULT (_ETM_ETMDEVTYPE_PROCTRACE_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMDEVTYPE */
Kojto 98:8ab26030e058 674
Kojto 98:8ab26030e058 675 /* Bit fields for ETM ETMPIDR4 */
Kojto 98:8ab26030e058 676 #define _ETM_ETMPIDR4_RESETVALUE 0x00000004UL /**< Default value for ETM_ETMPIDR4 */
Kojto 98:8ab26030e058 677 #define _ETM_ETMPIDR4_MASK 0x000000FFUL /**< Mask for ETM_ETMPIDR4 */
Kojto 98:8ab26030e058 678 #define _ETM_ETMPIDR4_CONTCODE_SHIFT 0 /**< Shift value for ETM_CONTCODE */
Kojto 98:8ab26030e058 679 #define _ETM_ETMPIDR4_CONTCODE_MASK 0xFUL /**< Bit mask for ETM_CONTCODE */
Kojto 98:8ab26030e058 680 #define _ETM_ETMPIDR4_CONTCODE_DEFAULT 0x00000004UL /**< Mode DEFAULT for ETM_ETMPIDR4 */
Kojto 98:8ab26030e058 681 #define ETM_ETMPIDR4_CONTCODE_DEFAULT (_ETM_ETMPIDR4_CONTCODE_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMPIDR4 */
Kojto 98:8ab26030e058 682 #define _ETM_ETMPIDR4_COUNT_SHIFT 4 /**< Shift value for ETM_COUNT */
Kojto 98:8ab26030e058 683 #define _ETM_ETMPIDR4_COUNT_MASK 0xF0UL /**< Bit mask for ETM_COUNT */
Kojto 98:8ab26030e058 684 #define _ETM_ETMPIDR4_COUNT_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMPIDR4 */
Kojto 98:8ab26030e058 685 #define ETM_ETMPIDR4_COUNT_DEFAULT (_ETM_ETMPIDR4_COUNT_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMPIDR4 */
Kojto 98:8ab26030e058 686
Kojto 98:8ab26030e058 687 /* Bit fields for ETM ETMPIDR5 */
Kojto 98:8ab26030e058 688 #define _ETM_ETMPIDR5_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMPIDR5 */
Kojto 98:8ab26030e058 689 #define _ETM_ETMPIDR5_MASK 0x00000000UL /**< Mask for ETM_ETMPIDR5 */
Kojto 98:8ab26030e058 690
Kojto 98:8ab26030e058 691 /* Bit fields for ETM ETMPIDR6 */
Kojto 98:8ab26030e058 692 #define _ETM_ETMPIDR6_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMPIDR6 */
Kojto 98:8ab26030e058 693 #define _ETM_ETMPIDR6_MASK 0x00000000UL /**< Mask for ETM_ETMPIDR6 */
Kojto 98:8ab26030e058 694
Kojto 98:8ab26030e058 695 /* Bit fields for ETM ETMPIDR7 */
Kojto 98:8ab26030e058 696 #define _ETM_ETMPIDR7_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMPIDR7 */
Kojto 98:8ab26030e058 697 #define _ETM_ETMPIDR7_MASK 0x00000000UL /**< Mask for ETM_ETMPIDR7 */
Kojto 98:8ab26030e058 698
Kojto 98:8ab26030e058 699 /* Bit fields for ETM ETMPIDR0 */
Kojto 98:8ab26030e058 700 #define _ETM_ETMPIDR0_RESETVALUE 0x00000024UL /**< Default value for ETM_ETMPIDR0 */
Kojto 98:8ab26030e058 701 #define _ETM_ETMPIDR0_MASK 0x000000FFUL /**< Mask for ETM_ETMPIDR0 */
Kojto 98:8ab26030e058 702 #define _ETM_ETMPIDR0_PARTNUM_SHIFT 0 /**< Shift value for ETM_PARTNUM */
Kojto 98:8ab26030e058 703 #define _ETM_ETMPIDR0_PARTNUM_MASK 0xFFUL /**< Bit mask for ETM_PARTNUM */
Kojto 98:8ab26030e058 704 #define _ETM_ETMPIDR0_PARTNUM_DEFAULT 0x00000024UL /**< Mode DEFAULT for ETM_ETMPIDR0 */
Kojto 98:8ab26030e058 705 #define ETM_ETMPIDR0_PARTNUM_DEFAULT (_ETM_ETMPIDR0_PARTNUM_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMPIDR0 */
Kojto 98:8ab26030e058 706
Kojto 98:8ab26030e058 707 /* Bit fields for ETM ETMPIDR1 */
Kojto 98:8ab26030e058 708 #define _ETM_ETMPIDR1_RESETVALUE 0x000000B9UL /**< Default value for ETM_ETMPIDR1 */
Kojto 98:8ab26030e058 709 #define _ETM_ETMPIDR1_MASK 0x000000FFUL /**< Mask for ETM_ETMPIDR1 */
Kojto 98:8ab26030e058 710 #define _ETM_ETMPIDR1_PARTNUM_SHIFT 0 /**< Shift value for ETM_PARTNUM */
Kojto 98:8ab26030e058 711 #define _ETM_ETMPIDR1_PARTNUM_MASK 0xFUL /**< Bit mask for ETM_PARTNUM */
Kojto 98:8ab26030e058 712 #define _ETM_ETMPIDR1_PARTNUM_DEFAULT 0x00000009UL /**< Mode DEFAULT for ETM_ETMPIDR1 */
Kojto 98:8ab26030e058 713 #define ETM_ETMPIDR1_PARTNUM_DEFAULT (_ETM_ETMPIDR1_PARTNUM_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMPIDR1 */
Kojto 98:8ab26030e058 714 #define _ETM_ETMPIDR1_IDCODE_SHIFT 4 /**< Shift value for ETM_IDCODE */
Kojto 98:8ab26030e058 715 #define _ETM_ETMPIDR1_IDCODE_MASK 0xF0UL /**< Bit mask for ETM_IDCODE */
Kojto 98:8ab26030e058 716 #define _ETM_ETMPIDR1_IDCODE_DEFAULT 0x0000000BUL /**< Mode DEFAULT for ETM_ETMPIDR1 */
Kojto 98:8ab26030e058 717 #define ETM_ETMPIDR1_IDCODE_DEFAULT (_ETM_ETMPIDR1_IDCODE_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMPIDR1 */
Kojto 98:8ab26030e058 718
Kojto 98:8ab26030e058 719 /* Bit fields for ETM ETMPIDR2 */
Kojto 98:8ab26030e058 720 #define _ETM_ETMPIDR2_RESETVALUE 0x0000003BUL /**< Default value for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 721 #define _ETM_ETMPIDR2_MASK 0x000000FFUL /**< Mask for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 722 #define _ETM_ETMPIDR2_IDCODE_SHIFT 0 /**< Shift value for ETM_IDCODE */
Kojto 98:8ab26030e058 723 #define _ETM_ETMPIDR2_IDCODE_MASK 0x7UL /**< Bit mask for ETM_IDCODE */
Kojto 98:8ab26030e058 724 #define _ETM_ETMPIDR2_IDCODE_DEFAULT 0x00000003UL /**< Mode DEFAULT for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 725 #define ETM_ETMPIDR2_IDCODE_DEFAULT (_ETM_ETMPIDR2_IDCODE_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 726 #define ETM_ETMPIDR2_ALWAYS1 (0x1UL << 3) /**< Always 1 */
Kojto 98:8ab26030e058 727 #define _ETM_ETMPIDR2_ALWAYS1_SHIFT 3 /**< Shift value for ETM_ALWAYS1 */
Kojto 98:8ab26030e058 728 #define _ETM_ETMPIDR2_ALWAYS1_MASK 0x8UL /**< Bit mask for ETM_ALWAYS1 */
Kojto 98:8ab26030e058 729 #define _ETM_ETMPIDR2_ALWAYS1_DEFAULT 0x00000001UL /**< Mode DEFAULT for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 730 #define ETM_ETMPIDR2_ALWAYS1_DEFAULT (_ETM_ETMPIDR2_ALWAYS1_DEFAULT << 3) /**< Shifted mode DEFAULT for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 731 #define _ETM_ETMPIDR2_REV_SHIFT 4 /**< Shift value for ETM_REV */
Kojto 98:8ab26030e058 732 #define _ETM_ETMPIDR2_REV_MASK 0xF0UL /**< Bit mask for ETM_REV */
Kojto 98:8ab26030e058 733 #define _ETM_ETMPIDR2_REV_DEFAULT 0x00000003UL /**< Mode DEFAULT for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 734 #define ETM_ETMPIDR2_REV_DEFAULT (_ETM_ETMPIDR2_REV_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMPIDR2 */
Kojto 98:8ab26030e058 735
Kojto 98:8ab26030e058 736 /* Bit fields for ETM ETMPIDR3 */
Kojto 98:8ab26030e058 737 #define _ETM_ETMPIDR3_RESETVALUE 0x00000000UL /**< Default value for ETM_ETMPIDR3 */
Kojto 98:8ab26030e058 738 #define _ETM_ETMPIDR3_MASK 0x000000FFUL /**< Mask for ETM_ETMPIDR3 */
Kojto 98:8ab26030e058 739 #define _ETM_ETMPIDR3_CUSTMOD_SHIFT 0 /**< Shift value for ETM_CUSTMOD */
Kojto 98:8ab26030e058 740 #define _ETM_ETMPIDR3_CUSTMOD_MASK 0xFUL /**< Bit mask for ETM_CUSTMOD */
Kojto 98:8ab26030e058 741 #define _ETM_ETMPIDR3_CUSTMOD_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMPIDR3 */
Kojto 98:8ab26030e058 742 #define ETM_ETMPIDR3_CUSTMOD_DEFAULT (_ETM_ETMPIDR3_CUSTMOD_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMPIDR3 */
Kojto 98:8ab26030e058 743 #define _ETM_ETMPIDR3_REVAND_SHIFT 4 /**< Shift value for ETM_REVAND */
Kojto 98:8ab26030e058 744 #define _ETM_ETMPIDR3_REVAND_MASK 0xF0UL /**< Bit mask for ETM_REVAND */
Kojto 98:8ab26030e058 745 #define _ETM_ETMPIDR3_REVAND_DEFAULT 0x00000000UL /**< Mode DEFAULT for ETM_ETMPIDR3 */
Kojto 98:8ab26030e058 746 #define ETM_ETMPIDR3_REVAND_DEFAULT (_ETM_ETMPIDR3_REVAND_DEFAULT << 4) /**< Shifted mode DEFAULT for ETM_ETMPIDR3 */
Kojto 98:8ab26030e058 747
Kojto 98:8ab26030e058 748 /* Bit fields for ETM ETMCIDR0 */
Kojto 98:8ab26030e058 749 #define _ETM_ETMCIDR0_RESETVALUE 0x0000000DUL /**< Default value for ETM_ETMCIDR0 */
Kojto 98:8ab26030e058 750 #define _ETM_ETMCIDR0_MASK 0x000000FFUL /**< Mask for ETM_ETMCIDR0 */
Kojto 98:8ab26030e058 751 #define _ETM_ETMCIDR0_PREAMB_SHIFT 0 /**< Shift value for ETM_PREAMB */
Kojto 98:8ab26030e058 752 #define _ETM_ETMCIDR0_PREAMB_MASK 0xFFUL /**< Bit mask for ETM_PREAMB */
Kojto 98:8ab26030e058 753 #define _ETM_ETMCIDR0_PREAMB_DEFAULT 0x0000000DUL /**< Mode DEFAULT for ETM_ETMCIDR0 */
Kojto 98:8ab26030e058 754 #define ETM_ETMCIDR0_PREAMB_DEFAULT (_ETM_ETMCIDR0_PREAMB_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCIDR0 */
Kojto 98:8ab26030e058 755
Kojto 98:8ab26030e058 756 /* Bit fields for ETM ETMCIDR1 */
Kojto 98:8ab26030e058 757 #define _ETM_ETMCIDR1_RESETVALUE 0x00000090UL /**< Default value for ETM_ETMCIDR1 */
Kojto 98:8ab26030e058 758 #define _ETM_ETMCIDR1_MASK 0x000000FFUL /**< Mask for ETM_ETMCIDR1 */
Kojto 98:8ab26030e058 759 #define _ETM_ETMCIDR1_PREAMB_SHIFT 0 /**< Shift value for ETM_PREAMB */
Kojto 98:8ab26030e058 760 #define _ETM_ETMCIDR1_PREAMB_MASK 0xFFUL /**< Bit mask for ETM_PREAMB */
Kojto 98:8ab26030e058 761 #define _ETM_ETMCIDR1_PREAMB_DEFAULT 0x00000090UL /**< Mode DEFAULT for ETM_ETMCIDR1 */
Kojto 98:8ab26030e058 762 #define ETM_ETMCIDR1_PREAMB_DEFAULT (_ETM_ETMCIDR1_PREAMB_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCIDR1 */
Kojto 98:8ab26030e058 763
Kojto 98:8ab26030e058 764 /* Bit fields for ETM ETMCIDR2 */
Kojto 98:8ab26030e058 765 #define _ETM_ETMCIDR2_RESETVALUE 0x00000005UL /**< Default value for ETM_ETMCIDR2 */
Kojto 98:8ab26030e058 766 #define _ETM_ETMCIDR2_MASK 0x000000FFUL /**< Mask for ETM_ETMCIDR2 */
Kojto 98:8ab26030e058 767 #define _ETM_ETMCIDR2_PREAMB_SHIFT 0 /**< Shift value for ETM_PREAMB */
Kojto 98:8ab26030e058 768 #define _ETM_ETMCIDR2_PREAMB_MASK 0xFFUL /**< Bit mask for ETM_PREAMB */
Kojto 98:8ab26030e058 769 #define _ETM_ETMCIDR2_PREAMB_DEFAULT 0x00000005UL /**< Mode DEFAULT for ETM_ETMCIDR2 */
Kojto 98:8ab26030e058 770 #define ETM_ETMCIDR2_PREAMB_DEFAULT (_ETM_ETMCIDR2_PREAMB_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCIDR2 */
Kojto 98:8ab26030e058 771
Kojto 98:8ab26030e058 772 /* Bit fields for ETM ETMCIDR3 */
Kojto 98:8ab26030e058 773 #define _ETM_ETMCIDR3_RESETVALUE 0x000000B1UL /**< Default value for ETM_ETMCIDR3 */
Kojto 98:8ab26030e058 774 #define _ETM_ETMCIDR3_MASK 0x000000FFUL /**< Mask for ETM_ETMCIDR3 */
Kojto 98:8ab26030e058 775 #define _ETM_ETMCIDR3_PREAMB_SHIFT 0 /**< Shift value for ETM_PREAMB */
Kojto 98:8ab26030e058 776 #define _ETM_ETMCIDR3_PREAMB_MASK 0xFFUL /**< Bit mask for ETM_PREAMB */
Kojto 98:8ab26030e058 777 #define _ETM_ETMCIDR3_PREAMB_DEFAULT 0x000000B1UL /**< Mode DEFAULT for ETM_ETMCIDR3 */
Kojto 98:8ab26030e058 778 #define ETM_ETMCIDR3_PREAMB_DEFAULT (_ETM_ETMCIDR3_PREAMB_DEFAULT << 0) /**< Shifted mode DEFAULT for ETM_ETMCIDR3 */
Kojto 98:8ab26030e058 779
Kojto 98:8ab26030e058 780 /** @} End of group EFM32GG_ETM */
Kojto 98:8ab26030e058 781
Kojto 98:8ab26030e058 782