1 /* 2 3 Copyright (c) 2010 - 2025, Nordic Semiconductor ASA All rights reserved. 4 5 SPDX-License-Identifier: BSD-3-Clause 6 7 Redistribution and use in source and binary forms, with or without 8 modification, are permitted provided that the following conditions are met: 9 10 1. Redistributions of source code must retain the above copyright notice, this 11 list of conditions and the following disclaimer. 12 13 2. Redistributions in binary form must reproduce the above copyright 14 notice, this list of conditions and the following disclaimer in the 15 documentation and/or other materials provided with the distribution. 16 17 3. Neither the name of Nordic Semiconductor ASA nor the names of its 18 contributors may be used to endorse or promote products derived from this 19 software without specific prior written permission. 20 21 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 IMPLIED WARRANTIES OF MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE 24 ARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE 25 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 POSSIBILITY OF SUCH DAMAGE. 32 33 */ 34 35 #ifndef __NRF5340_APPLICATION_BITS_H 36 #define __NRF5340_APPLICATION_BITS_H 37 38 /*lint ++flb "Enter library region" */ 39 40 /* Peripheral: CACHEDATA */ 41 /* Description: CACHEDATA */ 42 43 /* Register: CACHEDATA_SET_WAY_DATA0 */ 44 /* Description: Description cluster: Cache data bits [31:0] of SET[n], WAY[o]. */ 45 46 /* Bits 31..0 : Data */ 47 #define CACHEDATA_SET_WAY_DATA0_Data_Pos (0UL) /*!< Position of Data field. */ 48 #define CACHEDATA_SET_WAY_DATA0_Data_Msk (0xFFFFFFFFUL << CACHEDATA_SET_WAY_DATA0_Data_Pos) /*!< Bit mask of Data field. */ 49 50 /* Register: CACHEDATA_SET_WAY_DATA1 */ 51 /* Description: Description cluster: Cache data bits [63:32] of SET[n], WAY[o]. */ 52 53 /* Bits 31..0 : Data */ 54 #define CACHEDATA_SET_WAY_DATA1_Data_Pos (0UL) /*!< Position of Data field. */ 55 #define CACHEDATA_SET_WAY_DATA1_Data_Msk (0xFFFFFFFFUL << CACHEDATA_SET_WAY_DATA1_Data_Pos) /*!< Bit mask of Data field. */ 56 57 /* Register: CACHEDATA_SET_WAY_DATA2 */ 58 /* Description: Description cluster: Cache data bits [95:64] of SET[n], WAY[o]. */ 59 60 /* Bits 31..0 : Data */ 61 #define CACHEDATA_SET_WAY_DATA2_Data_Pos (0UL) /*!< Position of Data field. */ 62 #define CACHEDATA_SET_WAY_DATA2_Data_Msk (0xFFFFFFFFUL << CACHEDATA_SET_WAY_DATA2_Data_Pos) /*!< Bit mask of Data field. */ 63 64 /* Register: CACHEDATA_SET_WAY_DATA3 */ 65 /* Description: Description cluster: Cache data bits [127:96] of SET[n], WAY[o]. */ 66 67 /* Bits 31..0 : Data */ 68 #define CACHEDATA_SET_WAY_DATA3_Data_Pos (0UL) /*!< Position of Data field. */ 69 #define CACHEDATA_SET_WAY_DATA3_Data_Msk (0xFFFFFFFFUL << CACHEDATA_SET_WAY_DATA3_Data_Pos) /*!< Bit mask of Data field. */ 70 71 72 /* Peripheral: CACHEINFO */ 73 /* Description: CACHEINFO */ 74 75 /* Register: CACHEINFO_SET_WAY */ 76 /* Description: Description collection: Cache information for SET[n], WAY[o]. */ 77 78 /* Bit 31 : Most recently used way. */ 79 #define CACHEINFO_SET_WAY_MRU_Pos (31UL) /*!< Position of MRU field. */ 80 #define CACHEINFO_SET_WAY_MRU_Msk (0x1UL << CACHEINFO_SET_WAY_MRU_Pos) /*!< Bit mask of MRU field. */ 81 #define CACHEINFO_SET_WAY_MRU_Way0 (0x0UL) /*!< Way0 was most recently used */ 82 #define CACHEINFO_SET_WAY_MRU_Way1 (0x1UL) /*!< Way1 was most recently used */ 83 84 /* Bit 30 : Valid bit */ 85 #define CACHEINFO_SET_WAY_V_Pos (30UL) /*!< Position of V field. */ 86 #define CACHEINFO_SET_WAY_V_Msk (0x1UL << CACHEINFO_SET_WAY_V_Pos) /*!< Bit mask of V field. */ 87 #define CACHEINFO_SET_WAY_V_Invalid (0x0UL) /*!< Invalid cache line */ 88 #define CACHEINFO_SET_WAY_V_Valid (0x1UL) /*!< Valid cache line */ 89 90 /* Bits 16..0 : Cache tag. */ 91 #define CACHEINFO_SET_WAY_TAG_Pos (0UL) /*!< Position of TAG field. */ 92 #define CACHEINFO_SET_WAY_TAG_Msk (0x1FFFFUL << CACHEINFO_SET_WAY_TAG_Pos) /*!< Bit mask of TAG field. */ 93 94 95 /* Peripheral: CACHE */ 96 /* Description: Cache */ 97 98 /* Register: CACHE_PROFILING_IHIT */ 99 /* Description: Description cluster: Instruction fetch cache hit counter for cache region n, where n=0 means Flash and n=1 means XIP. */ 100 101 /* Bits 31..0 : Number of instruction cache hits */ 102 #define CACHE_PROFILING_IHIT_HITS_Pos (0UL) /*!< Position of HITS field. */ 103 #define CACHE_PROFILING_IHIT_HITS_Msk (0xFFFFFFFFUL << CACHE_PROFILING_IHIT_HITS_Pos) /*!< Bit mask of HITS field. */ 104 105 /* Register: CACHE_PROFILING_IMISS */ 106 /* Description: Description cluster: Instruction fetch cache miss counter for cache region n, where n=0 means Flash and n=1 means XIP. */ 107 108 /* Bits 31..0 : Number of instruction cache misses */ 109 #define CACHE_PROFILING_IMISS_MISSES_Pos (0UL) /*!< Position of MISSES field. */ 110 #define CACHE_PROFILING_IMISS_MISSES_Msk (0xFFFFFFFFUL << CACHE_PROFILING_IMISS_MISSES_Pos) /*!< Bit mask of MISSES field. */ 111 112 /* Register: CACHE_PROFILING_DHIT */ 113 /* Description: Description cluster: Data fetch cache hit counter for cache region n, where n=0 means Flash and n=1 means XIP. */ 114 115 /* Bits 31..0 : Number of data cache hits */ 116 #define CACHE_PROFILING_DHIT_HITS_Pos (0UL) /*!< Position of HITS field. */ 117 #define CACHE_PROFILING_DHIT_HITS_Msk (0xFFFFFFFFUL << CACHE_PROFILING_DHIT_HITS_Pos) /*!< Bit mask of HITS field. */ 118 119 /* Register: CACHE_PROFILING_DMISS */ 120 /* Description: Description cluster: Data fetch cache miss counter for cache region n, where n=0 means Flash and n=1 means XIP. */ 121 122 /* Bits 31..0 : Number of data cache misses */ 123 #define CACHE_PROFILING_DMISS_MISSES_Pos (0UL) /*!< Position of MISSES field. */ 124 #define CACHE_PROFILING_DMISS_MISSES_Msk (0xFFFFFFFFUL << CACHE_PROFILING_DMISS_MISSES_Pos) /*!< Bit mask of MISSES field. */ 125 126 /* Register: CACHE_ENABLE */ 127 /* Description: Enable cache. */ 128 129 /* Bit 0 : Enable cache */ 130 #define CACHE_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 131 #define CACHE_ENABLE_ENABLE_Msk (0x1UL << CACHE_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 132 #define CACHE_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable cache */ 133 #define CACHE_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable cache */ 134 135 /* Register: CACHE_INVALIDATE */ 136 /* Description: Invalidate the cache. */ 137 138 /* Bit 0 : Invalidate the cache */ 139 #define CACHE_INVALIDATE_INVALIDATE_Pos (0UL) /*!< Position of INVALIDATE field. */ 140 #define CACHE_INVALIDATE_INVALIDATE_Msk (0x1UL << CACHE_INVALIDATE_INVALIDATE_Pos) /*!< Bit mask of INVALIDATE field. */ 141 #define CACHE_INVALIDATE_INVALIDATE_Invalidate (0x1UL) /*!< Invalidate the cache */ 142 143 /* Register: CACHE_ERASE */ 144 /* Description: Erase the cache. */ 145 146 /* Bit 0 : Erase the cache */ 147 #define CACHE_ERASE_ERASE_Pos (0UL) /*!< Position of ERASE field. */ 148 #define CACHE_ERASE_ERASE_Msk (0x1UL << CACHE_ERASE_ERASE_Pos) /*!< Bit mask of ERASE field. */ 149 #define CACHE_ERASE_ERASE_Erase (0x1UL) /*!< Erase cache */ 150 151 /* Register: CACHE_PROFILINGENABLE */ 152 /* Description: Enable the profiling counters. */ 153 154 /* Bit 0 : Enable the profiling counters */ 155 #define CACHE_PROFILINGENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 156 #define CACHE_PROFILINGENABLE_ENABLE_Msk (0x1UL << CACHE_PROFILINGENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 157 #define CACHE_PROFILINGENABLE_ENABLE_Disable (0x0UL) /*!< Disable profiling */ 158 #define CACHE_PROFILINGENABLE_ENABLE_Enable (0x1UL) /*!< Enable profiling */ 159 160 /* Register: CACHE_PROFILINGCLEAR */ 161 /* Description: Clear the profiling counters. */ 162 163 /* Bit 0 : Clearing the profiling counters */ 164 #define CACHE_PROFILINGCLEAR_CLEAR_Pos (0UL) /*!< Position of CLEAR field. */ 165 #define CACHE_PROFILINGCLEAR_CLEAR_Msk (0x1UL << CACHE_PROFILINGCLEAR_CLEAR_Pos) /*!< Bit mask of CLEAR field. */ 166 #define CACHE_PROFILINGCLEAR_CLEAR_Clear (0x1UL) /*!< Clear the profiling counters */ 167 168 /* Register: CACHE_MODE */ 169 /* Description: Cache mode. Switching from Cache to Ram mode causes the RAM to be cleared. Switching from RAM to Cache mode causes the cache to be invalidated. */ 170 171 /* Bit 0 : Cache mode */ 172 #define CACHE_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 173 #define CACHE_MODE_MODE_Msk (0x1UL << CACHE_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 174 #define CACHE_MODE_MODE_Cache (0x0UL) /*!< Cache mode */ 175 #define CACHE_MODE_MODE_Ram (0x1UL) /*!< RAM mode */ 176 177 /* Register: CACHE_DEBUGLOCK */ 178 /* Description: Lock debug mode. */ 179 180 /* Bit 0 : Lock debug mode */ 181 #define CACHE_DEBUGLOCK_DEBUGLOCK_Pos (0UL) /*!< Position of DEBUGLOCK field. */ 182 #define CACHE_DEBUGLOCK_DEBUGLOCK_Msk (0x1UL << CACHE_DEBUGLOCK_DEBUGLOCK_Pos) /*!< Bit mask of DEBUGLOCK field. */ 183 #define CACHE_DEBUGLOCK_DEBUGLOCK_Unlocked (0x0UL) /*!< Debug mode unlocked */ 184 #define CACHE_DEBUGLOCK_DEBUGLOCK_Locked (0x1UL) /*!< Debug mode locked */ 185 186 /* Register: CACHE_ERASESTATUS */ 187 /* Description: Cache erase status. */ 188 189 /* Bit 0 : Cache erase status */ 190 #define CACHE_ERASESTATUS_ERASESTATUS_Pos (0UL) /*!< Position of ERASESTATUS field. */ 191 #define CACHE_ERASESTATUS_ERASESTATUS_Msk (0x1UL << CACHE_ERASESTATUS_ERASESTATUS_Pos) /*!< Bit mask of ERASESTATUS field. */ 192 #define CACHE_ERASESTATUS_ERASESTATUS_Idle (0x0UL) /*!< Erase is not complete or hasn't started */ 193 #define CACHE_ERASESTATUS_ERASESTATUS_Finished (0x1UL) /*!< Cache erase is finished */ 194 195 /* Register: CACHE_WRITELOCK */ 196 /* Description: Lock cache updates. Prevents updating of cache content on cache misses, but will continue to lookup instruction/data fetches in content already present in the cache. Ignored in RAM mode. */ 197 198 /* Bit 0 : Lock cache updates */ 199 #define CACHE_WRITELOCK_WRITELOCK_Pos (0UL) /*!< Position of WRITELOCK field. */ 200 #define CACHE_WRITELOCK_WRITELOCK_Msk (0x1UL << CACHE_WRITELOCK_WRITELOCK_Pos) /*!< Bit mask of WRITELOCK field. */ 201 #define CACHE_WRITELOCK_WRITELOCK_Unlocked (0x0UL) /*!< Cache updates unlocked */ 202 #define CACHE_WRITELOCK_WRITELOCK_Locked (0x1UL) /*!< Cache updates locked */ 203 204 205 /* Peripheral: CC_AES */ 206 /* Description: CRYPTOCELL AES engine */ 207 208 /* Register: CC_AES_AES_KEY_0 */ 209 /* Description: Description collection: AES key value to use in non-tunneling operations, or as the first tunnel stage key in tunneling operations. 210 The initial AES_KEY_0[0] register holds the least significant bits [31:0] of the key value. */ 211 212 /* Bits 31..0 : AES non-tunneling or first tunnel stage key value. */ 213 #define CC_AES_AES_KEY_0_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 214 #define CC_AES_AES_KEY_0_VALUE_Msk (0xFFFFFFFFUL << CC_AES_AES_KEY_0_VALUE_Pos) /*!< Bit mask of VALUE field. */ 215 216 /* Register: CC_AES_AES_KEY_1 */ 217 /* Description: Description collection: AES key value to use as the second tunnel stage key in tunneling operations. 218 The initial AES_KEY_1[0] register holds the least significant bits [31:0] of the key value. */ 219 220 /* Bits 31..0 : AES second tunnel stage key value. */ 221 #define CC_AES_AES_KEY_1_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 222 #define CC_AES_AES_KEY_1_VALUE_Msk (0xFFFFFFFFUL << CC_AES_AES_KEY_1_VALUE_Pos) /*!< Bit mask of VALUE field. */ 223 224 /* Register: CC_AES_AES_IV_0 */ 225 /* Description: Description collection: AES Initialization Vector (IV) to use in non-tunneling operations, or as the first tunnel stage IV in tunneling operations. 226 The initial AES_IV_0[0] register holds the least significant bits [31:0] of the IV. */ 227 228 /* Bits 31..0 : AES non-tunneling or first tunnel stage IV value. */ 229 #define CC_AES_AES_IV_0_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 230 #define CC_AES_AES_IV_0_VALUE_Msk (0xFFFFFFFFUL << CC_AES_AES_IV_0_VALUE_Pos) /*!< Bit mask of VALUE field. */ 231 232 /* Register: CC_AES_AES_IV_1 */ 233 /* Description: Description collection: AES Initialization Vector (IV) to use as the second tunnel stage IV in tunneling operations. 234 The initial AES_IV_1[0] register holds the least significant bits [31:0] of the IV. */ 235 236 /* Bits 31..0 : AES second tunnel stage IV value. */ 237 #define CC_AES_AES_IV_1_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 238 #define CC_AES_AES_IV_1_VALUE_Msk (0xFFFFFFFFUL << CC_AES_AES_IV_1_VALUE_Pos) /*!< Bit mask of VALUE field. */ 239 240 /* Register: CC_AES_AES_CTR */ 241 /* Description: Description collection: AES counter (CTR) to use in non-tunneling and tunneling operations. 242 The initial AES_CTR[0] register holds the least significant bits [31:0] of the CTR. */ 243 244 /* Bits 31..0 : AES CTR value. */ 245 #define CC_AES_AES_CTR_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 246 #define CC_AES_AES_CTR_VALUE_Msk (0xFFFFFFFFUL << CC_AES_AES_CTR_VALUE_Pos) /*!< Bit mask of VALUE field. */ 247 248 /* Register: CC_AES_AES_BUSY */ 249 /* Description: Status register for AES engine activity. */ 250 251 /* Bit 0 : AES engine status. */ 252 #define CC_AES_AES_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 253 #define CC_AES_AES_BUSY_STATUS_Msk (0x1UL << CC_AES_AES_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 254 #define CC_AES_AES_BUSY_STATUS_Idle (0x0UL) /*!< AES engine is idle */ 255 #define CC_AES_AES_BUSY_STATUS_Busy (0x1UL) /*!< AES engine is busy */ 256 257 /* Register: CC_AES_AES_CMAC_INIT */ 258 /* Description: Writing to this address triggers the AES engine to generate K1 and K2 for AES-CMAC operations. */ 259 260 /* Bit 0 : Generate K1 and K2 for the AES-CMAC operations. */ 261 #define CC_AES_AES_CMAC_INIT_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 262 #define CC_AES_AES_CMAC_INIT_ENABLE_Msk (0x1UL << CC_AES_AES_CMAC_INIT_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 263 #define CC_AES_AES_CMAC_INIT_ENABLE_Enable (0x1UL) /*!< Initialize AES-CMAC operations. */ 264 265 /* Register: CC_AES_AES_REMAINING_BYTES */ 266 /* Description: This register should be set with the amount of remaining bytes until the end of the current AES operation. */ 267 268 /* Bits 31..0 : Remaining bytes util the end of the current AES operation. */ 269 #define CC_AES_AES_REMAINING_BYTES_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 270 #define CC_AES_AES_REMAINING_BYTES_VALUE_Msk (0xFFFFFFFFUL << CC_AES_AES_REMAINING_BYTES_VALUE_Pos) /*!< Bit mask of VALUE field. */ 271 272 /* Register: CC_AES_AES_CONTROL */ 273 /* Description: Control the AES engine behavior. */ 274 275 /* Bit 31 : Using direct access and not the DIN-DOUT DMA interface */ 276 #define CC_AES_AES_CONTROL_DIRECT_ACCESS_Pos (31UL) /*!< Position of DIRECT_ACCESS field. */ 277 #define CC_AES_AES_CONTROL_DIRECT_ACCESS_Msk (0x1UL << CC_AES_AES_CONTROL_DIRECT_ACCESS_Pos) /*!< Bit mask of DIRECT_ACCESS field. */ 278 #define CC_AES_AES_CONTROL_DIRECT_ACCESS_Disable (0x0UL) /*!< Access using the DIN-DOUT DMA interface */ 279 #define CC_AES_AES_CONTROL_DIRECT_ACCESS_Enable (0x1UL) /*!< Access using direct access */ 280 281 /* Bit 28 : This field determines for AES-TO-HASH-AND-DOUT tunneling operations, whether the AES outputs to the HASH the result of the first or the second tunneling stage. */ 282 #define CC_AES_AES_CONTROL_AES_OUT_MID_TUN_TO_HASH_Pos (28UL) /*!< Position of AES_OUT_MID_TUN_TO_HASH field. */ 283 #define CC_AES_AES_CONTROL_AES_OUT_MID_TUN_TO_HASH_Msk (0x1UL << CC_AES_AES_CONTROL_AES_OUT_MID_TUN_TO_HASH_Pos) /*!< Bit mask of AES_OUT_MID_TUN_TO_HASH field. */ 284 #define CC_AES_AES_CONTROL_AES_OUT_MID_TUN_TO_HASH_SecondStage (0x0UL) /*!< The AES engine writes to the HASH the result of the second tunnel stage. */ 285 #define CC_AES_AES_CONTROL_AES_OUT_MID_TUN_TO_HASH_FirstStage (0x1UL) /*!< The AES engine writes to the HASH the result of the first tunnel stage. */ 286 287 /* Bit 26 : This field configure if the input data to the second tunnel stage is to be padded with zeroes according to how many bytes are remaining. */ 288 #define CC_AES_AES_CONTROL_AES_TUNNEL_B1_PAD_EN_Pos (26UL) /*!< Position of AES_TUNNEL_B1_PAD_EN field. */ 289 #define CC_AES_AES_CONTROL_AES_TUNNEL_B1_PAD_EN_Msk (0x1UL << CC_AES_AES_CONTROL_AES_TUNNEL_B1_PAD_EN_Pos) /*!< Bit mask of AES_TUNNEL_B1_PAD_EN field. */ 290 #define CC_AES_AES_CONTROL_AES_TUNNEL_B1_PAD_EN_Disable (0x0UL) /*!< The data input to the second tunnel stage is not padded with zeros. */ 291 #define CC_AES_AES_CONTROL_AES_TUNNEL_B1_PAD_EN_Enable (0x1UL) /*!< The data input to the second tunnel stage is padded with zeros. */ 292 293 /* Bit 25 : This fields configure if the AES engine output is the result of the first or second tunneling stage. */ 294 #define CC_AES_AES_CONTROL_AES_OUTPUT_MID_TUNNEL_DATA_Pos (25UL) /*!< Position of AES_OUTPUT_MID_TUNNEL_DATA field. */ 295 #define CC_AES_AES_CONTROL_AES_OUTPUT_MID_TUNNEL_DATA_Msk (0x1UL << CC_AES_AES_CONTROL_AES_OUTPUT_MID_TUNNEL_DATA_Pos) /*!< Bit mask of AES_OUTPUT_MID_TUNNEL_DATA field. */ 296 #define CC_AES_AES_CONTROL_AES_OUTPUT_MID_TUNNEL_DATA_SecondStage (0x0UL) /*!< Output result from the second tunnel stage (standard tunneling). */ 297 #define CC_AES_AES_CONTROL_AES_OUTPUT_MID_TUNNEL_DATA_FirstStage (0x1UL) /*!< Output result from the first tunnel stage. */ 298 299 /* Bit 24 : Configure if first tunnel stage performs encrypt or decrypt operation. */ 300 #define CC_AES_AES_CONTROL_AES_TUNNEL0_ENCRYPT_Pos (24UL) /*!< Position of AES_TUNNEL0_ENCRYPT field. */ 301 #define CC_AES_AES_CONTROL_AES_TUNNEL0_ENCRYPT_Msk (0x1UL << CC_AES_AES_CONTROL_AES_TUNNEL0_ENCRYPT_Pos) /*!< Bit mask of AES_TUNNEL0_ENCRYPT field. */ 302 #define CC_AES_AES_CONTROL_AES_TUNNEL0_ENCRYPT_Decrypt (0x0UL) /*!< First tunnel stage performs decrypt operations. */ 303 #define CC_AES_AES_CONTROL_AES_TUNNEL0_ENCRYPT_Encrypt (0x1UL) /*!< First tunnel stage performs encrypt operations. */ 304 305 /* Bit 23 : For tunneling operations this field determine the data that is fed to the second tunneling stage. */ 306 #define CC_AES_AES_CONTROL_AES_TUN_B1_USES_PADDED_DATA_IN_Pos (23UL) /*!< Position of AES_TUN_B1_USES_PADDED_DATA_IN field. */ 307 #define CC_AES_AES_CONTROL_AES_TUN_B1_USES_PADDED_DATA_IN_Msk (0x1UL << CC_AES_AES_CONTROL_AES_TUN_B1_USES_PADDED_DATA_IN_Pos) /*!< Bit mask of AES_TUN_B1_USES_PADDED_DATA_IN field. */ 308 #define CC_AES_AES_CONTROL_AES_TUN_B1_USES_PADDED_DATA_IN_Disable (0x0UL) /*!< The output of the first block is used directly (standard tunneling operation). */ 309 #define CC_AES_AES_CONTROL_AES_TUN_B1_USES_PADDED_DATA_IN_Enable (0x1UL) /*!< The output of the first block is padded before use. */ 310 311 /* Bit 22 : Configure if first tunnel stage performs encrypt or decrypt operation. */ 312 #define CC_AES_AES_CONTROL_AES_TUNNEL1_DECRYPT_Pos (22UL) /*!< Position of AES_TUNNEL1_DECRYPT field. */ 313 #define CC_AES_AES_CONTROL_AES_TUNNEL1_DECRYPT_Msk (0x1UL << CC_AES_AES_CONTROL_AES_TUNNEL1_DECRYPT_Pos) /*!< Bit mask of AES_TUNNEL1_DECRYPT field. */ 314 #define CC_AES_AES_CONTROL_AES_TUNNEL1_DECRYPT_Encrypt (0x0UL) /*!< Second tunnel stage performs encrypt operations. */ 315 #define CC_AES_AES_CONTROL_AES_TUNNEL1_DECRYPT_Decrypt (0x1UL) /*!< Second tunnel stage performs decrypt operations. */ 316 317 /* Bits 15..14 : Set the AES key length of the second stage in tunneling operations. */ 318 #define CC_AES_AES_CONTROL_NK_KEY1_Pos (14UL) /*!< Position of NK_KEY1 field. */ 319 #define CC_AES_AES_CONTROL_NK_KEY1_Msk (0x3UL << CC_AES_AES_CONTROL_NK_KEY1_Pos) /*!< Bit mask of NK_KEY1 field. */ 320 #define CC_AES_AES_CONTROL_NK_KEY1_128Bits (0x0UL) /*!< 128 bits key length */ 321 #define CC_AES_AES_CONTROL_NK_KEY1_192Bits (0x1UL) /*!< 192 bits key length */ 322 #define CC_AES_AES_CONTROL_NK_KEY1_256Bits (0x2UL) /*!< 256 bits key length */ 323 324 /* Bits 13..12 : Set the AES key length in non-tunneling operations, or the AES key length of the first stage in tunneling operations. */ 325 #define CC_AES_AES_CONTROL_NK_KEY0_Pos (12UL) /*!< Position of NK_KEY0 field. */ 326 #define CC_AES_AES_CONTROL_NK_KEY0_Msk (0x3UL << CC_AES_AES_CONTROL_NK_KEY0_Pos) /*!< Bit mask of NK_KEY0 field. */ 327 #define CC_AES_AES_CONTROL_NK_KEY0_128Bits (0x0UL) /*!< 128 bits key length */ 328 #define CC_AES_AES_CONTROL_NK_KEY0_192Bits (0x1UL) /*!< 192 bits key length */ 329 #define CC_AES_AES_CONTROL_NK_KEY0_256Bits (0x2UL) /*!< 256 bits key length */ 330 331 /* Bit 11 : If MODE_KEY0 is set to CBC, and this field is set, the mode is CBC Bitlocker. */ 332 #define CC_AES_AES_CONTROL_CBC_IS_BITLOCKER_Pos (11UL) /*!< Position of CBC_IS_BITLOCKER field. */ 333 #define CC_AES_AES_CONTROL_CBC_IS_BITLOCKER_Msk (0x1UL << CC_AES_AES_CONTROL_CBC_IS_BITLOCKER_Pos) /*!< Bit mask of CBC_IS_BITLOCKER field. */ 334 #define CC_AES_AES_CONTROL_CBC_IS_BITLOCKER_Disable (0x0UL) /*!< Disable CBC Bitlocker mode */ 335 #define CC_AES_AES_CONTROL_CBC_IS_BITLOCKER_Enable (0x1UL) /*!< Enable CBC Bitlocker mode */ 336 337 /* Bit 10 : Configure AES engine for standard non-tunneling or tunneling operations. */ 338 #define CC_AES_AES_CONTROL_AES_TUNNEL_Pos (10UL) /*!< Position of AES_TUNNEL field. */ 339 #define CC_AES_AES_CONTROL_AES_TUNNEL_Msk (0x1UL << CC_AES_AES_CONTROL_AES_TUNNEL_Pos) /*!< Bit mask of AES_TUNNEL field. */ 340 #define CC_AES_AES_CONTROL_AES_TUNNEL_Disable (0x0UL) /*!< Standard non-tunneling operations */ 341 #define CC_AES_AES_CONTROL_AES_TUNNEL_Enable (0x1UL) /*!< Enable tunneling operations */ 342 343 /* Bit 8 : If MODE_KEY0 is set to CBC, and this field is set, the mode is CBC with ESSIV. */ 344 #define CC_AES_AES_CONTROL_CBC_IS_ESSIV_Pos (8UL) /*!< Position of CBC_IS_ESSIV field. */ 345 #define CC_AES_AES_CONTROL_CBC_IS_ESSIV_Msk (0x1UL << CC_AES_AES_CONTROL_CBC_IS_ESSIV_Pos) /*!< Bit mask of CBC_IS_ESSIV field. */ 346 #define CC_AES_AES_CONTROL_CBC_IS_ESSIV_Disable (0x0UL) /*!< Disable CBC with ESSIV mode */ 347 #define CC_AES_AES_CONTROL_CBC_IS_ESSIV_Enable (0x1UL) /*!< Enable CBC with ESSIV mode */ 348 349 /* Bits 7..5 : Set the AES mode of the second stage in tunneling operations */ 350 #define CC_AES_AES_CONTROL_MODE_KEY1_Pos (5UL) /*!< Position of MODE_KEY1 field. */ 351 #define CC_AES_AES_CONTROL_MODE_KEY1_Msk (0x7UL << CC_AES_AES_CONTROL_MODE_KEY1_Pos) /*!< Bit mask of MODE_KEY1 field. */ 352 #define CC_AES_AES_CONTROL_MODE_KEY1_ECB (0x0UL) /*!< Electronic codebook mode */ 353 #define CC_AES_AES_CONTROL_MODE_KEY1_CBC (0x1UL) /*!< Cipher block chaining mode */ 354 #define CC_AES_AES_CONTROL_MODE_KEY1_CTR (0x2UL) /*!< Counter mode */ 355 #define CC_AES_AES_CONTROL_MODE_KEY1_CBC_MAC (0x3UL) /*!< Cipher block chaining message authentication code mode */ 356 #define CC_AES_AES_CONTROL_MODE_KEY1_XEX_XTS (0x4UL) /*!< Xor-Encrypt-Xor (XEX)-based tweaked-codebook mode with ciphertext stealing (XTS) */ 357 #define CC_AES_AES_CONTROL_MODE_KEY1_XCBC_MAC (0x5UL) /*!< AES in CBC mode with extensions to overcome fixed length limitations */ 358 #define CC_AES_AES_CONTROL_MODE_KEY1_OFB (0x6UL) /*!< AES Output FeedBack mode */ 359 #define CC_AES_AES_CONTROL_MODE_KEY1_CMAC (0x7UL) /*!< Cipher-based Message Authentication Code */ 360 361 /* Bits 4..2 : Set the AES mode in non-tunneling operations, or the AES mode of the first stage in tunneling operations. */ 362 #define CC_AES_AES_CONTROL_MODE_KEY0_Pos (2UL) /*!< Position of MODE_KEY0 field. */ 363 #define CC_AES_AES_CONTROL_MODE_KEY0_Msk (0x7UL << CC_AES_AES_CONTROL_MODE_KEY0_Pos) /*!< Bit mask of MODE_KEY0 field. */ 364 #define CC_AES_AES_CONTROL_MODE_KEY0_ECB (0x0UL) /*!< Electronic codebook mode */ 365 #define CC_AES_AES_CONTROL_MODE_KEY0_CBC (0x1UL) /*!< Cipher block chaining mode */ 366 #define CC_AES_AES_CONTROL_MODE_KEY0_CTR (0x2UL) /*!< Counter mode */ 367 #define CC_AES_AES_CONTROL_MODE_KEY0_CBC_MAC (0x3UL) /*!< Cipher Block Chaining Message Authentication Code */ 368 #define CC_AES_AES_CONTROL_MODE_KEY0_XEX_XTS (0x4UL) /*!< Xor-Encrypt-Xor (XEX)-based tweaked-codebook mode with ciphertext stealing (XTS) */ 369 #define CC_AES_AES_CONTROL_MODE_KEY0_XCBC_MAC (0x5UL) /*!< AES in CBC mode with extensions to overcome fixed length limitations */ 370 #define CC_AES_AES_CONTROL_MODE_KEY0_OFB (0x6UL) /*!< AES Output FeedBack mode */ 371 #define CC_AES_AES_CONTROL_MODE_KEY0_CMAC (0x7UL) /*!< Cipher-based Message Authentication Code */ 372 373 /* Bit 1 : This field allows to add distinction to the CBC and CTR modes defined in field MODE_KEY0. 374 If MODE_KEY0 is set to CBC in combination with this field, AES mode is CBC-CTS. If MODE_KEY0 375 is set to CTR in combination with this field, AES mode is GCTR. */ 376 #define CC_AES_AES_CONTROL_MODE0_IS_CBC_CTS_Pos (1UL) /*!< Position of MODE0_IS_CBC_CTS field. */ 377 #define CC_AES_AES_CONTROL_MODE0_IS_CBC_CTS_Msk (0x1UL << CC_AES_AES_CONTROL_MODE0_IS_CBC_CTS_Pos) /*!< Bit mask of MODE0_IS_CBC_CTS field. */ 378 #define CC_AES_AES_CONTROL_MODE0_IS_CBC_CTS_Disable (0x0UL) /*!< Disable CBC-CTS and GCTR mode */ 379 #define CC_AES_AES_CONTROL_MODE0_IS_CBC_CTS_Enable (0x1UL) /*!< Enable CBC-CTS and GCTR mode */ 380 381 /* Bit 0 : Set AES encrypt or decrypt mode in non-tunneling operations. */ 382 #define CC_AES_AES_CONTROL_DEC_KEY0_Pos (0UL) /*!< Position of DEC_KEY0 field. */ 383 #define CC_AES_AES_CONTROL_DEC_KEY0_Msk (0x1UL << CC_AES_AES_CONTROL_DEC_KEY0_Pos) /*!< Bit mask of DEC_KEY0 field. */ 384 #define CC_AES_AES_CONTROL_DEC_KEY0_Encrypt (0x0UL) /*!< Perform AES encryption */ 385 #define CC_AES_AES_CONTROL_DEC_KEY0_Decrypt (0x1UL) /*!< Perform AES decryption */ 386 387 /* Register: CC_AES_AES_HW_FLAGS */ 388 /* Description: Hardware configuration of the AES engine. Reset value holds the supported features. */ 389 390 /* Bit 12 : If this flag is set, the engine support DFA countermeasures. */ 391 #define CC_AES_AES_HW_FLAGS_DFA_CNTRMSR_EXIST_Pos (12UL) /*!< Position of DFA_CNTRMSR_EXIST field. */ 392 #define CC_AES_AES_HW_FLAGS_DFA_CNTRMSR_EXIST_Msk (0x1UL << CC_AES_AES_HW_FLAGS_DFA_CNTRMSR_EXIST_Pos) /*!< Bit mask of DFA_CNTRMSR_EXIST field. */ 393 394 /* Bit 11 : If this flag is set, the engine support a second register set for tunneling operations. */ 395 #define CC_AES_AES_HW_FLAGS_SECOND_REGS_SET_EXIST_Pos (11UL) /*!< Position of SECOND_REGS_SET_EXIST field. */ 396 #define CC_AES_AES_HW_FLAGS_SECOND_REGS_SET_EXIST_Msk (0x1UL << CC_AES_AES_HW_FLAGS_SECOND_REGS_SET_EXIST_Pos) /*!< Bit mask of SECOND_REGS_SET_EXIST field. */ 397 398 /* Bit 10 : If this flag is set, the engine support tunneling operations. */ 399 #define CC_AES_AES_HW_FLAGS_AES_TUNNEL_EXIST_Pos (10UL) /*!< Position of AES_TUNNEL_EXIST field. */ 400 #define CC_AES_AES_HW_FLAGS_AES_TUNNEL_EXIST_Msk (0x1UL << CC_AES_AES_HW_FLAGS_AES_TUNNEL_EXIST_Pos) /*!< Bit mask of AES_TUNNEL_EXIST field. */ 401 402 /* Bit 9 : If this flag is set, the engine contains the PREV_IV register for faster AES XCBC MAC calculation. */ 403 #define CC_AES_AES_HW_FLAGS_AES_SUPPORT_PREV_IV_Pos (9UL) /*!< Position of AES_SUPPORT_PREV_IV field. */ 404 #define CC_AES_AES_HW_FLAGS_AES_SUPPORT_PREV_IV_Msk (0x1UL << CC_AES_AES_HW_FLAGS_AES_SUPPORT_PREV_IV_Pos) /*!< Bit mask of AES_SUPPORT_PREV_IV field. */ 405 406 /* Bit 8 : If this flag is set, the engine uses 5 SBOX where each AES round takes 4 cycles. */ 407 #define CC_AES_AES_HW_FLAGS_USE_5_SBOXES_Pos (8UL) /*!< Position of USE_5_SBOXES field. */ 408 #define CC_AES_AES_HW_FLAGS_USE_5_SBOXES_Msk (0x1UL << CC_AES_AES_HW_FLAGS_USE_5_SBOXES_Pos) /*!< Bit mask of USE_5_SBOXES field. */ 409 410 /* Bit 5 : If this flag is set, the engine uses SBOX tables. */ 411 #define CC_AES_AES_HW_FLAGS_USE_SBOX_TABLE_Pos (5UL) /*!< Position of USE_SBOX_TABLE field. */ 412 #define CC_AES_AES_HW_FLAGS_USE_SBOX_TABLE_Msk (0x1UL << CC_AES_AES_HW_FLAGS_USE_SBOX_TABLE_Pos) /*!< Bit mask of USE_SBOX_TABLE field. */ 413 414 /* Bit 4 : If this flag is set, the engine only support encrypt operations. */ 415 #define CC_AES_AES_HW_FLAGS_ONLY_ENCRYPT_Pos (4UL) /*!< Position of ONLY_ENCRYPT field. */ 416 #define CC_AES_AES_HW_FLAGS_ONLY_ENCRYPT_Msk (0x1UL << CC_AES_AES_HW_FLAGS_ONLY_ENCRYPT_Pos) /*!< Bit mask of ONLY_ENCRYPT field. */ 417 418 /* Bit 3 : If this flag is set, the engine support AES CTR mode. */ 419 #define CC_AES_AES_HW_FLAGS_CTR_EXIST_Pos (3UL) /*!< Position of CTR_EXIST field. */ 420 #define CC_AES_AES_HW_FLAGS_CTR_EXIST_Msk (0x1UL << CC_AES_AES_HW_FLAGS_CTR_EXIST_Pos) /*!< Bit mask of CTR_EXIST field. */ 421 422 /* Bit 2 : If this flag is set, the engine support DPA countermeasures. */ 423 #define CC_AES_AES_HW_FLAGS_DPA_CNTRMSR_EXIST_Pos (2UL) /*!< Position of DPA_CNTRMSR_EXIST field. */ 424 #define CC_AES_AES_HW_FLAGS_DPA_CNTRMSR_EXIST_Msk (0x1UL << CC_AES_AES_HW_FLAGS_DPA_CNTRMSR_EXIST_Pos) /*!< Bit mask of DPA_CNTRMSR_EXIST field. */ 425 426 /* Bit 1 : If this flag is set, the engine support AES_LARGE_RKEK. */ 427 #define CC_AES_AES_HW_FLAGS_AES_LARGE_RKEK_Pos (1UL) /*!< Position of AES_LARGE_RKEK field. */ 428 #define CC_AES_AES_HW_FLAGS_AES_LARGE_RKEK_Msk (0x1UL << CC_AES_AES_HW_FLAGS_AES_LARGE_RKEK_Pos) /*!< Bit mask of AES_LARGE_RKEK field. */ 429 430 /* Bit 0 : If this flag is set, the engine support 192 bits and 256 bits key size. */ 431 #define CC_AES_AES_HW_FLAGS_SUPPORT_256_192_KEY_Pos (0UL) /*!< Position of SUPPORT_256_192_KEY field. */ 432 #define CC_AES_AES_HW_FLAGS_SUPPORT_256_192_KEY_Msk (0x1UL << CC_AES_AES_HW_FLAGS_SUPPORT_256_192_KEY_Pos) /*!< Bit mask of SUPPORT_256_192_KEY field. */ 433 434 /* Register: CC_AES_AES_CTR_NO_INCREMENT */ 435 /* Description: This register enables the AES CTR no increment mode in which the counter mode is not incremented between two blocks */ 436 437 /* Bit 0 : This field enables the AES CTR no increment mode in which the counter mode is not incremented between two blocks */ 438 #define CC_AES_AES_CTR_NO_INCREMENT_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 439 #define CC_AES_AES_CTR_NO_INCREMENT_ENABLE_Msk (0x1UL << CC_AES_AES_CTR_NO_INCREMENT_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 440 #define CC_AES_AES_CTR_NO_INCREMENT_ENABLE_Disable (0x0UL) /*!< Counter always incremented between blocks */ 441 #define CC_AES_AES_CTR_NO_INCREMENT_ENABLE_Enable (0x1UL) /*!< Do not increment counter between blocks */ 442 443 /* Register: CC_AES_AES_SW_RESET */ 444 /* Description: Reset the AES engine. */ 445 446 /* Bit 0 : Writing any value to this address resets the AES engine. The reset takes 4 CPU clock cycles to complete. */ 447 #define CC_AES_AES_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 448 #define CC_AES_AES_SW_RESET_RESET_Msk (0x1UL << CC_AES_AES_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 449 #define CC_AES_AES_SW_RESET_RESET_Enable (0x1UL) /*!< Reset AES engine. */ 450 451 /* Register: CC_AES_AES_CMAC_SIZE0_KICK */ 452 /* Description: Writing to this address triggers the AES engine to perform a CMAC operation with size 0. The CMAC result can be read from the AES_IV_0 register. */ 453 454 /* Bit 0 : Force AES CMAC operation with size 0. */ 455 #define CC_AES_AES_CMAC_SIZE0_KICK_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 456 #define CC_AES_AES_CMAC_SIZE0_KICK_ENABLE_Msk (0x1UL << CC_AES_AES_CMAC_SIZE0_KICK_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 457 #define CC_AES_AES_CMAC_SIZE0_KICK_ENABLE_Disable (0x0UL) /*!< Normal AES CMAC operation */ 458 #define CC_AES_AES_CMAC_SIZE0_KICK_ENABLE_Enable (0x1UL) /*!< Force CMAC operation with size 0 */ 459 460 461 /* Peripheral: CC_AHB */ 462 /* Description: CRYPTOCELL AHB interface */ 463 464 /* Register: CC_AHB_AHBM_SINGLES */ 465 /* Description: This register forces the AHB transactions from CRYPTOCELL master to be always singles. */ 466 467 /* Bit 0 : Force AHB singles */ 468 #define CC_AHB_AHBM_SINGLES_AHB_SINGLES_Pos (0UL) /*!< Position of AHB_SINGLES field. */ 469 #define CC_AHB_AHBM_SINGLES_AHB_SINGLES_Msk (0x1UL << CC_AHB_AHBM_SINGLES_AHB_SINGLES_Pos) /*!< Bit mask of AHB_SINGLES field. */ 470 471 /* Register: CC_AHB_AHBM_HPROT */ 472 /* Description: This register holds the AHB HPROT value */ 473 474 /* Bits 3..0 : The AHB HPROT value */ 475 #define CC_AHB_AHBM_HPROT_AHB_HPROT_Pos (0UL) /*!< Position of AHB_HPROT field. */ 476 #define CC_AHB_AHBM_HPROT_AHB_HPROT_Msk (0xFUL << CC_AHB_AHBM_HPROT_AHB_HPROT_Pos) /*!< Bit mask of AHB_HPROT field. */ 477 478 /* Register: CC_AHB_AHBM_HMASTLOCK */ 479 /* Description: This register holds AHB HMASTLOCK value */ 480 481 /* Bit 0 : The AHB HMASTLOCK value. */ 482 #define CC_AHB_AHBM_HMASTLOCK_AHB_HMASTLOCK_Pos (0UL) /*!< Position of AHB_HMASTLOCK field. */ 483 #define CC_AHB_AHBM_HMASTLOCK_AHB_HMASTLOCK_Msk (0x1UL << CC_AHB_AHBM_HMASTLOCK_AHB_HMASTLOCK_Pos) /*!< Bit mask of AHB_HMASTLOCK field. */ 484 485 /* Register: CC_AHB_AHBM_HNONSEC */ 486 /* Description: This register holds AHB HNONSEC value */ 487 488 /* Bit 1 : The AHB HNONSEC value for read transaction. */ 489 #define CC_AHB_AHBM_HNONSEC_AHB_READ_HNONSEC_Pos (1UL) /*!< Position of AHB_READ_HNONSEC field. */ 490 #define CC_AHB_AHBM_HNONSEC_AHB_READ_HNONSEC_Msk (0x1UL << CC_AHB_AHBM_HNONSEC_AHB_READ_HNONSEC_Pos) /*!< Bit mask of AHB_READ_HNONSEC field. */ 491 492 /* Bit 0 : The AHB HNONSEC value for write transaction. */ 493 #define CC_AHB_AHBM_HNONSEC_AHB_WRITE_HNONSEC_Pos (0UL) /*!< Position of AHB_WRITE_HNONSEC field. */ 494 #define CC_AHB_AHBM_HNONSEC_AHB_WRITE_HNONSEC_Msk (0x1UL << CC_AHB_AHBM_HNONSEC_AHB_WRITE_HNONSEC_Pos) /*!< Bit mask of AHB_WRITE_HNONSEC field. */ 495 496 497 /* Peripheral: CC_AO */ 498 /* Description: CryptoCell AO */ 499 500 /* Register: CC_AO_AO_APB_FILTERING */ 501 /* Description: This register holds the AO_APB_FILTERING configuration. */ 502 503 /* Bit 3 : When this FW controlled field is set, the APBC_ONLY_PRIV_ACCESS_ALLOWED field cannot be modified until the next PoR */ 504 #define CC_AO_AO_APB_FILTERING_ONLY_PRIV_ACCESS_ALLOWED_LOCK_Pos (3UL) /*!< Position of ONLY_PRIV_ACCESS_ALLOWED_LOCK field. */ 505 #define CC_AO_AO_APB_FILTERING_ONLY_PRIV_ACCESS_ALLOWED_LOCK_Msk (0x1UL << CC_AO_AO_APB_FILTERING_ONLY_PRIV_ACCESS_ALLOWED_LOCK_Pos) /*!< Bit mask of ONLY_PRIV_ACCESS_ALLOWED_LOCK field. */ 506 507 /* Bit 2 : When this FW controlled field is set, the APB slave accepts only privileged accesses */ 508 #define CC_AO_AO_APB_FILTERING_ONLY_PRIV_ACCESS_ALLOWED_Pos (2UL) /*!< Position of ONLY_PRIV_ACCESS_ALLOWED field. */ 509 #define CC_AO_AO_APB_FILTERING_ONLY_PRIV_ACCESS_ALLOWED_Msk (0x1UL << CC_AO_AO_APB_FILTERING_ONLY_PRIV_ACCESS_ALLOWED_Pos) /*!< Bit mask of ONLY_PRIV_ACCESS_ALLOWED field. */ 510 511 /* Bit 1 : When this FW controlled field is set, the ONLY_SEC_ACCESS_ALLOWED field cannot be modified until the next PoR */ 512 #define CC_AO_AO_APB_FILTERING_ONLY_SEC_ACCESS_ALLOWED_LOCK_Pos (1UL) /*!< Position of ONLY_SEC_ACCESS_ALLOWED_LOCK field. */ 513 #define CC_AO_AO_APB_FILTERING_ONLY_SEC_ACCESS_ALLOWED_LOCK_Msk (0x1UL << CC_AO_AO_APB_FILTERING_ONLY_SEC_ACCESS_ALLOWED_LOCK_Pos) /*!< Bit mask of ONLY_SEC_ACCESS_ALLOWED_LOCK field. */ 514 515 /* Bit 0 : When this FW controlled field is set, the APB slave accepts only secure accesses */ 516 #define CC_AO_AO_APB_FILTERING_ONLY_SEC_ACCESS_ALLOWED_Pos (0UL) /*!< Position of ONLY_SEC_ACCESS_ALLOWED field. */ 517 #define CC_AO_AO_APB_FILTERING_ONLY_SEC_ACCESS_ALLOWED_Msk (0x1UL << CC_AO_AO_APB_FILTERING_ONLY_SEC_ACCESS_ALLOWED_Pos) /*!< Bit mask of ONLY_SEC_ACCESS_ALLOWED field. */ 518 519 /* Register: CC_AO_CC_SW_RESET */ 520 /* Description: Reset the CRYPTOCELL subsystem. */ 521 522 /* Bit 0 : Writing any value to this address resets the CRYPTOCELL subsystem. The reset takes 4 CPU clock cycles to complete. */ 523 #define CC_AO_CC_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 524 #define CC_AO_CC_SW_RESET_RESET_Msk (0x1UL << CC_AO_CC_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 525 #define CC_AO_CC_SW_RESET_RESET_Enable (0x1UL) /*!< Reset CRYPTOCELL subsystem. */ 526 527 528 /* Peripheral: CC_CHACHA */ 529 /* Description: CRYPTOCELL CHACHA engine */ 530 531 /* Register: CC_CHACHA_CHACHA_CONTROL */ 532 /* Description: Control the CHACHA engine behavior. */ 533 534 /* Bit 10 : Use 96 bits Initialization Vector (IV) */ 535 #define CC_CHACHA_CHACHA_CONTROL_USE_IV_96BIT_Pos (10UL) /*!< Position of USE_IV_96BIT field. */ 536 #define CC_CHACHA_CHACHA_CONTROL_USE_IV_96BIT_Msk (0x1UL << CC_CHACHA_CHACHA_CONTROL_USE_IV_96BIT_Pos) /*!< Bit mask of USE_IV_96BIT field. */ 537 #define CC_CHACHA_CHACHA_CONTROL_USE_IV_96BIT_Disable (0x0UL) /*!< Use default size IV of 64 bit */ 538 #define CC_CHACHA_CHACHA_CONTROL_USE_IV_96BIT_Enable (0x1UL) /*!< The IV is 96 bits */ 539 540 /* Bit 9 : Reset block counter for new messages */ 541 #define CC_CHACHA_CHACHA_CONTROL_RESET_BLOCK_CNT_Pos (9UL) /*!< Position of RESET_BLOCK_CNT field. */ 542 #define CC_CHACHA_CHACHA_CONTROL_RESET_BLOCK_CNT_Msk (0x1UL << CC_CHACHA_CHACHA_CONTROL_RESET_BLOCK_CNT_Pos) /*!< Bit mask of RESET_BLOCK_CNT field. */ 543 #define CC_CHACHA_CHACHA_CONTROL_RESET_BLOCK_CNT_Disable (0x0UL) /*!< Use current block counter value */ 544 #define CC_CHACHA_CHACHA_CONTROL_RESET_BLOCK_CNT_Enable (0x1UL) /*!< Reset block counter value to zero */ 545 546 /* Bits 5..4 : Set number of permutation rounds, default value is 20. */ 547 #define CC_CHACHA_CHACHA_CONTROL_NUM_OF_ROUNDS_Pos (4UL) /*!< Position of NUM_OF_ROUNDS field. */ 548 #define CC_CHACHA_CHACHA_CONTROL_NUM_OF_ROUNDS_Msk (0x3UL << CC_CHACHA_CHACHA_CONTROL_NUM_OF_ROUNDS_Pos) /*!< Bit mask of NUM_OF_ROUNDS field. */ 549 #define CC_CHACHA_CHACHA_CONTROL_NUM_OF_ROUNDS_Default (0x0UL) /*!< Use 20 rounds of rotation (default) */ 550 #define CC_CHACHA_CHACHA_CONTROL_NUM_OF_ROUNDS_12Rounds (0x1UL) /*!< Use 12 rounds of rotation */ 551 #define CC_CHACHA_CHACHA_CONTROL_NUM_OF_ROUNDS_8Rounds (0x2UL) /*!< Use 8 rounds of rotation */ 552 553 /* Bit 3 : Key length selection. */ 554 #define CC_CHACHA_CHACHA_CONTROL_KEY_LEN_Pos (3UL) /*!< Position of KEY_LEN field. */ 555 #define CC_CHACHA_CHACHA_CONTROL_KEY_LEN_Msk (0x1UL << CC_CHACHA_CHACHA_CONTROL_KEY_LEN_Pos) /*!< Bit mask of KEY_LEN field. */ 556 #define CC_CHACHA_CHACHA_CONTROL_KEY_LEN_256Bits (0x0UL) /*!< Use 256 bits key length */ 557 #define CC_CHACHA_CHACHA_CONTROL_KEY_LEN_128Bits (0x1UL) /*!< Use 128 bits key length */ 558 559 /* Bit 2 : Generate the key to use in Poly1305 message authentication code calculation. */ 560 #define CC_CHACHA_CHACHA_CONTROL_GEN_KEY_POLY1305_Pos (2UL) /*!< Position of GEN_KEY_POLY1305 field. */ 561 #define CC_CHACHA_CHACHA_CONTROL_GEN_KEY_POLY1305_Msk (0x1UL << CC_CHACHA_CHACHA_CONTROL_GEN_KEY_POLY1305_Pos) /*!< Bit mask of GEN_KEY_POLY1305 field. */ 562 #define CC_CHACHA_CHACHA_CONTROL_GEN_KEY_POLY1305_Disable (0x0UL) /*!< Do not generate Poly1305 key */ 563 #define CC_CHACHA_CHACHA_CONTROL_GEN_KEY_POLY1305_Enable (0x1UL) /*!< Generate Poly1305 key */ 564 565 /* Bit 1 : Perform initialization for a new message */ 566 #define CC_CHACHA_CHACHA_CONTROL_INIT_Pos (1UL) /*!< Position of INIT field. */ 567 #define CC_CHACHA_CHACHA_CONTROL_INIT_Msk (0x1UL << CC_CHACHA_CHACHA_CONTROL_INIT_Pos) /*!< Bit mask of INIT field. */ 568 #define CC_CHACHA_CHACHA_CONTROL_INIT_Disable (0x0UL) /*!< Message already initialized */ 569 #define CC_CHACHA_CHACHA_CONTROL_INIT_Enable (0x1UL) /*!< Initialize new message */ 570 571 /* Bit 0 : Run engine in ChaCha or Salsa mode */ 572 #define CC_CHACHA_CHACHA_CONTROL_CHACHA_OR_SALSA_Pos (0UL) /*!< Position of CHACHA_OR_SALSA field. */ 573 #define CC_CHACHA_CHACHA_CONTROL_CHACHA_OR_SALSA_Msk (0x1UL << CC_CHACHA_CHACHA_CONTROL_CHACHA_OR_SALSA_Pos) /*!< Bit mask of CHACHA_OR_SALSA field. */ 574 #define CC_CHACHA_CHACHA_CONTROL_CHACHA_OR_SALSA_ChaCha (0x0UL) /*!< Run engine in ChaCha mode */ 575 #define CC_CHACHA_CHACHA_CONTROL_CHACHA_OR_SALSA_Salsa (0x1UL) /*!< Run engine in Salsa mode */ 576 577 /* Register: CC_CHACHA_CHACHA_VERSION */ 578 /* Description: CHACHA engine HW version */ 579 580 /* Bits 31..0 : */ 581 #define CC_CHACHA_CHACHA_VERSION_CHACHA_VERSION_Pos (0UL) /*!< Position of CHACHA_VERSION field. */ 582 #define CC_CHACHA_CHACHA_VERSION_CHACHA_VERSION_Msk (0xFFFFFFFFUL << CC_CHACHA_CHACHA_VERSION_CHACHA_VERSION_Pos) /*!< Bit mask of CHACHA_VERSION field. */ 583 584 /* Register: CC_CHACHA_CHACHA_KEY */ 585 /* Description: Description collection: CHACHA key value to use. The initial CHACHA_KEY[0] register holds the least significant bits [31:0] of the key value. */ 586 587 /* Bits 31..0 : CHACHA key value. */ 588 #define CC_CHACHA_CHACHA_KEY_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 589 #define CC_CHACHA_CHACHA_KEY_VALUE_Msk (0xFFFFFFFFUL << CC_CHACHA_CHACHA_KEY_VALUE_Pos) /*!< Bit mask of VALUE field. */ 590 591 /* Register: CC_CHACHA_CHACHA_IV */ 592 /* Description: Description collection: CHACHA Initialization Vector (IV) to use. The IV is also known as the nonce. */ 593 594 /* Bits 31..0 : CHACHA IV value. */ 595 #define CC_CHACHA_CHACHA_IV_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 596 #define CC_CHACHA_CHACHA_IV_VALUE_Msk (0xFFFFFFFFUL << CC_CHACHA_CHACHA_IV_VALUE_Pos) /*!< Bit mask of VALUE field. */ 597 598 /* Register: CC_CHACHA_CHACHA_BUSY */ 599 /* Description: Status register for CHACHA engine activity. */ 600 601 /* Bit 0 : CHACHA engine status. */ 602 #define CC_CHACHA_CHACHA_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 603 #define CC_CHACHA_CHACHA_BUSY_STATUS_Msk (0x1UL << CC_CHACHA_CHACHA_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 604 #define CC_CHACHA_CHACHA_BUSY_STATUS_Idle (0x0UL) /*!< CHACHA engine is idle */ 605 #define CC_CHACHA_CHACHA_BUSY_STATUS_Busy (0x1UL) /*!< CHACHA engine is busy */ 606 607 /* Register: CC_CHACHA_CHACHA_HW_FLAGS */ 608 /* Description: Hardware configuration of the CHACHA engine. Reset value holds the supported features. */ 609 610 /* Bit 2 : If this flag is set, the next matrix calculated when the current one is written to data output path. */ 611 #define CC_CHACHA_CHACHA_HW_FLAGS_FAST_CHACHA_Pos (2UL) /*!< Position of FAST_CHACHA field. */ 612 #define CC_CHACHA_CHACHA_HW_FLAGS_FAST_CHACHA_Msk (0x1UL << CC_CHACHA_CHACHA_HW_FLAGS_FAST_CHACHA_Pos) /*!< Bit mask of FAST_CHACHA field. */ 613 614 /* Bit 1 : If this flag is set, the engine include Salsa support */ 615 #define CC_CHACHA_CHACHA_HW_FLAGS_SALSA_EXISTS_Pos (1UL) /*!< Position of SALSA_EXISTS field. */ 616 #define CC_CHACHA_CHACHA_HW_FLAGS_SALSA_EXISTS_Msk (0x1UL << CC_CHACHA_CHACHA_HW_FLAGS_SALSA_EXISTS_Pos) /*!< Bit mask of SALSA_EXISTS field. */ 617 618 /* Bit 0 : If this flag is set, the engine include ChaCha support */ 619 #define CC_CHACHA_CHACHA_HW_FLAGS_CHACHA_EXISTS_Pos (0UL) /*!< Position of CHACHA_EXISTS field. */ 620 #define CC_CHACHA_CHACHA_HW_FLAGS_CHACHA_EXISTS_Msk (0x1UL << CC_CHACHA_CHACHA_HW_FLAGS_CHACHA_EXISTS_Pos) /*!< Bit mask of CHACHA_EXISTS field. */ 621 622 /* Register: CC_CHACHA_CHACHA_BLOCK_CNT_LSB */ 623 /* Description: Store the LSB value of the block counter, in order to support suspend/resume of operation */ 624 625 /* Bits 31..0 : This register holds the ChaCha block counter bits [31:0] and must be read and written during respectively suspend and resume operations. */ 626 #define CC_CHACHA_CHACHA_BLOCK_CNT_LSB_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 627 #define CC_CHACHA_CHACHA_BLOCK_CNT_LSB_VALUE_Msk (0xFFFFFFFFUL << CC_CHACHA_CHACHA_BLOCK_CNT_LSB_VALUE_Pos) /*!< Bit mask of VALUE field. */ 628 629 /* Register: CC_CHACHA_CHACHA_BLOCK_CNT_MSB */ 630 /* Description: Store the MSB value of the block counter, in order to support suspend/resume of operation */ 631 632 /* Bits 31..0 : This register holds the ChaCha block counter bits [63:32] and must be read and written during respectively suspend and resume operations. */ 633 #define CC_CHACHA_CHACHA_BLOCK_CNT_MSB_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 634 #define CC_CHACHA_CHACHA_BLOCK_CNT_MSB_VALUE_Msk (0xFFFFFFFFUL << CC_CHACHA_CHACHA_BLOCK_CNT_MSB_VALUE_Pos) /*!< Bit mask of VALUE field. */ 635 636 /* Register: CC_CHACHA_CHACHA_SW_RESET */ 637 /* Description: Reset the CHACHA engine. */ 638 639 /* Bit 0 : Writing any value to this address resets the CHACHA engine. The reset takes 4 CPU clock cycles to complete. */ 640 #define CC_CHACHA_CHACHA_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 641 #define CC_CHACHA_CHACHA_SW_RESET_RESET_Msk (0x1UL << CC_CHACHA_CHACHA_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 642 #define CC_CHACHA_CHACHA_SW_RESET_RESET_Enable (0x1UL) /*!< Reset CHACHA engine. */ 643 644 /* Register: CC_CHACHA_CHACHA_POLY1305_KEY */ 645 /* Description: Description collection: The auto-generated key to use in Poly1305 MAC calculation. The initial CHACHA_POLY1305_KEY[0] register holds the least significant bits [31:0] of the key value. */ 646 647 /* Bits 31..0 : Poly1305 key value. */ 648 #define CC_CHACHA_CHACHA_POLY1305_KEY_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 649 #define CC_CHACHA_CHACHA_POLY1305_KEY_VALUE_Msk (0xFFFFFFFFUL << CC_CHACHA_CHACHA_POLY1305_KEY_VALUE_Pos) /*!< Bit mask of VALUE field. */ 650 651 /* Register: CC_CHACHA_CHACHA_ENDIANNESS */ 652 /* Description: CHACHA engine data order configuration. */ 653 654 /* Bit 4 : Change the byte order of the output data. */ 655 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_BYTE_ORDER_Pos (4UL) /*!< Position of CHACHA_DOUT_BYTE_ORDER field. */ 656 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_BYTE_ORDER_Msk (0x1UL << CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_BYTE_ORDER_Pos) /*!< Bit mask of CHACHA_DOUT_BYTE_ORDER field. */ 657 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_BYTE_ORDER_Default (0x0UL) /*!< Use default byte order within each output word, where bytes are ordered as follows: B0, B1, B2, B3. */ 658 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_BYTE_ORDER_Reverse (0x1UL) /*!< Reverse the byte order within each output word, where bytes are re-ordered as follows: B3, B2, B1, B0. */ 659 660 /* Bit 3 : Change the word order of the output data. */ 661 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_WORD_ORDER_Pos (3UL) /*!< Position of CHACHA_DOUT_WORD_ORDER field. */ 662 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_WORD_ORDER_Msk (0x1UL << CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_WORD_ORDER_Pos) /*!< Bit mask of CHACHA_DOUT_WORD_ORDER field. */ 663 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_WORD_ORDER_Default (0x0UL) /*!< Uses default word order for 128-bits output, where words are ordered as follows: w0, w1, w2, w3. */ 664 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DOUT_WORD_ORDER_Reverse (0x1UL) /*!< Reverse the word order for 128-bits output, where words are re-ordered as follows: w3, w2, w1, w0. */ 665 666 /* Bit 2 : Change the quarter of a matrix order in the engine. */ 667 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_CORE_MATRIX_LBE_ORDER_Pos (2UL) /*!< Position of CHACHA_CORE_MATRIX_LBE_ORDER field. */ 668 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_CORE_MATRIX_LBE_ORDER_Msk (0x1UL << CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_CORE_MATRIX_LBE_ORDER_Pos) /*!< Bit mask of CHACHA_CORE_MATRIX_LBE_ORDER field. */ 669 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_CORE_MATRIX_LBE_ORDER_Default (0x0UL) /*!< Use default quarter of matrix order, where quarters are ordered as follows: q0, q1, q2, q3. Each quarter represents a 128-bits section of the matrix. */ 670 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_CORE_MATRIX_LBE_ORDER_Reverse (0x1UL) /*!< Reverse the order of matrix quarters, where quarters are re-ordered as follows: q3, q2, q1, q0. Each quarter represents a 128-bits section of the matrix. */ 671 672 /* Bit 1 : Change the byte order of the input data. */ 673 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_BYTE_ORDER_Pos (1UL) /*!< Position of CHACHA_DIN_BYTE_ORDER field. */ 674 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_BYTE_ORDER_Msk (0x1UL << CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_BYTE_ORDER_Pos) /*!< Bit mask of CHACHA_DIN_BYTE_ORDER field. */ 675 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_BYTE_ORDER_Default (0x0UL) /*!< Use default byte order within each input word, where bytes are ordered as follows: B0, B1, B2, B3. */ 676 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_BYTE_ORDER_Reverse (0x1UL) /*!< Reverse the byte order within each input word, where bytes are re-ordered as follows: B3, B2, B1, B0. */ 677 678 /* Bit 0 : Change the word order of the input data. */ 679 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_WORD_ORDER_Pos (0UL) /*!< Position of CHACHA_DIN_WORD_ORDER field. */ 680 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_WORD_ORDER_Msk (0x1UL << CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_WORD_ORDER_Pos) /*!< Bit mask of CHACHA_DIN_WORD_ORDER field. */ 681 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_WORD_ORDER_Default (0x0UL) /*!< Use default word order for 128-bits input, where words are ordered as follows: w0, w1, w2, w3. */ 682 #define CC_CHACHA_CHACHA_ENDIANNESS_CHACHA_DIN_WORD_ORDER_Reverse (0x1UL) /*!< Reverses the word order for 128-bits input, where words are re-ordered as follows: w3, w2, w1, w0. */ 683 684 /* Register: CC_CHACHA_CHACHA_DEBUG */ 685 /* Description: Debug register for the CHACHA engine */ 686 687 /* Bits 1..0 : Reflects the debug state of the CHACHA FSM. */ 688 #define CC_CHACHA_CHACHA_DEBUG_FSM_STATE_Pos (0UL) /*!< Position of FSM_STATE field. */ 689 #define CC_CHACHA_CHACHA_DEBUG_FSM_STATE_Msk (0x3UL << CC_CHACHA_CHACHA_DEBUG_FSM_STATE_Pos) /*!< Bit mask of FSM_STATE field. */ 690 #define CC_CHACHA_CHACHA_DEBUG_FSM_STATE_IDLE_STATE (0x0UL) /*!< CHACHA FSM is in idle state */ 691 #define CC_CHACHA_CHACHA_DEBUG_FSM_STATE_INIT_STATE (0x1UL) /*!< CHACHA FSM is in init state */ 692 #define CC_CHACHA_CHACHA_DEBUG_FSM_STATE_ROUNDS_STATE (0x2UL) /*!< CHACHA FSM is in rounds state */ 693 #define CC_CHACHA_CHACHA_DEBUG_FSM_STATE_FINAL_STATE (0x3UL) /*!< CHACHA FSM is in final state */ 694 695 696 /* Peripheral: CC_CTL */ 697 /* Description: CRYPTOCELL CTL interface */ 698 699 /* Register: CC_CTL_CRYPTO_CTL */ 700 /* Description: Defines the cryptographic flow. */ 701 702 /* Bits 4..0 : Configure the cryptographic engine mode. */ 703 #define CC_CTL_CRYPTO_CTL_MODE_Pos (0UL) /*!< Position of MODE field. */ 704 #define CC_CTL_CRYPTO_CTL_MODE_Msk (0x1FUL << CC_CTL_CRYPTO_CTL_MODE_Pos) /*!< Bit mask of MODE field. */ 705 #define CC_CTL_CRYPTO_CTL_MODE_Bypass (0x00UL) /*!< Bypass cryptographic engine */ 706 #define CC_CTL_CRYPTO_CTL_MODE_AESActive (0x01UL) /*!< Use AES engine */ 707 #define CC_CTL_CRYPTO_CTL_MODE_AESToHashActive (0x02UL) /*!< Pipe AES engine output to HASH engine input */ 708 #define CC_CTL_CRYPTO_CTL_MODE_AESAndHashActive (0x03UL) /*!< Process input using both AES and HASH engine in parallell */ 709 #define CC_CTL_CRYPTO_CTL_MODE_HashActive (0x07UL) /*!< Use HASH engine */ 710 #define CC_CTL_CRYPTO_CTL_MODE_AESMACAndBypassActive (0x09UL) /*!< Calculate AES MAC and bypass */ 711 #define CC_CTL_CRYPTO_CTL_MODE_AESToHashAndDOUTActive (0x0AUL) /*!< Pipe AES engine output to HASH engine input. The resulting digest output is piped to DOUT buffer. */ 712 #define CC_CTL_CRYPTO_CTL_MODE_ChaChaActive (0x10UL) /*!< Use CHACHA engine */ 713 714 /* Register: CC_CTL_CRYPTO_BUSY */ 715 /* Description: Status register for cryptographic cores engine activity. */ 716 717 /* Bit 0 : Cryptographic core engines status. */ 718 #define CC_CTL_CRYPTO_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 719 #define CC_CTL_CRYPTO_BUSY_STATUS_Msk (0x1UL << CC_CTL_CRYPTO_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 720 #define CC_CTL_CRYPTO_BUSY_STATUS_Idle (0x0UL) /*!< Cryptographic core engines are idle */ 721 #define CC_CTL_CRYPTO_BUSY_STATUS_Busy (0x1UL) /*!< Cryptographic core engines are busy */ 722 723 /* Register: CC_CTL_HASH_BUSY */ 724 /* Description: Status register for HASH engine activity. */ 725 726 /* Bit 0 : Hash engine status. */ 727 #define CC_CTL_HASH_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 728 #define CC_CTL_HASH_BUSY_STATUS_Msk (0x1UL << CC_CTL_HASH_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 729 #define CC_CTL_HASH_BUSY_STATUS_Idle (0x0UL) /*!< HASH engine is idle */ 730 #define CC_CTL_HASH_BUSY_STATUS_Busy (0x1UL) /*!< HASH engine is busy */ 731 732 /* Register: CC_CTL_CONTEXT_ID */ 733 /* Description: A general-purpose read/write register. */ 734 735 /* Bits 7..0 : Context ID */ 736 #define CC_CTL_CONTEXT_ID_CONTEXT_ID_Pos (0UL) /*!< Position of CONTEXT_ID field. */ 737 #define CC_CTL_CONTEXT_ID_CONTEXT_ID_Msk (0xFFUL << CC_CTL_CONTEXT_ID_CONTEXT_ID_Pos) /*!< Bit mask of CONTEXT_ID field. */ 738 739 740 /* Peripheral: CC_DIN */ 741 /* Description: CRYPTOCELL Data IN interface */ 742 743 /* Register: CC_DIN_DIN_BUFFER */ 744 /* Description: Used by CPU to write data directly to the DIN buffer, which is then sent to the cryptographic engines for processing. */ 745 746 /* Bits 31..0 : This register is mapped into 8 addresses in order to enable a CPU burst. */ 747 #define CC_DIN_DIN_BUFFER_DATA_Pos (0UL) /*!< Position of DATA field. */ 748 #define CC_DIN_DIN_BUFFER_DATA_Msk (0xFFFFFFFFUL << CC_DIN_DIN_BUFFER_DATA_Pos) /*!< Bit mask of DATA field. */ 749 750 /* Register: CC_DIN_DIN_DMA_MEM_BUSY */ 751 /* Description: Status register for DIN DMA engine activity when accessing memory. */ 752 753 /* Bit 0 : DIN memory DMA engine status. */ 754 #define CC_DIN_DIN_DMA_MEM_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 755 #define CC_DIN_DIN_DMA_MEM_BUSY_STATUS_Msk (0x1UL << CC_DIN_DIN_DMA_MEM_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 756 #define CC_DIN_DIN_DMA_MEM_BUSY_STATUS_Idle (0x0UL) /*!< DIN memory DMA engine is idle */ 757 #define CC_DIN_DIN_DMA_MEM_BUSY_STATUS_Busy (0x1UL) /*!< DIN memory DMA engine is busy */ 758 759 /* Register: CC_DIN_SRC_MEM_ADDR */ 760 /* Description: Data source address in memory. */ 761 762 /* Bits 31..0 : Source address in memory. */ 763 #define CC_DIN_SRC_MEM_ADDR_ADDR_Pos (0UL) /*!< Position of ADDR field. */ 764 #define CC_DIN_SRC_MEM_ADDR_ADDR_Msk (0xFFFFFFFFUL << CC_DIN_SRC_MEM_ADDR_ADDR_Pos) /*!< Bit mask of ADDR field. */ 765 766 /* Register: CC_DIN_SRC_MEM_SIZE */ 767 /* Description: The number of bytes to be read from memory. Writing to this register triggers the DMA operation. */ 768 769 /* Bit 31 : This field is reserved */ 770 #define CC_DIN_SRC_MEM_SIZE_LAST_Pos (31UL) /*!< Position of LAST field. */ 771 #define CC_DIN_SRC_MEM_SIZE_LAST_Msk (0x1UL << CC_DIN_SRC_MEM_SIZE_LAST_Pos) /*!< Bit mask of LAST field. */ 772 773 /* Bit 30 : This field is reserved */ 774 #define CC_DIN_SRC_MEM_SIZE_FIRST_Pos (30UL) /*!< Position of FIRST field. */ 775 #define CC_DIN_SRC_MEM_SIZE_FIRST_Msk (0x1UL << CC_DIN_SRC_MEM_SIZE_FIRST_Pos) /*!< Bit mask of FIRST field. */ 776 777 /* Bits 29..0 : Total number of bytes to read from memory. */ 778 #define CC_DIN_SRC_MEM_SIZE_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 779 #define CC_DIN_SRC_MEM_SIZE_SIZE_Msk (0x3FFFFFFFUL << CC_DIN_SRC_MEM_SIZE_SIZE_Pos) /*!< Bit mask of SIZE field. */ 780 781 /* Register: CC_DIN_SRC_SRAM_ADDR */ 782 /* Description: Data source address in RNG SRAM. */ 783 784 /* Bits 31..0 : Source address in RNG SRAM. */ 785 #define CC_DIN_SRC_SRAM_ADDR_ADDR_Pos (0UL) /*!< Position of ADDR field. */ 786 #define CC_DIN_SRC_SRAM_ADDR_ADDR_Msk (0xFFFFFFFFUL << CC_DIN_SRC_SRAM_ADDR_ADDR_Pos) /*!< Bit mask of ADDR field. */ 787 788 /* Register: CC_DIN_SRC_SRAM_SIZE */ 789 /* Description: The number of bytes to be read from RNG SRAM. Writing to this register triggers the DMA operation. */ 790 791 /* Bits 31..0 : Total number of bytes to read from RNG SRAM. */ 792 #define CC_DIN_SRC_SRAM_SIZE_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 793 #define CC_DIN_SRC_SRAM_SIZE_SIZE_Msk (0xFFFFFFFFUL << CC_DIN_SRC_SRAM_SIZE_SIZE_Pos) /*!< Bit mask of SIZE field. */ 794 795 /* Register: CC_DIN_DIN_DMA_SRAM_BUSY */ 796 /* Description: Status register for DIN DMA engine activity when accessing RNG SRAM. */ 797 798 /* Bit 0 : DIN RNG SRAM DMA engine status. */ 799 #define CC_DIN_DIN_DMA_SRAM_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 800 #define CC_DIN_DIN_DMA_SRAM_BUSY_STATUS_Msk (0x1UL << CC_DIN_DIN_DMA_SRAM_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 801 #define CC_DIN_DIN_DMA_SRAM_BUSY_STATUS_Idle (0x0UL) /*!< DIN RNG SRAM DMA engine is idle */ 802 #define CC_DIN_DIN_DMA_SRAM_BUSY_STATUS_Busy (0x1UL) /*!< DIN RNG SRAM DMA engine is busy */ 803 804 /* Register: CC_DIN_DIN_DMA_SRAM_ENDIANNESS */ 805 /* Description: Configure the endianness of DIN DMA transactions towards RNG SRAM. */ 806 807 /* Bit 0 : Endianness of DIN DMA transactions towards RNG SRAM. The default value is little-endian. */ 808 #define CC_DIN_DIN_DMA_SRAM_ENDIANNESS_ENDIAN_Pos (0UL) /*!< Position of ENDIAN field. */ 809 #define CC_DIN_DIN_DMA_SRAM_ENDIANNESS_ENDIAN_Msk (0x1UL << CC_DIN_DIN_DMA_SRAM_ENDIANNESS_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */ 810 #define CC_DIN_DIN_DMA_SRAM_ENDIANNESS_ENDIAN_LittleEndian (0x0UL) /*!< Use little-endian format for RNG SRAM DMA transactions */ 811 #define CC_DIN_DIN_DMA_SRAM_ENDIANNESS_ENDIAN_BigEndian (0x1UL) /*!< Use big-endian format for RNG SRAM DMA transactions */ 812 813 /* Register: CC_DIN_DIN_SW_RESET */ 814 /* Description: Reset the DIN DMA engine. */ 815 816 /* Bit 0 : Writing any value to this address resets the DIN DMA engine. The reset takes 4 CPU clock cycles to complete. */ 817 #define CC_DIN_DIN_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 818 #define CC_DIN_DIN_SW_RESET_RESET_Msk (0x1UL << CC_DIN_DIN_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 819 #define CC_DIN_DIN_SW_RESET_RESET_Enable (0x1UL) /*!< Reset DIN DMA engine. */ 820 821 /* Register: CC_DIN_DIN_CPU_DATA */ 822 /* Description: Specifies the number of bytes the CPU will write to the DIN_BUFFER, ensuring the cryptographic engine processes the correct amount of data. */ 823 824 /* Bits 15..0 : When using CPU direct write to the DIN_BUFFER, the size of input data in bytes should be written to this register. */ 825 #define CC_DIN_DIN_CPU_DATA_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 826 #define CC_DIN_DIN_CPU_DATA_SIZE_Msk (0xFFFFUL << CC_DIN_DIN_CPU_DATA_SIZE_Pos) /*!< Bit mask of SIZE field. */ 827 828 /* Register: CC_DIN_DIN_WRITE_ALIGN */ 829 /* Description: Indicates that the next CPU write to the DIN_BUFFER is the last in the sequence. This is needed only when the data size is NOT modulo 4 (e.g. HASH padding). */ 830 831 /* Bit 0 : Next CPU write to the DIN_BUFFER is the last word. */ 832 #define CC_DIN_DIN_WRITE_ALIGN_LAST_Pos (0UL) /*!< Position of LAST field. */ 833 #define CC_DIN_DIN_WRITE_ALIGN_LAST_Msk (0x1UL << CC_DIN_DIN_WRITE_ALIGN_LAST_Pos) /*!< Bit mask of LAST field. */ 834 #define CC_DIN_DIN_WRITE_ALIGN_LAST_Confirm (0x1UL) /*!< The next CPU write is the last in the sequence. */ 835 836 /* Register: CC_DIN_DIN_FIFO_EMPTY */ 837 /* Description: Register indicating if DIN FIFO is empty and if more data can be accepted. */ 838 839 /* Bit 0 : DIN FIFO status */ 840 #define CC_DIN_DIN_FIFO_EMPTY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 841 #define CC_DIN_DIN_FIFO_EMPTY_STATUS_Msk (0x1UL << CC_DIN_DIN_FIFO_EMPTY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 842 #define CC_DIN_DIN_FIFO_EMPTY_STATUS_NotEmpty (0x0UL) /*!< DIN FIFO is not empty */ 843 #define CC_DIN_DIN_FIFO_EMPTY_STATUS_Empty (0x1UL) /*!< DIN FIFO is empty, and more data can be accepted */ 844 845 /* Register: CC_DIN_DIN_FIFO_RESET */ 846 /* Description: Reset the DIN FIFO, effectively clearing the FIFO for new data. */ 847 848 /* Bit 0 : Writing any value to this address resets the DIN FIFO. */ 849 #define CC_DIN_DIN_FIFO_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 850 #define CC_DIN_DIN_FIFO_RESET_RESET_Msk (0x1UL << CC_DIN_DIN_FIFO_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 851 #define CC_DIN_DIN_FIFO_RESET_RESET_Enable (0x1UL) /*!< Reset DIN FIFO. */ 852 853 854 /* Peripheral: CC_DOUT */ 855 /* Description: CRYPTOCELL Data OUT interface */ 856 857 /* Register: CC_DOUT_DOUT_BUFFER */ 858 /* Description: Cryptographic results directly accessible by the CPU. */ 859 860 /* Bits 31..0 : This address can be used by the CPU to read data directly from the DOUT buffer. */ 861 #define CC_DOUT_DOUT_BUFFER_DATA_Pos (0UL) /*!< Position of DATA field. */ 862 #define CC_DOUT_DOUT_BUFFER_DATA_Msk (0xFFFFFFFFUL << CC_DOUT_DOUT_BUFFER_DATA_Pos) /*!< Bit mask of DATA field. */ 863 864 /* Register: CC_DOUT_DOUT_DMA_MEM_BUSY */ 865 /* Description: Status register for DOUT DMA engine activity when accessing memory. */ 866 867 /* Bit 0 : DOUT memory DMA engine status. */ 868 #define CC_DOUT_DOUT_DMA_MEM_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 869 #define CC_DOUT_DOUT_DMA_MEM_BUSY_STATUS_Msk (0x1UL << CC_DOUT_DOUT_DMA_MEM_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 870 #define CC_DOUT_DOUT_DMA_MEM_BUSY_STATUS_Idle (0x0UL) /*!< DOUT memory DMA engine is idle */ 871 #define CC_DOUT_DOUT_DMA_MEM_BUSY_STATUS_Busy (0x1UL) /*!< DOUT memory DMA engine is busy */ 872 873 /* Register: CC_DOUT_DST_MEM_ADDR */ 874 /* Description: Data destination address in memory. */ 875 876 /* Bits 31..0 : Destination address in memory. */ 877 #define CC_DOUT_DST_MEM_ADDR_ADDR_Pos (0UL) /*!< Position of ADDR field. */ 878 #define CC_DOUT_DST_MEM_ADDR_ADDR_Msk (0xFFFFFFFFUL << CC_DOUT_DST_MEM_ADDR_ADDR_Pos) /*!< Bit mask of ADDR field. */ 879 880 /* Register: CC_DOUT_DST_MEM_SIZE */ 881 /* Description: The number of bytes to be written to memory. */ 882 883 /* Bit 31 : This field is reserved */ 884 #define CC_DOUT_DST_MEM_SIZE_LAST_Pos (31UL) /*!< Position of LAST field. */ 885 #define CC_DOUT_DST_MEM_SIZE_LAST_Msk (0x1UL << CC_DOUT_DST_MEM_SIZE_LAST_Pos) /*!< Bit mask of LAST field. */ 886 887 /* Bit 30 : This field is reserved */ 888 #define CC_DOUT_DST_MEM_SIZE_FIRST_Pos (30UL) /*!< Position of FIRST field. */ 889 #define CC_DOUT_DST_MEM_SIZE_FIRST_Msk (0x1UL << CC_DOUT_DST_MEM_SIZE_FIRST_Pos) /*!< Bit mask of FIRST field. */ 890 891 /* Bits 29..0 : Total number of bytes to write to memory. */ 892 #define CC_DOUT_DST_MEM_SIZE_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 893 #define CC_DOUT_DST_MEM_SIZE_SIZE_Msk (0x3FFFFFFFUL << CC_DOUT_DST_MEM_SIZE_SIZE_Pos) /*!< Bit mask of SIZE field. */ 894 895 /* Register: CC_DOUT_DST_SRAM_ADDR */ 896 /* Description: Data destination address in RNG SRAM. */ 897 898 /* Bits 31..0 : Destination address in RNG SRAM. */ 899 #define CC_DOUT_DST_SRAM_ADDR_ADDR_Pos (0UL) /*!< Position of ADDR field. */ 900 #define CC_DOUT_DST_SRAM_ADDR_ADDR_Msk (0xFFFFFFFFUL << CC_DOUT_DST_SRAM_ADDR_ADDR_Pos) /*!< Bit mask of ADDR field. */ 901 902 /* Register: CC_DOUT_DST_SRAM_SIZE */ 903 /* Description: The number of bytes to be written to RNG SRAM. */ 904 905 /* Bits 31..0 : Total number of bytes to write to RNG SRAM. */ 906 #define CC_DOUT_DST_SRAM_SIZE_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 907 #define CC_DOUT_DST_SRAM_SIZE_SIZE_Msk (0xFFFFFFFFUL << CC_DOUT_DST_SRAM_SIZE_SIZE_Pos) /*!< Bit mask of SIZE field. */ 908 909 /* Register: CC_DOUT_DOUT_DMA_SRAM_BUSY */ 910 /* Description: Status register for DOUT DMA engine activity when accessing RNG SRAM. */ 911 912 /* Bit 0 : DOUT RNG SRAM DMA engine status. */ 913 #define CC_DOUT_DOUT_DMA_SRAM_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 914 #define CC_DOUT_DOUT_DMA_SRAM_BUSY_STATUS_Msk (0x1UL << CC_DOUT_DOUT_DMA_SRAM_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 915 #define CC_DOUT_DOUT_DMA_SRAM_BUSY_STATUS_Idle (0x0UL) /*!< DOUT RNG SRAM DMA engine is idle */ 916 #define CC_DOUT_DOUT_DMA_SRAM_BUSY_STATUS_Busy (0x1UL) /*!< DOUT RNG SRAM DMA engine is busy */ 917 918 /* Register: CC_DOUT_DOUT_DMA_SRAM_ENDIANNESS */ 919 /* Description: Configure the endianness of DOUT DMA transactions towards RNG SRAM. */ 920 921 /* Bit 0 : Endianness of DOUT DMA transactions towards RNG SRAM. The default value is little-endian. */ 922 #define CC_DOUT_DOUT_DMA_SRAM_ENDIANNESS_ENDIAN_Pos (0UL) /*!< Position of ENDIAN field. */ 923 #define CC_DOUT_DOUT_DMA_SRAM_ENDIANNESS_ENDIAN_Msk (0x1UL << CC_DOUT_DOUT_DMA_SRAM_ENDIANNESS_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */ 924 #define CC_DOUT_DOUT_DMA_SRAM_ENDIANNESS_ENDIAN_LittleEndian (0x0UL) /*!< Use little-endian format for RNG SRAM DMA transactions */ 925 #define CC_DOUT_DOUT_DMA_SRAM_ENDIANNESS_ENDIAN_BigEndian (0x1UL) /*!< Use big-endian format for RNG SRAM DMA transactions */ 926 927 /* Register: CC_DOUT_DOUT_READ_ALIGN */ 928 /* Description: Indication that the next CPU read from the DOUT_BUFFER is the last in the sequence. This is needed only when the data size is NOT modulo 4 (e.g. HASH padding). */ 929 930 /* Bit 0 : Next CPU read from the DOUT_BUFFER is the last word, and the remaining read aligned content can be flushed. */ 931 #define CC_DOUT_DOUT_READ_ALIGN_LAST_Pos (0UL) /*!< Position of LAST field. */ 932 #define CC_DOUT_DOUT_READ_ALIGN_LAST_Msk (0x1UL << CC_DOUT_DOUT_READ_ALIGN_LAST_Pos) /*!< Bit mask of LAST field. */ 933 #define CC_DOUT_DOUT_READ_ALIGN_LAST_Flush (0x1UL) /*!< Flush the remaining read aligned content. */ 934 935 /* Register: CC_DOUT_DOUT_FIFO_EMPTY */ 936 /* Description: Register indicating if DOUT FIFO is empty or if more data will come. */ 937 938 /* Bit 0 : DOUT FIFO status */ 939 #define CC_DOUT_DOUT_FIFO_EMPTY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 940 #define CC_DOUT_DOUT_FIFO_EMPTY_STATUS_Msk (0x1UL << CC_DOUT_DOUT_FIFO_EMPTY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 941 #define CC_DOUT_DOUT_FIFO_EMPTY_STATUS_NotEmpty (0x0UL) /*!< DOUT FIFO is not empty, and more data will come */ 942 #define CC_DOUT_DOUT_FIFO_EMPTY_STATUS_Empty (0x1UL) /*!< DOUT FIFO is empty */ 943 944 /* Register: CC_DOUT_DOUT_SW_RESET */ 945 /* Description: Reset the DOUT DMA engine. */ 946 947 /* Bit 0 : Writing any value to this address resets the DOUT DMA engine. The reset takes 4 CPU clock cycles to complete. */ 948 #define CC_DOUT_DOUT_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 949 #define CC_DOUT_DOUT_SW_RESET_RESET_Msk (0x1UL << CC_DOUT_DOUT_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 950 #define CC_DOUT_DOUT_SW_RESET_RESET_Enable (0x1UL) /*!< Reset DOUT DMA engine. */ 951 952 953 /* Peripheral: CC_GHASH */ 954 /* Description: CRYPTOCELL GHASH engine */ 955 956 /* Register: CC_GHASH_GHASH_SUBKEY */ 957 /* Description: Description collection: GHASH subkey value to use. The initial GHASH_SUBKEY[0] register holds the least significant bits [31:0] of the subkey value. */ 958 959 /* Bits 31..0 : GHASH subkey value. */ 960 #define CC_GHASH_GHASH_SUBKEY_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 961 #define CC_GHASH_GHASH_SUBKEY_VALUE_Msk (0xFFFFFFFFUL << CC_GHASH_GHASH_SUBKEY_VALUE_Pos) /*!< Bit mask of VALUE field. */ 962 963 /* Register: CC_GHASH_GHASH_IV */ 964 /* Description: Description collection: GHASH Initialization Vector (IV) to use. The initial GHASH_IV[0] register holds the least significant bits [31:0] of the IV. */ 965 966 /* Bits 31..0 : GHASH IV value. */ 967 #define CC_GHASH_GHASH_IV_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 968 #define CC_GHASH_GHASH_IV_VALUE_Msk (0xFFFFFFFFUL << CC_GHASH_GHASH_IV_VALUE_Pos) /*!< Bit mask of VALUE field. */ 969 970 /* Register: CC_GHASH_GHASH_BUSY */ 971 /* Description: Status register for GHASH engine activity. */ 972 973 /* Bit 0 : GHASH engine status. */ 974 #define CC_GHASH_GHASH_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 975 #define CC_GHASH_GHASH_BUSY_STATUS_Msk (0x1UL << CC_GHASH_GHASH_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 976 #define CC_GHASH_GHASH_BUSY_STATUS_Idle (0x0UL) /*!< GHASH engine is idle */ 977 #define CC_GHASH_GHASH_BUSY_STATUS_Busy (0x1UL) /*!< GHASH engine is busy */ 978 979 /* Register: CC_GHASH_GHASH_INIT */ 980 /* Description: Configure the GHASH engine for a new GHASH operation. */ 981 982 /* Bit 0 : Initialize a new GHASH operation. */ 983 #define CC_GHASH_GHASH_INIT_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 984 #define CC_GHASH_GHASH_INIT_ENABLE_Msk (0x1UL << CC_GHASH_GHASH_INIT_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 985 #define CC_GHASH_GHASH_INIT_ENABLE_Enable (0x1UL) /*!< Initialize GHASH operation */ 986 987 988 /* Peripheral: CC_HASH */ 989 /* Description: CRYPTOCELL HASH engine */ 990 991 /* Register: CC_HASH_HASH_H */ 992 /* Description: Description collection: HASH_H value registers. The initial HASH_H[0] register holds the least significant bits [31:0] of the value. */ 993 994 /* Bits 31..0 : Write the initial hash value before start of digest operation, and read the final hash value result after 995 the digest operation has been completed. */ 996 #define CC_HASH_HASH_H_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 997 #define CC_HASH_HASH_H_VALUE_Msk (0xFFFFFFFFUL << CC_HASH_HASH_H_VALUE_Pos) /*!< Bit mask of VALUE field. */ 998 999 /* Register: CC_HASH_HASH_PAD_AUTO */ 1000 /* Description: Configure the HASH engine to automatically pad data at the end of the DMA transfer to complete the digest operation. */ 1001 1002 /* Bit 0 : Enable automatic padding in hardware. */ 1003 #define CC_HASH_HASH_PAD_AUTO_HWPAD_Pos (0UL) /*!< Position of HWPAD field. */ 1004 #define CC_HASH_HASH_PAD_AUTO_HWPAD_Msk (0x1UL << CC_HASH_HASH_PAD_AUTO_HWPAD_Pos) /*!< Bit mask of HWPAD field. */ 1005 #define CC_HASH_HASH_PAD_AUTO_HWPAD_Disable (0x0UL) /*!< Do not enable automatic hardware padding. */ 1006 #define CC_HASH_HASH_PAD_AUTO_HWPAD_Enable (0x1UL) /*!< Enable automatic hardware padding. */ 1007 1008 /* Register: CC_HASH_HASH_XOR_DIN */ 1009 /* Description: Perform an XOR operation of the DIN DMA engine input data being fed into the HASH engine. 1010 Set this register to '0' if XOR is not required. */ 1011 1012 /* Bits 31..0 : The value to XOR with the HASH engine input data. */ 1013 #define CC_HASH_HASH_XOR_DIN_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 1014 #define CC_HASH_HASH_XOR_DIN_VALUE_Msk (0xFFFFFFFFUL << CC_HASH_HASH_XOR_DIN_VALUE_Pos) /*!< Bit mask of VALUE field. */ 1015 1016 /* Register: CC_HASH_HASH_INIT_STATE */ 1017 /* Description: Configure HASH engine initial state registers. */ 1018 1019 /* Bit 0 : Enable loading of data to initial state registers. Digest/IV for HASH/AES_MAC. */ 1020 #define CC_HASH_HASH_INIT_STATE_LOAD_Pos (0UL) /*!< Position of LOAD field. */ 1021 #define CC_HASH_HASH_INIT_STATE_LOAD_Msk (0x1UL << CC_HASH_HASH_INIT_STATE_LOAD_Pos) /*!< Bit mask of LOAD field. */ 1022 #define CC_HASH_HASH_INIT_STATE_LOAD_Disable (0x0UL) /*!< Disable loading of data to initial state registers. */ 1023 #define CC_HASH_HASH_INIT_STATE_LOAD_Enable (0x1UL) /*!< Enable loading of data to initial state registers. */ 1024 1025 /* Register: CC_HASH_HASH_SELECT */ 1026 /* Description: Select HASH or GHASH engine as the digest engine to use. */ 1027 1028 /* Bits 1..0 : Select HASH or GHASH engine as the digest engine. */ 1029 #define CC_HASH_HASH_SELECT_ENGINE_Pos (0UL) /*!< Position of ENGINE field. */ 1030 #define CC_HASH_HASH_SELECT_ENGINE_Msk (0x3UL << CC_HASH_HASH_SELECT_ENGINE_Pos) /*!< Bit mask of ENGINE field. */ 1031 #define CC_HASH_HASH_SELECT_ENGINE_HASH (0x0UL) /*!< Select the HASH engine */ 1032 #define CC_HASH_HASH_SELECT_ENGINE_GHASH (0x2UL) /*!< Select the GHASH engine */ 1033 1034 /* Register: CC_HASH_HASH_CONTROL */ 1035 /* Description: Control the HASH engine behavior. */ 1036 1037 /* Bits 3..0 : Select HASH mode to execute */ 1038 #define CC_HASH_HASH_CONTROL_MODE_Pos (0UL) /*!< Position of MODE field. */ 1039 #define CC_HASH_HASH_CONTROL_MODE_Msk (0xFUL << CC_HASH_HASH_CONTROL_MODE_Pos) /*!< Bit mask of MODE field. */ 1040 #define CC_HASH_HASH_CONTROL_MODE_SHA1 (0x1UL) /*!< Select SHA1 mode */ 1041 #define CC_HASH_HASH_CONTROL_MODE_SHA256 (0x2UL) /*!< Select SHA256 mode */ 1042 #define CC_HASH_HASH_CONTROL_MODE_SHA224 (0xAUL) /*!< Select SHA224 mode */ 1043 1044 /* Register: CC_HASH_HASH_PAD */ 1045 /* Description: Enable the hardware padding feature of the HASH engine. */ 1046 1047 /* Bit 0 : Configure hardware padding feature. */ 1048 #define CC_HASH_HASH_PAD_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 1049 #define CC_HASH_HASH_PAD_ENABLE_Msk (0x1UL << CC_HASH_HASH_PAD_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1050 #define CC_HASH_HASH_PAD_ENABLE_Disable (0x0UL) /*!< Disable hardware padding feature. */ 1051 #define CC_HASH_HASH_PAD_ENABLE_Enable (0x1UL) /*!< Enable hardware padding feature. */ 1052 1053 /* Register: CC_HASH_HASH_PAD_FORCE */ 1054 /* Description: Force the hardware padding operation to trigger if the input data length is zero bytes. */ 1055 1056 /* Bit 2 : Trigger hardware padding operation. */ 1057 #define CC_HASH_HASH_PAD_FORCE_ENABLE_Pos (2UL) /*!< Position of ENABLE field. */ 1058 #define CC_HASH_HASH_PAD_FORCE_ENABLE_Msk (0x1UL << CC_HASH_HASH_PAD_FORCE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1059 #define CC_HASH_HASH_PAD_FORCE_ENABLE_Disable (0x0UL) /*!< Do not force hardware padding to trigger. */ 1060 #define CC_HASH_HASH_PAD_FORCE_ENABLE_Enable (0x1UL) /*!< Force hardware padding to trigger. */ 1061 1062 /* Register: CC_HASH_HASH_CUR_LEN_0 */ 1063 /* Description: Bits [31:0] of the number of bytes that have been digested so far. */ 1064 1065 /* Bits 31..0 : Bits [31:0] of current length of digested data in bytes. */ 1066 #define CC_HASH_HASH_CUR_LEN_0_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 1067 #define CC_HASH_HASH_CUR_LEN_0_VALUE_Msk (0xFFFFFFFFUL << CC_HASH_HASH_CUR_LEN_0_VALUE_Pos) /*!< Bit mask of VALUE field. */ 1068 1069 /* Register: CC_HASH_HASH_CUR_LEN_1 */ 1070 /* Description: Bits [63:32] of the number of bytes that have been digested so far. */ 1071 1072 /* Bits 31..0 : Bits [63:32] of current length of digested data in bytes. */ 1073 #define CC_HASH_HASH_CUR_LEN_1_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 1074 #define CC_HASH_HASH_CUR_LEN_1_VALUE_Msk (0xFFFFFFFFUL << CC_HASH_HASH_CUR_LEN_1_VALUE_Pos) /*!< Bit mask of VALUE field. */ 1075 1076 /* Register: CC_HASH_HASH_HW_FLAGS */ 1077 /* Description: Hardware configuration of the HASH engine. Reset value holds the supported features. */ 1078 1079 /* Bit 18 : If this flag is set, the engine include HASH to DOUT support. */ 1080 #define CC_HASH_HASH_HW_FLAGS_DUMP_HASH_TO_DOUT_EXISTS_Pos (18UL) /*!< Position of DUMP_HASH_TO_DOUT_EXISTS field. */ 1081 #define CC_HASH_HASH_HW_FLAGS_DUMP_HASH_TO_DOUT_EXISTS_Msk (0x1UL << CC_HASH_HASH_HW_FLAGS_DUMP_HASH_TO_DOUT_EXISTS_Pos) /*!< Bit mask of DUMP_HASH_TO_DOUT_EXISTS field. */ 1082 1083 /* Bit 17 : If this flag is set, the engine include compare digest logic. */ 1084 #define CC_HASH_HASH_HW_FLAGS_HASH_COMPARE_EXISTS_Pos (17UL) /*!< Position of HASH_COMPARE_EXISTS field. */ 1085 #define CC_HASH_HASH_HW_FLAGS_HASH_COMPARE_EXISTS_Msk (0x1UL << CC_HASH_HASH_HW_FLAGS_HASH_COMPARE_EXISTS_Pos) /*!< Bit mask of HASH_COMPARE_EXISTS field. */ 1086 1087 /* Bit 16 : If this flag is set, the engine include SHA-256 support. */ 1088 #define CC_HASH_HASH_HW_FLAGS_SHA_256_EXISTS_Pos (16UL) /*!< Position of SHA_256_EXISTS field. */ 1089 #define CC_HASH_HASH_HW_FLAGS_SHA_256_EXISTS_Msk (0x1UL << CC_HASH_HASH_HW_FLAGS_SHA_256_EXISTS_Pos) /*!< Bit mask of SHA_256_EXISTS field. */ 1090 1091 /* Bit 15 : If this flag is set, the engine include HMAC support. */ 1092 #define CC_HASH_HASH_HW_FLAGS_HMAC_EXISTS_Pos (15UL) /*!< Position of HMAC_EXISTS field. */ 1093 #define CC_HASH_HASH_HW_FLAGS_HMAC_EXISTS_Msk (0x1UL << CC_HASH_HASH_HW_FLAGS_HMAC_EXISTS_Pos) /*!< Bit mask of HMAC_EXISTS field. */ 1094 1095 /* Bit 14 : If this flag is set, the engine include MD5 support. */ 1096 #define CC_HASH_HASH_HW_FLAGS_MD5_EXISTS_Pos (14UL) /*!< Position of MD5_EXISTS field. */ 1097 #define CC_HASH_HASH_HW_FLAGS_MD5_EXISTS_Msk (0x1UL << CC_HASH_HASH_HW_FLAGS_MD5_EXISTS_Pos) /*!< Bit mask of MD5_EXISTS field. */ 1098 1099 /* Bit 13 : If this flag is set, the engine include pad block support. */ 1100 #define CC_HASH_HASH_HW_FLAGS_PAD_EXISTS_Pos (13UL) /*!< Position of PAD_EXISTS field. */ 1101 #define CC_HASH_HASH_HW_FLAGS_PAD_EXISTS_Msk (0x1UL << CC_HASH_HASH_HW_FLAGS_PAD_EXISTS_Pos) /*!< Bit mask of PAD_EXISTS field. */ 1102 1103 /* Bit 12 : If this flag is set, the engine include SHA-512 support. */ 1104 #define CC_HASH_HASH_HW_FLAGS_SHA_512_EXISTS_Pos (12UL) /*!< Position of SHA_512_EXISTS field. */ 1105 #define CC_HASH_HASH_HW_FLAGS_SHA_512_EXISTS_Msk (0x1UL << CC_HASH_HASH_HW_FLAGS_SHA_512_EXISTS_Pos) /*!< Bit mask of SHA_512_EXISTS field. */ 1106 1107 /* Bits 11..8 : Determine the granularity of word size. */ 1108 #define CC_HASH_HASH_HW_FLAGS_DW_Pos (8UL) /*!< Position of DW field. */ 1109 #define CC_HASH_HASH_HW_FLAGS_DW_Msk (0xFUL << CC_HASH_HASH_HW_FLAGS_DW_Pos) /*!< Bit mask of DW field. */ 1110 #define CC_HASH_HASH_HW_FLAGS_DW_32Bits (0x0UL) /*!< 32 bits word data. */ 1111 #define CC_HASH_HASH_HW_FLAGS_DW_64Bits (0x1UL) /*!< 64 bits word data. */ 1112 1113 /* Bits 7..4 : Indicate if Hi adders are present for each Hi value or 1 adder is shared for all Hi. */ 1114 #define CC_HASH_HASH_HW_FLAGS_CH_Pos (4UL) /*!< Position of CH field. */ 1115 #define CC_HASH_HASH_HW_FLAGS_CH_Msk (0xFUL << CC_HASH_HASH_HW_FLAGS_CH_Pos) /*!< Bit mask of CH field. */ 1116 #define CC_HASH_HASH_HW_FLAGS_CH_One (0x0UL) /*!< One Hi value is updated at a time. */ 1117 #define CC_HASH_HASH_HW_FLAGS_CH_All (0x1UL) /*!< All Hi values are updated at the same time. */ 1118 1119 /* Bits 3..0 : Indicates the number of concurrent words the hash is using to compute signature. */ 1120 #define CC_HASH_HASH_HW_FLAGS_CW_Pos (0UL) /*!< Position of CW field. */ 1121 #define CC_HASH_HASH_HW_FLAGS_CW_Msk (0xFUL << CC_HASH_HASH_HW_FLAGS_CW_Pos) /*!< Bit mask of CW field. */ 1122 #define CC_HASH_HASH_HW_FLAGS_CW_One (0x1UL) /*!< One concurrent word used by hash during signature generation */ 1123 #define CC_HASH_HASH_HW_FLAGS_CW_Two (0x2UL) /*!< Two concurrent words used by hash during signature generation */ 1124 1125 /* Register: CC_HASH_HASH_SW_RESET */ 1126 /* Description: Reset the HASH engine. */ 1127 1128 /* Bit 0 : Writing any value to this address resets the HASH engine. The reset takes 4 CPU clock cycles to complete. */ 1129 #define CC_HASH_HASH_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 1130 #define CC_HASH_HASH_SW_RESET_RESET_Msk (0x1UL << CC_HASH_HASH_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 1131 #define CC_HASH_HASH_SW_RESET_RESET_Enable (0x1UL) /*!< Reset HASH engine. */ 1132 1133 /* Register: CC_HASH_HASH_ENDIANNESS */ 1134 /* Description: Configure the endianness of HASH data and padding generation. */ 1135 1136 /* Bit 0 : Endianness of HASH data and padding generation. The default value is little-endian. */ 1137 #define CC_HASH_HASH_ENDIANNESS_ENDIAN_Pos (0UL) /*!< Position of ENDIAN field. */ 1138 #define CC_HASH_HASH_ENDIANNESS_ENDIAN_Msk (0x1UL << CC_HASH_HASH_ENDIANNESS_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */ 1139 #define CC_HASH_HASH_ENDIANNESS_ENDIAN_LittleEndian (0x0UL) /*!< Use little-endian format for data and padding */ 1140 #define CC_HASH_HASH_ENDIANNESS_ENDIAN_BigEndian (0x1UL) /*!< Use big-endian format for data and padding */ 1141 1142 1143 /* Peripheral: CC_HOST_RGF */ 1144 /* Description: CRYPTOCELL HOST register interface */ 1145 1146 /* Register: CC_HOST_RGF_IRR */ 1147 /* Description: Interrupt request register. Each bit of this register holds the interrupt 1148 status of a single interrupt source. If corresponding IMR bit is 1149 unmasked, an interrupt is generated. */ 1150 1151 /* Bit 11 : The symmetric engine DMA completed interrupt status. */ 1152 #define CC_HOST_RGF_IRR_SYM_DMA_INT_Pos (11UL) /*!< Position of SYM_DMA_INT field. */ 1153 #define CC_HOST_RGF_IRR_SYM_DMA_INT_Msk (0x1UL << CC_HOST_RGF_IRR_SYM_DMA_INT_Pos) /*!< Bit mask of SYM_DMA_INT field. */ 1154 1155 /* Bit 10 : The RNG interrupt status. */ 1156 #define CC_HOST_RGF_IRR_RNG_INT_Pos (10UL) /*!< Position of RNG_INT field. */ 1157 #define CC_HOST_RGF_IRR_RNG_INT_Msk (0x1UL << CC_HOST_RGF_IRR_RNG_INT_Pos) /*!< Bit mask of RNG_INT field. */ 1158 1159 /* Bit 9 : The PKA end of operation interrupt status. */ 1160 #define CC_HOST_RGF_IRR_PKA_INT_Pos (9UL) /*!< Position of PKA_INT field. */ 1161 #define CC_HOST_RGF_IRR_PKA_INT_Msk (0x1UL << CC_HOST_RGF_IRR_PKA_INT_Pos) /*!< Bit mask of PKA_INT field. */ 1162 1163 /* Bit 8 : The AHB error interrupt status. */ 1164 #define CC_HOST_RGF_IRR_AHB_ERR_INT_Pos (8UL) /*!< Position of AHB_ERR_INT field. */ 1165 #define CC_HOST_RGF_IRR_AHB_ERR_INT_Msk (0x1UL << CC_HOST_RGF_IRR_AHB_ERR_INT_Pos) /*!< Bit mask of AHB_ERR_INT field. */ 1166 1167 /* Bit 7 : The DOUT to memory DMA done interrupt status. This interrupt is asserted when all data was delivered from DOUT buffer to memory. */ 1168 #define CC_HOST_RGF_IRR_DOUT_TO_MEM_INT_Pos (7UL) /*!< Position of DOUT_TO_MEM_INT field. */ 1169 #define CC_HOST_RGF_IRR_DOUT_TO_MEM_INT_Msk (0x1UL << CC_HOST_RGF_IRR_DOUT_TO_MEM_INT_Pos) /*!< Bit mask of DOUT_TO_MEM_INT field. */ 1170 1171 /* Bit 6 : The memory to DIN DMA done interrupt status. This interrupt is asserted when all data was delivered from memory to DIN buffer. */ 1172 #define CC_HOST_RGF_IRR_MEM_TO_DIN_INT_Pos (6UL) /*!< Position of MEM_TO_DIN_INT field. */ 1173 #define CC_HOST_RGF_IRR_MEM_TO_DIN_INT_Msk (0x1UL << CC_HOST_RGF_IRR_MEM_TO_DIN_INT_Pos) /*!< Bit mask of MEM_TO_DIN_INT field. */ 1174 1175 /* Bit 5 : The DOUT to RNG SRAM DMA done interrupt status. This interrupt is asserted when all data was delivered from DOUT buffer to RNG SRAM. */ 1176 #define CC_HOST_RGF_IRR_DOUT_TO_SRAM_INT_Pos (5UL) /*!< Position of DOUT_TO_SRAM_INT field. */ 1177 #define CC_HOST_RGF_IRR_DOUT_TO_SRAM_INT_Msk (0x1UL << CC_HOST_RGF_IRR_DOUT_TO_SRAM_INT_Pos) /*!< Bit mask of DOUT_TO_SRAM_INT field. */ 1178 1179 /* Bit 4 : The RNG SRAM to DIN DMA done interrupt status. This interrupt is asserted when all data was delivered from RNG SRAM to DIN buffer. */ 1180 #define CC_HOST_RGF_IRR_SRAM_TO_DIN_INT_Pos (4UL) /*!< Position of SRAM_TO_DIN_INT field. */ 1181 #define CC_HOST_RGF_IRR_SRAM_TO_DIN_INT_Msk (0x1UL << CC_HOST_RGF_IRR_SRAM_TO_DIN_INT_Pos) /*!< Bit mask of SRAM_TO_DIN_INT field. */ 1182 1183 /* Register: CC_HOST_RGF_IMR */ 1184 /* Description: Interrupt mask register. Each bit of this register holds the mask of a single interrupt source. */ 1185 1186 /* Bit 11 : The symmetric engine DMA completed interrupt mask. */ 1187 #define CC_HOST_RGF_IMR_SYM_DMA_MASK_Pos (11UL) /*!< Position of SYM_DMA_MASK field. */ 1188 #define CC_HOST_RGF_IMR_SYM_DMA_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_SYM_DMA_MASK_Pos) /*!< Bit mask of SYM_DMA_MASK field. */ 1189 #define CC_HOST_RGF_IMR_SYM_DMA_MASK_IRQEnable (0x0UL) /*!< Do not mask the symmetric engine DMA completed interrupt i.e. interrupt is generated */ 1190 #define CC_HOST_RGF_IMR_SYM_DMA_MASK_IRQDisable (0x1UL) /*!< Mask the symmetric engine DMA completed interrupt i.e. no interrupt is generated */ 1191 1192 /* Bit 10 : The RNG interrupt mask. */ 1193 #define CC_HOST_RGF_IMR_RNG_MASK_Pos (10UL) /*!< Position of RNG_MASK field. */ 1194 #define CC_HOST_RGF_IMR_RNG_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_RNG_MASK_Pos) /*!< Bit mask of RNG_MASK field. */ 1195 #define CC_HOST_RGF_IMR_RNG_MASK_IRQEnable (0x0UL) /*!< Do not mask RNG interrupt i.e. interrupt is generated */ 1196 #define CC_HOST_RGF_IMR_RNG_MASK_IRQDisable (0x1UL) /*!< Mask RNG interrupt i.e. no interrupt is generated */ 1197 1198 /* Bit 9 : The PKA end of operation interrupt mask. */ 1199 #define CC_HOST_RGF_IMR_PKA_MASK_Pos (9UL) /*!< Position of PKA_MASK field. */ 1200 #define CC_HOST_RGF_IMR_PKA_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_PKA_MASK_Pos) /*!< Bit mask of PKA_MASK field. */ 1201 #define CC_HOST_RGF_IMR_PKA_MASK_IRQEnable (0x0UL) /*!< Do not mask PKA end of operation interrupt i.e. interrupt is generated */ 1202 #define CC_HOST_RGF_IMR_PKA_MASK_IRQDisable (0x1UL) /*!< Mask PKA end of operation interrupt i.e. no interrupt is generated */ 1203 1204 /* Bit 8 : The AHB error interrupt mask. */ 1205 #define CC_HOST_RGF_IMR_AHB_ERR_MASK_Pos (8UL) /*!< Position of AHB_ERR_MASK field. */ 1206 #define CC_HOST_RGF_IMR_AHB_ERR_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_AHB_ERR_MASK_Pos) /*!< Bit mask of AHB_ERR_MASK field. */ 1207 #define CC_HOST_RGF_IMR_AHB_ERR_MASK_IRQEnable (0x0UL) /*!< Do not mask AHB error interrupt i.e. interrupt is generated */ 1208 #define CC_HOST_RGF_IMR_AHB_ERR_MASK_IRQDisable (0x1UL) /*!< Mask AHB error interrupt i.e. no interrupt is generated */ 1209 1210 /* Bit 7 : The DOUT to memory DMA done interrupt mask. */ 1211 #define CC_HOST_RGF_IMR_DOUT_TO_MEM_MASK_Pos (7UL) /*!< Position of DOUT_TO_MEM_MASK field. */ 1212 #define CC_HOST_RGF_IMR_DOUT_TO_MEM_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_DOUT_TO_MEM_MASK_Pos) /*!< Bit mask of DOUT_TO_MEM_MASK field. */ 1213 #define CC_HOST_RGF_IMR_DOUT_TO_MEM_MASK_IRQEnable (0x0UL) /*!< Do not mask DOUT to memory DMA done interrupt i.e. interrupt is generated */ 1214 #define CC_HOST_RGF_IMR_DOUT_TO_MEM_MASK_IRQDisable (0x1UL) /*!< Mask DOUT to memory DMA done interrupt i.e. no interrupt is generated */ 1215 1216 /* Bit 6 : The memory to DIN DMA done interrupt mask. */ 1217 #define CC_HOST_RGF_IMR_MEM_TO_DIN_MASK_Pos (6UL) /*!< Position of MEM_TO_DIN_MASK field. */ 1218 #define CC_HOST_RGF_IMR_MEM_TO_DIN_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_MEM_TO_DIN_MASK_Pos) /*!< Bit mask of MEM_TO_DIN_MASK field. */ 1219 #define CC_HOST_RGF_IMR_MEM_TO_DIN_MASK_IRQEnable (0x0UL) /*!< Do not mask memory to DIN DMA done interrupt i.e. interrupt is generated */ 1220 #define CC_HOST_RGF_IMR_MEM_TO_DIN_MASK_IRQDisable (0x1UL) /*!< Mask memory to DIN DMA done interrupt i.e. no interrupt is generated */ 1221 1222 /* Bit 5 : The DOUT to RNG SRAM DMA done interrupt mask. */ 1223 #define CC_HOST_RGF_IMR_DOUT_TO_SRAM_MASK_Pos (5UL) /*!< Position of DOUT_TO_SRAM_MASK field. */ 1224 #define CC_HOST_RGF_IMR_DOUT_TO_SRAM_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_DOUT_TO_SRAM_MASK_Pos) /*!< Bit mask of DOUT_TO_SRAM_MASK field. */ 1225 #define CC_HOST_RGF_IMR_DOUT_TO_SRAM_MASK_IRQEnable (0x0UL) /*!< Do not mask DOUT to RNG SRAM DMA done interrupt i.e. interrupt is generated */ 1226 #define CC_HOST_RGF_IMR_DOUT_TO_SRAM_MASK_IRQDisable (0x1UL) /*!< Mask DOUT to RNG SRAM DMA done interrupt i.e. no interrupt is generated */ 1227 1228 /* Bit 4 : The RNG SRAM to DIN DMA done interrupt mask. */ 1229 #define CC_HOST_RGF_IMR_SRAM_TO_DIN_MASK_Pos (4UL) /*!< Position of SRAM_TO_DIN_MASK field. */ 1230 #define CC_HOST_RGF_IMR_SRAM_TO_DIN_MASK_Msk (0x1UL << CC_HOST_RGF_IMR_SRAM_TO_DIN_MASK_Pos) /*!< Bit mask of SRAM_TO_DIN_MASK field. */ 1231 #define CC_HOST_RGF_IMR_SRAM_TO_DIN_MASK_IRQEnable (0x0UL) /*!< Do not mask RNG SRAM to DIN DMA done interrupt i.e. interrupt is generated */ 1232 #define CC_HOST_RGF_IMR_SRAM_TO_DIN_MASK_IRQDisable (0x1UL) /*!< Mask RNG SRAM to DIN DMA done interrupt i.e. no interrupt is generated */ 1233 1234 /* Register: CC_HOST_RGF_ICR */ 1235 /* Description: Interrupt clear register. Writing a 1 bit into a field in this register will clear the corresponding bit in IRR. */ 1236 1237 /* Bit 11 : The symmetric engine DMA completed interrupt clear. */ 1238 #define CC_HOST_RGF_ICR_SYM_DMA_CLEAR_Pos (11UL) /*!< Position of SYM_DMA_CLEAR field. */ 1239 #define CC_HOST_RGF_ICR_SYM_DMA_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_SYM_DMA_CLEAR_Pos) /*!< Bit mask of SYM_DMA_CLEAR field. */ 1240 1241 /* Bit 10 : The RNG interrupt clear. Register RNG_ISR in the RNG engine must be cleared before this interrupt can be cleared. */ 1242 #define CC_HOST_RGF_ICR_RNG_CLEAR_Pos (10UL) /*!< Position of RNG_CLEAR field. */ 1243 #define CC_HOST_RGF_ICR_RNG_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_RNG_CLEAR_Pos) /*!< Bit mask of RNG_CLEAR field. */ 1244 1245 /* Bit 9 : The PKA end of operation interrupt clear. */ 1246 #define CC_HOST_RGF_ICR_PKA_CLEAR_Pos (9UL) /*!< Position of PKA_CLEAR field. */ 1247 #define CC_HOST_RGF_ICR_PKA_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_PKA_CLEAR_Pos) /*!< Bit mask of PKA_CLEAR field. */ 1248 1249 /* Bit 8 : The AHB error interrupt clear. */ 1250 #define CC_HOST_RGF_ICR_AHB_ERR_CLEAR_Pos (8UL) /*!< Position of AHB_ERR_CLEAR field. */ 1251 #define CC_HOST_RGF_ICR_AHB_ERR_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_AHB_ERR_CLEAR_Pos) /*!< Bit mask of AHB_ERR_CLEAR field. */ 1252 1253 /* Bit 7 : The DOUT to memory DMA done interrupt clear. */ 1254 #define CC_HOST_RGF_ICR_DOUT_TO_MEM_CLEAR_Pos (7UL) /*!< Position of DOUT_TO_MEM_CLEAR field. */ 1255 #define CC_HOST_RGF_ICR_DOUT_TO_MEM_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_DOUT_TO_MEM_CLEAR_Pos) /*!< Bit mask of DOUT_TO_MEM_CLEAR field. */ 1256 1257 /* Bit 6 : The memory to DIN DMA done interrupt clear. */ 1258 #define CC_HOST_RGF_ICR_MEM_TO_DIN_CLEAR_Pos (6UL) /*!< Position of MEM_TO_DIN_CLEAR field. */ 1259 #define CC_HOST_RGF_ICR_MEM_TO_DIN_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_MEM_TO_DIN_CLEAR_Pos) /*!< Bit mask of MEM_TO_DIN_CLEAR field. */ 1260 1261 /* Bit 5 : The DOUT to RNG SRAM DMA done interrupt clear. */ 1262 #define CC_HOST_RGF_ICR_DOUT_TO_SRAM_CLEAR_Pos (5UL) /*!< Position of DOUT_TO_SRAM_CLEAR field. */ 1263 #define CC_HOST_RGF_ICR_DOUT_TO_SRAM_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_DOUT_TO_SRAM_CLEAR_Pos) /*!< Bit mask of DOUT_TO_SRAM_CLEAR field. */ 1264 1265 /* Bit 4 : The RNG SRAM to DIN DMA done interrupt clear. */ 1266 #define CC_HOST_RGF_ICR_SRAM_TO_DIN_CLEAR_Pos (4UL) /*!< Position of SRAM_TO_DIN_CLEAR field. */ 1267 #define CC_HOST_RGF_ICR_SRAM_TO_DIN_CLEAR_Msk (0x1UL << CC_HOST_RGF_ICR_SRAM_TO_DIN_CLEAR_Pos) /*!< Bit mask of SRAM_TO_DIN_CLEAR field. */ 1268 1269 /* Register: CC_HOST_RGF_ENDIANNESS */ 1270 /* Description: This register defines the endianness of the Host-accessible registers, and can only be written once. */ 1271 1272 /* Bit 15 : DIN read word endianness. */ 1273 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_WBG_Pos (15UL) /*!< Position of DIN_RD_WBG field. */ 1274 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_WBG_Msk (0x1UL << CC_HOST_RGF_ENDIANNESS_DIN_RD_WBG_Pos) /*!< Bit mask of DIN_RD_WBG field. */ 1275 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_WBG_LittleEndian (0x0UL) /*!< Configure DIN read word as little-endian */ 1276 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_WBG_BigEndian (0x1UL) /*!< Configure DIN read word as big-endian */ 1277 1278 /* Bit 11 : DOUT write word endianness. */ 1279 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_WBG_Pos (11UL) /*!< Position of DOUT_WR_WBG field. */ 1280 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_WBG_Msk (0x1UL << CC_HOST_RGF_ENDIANNESS_DOUT_WR_WBG_Pos) /*!< Bit mask of DOUT_WR_WBG field. */ 1281 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_WBG_LittleEndian (0x0UL) /*!< Configure DOUT write word as little-endian */ 1282 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_WBG_BigEndian (0x1UL) /*!< Configure DOUT write word as big-endian */ 1283 1284 /* Bit 7 : DIN read endianness. */ 1285 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_BG_Pos (7UL) /*!< Position of DIN_RD_BG field. */ 1286 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_BG_Msk (0x1UL << CC_HOST_RGF_ENDIANNESS_DIN_RD_BG_Pos) /*!< Bit mask of DIN_RD_BG field. */ 1287 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_BG_LittleEndian (0x0UL) /*!< Configure DIN read as little-endian */ 1288 #define CC_HOST_RGF_ENDIANNESS_DIN_RD_BG_BigEndian (0x1UL) /*!< Configure DIN read as big-endian */ 1289 1290 /* Bit 3 : DOUT write endianness. */ 1291 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_BG_Pos (3UL) /*!< Position of DOUT_WR_BG field. */ 1292 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_BG_Msk (0x1UL << CC_HOST_RGF_ENDIANNESS_DOUT_WR_BG_Pos) /*!< Bit mask of DOUT_WR_BG field. */ 1293 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_BG_LittleEndian (0x0UL) /*!< Configure DOUT write as little-endian */ 1294 #define CC_HOST_RGF_ENDIANNESS_DOUT_WR_BG_BigEndian (0x1UL) /*!< Configure DOUT write as big-endian */ 1295 1296 /* Register: CC_HOST_RGF_HOST_SIGNATURE */ 1297 /* Description: This register holds the CRYPTOCELL subsystem signature. See reset value. */ 1298 1299 /* Bits 31..0 : Fixed-value identification signature used by host driver to verify CRYPTOCELL presence at this address. */ 1300 #define CC_HOST_RGF_HOST_SIGNATURE_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 1301 #define CC_HOST_RGF_HOST_SIGNATURE_VALUE_Msk (0xFFFFFFFFUL << CC_HOST_RGF_HOST_SIGNATURE_VALUE_Pos) /*!< Bit mask of VALUE field. */ 1302 1303 /* Register: CC_HOST_RGF_HOST_BOOT */ 1304 /* Description: Hardware configuration of the CRYPTOCELL subsystem. Reset value holds the supported features. */ 1305 1306 /* Bit 30 : If this flag is set, the AES engine is present */ 1307 #define CC_HOST_RGF_HOST_BOOT_AES_EXISTS_LOCAL_Pos (30UL) /*!< Position of AES_EXISTS_LOCAL field. */ 1308 #define CC_HOST_RGF_HOST_BOOT_AES_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_AES_EXISTS_LOCAL_Pos) /*!< Bit mask of AES_EXISTS_LOCAL field. */ 1309 1310 /* Bit 29 : If this flag is set, the AES engine only support encryption */ 1311 #define CC_HOST_RGF_HOST_BOOT_ONLY_ENCRYPT_LOCAL_Pos (29UL) /*!< Position of ONLY_ENCRYPT_LOCAL field. */ 1312 #define CC_HOST_RGF_HOST_BOOT_ONLY_ENCRYPT_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_ONLY_ENCRYPT_LOCAL_Pos) /*!< Bit mask of ONLY_ENCRYPT_LOCAL field. */ 1313 1314 /* Bit 28 : If this flag is set, the AES engine supports 192/256 bits key sizes */ 1315 #define CC_HOST_RGF_HOST_BOOT_SUPPORT_256_192_KEY_LOCAL_Pos (28UL) /*!< Position of SUPPORT_256_192_KEY_LOCAL field. */ 1316 #define CC_HOST_RGF_HOST_BOOT_SUPPORT_256_192_KEY_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_SUPPORT_256_192_KEY_LOCAL_Pos) /*!< Bit mask of SUPPORT_256_192_KEY_LOCAL field. */ 1317 1318 /* Bit 27 : If this flag is set, the AES engine supports tunneling operations */ 1319 #define CC_HOST_RGF_HOST_BOOT_TUNNELING_ENB_LOCAL_Pos (27UL) /*!< Position of TUNNELING_ENB_LOCAL field. */ 1320 #define CC_HOST_RGF_HOST_BOOT_TUNNELING_ENB_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_TUNNELING_ENB_LOCAL_Pos) /*!< Bit mask of TUNNELING_ENB_LOCAL field. */ 1321 1322 /* Bit 26 : If this flag is set, the AES engine data input support byte size resolution */ 1323 #define CC_HOST_RGF_HOST_BOOT_AES_DIN_BYTE_RESOLUTION_LOCAL_Pos (26UL) /*!< Position of AES_DIN_BYTE_RESOLUTION_LOCAL field. */ 1324 #define CC_HOST_RGF_HOST_BOOT_AES_DIN_BYTE_RESOLUTION_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_AES_DIN_BYTE_RESOLUTION_LOCAL_Pos) /*!< Bit mask of AES_DIN_BYTE_RESOLUTION_LOCAL field. */ 1325 1326 /* Bit 25 : If this flag is set, AES CTR mode is supported */ 1327 #define CC_HOST_RGF_HOST_BOOT_CTR_EXISTS_LOCAL_Pos (25UL) /*!< Position of CTR_EXISTS_LOCAL field. */ 1328 #define CC_HOST_RGF_HOST_BOOT_CTR_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_CTR_EXISTS_LOCAL_Pos) /*!< Bit mask of CTR_EXISTS_LOCAL field. */ 1329 1330 /* Bit 24 : If this flag is set, AES XEX mode is supported */ 1331 #define CC_HOST_RGF_HOST_BOOT_AES_XEX_EXISTS_LOCAL_Pos (24UL) /*!< Position of AES_XEX_EXISTS_LOCAL field. */ 1332 #define CC_HOST_RGF_HOST_BOOT_AES_XEX_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_AES_XEX_EXISTS_LOCAL_Pos) /*!< Bit mask of AES_XEX_EXISTS_LOCAL field. */ 1333 1334 /* Bit 23 : If this flag is set, AES XEX mode T-value calculation in HW is supported */ 1335 #define CC_HOST_RGF_HOST_BOOT_AES_XEX_HW_T_CALC_LOCAL_Pos (23UL) /*!< Position of AES_XEX_HW_T_CALC_LOCAL field. */ 1336 #define CC_HOST_RGF_HOST_BOOT_AES_XEX_HW_T_CALC_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_AES_XEX_HW_T_CALC_LOCAL_Pos) /*!< Bit mask of AES_XEX_HW_T_CALC_LOCAL field. */ 1337 1338 /* Bit 22 : If this flag is set, AES CCM mode is supported */ 1339 #define CC_HOST_RGF_HOST_BOOT_AES_CCM_EXISTS_LOCAL_Pos (22UL) /*!< Position of AES_CCM_EXISTS_LOCAL field. */ 1340 #define CC_HOST_RGF_HOST_BOOT_AES_CCM_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_AES_CCM_EXISTS_LOCAL_Pos) /*!< Bit mask of AES_CCM_EXISTS_LOCAL field. */ 1341 1342 /* Bit 21 : If this flag is set, AES CMAC mode is supported */ 1343 #define CC_HOST_RGF_HOST_BOOT_AES_CMAC_EXISTS_LOCAL_Pos (21UL) /*!< Position of AES_CMAC_EXISTS_LOCAL field. */ 1344 #define CC_HOST_RGF_HOST_BOOT_AES_CMAC_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_AES_CMAC_EXISTS_LOCAL_Pos) /*!< Bit mask of AES_CMAC_EXISTS_LOCAL field. */ 1345 1346 /* Bit 20 : If this flag is set, AES XCBC-MAC mode is supported */ 1347 #define CC_HOST_RGF_HOST_BOOT_AES_XCBC_MAC_EXISTS_LOCAL_Pos (20UL) /*!< Position of AES_XCBC_MAC_EXISTS_LOCAL field. */ 1348 #define CC_HOST_RGF_HOST_BOOT_AES_XCBC_MAC_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_AES_XCBC_MAC_EXISTS_LOCAL_Pos) /*!< Bit mask of AES_XCBC_MAC_EXISTS_LOCAL field. */ 1349 1350 /* Bit 19 : If this flag is set, the DES engine is present */ 1351 #define CC_HOST_RGF_HOST_BOOT_DES_EXISTS_LOCAL_Pos (19UL) /*!< Position of DES_EXISTS_LOCAL field. */ 1352 #define CC_HOST_RGF_HOST_BOOT_DES_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_DES_EXISTS_LOCAL_Pos) /*!< Bit mask of DES_EXISTS_LOCAL field. */ 1353 1354 /* Bit 18 : If this flag is set, the C2 engine is present */ 1355 #define CC_HOST_RGF_HOST_BOOT_C2_EXISTS_LOCAL_Pos (18UL) /*!< Position of C2_EXISTS_LOCAL field. */ 1356 #define CC_HOST_RGF_HOST_BOOT_C2_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_C2_EXISTS_LOCAL_Pos) /*!< Bit mask of C2_EXISTS_LOCAL field. */ 1357 1358 /* Bit 17 : If this flag is set, the HASH engine is present */ 1359 #define CC_HOST_RGF_HOST_BOOT_HASH_EXISTS_LOCAL_Pos (17UL) /*!< Position of HASH_EXISTS_LOCAL field. */ 1360 #define CC_HOST_RGF_HOST_BOOT_HASH_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_HASH_EXISTS_LOCAL_Pos) /*!< Bit mask of HASH_EXISTS_LOCAL field. */ 1361 1362 /* Bit 16 : If this flag is set, the HASH engine supports MD5 */ 1363 #define CC_HOST_RGF_HOST_BOOT_MD5_PRSNT_LOCAL_Pos (16UL) /*!< Position of MD5_PRSNT_LOCAL field. */ 1364 #define CC_HOST_RGF_HOST_BOOT_MD5_PRSNT_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_MD5_PRSNT_LOCAL_Pos) /*!< Bit mask of MD5_PRSNT_LOCAL field. */ 1365 1366 /* Bit 15 : If this flag is set, the HASH engine supports SHA256 */ 1367 #define CC_HOST_RGF_HOST_BOOT_SHA_256_PRSNT_LOCAL_Pos (15UL) /*!< Position of SHA_256_PRSNT_LOCAL field. */ 1368 #define CC_HOST_RGF_HOST_BOOT_SHA_256_PRSNT_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_SHA_256_PRSNT_LOCAL_Pos) /*!< Bit mask of SHA_256_PRSNT_LOCAL field. */ 1369 1370 /* Bit 14 : If this flag is set, the HASH engine supports SHA512 */ 1371 #define CC_HOST_RGF_HOST_BOOT_SHA_512_PRSNT_LOCAL_Pos (14UL) /*!< Position of SHA_512_PRSNT_LOCAL field. */ 1372 #define CC_HOST_RGF_HOST_BOOT_SHA_512_PRSNT_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_SHA_512_PRSNT_LOCAL_Pos) /*!< Bit mask of SHA_512_PRSNT_LOCAL field. */ 1373 1374 /* Bit 13 : If this flag is set, the RC4 engine is present */ 1375 #define CC_HOST_RGF_HOST_BOOT_RC4_EXISTS_LOCAL_Pos (13UL) /*!< Position of RC4_EXISTS_LOCAL field. */ 1376 #define CC_HOST_RGF_HOST_BOOT_RC4_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_RC4_EXISTS_LOCAL_Pos) /*!< Bit mask of RC4_EXISTS_LOCAL field. */ 1377 1378 /* Bit 12 : If this flag is set, the PKA engine is present */ 1379 #define CC_HOST_RGF_HOST_BOOT_PKA_EXISTS_LOCAL_Pos (12UL) /*!< Position of PKA_EXISTS_LOCAL field. */ 1380 #define CC_HOST_RGF_HOST_BOOT_PKA_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_PKA_EXISTS_LOCAL_Pos) /*!< Bit mask of PKA_EXISTS_LOCAL field. */ 1381 1382 /* Bit 11 : If this flag is set, the RNG engine is present */ 1383 #define CC_HOST_RGF_HOST_BOOT_RNG_EXISTS_LOCAL_Pos (11UL) /*!< Position of RNG_EXISTS_LOCAL field. */ 1384 #define CC_HOST_RGF_HOST_BOOT_RNG_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_RNG_EXISTS_LOCAL_Pos) /*!< Bit mask of RNG_EXISTS_LOCAL field. */ 1385 1386 /* Bit 10 : If this flag is set, PAU is supported */ 1387 #define CC_HOST_RGF_HOST_BOOT_PAU_EXISTS_LOCAL_Pos (10UL) /*!< Position of PAU_EXISTS_LOCAL field. */ 1388 #define CC_HOST_RGF_HOST_BOOT_PAU_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_PAU_EXISTS_LOCAL_Pos) /*!< Bit mask of PAU_EXISTS_LOCAL field. */ 1389 1390 /* Bit 9 : If this flag is set, Descriptors are supported */ 1391 #define CC_HOST_RGF_HOST_BOOT_DSCRPTR_EXISTS_LOCAL_Pos (9UL) /*!< Position of DSCRPTR_EXISTS_LOCAL field. */ 1392 #define CC_HOST_RGF_HOST_BOOT_DSCRPTR_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_DSCRPTR_EXISTS_LOCAL_Pos) /*!< Bit mask of DSCRPTR_EXISTS_LOCAL field. */ 1393 1394 /* Bits 8..6 : SRAM size */ 1395 #define CC_HOST_RGF_HOST_BOOT_SRAM_SIZE_LOCAL_Pos (6UL) /*!< Position of SRAM_SIZE_LOCAL field. */ 1396 #define CC_HOST_RGF_HOST_BOOT_SRAM_SIZE_LOCAL_Msk (0x7UL << CC_HOST_RGF_HOST_BOOT_SRAM_SIZE_LOCAL_Pos) /*!< Bit mask of SRAM_SIZE_LOCAL field. */ 1397 1398 /* Bit 5 : If this flag is set, RKEK ECC is supported */ 1399 #define CC_HOST_RGF_HOST_BOOT_RKEK_ECC_EXISTS_LOCAL_N_Pos (5UL) /*!< Position of RKEK_ECC_EXISTS_LOCAL_N field. */ 1400 #define CC_HOST_RGF_HOST_BOOT_RKEK_ECC_EXISTS_LOCAL_N_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_RKEK_ECC_EXISTS_LOCAL_N_Pos) /*!< Bit mask of RKEK_ECC_EXISTS_LOCAL_N field. */ 1401 1402 /* Bit 3 : If this flag is set, external secure memory is supported */ 1403 #define CC_HOST_RGF_HOST_BOOT_EXT_MEM_SECURED_LOCAL_Pos (3UL) /*!< Position of EXT_MEM_SECURED_LOCAL field. */ 1404 #define CC_HOST_RGF_HOST_BOOT_EXT_MEM_SECURED_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_EXT_MEM_SECURED_LOCAL_Pos) /*!< Bit mask of EXT_MEM_SECURED_LOCAL field. */ 1405 1406 /* Bit 2 : If this flag is set, HASH in fuses is supported */ 1407 #define CC_HOST_RGF_HOST_BOOT_HASH_IN_FUSES_LOCAL_Pos (2UL) /*!< Position of HASH_IN_FUSES_LOCAL field. */ 1408 #define CC_HOST_RGF_HOST_BOOT_HASH_IN_FUSES_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_HASH_IN_FUSES_LOCAL_Pos) /*!< Bit mask of HASH_IN_FUSES_LOCAL field. */ 1409 1410 /* Bit 1 : If this flag is set, large RKEK is supported */ 1411 #define CC_HOST_RGF_HOST_BOOT_LARGE_RKEK_LOCAL_Pos (1UL) /*!< Position of LARGE_RKEK_LOCAL field. */ 1412 #define CC_HOST_RGF_HOST_BOOT_LARGE_RKEK_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_LARGE_RKEK_LOCAL_Pos) /*!< Bit mask of LARGE_RKEK_LOCAL field. */ 1413 1414 /* Bit 0 : If this flag is set, full power gating is implemented */ 1415 #define CC_HOST_RGF_HOST_BOOT_POWER_GATING_EXISTS_LOCAL_Pos (0UL) /*!< Position of POWER_GATING_EXISTS_LOCAL field. */ 1416 #define CC_HOST_RGF_HOST_BOOT_POWER_GATING_EXISTS_LOCAL_Msk (0x1UL << CC_HOST_RGF_HOST_BOOT_POWER_GATING_EXISTS_LOCAL_Pos) /*!< Bit mask of POWER_GATING_EXISTS_LOCAL field. */ 1417 1418 /* Register: CC_HOST_RGF_HOST_CC_IS_IDLE */ 1419 /* Description: Idle state register for the CRYPTOCELL subsystem. */ 1420 1421 /* Bit 9 : Cryptographic flow idle state. */ 1422 #define CC_HOST_RGF_HOST_CC_IS_IDLE_CRYPTO_IS_IDLE_Pos (9UL) /*!< Position of CRYPTO_IS_IDLE field. */ 1423 #define CC_HOST_RGF_HOST_CC_IS_IDLE_CRYPTO_IS_IDLE_Msk (0x1UL << CC_HOST_RGF_HOST_CC_IS_IDLE_CRYPTO_IS_IDLE_Pos) /*!< Bit mask of CRYPTO_IS_IDLE field. */ 1424 #define CC_HOST_RGF_HOST_CC_IS_IDLE_CRYPTO_IS_IDLE_Busy (0x0UL) /*!< Cryptographic flow busy. */ 1425 #define CC_HOST_RGF_HOST_CC_IS_IDLE_CRYPTO_IS_IDLE_Idle (0x1UL) /*!< Cryptographic flow idle. */ 1426 1427 /* Bit 8 : PKA engine idle state. */ 1428 #define CC_HOST_RGF_HOST_CC_IS_IDLE_PKA_IS_IDLE_Pos (8UL) /*!< Position of PKA_IS_IDLE field. */ 1429 #define CC_HOST_RGF_HOST_CC_IS_IDLE_PKA_IS_IDLE_Msk (0x1UL << CC_HOST_RGF_HOST_CC_IS_IDLE_PKA_IS_IDLE_Pos) /*!< Bit mask of PKA_IS_IDLE field. */ 1430 #define CC_HOST_RGF_HOST_CC_IS_IDLE_PKA_IS_IDLE_Busy (0x0UL) /*!< PKA engine busy. */ 1431 #define CC_HOST_RGF_HOST_CC_IS_IDLE_PKA_IS_IDLE_Idle (0x1UL) /*!< PKA engine idle. */ 1432 1433 /* Bit 7 : RNG engine idle state. */ 1434 #define CC_HOST_RGF_HOST_CC_IS_IDLE_RNG_IS_IDLE_Pos (7UL) /*!< Position of RNG_IS_IDLE field. */ 1435 #define CC_HOST_RGF_HOST_CC_IS_IDLE_RNG_IS_IDLE_Msk (0x1UL << CC_HOST_RGF_HOST_CC_IS_IDLE_RNG_IS_IDLE_Pos) /*!< Bit mask of RNG_IS_IDLE field. */ 1436 #define CC_HOST_RGF_HOST_CC_IS_IDLE_RNG_IS_IDLE_Busy (0x0UL) /*!< RNG engine busy. */ 1437 #define CC_HOST_RGF_HOST_CC_IS_IDLE_RNG_IS_IDLE_Idle (0x1UL) /*!< RNG engine idle. */ 1438 1439 /* Bit 3 : AHB state machine idle state. */ 1440 #define CC_HOST_RGF_HOST_CC_IS_IDLE_AHB_IS_IDLE_Pos (3UL) /*!< Position of AHB_IS_IDLE field. */ 1441 #define CC_HOST_RGF_HOST_CC_IS_IDLE_AHB_IS_IDLE_Msk (0x1UL << CC_HOST_RGF_HOST_CC_IS_IDLE_AHB_IS_IDLE_Pos) /*!< Bit mask of AHB_IS_IDLE field. */ 1442 #define CC_HOST_RGF_HOST_CC_IS_IDLE_AHB_IS_IDLE_Busy (0x0UL) /*!< AHB state machine busy. */ 1443 #define CC_HOST_RGF_HOST_CC_IS_IDLE_AHB_IS_IDLE_Idle (0x1UL) /*!< AHB state machine idle. */ 1444 1445 /* Bit 2 : Symmetric flow busy state. */ 1446 #define CC_HOST_RGF_HOST_CC_IS_IDLE_SYM_IS_BUSY_Pos (2UL) /*!< Position of SYM_IS_BUSY field. */ 1447 #define CC_HOST_RGF_HOST_CC_IS_IDLE_SYM_IS_BUSY_Msk (0x1UL << CC_HOST_RGF_HOST_CC_IS_IDLE_SYM_IS_BUSY_Pos) /*!< Bit mask of SYM_IS_BUSY field. */ 1448 #define CC_HOST_RGF_HOST_CC_IS_IDLE_SYM_IS_BUSY_Idle (0x0UL) /*!< Symmetric flow idle. */ 1449 #define CC_HOST_RGF_HOST_CC_IS_IDLE_SYM_IS_BUSY_Busy (0x1UL) /*!< Symmetric flow busy. */ 1450 1451 /* Bit 0 : CRYPTOCELL idle state. */ 1452 #define CC_HOST_RGF_HOST_CC_IS_IDLE_HOST_CC_IS_IDLE_Pos (0UL) /*!< Position of HOST_CC_IS_IDLE field. */ 1453 #define CC_HOST_RGF_HOST_CC_IS_IDLE_HOST_CC_IS_IDLE_Msk (0x1UL << CC_HOST_RGF_HOST_CC_IS_IDLE_HOST_CC_IS_IDLE_Pos) /*!< Bit mask of HOST_CC_IS_IDLE field. */ 1454 #define CC_HOST_RGF_HOST_CC_IS_IDLE_HOST_CC_IS_IDLE_Busy (0x0UL) /*!< CRYPTOCELL subsystem busy. */ 1455 #define CC_HOST_RGF_HOST_CC_IS_IDLE_HOST_CC_IS_IDLE_Idle (0x1UL) /*!< CRYPTOCELL subsystem idle. */ 1456 1457 /* Register: CC_HOST_RGF_HOST_POWERDOWN */ 1458 /* Description: This register start the power-down sequence. */ 1459 1460 /* Bit 0 : Power down enable register. */ 1461 #define CC_HOST_RGF_HOST_POWERDOWN_HOST_POWERDOWN_Pos (0UL) /*!< Position of HOST_POWERDOWN field. */ 1462 #define CC_HOST_RGF_HOST_POWERDOWN_HOST_POWERDOWN_Msk (0x1UL << CC_HOST_RGF_HOST_POWERDOWN_HOST_POWERDOWN_Pos) /*!< Bit mask of HOST_POWERDOWN field. */ 1463 1464 1465 /* Peripheral: CC_MISC */ 1466 /* Description: CRYPTOCELL MISC interface */ 1467 1468 /* Register: CC_MISC_AES_CLK */ 1469 /* Description: Clock control for the AES engine. */ 1470 1471 /* Bit 0 : Enables clock for the AES engine. */ 1472 #define CC_MISC_AES_CLK_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 1473 #define CC_MISC_AES_CLK_ENABLE_Msk (0x1UL << CC_MISC_AES_CLK_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1474 #define CC_MISC_AES_CLK_ENABLE_Disable (0x0UL) /*!< Disable clock for the AES engine. */ 1475 #define CC_MISC_AES_CLK_ENABLE_Enable (0x1UL) /*!< Enable clock for the AES engine. */ 1476 1477 /* Register: CC_MISC_HASH_CLK */ 1478 /* Description: Clock control for the HASH engine. */ 1479 1480 /* Bit 0 : Enables clock for the HASH engine. */ 1481 #define CC_MISC_HASH_CLK_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 1482 #define CC_MISC_HASH_CLK_ENABLE_Msk (0x1UL << CC_MISC_HASH_CLK_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1483 #define CC_MISC_HASH_CLK_ENABLE_Disable (0x0UL) /*!< Disable clock for the HASH engine. */ 1484 #define CC_MISC_HASH_CLK_ENABLE_Enable (0x1UL) /*!< Enable clock for the HASH engine. */ 1485 1486 /* Register: CC_MISC_PKA_CLK */ 1487 /* Description: Clock control for the PKA engine. */ 1488 1489 /* Bit 0 : Enables clock for the PKA engine. */ 1490 #define CC_MISC_PKA_CLK_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 1491 #define CC_MISC_PKA_CLK_ENABLE_Msk (0x1UL << CC_MISC_PKA_CLK_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1492 #define CC_MISC_PKA_CLK_ENABLE_Disable (0x0UL) /*!< Disable clock for the PKA engine. */ 1493 #define CC_MISC_PKA_CLK_ENABLE_Enable (0x1UL) /*!< Enable clock for the PKA engine. */ 1494 1495 /* Register: CC_MISC_DMA_CLK */ 1496 /* Description: Clock control for the DMA engines. */ 1497 1498 /* Bit 0 : Enables clock for the DMA engines. */ 1499 #define CC_MISC_DMA_CLK_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 1500 #define CC_MISC_DMA_CLK_ENABLE_Msk (0x1UL << CC_MISC_DMA_CLK_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1501 #define CC_MISC_DMA_CLK_ENABLE_Disable (0x0UL) /*!< Disable clock for the DMA engines. */ 1502 #define CC_MISC_DMA_CLK_ENABLE_Enable (0x1UL) /*!< Enable clock for the DMA engines. */ 1503 1504 /* Register: CC_MISC_CLK_STATUS */ 1505 /* Description: CRYPTOCELL clocks status register. */ 1506 1507 /* Bit 8 : Status of DMA engines clock. */ 1508 #define CC_MISC_CLK_STATUS_DMA_CLK_Pos (8UL) /*!< Position of DMA_CLK field. */ 1509 #define CC_MISC_CLK_STATUS_DMA_CLK_Msk (0x1UL << CC_MISC_CLK_STATUS_DMA_CLK_Pos) /*!< Bit mask of DMA_CLK field. */ 1510 #define CC_MISC_CLK_STATUS_DMA_CLK_Disabled (0x0UL) /*!< Clocks for DMA engines are disabled */ 1511 #define CC_MISC_CLK_STATUS_DMA_CLK_Enabled (0x1UL) /*!< Clocks for DMA engines are enabled */ 1512 1513 /* Bit 7 : Status of CHACHA engine clock. */ 1514 #define CC_MISC_CLK_STATUS_CHACHA_CLK_Pos (7UL) /*!< Position of CHACHA_CLK field. */ 1515 #define CC_MISC_CLK_STATUS_CHACHA_CLK_Msk (0x1UL << CC_MISC_CLK_STATUS_CHACHA_CLK_Pos) /*!< Bit mask of CHACHA_CLK field. */ 1516 #define CC_MISC_CLK_STATUS_CHACHA_CLK_Disabled (0x0UL) /*!< Clock for CHACHA engine is disabled */ 1517 #define CC_MISC_CLK_STATUS_CHACHA_CLK_Enabled (0x1UL) /*!< Clock for CHACHA engine is enabled */ 1518 1519 /* Bit 3 : Status of PKA engine clock. */ 1520 #define CC_MISC_CLK_STATUS_PKA_CLK_Pos (3UL) /*!< Position of PKA_CLK field. */ 1521 #define CC_MISC_CLK_STATUS_PKA_CLK_Msk (0x1UL << CC_MISC_CLK_STATUS_PKA_CLK_Pos) /*!< Bit mask of PKA_CLK field. */ 1522 #define CC_MISC_CLK_STATUS_PKA_CLK_Disabled (0x0UL) /*!< Clock for PKA engine is disabled */ 1523 #define CC_MISC_CLK_STATUS_PKA_CLK_Enabled (0x1UL) /*!< Clock for PKA engine is enabled */ 1524 1525 /* Bit 2 : Status of HASH engine clock. */ 1526 #define CC_MISC_CLK_STATUS_HASH_CLK_Pos (2UL) /*!< Position of HASH_CLK field. */ 1527 #define CC_MISC_CLK_STATUS_HASH_CLK_Msk (0x1UL << CC_MISC_CLK_STATUS_HASH_CLK_Pos) /*!< Bit mask of HASH_CLK field. */ 1528 #define CC_MISC_CLK_STATUS_HASH_CLK_Disabled (0x0UL) /*!< Clock for HASH engine is disabled */ 1529 #define CC_MISC_CLK_STATUS_HASH_CLK_Enabled (0x1UL) /*!< Clock for HASH engine is enabled */ 1530 1531 /* Bit 0 : Status of AES engine clock. */ 1532 #define CC_MISC_CLK_STATUS_AES_CLK_Pos (0UL) /*!< Position of AES_CLK field. */ 1533 #define CC_MISC_CLK_STATUS_AES_CLK_Msk (0x1UL << CC_MISC_CLK_STATUS_AES_CLK_Pos) /*!< Bit mask of AES_CLK field. */ 1534 #define CC_MISC_CLK_STATUS_AES_CLK_Disabled (0x0UL) /*!< Clock for AES engine is disabled */ 1535 #define CC_MISC_CLK_STATUS_AES_CLK_Enabled (0x1UL) /*!< Clock for AES engine is enabled */ 1536 1537 /* Register: CC_MISC_CHACHA_CLK */ 1538 /* Description: Clock control for the CHACHA engine. */ 1539 1540 /* Bit 0 : Enables clock for the CHACHA engine. */ 1541 #define CC_MISC_CHACHA_CLK_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 1542 #define CC_MISC_CHACHA_CLK_ENABLE_Msk (0x1UL << CC_MISC_CHACHA_CLK_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1543 #define CC_MISC_CHACHA_CLK_ENABLE_Disable (0x0UL) /*!< Disable clock for the CHACHA engine. */ 1544 #define CC_MISC_CHACHA_CLK_ENABLE_Enable (0x1UL) /*!< Enable clock for the CHACHA engine. */ 1545 1546 1547 /* Peripheral: CC_PKA */ 1548 /* Description: CRYPTOCELL PKA engine */ 1549 1550 /* Register: CC_PKA_MEMORY_MAP */ 1551 /* Description: Description collection: Register for mapping the virtual register R[n] to a physical address in the PKA SRAM. */ 1552 1553 /* Bits 10..1 : The physical word address used for the virtual register. */ 1554 #define CC_PKA_MEMORY_MAP_ADDR_Pos (1UL) /*!< Position of ADDR field. */ 1555 #define CC_PKA_MEMORY_MAP_ADDR_Msk (0x3FFUL << CC_PKA_MEMORY_MAP_ADDR_Pos) /*!< Bit mask of ADDR field. */ 1556 1557 /* Register: CC_PKA_OPCODE */ 1558 /* Description: Operation code to be executed by the PKA engine. Writing to this register triggers the PKA operation. */ 1559 1560 /* Bits 31..27 : Operation code to be executed by the PKA engine */ 1561 #define CC_PKA_OPCODE_OPCODE_Pos (27UL) /*!< Position of OPCODE field. */ 1562 #define CC_PKA_OPCODE_OPCODE_Msk (0x1FUL << CC_PKA_OPCODE_OPCODE_Pos) /*!< Bit mask of OPCODE field. */ 1563 #define CC_PKA_OPCODE_OPCODE_Terminate (0x00UL) /*!< Terminate operation */ 1564 #define CC_PKA_OPCODE_OPCODE_AddInc (0x04UL) /*!< Add or Increment */ 1565 #define CC_PKA_OPCODE_OPCODE_SubDecNeg (0x05UL) /*!< Subtract, Decrement, or Negate */ 1566 #define CC_PKA_OPCODE_OPCODE_ModAddInc (0x06UL) /*!< Modular Add or Modular Increment */ 1567 #define CC_PKA_OPCODE_OPCODE_ModSubDecNeg (0x07UL) /*!< Modular Subtract, Modular Decrement, or Modular Negate */ 1568 #define CC_PKA_OPCODE_OPCODE_ANDTST0CLR0 (0x08UL) /*!< Perform AND, test, or clear */ 1569 #define CC_PKA_OPCODE_OPCODE_ORCOPYSET0 (0x09UL) /*!< Perform OR, copy, or set bits */ 1570 #define CC_PKA_OPCODE_OPCODE_XORFLP0INVCMP (0x0AUL) /*!< Perform XOR, flip bits, invert, or compare */ 1571 #define CC_PKA_OPCODE_OPCODE_SHR0 (0x0CUL) /*!< Shift right 0 operation */ 1572 #define CC_PKA_OPCODE_OPCODE_SHR1 (0x0DUL) /*!< Shift right 1 operation */ 1573 #define CC_PKA_OPCODE_OPCODE_SHL0 (0x0EUL) /*!< Shift left 0 operation */ 1574 #define CC_PKA_OPCODE_OPCODE_SHL1 (0x0FUL) /*!< Shift left 1 operation */ 1575 #define CC_PKA_OPCODE_OPCODE_MulLow (0x10UL) /*!< Multiply low operation */ 1576 #define CC_PKA_OPCODE_OPCODE_ModMul (0x11UL) /*!< Modular multiply operation */ 1577 #define CC_PKA_OPCODE_OPCODE_ModMulN (0x12UL) /*!< Modular multiply N operation */ 1578 #define CC_PKA_OPCODE_OPCODE_ModExp (0x13UL) /*!< Modular exponentiation operation */ 1579 #define CC_PKA_OPCODE_OPCODE_Division (0x14UL) /*!< Division operation */ 1580 #define CC_PKA_OPCODE_OPCODE_ModInv (0x15UL) /*!< Modular inversion operation */ 1581 #define CC_PKA_OPCODE_OPCODE_ModDiv (0x16UL) /*!< Modular division operation */ 1582 #define CC_PKA_OPCODE_OPCODE_MulHigh (0x17UL) /*!< Multiply high operation */ 1583 #define CC_PKA_OPCODE_OPCODE_ModMLAC (0x18UL) /*!< Modular multiplication acceleration */ 1584 #define CC_PKA_OPCODE_OPCODE_ModMLACNR (0x19UL) /*!< Modular multiplication acceleration where final reduction is omitted */ 1585 #define CC_PKA_OPCODE_OPCODE_Reduction (0x1BUL) /*!< Reduction operation */ 1586 1587 /* Bits 26..24 : The length of the operands. This value serves as an PKA length register index. E.g.: if LEN field value is set to 0, PKA_L[0] holds the size of the operands. */ 1588 #define CC_PKA_OPCODE_LEN_Pos (24UL) /*!< Position of LEN field. */ 1589 #define CC_PKA_OPCODE_LEN_Msk (0x7UL << CC_PKA_OPCODE_LEN_Pos) /*!< Bit mask of LEN field. */ 1590 1591 /* Bit 23 : This field controls the interpretation of REG_A. */ 1592 #define CC_PKA_OPCODE_CONST_A_Pos (23UL) /*!< Position of CONST_A field. */ 1593 #define CC_PKA_OPCODE_CONST_A_Msk (0x1UL << CC_PKA_OPCODE_CONST_A_Pos) /*!< Bit mask of CONST_A field. */ 1594 #define CC_PKA_OPCODE_CONST_A_Register (0x0UL) /*!< REG_A is intepreted as a register index. */ 1595 #define CC_PKA_OPCODE_CONST_A_Constant (0x1UL) /*!< REG_A is intepreted as a constant. */ 1596 1597 /* Bits 22..18 : Operand A virtual register index. */ 1598 #define CC_PKA_OPCODE_REG_A_Pos (18UL) /*!< Position of REG_A field. */ 1599 #define CC_PKA_OPCODE_REG_A_Msk (0x1FUL << CC_PKA_OPCODE_REG_A_Pos) /*!< Bit mask of REG_A field. */ 1600 1601 /* Bit 17 : This field controls the interpretation of REG_B. */ 1602 #define CC_PKA_OPCODE_CONST_B_Pos (17UL) /*!< Position of CONST_B field. */ 1603 #define CC_PKA_OPCODE_CONST_B_Msk (0x1UL << CC_PKA_OPCODE_CONST_B_Pos) /*!< Bit mask of CONST_B field. */ 1604 #define CC_PKA_OPCODE_CONST_B_Register (0x0UL) /*!< REG_B is intepreted as a register index. */ 1605 #define CC_PKA_OPCODE_CONST_B_Constant (0x1UL) /*!< REG_B is intepreted as a constant. */ 1606 1607 /* Bits 16..12 : Operand B virtual register index. */ 1608 #define CC_PKA_OPCODE_REG_B_Pos (12UL) /*!< Position of REG_B field. */ 1609 #define CC_PKA_OPCODE_REG_B_Msk (0x1FUL << CC_PKA_OPCODE_REG_B_Pos) /*!< Bit mask of REG_B field. */ 1610 1611 /* Bit 11 : This field controls the interpretation of REG_R. */ 1612 #define CC_PKA_OPCODE_DISCARD_R_Pos (11UL) /*!< Position of DISCARD_R field. */ 1613 #define CC_PKA_OPCODE_DISCARD_R_Msk (0x1UL << CC_PKA_OPCODE_DISCARD_R_Pos) /*!< Bit mask of DISCARD_R field. */ 1614 #define CC_PKA_OPCODE_DISCARD_R_Register (0x0UL) /*!< REG_R is intepreted as a register index. */ 1615 #define CC_PKA_OPCODE_DISCARD_R_Discard (0x1UL) /*!< Result is discarded. */ 1616 1617 /* Bits 10..6 : Result register virtual register index. */ 1618 #define CC_PKA_OPCODE_REG_R_Pos (6UL) /*!< Position of REG_R field. */ 1619 #define CC_PKA_OPCODE_REG_R_Msk (0x1FUL << CC_PKA_OPCODE_REG_R_Pos) /*!< Bit mask of REG_R field. */ 1620 1621 /* Bits 5..0 : Holds the operation tag or the operand C virtual register index. */ 1622 #define CC_PKA_OPCODE_TAG_Pos (0UL) /*!< Position of TAG field. */ 1623 #define CC_PKA_OPCODE_TAG_Msk (0x3FUL << CC_PKA_OPCODE_TAG_Pos) /*!< Bit mask of TAG field. */ 1624 1625 /* Register: CC_PKA_N_NP_T0_T1_ADDR */ 1626 /* Description: This register defines the N, Np, T0, and T1 virtual register index. */ 1627 1628 /* Bits 19..15 : Temporary register 1 virtual register index. Default is R31. */ 1629 #define CC_PKA_N_NP_T0_T1_ADDR_T1_VIRTUAL_ADDR_Pos (15UL) /*!< Position of T1_VIRTUAL_ADDR field. */ 1630 #define CC_PKA_N_NP_T0_T1_ADDR_T1_VIRTUAL_ADDR_Msk (0x1FUL << CC_PKA_N_NP_T0_T1_ADDR_T1_VIRTUAL_ADDR_Pos) /*!< Bit mask of T1_VIRTUAL_ADDR field. */ 1631 1632 /* Bits 14..10 : Temporary register 0 virtual register index. Default is R30. */ 1633 #define CC_PKA_N_NP_T0_T1_ADDR_T0_VIRTUAL_ADDR_Pos (10UL) /*!< Position of T0_VIRTUAL_ADDR field. */ 1634 #define CC_PKA_N_NP_T0_T1_ADDR_T0_VIRTUAL_ADDR_Msk (0x1FUL << CC_PKA_N_NP_T0_T1_ADDR_T0_VIRTUAL_ADDR_Pos) /*!< Bit mask of T0_VIRTUAL_ADDR field. */ 1635 1636 /* Bits 9..5 : Register Np virtual register index. Default is R1. */ 1637 #define CC_PKA_N_NP_T0_T1_ADDR_NP_VIRTUAL_ADDR_Pos (5UL) /*!< Position of NP_VIRTUAL_ADDR field. */ 1638 #define CC_PKA_N_NP_T0_T1_ADDR_NP_VIRTUAL_ADDR_Msk (0x1FUL << CC_PKA_N_NP_T0_T1_ADDR_NP_VIRTUAL_ADDR_Pos) /*!< Bit mask of NP_VIRTUAL_ADDR field. */ 1639 1640 /* Bits 4..0 : Register N virtual register index. Default is R0. */ 1641 #define CC_PKA_N_NP_T0_T1_ADDR_N_VIRTUAL_ADDR_Pos (0UL) /*!< Position of N_VIRTUAL_ADDR field. */ 1642 #define CC_PKA_N_NP_T0_T1_ADDR_N_VIRTUAL_ADDR_Msk (0x1FUL << CC_PKA_N_NP_T0_T1_ADDR_N_VIRTUAL_ADDR_Pos) /*!< Bit mask of N_VIRTUAL_ADDR field. */ 1643 1644 /* Register: CC_PKA_PKA_STATUS */ 1645 /* Description: This register holds the status for the PKA pipeline. */ 1646 1647 /* Bits 20..16 : Opcode of the last operation */ 1648 #define CC_PKA_PKA_STATUS_OPCODE_Pos (16UL) /*!< Position of OPCODE field. */ 1649 #define CC_PKA_PKA_STATUS_OPCODE_Msk (0x1FUL << CC_PKA_PKA_STATUS_OPCODE_Pos) /*!< Bit mask of OPCODE field. */ 1650 1651 /* Bit 15 : Indicates the modular inverse of zero. */ 1652 #define CC_PKA_PKA_STATUS_MODINV_OF_ZERO_Pos (15UL) /*!< Position of MODINV_OF_ZERO field. */ 1653 #define CC_PKA_PKA_STATUS_MODINV_OF_ZERO_Msk (0x1UL << CC_PKA_PKA_STATUS_MODINV_OF_ZERO_Pos) /*!< Bit mask of MODINV_OF_ZERO field. */ 1654 1655 /* Bit 14 : Indication if the division is done by zero. */ 1656 #define CC_PKA_PKA_STATUS_DIV_BY_ZERO_Pos (14UL) /*!< Position of DIV_BY_ZERO field. */ 1657 #define CC_PKA_PKA_STATUS_DIV_BY_ZERO_Msk (0x1UL << CC_PKA_PKA_STATUS_DIV_BY_ZERO_Pos) /*!< Bit mask of DIV_BY_ZERO field. */ 1658 1659 /* Bit 13 : Modular overflow flag. */ 1660 #define CC_PKA_PKA_STATUS_ALU_MODOVRFLW_Pos (13UL) /*!< Position of ALU_MODOVRFLW field. */ 1661 #define CC_PKA_PKA_STATUS_ALU_MODOVRFLW_Msk (0x1UL << CC_PKA_PKA_STATUS_ALU_MODOVRFLW_Pos) /*!< Bit mask of ALU_MODOVRFLW field. */ 1662 1663 /* Bit 12 : Indicates if the result of ALU OUT is zero. */ 1664 #define CC_PKA_PKA_STATUS_ALU_OUT_ZERO_Pos (12UL) /*!< Position of ALU_OUT_ZERO field. */ 1665 #define CC_PKA_PKA_STATUS_ALU_OUT_ZERO_Msk (0x1UL << CC_PKA_PKA_STATUS_ALU_OUT_ZERO_Pos) /*!< Bit mask of ALU_OUT_ZERO field. */ 1666 1667 /* Bit 11 : Indicates the last subtraction operation sign. */ 1668 #define CC_PKA_PKA_STATUS_ALU_SUB_IS_ZERO_Pos (11UL) /*!< Position of ALU_SUB_IS_ZERO field. */ 1669 #define CC_PKA_PKA_STATUS_ALU_SUB_IS_ZERO_Msk (0x1UL << CC_PKA_PKA_STATUS_ALU_SUB_IS_ZERO_Pos) /*!< Bit mask of ALU_SUB_IS_ZERO field. */ 1670 1671 /* Bit 10 : Holds the carry of the last modular operation. */ 1672 #define CC_PKA_PKA_STATUS_ALU_CARRY_MOD_Pos (10UL) /*!< Position of ALU_CARRY_MOD field. */ 1673 #define CC_PKA_PKA_STATUS_ALU_CARRY_MOD_Msk (0x1UL << CC_PKA_PKA_STATUS_ALU_CARRY_MOD_Pos) /*!< Bit mask of ALU_CARRY_MOD field. */ 1674 1675 /* Bit 9 : Holds the carry of the last ALU operation. */ 1676 #define CC_PKA_PKA_STATUS_ALU_CARRY_Pos (9UL) /*!< Position of ALU_CARRY field. */ 1677 #define CC_PKA_PKA_STATUS_ALU_CARRY_Msk (0x1UL << CC_PKA_PKA_STATUS_ALU_CARRY_Pos) /*!< Bit mask of ALU_CARRY field. */ 1678 1679 /* Bit 8 : Indicates the MSB sign of the last operation. */ 1680 #define CC_PKA_PKA_STATUS_ALU_SIGN_OUT_Pos (8UL) /*!< Position of ALU_SIGN_OUT field. */ 1681 #define CC_PKA_PKA_STATUS_ALU_SIGN_OUT_Msk (0x1UL << CC_PKA_PKA_STATUS_ALU_SIGN_OUT_Pos) /*!< Bit mask of ALU_SIGN_OUT field. */ 1682 1683 /* Bits 7..4 : The least significant 4-bits of the operand updated in shift operation. */ 1684 #define CC_PKA_PKA_STATUS_ALU_LSB_4BITS_Pos (4UL) /*!< Position of ALU_LSB_4BITS field. */ 1685 #define CC_PKA_PKA_STATUS_ALU_LSB_4BITS_Msk (0xFUL << CC_PKA_PKA_STATUS_ALU_LSB_4BITS_Pos) /*!< Bit mask of ALU_LSB_4BITS field. */ 1686 1687 /* Bits 3..0 : The most significant 4-bits of the operand updated in shift operation. */ 1688 #define CC_PKA_PKA_STATUS_ALU_MSB_4BITS_Pos (0UL) /*!< Position of ALU_MSB_4BITS field. */ 1689 #define CC_PKA_PKA_STATUS_ALU_MSB_4BITS_Msk (0xFUL << CC_PKA_PKA_STATUS_ALU_MSB_4BITS_Pos) /*!< Bit mask of ALU_MSB_4BITS field. */ 1690 1691 /* Register: CC_PKA_PKA_SW_RESET */ 1692 /* Description: Reset the PKA engine. */ 1693 1694 /* Bit 0 : Writing any value to this address resets the PKA engine. The reset takes 4 CPU clock cycles to complete. */ 1695 #define CC_PKA_PKA_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 1696 #define CC_PKA_PKA_SW_RESET_RESET_Msk (0x1UL << CC_PKA_PKA_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 1697 #define CC_PKA_PKA_SW_RESET_RESET_Enable (0x1UL) /*!< Reset PKA engine. */ 1698 1699 /* Register: CC_PKA_PKA_L */ 1700 /* Description: Description collection: This register holds the operands bit size. */ 1701 1702 /* Bits 12..0 : Operand bit size. */ 1703 #define CC_PKA_PKA_L_OpSize_Pos (0UL) /*!< Position of OpSize field. */ 1704 #define CC_PKA_PKA_L_OpSize_Msk (0x1FFFUL << CC_PKA_PKA_L_OpSize_Pos) /*!< Bit mask of OpSize field. */ 1705 1706 /* Register: CC_PKA_PKA_PIPE */ 1707 /* Description: Status register indicating if the PKA pipeline is ready to receive a new OPCODE. */ 1708 1709 /* Bit 0 : PKA pipeline status. */ 1710 #define CC_PKA_PKA_PIPE_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 1711 #define CC_PKA_PKA_PIPE_STATUS_Msk (0x1UL << CC_PKA_PKA_PIPE_STATUS_Pos) /*!< Bit mask of STATUS field. */ 1712 #define CC_PKA_PKA_PIPE_STATUS_NotReady (0x0UL) /*!< PKA pipeline is not ready for a new OPCODE */ 1713 #define CC_PKA_PKA_PIPE_STATUS_Ready (0x1UL) /*!< PKA pipeline is ready for a new OPCODE */ 1714 1715 /* Register: CC_PKA_PKA_DONE */ 1716 /* Description: Status register indicating if the PKA operation has been completed. */ 1717 1718 /* Bit 0 : PKA operation status. */ 1719 #define CC_PKA_PKA_DONE_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 1720 #define CC_PKA_PKA_DONE_STATUS_Msk (0x1UL << CC_PKA_PKA_DONE_STATUS_Pos) /*!< Bit mask of STATUS field. */ 1721 #define CC_PKA_PKA_DONE_STATUS_Processing (0x0UL) /*!< PKA operation is processing */ 1722 #define CC_PKA_PKA_DONE_STATUS_Completed (0x1UL) /*!< PKA operation is completed and pipeline is empty */ 1723 1724 /* Register: CC_PKA_PKA_VERSION */ 1725 /* Description: PKA engine HW version. Reset value holds the version. */ 1726 1727 /* Bits 31..0 : */ 1728 #define CC_PKA_PKA_VERSION_PKA_VERSION_Pos (0UL) /*!< Position of PKA_VERSION field. */ 1729 #define CC_PKA_PKA_VERSION_PKA_VERSION_Msk (0xFFFFFFFFUL << CC_PKA_PKA_VERSION_PKA_VERSION_Pos) /*!< Bit mask of PKA_VERSION field. */ 1730 1731 /* Register: CC_PKA_PKA_SRAM_WADDR */ 1732 /* Description: Start address in PKA SRAM for subsequent write transactions. */ 1733 1734 /* Bits 31..0 : PKA SRAM start address for write transaction */ 1735 #define CC_PKA_PKA_SRAM_WADDR_ADDR_Pos (0UL) /*!< Position of ADDR field. */ 1736 #define CC_PKA_PKA_SRAM_WADDR_ADDR_Msk (0xFFFFFFFFUL << CC_PKA_PKA_SRAM_WADDR_ADDR_Pos) /*!< Bit mask of ADDR field. */ 1737 1738 /* Register: CC_PKA_PKA_SRAM_WDATA */ 1739 /* Description: Write data to PKA SRAM. Writing to this register triggers a DMA transaction writing data into PKA SRAM. The DMA address offset is automatically incremented during write. */ 1740 1741 /* Bits 31..0 : Data to write to PKA SRAM. */ 1742 #define CC_PKA_PKA_SRAM_WDATA_DATA_Pos (0UL) /*!< Position of DATA field. */ 1743 #define CC_PKA_PKA_SRAM_WDATA_DATA_Msk (0xFFFFFFFFUL << CC_PKA_PKA_SRAM_WDATA_DATA_Pos) /*!< Bit mask of DATA field. */ 1744 1745 /* Register: CC_PKA_PKA_SRAM_RDATA */ 1746 /* Description: Read data from PKA SRAM. Reading from this register triggers a DMA transaction read data from PKA SRAM. The DMA address offset is automatically incremented during read. */ 1747 1748 /* Bits 31..0 : Data to read from PKA SRAM */ 1749 #define CC_PKA_PKA_SRAM_RDATA_DATA_Pos (0UL) /*!< Position of DATA field. */ 1750 #define CC_PKA_PKA_SRAM_RDATA_DATA_Msk (0xFFFFFFFFUL << CC_PKA_PKA_SRAM_RDATA_DATA_Pos) /*!< Bit mask of DATA field. */ 1751 1752 /* Register: CC_PKA_PKA_SRAM_WCLEAR */ 1753 /* Description: Register for clearing PKA SRAM write buffer. */ 1754 1755 /* Bits 31..0 : Clear the PKA SRAM write buffer. */ 1756 #define CC_PKA_PKA_SRAM_WCLEAR_CLEAR_Pos (0UL) /*!< Position of CLEAR field. */ 1757 #define CC_PKA_PKA_SRAM_WCLEAR_CLEAR_Msk (0xFFFFFFFFUL << CC_PKA_PKA_SRAM_WCLEAR_CLEAR_Pos) /*!< Bit mask of CLEAR field. */ 1758 1759 /* Register: CC_PKA_PKA_SRAM_RADDR */ 1760 /* Description: Start address in PKA SRAM for subsequent read transactions. */ 1761 1762 /* Bits 31..0 : PKA SRAM start address for read transaction */ 1763 #define CC_PKA_PKA_SRAM_RADDR_ADDR_Pos (0UL) /*!< Position of ADDR field. */ 1764 #define CC_PKA_PKA_SRAM_RADDR_ADDR_Msk (0xFFFFFFFFUL << CC_PKA_PKA_SRAM_RADDR_ADDR_Pos) /*!< Bit mask of ADDR field. */ 1765 1766 1767 /* Peripheral: CC_RNG */ 1768 /* Description: CRYPTOCELL RNG engine */ 1769 1770 /* Register: CC_RNG_RNG_IMR */ 1771 /* Description: Interrupt mask register. Each bit of this register holds the mask of a single interrupt source. */ 1772 1773 /* Bit 5 : See RNG_ISR for explanation on this interrupt. */ 1774 #define CC_RNG_RNG_IMR_DMA_DONE_MASK_Pos (5UL) /*!< Position of DMA_DONE_MASK field. */ 1775 #define CC_RNG_RNG_IMR_DMA_DONE_MASK_Msk (0x1UL << CC_RNG_RNG_IMR_DMA_DONE_MASK_Pos) /*!< Bit mask of DMA_DONE_MASK field. */ 1776 #define CC_RNG_RNG_IMR_DMA_DONE_MASK_IRQEnable (0x0UL) /*!< Do not mask the RNG DMA completion interrupt i.e. interrupt is generated */ 1777 #define CC_RNG_RNG_IMR_DMA_DONE_MASK_IRQDisable (0x1UL) /*!< Mask the RNG DMA completion interrupt i.e. no interrupt is generated */ 1778 1779 /* Bit 4 : See RNG_ISR for explanation on this interrupt. */ 1780 #define CC_RNG_RNG_IMR_WATCHDOG_MASK_Pos (4UL) /*!< Position of WATCHDOG_MASK field. */ 1781 #define CC_RNG_RNG_IMR_WATCHDOG_MASK_Msk (0x1UL << CC_RNG_RNG_IMR_WATCHDOG_MASK_Pos) /*!< Bit mask of WATCHDOG_MASK field. */ 1782 #define CC_RNG_RNG_IMR_WATCHDOG_MASK_IRQEnable (0x0UL) /*!< Do not mask the watchdog interrupt i.e. interrupt is generated */ 1783 #define CC_RNG_RNG_IMR_WATCHDOG_MASK_IRQDisable (0x1UL) /*!< Mask the watchdog interrupt i.e. no interrupt is generated */ 1784 1785 /* Bit 3 : See RNG_ISR for explanation on this interrupt. */ 1786 #define CC_RNG_RNG_IMR_VNC_ERR_MASK_Pos (3UL) /*!< Position of VNC_ERR_MASK field. */ 1787 #define CC_RNG_RNG_IMR_VNC_ERR_MASK_Msk (0x1UL << CC_RNG_RNG_IMR_VNC_ERR_MASK_Pos) /*!< Bit mask of VNC_ERR_MASK field. */ 1788 #define CC_RNG_RNG_IMR_VNC_ERR_MASK_IRQEnable (0x0UL) /*!< Do not mask the von Neumann corrector error interrupt i.e. interrupt is generated */ 1789 #define CC_RNG_RNG_IMR_VNC_ERR_MASK_IRQDisable (0x1UL) /*!< Mask the von Neumann corrector error interrupt i.e. no interrupt is generated */ 1790 1791 /* Bit 2 : See RNG_ISR for explanation on this interrupt. */ 1792 #define CC_RNG_RNG_IMR_CRNGT_ERR_MASK_Pos (2UL) /*!< Position of CRNGT_ERR_MASK field. */ 1793 #define CC_RNG_RNG_IMR_CRNGT_ERR_MASK_Msk (0x1UL << CC_RNG_RNG_IMR_CRNGT_ERR_MASK_Pos) /*!< Bit mask of CRNGT_ERR_MASK field. */ 1794 #define CC_RNG_RNG_IMR_CRNGT_ERR_MASK_IRQEnable (0x0UL) /*!< Do not mask the CRNGT error interrupt i.e. interrupt is generated */ 1795 #define CC_RNG_RNG_IMR_CRNGT_ERR_MASK_IRQDisable (0x1UL) /*!< Mask the CRNGT error interrupt i.e. no interrupt is generated */ 1796 1797 /* Bit 1 : See RNG_ISR for explanation on this interrupt. */ 1798 #define CC_RNG_RNG_IMR_AUTOCORR_ERR_MASK_Pos (1UL) /*!< Position of AUTOCORR_ERR_MASK field. */ 1799 #define CC_RNG_RNG_IMR_AUTOCORR_ERR_MASK_Msk (0x1UL << CC_RNG_RNG_IMR_AUTOCORR_ERR_MASK_Pos) /*!< Bit mask of AUTOCORR_ERR_MASK field. */ 1800 #define CC_RNG_RNG_IMR_AUTOCORR_ERR_MASK_IRQEnable (0x0UL) /*!< Do not mask autocorrelation interrupt i.e. interrupt is generated */ 1801 #define CC_RNG_RNG_IMR_AUTOCORR_ERR_MASK_IRQDisable (0x1UL) /*!< Mask autocorrelation interrupt i.e. no interrupt is generated */ 1802 1803 /* Bit 0 : See RNG_ISR for explanation on this interrupt. */ 1804 #define CC_RNG_RNG_IMR_EHR_VALID_MASK_Pos (0UL) /*!< Position of EHR_VALID_MASK field. */ 1805 #define CC_RNG_RNG_IMR_EHR_VALID_MASK_Msk (0x1UL << CC_RNG_RNG_IMR_EHR_VALID_MASK_Pos) /*!< Bit mask of EHR_VALID_MASK field. */ 1806 #define CC_RNG_RNG_IMR_EHR_VALID_MASK_IRQEnable (0x0UL) /*!< Do not mask EHR interrupt i.e. interrupt is generated */ 1807 #define CC_RNG_RNG_IMR_EHR_VALID_MASK_IRQDisable (0x1UL) /*!< Mask EHR interrupt i.e. no interrupt is generated */ 1808 1809 /* Register: CC_RNG_RNG_ISR */ 1810 /* Description: Interrupt status register. Each bit of this register holds the interrupt 1811 status of a single interrupt source. If corresponding RNG_IMR bit is 1812 unmasked, an interrupt is generated. */ 1813 1814 /* Bit 5 : RNG DMA to SRAM is completed. */ 1815 #define CC_RNG_RNG_ISR_DMA_DONE_INT_Pos (5UL) /*!< Position of DMA_DONE_INT field. */ 1816 #define CC_RNG_RNG_ISR_DMA_DONE_INT_Msk (0x1UL << CC_RNG_RNG_ISR_DMA_DONE_INT_Pos) /*!< Bit mask of DMA_DONE_INT field. */ 1817 1818 /* Bit 4 : Maximum number of CPU clock cycles per sample have been exceeded. See RNG_WATCHDOG_VAL for more information. */ 1819 #define CC_RNG_RNG_ISR_WATCHDOG_INT_Pos (4UL) /*!< Position of WATCHDOG_INT field. */ 1820 #define CC_RNG_RNG_ISR_WATCHDOG_INT_Msk (0x1UL << CC_RNG_RNG_ISR_WATCHDOG_INT_Pos) /*!< Bit mask of WATCHDOG_INT field. */ 1821 1822 /* Bit 3 : von Neumann corrector error. Failure occurs if 32 consecutive collected bits are identical, ZERO, or ONE. */ 1823 #define CC_RNG_RNG_ISR_VNC_ERR_INT_Pos (3UL) /*!< Position of VNC_ERR_INT field. */ 1824 #define CC_RNG_RNG_ISR_VNC_ERR_INT_Msk (0x1UL << CC_RNG_RNG_ISR_VNC_ERR_INT_Pos) /*!< Bit mask of VNC_ERR_INT field. */ 1825 1826 /* Bit 2 : Continuous random number generator test error. Failure occurs when two consecutive blocks of 16 collected bits are equal. */ 1827 #define CC_RNG_RNG_ISR_CRNGT_ERR_INT_Pos (2UL) /*!< Position of CRNGT_ERR_INT field. */ 1828 #define CC_RNG_RNG_ISR_CRNGT_ERR_INT_Msk (0x1UL << CC_RNG_RNG_ISR_CRNGT_ERR_INT_Pos) /*!< Bit mask of CRNGT_ERR_INT field. */ 1829 1830 /* Bit 1 : Autocorrelation error. Failure occurs when autocorrelation test has failed four times in a row. Once set, the TRNG ceases to function until next reset. */ 1831 #define CC_RNG_RNG_ISR_AUTOCORR_ERR_INT_Pos (1UL) /*!< Position of AUTOCORR_ERR_INT field. */ 1832 #define CC_RNG_RNG_ISR_AUTOCORR_ERR_INT_Msk (0x1UL << CC_RNG_RNG_ISR_AUTOCORR_ERR_INT_Pos) /*!< Bit mask of AUTOCORR_ERR_INT field. */ 1833 1834 /* Bit 0 : 192-bits have been collected and are ready to be read. */ 1835 #define CC_RNG_RNG_ISR_EHR_VALID_INT_Pos (0UL) /*!< Position of EHR_VALID_INT field. */ 1836 #define CC_RNG_RNG_ISR_EHR_VALID_INT_Msk (0x1UL << CC_RNG_RNG_ISR_EHR_VALID_INT_Pos) /*!< Bit mask of EHR_VALID_INT field. */ 1837 1838 /* Register: CC_RNG_RNG_ICR */ 1839 /* Description: Interrupt clear register. Writing a 1 bit into a field in this register 1840 will clear the corresponding bit in RNG_ISR. */ 1841 1842 /* Bit 5 : Writing value '1' clears corresponding bit in RNG_ISR */ 1843 #define CC_RNG_RNG_ICR_DMA_DONE_CLEAR_Pos (5UL) /*!< Position of DMA_DONE_CLEAR field. */ 1844 #define CC_RNG_RNG_ICR_DMA_DONE_CLEAR_Msk (0x1UL << CC_RNG_RNG_ICR_DMA_DONE_CLEAR_Pos) /*!< Bit mask of DMA_DONE_CLEAR field. */ 1845 1846 /* Bit 4 : Writing value '1' clears corresponding bit in RNG_ISR */ 1847 #define CC_RNG_RNG_ICR_WATCHDOG_CLEAR_Pos (4UL) /*!< Position of WATCHDOG_CLEAR field. */ 1848 #define CC_RNG_RNG_ICR_WATCHDOG_CLEAR_Msk (0x1UL << CC_RNG_RNG_ICR_WATCHDOG_CLEAR_Pos) /*!< Bit mask of WATCHDOG_CLEAR field. */ 1849 1850 /* Bit 3 : Writing value '1' clears corresponding bit in RNG_ISR */ 1851 #define CC_RNG_RNG_ICR_VNC_ERR_CLEAR_Pos (3UL) /*!< Position of VNC_ERR_CLEAR field. */ 1852 #define CC_RNG_RNG_ICR_VNC_ERR_CLEAR_Msk (0x1UL << CC_RNG_RNG_ICR_VNC_ERR_CLEAR_Pos) /*!< Bit mask of VNC_ERR_CLEAR field. */ 1853 1854 /* Bit 2 : Writing value '1' clears corresponding bit in RNG_ISR */ 1855 #define CC_RNG_RNG_ICR_CRNGT_ERR_CLEAR_Pos (2UL) /*!< Position of CRNGT_ERR_CLEAR field. */ 1856 #define CC_RNG_RNG_ICR_CRNGT_ERR_CLEAR_Msk (0x1UL << CC_RNG_RNG_ICR_CRNGT_ERR_CLEAR_Pos) /*!< Bit mask of CRNGT_ERR_CLEAR field. */ 1857 1858 /* Bit 1 : Cannot be cleared by software! Only RNG reset clears this bit. */ 1859 #define CC_RNG_RNG_ICR_AUTOCORR_ERR_CLEAR_Pos (1UL) /*!< Position of AUTOCORR_ERR_CLEAR field. */ 1860 #define CC_RNG_RNG_ICR_AUTOCORR_ERR_CLEAR_Msk (0x1UL << CC_RNG_RNG_ICR_AUTOCORR_ERR_CLEAR_Pos) /*!< Bit mask of AUTOCORR_ERR_CLEAR field. */ 1861 1862 /* Bit 0 : Writing value '1' clears corresponding bit in RNG_ISR */ 1863 #define CC_RNG_RNG_ICR_EHR_VALID_CLEAR_Pos (0UL) /*!< Position of EHR_VALID_CLEAR field. */ 1864 #define CC_RNG_RNG_ICR_EHR_VALID_CLEAR_Msk (0x1UL << CC_RNG_RNG_ICR_EHR_VALID_CLEAR_Pos) /*!< Bit mask of EHR_VALID_CLEAR field. */ 1865 1866 /* Register: CC_RNG_TRNG_CONFIG */ 1867 /* Description: TRNG ring oscillator length configuration */ 1868 1869 /* Bits 1..0 : Set the length of the oscillator ring (= the number of inverters) out of four possible configurations. */ 1870 #define CC_RNG_TRNG_CONFIG_ROSC_LEN_Pos (0UL) /*!< Position of ROSC_LEN field. */ 1871 #define CC_RNG_TRNG_CONFIG_ROSC_LEN_Msk (0x3UL << CC_RNG_TRNG_CONFIG_ROSC_LEN_Pos) /*!< Bit mask of ROSC_LEN field. */ 1872 #define CC_RNG_TRNG_CONFIG_ROSC_LEN_ROSC1 (0x0UL) /*!< Use shortest ROSC1 ring oscillator configuration. */ 1873 #define CC_RNG_TRNG_CONFIG_ROSC_LEN_ROSC2 (0x1UL) /*!< Use ROSC2 ring oscillator configuration. */ 1874 #define CC_RNG_TRNG_CONFIG_ROSC_LEN_ROSC3 (0x2UL) /*!< Use ROSC3 ring oscillator configuration. */ 1875 #define CC_RNG_TRNG_CONFIG_ROSC_LEN_ROSC4 (0x3UL) /*!< Use longest ROSC4 ring oscillator configuration. */ 1876 1877 /* Register: CC_RNG_TRNG_VALID */ 1878 /* Description: This register indicates if TRNG entropy collection is valid. */ 1879 1880 /* Bit 0 : A value of 1 indicates that collection of bits in the TRNG is completed, and data can be read from EHR_DATA registers. */ 1881 #define CC_RNG_TRNG_VALID_EHR_DATA_Pos (0UL) /*!< Position of EHR_DATA field. */ 1882 #define CC_RNG_TRNG_VALID_EHR_DATA_Msk (0x1UL << CC_RNG_TRNG_VALID_EHR_DATA_Pos) /*!< Bit mask of EHR_DATA field. */ 1883 #define CC_RNG_TRNG_VALID_EHR_DATA_NotValid (0x0UL) /*!< Collection of bits not valid. */ 1884 #define CC_RNG_TRNG_VALID_EHR_DATA_Valid (0x1UL) /*!< Collection of bits valid. */ 1885 1886 /* Register: CC_RNG_EHR_DATA */ 1887 /* Description: Description collection: The entropy holding registers (EHR) hold 192-bits random data collected by the TRNG. The initial EHR_DATA[0] register holds the least significant bits [31:0] of the random data value. */ 1888 1889 /* Bits 31..0 : Random data value. */ 1890 #define CC_RNG_EHR_DATA_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 1891 #define CC_RNG_EHR_DATA_VALUE_Msk (0xFFFFFFFFUL << CC_RNG_EHR_DATA_VALUE_Pos) /*!< Bit mask of VALUE field. */ 1892 1893 /* Register: CC_RNG_NOISE_SOURCE */ 1894 /* Description: This register controls the ring oscillator circuit used as a noise source. */ 1895 1896 /* Bit 0 : Enable or disable the noise source. */ 1897 #define CC_RNG_NOISE_SOURCE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 1898 #define CC_RNG_NOISE_SOURCE_ENABLE_Msk (0x1UL << CC_RNG_NOISE_SOURCE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 1899 #define CC_RNG_NOISE_SOURCE_ENABLE_Disabled (0x0UL) /*!< Noise source is disabled */ 1900 #define CC_RNG_NOISE_SOURCE_ENABLE_Enabled (0x1UL) /*!< Noise source is enabled */ 1901 1902 /* Register: CC_RNG_SAMPLE_CNT */ 1903 /* Description: Sample count defining the number of CPU clock cycles between two consecutive noise source samples. */ 1904 1905 /* Bits 31..0 : Number of CPU clock cycles between two consecutive noise source samples. */ 1906 #define CC_RNG_SAMPLE_CNT_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 1907 #define CC_RNG_SAMPLE_CNT_VALUE_Msk (0xFFFFFFFFUL << CC_RNG_SAMPLE_CNT_VALUE_Pos) /*!< Bit mask of VALUE field. */ 1908 1909 /* Register: CC_RNG_AUTOCORR_STATISTIC */ 1910 /* Description: Statistics counter for autocorrelation test activations. Statistics collection is stopped if one of the counters reach its limit of all ones. */ 1911 1912 /* Bits 21..14 : Count each time an autocorrelation test fails. Any write to the field resets the counter. */ 1913 #define CC_RNG_AUTOCORR_STATISTIC_AUTOCORR_FAILS_Pos (14UL) /*!< Position of AUTOCORR_FAILS field. */ 1914 #define CC_RNG_AUTOCORR_STATISTIC_AUTOCORR_FAILS_Msk (0xFFUL << CC_RNG_AUTOCORR_STATISTIC_AUTOCORR_FAILS_Pos) /*!< Bit mask of AUTOCORR_FAILS field. */ 1915 1916 /* Bits 13..0 : Count each time an autocorrelation test starts. Any write to the field resets the counter. */ 1917 #define CC_RNG_AUTOCORR_STATISTIC_AUTOCORR_TRYS_Pos (0UL) /*!< Position of AUTOCORR_TRYS field. */ 1918 #define CC_RNG_AUTOCORR_STATISTIC_AUTOCORR_TRYS_Msk (0x3FFFUL << CC_RNG_AUTOCORR_STATISTIC_AUTOCORR_TRYS_Pos) /*!< Bit mask of AUTOCORR_TRYS field. */ 1919 1920 /* Register: CC_RNG_TRNG_DEBUG */ 1921 /* Description: Debug register for the TRNG. This register is used to bypass TRNG tests in hardware. */ 1922 1923 /* Bit 3 : Bypass the autocorrelation test. */ 1924 #define CC_RNG_TRNG_DEBUG_AUTOCORR_BYPASS_Pos (3UL) /*!< Position of AUTOCORR_BYPASS field. */ 1925 #define CC_RNG_TRNG_DEBUG_AUTOCORR_BYPASS_Msk (0x1UL << CC_RNG_TRNG_DEBUG_AUTOCORR_BYPASS_Pos) /*!< Bit mask of AUTOCORR_BYPASS field. */ 1926 #define CC_RNG_TRNG_DEBUG_AUTOCORR_BYPASS_Disabled (0x0UL) /*!< Autocorrelation test is active */ 1927 #define CC_RNG_TRNG_DEBUG_AUTOCORR_BYPASS_Enabled (0x1UL) /*!< Bypass the autocorrelation test */ 1928 1929 /* Bit 2 : Bypass the Continuous Random Number Generator Test (CRNGT). */ 1930 #define CC_RNG_TRNG_DEBUG_CRNGT_BYPASS_Pos (2UL) /*!< Position of CRNGT_BYPASS field. */ 1931 #define CC_RNG_TRNG_DEBUG_CRNGT_BYPASS_Msk (0x1UL << CC_RNG_TRNG_DEBUG_CRNGT_BYPASS_Pos) /*!< Bit mask of CRNGT_BYPASS field. */ 1932 #define CC_RNG_TRNG_DEBUG_CRNGT_BYPASS_Disabled (0x0UL) /*!< CRNGT is active */ 1933 #define CC_RNG_TRNG_DEBUG_CRNGT_BYPASS_Enabled (0x1UL) /*!< Bypass CRNGT */ 1934 1935 /* Bit 1 : Bypass the von Neumann corrector post-processing test, including the 32 consecutive bits test. */ 1936 #define CC_RNG_TRNG_DEBUG_VNC_BYPASS_Pos (1UL) /*!< Position of VNC_BYPASS field. */ 1937 #define CC_RNG_TRNG_DEBUG_VNC_BYPASS_Msk (0x1UL << CC_RNG_TRNG_DEBUG_VNC_BYPASS_Pos) /*!< Bit mask of VNC_BYPASS field. */ 1938 #define CC_RNG_TRNG_DEBUG_VNC_BYPASS_Disabled (0x0UL) /*!< von Neumann corrector post-processing is active */ 1939 #define CC_RNG_TRNG_DEBUG_VNC_BYPASS_Enabled (0x1UL) /*!< Bypass the von Neumann corrector */ 1940 1941 /* Register: CC_RNG_RNG_SW_RESET */ 1942 /* Description: Reset the RNG engine. */ 1943 1944 /* Bit 0 : Writing any value to this address resets the RNG engine. The reset takes 4 CPU clock cycles to complete. */ 1945 #define CC_RNG_RNG_SW_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 1946 #define CC_RNG_RNG_SW_RESET_RESET_Msk (0x1UL << CC_RNG_RNG_SW_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 1947 #define CC_RNG_RNG_SW_RESET_RESET_Enable (0x1UL) /*!< Reset RNG engine. */ 1948 1949 /* Register: CC_RNG_RNG_BUSY */ 1950 /* Description: Status register for RNG engine activity. */ 1951 1952 /* Bit 1 : TRNG status. */ 1953 #define CC_RNG_RNG_BUSY_TRNG_STATUS_Pos (1UL) /*!< Position of TRNG_STATUS field. */ 1954 #define CC_RNG_RNG_BUSY_TRNG_STATUS_Msk (0x1UL << CC_RNG_RNG_BUSY_TRNG_STATUS_Pos) /*!< Bit mask of TRNG_STATUS field. */ 1955 #define CC_RNG_RNG_BUSY_TRNG_STATUS_Idle (0x0UL) /*!< TRNG is idle */ 1956 #define CC_RNG_RNG_BUSY_TRNG_STATUS_Busy (0x1UL) /*!< TRNG is busy */ 1957 1958 /* Bit 0 : RNG engine status. */ 1959 #define CC_RNG_RNG_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 1960 #define CC_RNG_RNG_BUSY_STATUS_Msk (0x1UL << CC_RNG_RNG_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 1961 #define CC_RNG_RNG_BUSY_STATUS_Idle (0x0UL) /*!< RNG engine is idle */ 1962 #define CC_RNG_RNG_BUSY_STATUS_Busy (0x1UL) /*!< RNG engine is busy */ 1963 1964 /* Register: CC_RNG_TRNG_RESET */ 1965 /* Description: Reset the TRNG, including internal counter of collected bits and registers EHR_DATA and TRNG_VALID. */ 1966 1967 /* Bit 0 : Writing any value to this address resets the internal bits counter and registers EHR_DATA and TRNG_VALID. Register NOISE_SOURCE must be disabled in order for the reset to take place. */ 1968 #define CC_RNG_TRNG_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 1969 #define CC_RNG_TRNG_RESET_RESET_Msk (0x1UL << CC_RNG_TRNG_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 1970 #define CC_RNG_TRNG_RESET_RESET_Enable (0x1UL) /*!< Reset TRNG. */ 1971 1972 /* Register: CC_RNG_RNG_HW_FLAGS */ 1973 /* Description: Hardware configuration of RNG engine. Reset value holds the supported features. */ 1974 1975 /* Bit 7 : */ 1976 #define CC_RNG_RNG_HW_FLAGS_RNG_USE_5_SBOXES_Pos (7UL) /*!< Position of RNG_USE_5_SBOXES field. */ 1977 #define CC_RNG_RNG_HW_FLAGS_RNG_USE_5_SBOXES_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_RNG_USE_5_SBOXES_Pos) /*!< Bit mask of RNG_USE_5_SBOXES field. */ 1978 #define CC_RNG_RNG_HW_FLAGS_RNG_USE_5_SBOXES_Disable (0x0UL) /*!< 20 SBOX AES */ 1979 #define CC_RNG_RNG_HW_FLAGS_RNG_USE_5_SBOXES_Enable (0x1UL) /*!< 5 SBOX AES */ 1980 1981 /* Bit 6 : If this flag is set, the engine include support for automatic reseeding. */ 1982 #define CC_RNG_RNG_HW_FLAGS_RESEEDING_EXISTS_Pos (6UL) /*!< Position of RESEEDING_EXISTS field. */ 1983 #define CC_RNG_RNG_HW_FLAGS_RESEEDING_EXISTS_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_RESEEDING_EXISTS_Pos) /*!< Bit mask of RESEEDING_EXISTS field. */ 1984 1985 /* Bit 5 : If this flag is set, the engine include support for known answer tests. */ 1986 #define CC_RNG_RNG_HW_FLAGS_KAT_EXISTS_Pos (5UL) /*!< Position of KAT_EXISTS field. */ 1987 #define CC_RNG_RNG_HW_FLAGS_KAT_EXISTS_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_KAT_EXISTS_Pos) /*!< Bit mask of KAT_EXISTS field. */ 1988 1989 /* Bit 4 : If this flag is set, the engine include a pseudo-random number generator. */ 1990 #define CC_RNG_RNG_HW_FLAGS_PRNG_EXISTS_Pos (4UL) /*!< Position of PRNG_EXISTS field. */ 1991 #define CC_RNG_RNG_HW_FLAGS_PRNG_EXISTS_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_PRNG_EXISTS_Pos) /*!< Bit mask of PRNG_EXISTS field. */ 1992 1993 /* Bit 3 : If this flag is set, the engine include support for bypassing TRNG tests. */ 1994 #define CC_RNG_RNG_HW_FLAGS_BYPASS_EXISTS_Pos (3UL) /*!< Position of BYPASS_EXISTS field. */ 1995 #define CC_RNG_RNG_HW_FLAGS_BYPASS_EXISTS_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_BYPASS_EXISTS_Pos) /*!< Bit mask of BYPASS_EXISTS field. */ 1996 1997 /* Bit 2 : If this flag is set, the engine include support for autocorrelation test. */ 1998 #define CC_RNG_RNG_HW_FLAGS_AUTOCORR_EXISTS_Pos (2UL) /*!< Position of AUTOCORR_EXISTS field. */ 1999 #define CC_RNG_RNG_HW_FLAGS_AUTOCORR_EXISTS_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_AUTOCORR_EXISTS_Pos) /*!< Bit mask of AUTOCORR_EXISTS field. */ 2000 2001 /* Bit 1 : If this flag is set, the engine include support for continuous random number generator test. */ 2002 #define CC_RNG_RNG_HW_FLAGS_CRNGT_EXISTS_Pos (1UL) /*!< Position of CRNGT_EXISTS field. */ 2003 #define CC_RNG_RNG_HW_FLAGS_CRNGT_EXISTS_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_CRNGT_EXISTS_Pos) /*!< Bit mask of CRNGT_EXISTS field. */ 2004 2005 /* Bit 0 : Data width supported by the entropy collector */ 2006 #define CC_RNG_RNG_HW_FLAGS_EHR_WIDTH_Pos (0UL) /*!< Position of EHR_WIDTH field. */ 2007 #define CC_RNG_RNG_HW_FLAGS_EHR_WIDTH_Msk (0x1UL << CC_RNG_RNG_HW_FLAGS_EHR_WIDTH_Pos) /*!< Bit mask of EHR_WIDTH field. */ 2008 #define CC_RNG_RNG_HW_FLAGS_EHR_WIDTH_128Bits (0x0UL) /*!< 128 bits EHR width */ 2009 #define CC_RNG_RNG_HW_FLAGS_EHR_WIDTH_192Bits (0x1UL) /*!< 192 bits EHR width */ 2010 2011 /* Register: CC_RNG_RNG_CLK */ 2012 /* Description: Control clock for the RNG engine. */ 2013 2014 /* Bit 0 : Enables clock for the RNG engine. */ 2015 #define CC_RNG_RNG_CLK_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 2016 #define CC_RNG_RNG_CLK_ENABLE_Msk (0x1UL << CC_RNG_RNG_CLK_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 2017 #define CC_RNG_RNG_CLK_ENABLE_Disable (0x0UL) /*!< Disable clock for RNG engine. */ 2018 #define CC_RNG_RNG_CLK_ENABLE_Enable (0x1UL) /*!< Enable clock for RNG engine. */ 2019 2020 /* Register: CC_RNG_RNG_DMA */ 2021 /* Description: Writing to this register enables the RNG DMA engine. */ 2022 2023 /* Bit 0 : */ 2024 #define CC_RNG_RNG_DMA_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 2025 #define CC_RNG_RNG_DMA_ENABLE_Msk (0x1UL << CC_RNG_RNG_DMA_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 2026 #define CC_RNG_RNG_DMA_ENABLE_Disable (0x0UL) /*!< Disable RNG DMA engine */ 2027 #define CC_RNG_RNG_DMA_ENABLE_Enable (0x1UL) /*!< Enable RNG DMA engine This value is cleared when the RNG DMA engine completes its operation. */ 2028 2029 /* Register: CC_RNG_RNG_DMA_ROSC_LEN */ 2030 /* Description: This register defines which ring oscillator length configuration should be used when using the RNG DMA engine. */ 2031 2032 /* Bit 3 : Use longest ROSC4 ring oscillator configuration. */ 2033 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC4_Pos (3UL) /*!< Position of ROSC4 field. */ 2034 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC4_Msk (0x1UL << CC_RNG_RNG_DMA_ROSC_LEN_ROSC4_Pos) /*!< Bit mask of ROSC4 field. */ 2035 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC4_Disable (0x0UL) /*!< Disable ROSC4 */ 2036 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC4_Enable (0x1UL) /*!< Enable ROSC4 */ 2037 2038 /* Bit 2 : Use ROSC3 ring oscillator configuration. */ 2039 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC3_Pos (2UL) /*!< Position of ROSC3 field. */ 2040 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC3_Msk (0x1UL << CC_RNG_RNG_DMA_ROSC_LEN_ROSC3_Pos) /*!< Bit mask of ROSC3 field. */ 2041 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC3_Disable (0x0UL) /*!< Disable ROSC3 */ 2042 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC3_Enable (0x1UL) /*!< Enable ROSC3 */ 2043 2044 /* Bit 1 : Use ROSC2 ring oscillator configuration. */ 2045 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC2_Pos (1UL) /*!< Position of ROSC2 field. */ 2046 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC2_Msk (0x1UL << CC_RNG_RNG_DMA_ROSC_LEN_ROSC2_Pos) /*!< Bit mask of ROSC2 field. */ 2047 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC2_Disable (0x0UL) /*!< Disable ROSC2 */ 2048 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC2_Enable (0x1UL) /*!< Enable ROSC2 */ 2049 2050 /* Bit 0 : Use shortest ROSC1 ring oscillator configuration. */ 2051 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC1_Pos (0UL) /*!< Position of ROSC1 field. */ 2052 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC1_Msk (0x1UL << CC_RNG_RNG_DMA_ROSC_LEN_ROSC1_Pos) /*!< Bit mask of ROSC1 field. */ 2053 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC1_Disable (0x0UL) /*!< Disable ROSC1 */ 2054 #define CC_RNG_RNG_DMA_ROSC_LEN_ROSC1_Enable (0x1UL) /*!< Enable ROSC1 */ 2055 2056 /* Register: CC_RNG_RNG_DMA_SRAM_ADDR */ 2057 /* Description: This register defines the start address in TRNG SRAM for the TRNG data to be collected by the RNG DMA engine. */ 2058 2059 /* Bits 10..0 : Start address of the TRNG data in TRNG SRAM. */ 2060 #define CC_RNG_RNG_DMA_SRAM_ADDR_RNG_SRAM_DMA_ADDR_Pos (0UL) /*!< Position of RNG_SRAM_DMA_ADDR field. */ 2061 #define CC_RNG_RNG_DMA_SRAM_ADDR_RNG_SRAM_DMA_ADDR_Msk (0x7FFUL << CC_RNG_RNG_DMA_SRAM_ADDR_RNG_SRAM_DMA_ADDR_Pos) /*!< Bit mask of RNG_SRAM_DMA_ADDR field. */ 2062 2063 /* Register: CC_RNG_RNG_DMA_SAMPLES_NUM */ 2064 /* Description: This register defines the number of 192-bits samples that the RNG DMA engine collects per run. */ 2065 2066 /* Bits 7..0 : Defines the number of 192-bits samples that the DMA engine collects per run. */ 2067 #define CC_RNG_RNG_DMA_SAMPLES_NUM_RNG_SAMPLES_NUM_Pos (0UL) /*!< Position of RNG_SAMPLES_NUM field. */ 2068 #define CC_RNG_RNG_DMA_SAMPLES_NUM_RNG_SAMPLES_NUM_Msk (0xFFUL << CC_RNG_RNG_DMA_SAMPLES_NUM_RNG_SAMPLES_NUM_Pos) /*!< Bit mask of RNG_SAMPLES_NUM field. */ 2069 2070 /* Register: CC_RNG_RNG_WATCHDOG_VAL */ 2071 /* Description: This register defines the maximum number of CPU clock cycles per TRNG collection of 192-bits samples. If the number of cycles for a collection exceeds this threshold the WATCHDOG interrupt is triggered. */ 2072 2073 /* Bits 31..0 : Defines the maximum number of CPU clock cycles per TRNG collection of 192-bits samples. If the number of cycles for a collection exceeds this threshold the WATCHDOG interrupt is triggered. */ 2074 #define CC_RNG_RNG_WATCHDOG_VAL_RNG_WATCHDOG_VAL_Pos (0UL) /*!< Position of RNG_WATCHDOG_VAL field. */ 2075 #define CC_RNG_RNG_WATCHDOG_VAL_RNG_WATCHDOG_VAL_Msk (0xFFFFFFFFUL << CC_RNG_RNG_WATCHDOG_VAL_RNG_WATCHDOG_VAL_Pos) /*!< Bit mask of RNG_WATCHDOG_VAL field. */ 2076 2077 /* Register: CC_RNG_RNG_DMA_BUSY */ 2078 /* Description: Status register for RNG DMA engine activity. */ 2079 2080 /* Bits 10..3 : Number of samples already collected using the current ring oscillator configuration. */ 2081 #define CC_RNG_RNG_DMA_BUSY_NUM_OF_SAMPLES_Pos (3UL) /*!< Position of NUM_OF_SAMPLES field. */ 2082 #define CC_RNG_RNG_DMA_BUSY_NUM_OF_SAMPLES_Msk (0xFFUL << CC_RNG_RNG_DMA_BUSY_NUM_OF_SAMPLES_Pos) /*!< Bit mask of NUM_OF_SAMPLES field. */ 2083 2084 /* Bits 2..1 : The active ring oscillator length configuration used by the RNG DMA engine. */ 2085 #define CC_RNG_RNG_DMA_BUSY_ROSC_LEN_Pos (1UL) /*!< Position of ROSC_LEN field. */ 2086 #define CC_RNG_RNG_DMA_BUSY_ROSC_LEN_Msk (0x3UL << CC_RNG_RNG_DMA_BUSY_ROSC_LEN_Pos) /*!< Bit mask of ROSC_LEN field. */ 2087 #define CC_RNG_RNG_DMA_BUSY_ROSC_LEN_ROSC1 (0x0UL) /*!< Shortest ROSC1 ring oscillator configuration used. */ 2088 #define CC_RNG_RNG_DMA_BUSY_ROSC_LEN_ROSC2 (0x1UL) /*!< ROSC2 ring oscillator configuration used. */ 2089 #define CC_RNG_RNG_DMA_BUSY_ROSC_LEN_ROSC3 (0x2UL) /*!< ROSC3 ring oscillator configuration used. */ 2090 #define CC_RNG_RNG_DMA_BUSY_ROSC_LEN_ROSC4 (0x3UL) /*!< Longest ROSC4 ring oscillator configuration used. */ 2091 2092 /* Bit 0 : RNG DMA engine status. */ 2093 #define CC_RNG_RNG_DMA_BUSY_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 2094 #define CC_RNG_RNG_DMA_BUSY_STATUS_Msk (0x1UL << CC_RNG_RNG_DMA_BUSY_STATUS_Pos) /*!< Bit mask of STATUS field. */ 2095 #define CC_RNG_RNG_DMA_BUSY_STATUS_Idle (0x0UL) /*!< RNG DMA engine is idle */ 2096 #define CC_RNG_RNG_DMA_BUSY_STATUS_Busy (0x1UL) /*!< RNG DMA engine is busy */ 2097 2098 2099 /* Peripheral: CC_RNG_SRAM */ 2100 /* Description: CRYPTOCELL RNG SRAM interface */ 2101 2102 /* Register: CC_RNG_SRAM_SRAM_DATA */ 2103 /* Description: Read/Write data from RNG SRAM */ 2104 2105 /* Bits 31..0 : 32 bits DMA read/write from/to RNG SRAM. A 'read' or 'write' operation to this register will trigger the DMA address to be automatically incremented. */ 2106 #define CC_RNG_SRAM_SRAM_DATA_SRAM_DATA_Pos (0UL) /*!< Position of SRAM_DATA field. */ 2107 #define CC_RNG_SRAM_SRAM_DATA_SRAM_DATA_Msk (0xFFFFFFFFUL << CC_RNG_SRAM_SRAM_DATA_SRAM_DATA_Pos) /*!< Bit mask of SRAM_DATA field. */ 2108 2109 /* Register: CC_RNG_SRAM_SRAM_ADDR */ 2110 /* Description: First address given to RNG SRAM DMA for read/write transactions from/to RNG SRAM. */ 2111 2112 /* Bits 14..0 : RNG SRAM starting address */ 2113 #define CC_RNG_SRAM_SRAM_ADDR_SRAM_ADDR_Pos (0UL) /*!< Position of SRAM_ADDR field. */ 2114 #define CC_RNG_SRAM_SRAM_ADDR_SRAM_ADDR_Msk (0x7FFFUL << CC_RNG_SRAM_SRAM_ADDR_SRAM_ADDR_Pos) /*!< Bit mask of SRAM_ADDR field. */ 2115 2116 /* Register: CC_RNG_SRAM_SRAM_DATA_READY */ 2117 /* Description: RNG SRAM DMA engine is ready to read/write from/to RNG SRAM. */ 2118 2119 /* Bit 0 : RNG SRAM DMA status. */ 2120 #define CC_RNG_SRAM_SRAM_DATA_READY_SRAM_READY_Pos (0UL) /*!< Position of SRAM_READY field. */ 2121 #define CC_RNG_SRAM_SRAM_DATA_READY_SRAM_READY_Msk (0x1UL << CC_RNG_SRAM_SRAM_DATA_READY_SRAM_READY_Pos) /*!< Bit mask of SRAM_READY field. */ 2122 #define CC_RNG_SRAM_SRAM_DATA_READY_SRAM_READY_Busy (0x0UL) /*!< DMA is busy */ 2123 #define CC_RNG_SRAM_SRAM_DATA_READY_SRAM_READY_Idle (0x1UL) /*!< DMA is idle */ 2124 2125 2126 /* Peripheral: CLOCK */ 2127 /* Description: Clock management 0 */ 2128 2129 /* Register: CLOCK_TASKS_HFCLKSTART */ 2130 /* Description: Start HFCLK128M/HFCLK64M source as selected in HFCLKSRC */ 2131 2132 /* Bit 0 : Start HFCLK128M/HFCLK64M source as selected in HFCLKSRC */ 2133 #define CLOCK_TASKS_HFCLKSTART_TASKS_HFCLKSTART_Pos (0UL) /*!< Position of TASKS_HFCLKSTART field. */ 2134 #define CLOCK_TASKS_HFCLKSTART_TASKS_HFCLKSTART_Msk (0x1UL << CLOCK_TASKS_HFCLKSTART_TASKS_HFCLKSTART_Pos) /*!< Bit mask of TASKS_HFCLKSTART field. */ 2135 #define CLOCK_TASKS_HFCLKSTART_TASKS_HFCLKSTART_Trigger (0x1UL) /*!< Trigger task */ 2136 2137 /* Register: CLOCK_TASKS_HFCLKSTOP */ 2138 /* Description: Stop HFCLK128M/HFCLK64M source */ 2139 2140 /* Bit 0 : Stop HFCLK128M/HFCLK64M source */ 2141 #define CLOCK_TASKS_HFCLKSTOP_TASKS_HFCLKSTOP_Pos (0UL) /*!< Position of TASKS_HFCLKSTOP field. */ 2142 #define CLOCK_TASKS_HFCLKSTOP_TASKS_HFCLKSTOP_Msk (0x1UL << CLOCK_TASKS_HFCLKSTOP_TASKS_HFCLKSTOP_Pos) /*!< Bit mask of TASKS_HFCLKSTOP field. */ 2143 #define CLOCK_TASKS_HFCLKSTOP_TASKS_HFCLKSTOP_Trigger (0x1UL) /*!< Trigger task */ 2144 2145 /* Register: CLOCK_TASKS_LFCLKSTART */ 2146 /* Description: Start LFCLK source as selected in LFCLKSRC */ 2147 2148 /* Bit 0 : Start LFCLK source as selected in LFCLKSRC */ 2149 #define CLOCK_TASKS_LFCLKSTART_TASKS_LFCLKSTART_Pos (0UL) /*!< Position of TASKS_LFCLKSTART field. */ 2150 #define CLOCK_TASKS_LFCLKSTART_TASKS_LFCLKSTART_Msk (0x1UL << CLOCK_TASKS_LFCLKSTART_TASKS_LFCLKSTART_Pos) /*!< Bit mask of TASKS_LFCLKSTART field. */ 2151 #define CLOCK_TASKS_LFCLKSTART_TASKS_LFCLKSTART_Trigger (0x1UL) /*!< Trigger task */ 2152 2153 /* Register: CLOCK_TASKS_LFCLKSTOP */ 2154 /* Description: Stop LFCLK source */ 2155 2156 /* Bit 0 : Stop LFCLK source */ 2157 #define CLOCK_TASKS_LFCLKSTOP_TASKS_LFCLKSTOP_Pos (0UL) /*!< Position of TASKS_LFCLKSTOP field. */ 2158 #define CLOCK_TASKS_LFCLKSTOP_TASKS_LFCLKSTOP_Msk (0x1UL << CLOCK_TASKS_LFCLKSTOP_TASKS_LFCLKSTOP_Pos) /*!< Bit mask of TASKS_LFCLKSTOP field. */ 2159 #define CLOCK_TASKS_LFCLKSTOP_TASKS_LFCLKSTOP_Trigger (0x1UL) /*!< Trigger task */ 2160 2161 /* Register: CLOCK_TASKS_CAL */ 2162 /* Description: Start calibration of LFRC oscillator */ 2163 2164 /* Bit 0 : Start calibration of LFRC oscillator */ 2165 #define CLOCK_TASKS_CAL_TASKS_CAL_Pos (0UL) /*!< Position of TASKS_CAL field. */ 2166 #define CLOCK_TASKS_CAL_TASKS_CAL_Msk (0x1UL << CLOCK_TASKS_CAL_TASKS_CAL_Pos) /*!< Bit mask of TASKS_CAL field. */ 2167 #define CLOCK_TASKS_CAL_TASKS_CAL_Trigger (0x1UL) /*!< Trigger task */ 2168 2169 /* Register: CLOCK_TASKS_HFCLKAUDIOSTART */ 2170 /* Description: Start HFCLKAUDIO source */ 2171 2172 /* Bit 0 : Start HFCLKAUDIO source */ 2173 #define CLOCK_TASKS_HFCLKAUDIOSTART_TASKS_HFCLKAUDIOSTART_Pos (0UL) /*!< Position of TASKS_HFCLKAUDIOSTART field. */ 2174 #define CLOCK_TASKS_HFCLKAUDIOSTART_TASKS_HFCLKAUDIOSTART_Msk (0x1UL << CLOCK_TASKS_HFCLKAUDIOSTART_TASKS_HFCLKAUDIOSTART_Pos) /*!< Bit mask of TASKS_HFCLKAUDIOSTART field. */ 2175 #define CLOCK_TASKS_HFCLKAUDIOSTART_TASKS_HFCLKAUDIOSTART_Trigger (0x1UL) /*!< Trigger task */ 2176 2177 /* Register: CLOCK_TASKS_HFCLKAUDIOSTOP */ 2178 /* Description: Stop HFCLKAUDIO source */ 2179 2180 /* Bit 0 : Stop HFCLKAUDIO source */ 2181 #define CLOCK_TASKS_HFCLKAUDIOSTOP_TASKS_HFCLKAUDIOSTOP_Pos (0UL) /*!< Position of TASKS_HFCLKAUDIOSTOP field. */ 2182 #define CLOCK_TASKS_HFCLKAUDIOSTOP_TASKS_HFCLKAUDIOSTOP_Msk (0x1UL << CLOCK_TASKS_HFCLKAUDIOSTOP_TASKS_HFCLKAUDIOSTOP_Pos) /*!< Bit mask of TASKS_HFCLKAUDIOSTOP field. */ 2183 #define CLOCK_TASKS_HFCLKAUDIOSTOP_TASKS_HFCLKAUDIOSTOP_Trigger (0x1UL) /*!< Trigger task */ 2184 2185 /* Register: CLOCK_TASKS_HFCLK192MSTART */ 2186 /* Description: Start HFCLK192M source as selected in HFCLK192MSRC */ 2187 2188 /* Bit 0 : Start HFCLK192M source as selected in HFCLK192MSRC */ 2189 #define CLOCK_TASKS_HFCLK192MSTART_TASKS_HFCLK192MSTART_Pos (0UL) /*!< Position of TASKS_HFCLK192MSTART field. */ 2190 #define CLOCK_TASKS_HFCLK192MSTART_TASKS_HFCLK192MSTART_Msk (0x1UL << CLOCK_TASKS_HFCLK192MSTART_TASKS_HFCLK192MSTART_Pos) /*!< Bit mask of TASKS_HFCLK192MSTART field. */ 2191 #define CLOCK_TASKS_HFCLK192MSTART_TASKS_HFCLK192MSTART_Trigger (0x1UL) /*!< Trigger task */ 2192 2193 /* Register: CLOCK_TASKS_HFCLK192MSTOP */ 2194 /* Description: Stop HFCLK192M source */ 2195 2196 /* Bit 0 : Stop HFCLK192M source */ 2197 #define CLOCK_TASKS_HFCLK192MSTOP_TASKS_HFCLK192MSTOP_Pos (0UL) /*!< Position of TASKS_HFCLK192MSTOP field. */ 2198 #define CLOCK_TASKS_HFCLK192MSTOP_TASKS_HFCLK192MSTOP_Msk (0x1UL << CLOCK_TASKS_HFCLK192MSTOP_TASKS_HFCLK192MSTOP_Pos) /*!< Bit mask of TASKS_HFCLK192MSTOP field. */ 2199 #define CLOCK_TASKS_HFCLK192MSTOP_TASKS_HFCLK192MSTOP_Trigger (0x1UL) /*!< Trigger task */ 2200 2201 /* Register: CLOCK_SUBSCRIBE_HFCLKSTART */ 2202 /* Description: Subscribe configuration for task HFCLKSTART */ 2203 2204 /* Bit 31 : */ 2205 #define CLOCK_SUBSCRIBE_HFCLKSTART_EN_Pos (31UL) /*!< Position of EN field. */ 2206 #define CLOCK_SUBSCRIBE_HFCLKSTART_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_HFCLKSTART_EN_Pos) /*!< Bit mask of EN field. */ 2207 #define CLOCK_SUBSCRIBE_HFCLKSTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 2208 #define CLOCK_SUBSCRIBE_HFCLKSTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 2209 2210 /* Bits 7..0 : DPPI channel that task HFCLKSTART will subscribe to */ 2211 #define CLOCK_SUBSCRIBE_HFCLKSTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2212 #define CLOCK_SUBSCRIBE_HFCLKSTART_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_HFCLKSTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2213 2214 /* Register: CLOCK_SUBSCRIBE_HFCLKSTOP */ 2215 /* Description: Subscribe configuration for task HFCLKSTOP */ 2216 2217 /* Bit 31 : */ 2218 #define CLOCK_SUBSCRIBE_HFCLKSTOP_EN_Pos (31UL) /*!< Position of EN field. */ 2219 #define CLOCK_SUBSCRIBE_HFCLKSTOP_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_HFCLKSTOP_EN_Pos) /*!< Bit mask of EN field. */ 2220 #define CLOCK_SUBSCRIBE_HFCLKSTOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 2221 #define CLOCK_SUBSCRIBE_HFCLKSTOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 2222 2223 /* Bits 7..0 : DPPI channel that task HFCLKSTOP will subscribe to */ 2224 #define CLOCK_SUBSCRIBE_HFCLKSTOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2225 #define CLOCK_SUBSCRIBE_HFCLKSTOP_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_HFCLKSTOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2226 2227 /* Register: CLOCK_SUBSCRIBE_LFCLKSTART */ 2228 /* Description: Subscribe configuration for task LFCLKSTART */ 2229 2230 /* Bit 31 : */ 2231 #define CLOCK_SUBSCRIBE_LFCLKSTART_EN_Pos (31UL) /*!< Position of EN field. */ 2232 #define CLOCK_SUBSCRIBE_LFCLKSTART_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_LFCLKSTART_EN_Pos) /*!< Bit mask of EN field. */ 2233 #define CLOCK_SUBSCRIBE_LFCLKSTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 2234 #define CLOCK_SUBSCRIBE_LFCLKSTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 2235 2236 /* Bits 7..0 : DPPI channel that task LFCLKSTART will subscribe to */ 2237 #define CLOCK_SUBSCRIBE_LFCLKSTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2238 #define CLOCK_SUBSCRIBE_LFCLKSTART_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_LFCLKSTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2239 2240 /* Register: CLOCK_SUBSCRIBE_LFCLKSTOP */ 2241 /* Description: Subscribe configuration for task LFCLKSTOP */ 2242 2243 /* Bit 31 : */ 2244 #define CLOCK_SUBSCRIBE_LFCLKSTOP_EN_Pos (31UL) /*!< Position of EN field. */ 2245 #define CLOCK_SUBSCRIBE_LFCLKSTOP_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_LFCLKSTOP_EN_Pos) /*!< Bit mask of EN field. */ 2246 #define CLOCK_SUBSCRIBE_LFCLKSTOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 2247 #define CLOCK_SUBSCRIBE_LFCLKSTOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 2248 2249 /* Bits 7..0 : DPPI channel that task LFCLKSTOP will subscribe to */ 2250 #define CLOCK_SUBSCRIBE_LFCLKSTOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2251 #define CLOCK_SUBSCRIBE_LFCLKSTOP_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_LFCLKSTOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2252 2253 /* Register: CLOCK_SUBSCRIBE_CAL */ 2254 /* Description: Subscribe configuration for task CAL */ 2255 2256 /* Bit 31 : */ 2257 #define CLOCK_SUBSCRIBE_CAL_EN_Pos (31UL) /*!< Position of EN field. */ 2258 #define CLOCK_SUBSCRIBE_CAL_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_CAL_EN_Pos) /*!< Bit mask of EN field. */ 2259 #define CLOCK_SUBSCRIBE_CAL_EN_Disabled (0x0UL) /*!< Disable subscription */ 2260 #define CLOCK_SUBSCRIBE_CAL_EN_Enabled (0x1UL) /*!< Enable subscription */ 2261 2262 /* Bits 7..0 : DPPI channel that task CAL will subscribe to */ 2263 #define CLOCK_SUBSCRIBE_CAL_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2264 #define CLOCK_SUBSCRIBE_CAL_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_CAL_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2265 2266 /* Register: CLOCK_SUBSCRIBE_HFCLKAUDIOSTART */ 2267 /* Description: Subscribe configuration for task HFCLKAUDIOSTART */ 2268 2269 /* Bit 31 : */ 2270 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_EN_Pos (31UL) /*!< Position of EN field. */ 2271 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_EN_Pos) /*!< Bit mask of EN field. */ 2272 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 2273 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 2274 2275 /* Bits 7..0 : DPPI channel that task HFCLKAUDIOSTART will subscribe to */ 2276 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2277 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_HFCLKAUDIOSTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2278 2279 /* Register: CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP */ 2280 /* Description: Subscribe configuration for task HFCLKAUDIOSTOP */ 2281 2282 /* Bit 31 : */ 2283 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_EN_Pos (31UL) /*!< Position of EN field. */ 2284 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_EN_Pos) /*!< Bit mask of EN field. */ 2285 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 2286 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 2287 2288 /* Bits 7..0 : DPPI channel that task HFCLKAUDIOSTOP will subscribe to */ 2289 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2290 #define CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_HFCLKAUDIOSTOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2291 2292 /* Register: CLOCK_SUBSCRIBE_HFCLK192MSTART */ 2293 /* Description: Subscribe configuration for task HFCLK192MSTART */ 2294 2295 /* Bit 31 : */ 2296 #define CLOCK_SUBSCRIBE_HFCLK192MSTART_EN_Pos (31UL) /*!< Position of EN field. */ 2297 #define CLOCK_SUBSCRIBE_HFCLK192MSTART_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_HFCLK192MSTART_EN_Pos) /*!< Bit mask of EN field. */ 2298 #define CLOCK_SUBSCRIBE_HFCLK192MSTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 2299 #define CLOCK_SUBSCRIBE_HFCLK192MSTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 2300 2301 /* Bits 7..0 : DPPI channel that task HFCLK192MSTART will subscribe to */ 2302 #define CLOCK_SUBSCRIBE_HFCLK192MSTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2303 #define CLOCK_SUBSCRIBE_HFCLK192MSTART_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_HFCLK192MSTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2304 2305 /* Register: CLOCK_SUBSCRIBE_HFCLK192MSTOP */ 2306 /* Description: Subscribe configuration for task HFCLK192MSTOP */ 2307 2308 /* Bit 31 : */ 2309 #define CLOCK_SUBSCRIBE_HFCLK192MSTOP_EN_Pos (31UL) /*!< Position of EN field. */ 2310 #define CLOCK_SUBSCRIBE_HFCLK192MSTOP_EN_Msk (0x1UL << CLOCK_SUBSCRIBE_HFCLK192MSTOP_EN_Pos) /*!< Bit mask of EN field. */ 2311 #define CLOCK_SUBSCRIBE_HFCLK192MSTOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 2312 #define CLOCK_SUBSCRIBE_HFCLK192MSTOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 2313 2314 /* Bits 7..0 : DPPI channel that task HFCLK192MSTOP will subscribe to */ 2315 #define CLOCK_SUBSCRIBE_HFCLK192MSTOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2316 #define CLOCK_SUBSCRIBE_HFCLK192MSTOP_CHIDX_Msk (0xFFUL << CLOCK_SUBSCRIBE_HFCLK192MSTOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2317 2318 /* Register: CLOCK_EVENTS_HFCLKSTARTED */ 2319 /* Description: HFCLK128M/HFCLK64M source started */ 2320 2321 /* Bit 0 : HFCLK128M/HFCLK64M source started */ 2322 #define CLOCK_EVENTS_HFCLKSTARTED_EVENTS_HFCLKSTARTED_Pos (0UL) /*!< Position of EVENTS_HFCLKSTARTED field. */ 2323 #define CLOCK_EVENTS_HFCLKSTARTED_EVENTS_HFCLKSTARTED_Msk (0x1UL << CLOCK_EVENTS_HFCLKSTARTED_EVENTS_HFCLKSTARTED_Pos) /*!< Bit mask of EVENTS_HFCLKSTARTED field. */ 2324 #define CLOCK_EVENTS_HFCLKSTARTED_EVENTS_HFCLKSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 2325 #define CLOCK_EVENTS_HFCLKSTARTED_EVENTS_HFCLKSTARTED_Generated (0x1UL) /*!< Event generated */ 2326 2327 /* Register: CLOCK_EVENTS_LFCLKSTARTED */ 2328 /* Description: LFCLK source started */ 2329 2330 /* Bit 0 : LFCLK source started */ 2331 #define CLOCK_EVENTS_LFCLKSTARTED_EVENTS_LFCLKSTARTED_Pos (0UL) /*!< Position of EVENTS_LFCLKSTARTED field. */ 2332 #define CLOCK_EVENTS_LFCLKSTARTED_EVENTS_LFCLKSTARTED_Msk (0x1UL << CLOCK_EVENTS_LFCLKSTARTED_EVENTS_LFCLKSTARTED_Pos) /*!< Bit mask of EVENTS_LFCLKSTARTED field. */ 2333 #define CLOCK_EVENTS_LFCLKSTARTED_EVENTS_LFCLKSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 2334 #define CLOCK_EVENTS_LFCLKSTARTED_EVENTS_LFCLKSTARTED_Generated (0x1UL) /*!< Event generated */ 2335 2336 /* Register: CLOCK_EVENTS_DONE */ 2337 /* Description: Calibration of LFRC oscillator complete event */ 2338 2339 /* Bit 0 : Calibration of LFRC oscillator complete event */ 2340 #define CLOCK_EVENTS_DONE_EVENTS_DONE_Pos (0UL) /*!< Position of EVENTS_DONE field. */ 2341 #define CLOCK_EVENTS_DONE_EVENTS_DONE_Msk (0x1UL << CLOCK_EVENTS_DONE_EVENTS_DONE_Pos) /*!< Bit mask of EVENTS_DONE field. */ 2342 #define CLOCK_EVENTS_DONE_EVENTS_DONE_NotGenerated (0x0UL) /*!< Event not generated */ 2343 #define CLOCK_EVENTS_DONE_EVENTS_DONE_Generated (0x1UL) /*!< Event generated */ 2344 2345 /* Register: CLOCK_EVENTS_HFCLKAUDIOSTARTED */ 2346 /* Description: HFCLKAUDIO source started */ 2347 2348 /* Bit 0 : HFCLKAUDIO source started */ 2349 #define CLOCK_EVENTS_HFCLKAUDIOSTARTED_EVENTS_HFCLKAUDIOSTARTED_Pos (0UL) /*!< Position of EVENTS_HFCLKAUDIOSTARTED field. */ 2350 #define CLOCK_EVENTS_HFCLKAUDIOSTARTED_EVENTS_HFCLKAUDIOSTARTED_Msk (0x1UL << CLOCK_EVENTS_HFCLKAUDIOSTARTED_EVENTS_HFCLKAUDIOSTARTED_Pos) /*!< Bit mask of EVENTS_HFCLKAUDIOSTARTED field. */ 2351 #define CLOCK_EVENTS_HFCLKAUDIOSTARTED_EVENTS_HFCLKAUDIOSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 2352 #define CLOCK_EVENTS_HFCLKAUDIOSTARTED_EVENTS_HFCLKAUDIOSTARTED_Generated (0x1UL) /*!< Event generated */ 2353 2354 /* Register: CLOCK_EVENTS_HFCLK192MSTARTED */ 2355 /* Description: HFCLK192M source started */ 2356 2357 /* Bit 0 : HFCLK192M source started */ 2358 #define CLOCK_EVENTS_HFCLK192MSTARTED_EVENTS_HFCLK192MSTARTED_Pos (0UL) /*!< Position of EVENTS_HFCLK192MSTARTED field. */ 2359 #define CLOCK_EVENTS_HFCLK192MSTARTED_EVENTS_HFCLK192MSTARTED_Msk (0x1UL << CLOCK_EVENTS_HFCLK192MSTARTED_EVENTS_HFCLK192MSTARTED_Pos) /*!< Bit mask of EVENTS_HFCLK192MSTARTED field. */ 2360 #define CLOCK_EVENTS_HFCLK192MSTARTED_EVENTS_HFCLK192MSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 2361 #define CLOCK_EVENTS_HFCLK192MSTARTED_EVENTS_HFCLK192MSTARTED_Generated (0x1UL) /*!< Event generated */ 2362 2363 /* Register: CLOCK_PUBLISH_HFCLKSTARTED */ 2364 /* Description: Publish configuration for event HFCLKSTARTED */ 2365 2366 /* Bit 31 : */ 2367 #define CLOCK_PUBLISH_HFCLKSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 2368 #define CLOCK_PUBLISH_HFCLKSTARTED_EN_Msk (0x1UL << CLOCK_PUBLISH_HFCLKSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 2369 #define CLOCK_PUBLISH_HFCLKSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 2370 #define CLOCK_PUBLISH_HFCLKSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 2371 2372 /* Bits 7..0 : DPPI channel that event HFCLKSTARTED will publish to */ 2373 #define CLOCK_PUBLISH_HFCLKSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2374 #define CLOCK_PUBLISH_HFCLKSTARTED_CHIDX_Msk (0xFFUL << CLOCK_PUBLISH_HFCLKSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2375 2376 /* Register: CLOCK_PUBLISH_LFCLKSTARTED */ 2377 /* Description: Publish configuration for event LFCLKSTARTED */ 2378 2379 /* Bit 31 : */ 2380 #define CLOCK_PUBLISH_LFCLKSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 2381 #define CLOCK_PUBLISH_LFCLKSTARTED_EN_Msk (0x1UL << CLOCK_PUBLISH_LFCLKSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 2382 #define CLOCK_PUBLISH_LFCLKSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 2383 #define CLOCK_PUBLISH_LFCLKSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 2384 2385 /* Bits 7..0 : DPPI channel that event LFCLKSTARTED will publish to */ 2386 #define CLOCK_PUBLISH_LFCLKSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2387 #define CLOCK_PUBLISH_LFCLKSTARTED_CHIDX_Msk (0xFFUL << CLOCK_PUBLISH_LFCLKSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2388 2389 /* Register: CLOCK_PUBLISH_DONE */ 2390 /* Description: Publish configuration for event DONE */ 2391 2392 /* Bit 31 : */ 2393 #define CLOCK_PUBLISH_DONE_EN_Pos (31UL) /*!< Position of EN field. */ 2394 #define CLOCK_PUBLISH_DONE_EN_Msk (0x1UL << CLOCK_PUBLISH_DONE_EN_Pos) /*!< Bit mask of EN field. */ 2395 #define CLOCK_PUBLISH_DONE_EN_Disabled (0x0UL) /*!< Disable publishing */ 2396 #define CLOCK_PUBLISH_DONE_EN_Enabled (0x1UL) /*!< Enable publishing */ 2397 2398 /* Bits 7..0 : DPPI channel that event DONE will publish to */ 2399 #define CLOCK_PUBLISH_DONE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2400 #define CLOCK_PUBLISH_DONE_CHIDX_Msk (0xFFUL << CLOCK_PUBLISH_DONE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2401 2402 /* Register: CLOCK_PUBLISH_HFCLKAUDIOSTARTED */ 2403 /* Description: Publish configuration for event HFCLKAUDIOSTARTED */ 2404 2405 /* Bit 31 : */ 2406 #define CLOCK_PUBLISH_HFCLKAUDIOSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 2407 #define CLOCK_PUBLISH_HFCLKAUDIOSTARTED_EN_Msk (0x1UL << CLOCK_PUBLISH_HFCLKAUDIOSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 2408 #define CLOCK_PUBLISH_HFCLKAUDIOSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 2409 #define CLOCK_PUBLISH_HFCLKAUDIOSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 2410 2411 /* Bits 7..0 : DPPI channel that event HFCLKAUDIOSTARTED will publish to */ 2412 #define CLOCK_PUBLISH_HFCLKAUDIOSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2413 #define CLOCK_PUBLISH_HFCLKAUDIOSTARTED_CHIDX_Msk (0xFFUL << CLOCK_PUBLISH_HFCLKAUDIOSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2414 2415 /* Register: CLOCK_PUBLISH_HFCLK192MSTARTED */ 2416 /* Description: Publish configuration for event HFCLK192MSTARTED */ 2417 2418 /* Bit 31 : */ 2419 #define CLOCK_PUBLISH_HFCLK192MSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 2420 #define CLOCK_PUBLISH_HFCLK192MSTARTED_EN_Msk (0x1UL << CLOCK_PUBLISH_HFCLK192MSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 2421 #define CLOCK_PUBLISH_HFCLK192MSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 2422 #define CLOCK_PUBLISH_HFCLK192MSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 2423 2424 /* Bits 7..0 : DPPI channel that event HFCLK192MSTARTED will publish to */ 2425 #define CLOCK_PUBLISH_HFCLK192MSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2426 #define CLOCK_PUBLISH_HFCLK192MSTARTED_CHIDX_Msk (0xFFUL << CLOCK_PUBLISH_HFCLK192MSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2427 2428 /* Register: CLOCK_INTEN */ 2429 /* Description: Enable or disable interrupt */ 2430 2431 /* Bit 9 : Enable or disable interrupt for event HFCLK192MSTARTED */ 2432 #define CLOCK_INTEN_HFCLK192MSTARTED_Pos (9UL) /*!< Position of HFCLK192MSTARTED field. */ 2433 #define CLOCK_INTEN_HFCLK192MSTARTED_Msk (0x1UL << CLOCK_INTEN_HFCLK192MSTARTED_Pos) /*!< Bit mask of HFCLK192MSTARTED field. */ 2434 #define CLOCK_INTEN_HFCLK192MSTARTED_Disabled (0x0UL) /*!< Disable */ 2435 #define CLOCK_INTEN_HFCLK192MSTARTED_Enabled (0x1UL) /*!< Enable */ 2436 2437 /* Bit 8 : Enable or disable interrupt for event HFCLKAUDIOSTARTED */ 2438 #define CLOCK_INTEN_HFCLKAUDIOSTARTED_Pos (8UL) /*!< Position of HFCLKAUDIOSTARTED field. */ 2439 #define CLOCK_INTEN_HFCLKAUDIOSTARTED_Msk (0x1UL << CLOCK_INTEN_HFCLKAUDIOSTARTED_Pos) /*!< Bit mask of HFCLKAUDIOSTARTED field. */ 2440 #define CLOCK_INTEN_HFCLKAUDIOSTARTED_Disabled (0x0UL) /*!< Disable */ 2441 #define CLOCK_INTEN_HFCLKAUDIOSTARTED_Enabled (0x1UL) /*!< Enable */ 2442 2443 /* Bit 7 : Enable or disable interrupt for event DONE */ 2444 #define CLOCK_INTEN_DONE_Pos (7UL) /*!< Position of DONE field. */ 2445 #define CLOCK_INTEN_DONE_Msk (0x1UL << CLOCK_INTEN_DONE_Pos) /*!< Bit mask of DONE field. */ 2446 #define CLOCK_INTEN_DONE_Disabled (0x0UL) /*!< Disable */ 2447 #define CLOCK_INTEN_DONE_Enabled (0x1UL) /*!< Enable */ 2448 2449 /* Bit 1 : Enable or disable interrupt for event LFCLKSTARTED */ 2450 #define CLOCK_INTEN_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 2451 #define CLOCK_INTEN_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTEN_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 2452 #define CLOCK_INTEN_LFCLKSTARTED_Disabled (0x0UL) /*!< Disable */ 2453 #define CLOCK_INTEN_LFCLKSTARTED_Enabled (0x1UL) /*!< Enable */ 2454 2455 /* Bit 0 : Enable or disable interrupt for event HFCLKSTARTED */ 2456 #define CLOCK_INTEN_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 2457 #define CLOCK_INTEN_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTEN_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 2458 #define CLOCK_INTEN_HFCLKSTARTED_Disabled (0x0UL) /*!< Disable */ 2459 #define CLOCK_INTEN_HFCLKSTARTED_Enabled (0x1UL) /*!< Enable */ 2460 2461 /* Register: CLOCK_INTENSET */ 2462 /* Description: Enable interrupt */ 2463 2464 /* Bit 9 : Write '1' to enable interrupt for event HFCLK192MSTARTED */ 2465 #define CLOCK_INTENSET_HFCLK192MSTARTED_Pos (9UL) /*!< Position of HFCLK192MSTARTED field. */ 2466 #define CLOCK_INTENSET_HFCLK192MSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLK192MSTARTED_Pos) /*!< Bit mask of HFCLK192MSTARTED field. */ 2467 #define CLOCK_INTENSET_HFCLK192MSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2468 #define CLOCK_INTENSET_HFCLK192MSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2469 #define CLOCK_INTENSET_HFCLK192MSTARTED_Set (0x1UL) /*!< Enable */ 2470 2471 /* Bit 8 : Write '1' to enable interrupt for event HFCLKAUDIOSTARTED */ 2472 #define CLOCK_INTENSET_HFCLKAUDIOSTARTED_Pos (8UL) /*!< Position of HFCLKAUDIOSTARTED field. */ 2473 #define CLOCK_INTENSET_HFCLKAUDIOSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKAUDIOSTARTED_Pos) /*!< Bit mask of HFCLKAUDIOSTARTED field. */ 2474 #define CLOCK_INTENSET_HFCLKAUDIOSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2475 #define CLOCK_INTENSET_HFCLKAUDIOSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2476 #define CLOCK_INTENSET_HFCLKAUDIOSTARTED_Set (0x1UL) /*!< Enable */ 2477 2478 /* Bit 7 : Write '1' to enable interrupt for event DONE */ 2479 #define CLOCK_INTENSET_DONE_Pos (7UL) /*!< Position of DONE field. */ 2480 #define CLOCK_INTENSET_DONE_Msk (0x1UL << CLOCK_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */ 2481 #define CLOCK_INTENSET_DONE_Disabled (0x0UL) /*!< Read: Disabled */ 2482 #define CLOCK_INTENSET_DONE_Enabled (0x1UL) /*!< Read: Enabled */ 2483 #define CLOCK_INTENSET_DONE_Set (0x1UL) /*!< Enable */ 2484 2485 /* Bit 1 : Write '1' to enable interrupt for event LFCLKSTARTED */ 2486 #define CLOCK_INTENSET_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 2487 #define CLOCK_INTENSET_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 2488 #define CLOCK_INTENSET_LFCLKSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2489 #define CLOCK_INTENSET_LFCLKSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2490 #define CLOCK_INTENSET_LFCLKSTARTED_Set (0x1UL) /*!< Enable */ 2491 2492 /* Bit 0 : Write '1' to enable interrupt for event HFCLKSTARTED */ 2493 #define CLOCK_INTENSET_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 2494 #define CLOCK_INTENSET_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 2495 #define CLOCK_INTENSET_HFCLKSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2496 #define CLOCK_INTENSET_HFCLKSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2497 #define CLOCK_INTENSET_HFCLKSTARTED_Set (0x1UL) /*!< Enable */ 2498 2499 /* Register: CLOCK_INTENCLR */ 2500 /* Description: Disable interrupt */ 2501 2502 /* Bit 9 : Write '1' to disable interrupt for event HFCLK192MSTARTED */ 2503 #define CLOCK_INTENCLR_HFCLK192MSTARTED_Pos (9UL) /*!< Position of HFCLK192MSTARTED field. */ 2504 #define CLOCK_INTENCLR_HFCLK192MSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLK192MSTARTED_Pos) /*!< Bit mask of HFCLK192MSTARTED field. */ 2505 #define CLOCK_INTENCLR_HFCLK192MSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2506 #define CLOCK_INTENCLR_HFCLK192MSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2507 #define CLOCK_INTENCLR_HFCLK192MSTARTED_Clear (0x1UL) /*!< Disable */ 2508 2509 /* Bit 8 : Write '1' to disable interrupt for event HFCLKAUDIOSTARTED */ 2510 #define CLOCK_INTENCLR_HFCLKAUDIOSTARTED_Pos (8UL) /*!< Position of HFCLKAUDIOSTARTED field. */ 2511 #define CLOCK_INTENCLR_HFCLKAUDIOSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKAUDIOSTARTED_Pos) /*!< Bit mask of HFCLKAUDIOSTARTED field. */ 2512 #define CLOCK_INTENCLR_HFCLKAUDIOSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2513 #define CLOCK_INTENCLR_HFCLKAUDIOSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2514 #define CLOCK_INTENCLR_HFCLKAUDIOSTARTED_Clear (0x1UL) /*!< Disable */ 2515 2516 /* Bit 7 : Write '1' to disable interrupt for event DONE */ 2517 #define CLOCK_INTENCLR_DONE_Pos (7UL) /*!< Position of DONE field. */ 2518 #define CLOCK_INTENCLR_DONE_Msk (0x1UL << CLOCK_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */ 2519 #define CLOCK_INTENCLR_DONE_Disabled (0x0UL) /*!< Read: Disabled */ 2520 #define CLOCK_INTENCLR_DONE_Enabled (0x1UL) /*!< Read: Enabled */ 2521 #define CLOCK_INTENCLR_DONE_Clear (0x1UL) /*!< Disable */ 2522 2523 /* Bit 1 : Write '1' to disable interrupt for event LFCLKSTARTED */ 2524 #define CLOCK_INTENCLR_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 2525 #define CLOCK_INTENCLR_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 2526 #define CLOCK_INTENCLR_LFCLKSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2527 #define CLOCK_INTENCLR_LFCLKSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2528 #define CLOCK_INTENCLR_LFCLKSTARTED_Clear (0x1UL) /*!< Disable */ 2529 2530 /* Bit 0 : Write '1' to disable interrupt for event HFCLKSTARTED */ 2531 #define CLOCK_INTENCLR_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 2532 #define CLOCK_INTENCLR_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 2533 #define CLOCK_INTENCLR_HFCLKSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 2534 #define CLOCK_INTENCLR_HFCLKSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 2535 #define CLOCK_INTENCLR_HFCLKSTARTED_Clear (0x1UL) /*!< Disable */ 2536 2537 /* Register: CLOCK_INTPEND */ 2538 /* Description: Pending interrupts */ 2539 2540 /* Bit 9 : Read pending status of interrupt for event HFCLK192MSTARTED */ 2541 #define CLOCK_INTPEND_HFCLK192MSTARTED_Pos (9UL) /*!< Position of HFCLK192MSTARTED field. */ 2542 #define CLOCK_INTPEND_HFCLK192MSTARTED_Msk (0x1UL << CLOCK_INTPEND_HFCLK192MSTARTED_Pos) /*!< Bit mask of HFCLK192MSTARTED field. */ 2543 #define CLOCK_INTPEND_HFCLK192MSTARTED_NotPending (0x0UL) /*!< Read: Not pending */ 2544 #define CLOCK_INTPEND_HFCLK192MSTARTED_Pending (0x1UL) /*!< Read: Pending */ 2545 2546 /* Bit 8 : Read pending status of interrupt for event HFCLKAUDIOSTARTED */ 2547 #define CLOCK_INTPEND_HFCLKAUDIOSTARTED_Pos (8UL) /*!< Position of HFCLKAUDIOSTARTED field. */ 2548 #define CLOCK_INTPEND_HFCLKAUDIOSTARTED_Msk (0x1UL << CLOCK_INTPEND_HFCLKAUDIOSTARTED_Pos) /*!< Bit mask of HFCLKAUDIOSTARTED field. */ 2549 #define CLOCK_INTPEND_HFCLKAUDIOSTARTED_NotPending (0x0UL) /*!< Read: Not pending */ 2550 #define CLOCK_INTPEND_HFCLKAUDIOSTARTED_Pending (0x1UL) /*!< Read: Pending */ 2551 2552 /* Bit 7 : Read pending status of interrupt for event DONE */ 2553 #define CLOCK_INTPEND_DONE_Pos (7UL) /*!< Position of DONE field. */ 2554 #define CLOCK_INTPEND_DONE_Msk (0x1UL << CLOCK_INTPEND_DONE_Pos) /*!< Bit mask of DONE field. */ 2555 #define CLOCK_INTPEND_DONE_NotPending (0x0UL) /*!< Read: Not pending */ 2556 #define CLOCK_INTPEND_DONE_Pending (0x1UL) /*!< Read: Pending */ 2557 2558 /* Bit 1 : Read pending status of interrupt for event LFCLKSTARTED */ 2559 #define CLOCK_INTPEND_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 2560 #define CLOCK_INTPEND_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTPEND_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 2561 #define CLOCK_INTPEND_LFCLKSTARTED_NotPending (0x0UL) /*!< Read: Not pending */ 2562 #define CLOCK_INTPEND_LFCLKSTARTED_Pending (0x1UL) /*!< Read: Pending */ 2563 2564 /* Bit 0 : Read pending status of interrupt for event HFCLKSTARTED */ 2565 #define CLOCK_INTPEND_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 2566 #define CLOCK_INTPEND_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTPEND_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 2567 #define CLOCK_INTPEND_HFCLKSTARTED_NotPending (0x0UL) /*!< Read: Not pending */ 2568 #define CLOCK_INTPEND_HFCLKSTARTED_Pending (0x1UL) /*!< Read: Pending */ 2569 2570 /* Register: CLOCK_HFCLKRUN */ 2571 /* Description: Status indicating that HFCLKSTART task has been triggered */ 2572 2573 /* Bit 0 : HFCLKSTART task triggered or not */ 2574 #define CLOCK_HFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 2575 #define CLOCK_HFCLKRUN_STATUS_Msk (0x1UL << CLOCK_HFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 2576 #define CLOCK_HFCLKRUN_STATUS_NotTriggered (0x0UL) /*!< Task not triggered */ 2577 #define CLOCK_HFCLKRUN_STATUS_Triggered (0x1UL) /*!< Task triggered */ 2578 2579 /* Register: CLOCK_HFCLKSTAT */ 2580 /* Description: Status indicating which HFCLK128M/HFCLK64M source is running This register value in any CLOCK instance reflects status only due to configurations/actions in that CLOCK instance. */ 2581 2582 /* Bit 16 : HFCLK state */ 2583 #define CLOCK_HFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 2584 #define CLOCK_HFCLKSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 2585 #define CLOCK_HFCLKSTAT_STATE_NotRunning (0x0UL) /*!< HFCLK not running */ 2586 #define CLOCK_HFCLKSTAT_STATE_Running (0x1UL) /*!< HFCLK running */ 2587 2588 /* Bit 4 : ALWAYSRUN activated */ 2589 #define CLOCK_HFCLKSTAT_ALWAYSRUNNING_Pos (4UL) /*!< Position of ALWAYSRUNNING field. */ 2590 #define CLOCK_HFCLKSTAT_ALWAYSRUNNING_Msk (0x1UL << CLOCK_HFCLKSTAT_ALWAYSRUNNING_Pos) /*!< Bit mask of ALWAYSRUNNING field. */ 2591 #define CLOCK_HFCLKSTAT_ALWAYSRUNNING_NotRunning (0x0UL) /*!< Automatic clock control enabled */ 2592 #define CLOCK_HFCLKSTAT_ALWAYSRUNNING_Running (0x1UL) /*!< Oscillator is always running */ 2593 2594 /* Bit 0 : Active clock source */ 2595 #define CLOCK_HFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */ 2596 #define CLOCK_HFCLKSTAT_SRC_Msk (0x1UL << CLOCK_HFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */ 2597 #define CLOCK_HFCLKSTAT_SRC_HFINT (0x0UL) /*!< Clock source: HFINT - 128 MHz on-chip oscillator */ 2598 #define CLOCK_HFCLKSTAT_SRC_HFXO (0x1UL) /*!< Clock source: HFXO - 128 MHz clock derived from external 32 MHz crystal oscillator */ 2599 2600 /* Register: CLOCK_LFCLKRUN */ 2601 /* Description: Status indicating that LFCLKSTART task has been triggered */ 2602 2603 /* Bit 0 : LFCLKSTART task triggered or not */ 2604 #define CLOCK_LFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 2605 #define CLOCK_LFCLKRUN_STATUS_Msk (0x1UL << CLOCK_LFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 2606 #define CLOCK_LFCLKRUN_STATUS_NotTriggered (0x0UL) /*!< Task not triggered */ 2607 #define CLOCK_LFCLKRUN_STATUS_Triggered (0x1UL) /*!< Task triggered */ 2608 2609 /* Register: CLOCK_LFCLKSTAT */ 2610 /* Description: Status indicating which LFCLK source is running This register value in any CLOCK instance reflects status only due to configurations/actions in that CLOCK instance. */ 2611 2612 /* Bit 16 : LFCLK state */ 2613 #define CLOCK_LFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 2614 #define CLOCK_LFCLKSTAT_STATE_Msk (0x1UL << CLOCK_LFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 2615 #define CLOCK_LFCLKSTAT_STATE_NotRunning (0x0UL) /*!< LFCLK not running */ 2616 #define CLOCK_LFCLKSTAT_STATE_Running (0x1UL) /*!< LFCLK running */ 2617 2618 /* Bit 4 : ALWAYSRUN activated */ 2619 #define CLOCK_LFCLKSTAT_ALWAYSRUNNING_Pos (4UL) /*!< Position of ALWAYSRUNNING field. */ 2620 #define CLOCK_LFCLKSTAT_ALWAYSRUNNING_Msk (0x1UL << CLOCK_LFCLKSTAT_ALWAYSRUNNING_Pos) /*!< Bit mask of ALWAYSRUNNING field. */ 2621 #define CLOCK_LFCLKSTAT_ALWAYSRUNNING_NotRunning (0x0UL) /*!< Automatic clock control enabled */ 2622 #define CLOCK_LFCLKSTAT_ALWAYSRUNNING_Running (0x1UL) /*!< Oscillator is always running */ 2623 2624 /* Bits 1..0 : Active clock source */ 2625 #define CLOCK_LFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */ 2626 #define CLOCK_LFCLKSTAT_SRC_Msk (0x3UL << CLOCK_LFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */ 2627 #define CLOCK_LFCLKSTAT_SRC_LFRC (0x1UL) /*!< 32.768 kHz RC oscillator */ 2628 #define CLOCK_LFCLKSTAT_SRC_LFXO (0x2UL) /*!< 32.768 kHz crystal oscillator */ 2629 #define CLOCK_LFCLKSTAT_SRC_LFSYNT (0x3UL) /*!< 32.768 kHz synthesized from HFCLK */ 2630 2631 /* Register: CLOCK_LFCLKSRCCOPY */ 2632 /* Description: Copy of LFCLKSRC register, set when LFCLKSTART task was triggered */ 2633 2634 /* Bits 1..0 : Clock source */ 2635 #define CLOCK_LFCLKSRCCOPY_SRC_Pos (0UL) /*!< Position of SRC field. */ 2636 #define CLOCK_LFCLKSRCCOPY_SRC_Msk (0x3UL << CLOCK_LFCLKSRCCOPY_SRC_Pos) /*!< Bit mask of SRC field. */ 2637 #define CLOCK_LFCLKSRCCOPY_SRC_LFRC (0x1UL) /*!< 32.768 kHz RC oscillator */ 2638 #define CLOCK_LFCLKSRCCOPY_SRC_LFXO (0x2UL) /*!< 32.768 kHz crystal oscillator */ 2639 #define CLOCK_LFCLKSRCCOPY_SRC_LFSYNT (0x3UL) /*!< 32.768 kHz synthesized from HFCLK */ 2640 2641 /* Register: CLOCK_HFCLKAUDIORUN */ 2642 /* Description: Status indicating that HFCLKAUDIOSTART task has been triggered */ 2643 2644 /* Bit 0 : HFCLKAUDIOSTART task triggered or not */ 2645 #define CLOCK_HFCLKAUDIORUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 2646 #define CLOCK_HFCLKAUDIORUN_STATUS_Msk (0x1UL << CLOCK_HFCLKAUDIORUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 2647 #define CLOCK_HFCLKAUDIORUN_STATUS_NotTriggered (0x0UL) /*!< Task not triggered */ 2648 #define CLOCK_HFCLKAUDIORUN_STATUS_Triggered (0x1UL) /*!< Task triggered */ 2649 2650 /* Register: CLOCK_HFCLKAUDIOSTAT */ 2651 /* Description: Status indicating which HFCLKAUDIO source is running */ 2652 2653 /* Bit 16 : HFCLKAUDIO state */ 2654 #define CLOCK_HFCLKAUDIOSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 2655 #define CLOCK_HFCLKAUDIOSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKAUDIOSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 2656 #define CLOCK_HFCLKAUDIOSTAT_STATE_NotRunning (0x0UL) /*!< HFCLKAUDIO not running */ 2657 #define CLOCK_HFCLKAUDIOSTAT_STATE_Running (0x1UL) /*!< HFCLKAUDIO running */ 2658 2659 /* Bit 4 : ALWAYSRUN activated */ 2660 #define CLOCK_HFCLKAUDIOSTAT_ALWAYSRUNNING_Pos (4UL) /*!< Position of ALWAYSRUNNING field. */ 2661 #define CLOCK_HFCLKAUDIOSTAT_ALWAYSRUNNING_Msk (0x1UL << CLOCK_HFCLKAUDIOSTAT_ALWAYSRUNNING_Pos) /*!< Bit mask of ALWAYSRUNNING field. */ 2662 #define CLOCK_HFCLKAUDIOSTAT_ALWAYSRUNNING_NotRunning (0x0UL) /*!< Automatic clock control enabled */ 2663 #define CLOCK_HFCLKAUDIOSTAT_ALWAYSRUNNING_Running (0x1UL) /*!< Oscillator is always running */ 2664 2665 /* Register: CLOCK_HFCLK192MRUN */ 2666 /* Description: Status indicating that HFCLK192MSTART task has been triggered */ 2667 2668 /* Bit 0 : HFCLK192MSTART task triggered or not */ 2669 #define CLOCK_HFCLK192MRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 2670 #define CLOCK_HFCLK192MRUN_STATUS_Msk (0x1UL << CLOCK_HFCLK192MRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 2671 #define CLOCK_HFCLK192MRUN_STATUS_NotTriggered (0x0UL) /*!< Task not triggered */ 2672 #define CLOCK_HFCLK192MRUN_STATUS_Triggered (0x1UL) /*!< Task triggered */ 2673 2674 /* Register: CLOCK_HFCLK192MSTAT */ 2675 /* Description: Status indicating which HFCLK192M source is running */ 2676 2677 /* Bit 16 : HFCLK192M state */ 2678 #define CLOCK_HFCLK192MSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 2679 #define CLOCK_HFCLK192MSTAT_STATE_Msk (0x1UL << CLOCK_HFCLK192MSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 2680 #define CLOCK_HFCLK192MSTAT_STATE_NotRunning (0x0UL) /*!< HFCLK192M not running */ 2681 #define CLOCK_HFCLK192MSTAT_STATE_Running (0x1UL) /*!< HFCLK192M running */ 2682 2683 /* Bit 4 : ALWAYSRUN activated */ 2684 #define CLOCK_HFCLK192MSTAT_ALWAYSRUNNING_Pos (4UL) /*!< Position of ALWAYSRUNNING field. */ 2685 #define CLOCK_HFCLK192MSTAT_ALWAYSRUNNING_Msk (0x1UL << CLOCK_HFCLK192MSTAT_ALWAYSRUNNING_Pos) /*!< Bit mask of ALWAYSRUNNING field. */ 2686 #define CLOCK_HFCLK192MSTAT_ALWAYSRUNNING_NotRunning (0x0UL) /*!< Automatic clock control enabled */ 2687 #define CLOCK_HFCLK192MSTAT_ALWAYSRUNNING_Running (0x1UL) /*!< Oscillator is always running */ 2688 2689 /* Bit 0 : Active clock source */ 2690 #define CLOCK_HFCLK192MSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */ 2691 #define CLOCK_HFCLK192MSTAT_SRC_Msk (0x1UL << CLOCK_HFCLK192MSTAT_SRC_Pos) /*!< Bit mask of SRC field. */ 2692 #define CLOCK_HFCLK192MSTAT_SRC_HFINT (0x0UL) /*!< Clock source: HFINT - on-chip oscillator */ 2693 #define CLOCK_HFCLK192MSTAT_SRC_HFXO (0x1UL) /*!< Clock source: HFXO - derived from external 32 MHz crystal oscillator */ 2694 2695 /* Register: CLOCK_HFCLKSRC */ 2696 /* Description: Clock source for HFCLK128M/HFCLK64M */ 2697 2698 /* Bit 0 : Select which HFCLK source is started by the HFCLKSTART task */ 2699 #define CLOCK_HFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */ 2700 #define CLOCK_HFCLKSRC_SRC_Msk (0x1UL << CLOCK_HFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */ 2701 #define CLOCK_HFCLKSRC_SRC_HFINT (0x0UL) /*!< HFCLKSTART task starts HFINT oscillator */ 2702 #define CLOCK_HFCLKSRC_SRC_HFXO (0x1UL) /*!< HFCLKSTART task starts HFXO oscillator */ 2703 2704 /* Register: CLOCK_LFCLKSRC */ 2705 /* Description: Clock source for LFCLK */ 2706 2707 /* Bits 1..0 : Select which LFCLK source is started by the LFCLKSTART task */ 2708 #define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */ 2709 #define CLOCK_LFCLKSRC_SRC_Msk (0x3UL << CLOCK_LFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */ 2710 #define CLOCK_LFCLKSRC_SRC_LFRC (0x1UL) /*!< 32.768 kHz RC oscillator */ 2711 #define CLOCK_LFCLKSRC_SRC_LFXO (0x2UL) /*!< 32.768 kHz crystal oscillator */ 2712 #define CLOCK_LFCLKSRC_SRC_LFSYNT (0x3UL) /*!< 32.768 kHz synthesized from HFCLK */ 2713 2714 /* Register: CLOCK_HFCLKCTRL */ 2715 /* Description: HFCLK128M frequency configuration */ 2716 2717 /* Bits 1..0 : High frequency clock HCLK */ 2718 #define CLOCK_HFCLKCTRL_HCLK_Pos (0UL) /*!< Position of HCLK field. */ 2719 #define CLOCK_HFCLKCTRL_HCLK_Msk (0x3UL << CLOCK_HFCLKCTRL_HCLK_Pos) /*!< Bit mask of HCLK field. */ 2720 #define CLOCK_HFCLKCTRL_HCLK_Div1 (0x0UL) /*!< Divide HFCLK by 1 */ 2721 #define CLOCK_HFCLKCTRL_HCLK_Div2 (0x1UL) /*!< Divide HFCLK by 2 */ 2722 2723 /* Register: CLOCK_HFCLKAUDIO_FREQUENCY */ 2724 /* Description: Audio PLL frequency in 11.176 MHz - 11.402 MHz or 12.165 MHz - 12.411 MHz frequency bands */ 2725 2726 /* Bits 15..0 : Frequency 0: 10.666 MHz 65535: 13.333 MHz */ 2727 #define CLOCK_HFCLKAUDIO_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 2728 #define CLOCK_HFCLKAUDIO_FREQUENCY_FREQUENCY_Msk (0xFFFFUL << CLOCK_HFCLKAUDIO_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 2729 2730 /* Register: CLOCK_HFCLKALWAYSRUN */ 2731 /* Description: Automatic or manual control of HFCLK128M/HFCLK64M */ 2732 2733 /* Bit 0 : Ensure clock is always running */ 2734 #define CLOCK_HFCLKALWAYSRUN_ALWAYSRUN_Pos (0UL) /*!< Position of ALWAYSRUN field. */ 2735 #define CLOCK_HFCLKALWAYSRUN_ALWAYSRUN_Msk (0x1UL << CLOCK_HFCLKALWAYSRUN_ALWAYSRUN_Pos) /*!< Bit mask of ALWAYSRUN field. */ 2736 #define CLOCK_HFCLKALWAYSRUN_ALWAYSRUN_Automatic (0x0UL) /*!< Use automatic clock control */ 2737 #define CLOCK_HFCLKALWAYSRUN_ALWAYSRUN_AlwaysRun (0x1UL) /*!< Ensure clock is always running */ 2738 2739 /* Register: CLOCK_LFCLKALWAYSRUN */ 2740 /* Description: Automatic or manual control of LFCLK */ 2741 2742 /* Bit 0 : Ensure clock is always running */ 2743 #define CLOCK_LFCLKALWAYSRUN_ALWAYSRUN_Pos (0UL) /*!< Position of ALWAYSRUN field. */ 2744 #define CLOCK_LFCLKALWAYSRUN_ALWAYSRUN_Msk (0x1UL << CLOCK_LFCLKALWAYSRUN_ALWAYSRUN_Pos) /*!< Bit mask of ALWAYSRUN field. */ 2745 #define CLOCK_LFCLKALWAYSRUN_ALWAYSRUN_Automatic (0x0UL) /*!< Use automatic clock control */ 2746 #define CLOCK_LFCLKALWAYSRUN_ALWAYSRUN_AlwaysRun (0x1UL) /*!< Ensure clock is always running */ 2747 2748 /* Register: CLOCK_HFCLKAUDIOALWAYSRUN */ 2749 /* Description: Automatic or manual control of HFCLKAUDIO */ 2750 2751 /* Bit 0 : Ensure clock is always running */ 2752 #define CLOCK_HFCLKAUDIOALWAYSRUN_ALWAYSRUN_Pos (0UL) /*!< Position of ALWAYSRUN field. */ 2753 #define CLOCK_HFCLKAUDIOALWAYSRUN_ALWAYSRUN_Msk (0x1UL << CLOCK_HFCLKAUDIOALWAYSRUN_ALWAYSRUN_Pos) /*!< Bit mask of ALWAYSRUN field. */ 2754 #define CLOCK_HFCLKAUDIOALWAYSRUN_ALWAYSRUN_Automatic (0x0UL) /*!< Use automatic clock control */ 2755 #define CLOCK_HFCLKAUDIOALWAYSRUN_ALWAYSRUN_AlwaysRun (0x1UL) /*!< Ensure clock is always running */ 2756 2757 /* Register: CLOCK_HFCLK192MSRC */ 2758 /* Description: Clock source for HFCLK192M */ 2759 2760 /* Bit 0 : Select which HFCLK192M source is started by the HFCLK192MSTART task */ 2761 #define CLOCK_HFCLK192MSRC_SRC_Pos (0UL) /*!< Position of SRC field. */ 2762 #define CLOCK_HFCLK192MSRC_SRC_Msk (0x1UL << CLOCK_HFCLK192MSRC_SRC_Pos) /*!< Bit mask of SRC field. */ 2763 #define CLOCK_HFCLK192MSRC_SRC_HFINT (0x0UL) /*!< HFCLK192MSTART task starts HFINT oscillator */ 2764 #define CLOCK_HFCLK192MSRC_SRC_HFXO (0x1UL) /*!< HFCLK192MSTART task starts HFXO oscillator */ 2765 2766 /* Register: CLOCK_HFCLK192MALWAYSRUN */ 2767 /* Description: Automatic or manual control of HFCLK192M */ 2768 2769 /* Bit 0 : Ensure clock is always running */ 2770 #define CLOCK_HFCLK192MALWAYSRUN_ALWAYSRUN_Pos (0UL) /*!< Position of ALWAYSRUN field. */ 2771 #define CLOCK_HFCLK192MALWAYSRUN_ALWAYSRUN_Msk (0x1UL << CLOCK_HFCLK192MALWAYSRUN_ALWAYSRUN_Pos) /*!< Bit mask of ALWAYSRUN field. */ 2772 #define CLOCK_HFCLK192MALWAYSRUN_ALWAYSRUN_Automatic (0x0UL) /*!< Use automatic clock control */ 2773 #define CLOCK_HFCLK192MALWAYSRUN_ALWAYSRUN_AlwaysRun (0x1UL) /*!< Ensure clock is always running */ 2774 2775 /* Register: CLOCK_HFCLK192MCTRL */ 2776 /* Description: HFCLK192M frequency configuration */ 2777 2778 /* Bits 1..0 : High frequency clock HCLK192M */ 2779 #define CLOCK_HFCLK192MCTRL_HCLK192M_Pos (0UL) /*!< Position of HCLK192M field. */ 2780 #define CLOCK_HFCLK192MCTRL_HCLK192M_Msk (0x3UL << CLOCK_HFCLK192MCTRL_HCLK192M_Pos) /*!< Bit mask of HCLK192M field. */ 2781 #define CLOCK_HFCLK192MCTRL_HCLK192M_Div1 (0x0UL) /*!< Divide HFCLK192M by 1 */ 2782 #define CLOCK_HFCLK192MCTRL_HCLK192M_Div2 (0x1UL) /*!< Divide HFCLK192M by 2 */ 2783 #define CLOCK_HFCLK192MCTRL_HCLK192M_Div4 (0x2UL) /*!< Divide HFCLK192M by 4 */ 2784 2785 2786 /* Peripheral: COMP */ 2787 /* Description: Comparator 0 */ 2788 2789 /* Register: COMP_TASKS_START */ 2790 /* Description: Start comparator */ 2791 2792 /* Bit 0 : Start comparator */ 2793 #define COMP_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 2794 #define COMP_TASKS_START_TASKS_START_Msk (0x1UL << COMP_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 2795 #define COMP_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 2796 2797 /* Register: COMP_TASKS_STOP */ 2798 /* Description: Stop comparator */ 2799 2800 /* Bit 0 : Stop comparator */ 2801 #define COMP_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 2802 #define COMP_TASKS_STOP_TASKS_STOP_Msk (0x1UL << COMP_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 2803 #define COMP_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 2804 2805 /* Register: COMP_TASKS_SAMPLE */ 2806 /* Description: Sample comparator value */ 2807 2808 /* Bit 0 : Sample comparator value */ 2809 #define COMP_TASKS_SAMPLE_TASKS_SAMPLE_Pos (0UL) /*!< Position of TASKS_SAMPLE field. */ 2810 #define COMP_TASKS_SAMPLE_TASKS_SAMPLE_Msk (0x1UL << COMP_TASKS_SAMPLE_TASKS_SAMPLE_Pos) /*!< Bit mask of TASKS_SAMPLE field. */ 2811 #define COMP_TASKS_SAMPLE_TASKS_SAMPLE_Trigger (0x1UL) /*!< Trigger task */ 2812 2813 /* Register: COMP_SUBSCRIBE_START */ 2814 /* Description: Subscribe configuration for task START */ 2815 2816 /* Bit 31 : */ 2817 #define COMP_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 2818 #define COMP_SUBSCRIBE_START_EN_Msk (0x1UL << COMP_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 2819 #define COMP_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 2820 #define COMP_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 2821 2822 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 2823 #define COMP_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2824 #define COMP_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << COMP_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2825 2826 /* Register: COMP_SUBSCRIBE_STOP */ 2827 /* Description: Subscribe configuration for task STOP */ 2828 2829 /* Bit 31 : */ 2830 #define COMP_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 2831 #define COMP_SUBSCRIBE_STOP_EN_Msk (0x1UL << COMP_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 2832 #define COMP_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 2833 #define COMP_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 2834 2835 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 2836 #define COMP_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2837 #define COMP_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << COMP_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2838 2839 /* Register: COMP_SUBSCRIBE_SAMPLE */ 2840 /* Description: Subscribe configuration for task SAMPLE */ 2841 2842 /* Bit 31 : */ 2843 #define COMP_SUBSCRIBE_SAMPLE_EN_Pos (31UL) /*!< Position of EN field. */ 2844 #define COMP_SUBSCRIBE_SAMPLE_EN_Msk (0x1UL << COMP_SUBSCRIBE_SAMPLE_EN_Pos) /*!< Bit mask of EN field. */ 2845 #define COMP_SUBSCRIBE_SAMPLE_EN_Disabled (0x0UL) /*!< Disable subscription */ 2846 #define COMP_SUBSCRIBE_SAMPLE_EN_Enabled (0x1UL) /*!< Enable subscription */ 2847 2848 /* Bits 7..0 : DPPI channel that task SAMPLE will subscribe to */ 2849 #define COMP_SUBSCRIBE_SAMPLE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2850 #define COMP_SUBSCRIBE_SAMPLE_CHIDX_Msk (0xFFUL << COMP_SUBSCRIBE_SAMPLE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2851 2852 /* Register: COMP_EVENTS_READY */ 2853 /* Description: COMP is ready and output is valid */ 2854 2855 /* Bit 0 : COMP is ready and output is valid */ 2856 #define COMP_EVENTS_READY_EVENTS_READY_Pos (0UL) /*!< Position of EVENTS_READY field. */ 2857 #define COMP_EVENTS_READY_EVENTS_READY_Msk (0x1UL << COMP_EVENTS_READY_EVENTS_READY_Pos) /*!< Bit mask of EVENTS_READY field. */ 2858 #define COMP_EVENTS_READY_EVENTS_READY_NotGenerated (0x0UL) /*!< Event not generated */ 2859 #define COMP_EVENTS_READY_EVENTS_READY_Generated (0x1UL) /*!< Event generated */ 2860 2861 /* Register: COMP_EVENTS_DOWN */ 2862 /* Description: Downward crossing */ 2863 2864 /* Bit 0 : Downward crossing */ 2865 #define COMP_EVENTS_DOWN_EVENTS_DOWN_Pos (0UL) /*!< Position of EVENTS_DOWN field. */ 2866 #define COMP_EVENTS_DOWN_EVENTS_DOWN_Msk (0x1UL << COMP_EVENTS_DOWN_EVENTS_DOWN_Pos) /*!< Bit mask of EVENTS_DOWN field. */ 2867 #define COMP_EVENTS_DOWN_EVENTS_DOWN_NotGenerated (0x0UL) /*!< Event not generated */ 2868 #define COMP_EVENTS_DOWN_EVENTS_DOWN_Generated (0x1UL) /*!< Event generated */ 2869 2870 /* Register: COMP_EVENTS_UP */ 2871 /* Description: Upward crossing */ 2872 2873 /* Bit 0 : Upward crossing */ 2874 #define COMP_EVENTS_UP_EVENTS_UP_Pos (0UL) /*!< Position of EVENTS_UP field. */ 2875 #define COMP_EVENTS_UP_EVENTS_UP_Msk (0x1UL << COMP_EVENTS_UP_EVENTS_UP_Pos) /*!< Bit mask of EVENTS_UP field. */ 2876 #define COMP_EVENTS_UP_EVENTS_UP_NotGenerated (0x0UL) /*!< Event not generated */ 2877 #define COMP_EVENTS_UP_EVENTS_UP_Generated (0x1UL) /*!< Event generated */ 2878 2879 /* Register: COMP_EVENTS_CROSS */ 2880 /* Description: Downward or upward crossing */ 2881 2882 /* Bit 0 : Downward or upward crossing */ 2883 #define COMP_EVENTS_CROSS_EVENTS_CROSS_Pos (0UL) /*!< Position of EVENTS_CROSS field. */ 2884 #define COMP_EVENTS_CROSS_EVENTS_CROSS_Msk (0x1UL << COMP_EVENTS_CROSS_EVENTS_CROSS_Pos) /*!< Bit mask of EVENTS_CROSS field. */ 2885 #define COMP_EVENTS_CROSS_EVENTS_CROSS_NotGenerated (0x0UL) /*!< Event not generated */ 2886 #define COMP_EVENTS_CROSS_EVENTS_CROSS_Generated (0x1UL) /*!< Event generated */ 2887 2888 /* Register: COMP_PUBLISH_READY */ 2889 /* Description: Publish configuration for event READY */ 2890 2891 /* Bit 31 : */ 2892 #define COMP_PUBLISH_READY_EN_Pos (31UL) /*!< Position of EN field. */ 2893 #define COMP_PUBLISH_READY_EN_Msk (0x1UL << COMP_PUBLISH_READY_EN_Pos) /*!< Bit mask of EN field. */ 2894 #define COMP_PUBLISH_READY_EN_Disabled (0x0UL) /*!< Disable publishing */ 2895 #define COMP_PUBLISH_READY_EN_Enabled (0x1UL) /*!< Enable publishing */ 2896 2897 /* Bits 7..0 : DPPI channel that event READY will publish to */ 2898 #define COMP_PUBLISH_READY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2899 #define COMP_PUBLISH_READY_CHIDX_Msk (0xFFUL << COMP_PUBLISH_READY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2900 2901 /* Register: COMP_PUBLISH_DOWN */ 2902 /* Description: Publish configuration for event DOWN */ 2903 2904 /* Bit 31 : */ 2905 #define COMP_PUBLISH_DOWN_EN_Pos (31UL) /*!< Position of EN field. */ 2906 #define COMP_PUBLISH_DOWN_EN_Msk (0x1UL << COMP_PUBLISH_DOWN_EN_Pos) /*!< Bit mask of EN field. */ 2907 #define COMP_PUBLISH_DOWN_EN_Disabled (0x0UL) /*!< Disable publishing */ 2908 #define COMP_PUBLISH_DOWN_EN_Enabled (0x1UL) /*!< Enable publishing */ 2909 2910 /* Bits 7..0 : DPPI channel that event DOWN will publish to */ 2911 #define COMP_PUBLISH_DOWN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2912 #define COMP_PUBLISH_DOWN_CHIDX_Msk (0xFFUL << COMP_PUBLISH_DOWN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2913 2914 /* Register: COMP_PUBLISH_UP */ 2915 /* Description: Publish configuration for event UP */ 2916 2917 /* Bit 31 : */ 2918 #define COMP_PUBLISH_UP_EN_Pos (31UL) /*!< Position of EN field. */ 2919 #define COMP_PUBLISH_UP_EN_Msk (0x1UL << COMP_PUBLISH_UP_EN_Pos) /*!< Bit mask of EN field. */ 2920 #define COMP_PUBLISH_UP_EN_Disabled (0x0UL) /*!< Disable publishing */ 2921 #define COMP_PUBLISH_UP_EN_Enabled (0x1UL) /*!< Enable publishing */ 2922 2923 /* Bits 7..0 : DPPI channel that event UP will publish to */ 2924 #define COMP_PUBLISH_UP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2925 #define COMP_PUBLISH_UP_CHIDX_Msk (0xFFUL << COMP_PUBLISH_UP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2926 2927 /* Register: COMP_PUBLISH_CROSS */ 2928 /* Description: Publish configuration for event CROSS */ 2929 2930 /* Bit 31 : */ 2931 #define COMP_PUBLISH_CROSS_EN_Pos (31UL) /*!< Position of EN field. */ 2932 #define COMP_PUBLISH_CROSS_EN_Msk (0x1UL << COMP_PUBLISH_CROSS_EN_Pos) /*!< Bit mask of EN field. */ 2933 #define COMP_PUBLISH_CROSS_EN_Disabled (0x0UL) /*!< Disable publishing */ 2934 #define COMP_PUBLISH_CROSS_EN_Enabled (0x1UL) /*!< Enable publishing */ 2935 2936 /* Bits 7..0 : DPPI channel that event CROSS will publish to */ 2937 #define COMP_PUBLISH_CROSS_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 2938 #define COMP_PUBLISH_CROSS_CHIDX_Msk (0xFFUL << COMP_PUBLISH_CROSS_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 2939 2940 /* Register: COMP_SHORTS */ 2941 /* Description: Shortcuts between local events and tasks */ 2942 2943 /* Bit 4 : Shortcut between event CROSS and task STOP */ 2944 #define COMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */ 2945 #define COMP_SHORTS_CROSS_STOP_Msk (0x1UL << COMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */ 2946 #define COMP_SHORTS_CROSS_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 2947 #define COMP_SHORTS_CROSS_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 2948 2949 /* Bit 3 : Shortcut between event UP and task STOP */ 2950 #define COMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */ 2951 #define COMP_SHORTS_UP_STOP_Msk (0x1UL << COMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */ 2952 #define COMP_SHORTS_UP_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 2953 #define COMP_SHORTS_UP_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 2954 2955 /* Bit 2 : Shortcut between event DOWN and task STOP */ 2956 #define COMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */ 2957 #define COMP_SHORTS_DOWN_STOP_Msk (0x1UL << COMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */ 2958 #define COMP_SHORTS_DOWN_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 2959 #define COMP_SHORTS_DOWN_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 2960 2961 /* Bit 1 : Shortcut between event READY and task STOP */ 2962 #define COMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */ 2963 #define COMP_SHORTS_READY_STOP_Msk (0x1UL << COMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */ 2964 #define COMP_SHORTS_READY_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 2965 #define COMP_SHORTS_READY_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 2966 2967 /* Bit 0 : Shortcut between event READY and task SAMPLE */ 2968 #define COMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */ 2969 #define COMP_SHORTS_READY_SAMPLE_Msk (0x1UL << COMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */ 2970 #define COMP_SHORTS_READY_SAMPLE_Disabled (0x0UL) /*!< Disable shortcut */ 2971 #define COMP_SHORTS_READY_SAMPLE_Enabled (0x1UL) /*!< Enable shortcut */ 2972 2973 /* Register: COMP_INTEN */ 2974 /* Description: Enable or disable interrupt */ 2975 2976 /* Bit 3 : Enable or disable interrupt for event CROSS */ 2977 #define COMP_INTEN_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 2978 #define COMP_INTEN_CROSS_Msk (0x1UL << COMP_INTEN_CROSS_Pos) /*!< Bit mask of CROSS field. */ 2979 #define COMP_INTEN_CROSS_Disabled (0x0UL) /*!< Disable */ 2980 #define COMP_INTEN_CROSS_Enabled (0x1UL) /*!< Enable */ 2981 2982 /* Bit 2 : Enable or disable interrupt for event UP */ 2983 #define COMP_INTEN_UP_Pos (2UL) /*!< Position of UP field. */ 2984 #define COMP_INTEN_UP_Msk (0x1UL << COMP_INTEN_UP_Pos) /*!< Bit mask of UP field. */ 2985 #define COMP_INTEN_UP_Disabled (0x0UL) /*!< Disable */ 2986 #define COMP_INTEN_UP_Enabled (0x1UL) /*!< Enable */ 2987 2988 /* Bit 1 : Enable or disable interrupt for event DOWN */ 2989 #define COMP_INTEN_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 2990 #define COMP_INTEN_DOWN_Msk (0x1UL << COMP_INTEN_DOWN_Pos) /*!< Bit mask of DOWN field. */ 2991 #define COMP_INTEN_DOWN_Disabled (0x0UL) /*!< Disable */ 2992 #define COMP_INTEN_DOWN_Enabled (0x1UL) /*!< Enable */ 2993 2994 /* Bit 0 : Enable or disable interrupt for event READY */ 2995 #define COMP_INTEN_READY_Pos (0UL) /*!< Position of READY field. */ 2996 #define COMP_INTEN_READY_Msk (0x1UL << COMP_INTEN_READY_Pos) /*!< Bit mask of READY field. */ 2997 #define COMP_INTEN_READY_Disabled (0x0UL) /*!< Disable */ 2998 #define COMP_INTEN_READY_Enabled (0x1UL) /*!< Enable */ 2999 3000 /* Register: COMP_INTENSET */ 3001 /* Description: Enable interrupt */ 3002 3003 /* Bit 3 : Write '1' to enable interrupt for event CROSS */ 3004 #define COMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 3005 #define COMP_INTENSET_CROSS_Msk (0x1UL << COMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */ 3006 #define COMP_INTENSET_CROSS_Disabled (0x0UL) /*!< Read: Disabled */ 3007 #define COMP_INTENSET_CROSS_Enabled (0x1UL) /*!< Read: Enabled */ 3008 #define COMP_INTENSET_CROSS_Set (0x1UL) /*!< Enable */ 3009 3010 /* Bit 2 : Write '1' to enable interrupt for event UP */ 3011 #define COMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */ 3012 #define COMP_INTENSET_UP_Msk (0x1UL << COMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */ 3013 #define COMP_INTENSET_UP_Disabled (0x0UL) /*!< Read: Disabled */ 3014 #define COMP_INTENSET_UP_Enabled (0x1UL) /*!< Read: Enabled */ 3015 #define COMP_INTENSET_UP_Set (0x1UL) /*!< Enable */ 3016 3017 /* Bit 1 : Write '1' to enable interrupt for event DOWN */ 3018 #define COMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 3019 #define COMP_INTENSET_DOWN_Msk (0x1UL << COMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */ 3020 #define COMP_INTENSET_DOWN_Disabled (0x0UL) /*!< Read: Disabled */ 3021 #define COMP_INTENSET_DOWN_Enabled (0x1UL) /*!< Read: Enabled */ 3022 #define COMP_INTENSET_DOWN_Set (0x1UL) /*!< Enable */ 3023 3024 /* Bit 0 : Write '1' to enable interrupt for event READY */ 3025 #define COMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 3026 #define COMP_INTENSET_READY_Msk (0x1UL << COMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 3027 #define COMP_INTENSET_READY_Disabled (0x0UL) /*!< Read: Disabled */ 3028 #define COMP_INTENSET_READY_Enabled (0x1UL) /*!< Read: Enabled */ 3029 #define COMP_INTENSET_READY_Set (0x1UL) /*!< Enable */ 3030 3031 /* Register: COMP_INTENCLR */ 3032 /* Description: Disable interrupt */ 3033 3034 /* Bit 3 : Write '1' to disable interrupt for event CROSS */ 3035 #define COMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 3036 #define COMP_INTENCLR_CROSS_Msk (0x1UL << COMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */ 3037 #define COMP_INTENCLR_CROSS_Disabled (0x0UL) /*!< Read: Disabled */ 3038 #define COMP_INTENCLR_CROSS_Enabled (0x1UL) /*!< Read: Enabled */ 3039 #define COMP_INTENCLR_CROSS_Clear (0x1UL) /*!< Disable */ 3040 3041 /* Bit 2 : Write '1' to disable interrupt for event UP */ 3042 #define COMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */ 3043 #define COMP_INTENCLR_UP_Msk (0x1UL << COMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */ 3044 #define COMP_INTENCLR_UP_Disabled (0x0UL) /*!< Read: Disabled */ 3045 #define COMP_INTENCLR_UP_Enabled (0x1UL) /*!< Read: Enabled */ 3046 #define COMP_INTENCLR_UP_Clear (0x1UL) /*!< Disable */ 3047 3048 /* Bit 1 : Write '1' to disable interrupt for event DOWN */ 3049 #define COMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 3050 #define COMP_INTENCLR_DOWN_Msk (0x1UL << COMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */ 3051 #define COMP_INTENCLR_DOWN_Disabled (0x0UL) /*!< Read: Disabled */ 3052 #define COMP_INTENCLR_DOWN_Enabled (0x1UL) /*!< Read: Enabled */ 3053 #define COMP_INTENCLR_DOWN_Clear (0x1UL) /*!< Disable */ 3054 3055 /* Bit 0 : Write '1' to disable interrupt for event READY */ 3056 #define COMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 3057 #define COMP_INTENCLR_READY_Msk (0x1UL << COMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 3058 #define COMP_INTENCLR_READY_Disabled (0x0UL) /*!< Read: Disabled */ 3059 #define COMP_INTENCLR_READY_Enabled (0x1UL) /*!< Read: Enabled */ 3060 #define COMP_INTENCLR_READY_Clear (0x1UL) /*!< Disable */ 3061 3062 /* Register: COMP_RESULT */ 3063 /* Description: Compare result */ 3064 3065 /* Bit 0 : Result of last compare. Decision point SAMPLE task. */ 3066 #define COMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */ 3067 #define COMP_RESULT_RESULT_Msk (0x1UL << COMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */ 3068 #define COMP_RESULT_RESULT_Below (0x0UL) /*!< Input voltage is below the threshold (VIN+ < VIN-) */ 3069 #define COMP_RESULT_RESULT_Above (0x1UL) /*!< Input voltage is above the threshold (VIN+ > VIN-) */ 3070 3071 /* Register: COMP_ENABLE */ 3072 /* Description: COMP enable */ 3073 3074 /* Bits 1..0 : Enable or disable COMP */ 3075 #define COMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 3076 #define COMP_ENABLE_ENABLE_Msk (0x3UL << COMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 3077 #define COMP_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable */ 3078 #define COMP_ENABLE_ENABLE_Enabled (0x2UL) /*!< Enable */ 3079 3080 /* Register: COMP_PSEL */ 3081 /* Description: Pin select */ 3082 3083 /* Bits 2..0 : Analog pin select */ 3084 #define COMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */ 3085 #define COMP_PSEL_PSEL_Msk (0x7UL << COMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */ 3086 #define COMP_PSEL_PSEL_AnalogInput0 (0x0UL) /*!< AIN0 selected as analog input */ 3087 #define COMP_PSEL_PSEL_AnalogInput1 (0x1UL) /*!< AIN1 selected as analog input */ 3088 #define COMP_PSEL_PSEL_AnalogInput2 (0x2UL) /*!< AIN2 selected as analog input */ 3089 #define COMP_PSEL_PSEL_AnalogInput3 (0x3UL) /*!< AIN3 selected as analog input */ 3090 #define COMP_PSEL_PSEL_AnalogInput4 (0x4UL) /*!< AIN4 selected as analog input */ 3091 #define COMP_PSEL_PSEL_AnalogInput5 (0x5UL) /*!< AIN5 selected as analog input */ 3092 #define COMP_PSEL_PSEL_AnalogInput6 (0x6UL) /*!< AIN6 selected as analog input */ 3093 #define COMP_PSEL_PSEL_AnalogInput7 (0x7UL) /*!< AIN7 selected as analog input */ 3094 3095 /* Register: COMP_REFSEL */ 3096 /* Description: Reference source select for single-ended mode */ 3097 3098 /* Bits 2..0 : Reference select */ 3099 #define COMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */ 3100 #define COMP_REFSEL_REFSEL_Msk (0x7UL << COMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */ 3101 #define COMP_REFSEL_REFSEL_Int1V2 (0x0UL) /*!< VREF = internal 1.2 V reference (VDD >= 1.7 V) */ 3102 #define COMP_REFSEL_REFSEL_Int1V8 (0x1UL) /*!< VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V) */ 3103 #define COMP_REFSEL_REFSEL_Int2V4 (0x2UL) /*!< VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V) */ 3104 #define COMP_REFSEL_REFSEL_VDD (0x4UL) /*!< VREF = VDD */ 3105 #define COMP_REFSEL_REFSEL_ARef (0x5UL) /*!< VREF = AREF */ 3106 3107 /* Register: COMP_EXTREFSEL */ 3108 /* Description: External reference select */ 3109 3110 /* Bits 2..0 : External analog reference select */ 3111 #define COMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */ 3112 #define COMP_EXTREFSEL_EXTREFSEL_Msk (0x7UL << COMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */ 3113 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0x0UL) /*!< Use AIN0 as external analog reference */ 3114 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (0x1UL) /*!< Use AIN1 as external analog reference */ 3115 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference2 (0x2UL) /*!< Use AIN2 as external analog reference */ 3116 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference3 (0x3UL) /*!< Use AIN3 as external analog reference */ 3117 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference4 (0x4UL) /*!< Use AIN4 as external analog reference */ 3118 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference5 (0x5UL) /*!< Use AIN5 as external analog reference */ 3119 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference6 (0x6UL) /*!< Use AIN6 as external analog reference */ 3120 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference7 (0x7UL) /*!< Use AIN7 as external analog reference */ 3121 3122 /* Register: COMP_TH */ 3123 /* Description: Threshold configuration for hysteresis unit */ 3124 3125 /* Bits 13..8 : VUP = (THUP+1)/64*VREF */ 3126 #define COMP_TH_THUP_Pos (8UL) /*!< Position of THUP field. */ 3127 #define COMP_TH_THUP_Msk (0x3FUL << COMP_TH_THUP_Pos) /*!< Bit mask of THUP field. */ 3128 3129 /* Bits 5..0 : VDOWN = (THDOWN+1)/64*VREF */ 3130 #define COMP_TH_THDOWN_Pos (0UL) /*!< Position of THDOWN field. */ 3131 #define COMP_TH_THDOWN_Msk (0x3FUL << COMP_TH_THDOWN_Pos) /*!< Bit mask of THDOWN field. */ 3132 3133 /* Register: COMP_MODE */ 3134 /* Description: Mode configuration */ 3135 3136 /* Bit 8 : Main operation modes */ 3137 #define COMP_MODE_MAIN_Pos (8UL) /*!< Position of MAIN field. */ 3138 #define COMP_MODE_MAIN_Msk (0x1UL << COMP_MODE_MAIN_Pos) /*!< Bit mask of MAIN field. */ 3139 #define COMP_MODE_MAIN_SE (0x0UL) /*!< Single-ended mode */ 3140 #define COMP_MODE_MAIN_Diff (0x1UL) /*!< Differential mode */ 3141 3142 /* Bits 1..0 : Speed and power modes */ 3143 #define COMP_MODE_SP_Pos (0UL) /*!< Position of SP field. */ 3144 #define COMP_MODE_SP_Msk (0x3UL << COMP_MODE_SP_Pos) /*!< Bit mask of SP field. */ 3145 #define COMP_MODE_SP_Low (0x0UL) /*!< Low-power mode */ 3146 #define COMP_MODE_SP_Normal (0x1UL) /*!< Normal mode */ 3147 #define COMP_MODE_SP_High (0x2UL) /*!< High-speed mode */ 3148 3149 /* Register: COMP_HYST */ 3150 /* Description: Comparator hysteresis enable */ 3151 3152 /* Bit 0 : Comparator hysteresis */ 3153 #define COMP_HYST_HYST_Pos (0UL) /*!< Position of HYST field. */ 3154 #define COMP_HYST_HYST_Msk (0x1UL << COMP_HYST_HYST_Pos) /*!< Bit mask of HYST field. */ 3155 #define COMP_HYST_HYST_NoHyst (0x0UL) /*!< Comparator hysteresis disabled */ 3156 #define COMP_HYST_HYST_Hyst50mV (0x1UL) /*!< Comparator hysteresis enabled */ 3157 3158 /* Register: COMP_ISOURCE */ 3159 /* Description: Current source select on analog input */ 3160 3161 /* Bits 1..0 : Comparator hysteresis */ 3162 #define COMP_ISOURCE_ISOURCE_Pos (0UL) /*!< Position of ISOURCE field. */ 3163 #define COMP_ISOURCE_ISOURCE_Msk (0x3UL << COMP_ISOURCE_ISOURCE_Pos) /*!< Bit mask of ISOURCE field. */ 3164 #define COMP_ISOURCE_ISOURCE_Off (0x0UL) /*!< Current source disabled */ 3165 #define COMP_ISOURCE_ISOURCE_Ien2mA5 (0x1UL) /*!< Current source enabled (+/- 2.5 uA) */ 3166 #define COMP_ISOURCE_ISOURCE_Ien5mA (0x2UL) /*!< Current source enabled (+/- 5 uA) */ 3167 #define COMP_ISOURCE_ISOURCE_Ien10mA (0x3UL) /*!< Current source enabled (+/- 10 uA) */ 3168 3169 3170 /* Peripheral: CRYPTOCELL */ 3171 /* Description: CRYPTOCELL register interface */ 3172 3173 /* Register: CRYPTOCELL_ENABLE */ 3174 /* Description: Enable CRYPTOCELL subsystem. */ 3175 3176 /* Bit 0 : Enable or disable the CRYPTOCELL subsystem. */ 3177 #define CRYPTOCELL_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 3178 #define CRYPTOCELL_ENABLE_ENABLE_Msk (0x1UL << CRYPTOCELL_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 3179 #define CRYPTOCELL_ENABLE_ENABLE_Disabled (0x0UL) /*!< CRYPTOCELL subsystem disabled. */ 3180 #define CRYPTOCELL_ENABLE_ENABLE_Enabled (0x1UL) /*!< CRYPTOCELL subsystem enabled. */ 3181 3182 3183 /* Peripheral: CTI */ 3184 /* Description: Cross-Trigger Interface control. NOTE: this is not a separate peripheral, but describes CM33 functionality. */ 3185 3186 /* Register: CTI_CTICONTROL */ 3187 /* Description: CTI Control register */ 3188 3189 /* Bit 0 : Enables or disables the CTI. */ 3190 #define CTI_CTICONTROL_GLBEN_Pos (0UL) /*!< Position of GLBEN field. */ 3191 #define CTI_CTICONTROL_GLBEN_Msk (0x1UL << CTI_CTICONTROL_GLBEN_Pos) /*!< Bit mask of GLBEN field. */ 3192 #define CTI_CTICONTROL_GLBEN_Disabled (0x0UL) /*!< All cross-triggering mapping logic functionality is disabled. */ 3193 #define CTI_CTICONTROL_GLBEN_Enabled (0x1UL) /*!< Cross-triggering mapping logic functionality is enabled. */ 3194 3195 /* Register: CTI_CTIINTACK */ 3196 /* Description: CTI Interrupt Acknowledge register */ 3197 3198 /* Bit 7 : Acknowledges the ctitrigout 7 output. */ 3199 #define CTI_CTIINTACK_INTACK_7_Pos (7UL) /*!< Position of INTACK_7 field. */ 3200 #define CTI_CTIINTACK_INTACK_7_Msk (0x1UL << CTI_CTIINTACK_INTACK_7_Pos) /*!< Bit mask of INTACK_7 field. */ 3201 #define CTI_CTIINTACK_INTACK_7_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3202 3203 /* Bit 6 : Acknowledges the ctitrigout 6 output. */ 3204 #define CTI_CTIINTACK_INTACK_6_Pos (6UL) /*!< Position of INTACK_6 field. */ 3205 #define CTI_CTIINTACK_INTACK_6_Msk (0x1UL << CTI_CTIINTACK_INTACK_6_Pos) /*!< Bit mask of INTACK_6 field. */ 3206 #define CTI_CTIINTACK_INTACK_6_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3207 3208 /* Bit 5 : Acknowledges the ctitrigout 5 output. */ 3209 #define CTI_CTIINTACK_INTACK_5_Pos (5UL) /*!< Position of INTACK_5 field. */ 3210 #define CTI_CTIINTACK_INTACK_5_Msk (0x1UL << CTI_CTIINTACK_INTACK_5_Pos) /*!< Bit mask of INTACK_5 field. */ 3211 #define CTI_CTIINTACK_INTACK_5_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3212 3213 /* Bit 4 : Acknowledges the ctitrigout 4 output. */ 3214 #define CTI_CTIINTACK_INTACK_4_Pos (4UL) /*!< Position of INTACK_4 field. */ 3215 #define CTI_CTIINTACK_INTACK_4_Msk (0x1UL << CTI_CTIINTACK_INTACK_4_Pos) /*!< Bit mask of INTACK_4 field. */ 3216 #define CTI_CTIINTACK_INTACK_4_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3217 3218 /* Bit 3 : Acknowledges the ctitrigout 3 output. */ 3219 #define CTI_CTIINTACK_INTACK_3_Pos (3UL) /*!< Position of INTACK_3 field. */ 3220 #define CTI_CTIINTACK_INTACK_3_Msk (0x1UL << CTI_CTIINTACK_INTACK_3_Pos) /*!< Bit mask of INTACK_3 field. */ 3221 #define CTI_CTIINTACK_INTACK_3_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3222 3223 /* Bit 2 : Acknowledges the ctitrigout 2 output. */ 3224 #define CTI_CTIINTACK_INTACK_2_Pos (2UL) /*!< Position of INTACK_2 field. */ 3225 #define CTI_CTIINTACK_INTACK_2_Msk (0x1UL << CTI_CTIINTACK_INTACK_2_Pos) /*!< Bit mask of INTACK_2 field. */ 3226 #define CTI_CTIINTACK_INTACK_2_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3227 3228 /* Bit 1 : Acknowledges the ctitrigout 1 output. */ 3229 #define CTI_CTIINTACK_INTACK_1_Pos (1UL) /*!< Position of INTACK_1 field. */ 3230 #define CTI_CTIINTACK_INTACK_1_Msk (0x1UL << CTI_CTIINTACK_INTACK_1_Pos) /*!< Bit mask of INTACK_1 field. */ 3231 #define CTI_CTIINTACK_INTACK_1_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3232 3233 /* Bit 0 : Acknowledges the ctitrigout 0 output. */ 3234 #define CTI_CTIINTACK_INTACK_0_Pos (0UL) /*!< Position of INTACK_0 field. */ 3235 #define CTI_CTIINTACK_INTACK_0_Msk (0x1UL << CTI_CTIINTACK_INTACK_0_Pos) /*!< Bit mask of INTACK_0 field. */ 3236 #define CTI_CTIINTACK_INTACK_0_Acknowledge (0x1UL) /*!< Clears the ctitrigout. */ 3237 3238 /* Register: CTI_CTIAPPSET */ 3239 /* Description: CTI Application Trigger Set register */ 3240 3241 /* Bit 3 : Application trigger event for channel 3. */ 3242 #define CTI_CTIAPPSET_APPSET_3_Pos (3UL) /*!< Position of APPSET_3 field. */ 3243 #define CTI_CTIAPPSET_APPSET_3_Msk (0x1UL << CTI_CTIAPPSET_APPSET_3_Pos) /*!< Bit mask of APPSET_3 field. */ 3244 #define CTI_CTIAPPSET_APPSET_3_Inactive (0x0UL) /*!< Application trigger 3 is inactive. */ 3245 #define CTI_CTIAPPSET_APPSET_3_Active (0x1UL) /*!< Application trigger 3 is active. */ 3246 #define CTI_CTIAPPSET_APPSET_3_Activate (0x1UL) /*!< Generate channel event for channel 3. */ 3247 3248 /* Bit 2 : Application trigger event for channel 2. */ 3249 #define CTI_CTIAPPSET_APPSET_2_Pos (2UL) /*!< Position of APPSET_2 field. */ 3250 #define CTI_CTIAPPSET_APPSET_2_Msk (0x1UL << CTI_CTIAPPSET_APPSET_2_Pos) /*!< Bit mask of APPSET_2 field. */ 3251 #define CTI_CTIAPPSET_APPSET_2_Inactive (0x0UL) /*!< Application trigger 2 is inactive. */ 3252 #define CTI_CTIAPPSET_APPSET_2_Active (0x1UL) /*!< Application trigger 2 is active. */ 3253 #define CTI_CTIAPPSET_APPSET_2_Activate (0x1UL) /*!< Generate channel event for channel 2. */ 3254 3255 /* Bit 1 : Application trigger event for channel 1. */ 3256 #define CTI_CTIAPPSET_APPSET_1_Pos (1UL) /*!< Position of APPSET_1 field. */ 3257 #define CTI_CTIAPPSET_APPSET_1_Msk (0x1UL << CTI_CTIAPPSET_APPSET_1_Pos) /*!< Bit mask of APPSET_1 field. */ 3258 #define CTI_CTIAPPSET_APPSET_1_Inactive (0x0UL) /*!< Application trigger 1 is inactive. */ 3259 #define CTI_CTIAPPSET_APPSET_1_Active (0x1UL) /*!< Application trigger 1 is active. */ 3260 #define CTI_CTIAPPSET_APPSET_1_Activate (0x1UL) /*!< Generate channel event for channel 1. */ 3261 3262 /* Bit 0 : Application trigger event for channel 0. */ 3263 #define CTI_CTIAPPSET_APPSET_0_Pos (0UL) /*!< Position of APPSET_0 field. */ 3264 #define CTI_CTIAPPSET_APPSET_0_Msk (0x1UL << CTI_CTIAPPSET_APPSET_0_Pos) /*!< Bit mask of APPSET_0 field. */ 3265 #define CTI_CTIAPPSET_APPSET_0_Inactive (0x0UL) /*!< Application trigger 0 is inactive. */ 3266 #define CTI_CTIAPPSET_APPSET_0_Active (0x1UL) /*!< Application trigger 0 is active. */ 3267 #define CTI_CTIAPPSET_APPSET_0_Activate (0x1UL) /*!< Generate channel event for channel 0. */ 3268 3269 /* Register: CTI_CTIAPPCLEAR */ 3270 /* Description: CTI Application Trigger Clear register */ 3271 3272 /* Bit 3 : Sets the corresponding bits in the CTIAPPSET to 0. There is one bit of the register for each channel. */ 3273 #define CTI_CTIAPPCLEAR_APPCLEAR_3_Pos (3UL) /*!< Position of APPCLEAR_3 field. */ 3274 #define CTI_CTIAPPCLEAR_APPCLEAR_3_Msk (0x1UL << CTI_CTIAPPCLEAR_APPCLEAR_3_Pos) /*!< Bit mask of APPCLEAR_3 field. */ 3275 #define CTI_CTIAPPCLEAR_APPCLEAR_3_Clear (0x1UL) /*!< Clears the event for channel 3. */ 3276 3277 /* Bit 2 : Sets the corresponding bits in the CTIAPPSET to 0. There is one bit of the register for each channel. */ 3278 #define CTI_CTIAPPCLEAR_APPCLEAR_2_Pos (2UL) /*!< Position of APPCLEAR_2 field. */ 3279 #define CTI_CTIAPPCLEAR_APPCLEAR_2_Msk (0x1UL << CTI_CTIAPPCLEAR_APPCLEAR_2_Pos) /*!< Bit mask of APPCLEAR_2 field. */ 3280 #define CTI_CTIAPPCLEAR_APPCLEAR_2_Clear (0x1UL) /*!< Clears the event for channel 2. */ 3281 3282 /* Bit 1 : Sets the corresponding bits in the CTIAPPSET to 0. There is one bit of the register for each channel. */ 3283 #define CTI_CTIAPPCLEAR_APPCLEAR_1_Pos (1UL) /*!< Position of APPCLEAR_1 field. */ 3284 #define CTI_CTIAPPCLEAR_APPCLEAR_1_Msk (0x1UL << CTI_CTIAPPCLEAR_APPCLEAR_1_Pos) /*!< Bit mask of APPCLEAR_1 field. */ 3285 #define CTI_CTIAPPCLEAR_APPCLEAR_1_Clear (0x1UL) /*!< Clears the event for channel 1. */ 3286 3287 /* Bit 0 : Sets the corresponding bits in the CTIAPPSET to 0. There is one bit of the register for each channel. */ 3288 #define CTI_CTIAPPCLEAR_APPCLEAR_0_Pos (0UL) /*!< Position of APPCLEAR_0 field. */ 3289 #define CTI_CTIAPPCLEAR_APPCLEAR_0_Msk (0x1UL << CTI_CTIAPPCLEAR_APPCLEAR_0_Pos) /*!< Bit mask of APPCLEAR_0 field. */ 3290 #define CTI_CTIAPPCLEAR_APPCLEAR_0_Clear (0x1UL) /*!< Clears the event for channel 0. */ 3291 3292 /* Register: CTI_CTIAPPPULSE */ 3293 /* Description: CTI Application Pulse register */ 3294 3295 /* Bit 3 : Setting a bit HIGH generates a channel event pulse for the selected channel. There is one bit of the register for each channel. */ 3296 #define CTI_CTIAPPPULSE_APPULSE_3_Pos (3UL) /*!< Position of APPULSE_3 field. */ 3297 #define CTI_CTIAPPPULSE_APPULSE_3_Msk (0x1UL << CTI_CTIAPPPULSE_APPULSE_3_Pos) /*!< Bit mask of APPULSE_3 field. */ 3298 #define CTI_CTIAPPPULSE_APPULSE_3_Generate (0x1UL) /*!< Generates an event pulse on channel 3. */ 3299 3300 /* Bit 2 : Setting a bit HIGH generates a channel event pulse for the selected channel. There is one bit of the register for each channel. */ 3301 #define CTI_CTIAPPPULSE_APPULSE_2_Pos (2UL) /*!< Position of APPULSE_2 field. */ 3302 #define CTI_CTIAPPPULSE_APPULSE_2_Msk (0x1UL << CTI_CTIAPPPULSE_APPULSE_2_Pos) /*!< Bit mask of APPULSE_2 field. */ 3303 #define CTI_CTIAPPPULSE_APPULSE_2_Generate (0x1UL) /*!< Generates an event pulse on channel 2. */ 3304 3305 /* Bit 1 : Setting a bit HIGH generates a channel event pulse for the selected channel. There is one bit of the register for each channel. */ 3306 #define CTI_CTIAPPPULSE_APPULSE_1_Pos (1UL) /*!< Position of APPULSE_1 field. */ 3307 #define CTI_CTIAPPPULSE_APPULSE_1_Msk (0x1UL << CTI_CTIAPPPULSE_APPULSE_1_Pos) /*!< Bit mask of APPULSE_1 field. */ 3308 #define CTI_CTIAPPPULSE_APPULSE_1_Generate (0x1UL) /*!< Generates an event pulse on channel 1. */ 3309 3310 /* Bit 0 : Setting a bit HIGH generates a channel event pulse for the selected channel. There is one bit of the register for each channel. */ 3311 #define CTI_CTIAPPPULSE_APPULSE_0_Pos (0UL) /*!< Position of APPULSE_0 field. */ 3312 #define CTI_CTIAPPPULSE_APPULSE_0_Msk (0x1UL << CTI_CTIAPPPULSE_APPULSE_0_Pos) /*!< Bit mask of APPULSE_0 field. */ 3313 #define CTI_CTIAPPPULSE_APPULSE_0_Generate (0x1UL) /*!< Generates an event pulse on channel 0. */ 3314 3315 /* Register: CTI_CTIINEN */ 3316 /* Description: Description collection: CTI Trigger to Channel Enable register */ 3317 3318 /* Bit 3 : Enables a cross trigger event to channel 3 when a ctitrigin input is activated. */ 3319 #define CTI_CTIINEN_TRIGINEN_3_Pos (3UL) /*!< Position of TRIGINEN_3 field. */ 3320 #define CTI_CTIINEN_TRIGINEN_3_Msk (0x1UL << CTI_CTIINEN_TRIGINEN_3_Pos) /*!< Bit mask of TRIGINEN_3 field. */ 3321 #define CTI_CTIINEN_TRIGINEN_3_Disabled (0x0UL) /*!< Input trigger n events are ignored by channel 3. */ 3322 #define CTI_CTIINEN_TRIGINEN_3_Enabled (0x1UL) /*!< When an event is received on input trigger n (ctitrigin[n]), generate an event on channel 3. */ 3323 3324 /* Bit 2 : Enables a cross trigger event to channel 2 when a ctitrigin input is activated. */ 3325 #define CTI_CTIINEN_TRIGINEN_2_Pos (2UL) /*!< Position of TRIGINEN_2 field. */ 3326 #define CTI_CTIINEN_TRIGINEN_2_Msk (0x1UL << CTI_CTIINEN_TRIGINEN_2_Pos) /*!< Bit mask of TRIGINEN_2 field. */ 3327 #define CTI_CTIINEN_TRIGINEN_2_Disabled (0x0UL) /*!< Input trigger n events are ignored by channel 2. */ 3328 #define CTI_CTIINEN_TRIGINEN_2_Enabled (0x1UL) /*!< When an event is received on input trigger n (ctitrigin[n]), generate an event on channel 2. */ 3329 3330 /* Bit 1 : Enables a cross trigger event to channel 1 when a ctitrigin input is activated. */ 3331 #define CTI_CTIINEN_TRIGINEN_1_Pos (1UL) /*!< Position of TRIGINEN_1 field. */ 3332 #define CTI_CTIINEN_TRIGINEN_1_Msk (0x1UL << CTI_CTIINEN_TRIGINEN_1_Pos) /*!< Bit mask of TRIGINEN_1 field. */ 3333 #define CTI_CTIINEN_TRIGINEN_1_Disabled (0x0UL) /*!< Input trigger n events are ignored by channel 1. */ 3334 #define CTI_CTIINEN_TRIGINEN_1_Enabled (0x1UL) /*!< When an event is received on input trigger n (ctitrigin[n]), generate an event on channel 1. */ 3335 3336 /* Bit 0 : Enables a cross trigger event to channel 0 when a ctitrigin input is activated. */ 3337 #define CTI_CTIINEN_TRIGINEN_0_Pos (0UL) /*!< Position of TRIGINEN_0 field. */ 3338 #define CTI_CTIINEN_TRIGINEN_0_Msk (0x1UL << CTI_CTIINEN_TRIGINEN_0_Pos) /*!< Bit mask of TRIGINEN_0 field. */ 3339 #define CTI_CTIINEN_TRIGINEN_0_Disabled (0x0UL) /*!< Input trigger n events are ignored by channel 0. */ 3340 #define CTI_CTIINEN_TRIGINEN_0_Enabled (0x1UL) /*!< When an event is received on input trigger n (ctitrigin[n]), generate an event on channel 0. */ 3341 3342 /* Register: CTI_CTIOUTEN */ 3343 /* Description: Description collection: CTI Channel to Trigger Enable register */ 3344 3345 /* Bit 3 : Enables a cross trigger event to ctitrigout when channel 3 is activated. */ 3346 #define CTI_CTIOUTEN_TRIGOUTEN_3_Pos (3UL) /*!< Position of TRIGOUTEN_3 field. */ 3347 #define CTI_CTIOUTEN_TRIGOUTEN_3_Msk (0x1UL << CTI_CTIOUTEN_TRIGOUTEN_3_Pos) /*!< Bit mask of TRIGOUTEN_3 field. */ 3348 #define CTI_CTIOUTEN_TRIGOUTEN_3_Disabled (0x0UL) /*!< Channel 3 is ignored by output trigger n. */ 3349 #define CTI_CTIOUTEN_TRIGOUTEN_3_Enabled (0x1UL) /*!< When an event occurs on channel 3, generate an event on output event n (ctitrigout[n]). */ 3350 3351 /* Bit 2 : Enables a cross trigger event to ctitrigout when channel 2 is activated. */ 3352 #define CTI_CTIOUTEN_TRIGOUTEN_2_Pos (2UL) /*!< Position of TRIGOUTEN_2 field. */ 3353 #define CTI_CTIOUTEN_TRIGOUTEN_2_Msk (0x1UL << CTI_CTIOUTEN_TRIGOUTEN_2_Pos) /*!< Bit mask of TRIGOUTEN_2 field. */ 3354 #define CTI_CTIOUTEN_TRIGOUTEN_2_Disabled (0x0UL) /*!< Channel 2 is ignored by output trigger n. */ 3355 #define CTI_CTIOUTEN_TRIGOUTEN_2_Enabled (0x1UL) /*!< When an event occurs on channel 2, generate an event on output event n (ctitrigout[n]). */ 3356 3357 /* Bit 1 : Enables a cross trigger event to ctitrigout when channel 1 is activated. */ 3358 #define CTI_CTIOUTEN_TRIGOUTEN_1_Pos (1UL) /*!< Position of TRIGOUTEN_1 field. */ 3359 #define CTI_CTIOUTEN_TRIGOUTEN_1_Msk (0x1UL << CTI_CTIOUTEN_TRIGOUTEN_1_Pos) /*!< Bit mask of TRIGOUTEN_1 field. */ 3360 #define CTI_CTIOUTEN_TRIGOUTEN_1_Disabled (0x0UL) /*!< Channel 1 is ignored by output trigger n. */ 3361 #define CTI_CTIOUTEN_TRIGOUTEN_1_Enabled (0x1UL) /*!< When an event occurs on channel 1, generate an event on output event n (ctitrigout[n]). */ 3362 3363 /* Bit 0 : Enables a cross trigger event to ctitrigout when channel 0 is activated. */ 3364 #define CTI_CTIOUTEN_TRIGOUTEN_0_Pos (0UL) /*!< Position of TRIGOUTEN_0 field. */ 3365 #define CTI_CTIOUTEN_TRIGOUTEN_0_Msk (0x1UL << CTI_CTIOUTEN_TRIGOUTEN_0_Pos) /*!< Bit mask of TRIGOUTEN_0 field. */ 3366 #define CTI_CTIOUTEN_TRIGOUTEN_0_Disabled (0x0UL) /*!< Channel 0 is ignored by output trigger n. */ 3367 #define CTI_CTIOUTEN_TRIGOUTEN_0_Enabled (0x1UL) /*!< When an event occurs on channel 0, generate an event on output event n (ctitrigout[n]). */ 3368 3369 /* Register: CTI_CTITRIGINSTATUS */ 3370 /* Description: CTI Trigger In Status register */ 3371 3372 /* Bit 7 : Shows the status of ctitrigin7 input. */ 3373 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_7_Pos (7UL) /*!< Position of TRIGINSTATUS_7 field. */ 3374 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_7_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_7_Pos) /*!< Bit mask of TRIGINSTATUS_7 field. */ 3375 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_7_Inactive (0x0UL) /*!< Ctitrigin 7 is inactive. */ 3376 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_7_Active (0x1UL) /*!< Ctitrigin 7 is active. */ 3377 3378 /* Bit 6 : Shows the status of ctitrigin6 input. */ 3379 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_6_Pos (6UL) /*!< Position of TRIGINSTATUS_6 field. */ 3380 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_6_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_6_Pos) /*!< Bit mask of TRIGINSTATUS_6 field. */ 3381 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_6_Inactive (0x0UL) /*!< Ctitrigin 6 is inactive. */ 3382 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_6_Active (0x1UL) /*!< Ctitrigin 6 is active. */ 3383 3384 /* Bit 5 : Shows the status of ctitrigin5 input. */ 3385 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_5_Pos (5UL) /*!< Position of TRIGINSTATUS_5 field. */ 3386 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_5_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_5_Pos) /*!< Bit mask of TRIGINSTATUS_5 field. */ 3387 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_5_Inactive (0x0UL) /*!< Ctitrigin 5 is inactive. */ 3388 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_5_Active (0x1UL) /*!< Ctitrigin 5 is active. */ 3389 3390 /* Bit 4 : Shows the status of ctitrigin4 input. */ 3391 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_4_Pos (4UL) /*!< Position of TRIGINSTATUS_4 field. */ 3392 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_4_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_4_Pos) /*!< Bit mask of TRIGINSTATUS_4 field. */ 3393 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_4_Inactive (0x0UL) /*!< Ctitrigin 4 is inactive. */ 3394 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_4_Active (0x1UL) /*!< Ctitrigin 4 is active. */ 3395 3396 /* Bit 3 : Shows the status of ctitrigin3 input. */ 3397 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_3_Pos (3UL) /*!< Position of TRIGINSTATUS_3 field. */ 3398 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_3_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_3_Pos) /*!< Bit mask of TRIGINSTATUS_3 field. */ 3399 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_3_Inactive (0x0UL) /*!< Ctitrigin 3 is inactive. */ 3400 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_3_Active (0x1UL) /*!< Ctitrigin 3 is active. */ 3401 3402 /* Bit 2 : Shows the status of ctitrigin2 input. */ 3403 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_2_Pos (2UL) /*!< Position of TRIGINSTATUS_2 field. */ 3404 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_2_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_2_Pos) /*!< Bit mask of TRIGINSTATUS_2 field. */ 3405 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_2_Inactive (0x0UL) /*!< Ctitrigin 2 is inactive. */ 3406 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_2_Active (0x1UL) /*!< Ctitrigin 2 is active. */ 3407 3408 /* Bit 1 : Shows the status of ctitrigin1 input. */ 3409 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_1_Pos (1UL) /*!< Position of TRIGINSTATUS_1 field. */ 3410 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_1_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_1_Pos) /*!< Bit mask of TRIGINSTATUS_1 field. */ 3411 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_1_Inactive (0x0UL) /*!< Ctitrigin 1 is inactive. */ 3412 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_1_Active (0x1UL) /*!< Ctitrigin 1 is active. */ 3413 3414 /* Bit 0 : Shows the status of ctitrigin0 input. */ 3415 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_0_Pos (0UL) /*!< Position of TRIGINSTATUS_0 field. */ 3416 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_0_Msk (0x1UL << CTI_CTITRIGINSTATUS_TRIGINSTATUS_0_Pos) /*!< Bit mask of TRIGINSTATUS_0 field. */ 3417 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_0_Inactive (0x0UL) /*!< Ctitrigin 0 is inactive. */ 3418 #define CTI_CTITRIGINSTATUS_TRIGINSTATUS_0_Active (0x1UL) /*!< Ctitrigin 0 is active. */ 3419 3420 /* Register: CTI_CTITRIGOUTSTATUS */ 3421 /* Description: CTI Trigger Out Status register */ 3422 3423 /* Bit 7 : Shows the status of ctitrigout7 output. */ 3424 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_7_Pos (7UL) /*!< Position of TRIGOUTSTATUS_7 field. */ 3425 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_7_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_7_Pos) /*!< Bit mask of TRIGOUTSTATUS_7 field. */ 3426 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_7_Inactive (0x0UL) /*!< Ctitrigout 7 is inactive. */ 3427 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_7_Active (0x1UL) /*!< Ctitrigout 7 is active. */ 3428 3429 /* Bit 6 : Shows the status of ctitrigout6 output. */ 3430 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_6_Pos (6UL) /*!< Position of TRIGOUTSTATUS_6 field. */ 3431 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_6_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_6_Pos) /*!< Bit mask of TRIGOUTSTATUS_6 field. */ 3432 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_6_Inactive (0x0UL) /*!< Ctitrigout 6 is inactive. */ 3433 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_6_Active (0x1UL) /*!< Ctitrigout 6 is active. */ 3434 3435 /* Bit 5 : Shows the status of ctitrigout5 output. */ 3436 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_5_Pos (5UL) /*!< Position of TRIGOUTSTATUS_5 field. */ 3437 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_5_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_5_Pos) /*!< Bit mask of TRIGOUTSTATUS_5 field. */ 3438 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_5_Inactive (0x0UL) /*!< Ctitrigout 5 is inactive. */ 3439 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_5_Active (0x1UL) /*!< Ctitrigout 5 is active. */ 3440 3441 /* Bit 4 : Shows the status of ctitrigout4 output. */ 3442 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_4_Pos (4UL) /*!< Position of TRIGOUTSTATUS_4 field. */ 3443 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_4_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_4_Pos) /*!< Bit mask of TRIGOUTSTATUS_4 field. */ 3444 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_4_Inactive (0x0UL) /*!< Ctitrigout 4 is inactive. */ 3445 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_4_Active (0x1UL) /*!< Ctitrigout 4 is active. */ 3446 3447 /* Bit 3 : Shows the status of ctitrigout3 output. */ 3448 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_3_Pos (3UL) /*!< Position of TRIGOUTSTATUS_3 field. */ 3449 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_3_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_3_Pos) /*!< Bit mask of TRIGOUTSTATUS_3 field. */ 3450 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_3_Inactive (0x0UL) /*!< Ctitrigout 3 is inactive. */ 3451 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_3_Active (0x1UL) /*!< Ctitrigout 3 is active. */ 3452 3453 /* Bit 2 : Shows the status of ctitrigout2 output. */ 3454 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_2_Pos (2UL) /*!< Position of TRIGOUTSTATUS_2 field. */ 3455 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_2_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_2_Pos) /*!< Bit mask of TRIGOUTSTATUS_2 field. */ 3456 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_2_Inactive (0x0UL) /*!< Ctitrigout 2 is inactive. */ 3457 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_2_Active (0x1UL) /*!< Ctitrigout 2 is active. */ 3458 3459 /* Bit 1 : Shows the status of ctitrigout1 output. */ 3460 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_1_Pos (1UL) /*!< Position of TRIGOUTSTATUS_1 field. */ 3461 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_1_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_1_Pos) /*!< Bit mask of TRIGOUTSTATUS_1 field. */ 3462 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_1_Inactive (0x0UL) /*!< Ctitrigout 1 is inactive. */ 3463 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_1_Active (0x1UL) /*!< Ctitrigout 1 is active. */ 3464 3465 /* Bit 0 : Shows the status of ctitrigout0 output. */ 3466 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_0_Pos (0UL) /*!< Position of TRIGOUTSTATUS_0 field. */ 3467 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_0_Msk (0x1UL << CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_0_Pos) /*!< Bit mask of TRIGOUTSTATUS_0 field. */ 3468 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_0_Inactive (0x0UL) /*!< Ctitrigout 0 is inactive. */ 3469 #define CTI_CTITRIGOUTSTATUS_TRIGOUTSTATUS_0_Active (0x1UL) /*!< Ctitrigout 0 is active. */ 3470 3471 /* Register: CTI_CTICHINSTATUS */ 3472 /* Description: CTI Channel In Status register */ 3473 3474 /* Bit 3 : Shows the status of the ctitrigin 3 input. */ 3475 #define CTI_CTICHINSTATUS_CTICHINSTATUS_3_Pos (3UL) /*!< Position of CTICHINSTATUS_3 field. */ 3476 #define CTI_CTICHINSTATUS_CTICHINSTATUS_3_Msk (0x1UL << CTI_CTICHINSTATUS_CTICHINSTATUS_3_Pos) /*!< Bit mask of CTICHINSTATUS_3 field. */ 3477 #define CTI_CTICHINSTATUS_CTICHINSTATUS_3_Inactive (0x0UL) /*!< Ctichin 3 is inactive. */ 3478 #define CTI_CTICHINSTATUS_CTICHINSTATUS_3_Active (0x1UL) /*!< Ctichin 3 is active. */ 3479 3480 /* Bit 2 : Shows the status of the ctitrigin 2 input. */ 3481 #define CTI_CTICHINSTATUS_CTICHINSTATUS_2_Pos (2UL) /*!< Position of CTICHINSTATUS_2 field. */ 3482 #define CTI_CTICHINSTATUS_CTICHINSTATUS_2_Msk (0x1UL << CTI_CTICHINSTATUS_CTICHINSTATUS_2_Pos) /*!< Bit mask of CTICHINSTATUS_2 field. */ 3483 #define CTI_CTICHINSTATUS_CTICHINSTATUS_2_Inactive (0x0UL) /*!< Ctichin 2 is inactive. */ 3484 #define CTI_CTICHINSTATUS_CTICHINSTATUS_2_Active (0x1UL) /*!< Ctichin 2 is active. */ 3485 3486 /* Bit 1 : Shows the status of the ctitrigin 1 input. */ 3487 #define CTI_CTICHINSTATUS_CTICHINSTATUS_1_Pos (1UL) /*!< Position of CTICHINSTATUS_1 field. */ 3488 #define CTI_CTICHINSTATUS_CTICHINSTATUS_1_Msk (0x1UL << CTI_CTICHINSTATUS_CTICHINSTATUS_1_Pos) /*!< Bit mask of CTICHINSTATUS_1 field. */ 3489 #define CTI_CTICHINSTATUS_CTICHINSTATUS_1_Inactive (0x0UL) /*!< Ctichin 1 is inactive. */ 3490 #define CTI_CTICHINSTATUS_CTICHINSTATUS_1_Active (0x1UL) /*!< Ctichin 1 is active. */ 3491 3492 /* Bit 0 : Shows the status of the ctitrigin 0 input. */ 3493 #define CTI_CTICHINSTATUS_CTICHINSTATUS_0_Pos (0UL) /*!< Position of CTICHINSTATUS_0 field. */ 3494 #define CTI_CTICHINSTATUS_CTICHINSTATUS_0_Msk (0x1UL << CTI_CTICHINSTATUS_CTICHINSTATUS_0_Pos) /*!< Bit mask of CTICHINSTATUS_0 field. */ 3495 #define CTI_CTICHINSTATUS_CTICHINSTATUS_0_Inactive (0x0UL) /*!< Ctichin 0 is inactive. */ 3496 #define CTI_CTICHINSTATUS_CTICHINSTATUS_0_Active (0x1UL) /*!< Ctichin 0 is active. */ 3497 3498 /* Register: CTI_CTIGATE */ 3499 /* Description: Enable CTI Channel Gate register */ 3500 3501 /* Bit 3 : Enable ctichout3. */ 3502 #define CTI_CTIGATE_CTIGATEEN_3_Pos (3UL) /*!< Position of CTIGATEEN_3 field. */ 3503 #define CTI_CTIGATE_CTIGATEEN_3_Msk (0x1UL << CTI_CTIGATE_CTIGATEEN_3_Pos) /*!< Bit mask of CTIGATEEN_3 field. */ 3504 #define CTI_CTIGATE_CTIGATEEN_3_Disabled (0x0UL) /*!< Disable ctichout channel 3 propagation. */ 3505 #define CTI_CTIGATE_CTIGATEEN_3_Enabled (0x1UL) /*!< Enable ctichout channel 3 propagation. */ 3506 3507 /* Bit 2 : Enable ctichout2. */ 3508 #define CTI_CTIGATE_CTIGATEEN_2_Pos (2UL) /*!< Position of CTIGATEEN_2 field. */ 3509 #define CTI_CTIGATE_CTIGATEEN_2_Msk (0x1UL << CTI_CTIGATE_CTIGATEEN_2_Pos) /*!< Bit mask of CTIGATEEN_2 field. */ 3510 #define CTI_CTIGATE_CTIGATEEN_2_Disabled (0x0UL) /*!< Disable ctichout channel 2 propagation. */ 3511 #define CTI_CTIGATE_CTIGATEEN_2_Enabled (0x1UL) /*!< Enable ctichout channel 2 propagation. */ 3512 3513 /* Bit 1 : Enable ctichout1. */ 3514 #define CTI_CTIGATE_CTIGATEEN_1_Pos (1UL) /*!< Position of CTIGATEEN_1 field. */ 3515 #define CTI_CTIGATE_CTIGATEEN_1_Msk (0x1UL << CTI_CTIGATE_CTIGATEEN_1_Pos) /*!< Bit mask of CTIGATEEN_1 field. */ 3516 #define CTI_CTIGATE_CTIGATEEN_1_Disabled (0x0UL) /*!< Disable ctichout channel 1 propagation. */ 3517 #define CTI_CTIGATE_CTIGATEEN_1_Enabled (0x1UL) /*!< Enable ctichout channel 1 propagation. */ 3518 3519 /* Bit 0 : Enable ctichout0. */ 3520 #define CTI_CTIGATE_CTIGATEEN_0_Pos (0UL) /*!< Position of CTIGATEEN_0 field. */ 3521 #define CTI_CTIGATE_CTIGATEEN_0_Msk (0x1UL << CTI_CTIGATE_CTIGATEEN_0_Pos) /*!< Bit mask of CTIGATEEN_0 field. */ 3522 #define CTI_CTIGATE_CTIGATEEN_0_Disabled (0x0UL) /*!< Disable ctichout channel 0 propagation. */ 3523 #define CTI_CTIGATE_CTIGATEEN_0_Enabled (0x1UL) /*!< Enable ctichout channel 0 propagation. */ 3524 3525 /* Register: CTI_DEVARCH */ 3526 /* Description: Device Architecture register */ 3527 3528 /* Bit 0 : Contains the CTI device architecture. */ 3529 #define CTI_DEVARCH_Architecture_Pos (0UL) /*!< Position of Architecture field. */ 3530 #define CTI_DEVARCH_Architecture_Msk (0x1UL << CTI_DEVARCH_Architecture_Pos) /*!< Bit mask of Architecture field. */ 3531 3532 /* Register: CTI_DEVID */ 3533 /* Description: Device Configuration register */ 3534 3535 /* Bits 19..16 : Number of ECT channels available. */ 3536 #define CTI_DEVID_NUMCH_Pos (16UL) /*!< Position of NUMCH field. */ 3537 #define CTI_DEVID_NUMCH_Msk (0xFUL << CTI_DEVID_NUMCH_Pos) /*!< Bit mask of NUMCH field. */ 3538 3539 /* Bits 15..8 : Number of ECT triggers available. */ 3540 #define CTI_DEVID_NUMTRIG_Pos (8UL) /*!< Position of NUMTRIG field. */ 3541 #define CTI_DEVID_NUMTRIG_Msk (0xFFUL << CTI_DEVID_NUMTRIG_Pos) /*!< Bit mask of NUMTRIG field. */ 3542 3543 /* Bits 4..0 : Indicates the number of multiplexers available on Trigger Inputs and Trigger Outputs that are using asicctl. 3544 The default value of 0b00000 indicates that no multiplexing is present. */ 3545 #define CTI_DEVID_EXTMUXNUM_Pos (0UL) /*!< Position of EXTMUXNUM field. */ 3546 #define CTI_DEVID_EXTMUXNUM_Msk (0x1FUL << CTI_DEVID_EXTMUXNUM_Pos) /*!< Bit mask of EXTMUXNUM field. */ 3547 3548 /* Register: CTI_DEVTYPE */ 3549 /* Description: Device Type Identifier register */ 3550 3551 /* Bits 7..4 : Sub-classification of the type of the debug component as specified in the Arm Architecture Specification within 3552 the major classification as specified in the MAJOR field. */ 3553 #define CTI_DEVTYPE_SUB_Pos (4UL) /*!< Position of SUB field. */ 3554 #define CTI_DEVTYPE_SUB_Msk (0xFUL << CTI_DEVTYPE_SUB_Pos) /*!< Bit mask of SUB field. */ 3555 #define CTI_DEVTYPE_SUB_Crosstrigger (0x1UL) /*!< Indicates that this component is a sub-triggering component. */ 3556 3557 /* Bits 3..0 : Major classification of the type of the debug component as specified in the Arm Architecture Specification for this 3558 debug and trace component. */ 3559 #define CTI_DEVTYPE_MAJOR_Pos (0UL) /*!< Position of MAJOR field. */ 3560 #define CTI_DEVTYPE_MAJOR_Msk (0xFUL << CTI_DEVTYPE_MAJOR_Pos) /*!< Bit mask of MAJOR field. */ 3561 #define CTI_DEVTYPE_MAJOR_Controller (0x4UL) /*!< Indicates that this component allows a debugger to control other components in an Arm CoreSight SoC-400 system. */ 3562 3563 /* Register: CTI_PIDR4 */ 3564 /* Description: Peripheral ID4 Register */ 3565 3566 /* Bits 7..4 : Always 0b0000. Indicates that the device only occupies 4KB of memory. */ 3567 #define CTI_PIDR4_SIZE_Pos (4UL) /*!< Position of SIZE field. */ 3568 #define CTI_PIDR4_SIZE_Msk (0xFUL << CTI_PIDR4_SIZE_Pos) /*!< Bit mask of SIZE field. */ 3569 3570 /* Bits 3..0 : Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component. */ 3571 #define CTI_PIDR4_DES_2_Pos (0UL) /*!< Position of DES_2 field. */ 3572 #define CTI_PIDR4_DES_2_Msk (0xFUL << CTI_PIDR4_DES_2_Pos) /*!< Bit mask of DES_2 field. */ 3573 #define CTI_PIDR4_DES_2_Code (0x4UL) /*!< JEDEC continuation code. */ 3574 3575 /* Register: CTI_PIDR0 */ 3576 /* Description: Peripheral ID0 Register */ 3577 3578 /* Bits 7..0 : Bits[7:0] of the 12-bit part number of the component. The designer of the component assigns this part number. */ 3579 #define CTI_PIDR0_PART_0_Pos (0UL) /*!< Position of PART_0 field. */ 3580 #define CTI_PIDR0_PART_0_Msk (0xFFUL << CTI_PIDR0_PART_0_Pos) /*!< Bit mask of PART_0 field. */ 3581 #define CTI_PIDR0_PART_0_PartnumberL (0x21UL) /*!< Indicates bits[7:0] of the part number of the component. */ 3582 3583 /* Register: CTI_PIDR1 */ 3584 /* Description: Peripheral ID1 Register */ 3585 3586 /* Bits 7..4 : Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component. */ 3587 #define CTI_PIDR1_DES_0_Pos (4UL) /*!< Position of DES_0 field. */ 3588 #define CTI_PIDR1_DES_0_Msk (0xFUL << CTI_PIDR1_DES_0_Pos) /*!< Bit mask of DES_0 field. */ 3589 #define CTI_PIDR1_DES_0_Arm (0xBUL) /*!< Arm. Bits[3:0] of the JEDEC JEP106 Identity Code */ 3590 3591 /* Bits 3..0 : Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this part number. */ 3592 #define CTI_PIDR1_PART_1_Pos (0UL) /*!< Position of PART_1 field. */ 3593 #define CTI_PIDR1_PART_1_Msk (0xFUL << CTI_PIDR1_PART_1_Pos) /*!< Bit mask of PART_1 field. */ 3594 #define CTI_PIDR1_PART_1_PartnumberH (0xDUL) /*!< Indicates bits[11:8] of the part number of the component. */ 3595 3596 /* Register: CTI_PIDR2 */ 3597 /* Description: Peripheral ID2 Register */ 3598 3599 /* Bits 7..4 : Peripheral revision */ 3600 #define CTI_PIDR2_REVISION_Pos (4UL) /*!< Position of REVISION field. */ 3601 #define CTI_PIDR2_REVISION_Msk (0xFUL << CTI_PIDR2_REVISION_Pos) /*!< Bit mask of REVISION field. */ 3602 #define CTI_PIDR2_REVISION_Rev0p0 (0x0UL) /*!< This device is at r0p0 */ 3603 3604 /* Bit 3 : Always 1. Indicates that the JEDEC-assigned designer ID is used. */ 3605 #define CTI_PIDR2_JEDEC_Pos (3UL) /*!< Position of JEDEC field. */ 3606 #define CTI_PIDR2_JEDEC_Msk (0x1UL << CTI_PIDR2_JEDEC_Pos) /*!< Bit mask of JEDEC field. */ 3607 3608 /* Bits 2..0 : Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component. */ 3609 #define CTI_PIDR2_DES_1_Pos (0UL) /*!< Position of DES_1 field. */ 3610 #define CTI_PIDR2_DES_1_Msk (0x7UL << CTI_PIDR2_DES_1_Pos) /*!< Bit mask of DES_1 field. */ 3611 #define CTI_PIDR2_DES_1_Arm (0x3UL) /*!< Arm. Bits[6:4] of the JEDEC JEP106 Identity Code */ 3612 3613 /* Register: CTI_PIDR3 */ 3614 /* Description: Peripheral ID3 Register */ 3615 3616 /* Bits 7..4 : Indicates minor errata fixes specific to the revision of the component being used, for example metal fixes after 3617 implementation. In most cases, this field is 0b0000. Arm recommends that the component designers ensure that a 3618 metal fix can change this field if required, for example, by driving it from registers that reset to 0b0000. */ 3619 #define CTI_PIDR3_REVAND_Pos (4UL) /*!< Position of REVAND field. */ 3620 #define CTI_PIDR3_REVAND_Msk (0xFUL << CTI_PIDR3_REVAND_Pos) /*!< Bit mask of REVAND field. */ 3621 #define CTI_PIDR3_REVAND_NoErrata (0x0UL) /*!< Indicates that there are no errata fixes to this component. */ 3622 3623 /* Bits 3..0 : Customer Modified. Indicates whether the customer has modified the behavior of the component. In most cases, 3624 this field is 0b0000. Customers change this value when they make authorized modifications to this component. */ 3625 #define CTI_PIDR3_CMOD_Pos (0UL) /*!< Position of CMOD field. */ 3626 #define CTI_PIDR3_CMOD_Msk (0xFUL << CTI_PIDR3_CMOD_Pos) /*!< Bit mask of CMOD field. */ 3627 #define CTI_PIDR3_CMOD_Unmodified (0x0UL) /*!< Indicates that the customer has not modified this component. */ 3628 3629 /* Register: CTI_CIDR0 */ 3630 /* Description: Component ID0 Register */ 3631 3632 /* Bits 7..0 : Preamble[0]. Contains bits[7:0] of the component identification code. */ 3633 #define CTI_CIDR0_PRMBL_0_Pos (0UL) /*!< Position of PRMBL_0 field. */ 3634 #define CTI_CIDR0_PRMBL_0_Msk (0xFFUL << CTI_CIDR0_PRMBL_0_Pos) /*!< Bit mask of PRMBL_0 field. */ 3635 #define CTI_CIDR0_PRMBL_0_Value (0x0DUL) /*!< Bits[7:0] of the identification code. */ 3636 3637 /* Register: CTI_CIDR1 */ 3638 /* Description: Component ID1 Register */ 3639 3640 /* Bits 7..4 : Class of the component, for example, whether the component is a ROM table or a generic CoreSight component. 3641 Contains bits[15:12] of the component identification code */ 3642 #define CTI_CIDR1_CLASS_Pos (4UL) /*!< Position of CLASS field. */ 3643 #define CTI_CIDR1_CLASS_Msk (0xFUL << CTI_CIDR1_CLASS_Pos) /*!< Bit mask of CLASS field. */ 3644 #define CTI_CIDR1_CLASS_Coresight (0x9UL) /*!< Indicates that the component is a CoreSight component. */ 3645 3646 /* Bits 3..0 : Preamble[1]. Contains bits[11:8] of the component identification code. */ 3647 #define CTI_CIDR1_PRMBL_1_Pos (0UL) /*!< Position of PRMBL_1 field. */ 3648 #define CTI_CIDR1_PRMBL_1_Msk (0xFUL << CTI_CIDR1_PRMBL_1_Pos) /*!< Bit mask of PRMBL_1 field. */ 3649 #define CTI_CIDR1_PRMBL_1_Value (0x0UL) /*!< Bits[11:8] of the identification code. */ 3650 3651 /* Register: CTI_CIDR2 */ 3652 /* Description: Component ID2 Register */ 3653 3654 /* Bits 7..0 : Preamble[2]. Contains bits[23:16] of the component identification code. */ 3655 #define CTI_CIDR2_PRMBL_2_Pos (0UL) /*!< Position of PRMBL_2 field. */ 3656 #define CTI_CIDR2_PRMBL_2_Msk (0xFFUL << CTI_CIDR2_PRMBL_2_Pos) /*!< Bit mask of PRMBL_2 field. */ 3657 #define CTI_CIDR2_PRMBL_2_Value (0x05UL) /*!< Bits[23:16] of the identification code. */ 3658 3659 /* Register: CTI_CIDR3 */ 3660 /* Description: Component ID3 Register */ 3661 3662 /* Bits 7..0 : Preamble[3]. Contains bits[31:24] of the component identification code. */ 3663 #define CTI_CIDR3_PRMBL_3_Pos (0UL) /*!< Position of PRMBL_3 field. */ 3664 #define CTI_CIDR3_PRMBL_3_Msk (0xFFUL << CTI_CIDR3_PRMBL_3_Pos) /*!< Bit mask of PRMBL_3 field. */ 3665 #define CTI_CIDR3_PRMBL_3_Value (0xB1UL) /*!< Bits[31:24] of the identification code. */ 3666 3667 3668 /* Peripheral: CTRLAPPERI */ 3669 /* Description: Control access port 0 */ 3670 3671 /* Register: CTRLAPPERI_MAILBOX_RXDATA */ 3672 /* Description: Data sent from the debugger to the CPU. */ 3673 3674 /* Bits 31..0 : Data received from debugger */ 3675 #define CTRLAPPERI_MAILBOX_RXDATA_RXDATA_Pos (0UL) /*!< Position of RXDATA field. */ 3676 #define CTRLAPPERI_MAILBOX_RXDATA_RXDATA_Msk (0xFFFFFFFFUL << CTRLAPPERI_MAILBOX_RXDATA_RXDATA_Pos) /*!< Bit mask of RXDATA field. */ 3677 3678 /* Register: CTRLAPPERI_MAILBOX_RXSTATUS */ 3679 /* Description: This register shows a status that indicates if data sent from the debugger to the CPU has been read. */ 3680 3681 /* Bit 0 : Status of data in register RXDATA */ 3682 #define CTRLAPPERI_MAILBOX_RXSTATUS_RXSTATUS_Pos (0UL) /*!< Position of RXSTATUS field. */ 3683 #define CTRLAPPERI_MAILBOX_RXSTATUS_RXSTATUS_Msk (0x1UL << CTRLAPPERI_MAILBOX_RXSTATUS_RXSTATUS_Pos) /*!< Bit mask of RXSTATUS field. */ 3684 #define CTRLAPPERI_MAILBOX_RXSTATUS_RXSTATUS_NoDataPending (0x0UL) /*!< No data pending in register RXDATA */ 3685 #define CTRLAPPERI_MAILBOX_RXSTATUS_RXSTATUS_DataPending (0x1UL) /*!< Data pending in register RXDATA */ 3686 3687 /* Register: CTRLAPPERI_MAILBOX_TXDATA */ 3688 /* Description: Data sent from the CPU to the debugger. */ 3689 3690 /* Bits 31..0 : Data sent to debugger */ 3691 #define CTRLAPPERI_MAILBOX_TXDATA_TXDATA_Pos (0UL) /*!< Position of TXDATA field. */ 3692 #define CTRLAPPERI_MAILBOX_TXDATA_TXDATA_Msk (0xFFFFFFFFUL << CTRLAPPERI_MAILBOX_TXDATA_TXDATA_Pos) /*!< Bit mask of TXDATA field. */ 3693 3694 /* Register: CTRLAPPERI_MAILBOX_TXSTATUS */ 3695 /* Description: This register shows a status that indicates if the data sent from the CPU to the debugger has been read. */ 3696 3697 /* Bit 0 : Status of data in register TXDATA */ 3698 #define CTRLAPPERI_MAILBOX_TXSTATUS_TXSTATUS_Pos (0UL) /*!< Position of TXSTATUS field. */ 3699 #define CTRLAPPERI_MAILBOX_TXSTATUS_TXSTATUS_Msk (0x1UL << CTRLAPPERI_MAILBOX_TXSTATUS_TXSTATUS_Pos) /*!< Bit mask of TXSTATUS field. */ 3700 #define CTRLAPPERI_MAILBOX_TXSTATUS_TXSTATUS_NoDataPending (0x0UL) /*!< No data pending in register TXDATA */ 3701 #define CTRLAPPERI_MAILBOX_TXSTATUS_TXSTATUS_DataPending (0x1UL) /*!< Data pending in register TXDATA */ 3702 3703 /* Register: CTRLAPPERI_ERASEPROTECT_LOCK */ 3704 /* Description: This register locks the ERASEPROTECT.DISABLE register from being written until next reset. */ 3705 3706 /* Bit 0 : Lock ERASEPROTECT.DISABLE register from being written until next reset */ 3707 #define CTRLAPPERI_ERASEPROTECT_LOCK_LOCK_Pos (0UL) /*!< Position of LOCK field. */ 3708 #define CTRLAPPERI_ERASEPROTECT_LOCK_LOCK_Msk (0x1UL << CTRLAPPERI_ERASEPROTECT_LOCK_LOCK_Pos) /*!< Bit mask of LOCK field. */ 3709 #define CTRLAPPERI_ERASEPROTECT_LOCK_LOCK_Unlocked (0x0UL) /*!< Register ERASEPROTECT.DISABLE is writeable */ 3710 #define CTRLAPPERI_ERASEPROTECT_LOCK_LOCK_Locked (0x1UL) /*!< Register ERASEPROTECT.DISABLE is read-only */ 3711 3712 /* Register: CTRLAPPERI_ERASEPROTECT_DISABLE */ 3713 /* Description: This register disables the ERASEPROTECT register and performs an ERASEALL operation. */ 3714 3715 /* Bits 31..0 : The ERASEALL sequence is initiated if the value of the KEY fields are non-zero and the KEY fields match on both the CPU and debugger sides. */ 3716 #define CTRLAPPERI_ERASEPROTECT_DISABLE_KEY_Pos (0UL) /*!< Position of KEY field. */ 3717 #define CTRLAPPERI_ERASEPROTECT_DISABLE_KEY_Msk (0xFFFFFFFFUL << CTRLAPPERI_ERASEPROTECT_DISABLE_KEY_Pos) /*!< Bit mask of KEY field. */ 3718 3719 /* Register: CTRLAPPERI_APPROTECT_LOCK */ 3720 /* Description: This register locks the APPROTECT.DISABLE register from being written to until next reset. */ 3721 3722 /* Bit 0 : Lock the APPROTECT.DISABLE register from being written to until next reset */ 3723 #define CTRLAPPERI_APPROTECT_LOCK_LOCK_Pos (0UL) /*!< Position of LOCK field. */ 3724 #define CTRLAPPERI_APPROTECT_LOCK_LOCK_Msk (0x1UL << CTRLAPPERI_APPROTECT_LOCK_LOCK_Pos) /*!< Bit mask of LOCK field. */ 3725 #define CTRLAPPERI_APPROTECT_LOCK_LOCK_Unlocked (0x0UL) /*!< Register APPROTECT.DISABLE is writeable */ 3726 #define CTRLAPPERI_APPROTECT_LOCK_LOCK_Locked (0x1UL) /*!< Register APPROTECT.DISABLE is read-only */ 3727 3728 /* Register: CTRLAPPERI_APPROTECT_DISABLE */ 3729 /* Description: This register disables the APPROTECT register and enables debug access to non-secure mode. */ 3730 3731 /* Bits 31..0 : If the value of the KEY field is non-zero, and the KEY fields match on both the 3732 CPU and debugger sides, disable APPROTECT and enable debug access to non-secure mode until 3733 the next pin reset, brown-out reset, power-on reset, or watchog timer reset. After reset the debugger side register has a fixed KEY value. To enable debug access, both CTRL-AP and UICR.APPROTECT protection needs to be disabled. */ 3734 #define CTRLAPPERI_APPROTECT_DISABLE_KEY_Pos (0UL) /*!< Position of KEY field. */ 3735 #define CTRLAPPERI_APPROTECT_DISABLE_KEY_Msk (0xFFFFFFFFUL << CTRLAPPERI_APPROTECT_DISABLE_KEY_Pos) /*!< Bit mask of KEY field. */ 3736 3737 /* Register: CTRLAPPERI_SECUREAPPROTECT_LOCK */ 3738 /* Description: This register locks the SECUREAPPROTECT.DISABLE register from being written until next reset. */ 3739 3740 /* Bit 0 : Lock register SECUREAPPROTECT.DISABLE from being written until next reset */ 3741 #define CTRLAPPERI_SECUREAPPROTECT_LOCK_LOCK_Pos (0UL) /*!< Position of LOCK field. */ 3742 #define CTRLAPPERI_SECUREAPPROTECT_LOCK_LOCK_Msk (0x1UL << CTRLAPPERI_SECUREAPPROTECT_LOCK_LOCK_Pos) /*!< Bit mask of LOCK field. */ 3743 #define CTRLAPPERI_SECUREAPPROTECT_LOCK_LOCK_Unlocked (0x0UL) /*!< Register SECUREAPPROTECT.DISABLE is writeable */ 3744 #define CTRLAPPERI_SECUREAPPROTECT_LOCK_LOCK_Locked (0x1UL) /*!< Register SECUREAPPROTECT.DISABLE is read-only */ 3745 3746 /* Register: CTRLAPPERI_SECUREAPPROTECT_DISABLE */ 3747 /* Description: This register disables the SECUREAPPROTECT register and enables debug access to secure mode. */ 3748 3749 /* Bits 31..0 : If the value of the KEY field is non-zero, and the KEY fields match on both the 3750 CPU and debugger sides, disable SECUREAPPROTECT and enable debug access to secure mode until 3751 the next pin reset, brown-out reset, power-on reset, or watchog timer reset. After reset the debugger side register has a fixed KEY value. To enable debug access, both CTRL-AP and UICR.SECUREAPPROTECT protection needs to be disabled. */ 3752 #define CTRLAPPERI_SECUREAPPROTECT_DISABLE_KEY_Pos (0UL) /*!< Position of KEY field. */ 3753 #define CTRLAPPERI_SECUREAPPROTECT_DISABLE_KEY_Msk (0xFFFFFFFFUL << CTRLAPPERI_SECUREAPPROTECT_DISABLE_KEY_Pos) /*!< Bit mask of KEY field. */ 3754 3755 /* Register: CTRLAPPERI_STATUS */ 3756 /* Description: Status bits for CTRL-AP peripheral. */ 3757 3758 /* Bit 2 : Status bit for device debug interface mode */ 3759 #define CTRLAPPERI_STATUS_DBGIFACEMODE_Pos (2UL) /*!< Position of DBGIFACEMODE field. */ 3760 #define CTRLAPPERI_STATUS_DBGIFACEMODE_Msk (0x1UL << CTRLAPPERI_STATUS_DBGIFACEMODE_Pos) /*!< Bit mask of DBGIFACEMODE field. */ 3761 #define CTRLAPPERI_STATUS_DBGIFACEMODE_Disabled (0x0UL) /*!< No debugger attached */ 3762 #define CTRLAPPERI_STATUS_DBGIFACEMODE_Enabled (0x1UL) /*!< Debugger is attached and device is in debug interface mode */ 3763 3764 /* Bit 1 : Status bit for UICR part of secure access port protection at last reset. */ 3765 #define CTRLAPPERI_STATUS_UICRSECUREAPPROTECT_Pos (1UL) /*!< Position of UICRSECUREAPPROTECT field. */ 3766 #define CTRLAPPERI_STATUS_UICRSECUREAPPROTECT_Msk (0x1UL << CTRLAPPERI_STATUS_UICRSECUREAPPROTECT_Pos) /*!< Bit mask of UICRSECUREAPPROTECT field. */ 3767 #define CTRLAPPERI_STATUS_UICRSECUREAPPROTECT_Enabled (0x0UL) /*!< SECUREAPPROTECT was enabled in UICR */ 3768 #define CTRLAPPERI_STATUS_UICRSECUREAPPROTECT_Disabled (0x1UL) /*!< SECUREAPPROTECT was disabled in UICR */ 3769 3770 /* Bit 0 : Status bit for UICR part of access port protection at last reset. */ 3771 #define CTRLAPPERI_STATUS_UICRAPPROTECT_Pos (0UL) /*!< Position of UICRAPPROTECT field. */ 3772 #define CTRLAPPERI_STATUS_UICRAPPROTECT_Msk (0x1UL << CTRLAPPERI_STATUS_UICRAPPROTECT_Pos) /*!< Bit mask of UICRAPPROTECT field. */ 3773 #define CTRLAPPERI_STATUS_UICRAPPROTECT_Enabled (0x0UL) /*!< APPROTECT was enabled in UICR */ 3774 #define CTRLAPPERI_STATUS_UICRAPPROTECT_Disabled (0x1UL) /*!< APPROTECT wasdisabled in UICR */ 3775 3776 3777 /* Peripheral: DCNF */ 3778 /* Description: Domain configuration management 0 */ 3779 3780 /* Register: DCNF_CPUID */ 3781 /* Description: CPU ID of this subsystem */ 3782 3783 /* Bits 7..0 : CPU ID */ 3784 #define DCNF_CPUID_CPUID_Pos (0UL) /*!< Position of CPUID field. */ 3785 #define DCNF_CPUID_CPUID_Msk (0xFFUL << DCNF_CPUID_CPUID_Pos) /*!< Bit mask of CPUID field. */ 3786 3787 /* Register: DCNF_EXTPERI_PROTECT */ 3788 /* Description: Description cluster: Control access for master connected to AMLI master port EXTPERI[n] */ 3789 3790 /* Bit 0 : Control access to slave 0 of master EXTPERI[n] */ 3791 #define DCNF_EXTPERI_PROTECT_SLAVE0_Pos (0UL) /*!< Position of SLAVE0 field. */ 3792 #define DCNF_EXTPERI_PROTECT_SLAVE0_Msk (0x1UL << DCNF_EXTPERI_PROTECT_SLAVE0_Pos) /*!< Bit mask of SLAVE0 field. */ 3793 #define DCNF_EXTPERI_PROTECT_SLAVE0_Allowed (0x0UL) /*!< Access to slave is allowed */ 3794 #define DCNF_EXTPERI_PROTECT_SLAVE0_Blocked (0x1UL) /*!< Access to slave is blocked */ 3795 3796 /* Register: DCNF_EXTRAM_PROTECT */ 3797 /* Description: Description cluster: Control access from master connected to AMLI master port EXTRAM[n] */ 3798 3799 /* Bit 7 : Control access to slave 7 of master EXTRAM[n] */ 3800 #define DCNF_EXTRAM_PROTECT_SLAVE7_Pos (7UL) /*!< Position of SLAVE7 field. */ 3801 #define DCNF_EXTRAM_PROTECT_SLAVE7_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE7_Pos) /*!< Bit mask of SLAVE7 field. */ 3802 #define DCNF_EXTRAM_PROTECT_SLAVE7_Allowed (0x0UL) /*!< Access to slave is allowed */ 3803 #define DCNF_EXTRAM_PROTECT_SLAVE7_Blocked (0x1UL) /*!< Access to slave is blocked */ 3804 3805 /* Bit 6 : Control access to slave 6 of master EXTRAM[n] */ 3806 #define DCNF_EXTRAM_PROTECT_SLAVE6_Pos (6UL) /*!< Position of SLAVE6 field. */ 3807 #define DCNF_EXTRAM_PROTECT_SLAVE6_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE6_Pos) /*!< Bit mask of SLAVE6 field. */ 3808 #define DCNF_EXTRAM_PROTECT_SLAVE6_Allowed (0x0UL) /*!< Access to slave is allowed */ 3809 #define DCNF_EXTRAM_PROTECT_SLAVE6_Blocked (0x1UL) /*!< Access to slave is blocked */ 3810 3811 /* Bit 5 : Control access to slave 5 of master EXTRAM[n] */ 3812 #define DCNF_EXTRAM_PROTECT_SLAVE5_Pos (5UL) /*!< Position of SLAVE5 field. */ 3813 #define DCNF_EXTRAM_PROTECT_SLAVE5_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE5_Pos) /*!< Bit mask of SLAVE5 field. */ 3814 #define DCNF_EXTRAM_PROTECT_SLAVE5_Allowed (0x0UL) /*!< Access to slave is allowed */ 3815 #define DCNF_EXTRAM_PROTECT_SLAVE5_Blocked (0x1UL) /*!< Access to slave is blocked */ 3816 3817 /* Bit 4 : Control access to slave 4 of master EXTRAM[n] */ 3818 #define DCNF_EXTRAM_PROTECT_SLAVE4_Pos (4UL) /*!< Position of SLAVE4 field. */ 3819 #define DCNF_EXTRAM_PROTECT_SLAVE4_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE4_Pos) /*!< Bit mask of SLAVE4 field. */ 3820 #define DCNF_EXTRAM_PROTECT_SLAVE4_Allowed (0x0UL) /*!< Access to slave is allowed */ 3821 #define DCNF_EXTRAM_PROTECT_SLAVE4_Blocked (0x1UL) /*!< Access to slave is blocked */ 3822 3823 /* Bit 3 : Control access to slave 3 of master EXTRAM[n] */ 3824 #define DCNF_EXTRAM_PROTECT_SLAVE3_Pos (3UL) /*!< Position of SLAVE3 field. */ 3825 #define DCNF_EXTRAM_PROTECT_SLAVE3_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE3_Pos) /*!< Bit mask of SLAVE3 field. */ 3826 #define DCNF_EXTRAM_PROTECT_SLAVE3_Allowed (0x0UL) /*!< Access to slave is allowed */ 3827 #define DCNF_EXTRAM_PROTECT_SLAVE3_Blocked (0x1UL) /*!< Access to slave is blocked */ 3828 3829 /* Bit 2 : Control access to slave 2 of master EXTRAM[n] */ 3830 #define DCNF_EXTRAM_PROTECT_SLAVE2_Pos (2UL) /*!< Position of SLAVE2 field. */ 3831 #define DCNF_EXTRAM_PROTECT_SLAVE2_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE2_Pos) /*!< Bit mask of SLAVE2 field. */ 3832 #define DCNF_EXTRAM_PROTECT_SLAVE2_Allowed (0x0UL) /*!< Access to slave is allowed */ 3833 #define DCNF_EXTRAM_PROTECT_SLAVE2_Blocked (0x1UL) /*!< Access to slave is blocked */ 3834 3835 /* Bit 1 : Control access to slave 1 of master EXTRAM[n] */ 3836 #define DCNF_EXTRAM_PROTECT_SLAVE1_Pos (1UL) /*!< Position of SLAVE1 field. */ 3837 #define DCNF_EXTRAM_PROTECT_SLAVE1_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE1_Pos) /*!< Bit mask of SLAVE1 field. */ 3838 #define DCNF_EXTRAM_PROTECT_SLAVE1_Allowed (0x0UL) /*!< Access to slave is allowed */ 3839 #define DCNF_EXTRAM_PROTECT_SLAVE1_Blocked (0x1UL) /*!< Access to slave is blocked */ 3840 3841 /* Bit 0 : Control access to slave 0 of master EXTRAM[n] */ 3842 #define DCNF_EXTRAM_PROTECT_SLAVE0_Pos (0UL) /*!< Position of SLAVE0 field. */ 3843 #define DCNF_EXTRAM_PROTECT_SLAVE0_Msk (0x1UL << DCNF_EXTRAM_PROTECT_SLAVE0_Pos) /*!< Bit mask of SLAVE0 field. */ 3844 #define DCNF_EXTRAM_PROTECT_SLAVE0_Allowed (0x0UL) /*!< Access to slave is allowed */ 3845 #define DCNF_EXTRAM_PROTECT_SLAVE0_Blocked (0x1UL) /*!< Access to slave is blocked */ 3846 3847 /* Register: DCNF_EXTCODE_PROTECT */ 3848 /* Description: Description cluster: Control access from master connected to AMLI master port EXTCODE[n] */ 3849 3850 /* Bit 0 : Control access to slave 0 of master EXTCODE[n] */ 3851 #define DCNF_EXTCODE_PROTECT_SLAVE0_Pos (0UL) /*!< Position of SLAVE0 field. */ 3852 #define DCNF_EXTCODE_PROTECT_SLAVE0_Msk (0x1UL << DCNF_EXTCODE_PROTECT_SLAVE0_Pos) /*!< Bit mask of SLAVE0 field. */ 3853 #define DCNF_EXTCODE_PROTECT_SLAVE0_Allowed (0x0UL) /*!< Access to slave is allowed */ 3854 #define DCNF_EXTCODE_PROTECT_SLAVE0_Blocked (0x1UL) /*!< Access to slave is blocked */ 3855 3856 3857 /* Peripheral: DPPIC */ 3858 /* Description: Distributed programmable peripheral interconnect controller 0 */ 3859 3860 /* Register: DPPIC_TASKS_CHG_EN */ 3861 /* Description: Description cluster: Enable channel group n */ 3862 3863 /* Bit 0 : Enable channel group n */ 3864 #define DPPIC_TASKS_CHG_EN_EN_Pos (0UL) /*!< Position of EN field. */ 3865 #define DPPIC_TASKS_CHG_EN_EN_Msk (0x1UL << DPPIC_TASKS_CHG_EN_EN_Pos) /*!< Bit mask of EN field. */ 3866 #define DPPIC_TASKS_CHG_EN_EN_Trigger (0x1UL) /*!< Trigger task */ 3867 3868 /* Register: DPPIC_TASKS_CHG_DIS */ 3869 /* Description: Description cluster: Disable channel group n */ 3870 3871 /* Bit 0 : Disable channel group n */ 3872 #define DPPIC_TASKS_CHG_DIS_DIS_Pos (0UL) /*!< Position of DIS field. */ 3873 #define DPPIC_TASKS_CHG_DIS_DIS_Msk (0x1UL << DPPIC_TASKS_CHG_DIS_DIS_Pos) /*!< Bit mask of DIS field. */ 3874 #define DPPIC_TASKS_CHG_DIS_DIS_Trigger (0x1UL) /*!< Trigger task */ 3875 3876 /* Register: DPPIC_SUBSCRIBE_CHG_EN */ 3877 /* Description: Description cluster: Subscribe configuration for task CHG[n].EN */ 3878 3879 /* Bit 31 : */ 3880 #define DPPIC_SUBSCRIBE_CHG_EN_EN_Pos (31UL) /*!< Position of EN field. */ 3881 #define DPPIC_SUBSCRIBE_CHG_EN_EN_Msk (0x1UL << DPPIC_SUBSCRIBE_CHG_EN_EN_Pos) /*!< Bit mask of EN field. */ 3882 #define DPPIC_SUBSCRIBE_CHG_EN_EN_Disabled (0x0UL) /*!< Disable subscription */ 3883 #define DPPIC_SUBSCRIBE_CHG_EN_EN_Enabled (0x1UL) /*!< Enable subscription */ 3884 3885 /* Bits 7..0 : DPPI channel that task CHG[n].EN will subscribe to */ 3886 #define DPPIC_SUBSCRIBE_CHG_EN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 3887 #define DPPIC_SUBSCRIBE_CHG_EN_CHIDX_Msk (0xFFUL << DPPIC_SUBSCRIBE_CHG_EN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 3888 3889 /* Register: DPPIC_SUBSCRIBE_CHG_DIS */ 3890 /* Description: Description cluster: Subscribe configuration for task CHG[n].DIS */ 3891 3892 /* Bit 31 : */ 3893 #define DPPIC_SUBSCRIBE_CHG_DIS_EN_Pos (31UL) /*!< Position of EN field. */ 3894 #define DPPIC_SUBSCRIBE_CHG_DIS_EN_Msk (0x1UL << DPPIC_SUBSCRIBE_CHG_DIS_EN_Pos) /*!< Bit mask of EN field. */ 3895 #define DPPIC_SUBSCRIBE_CHG_DIS_EN_Disabled (0x0UL) /*!< Disable subscription */ 3896 #define DPPIC_SUBSCRIBE_CHG_DIS_EN_Enabled (0x1UL) /*!< Enable subscription */ 3897 3898 /* Bits 7..0 : DPPI channel that task CHG[n].DIS will subscribe to */ 3899 #define DPPIC_SUBSCRIBE_CHG_DIS_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 3900 #define DPPIC_SUBSCRIBE_CHG_DIS_CHIDX_Msk (0xFFUL << DPPIC_SUBSCRIBE_CHG_DIS_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 3901 3902 /* Register: DPPIC_CHEN */ 3903 /* Description: Channel enable register */ 3904 3905 /* Bit 31 : Enable or disable channel 31 */ 3906 #define DPPIC_CHEN_CH31_Pos (31UL) /*!< Position of CH31 field. */ 3907 #define DPPIC_CHEN_CH31_Msk (0x1UL << DPPIC_CHEN_CH31_Pos) /*!< Bit mask of CH31 field. */ 3908 #define DPPIC_CHEN_CH31_Disabled (0x0UL) /*!< Disable channel */ 3909 #define DPPIC_CHEN_CH31_Enabled (0x1UL) /*!< Enable channel */ 3910 3911 /* Bit 30 : Enable or disable channel 30 */ 3912 #define DPPIC_CHEN_CH30_Pos (30UL) /*!< Position of CH30 field. */ 3913 #define DPPIC_CHEN_CH30_Msk (0x1UL << DPPIC_CHEN_CH30_Pos) /*!< Bit mask of CH30 field. */ 3914 #define DPPIC_CHEN_CH30_Disabled (0x0UL) /*!< Disable channel */ 3915 #define DPPIC_CHEN_CH30_Enabled (0x1UL) /*!< Enable channel */ 3916 3917 /* Bit 29 : Enable or disable channel 29 */ 3918 #define DPPIC_CHEN_CH29_Pos (29UL) /*!< Position of CH29 field. */ 3919 #define DPPIC_CHEN_CH29_Msk (0x1UL << DPPIC_CHEN_CH29_Pos) /*!< Bit mask of CH29 field. */ 3920 #define DPPIC_CHEN_CH29_Disabled (0x0UL) /*!< Disable channel */ 3921 #define DPPIC_CHEN_CH29_Enabled (0x1UL) /*!< Enable channel */ 3922 3923 /* Bit 28 : Enable or disable channel 28 */ 3924 #define DPPIC_CHEN_CH28_Pos (28UL) /*!< Position of CH28 field. */ 3925 #define DPPIC_CHEN_CH28_Msk (0x1UL << DPPIC_CHEN_CH28_Pos) /*!< Bit mask of CH28 field. */ 3926 #define DPPIC_CHEN_CH28_Disabled (0x0UL) /*!< Disable channel */ 3927 #define DPPIC_CHEN_CH28_Enabled (0x1UL) /*!< Enable channel */ 3928 3929 /* Bit 27 : Enable or disable channel 27 */ 3930 #define DPPIC_CHEN_CH27_Pos (27UL) /*!< Position of CH27 field. */ 3931 #define DPPIC_CHEN_CH27_Msk (0x1UL << DPPIC_CHEN_CH27_Pos) /*!< Bit mask of CH27 field. */ 3932 #define DPPIC_CHEN_CH27_Disabled (0x0UL) /*!< Disable channel */ 3933 #define DPPIC_CHEN_CH27_Enabled (0x1UL) /*!< Enable channel */ 3934 3935 /* Bit 26 : Enable or disable channel 26 */ 3936 #define DPPIC_CHEN_CH26_Pos (26UL) /*!< Position of CH26 field. */ 3937 #define DPPIC_CHEN_CH26_Msk (0x1UL << DPPIC_CHEN_CH26_Pos) /*!< Bit mask of CH26 field. */ 3938 #define DPPIC_CHEN_CH26_Disabled (0x0UL) /*!< Disable channel */ 3939 #define DPPIC_CHEN_CH26_Enabled (0x1UL) /*!< Enable channel */ 3940 3941 /* Bit 25 : Enable or disable channel 25 */ 3942 #define DPPIC_CHEN_CH25_Pos (25UL) /*!< Position of CH25 field. */ 3943 #define DPPIC_CHEN_CH25_Msk (0x1UL << DPPIC_CHEN_CH25_Pos) /*!< Bit mask of CH25 field. */ 3944 #define DPPIC_CHEN_CH25_Disabled (0x0UL) /*!< Disable channel */ 3945 #define DPPIC_CHEN_CH25_Enabled (0x1UL) /*!< Enable channel */ 3946 3947 /* Bit 24 : Enable or disable channel 24 */ 3948 #define DPPIC_CHEN_CH24_Pos (24UL) /*!< Position of CH24 field. */ 3949 #define DPPIC_CHEN_CH24_Msk (0x1UL << DPPIC_CHEN_CH24_Pos) /*!< Bit mask of CH24 field. */ 3950 #define DPPIC_CHEN_CH24_Disabled (0x0UL) /*!< Disable channel */ 3951 #define DPPIC_CHEN_CH24_Enabled (0x1UL) /*!< Enable channel */ 3952 3953 /* Bit 23 : Enable or disable channel 23 */ 3954 #define DPPIC_CHEN_CH23_Pos (23UL) /*!< Position of CH23 field. */ 3955 #define DPPIC_CHEN_CH23_Msk (0x1UL << DPPIC_CHEN_CH23_Pos) /*!< Bit mask of CH23 field. */ 3956 #define DPPIC_CHEN_CH23_Disabled (0x0UL) /*!< Disable channel */ 3957 #define DPPIC_CHEN_CH23_Enabled (0x1UL) /*!< Enable channel */ 3958 3959 /* Bit 22 : Enable or disable channel 22 */ 3960 #define DPPIC_CHEN_CH22_Pos (22UL) /*!< Position of CH22 field. */ 3961 #define DPPIC_CHEN_CH22_Msk (0x1UL << DPPIC_CHEN_CH22_Pos) /*!< Bit mask of CH22 field. */ 3962 #define DPPIC_CHEN_CH22_Disabled (0x0UL) /*!< Disable channel */ 3963 #define DPPIC_CHEN_CH22_Enabled (0x1UL) /*!< Enable channel */ 3964 3965 /* Bit 21 : Enable or disable channel 21 */ 3966 #define DPPIC_CHEN_CH21_Pos (21UL) /*!< Position of CH21 field. */ 3967 #define DPPIC_CHEN_CH21_Msk (0x1UL << DPPIC_CHEN_CH21_Pos) /*!< Bit mask of CH21 field. */ 3968 #define DPPIC_CHEN_CH21_Disabled (0x0UL) /*!< Disable channel */ 3969 #define DPPIC_CHEN_CH21_Enabled (0x1UL) /*!< Enable channel */ 3970 3971 /* Bit 20 : Enable or disable channel 20 */ 3972 #define DPPIC_CHEN_CH20_Pos (20UL) /*!< Position of CH20 field. */ 3973 #define DPPIC_CHEN_CH20_Msk (0x1UL << DPPIC_CHEN_CH20_Pos) /*!< Bit mask of CH20 field. */ 3974 #define DPPIC_CHEN_CH20_Disabled (0x0UL) /*!< Disable channel */ 3975 #define DPPIC_CHEN_CH20_Enabled (0x1UL) /*!< Enable channel */ 3976 3977 /* Bit 19 : Enable or disable channel 19 */ 3978 #define DPPIC_CHEN_CH19_Pos (19UL) /*!< Position of CH19 field. */ 3979 #define DPPIC_CHEN_CH19_Msk (0x1UL << DPPIC_CHEN_CH19_Pos) /*!< Bit mask of CH19 field. */ 3980 #define DPPIC_CHEN_CH19_Disabled (0x0UL) /*!< Disable channel */ 3981 #define DPPIC_CHEN_CH19_Enabled (0x1UL) /*!< Enable channel */ 3982 3983 /* Bit 18 : Enable or disable channel 18 */ 3984 #define DPPIC_CHEN_CH18_Pos (18UL) /*!< Position of CH18 field. */ 3985 #define DPPIC_CHEN_CH18_Msk (0x1UL << DPPIC_CHEN_CH18_Pos) /*!< Bit mask of CH18 field. */ 3986 #define DPPIC_CHEN_CH18_Disabled (0x0UL) /*!< Disable channel */ 3987 #define DPPIC_CHEN_CH18_Enabled (0x1UL) /*!< Enable channel */ 3988 3989 /* Bit 17 : Enable or disable channel 17 */ 3990 #define DPPIC_CHEN_CH17_Pos (17UL) /*!< Position of CH17 field. */ 3991 #define DPPIC_CHEN_CH17_Msk (0x1UL << DPPIC_CHEN_CH17_Pos) /*!< Bit mask of CH17 field. */ 3992 #define DPPIC_CHEN_CH17_Disabled (0x0UL) /*!< Disable channel */ 3993 #define DPPIC_CHEN_CH17_Enabled (0x1UL) /*!< Enable channel */ 3994 3995 /* Bit 16 : Enable or disable channel 16 */ 3996 #define DPPIC_CHEN_CH16_Pos (16UL) /*!< Position of CH16 field. */ 3997 #define DPPIC_CHEN_CH16_Msk (0x1UL << DPPIC_CHEN_CH16_Pos) /*!< Bit mask of CH16 field. */ 3998 #define DPPIC_CHEN_CH16_Disabled (0x0UL) /*!< Disable channel */ 3999 #define DPPIC_CHEN_CH16_Enabled (0x1UL) /*!< Enable channel */ 4000 4001 /* Bit 15 : Enable or disable channel 15 */ 4002 #define DPPIC_CHEN_CH15_Pos (15UL) /*!< Position of CH15 field. */ 4003 #define DPPIC_CHEN_CH15_Msk (0x1UL << DPPIC_CHEN_CH15_Pos) /*!< Bit mask of CH15 field. */ 4004 #define DPPIC_CHEN_CH15_Disabled (0x0UL) /*!< Disable channel */ 4005 #define DPPIC_CHEN_CH15_Enabled (0x1UL) /*!< Enable channel */ 4006 4007 /* Bit 14 : Enable or disable channel 14 */ 4008 #define DPPIC_CHEN_CH14_Pos (14UL) /*!< Position of CH14 field. */ 4009 #define DPPIC_CHEN_CH14_Msk (0x1UL << DPPIC_CHEN_CH14_Pos) /*!< Bit mask of CH14 field. */ 4010 #define DPPIC_CHEN_CH14_Disabled (0x0UL) /*!< Disable channel */ 4011 #define DPPIC_CHEN_CH14_Enabled (0x1UL) /*!< Enable channel */ 4012 4013 /* Bit 13 : Enable or disable channel 13 */ 4014 #define DPPIC_CHEN_CH13_Pos (13UL) /*!< Position of CH13 field. */ 4015 #define DPPIC_CHEN_CH13_Msk (0x1UL << DPPIC_CHEN_CH13_Pos) /*!< Bit mask of CH13 field. */ 4016 #define DPPIC_CHEN_CH13_Disabled (0x0UL) /*!< Disable channel */ 4017 #define DPPIC_CHEN_CH13_Enabled (0x1UL) /*!< Enable channel */ 4018 4019 /* Bit 12 : Enable or disable channel 12 */ 4020 #define DPPIC_CHEN_CH12_Pos (12UL) /*!< Position of CH12 field. */ 4021 #define DPPIC_CHEN_CH12_Msk (0x1UL << DPPIC_CHEN_CH12_Pos) /*!< Bit mask of CH12 field. */ 4022 #define DPPIC_CHEN_CH12_Disabled (0x0UL) /*!< Disable channel */ 4023 #define DPPIC_CHEN_CH12_Enabled (0x1UL) /*!< Enable channel */ 4024 4025 /* Bit 11 : Enable or disable channel 11 */ 4026 #define DPPIC_CHEN_CH11_Pos (11UL) /*!< Position of CH11 field. */ 4027 #define DPPIC_CHEN_CH11_Msk (0x1UL << DPPIC_CHEN_CH11_Pos) /*!< Bit mask of CH11 field. */ 4028 #define DPPIC_CHEN_CH11_Disabled (0x0UL) /*!< Disable channel */ 4029 #define DPPIC_CHEN_CH11_Enabled (0x1UL) /*!< Enable channel */ 4030 4031 /* Bit 10 : Enable or disable channel 10 */ 4032 #define DPPIC_CHEN_CH10_Pos (10UL) /*!< Position of CH10 field. */ 4033 #define DPPIC_CHEN_CH10_Msk (0x1UL << DPPIC_CHEN_CH10_Pos) /*!< Bit mask of CH10 field. */ 4034 #define DPPIC_CHEN_CH10_Disabled (0x0UL) /*!< Disable channel */ 4035 #define DPPIC_CHEN_CH10_Enabled (0x1UL) /*!< Enable channel */ 4036 4037 /* Bit 9 : Enable or disable channel 9 */ 4038 #define DPPIC_CHEN_CH9_Pos (9UL) /*!< Position of CH9 field. */ 4039 #define DPPIC_CHEN_CH9_Msk (0x1UL << DPPIC_CHEN_CH9_Pos) /*!< Bit mask of CH9 field. */ 4040 #define DPPIC_CHEN_CH9_Disabled (0x0UL) /*!< Disable channel */ 4041 #define DPPIC_CHEN_CH9_Enabled (0x1UL) /*!< Enable channel */ 4042 4043 /* Bit 8 : Enable or disable channel 8 */ 4044 #define DPPIC_CHEN_CH8_Pos (8UL) /*!< Position of CH8 field. */ 4045 #define DPPIC_CHEN_CH8_Msk (0x1UL << DPPIC_CHEN_CH8_Pos) /*!< Bit mask of CH8 field. */ 4046 #define DPPIC_CHEN_CH8_Disabled (0x0UL) /*!< Disable channel */ 4047 #define DPPIC_CHEN_CH8_Enabled (0x1UL) /*!< Enable channel */ 4048 4049 /* Bit 7 : Enable or disable channel 7 */ 4050 #define DPPIC_CHEN_CH7_Pos (7UL) /*!< Position of CH7 field. */ 4051 #define DPPIC_CHEN_CH7_Msk (0x1UL << DPPIC_CHEN_CH7_Pos) /*!< Bit mask of CH7 field. */ 4052 #define DPPIC_CHEN_CH7_Disabled (0x0UL) /*!< Disable channel */ 4053 #define DPPIC_CHEN_CH7_Enabled (0x1UL) /*!< Enable channel */ 4054 4055 /* Bit 6 : Enable or disable channel 6 */ 4056 #define DPPIC_CHEN_CH6_Pos (6UL) /*!< Position of CH6 field. */ 4057 #define DPPIC_CHEN_CH6_Msk (0x1UL << DPPIC_CHEN_CH6_Pos) /*!< Bit mask of CH6 field. */ 4058 #define DPPIC_CHEN_CH6_Disabled (0x0UL) /*!< Disable channel */ 4059 #define DPPIC_CHEN_CH6_Enabled (0x1UL) /*!< Enable channel */ 4060 4061 /* Bit 5 : Enable or disable channel 5 */ 4062 #define DPPIC_CHEN_CH5_Pos (5UL) /*!< Position of CH5 field. */ 4063 #define DPPIC_CHEN_CH5_Msk (0x1UL << DPPIC_CHEN_CH5_Pos) /*!< Bit mask of CH5 field. */ 4064 #define DPPIC_CHEN_CH5_Disabled (0x0UL) /*!< Disable channel */ 4065 #define DPPIC_CHEN_CH5_Enabled (0x1UL) /*!< Enable channel */ 4066 4067 /* Bit 4 : Enable or disable channel 4 */ 4068 #define DPPIC_CHEN_CH4_Pos (4UL) /*!< Position of CH4 field. */ 4069 #define DPPIC_CHEN_CH4_Msk (0x1UL << DPPIC_CHEN_CH4_Pos) /*!< Bit mask of CH4 field. */ 4070 #define DPPIC_CHEN_CH4_Disabled (0x0UL) /*!< Disable channel */ 4071 #define DPPIC_CHEN_CH4_Enabled (0x1UL) /*!< Enable channel */ 4072 4073 /* Bit 3 : Enable or disable channel 3 */ 4074 #define DPPIC_CHEN_CH3_Pos (3UL) /*!< Position of CH3 field. */ 4075 #define DPPIC_CHEN_CH3_Msk (0x1UL << DPPIC_CHEN_CH3_Pos) /*!< Bit mask of CH3 field. */ 4076 #define DPPIC_CHEN_CH3_Disabled (0x0UL) /*!< Disable channel */ 4077 #define DPPIC_CHEN_CH3_Enabled (0x1UL) /*!< Enable channel */ 4078 4079 /* Bit 2 : Enable or disable channel 2 */ 4080 #define DPPIC_CHEN_CH2_Pos (2UL) /*!< Position of CH2 field. */ 4081 #define DPPIC_CHEN_CH2_Msk (0x1UL << DPPIC_CHEN_CH2_Pos) /*!< Bit mask of CH2 field. */ 4082 #define DPPIC_CHEN_CH2_Disabled (0x0UL) /*!< Disable channel */ 4083 #define DPPIC_CHEN_CH2_Enabled (0x1UL) /*!< Enable channel */ 4084 4085 /* Bit 1 : Enable or disable channel 1 */ 4086 #define DPPIC_CHEN_CH1_Pos (1UL) /*!< Position of CH1 field. */ 4087 #define DPPIC_CHEN_CH1_Msk (0x1UL << DPPIC_CHEN_CH1_Pos) /*!< Bit mask of CH1 field. */ 4088 #define DPPIC_CHEN_CH1_Disabled (0x0UL) /*!< Disable channel */ 4089 #define DPPIC_CHEN_CH1_Enabled (0x1UL) /*!< Enable channel */ 4090 4091 /* Bit 0 : Enable or disable channel 0 */ 4092 #define DPPIC_CHEN_CH0_Pos (0UL) /*!< Position of CH0 field. */ 4093 #define DPPIC_CHEN_CH0_Msk (0x1UL << DPPIC_CHEN_CH0_Pos) /*!< Bit mask of CH0 field. */ 4094 #define DPPIC_CHEN_CH0_Disabled (0x0UL) /*!< Disable channel */ 4095 #define DPPIC_CHEN_CH0_Enabled (0x1UL) /*!< Enable channel */ 4096 4097 /* Register: DPPIC_CHENSET */ 4098 /* Description: Channel enable set register */ 4099 4100 /* Bit 31 : Channel 31 enable set register. Writing 0 has no effect. */ 4101 #define DPPIC_CHENSET_CH31_Pos (31UL) /*!< Position of CH31 field. */ 4102 #define DPPIC_CHENSET_CH31_Msk (0x1UL << DPPIC_CHENSET_CH31_Pos) /*!< Bit mask of CH31 field. */ 4103 #define DPPIC_CHENSET_CH31_Disabled (0x0UL) /*!< Read: Channel disabled */ 4104 #define DPPIC_CHENSET_CH31_Enabled (0x1UL) /*!< Read: Channel enabled */ 4105 #define DPPIC_CHENSET_CH31_Set (0x1UL) /*!< Write: Enable channel */ 4106 4107 /* Bit 30 : Channel 30 enable set register. Writing 0 has no effect. */ 4108 #define DPPIC_CHENSET_CH30_Pos (30UL) /*!< Position of CH30 field. */ 4109 #define DPPIC_CHENSET_CH30_Msk (0x1UL << DPPIC_CHENSET_CH30_Pos) /*!< Bit mask of CH30 field. */ 4110 #define DPPIC_CHENSET_CH30_Disabled (0x0UL) /*!< Read: Channel disabled */ 4111 #define DPPIC_CHENSET_CH30_Enabled (0x1UL) /*!< Read: Channel enabled */ 4112 #define DPPIC_CHENSET_CH30_Set (0x1UL) /*!< Write: Enable channel */ 4113 4114 /* Bit 29 : Channel 29 enable set register. Writing 0 has no effect. */ 4115 #define DPPIC_CHENSET_CH29_Pos (29UL) /*!< Position of CH29 field. */ 4116 #define DPPIC_CHENSET_CH29_Msk (0x1UL << DPPIC_CHENSET_CH29_Pos) /*!< Bit mask of CH29 field. */ 4117 #define DPPIC_CHENSET_CH29_Disabled (0x0UL) /*!< Read: Channel disabled */ 4118 #define DPPIC_CHENSET_CH29_Enabled (0x1UL) /*!< Read: Channel enabled */ 4119 #define DPPIC_CHENSET_CH29_Set (0x1UL) /*!< Write: Enable channel */ 4120 4121 /* Bit 28 : Channel 28 enable set register. Writing 0 has no effect. */ 4122 #define DPPIC_CHENSET_CH28_Pos (28UL) /*!< Position of CH28 field. */ 4123 #define DPPIC_CHENSET_CH28_Msk (0x1UL << DPPIC_CHENSET_CH28_Pos) /*!< Bit mask of CH28 field. */ 4124 #define DPPIC_CHENSET_CH28_Disabled (0x0UL) /*!< Read: Channel disabled */ 4125 #define DPPIC_CHENSET_CH28_Enabled (0x1UL) /*!< Read: Channel enabled */ 4126 #define DPPIC_CHENSET_CH28_Set (0x1UL) /*!< Write: Enable channel */ 4127 4128 /* Bit 27 : Channel 27 enable set register. Writing 0 has no effect. */ 4129 #define DPPIC_CHENSET_CH27_Pos (27UL) /*!< Position of CH27 field. */ 4130 #define DPPIC_CHENSET_CH27_Msk (0x1UL << DPPIC_CHENSET_CH27_Pos) /*!< Bit mask of CH27 field. */ 4131 #define DPPIC_CHENSET_CH27_Disabled (0x0UL) /*!< Read: Channel disabled */ 4132 #define DPPIC_CHENSET_CH27_Enabled (0x1UL) /*!< Read: Channel enabled */ 4133 #define DPPIC_CHENSET_CH27_Set (0x1UL) /*!< Write: Enable channel */ 4134 4135 /* Bit 26 : Channel 26 enable set register. Writing 0 has no effect. */ 4136 #define DPPIC_CHENSET_CH26_Pos (26UL) /*!< Position of CH26 field. */ 4137 #define DPPIC_CHENSET_CH26_Msk (0x1UL << DPPIC_CHENSET_CH26_Pos) /*!< Bit mask of CH26 field. */ 4138 #define DPPIC_CHENSET_CH26_Disabled (0x0UL) /*!< Read: Channel disabled */ 4139 #define DPPIC_CHENSET_CH26_Enabled (0x1UL) /*!< Read: Channel enabled */ 4140 #define DPPIC_CHENSET_CH26_Set (0x1UL) /*!< Write: Enable channel */ 4141 4142 /* Bit 25 : Channel 25 enable set register. Writing 0 has no effect. */ 4143 #define DPPIC_CHENSET_CH25_Pos (25UL) /*!< Position of CH25 field. */ 4144 #define DPPIC_CHENSET_CH25_Msk (0x1UL << DPPIC_CHENSET_CH25_Pos) /*!< Bit mask of CH25 field. */ 4145 #define DPPIC_CHENSET_CH25_Disabled (0x0UL) /*!< Read: Channel disabled */ 4146 #define DPPIC_CHENSET_CH25_Enabled (0x1UL) /*!< Read: Channel enabled */ 4147 #define DPPIC_CHENSET_CH25_Set (0x1UL) /*!< Write: Enable channel */ 4148 4149 /* Bit 24 : Channel 24 enable set register. Writing 0 has no effect. */ 4150 #define DPPIC_CHENSET_CH24_Pos (24UL) /*!< Position of CH24 field. */ 4151 #define DPPIC_CHENSET_CH24_Msk (0x1UL << DPPIC_CHENSET_CH24_Pos) /*!< Bit mask of CH24 field. */ 4152 #define DPPIC_CHENSET_CH24_Disabled (0x0UL) /*!< Read: Channel disabled */ 4153 #define DPPIC_CHENSET_CH24_Enabled (0x1UL) /*!< Read: Channel enabled */ 4154 #define DPPIC_CHENSET_CH24_Set (0x1UL) /*!< Write: Enable channel */ 4155 4156 /* Bit 23 : Channel 23 enable set register. Writing 0 has no effect. */ 4157 #define DPPIC_CHENSET_CH23_Pos (23UL) /*!< Position of CH23 field. */ 4158 #define DPPIC_CHENSET_CH23_Msk (0x1UL << DPPIC_CHENSET_CH23_Pos) /*!< Bit mask of CH23 field. */ 4159 #define DPPIC_CHENSET_CH23_Disabled (0x0UL) /*!< Read: Channel disabled */ 4160 #define DPPIC_CHENSET_CH23_Enabled (0x1UL) /*!< Read: Channel enabled */ 4161 #define DPPIC_CHENSET_CH23_Set (0x1UL) /*!< Write: Enable channel */ 4162 4163 /* Bit 22 : Channel 22 enable set register. Writing 0 has no effect. */ 4164 #define DPPIC_CHENSET_CH22_Pos (22UL) /*!< Position of CH22 field. */ 4165 #define DPPIC_CHENSET_CH22_Msk (0x1UL << DPPIC_CHENSET_CH22_Pos) /*!< Bit mask of CH22 field. */ 4166 #define DPPIC_CHENSET_CH22_Disabled (0x0UL) /*!< Read: Channel disabled */ 4167 #define DPPIC_CHENSET_CH22_Enabled (0x1UL) /*!< Read: Channel enabled */ 4168 #define DPPIC_CHENSET_CH22_Set (0x1UL) /*!< Write: Enable channel */ 4169 4170 /* Bit 21 : Channel 21 enable set register. Writing 0 has no effect. */ 4171 #define DPPIC_CHENSET_CH21_Pos (21UL) /*!< Position of CH21 field. */ 4172 #define DPPIC_CHENSET_CH21_Msk (0x1UL << DPPIC_CHENSET_CH21_Pos) /*!< Bit mask of CH21 field. */ 4173 #define DPPIC_CHENSET_CH21_Disabled (0x0UL) /*!< Read: Channel disabled */ 4174 #define DPPIC_CHENSET_CH21_Enabled (0x1UL) /*!< Read: Channel enabled */ 4175 #define DPPIC_CHENSET_CH21_Set (0x1UL) /*!< Write: Enable channel */ 4176 4177 /* Bit 20 : Channel 20 enable set register. Writing 0 has no effect. */ 4178 #define DPPIC_CHENSET_CH20_Pos (20UL) /*!< Position of CH20 field. */ 4179 #define DPPIC_CHENSET_CH20_Msk (0x1UL << DPPIC_CHENSET_CH20_Pos) /*!< Bit mask of CH20 field. */ 4180 #define DPPIC_CHENSET_CH20_Disabled (0x0UL) /*!< Read: Channel disabled */ 4181 #define DPPIC_CHENSET_CH20_Enabled (0x1UL) /*!< Read: Channel enabled */ 4182 #define DPPIC_CHENSET_CH20_Set (0x1UL) /*!< Write: Enable channel */ 4183 4184 /* Bit 19 : Channel 19 enable set register. Writing 0 has no effect. */ 4185 #define DPPIC_CHENSET_CH19_Pos (19UL) /*!< Position of CH19 field. */ 4186 #define DPPIC_CHENSET_CH19_Msk (0x1UL << DPPIC_CHENSET_CH19_Pos) /*!< Bit mask of CH19 field. */ 4187 #define DPPIC_CHENSET_CH19_Disabled (0x0UL) /*!< Read: Channel disabled */ 4188 #define DPPIC_CHENSET_CH19_Enabled (0x1UL) /*!< Read: Channel enabled */ 4189 #define DPPIC_CHENSET_CH19_Set (0x1UL) /*!< Write: Enable channel */ 4190 4191 /* Bit 18 : Channel 18 enable set register. Writing 0 has no effect. */ 4192 #define DPPIC_CHENSET_CH18_Pos (18UL) /*!< Position of CH18 field. */ 4193 #define DPPIC_CHENSET_CH18_Msk (0x1UL << DPPIC_CHENSET_CH18_Pos) /*!< Bit mask of CH18 field. */ 4194 #define DPPIC_CHENSET_CH18_Disabled (0x0UL) /*!< Read: Channel disabled */ 4195 #define DPPIC_CHENSET_CH18_Enabled (0x1UL) /*!< Read: Channel enabled */ 4196 #define DPPIC_CHENSET_CH18_Set (0x1UL) /*!< Write: Enable channel */ 4197 4198 /* Bit 17 : Channel 17 enable set register. Writing 0 has no effect. */ 4199 #define DPPIC_CHENSET_CH17_Pos (17UL) /*!< Position of CH17 field. */ 4200 #define DPPIC_CHENSET_CH17_Msk (0x1UL << DPPIC_CHENSET_CH17_Pos) /*!< Bit mask of CH17 field. */ 4201 #define DPPIC_CHENSET_CH17_Disabled (0x0UL) /*!< Read: Channel disabled */ 4202 #define DPPIC_CHENSET_CH17_Enabled (0x1UL) /*!< Read: Channel enabled */ 4203 #define DPPIC_CHENSET_CH17_Set (0x1UL) /*!< Write: Enable channel */ 4204 4205 /* Bit 16 : Channel 16 enable set register. Writing 0 has no effect. */ 4206 #define DPPIC_CHENSET_CH16_Pos (16UL) /*!< Position of CH16 field. */ 4207 #define DPPIC_CHENSET_CH16_Msk (0x1UL << DPPIC_CHENSET_CH16_Pos) /*!< Bit mask of CH16 field. */ 4208 #define DPPIC_CHENSET_CH16_Disabled (0x0UL) /*!< Read: Channel disabled */ 4209 #define DPPIC_CHENSET_CH16_Enabled (0x1UL) /*!< Read: Channel enabled */ 4210 #define DPPIC_CHENSET_CH16_Set (0x1UL) /*!< Write: Enable channel */ 4211 4212 /* Bit 15 : Channel 15 enable set register. Writing 0 has no effect. */ 4213 #define DPPIC_CHENSET_CH15_Pos (15UL) /*!< Position of CH15 field. */ 4214 #define DPPIC_CHENSET_CH15_Msk (0x1UL << DPPIC_CHENSET_CH15_Pos) /*!< Bit mask of CH15 field. */ 4215 #define DPPIC_CHENSET_CH15_Disabled (0x0UL) /*!< Read: Channel disabled */ 4216 #define DPPIC_CHENSET_CH15_Enabled (0x1UL) /*!< Read: Channel enabled */ 4217 #define DPPIC_CHENSET_CH15_Set (0x1UL) /*!< Write: Enable channel */ 4218 4219 /* Bit 14 : Channel 14 enable set register. Writing 0 has no effect. */ 4220 #define DPPIC_CHENSET_CH14_Pos (14UL) /*!< Position of CH14 field. */ 4221 #define DPPIC_CHENSET_CH14_Msk (0x1UL << DPPIC_CHENSET_CH14_Pos) /*!< Bit mask of CH14 field. */ 4222 #define DPPIC_CHENSET_CH14_Disabled (0x0UL) /*!< Read: Channel disabled */ 4223 #define DPPIC_CHENSET_CH14_Enabled (0x1UL) /*!< Read: Channel enabled */ 4224 #define DPPIC_CHENSET_CH14_Set (0x1UL) /*!< Write: Enable channel */ 4225 4226 /* Bit 13 : Channel 13 enable set register. Writing 0 has no effect. */ 4227 #define DPPIC_CHENSET_CH13_Pos (13UL) /*!< Position of CH13 field. */ 4228 #define DPPIC_CHENSET_CH13_Msk (0x1UL << DPPIC_CHENSET_CH13_Pos) /*!< Bit mask of CH13 field. */ 4229 #define DPPIC_CHENSET_CH13_Disabled (0x0UL) /*!< Read: Channel disabled */ 4230 #define DPPIC_CHENSET_CH13_Enabled (0x1UL) /*!< Read: Channel enabled */ 4231 #define DPPIC_CHENSET_CH13_Set (0x1UL) /*!< Write: Enable channel */ 4232 4233 /* Bit 12 : Channel 12 enable set register. Writing 0 has no effect. */ 4234 #define DPPIC_CHENSET_CH12_Pos (12UL) /*!< Position of CH12 field. */ 4235 #define DPPIC_CHENSET_CH12_Msk (0x1UL << DPPIC_CHENSET_CH12_Pos) /*!< Bit mask of CH12 field. */ 4236 #define DPPIC_CHENSET_CH12_Disabled (0x0UL) /*!< Read: Channel disabled */ 4237 #define DPPIC_CHENSET_CH12_Enabled (0x1UL) /*!< Read: Channel enabled */ 4238 #define DPPIC_CHENSET_CH12_Set (0x1UL) /*!< Write: Enable channel */ 4239 4240 /* Bit 11 : Channel 11 enable set register. Writing 0 has no effect. */ 4241 #define DPPIC_CHENSET_CH11_Pos (11UL) /*!< Position of CH11 field. */ 4242 #define DPPIC_CHENSET_CH11_Msk (0x1UL << DPPIC_CHENSET_CH11_Pos) /*!< Bit mask of CH11 field. */ 4243 #define DPPIC_CHENSET_CH11_Disabled (0x0UL) /*!< Read: Channel disabled */ 4244 #define DPPIC_CHENSET_CH11_Enabled (0x1UL) /*!< Read: Channel enabled */ 4245 #define DPPIC_CHENSET_CH11_Set (0x1UL) /*!< Write: Enable channel */ 4246 4247 /* Bit 10 : Channel 10 enable set register. Writing 0 has no effect. */ 4248 #define DPPIC_CHENSET_CH10_Pos (10UL) /*!< Position of CH10 field. */ 4249 #define DPPIC_CHENSET_CH10_Msk (0x1UL << DPPIC_CHENSET_CH10_Pos) /*!< Bit mask of CH10 field. */ 4250 #define DPPIC_CHENSET_CH10_Disabled (0x0UL) /*!< Read: Channel disabled */ 4251 #define DPPIC_CHENSET_CH10_Enabled (0x1UL) /*!< Read: Channel enabled */ 4252 #define DPPIC_CHENSET_CH10_Set (0x1UL) /*!< Write: Enable channel */ 4253 4254 /* Bit 9 : Channel 9 enable set register. Writing 0 has no effect. */ 4255 #define DPPIC_CHENSET_CH9_Pos (9UL) /*!< Position of CH9 field. */ 4256 #define DPPIC_CHENSET_CH9_Msk (0x1UL << DPPIC_CHENSET_CH9_Pos) /*!< Bit mask of CH9 field. */ 4257 #define DPPIC_CHENSET_CH9_Disabled (0x0UL) /*!< Read: Channel disabled */ 4258 #define DPPIC_CHENSET_CH9_Enabled (0x1UL) /*!< Read: Channel enabled */ 4259 #define DPPIC_CHENSET_CH9_Set (0x1UL) /*!< Write: Enable channel */ 4260 4261 /* Bit 8 : Channel 8 enable set register. Writing 0 has no effect. */ 4262 #define DPPIC_CHENSET_CH8_Pos (8UL) /*!< Position of CH8 field. */ 4263 #define DPPIC_CHENSET_CH8_Msk (0x1UL << DPPIC_CHENSET_CH8_Pos) /*!< Bit mask of CH8 field. */ 4264 #define DPPIC_CHENSET_CH8_Disabled (0x0UL) /*!< Read: Channel disabled */ 4265 #define DPPIC_CHENSET_CH8_Enabled (0x1UL) /*!< Read: Channel enabled */ 4266 #define DPPIC_CHENSET_CH8_Set (0x1UL) /*!< Write: Enable channel */ 4267 4268 /* Bit 7 : Channel 7 enable set register. Writing 0 has no effect. */ 4269 #define DPPIC_CHENSET_CH7_Pos (7UL) /*!< Position of CH7 field. */ 4270 #define DPPIC_CHENSET_CH7_Msk (0x1UL << DPPIC_CHENSET_CH7_Pos) /*!< Bit mask of CH7 field. */ 4271 #define DPPIC_CHENSET_CH7_Disabled (0x0UL) /*!< Read: Channel disabled */ 4272 #define DPPIC_CHENSET_CH7_Enabled (0x1UL) /*!< Read: Channel enabled */ 4273 #define DPPIC_CHENSET_CH7_Set (0x1UL) /*!< Write: Enable channel */ 4274 4275 /* Bit 6 : Channel 6 enable set register. Writing 0 has no effect. */ 4276 #define DPPIC_CHENSET_CH6_Pos (6UL) /*!< Position of CH6 field. */ 4277 #define DPPIC_CHENSET_CH6_Msk (0x1UL << DPPIC_CHENSET_CH6_Pos) /*!< Bit mask of CH6 field. */ 4278 #define DPPIC_CHENSET_CH6_Disabled (0x0UL) /*!< Read: Channel disabled */ 4279 #define DPPIC_CHENSET_CH6_Enabled (0x1UL) /*!< Read: Channel enabled */ 4280 #define DPPIC_CHENSET_CH6_Set (0x1UL) /*!< Write: Enable channel */ 4281 4282 /* Bit 5 : Channel 5 enable set register. Writing 0 has no effect. */ 4283 #define DPPIC_CHENSET_CH5_Pos (5UL) /*!< Position of CH5 field. */ 4284 #define DPPIC_CHENSET_CH5_Msk (0x1UL << DPPIC_CHENSET_CH5_Pos) /*!< Bit mask of CH5 field. */ 4285 #define DPPIC_CHENSET_CH5_Disabled (0x0UL) /*!< Read: Channel disabled */ 4286 #define DPPIC_CHENSET_CH5_Enabled (0x1UL) /*!< Read: Channel enabled */ 4287 #define DPPIC_CHENSET_CH5_Set (0x1UL) /*!< Write: Enable channel */ 4288 4289 /* Bit 4 : Channel 4 enable set register. Writing 0 has no effect. */ 4290 #define DPPIC_CHENSET_CH4_Pos (4UL) /*!< Position of CH4 field. */ 4291 #define DPPIC_CHENSET_CH4_Msk (0x1UL << DPPIC_CHENSET_CH4_Pos) /*!< Bit mask of CH4 field. */ 4292 #define DPPIC_CHENSET_CH4_Disabled (0x0UL) /*!< Read: Channel disabled */ 4293 #define DPPIC_CHENSET_CH4_Enabled (0x1UL) /*!< Read: Channel enabled */ 4294 #define DPPIC_CHENSET_CH4_Set (0x1UL) /*!< Write: Enable channel */ 4295 4296 /* Bit 3 : Channel 3 enable set register. Writing 0 has no effect. */ 4297 #define DPPIC_CHENSET_CH3_Pos (3UL) /*!< Position of CH3 field. */ 4298 #define DPPIC_CHENSET_CH3_Msk (0x1UL << DPPIC_CHENSET_CH3_Pos) /*!< Bit mask of CH3 field. */ 4299 #define DPPIC_CHENSET_CH3_Disabled (0x0UL) /*!< Read: Channel disabled */ 4300 #define DPPIC_CHENSET_CH3_Enabled (0x1UL) /*!< Read: Channel enabled */ 4301 #define DPPIC_CHENSET_CH3_Set (0x1UL) /*!< Write: Enable channel */ 4302 4303 /* Bit 2 : Channel 2 enable set register. Writing 0 has no effect. */ 4304 #define DPPIC_CHENSET_CH2_Pos (2UL) /*!< Position of CH2 field. */ 4305 #define DPPIC_CHENSET_CH2_Msk (0x1UL << DPPIC_CHENSET_CH2_Pos) /*!< Bit mask of CH2 field. */ 4306 #define DPPIC_CHENSET_CH2_Disabled (0x0UL) /*!< Read: Channel disabled */ 4307 #define DPPIC_CHENSET_CH2_Enabled (0x1UL) /*!< Read: Channel enabled */ 4308 #define DPPIC_CHENSET_CH2_Set (0x1UL) /*!< Write: Enable channel */ 4309 4310 /* Bit 1 : Channel 1 enable set register. Writing 0 has no effect. */ 4311 #define DPPIC_CHENSET_CH1_Pos (1UL) /*!< Position of CH1 field. */ 4312 #define DPPIC_CHENSET_CH1_Msk (0x1UL << DPPIC_CHENSET_CH1_Pos) /*!< Bit mask of CH1 field. */ 4313 #define DPPIC_CHENSET_CH1_Disabled (0x0UL) /*!< Read: Channel disabled */ 4314 #define DPPIC_CHENSET_CH1_Enabled (0x1UL) /*!< Read: Channel enabled */ 4315 #define DPPIC_CHENSET_CH1_Set (0x1UL) /*!< Write: Enable channel */ 4316 4317 /* Bit 0 : Channel 0 enable set register. Writing 0 has no effect. */ 4318 #define DPPIC_CHENSET_CH0_Pos (0UL) /*!< Position of CH0 field. */ 4319 #define DPPIC_CHENSET_CH0_Msk (0x1UL << DPPIC_CHENSET_CH0_Pos) /*!< Bit mask of CH0 field. */ 4320 #define DPPIC_CHENSET_CH0_Disabled (0x0UL) /*!< Read: Channel disabled */ 4321 #define DPPIC_CHENSET_CH0_Enabled (0x1UL) /*!< Read: Channel enabled */ 4322 #define DPPIC_CHENSET_CH0_Set (0x1UL) /*!< Write: Enable channel */ 4323 4324 /* Register: DPPIC_CHENCLR */ 4325 /* Description: Channel enable clear register */ 4326 4327 /* Bit 31 : Channel 31 enable clear register. Writing 0 has no effect. */ 4328 #define DPPIC_CHENCLR_CH31_Pos (31UL) /*!< Position of CH31 field. */ 4329 #define DPPIC_CHENCLR_CH31_Msk (0x1UL << DPPIC_CHENCLR_CH31_Pos) /*!< Bit mask of CH31 field. */ 4330 #define DPPIC_CHENCLR_CH31_Disabled (0x0UL) /*!< Read: Channel disabled */ 4331 #define DPPIC_CHENCLR_CH31_Enabled (0x1UL) /*!< Read: Channel enabled */ 4332 #define DPPIC_CHENCLR_CH31_Clear (0x1UL) /*!< Write: Disable channel */ 4333 4334 /* Bit 30 : Channel 30 enable clear register. Writing 0 has no effect. */ 4335 #define DPPIC_CHENCLR_CH30_Pos (30UL) /*!< Position of CH30 field. */ 4336 #define DPPIC_CHENCLR_CH30_Msk (0x1UL << DPPIC_CHENCLR_CH30_Pos) /*!< Bit mask of CH30 field. */ 4337 #define DPPIC_CHENCLR_CH30_Disabled (0x0UL) /*!< Read: Channel disabled */ 4338 #define DPPIC_CHENCLR_CH30_Enabled (0x1UL) /*!< Read: Channel enabled */ 4339 #define DPPIC_CHENCLR_CH30_Clear (0x1UL) /*!< Write: Disable channel */ 4340 4341 /* Bit 29 : Channel 29 enable clear register. Writing 0 has no effect. */ 4342 #define DPPIC_CHENCLR_CH29_Pos (29UL) /*!< Position of CH29 field. */ 4343 #define DPPIC_CHENCLR_CH29_Msk (0x1UL << DPPIC_CHENCLR_CH29_Pos) /*!< Bit mask of CH29 field. */ 4344 #define DPPIC_CHENCLR_CH29_Disabled (0x0UL) /*!< Read: Channel disabled */ 4345 #define DPPIC_CHENCLR_CH29_Enabled (0x1UL) /*!< Read: Channel enabled */ 4346 #define DPPIC_CHENCLR_CH29_Clear (0x1UL) /*!< Write: Disable channel */ 4347 4348 /* Bit 28 : Channel 28 enable clear register. Writing 0 has no effect. */ 4349 #define DPPIC_CHENCLR_CH28_Pos (28UL) /*!< Position of CH28 field. */ 4350 #define DPPIC_CHENCLR_CH28_Msk (0x1UL << DPPIC_CHENCLR_CH28_Pos) /*!< Bit mask of CH28 field. */ 4351 #define DPPIC_CHENCLR_CH28_Disabled (0x0UL) /*!< Read: Channel disabled */ 4352 #define DPPIC_CHENCLR_CH28_Enabled (0x1UL) /*!< Read: Channel enabled */ 4353 #define DPPIC_CHENCLR_CH28_Clear (0x1UL) /*!< Write: Disable channel */ 4354 4355 /* Bit 27 : Channel 27 enable clear register. Writing 0 has no effect. */ 4356 #define DPPIC_CHENCLR_CH27_Pos (27UL) /*!< Position of CH27 field. */ 4357 #define DPPIC_CHENCLR_CH27_Msk (0x1UL << DPPIC_CHENCLR_CH27_Pos) /*!< Bit mask of CH27 field. */ 4358 #define DPPIC_CHENCLR_CH27_Disabled (0x0UL) /*!< Read: Channel disabled */ 4359 #define DPPIC_CHENCLR_CH27_Enabled (0x1UL) /*!< Read: Channel enabled */ 4360 #define DPPIC_CHENCLR_CH27_Clear (0x1UL) /*!< Write: Disable channel */ 4361 4362 /* Bit 26 : Channel 26 enable clear register. Writing 0 has no effect. */ 4363 #define DPPIC_CHENCLR_CH26_Pos (26UL) /*!< Position of CH26 field. */ 4364 #define DPPIC_CHENCLR_CH26_Msk (0x1UL << DPPIC_CHENCLR_CH26_Pos) /*!< Bit mask of CH26 field. */ 4365 #define DPPIC_CHENCLR_CH26_Disabled (0x0UL) /*!< Read: Channel disabled */ 4366 #define DPPIC_CHENCLR_CH26_Enabled (0x1UL) /*!< Read: Channel enabled */ 4367 #define DPPIC_CHENCLR_CH26_Clear (0x1UL) /*!< Write: Disable channel */ 4368 4369 /* Bit 25 : Channel 25 enable clear register. Writing 0 has no effect. */ 4370 #define DPPIC_CHENCLR_CH25_Pos (25UL) /*!< Position of CH25 field. */ 4371 #define DPPIC_CHENCLR_CH25_Msk (0x1UL << DPPIC_CHENCLR_CH25_Pos) /*!< Bit mask of CH25 field. */ 4372 #define DPPIC_CHENCLR_CH25_Disabled (0x0UL) /*!< Read: Channel disabled */ 4373 #define DPPIC_CHENCLR_CH25_Enabled (0x1UL) /*!< Read: Channel enabled */ 4374 #define DPPIC_CHENCLR_CH25_Clear (0x1UL) /*!< Write: Disable channel */ 4375 4376 /* Bit 24 : Channel 24 enable clear register. Writing 0 has no effect. */ 4377 #define DPPIC_CHENCLR_CH24_Pos (24UL) /*!< Position of CH24 field. */ 4378 #define DPPIC_CHENCLR_CH24_Msk (0x1UL << DPPIC_CHENCLR_CH24_Pos) /*!< Bit mask of CH24 field. */ 4379 #define DPPIC_CHENCLR_CH24_Disabled (0x0UL) /*!< Read: Channel disabled */ 4380 #define DPPIC_CHENCLR_CH24_Enabled (0x1UL) /*!< Read: Channel enabled */ 4381 #define DPPIC_CHENCLR_CH24_Clear (0x1UL) /*!< Write: Disable channel */ 4382 4383 /* Bit 23 : Channel 23 enable clear register. Writing 0 has no effect. */ 4384 #define DPPIC_CHENCLR_CH23_Pos (23UL) /*!< Position of CH23 field. */ 4385 #define DPPIC_CHENCLR_CH23_Msk (0x1UL << DPPIC_CHENCLR_CH23_Pos) /*!< Bit mask of CH23 field. */ 4386 #define DPPIC_CHENCLR_CH23_Disabled (0x0UL) /*!< Read: Channel disabled */ 4387 #define DPPIC_CHENCLR_CH23_Enabled (0x1UL) /*!< Read: Channel enabled */ 4388 #define DPPIC_CHENCLR_CH23_Clear (0x1UL) /*!< Write: Disable channel */ 4389 4390 /* Bit 22 : Channel 22 enable clear register. Writing 0 has no effect. */ 4391 #define DPPIC_CHENCLR_CH22_Pos (22UL) /*!< Position of CH22 field. */ 4392 #define DPPIC_CHENCLR_CH22_Msk (0x1UL << DPPIC_CHENCLR_CH22_Pos) /*!< Bit mask of CH22 field. */ 4393 #define DPPIC_CHENCLR_CH22_Disabled (0x0UL) /*!< Read: Channel disabled */ 4394 #define DPPIC_CHENCLR_CH22_Enabled (0x1UL) /*!< Read: Channel enabled */ 4395 #define DPPIC_CHENCLR_CH22_Clear (0x1UL) /*!< Write: Disable channel */ 4396 4397 /* Bit 21 : Channel 21 enable clear register. Writing 0 has no effect. */ 4398 #define DPPIC_CHENCLR_CH21_Pos (21UL) /*!< Position of CH21 field. */ 4399 #define DPPIC_CHENCLR_CH21_Msk (0x1UL << DPPIC_CHENCLR_CH21_Pos) /*!< Bit mask of CH21 field. */ 4400 #define DPPIC_CHENCLR_CH21_Disabled (0x0UL) /*!< Read: Channel disabled */ 4401 #define DPPIC_CHENCLR_CH21_Enabled (0x1UL) /*!< Read: Channel enabled */ 4402 #define DPPIC_CHENCLR_CH21_Clear (0x1UL) /*!< Write: Disable channel */ 4403 4404 /* Bit 20 : Channel 20 enable clear register. Writing 0 has no effect. */ 4405 #define DPPIC_CHENCLR_CH20_Pos (20UL) /*!< Position of CH20 field. */ 4406 #define DPPIC_CHENCLR_CH20_Msk (0x1UL << DPPIC_CHENCLR_CH20_Pos) /*!< Bit mask of CH20 field. */ 4407 #define DPPIC_CHENCLR_CH20_Disabled (0x0UL) /*!< Read: Channel disabled */ 4408 #define DPPIC_CHENCLR_CH20_Enabled (0x1UL) /*!< Read: Channel enabled */ 4409 #define DPPIC_CHENCLR_CH20_Clear (0x1UL) /*!< Write: Disable channel */ 4410 4411 /* Bit 19 : Channel 19 enable clear register. Writing 0 has no effect. */ 4412 #define DPPIC_CHENCLR_CH19_Pos (19UL) /*!< Position of CH19 field. */ 4413 #define DPPIC_CHENCLR_CH19_Msk (0x1UL << DPPIC_CHENCLR_CH19_Pos) /*!< Bit mask of CH19 field. */ 4414 #define DPPIC_CHENCLR_CH19_Disabled (0x0UL) /*!< Read: Channel disabled */ 4415 #define DPPIC_CHENCLR_CH19_Enabled (0x1UL) /*!< Read: Channel enabled */ 4416 #define DPPIC_CHENCLR_CH19_Clear (0x1UL) /*!< Write: Disable channel */ 4417 4418 /* Bit 18 : Channel 18 enable clear register. Writing 0 has no effect. */ 4419 #define DPPIC_CHENCLR_CH18_Pos (18UL) /*!< Position of CH18 field. */ 4420 #define DPPIC_CHENCLR_CH18_Msk (0x1UL << DPPIC_CHENCLR_CH18_Pos) /*!< Bit mask of CH18 field. */ 4421 #define DPPIC_CHENCLR_CH18_Disabled (0x0UL) /*!< Read: Channel disabled */ 4422 #define DPPIC_CHENCLR_CH18_Enabled (0x1UL) /*!< Read: Channel enabled */ 4423 #define DPPIC_CHENCLR_CH18_Clear (0x1UL) /*!< Write: Disable channel */ 4424 4425 /* Bit 17 : Channel 17 enable clear register. Writing 0 has no effect. */ 4426 #define DPPIC_CHENCLR_CH17_Pos (17UL) /*!< Position of CH17 field. */ 4427 #define DPPIC_CHENCLR_CH17_Msk (0x1UL << DPPIC_CHENCLR_CH17_Pos) /*!< Bit mask of CH17 field. */ 4428 #define DPPIC_CHENCLR_CH17_Disabled (0x0UL) /*!< Read: Channel disabled */ 4429 #define DPPIC_CHENCLR_CH17_Enabled (0x1UL) /*!< Read: Channel enabled */ 4430 #define DPPIC_CHENCLR_CH17_Clear (0x1UL) /*!< Write: Disable channel */ 4431 4432 /* Bit 16 : Channel 16 enable clear register. Writing 0 has no effect. */ 4433 #define DPPIC_CHENCLR_CH16_Pos (16UL) /*!< Position of CH16 field. */ 4434 #define DPPIC_CHENCLR_CH16_Msk (0x1UL << DPPIC_CHENCLR_CH16_Pos) /*!< Bit mask of CH16 field. */ 4435 #define DPPIC_CHENCLR_CH16_Disabled (0x0UL) /*!< Read: Channel disabled */ 4436 #define DPPIC_CHENCLR_CH16_Enabled (0x1UL) /*!< Read: Channel enabled */ 4437 #define DPPIC_CHENCLR_CH16_Clear (0x1UL) /*!< Write: Disable channel */ 4438 4439 /* Bit 15 : Channel 15 enable clear register. Writing 0 has no effect. */ 4440 #define DPPIC_CHENCLR_CH15_Pos (15UL) /*!< Position of CH15 field. */ 4441 #define DPPIC_CHENCLR_CH15_Msk (0x1UL << DPPIC_CHENCLR_CH15_Pos) /*!< Bit mask of CH15 field. */ 4442 #define DPPIC_CHENCLR_CH15_Disabled (0x0UL) /*!< Read: Channel disabled */ 4443 #define DPPIC_CHENCLR_CH15_Enabled (0x1UL) /*!< Read: Channel enabled */ 4444 #define DPPIC_CHENCLR_CH15_Clear (0x1UL) /*!< Write: Disable channel */ 4445 4446 /* Bit 14 : Channel 14 enable clear register. Writing 0 has no effect. */ 4447 #define DPPIC_CHENCLR_CH14_Pos (14UL) /*!< Position of CH14 field. */ 4448 #define DPPIC_CHENCLR_CH14_Msk (0x1UL << DPPIC_CHENCLR_CH14_Pos) /*!< Bit mask of CH14 field. */ 4449 #define DPPIC_CHENCLR_CH14_Disabled (0x0UL) /*!< Read: Channel disabled */ 4450 #define DPPIC_CHENCLR_CH14_Enabled (0x1UL) /*!< Read: Channel enabled */ 4451 #define DPPIC_CHENCLR_CH14_Clear (0x1UL) /*!< Write: Disable channel */ 4452 4453 /* Bit 13 : Channel 13 enable clear register. Writing 0 has no effect. */ 4454 #define DPPIC_CHENCLR_CH13_Pos (13UL) /*!< Position of CH13 field. */ 4455 #define DPPIC_CHENCLR_CH13_Msk (0x1UL << DPPIC_CHENCLR_CH13_Pos) /*!< Bit mask of CH13 field. */ 4456 #define DPPIC_CHENCLR_CH13_Disabled (0x0UL) /*!< Read: Channel disabled */ 4457 #define DPPIC_CHENCLR_CH13_Enabled (0x1UL) /*!< Read: Channel enabled */ 4458 #define DPPIC_CHENCLR_CH13_Clear (0x1UL) /*!< Write: Disable channel */ 4459 4460 /* Bit 12 : Channel 12 enable clear register. Writing 0 has no effect. */ 4461 #define DPPIC_CHENCLR_CH12_Pos (12UL) /*!< Position of CH12 field. */ 4462 #define DPPIC_CHENCLR_CH12_Msk (0x1UL << DPPIC_CHENCLR_CH12_Pos) /*!< Bit mask of CH12 field. */ 4463 #define DPPIC_CHENCLR_CH12_Disabled (0x0UL) /*!< Read: Channel disabled */ 4464 #define DPPIC_CHENCLR_CH12_Enabled (0x1UL) /*!< Read: Channel enabled */ 4465 #define DPPIC_CHENCLR_CH12_Clear (0x1UL) /*!< Write: Disable channel */ 4466 4467 /* Bit 11 : Channel 11 enable clear register. Writing 0 has no effect. */ 4468 #define DPPIC_CHENCLR_CH11_Pos (11UL) /*!< Position of CH11 field. */ 4469 #define DPPIC_CHENCLR_CH11_Msk (0x1UL << DPPIC_CHENCLR_CH11_Pos) /*!< Bit mask of CH11 field. */ 4470 #define DPPIC_CHENCLR_CH11_Disabled (0x0UL) /*!< Read: Channel disabled */ 4471 #define DPPIC_CHENCLR_CH11_Enabled (0x1UL) /*!< Read: Channel enabled */ 4472 #define DPPIC_CHENCLR_CH11_Clear (0x1UL) /*!< Write: Disable channel */ 4473 4474 /* Bit 10 : Channel 10 enable clear register. Writing 0 has no effect. */ 4475 #define DPPIC_CHENCLR_CH10_Pos (10UL) /*!< Position of CH10 field. */ 4476 #define DPPIC_CHENCLR_CH10_Msk (0x1UL << DPPIC_CHENCLR_CH10_Pos) /*!< Bit mask of CH10 field. */ 4477 #define DPPIC_CHENCLR_CH10_Disabled (0x0UL) /*!< Read: Channel disabled */ 4478 #define DPPIC_CHENCLR_CH10_Enabled (0x1UL) /*!< Read: Channel enabled */ 4479 #define DPPIC_CHENCLR_CH10_Clear (0x1UL) /*!< Write: Disable channel */ 4480 4481 /* Bit 9 : Channel 9 enable clear register. Writing 0 has no effect. */ 4482 #define DPPIC_CHENCLR_CH9_Pos (9UL) /*!< Position of CH9 field. */ 4483 #define DPPIC_CHENCLR_CH9_Msk (0x1UL << DPPIC_CHENCLR_CH9_Pos) /*!< Bit mask of CH9 field. */ 4484 #define DPPIC_CHENCLR_CH9_Disabled (0x0UL) /*!< Read: Channel disabled */ 4485 #define DPPIC_CHENCLR_CH9_Enabled (0x1UL) /*!< Read: Channel enabled */ 4486 #define DPPIC_CHENCLR_CH9_Clear (0x1UL) /*!< Write: Disable channel */ 4487 4488 /* Bit 8 : Channel 8 enable clear register. Writing 0 has no effect. */ 4489 #define DPPIC_CHENCLR_CH8_Pos (8UL) /*!< Position of CH8 field. */ 4490 #define DPPIC_CHENCLR_CH8_Msk (0x1UL << DPPIC_CHENCLR_CH8_Pos) /*!< Bit mask of CH8 field. */ 4491 #define DPPIC_CHENCLR_CH8_Disabled (0x0UL) /*!< Read: Channel disabled */ 4492 #define DPPIC_CHENCLR_CH8_Enabled (0x1UL) /*!< Read: Channel enabled */ 4493 #define DPPIC_CHENCLR_CH8_Clear (0x1UL) /*!< Write: Disable channel */ 4494 4495 /* Bit 7 : Channel 7 enable clear register. Writing 0 has no effect. */ 4496 #define DPPIC_CHENCLR_CH7_Pos (7UL) /*!< Position of CH7 field. */ 4497 #define DPPIC_CHENCLR_CH7_Msk (0x1UL << DPPIC_CHENCLR_CH7_Pos) /*!< Bit mask of CH7 field. */ 4498 #define DPPIC_CHENCLR_CH7_Disabled (0x0UL) /*!< Read: Channel disabled */ 4499 #define DPPIC_CHENCLR_CH7_Enabled (0x1UL) /*!< Read: Channel enabled */ 4500 #define DPPIC_CHENCLR_CH7_Clear (0x1UL) /*!< Write: Disable channel */ 4501 4502 /* Bit 6 : Channel 6 enable clear register. Writing 0 has no effect. */ 4503 #define DPPIC_CHENCLR_CH6_Pos (6UL) /*!< Position of CH6 field. */ 4504 #define DPPIC_CHENCLR_CH6_Msk (0x1UL << DPPIC_CHENCLR_CH6_Pos) /*!< Bit mask of CH6 field. */ 4505 #define DPPIC_CHENCLR_CH6_Disabled (0x0UL) /*!< Read: Channel disabled */ 4506 #define DPPIC_CHENCLR_CH6_Enabled (0x1UL) /*!< Read: Channel enabled */ 4507 #define DPPIC_CHENCLR_CH6_Clear (0x1UL) /*!< Write: Disable channel */ 4508 4509 /* Bit 5 : Channel 5 enable clear register. Writing 0 has no effect. */ 4510 #define DPPIC_CHENCLR_CH5_Pos (5UL) /*!< Position of CH5 field. */ 4511 #define DPPIC_CHENCLR_CH5_Msk (0x1UL << DPPIC_CHENCLR_CH5_Pos) /*!< Bit mask of CH5 field. */ 4512 #define DPPIC_CHENCLR_CH5_Disabled (0x0UL) /*!< Read: Channel disabled */ 4513 #define DPPIC_CHENCLR_CH5_Enabled (0x1UL) /*!< Read: Channel enabled */ 4514 #define DPPIC_CHENCLR_CH5_Clear (0x1UL) /*!< Write: Disable channel */ 4515 4516 /* Bit 4 : Channel 4 enable clear register. Writing 0 has no effect. */ 4517 #define DPPIC_CHENCLR_CH4_Pos (4UL) /*!< Position of CH4 field. */ 4518 #define DPPIC_CHENCLR_CH4_Msk (0x1UL << DPPIC_CHENCLR_CH4_Pos) /*!< Bit mask of CH4 field. */ 4519 #define DPPIC_CHENCLR_CH4_Disabled (0x0UL) /*!< Read: Channel disabled */ 4520 #define DPPIC_CHENCLR_CH4_Enabled (0x1UL) /*!< Read: Channel enabled */ 4521 #define DPPIC_CHENCLR_CH4_Clear (0x1UL) /*!< Write: Disable channel */ 4522 4523 /* Bit 3 : Channel 3 enable clear register. Writing 0 has no effect. */ 4524 #define DPPIC_CHENCLR_CH3_Pos (3UL) /*!< Position of CH3 field. */ 4525 #define DPPIC_CHENCLR_CH3_Msk (0x1UL << DPPIC_CHENCLR_CH3_Pos) /*!< Bit mask of CH3 field. */ 4526 #define DPPIC_CHENCLR_CH3_Disabled (0x0UL) /*!< Read: Channel disabled */ 4527 #define DPPIC_CHENCLR_CH3_Enabled (0x1UL) /*!< Read: Channel enabled */ 4528 #define DPPIC_CHENCLR_CH3_Clear (0x1UL) /*!< Write: Disable channel */ 4529 4530 /* Bit 2 : Channel 2 enable clear register. Writing 0 has no effect. */ 4531 #define DPPIC_CHENCLR_CH2_Pos (2UL) /*!< Position of CH2 field. */ 4532 #define DPPIC_CHENCLR_CH2_Msk (0x1UL << DPPIC_CHENCLR_CH2_Pos) /*!< Bit mask of CH2 field. */ 4533 #define DPPIC_CHENCLR_CH2_Disabled (0x0UL) /*!< Read: Channel disabled */ 4534 #define DPPIC_CHENCLR_CH2_Enabled (0x1UL) /*!< Read: Channel enabled */ 4535 #define DPPIC_CHENCLR_CH2_Clear (0x1UL) /*!< Write: Disable channel */ 4536 4537 /* Bit 1 : Channel 1 enable clear register. Writing 0 has no effect. */ 4538 #define DPPIC_CHENCLR_CH1_Pos (1UL) /*!< Position of CH1 field. */ 4539 #define DPPIC_CHENCLR_CH1_Msk (0x1UL << DPPIC_CHENCLR_CH1_Pos) /*!< Bit mask of CH1 field. */ 4540 #define DPPIC_CHENCLR_CH1_Disabled (0x0UL) /*!< Read: Channel disabled */ 4541 #define DPPIC_CHENCLR_CH1_Enabled (0x1UL) /*!< Read: Channel enabled */ 4542 #define DPPIC_CHENCLR_CH1_Clear (0x1UL) /*!< Write: Disable channel */ 4543 4544 /* Bit 0 : Channel 0 enable clear register. Writing 0 has no effect. */ 4545 #define DPPIC_CHENCLR_CH0_Pos (0UL) /*!< Position of CH0 field. */ 4546 #define DPPIC_CHENCLR_CH0_Msk (0x1UL << DPPIC_CHENCLR_CH0_Pos) /*!< Bit mask of CH0 field. */ 4547 #define DPPIC_CHENCLR_CH0_Disabled (0x0UL) /*!< Read: Channel disabled */ 4548 #define DPPIC_CHENCLR_CH0_Enabled (0x1UL) /*!< Read: Channel enabled */ 4549 #define DPPIC_CHENCLR_CH0_Clear (0x1UL) /*!< Write: Disable channel */ 4550 4551 /* Register: DPPIC_CHG */ 4552 /* Description: Description collection: Channel group n Note: Writes to this register are ignored if either SUBSCRIBE_CHG[n].EN or SUBSCRIBE_CHG[n].DIS is enabled */ 4553 4554 /* Bit 31 : Include or exclude channel 31 */ 4555 #define DPPIC_CHG_CH31_Pos (31UL) /*!< Position of CH31 field. */ 4556 #define DPPIC_CHG_CH31_Msk (0x1UL << DPPIC_CHG_CH31_Pos) /*!< Bit mask of CH31 field. */ 4557 #define DPPIC_CHG_CH31_Excluded (0x0UL) /*!< Exclude */ 4558 #define DPPIC_CHG_CH31_Included (0x1UL) /*!< Include */ 4559 4560 /* Bit 30 : Include or exclude channel 30 */ 4561 #define DPPIC_CHG_CH30_Pos (30UL) /*!< Position of CH30 field. */ 4562 #define DPPIC_CHG_CH30_Msk (0x1UL << DPPIC_CHG_CH30_Pos) /*!< Bit mask of CH30 field. */ 4563 #define DPPIC_CHG_CH30_Excluded (0x0UL) /*!< Exclude */ 4564 #define DPPIC_CHG_CH30_Included (0x1UL) /*!< Include */ 4565 4566 /* Bit 29 : Include or exclude channel 29 */ 4567 #define DPPIC_CHG_CH29_Pos (29UL) /*!< Position of CH29 field. */ 4568 #define DPPIC_CHG_CH29_Msk (0x1UL << DPPIC_CHG_CH29_Pos) /*!< Bit mask of CH29 field. */ 4569 #define DPPIC_CHG_CH29_Excluded (0x0UL) /*!< Exclude */ 4570 #define DPPIC_CHG_CH29_Included (0x1UL) /*!< Include */ 4571 4572 /* Bit 28 : Include or exclude channel 28 */ 4573 #define DPPIC_CHG_CH28_Pos (28UL) /*!< Position of CH28 field. */ 4574 #define DPPIC_CHG_CH28_Msk (0x1UL << DPPIC_CHG_CH28_Pos) /*!< Bit mask of CH28 field. */ 4575 #define DPPIC_CHG_CH28_Excluded (0x0UL) /*!< Exclude */ 4576 #define DPPIC_CHG_CH28_Included (0x1UL) /*!< Include */ 4577 4578 /* Bit 27 : Include or exclude channel 27 */ 4579 #define DPPIC_CHG_CH27_Pos (27UL) /*!< Position of CH27 field. */ 4580 #define DPPIC_CHG_CH27_Msk (0x1UL << DPPIC_CHG_CH27_Pos) /*!< Bit mask of CH27 field. */ 4581 #define DPPIC_CHG_CH27_Excluded (0x0UL) /*!< Exclude */ 4582 #define DPPIC_CHG_CH27_Included (0x1UL) /*!< Include */ 4583 4584 /* Bit 26 : Include or exclude channel 26 */ 4585 #define DPPIC_CHG_CH26_Pos (26UL) /*!< Position of CH26 field. */ 4586 #define DPPIC_CHG_CH26_Msk (0x1UL << DPPIC_CHG_CH26_Pos) /*!< Bit mask of CH26 field. */ 4587 #define DPPIC_CHG_CH26_Excluded (0x0UL) /*!< Exclude */ 4588 #define DPPIC_CHG_CH26_Included (0x1UL) /*!< Include */ 4589 4590 /* Bit 25 : Include or exclude channel 25 */ 4591 #define DPPIC_CHG_CH25_Pos (25UL) /*!< Position of CH25 field. */ 4592 #define DPPIC_CHG_CH25_Msk (0x1UL << DPPIC_CHG_CH25_Pos) /*!< Bit mask of CH25 field. */ 4593 #define DPPIC_CHG_CH25_Excluded (0x0UL) /*!< Exclude */ 4594 #define DPPIC_CHG_CH25_Included (0x1UL) /*!< Include */ 4595 4596 /* Bit 24 : Include or exclude channel 24 */ 4597 #define DPPIC_CHG_CH24_Pos (24UL) /*!< Position of CH24 field. */ 4598 #define DPPIC_CHG_CH24_Msk (0x1UL << DPPIC_CHG_CH24_Pos) /*!< Bit mask of CH24 field. */ 4599 #define DPPIC_CHG_CH24_Excluded (0x0UL) /*!< Exclude */ 4600 #define DPPIC_CHG_CH24_Included (0x1UL) /*!< Include */ 4601 4602 /* Bit 23 : Include or exclude channel 23 */ 4603 #define DPPIC_CHG_CH23_Pos (23UL) /*!< Position of CH23 field. */ 4604 #define DPPIC_CHG_CH23_Msk (0x1UL << DPPIC_CHG_CH23_Pos) /*!< Bit mask of CH23 field. */ 4605 #define DPPIC_CHG_CH23_Excluded (0x0UL) /*!< Exclude */ 4606 #define DPPIC_CHG_CH23_Included (0x1UL) /*!< Include */ 4607 4608 /* Bit 22 : Include or exclude channel 22 */ 4609 #define DPPIC_CHG_CH22_Pos (22UL) /*!< Position of CH22 field. */ 4610 #define DPPIC_CHG_CH22_Msk (0x1UL << DPPIC_CHG_CH22_Pos) /*!< Bit mask of CH22 field. */ 4611 #define DPPIC_CHG_CH22_Excluded (0x0UL) /*!< Exclude */ 4612 #define DPPIC_CHG_CH22_Included (0x1UL) /*!< Include */ 4613 4614 /* Bit 21 : Include or exclude channel 21 */ 4615 #define DPPIC_CHG_CH21_Pos (21UL) /*!< Position of CH21 field. */ 4616 #define DPPIC_CHG_CH21_Msk (0x1UL << DPPIC_CHG_CH21_Pos) /*!< Bit mask of CH21 field. */ 4617 #define DPPIC_CHG_CH21_Excluded (0x0UL) /*!< Exclude */ 4618 #define DPPIC_CHG_CH21_Included (0x1UL) /*!< Include */ 4619 4620 /* Bit 20 : Include or exclude channel 20 */ 4621 #define DPPIC_CHG_CH20_Pos (20UL) /*!< Position of CH20 field. */ 4622 #define DPPIC_CHG_CH20_Msk (0x1UL << DPPIC_CHG_CH20_Pos) /*!< Bit mask of CH20 field. */ 4623 #define DPPIC_CHG_CH20_Excluded (0x0UL) /*!< Exclude */ 4624 #define DPPIC_CHG_CH20_Included (0x1UL) /*!< Include */ 4625 4626 /* Bit 19 : Include or exclude channel 19 */ 4627 #define DPPIC_CHG_CH19_Pos (19UL) /*!< Position of CH19 field. */ 4628 #define DPPIC_CHG_CH19_Msk (0x1UL << DPPIC_CHG_CH19_Pos) /*!< Bit mask of CH19 field. */ 4629 #define DPPIC_CHG_CH19_Excluded (0x0UL) /*!< Exclude */ 4630 #define DPPIC_CHG_CH19_Included (0x1UL) /*!< Include */ 4631 4632 /* Bit 18 : Include or exclude channel 18 */ 4633 #define DPPIC_CHG_CH18_Pos (18UL) /*!< Position of CH18 field. */ 4634 #define DPPIC_CHG_CH18_Msk (0x1UL << DPPIC_CHG_CH18_Pos) /*!< Bit mask of CH18 field. */ 4635 #define DPPIC_CHG_CH18_Excluded (0x0UL) /*!< Exclude */ 4636 #define DPPIC_CHG_CH18_Included (0x1UL) /*!< Include */ 4637 4638 /* Bit 17 : Include or exclude channel 17 */ 4639 #define DPPIC_CHG_CH17_Pos (17UL) /*!< Position of CH17 field. */ 4640 #define DPPIC_CHG_CH17_Msk (0x1UL << DPPIC_CHG_CH17_Pos) /*!< Bit mask of CH17 field. */ 4641 #define DPPIC_CHG_CH17_Excluded (0x0UL) /*!< Exclude */ 4642 #define DPPIC_CHG_CH17_Included (0x1UL) /*!< Include */ 4643 4644 /* Bit 16 : Include or exclude channel 16 */ 4645 #define DPPIC_CHG_CH16_Pos (16UL) /*!< Position of CH16 field. */ 4646 #define DPPIC_CHG_CH16_Msk (0x1UL << DPPIC_CHG_CH16_Pos) /*!< Bit mask of CH16 field. */ 4647 #define DPPIC_CHG_CH16_Excluded (0x0UL) /*!< Exclude */ 4648 #define DPPIC_CHG_CH16_Included (0x1UL) /*!< Include */ 4649 4650 /* Bit 15 : Include or exclude channel 15 */ 4651 #define DPPIC_CHG_CH15_Pos (15UL) /*!< Position of CH15 field. */ 4652 #define DPPIC_CHG_CH15_Msk (0x1UL << DPPIC_CHG_CH15_Pos) /*!< Bit mask of CH15 field. */ 4653 #define DPPIC_CHG_CH15_Excluded (0x0UL) /*!< Exclude */ 4654 #define DPPIC_CHG_CH15_Included (0x1UL) /*!< Include */ 4655 4656 /* Bit 14 : Include or exclude channel 14 */ 4657 #define DPPIC_CHG_CH14_Pos (14UL) /*!< Position of CH14 field. */ 4658 #define DPPIC_CHG_CH14_Msk (0x1UL << DPPIC_CHG_CH14_Pos) /*!< Bit mask of CH14 field. */ 4659 #define DPPIC_CHG_CH14_Excluded (0x0UL) /*!< Exclude */ 4660 #define DPPIC_CHG_CH14_Included (0x1UL) /*!< Include */ 4661 4662 /* Bit 13 : Include or exclude channel 13 */ 4663 #define DPPIC_CHG_CH13_Pos (13UL) /*!< Position of CH13 field. */ 4664 #define DPPIC_CHG_CH13_Msk (0x1UL << DPPIC_CHG_CH13_Pos) /*!< Bit mask of CH13 field. */ 4665 #define DPPIC_CHG_CH13_Excluded (0x0UL) /*!< Exclude */ 4666 #define DPPIC_CHG_CH13_Included (0x1UL) /*!< Include */ 4667 4668 /* Bit 12 : Include or exclude channel 12 */ 4669 #define DPPIC_CHG_CH12_Pos (12UL) /*!< Position of CH12 field. */ 4670 #define DPPIC_CHG_CH12_Msk (0x1UL << DPPIC_CHG_CH12_Pos) /*!< Bit mask of CH12 field. */ 4671 #define DPPIC_CHG_CH12_Excluded (0x0UL) /*!< Exclude */ 4672 #define DPPIC_CHG_CH12_Included (0x1UL) /*!< Include */ 4673 4674 /* Bit 11 : Include or exclude channel 11 */ 4675 #define DPPIC_CHG_CH11_Pos (11UL) /*!< Position of CH11 field. */ 4676 #define DPPIC_CHG_CH11_Msk (0x1UL << DPPIC_CHG_CH11_Pos) /*!< Bit mask of CH11 field. */ 4677 #define DPPIC_CHG_CH11_Excluded (0x0UL) /*!< Exclude */ 4678 #define DPPIC_CHG_CH11_Included (0x1UL) /*!< Include */ 4679 4680 /* Bit 10 : Include or exclude channel 10 */ 4681 #define DPPIC_CHG_CH10_Pos (10UL) /*!< Position of CH10 field. */ 4682 #define DPPIC_CHG_CH10_Msk (0x1UL << DPPIC_CHG_CH10_Pos) /*!< Bit mask of CH10 field. */ 4683 #define DPPIC_CHG_CH10_Excluded (0x0UL) /*!< Exclude */ 4684 #define DPPIC_CHG_CH10_Included (0x1UL) /*!< Include */ 4685 4686 /* Bit 9 : Include or exclude channel 9 */ 4687 #define DPPIC_CHG_CH9_Pos (9UL) /*!< Position of CH9 field. */ 4688 #define DPPIC_CHG_CH9_Msk (0x1UL << DPPIC_CHG_CH9_Pos) /*!< Bit mask of CH9 field. */ 4689 #define DPPIC_CHG_CH9_Excluded (0x0UL) /*!< Exclude */ 4690 #define DPPIC_CHG_CH9_Included (0x1UL) /*!< Include */ 4691 4692 /* Bit 8 : Include or exclude channel 8 */ 4693 #define DPPIC_CHG_CH8_Pos (8UL) /*!< Position of CH8 field. */ 4694 #define DPPIC_CHG_CH8_Msk (0x1UL << DPPIC_CHG_CH8_Pos) /*!< Bit mask of CH8 field. */ 4695 #define DPPIC_CHG_CH8_Excluded (0x0UL) /*!< Exclude */ 4696 #define DPPIC_CHG_CH8_Included (0x1UL) /*!< Include */ 4697 4698 /* Bit 7 : Include or exclude channel 7 */ 4699 #define DPPIC_CHG_CH7_Pos (7UL) /*!< Position of CH7 field. */ 4700 #define DPPIC_CHG_CH7_Msk (0x1UL << DPPIC_CHG_CH7_Pos) /*!< Bit mask of CH7 field. */ 4701 #define DPPIC_CHG_CH7_Excluded (0x0UL) /*!< Exclude */ 4702 #define DPPIC_CHG_CH7_Included (0x1UL) /*!< Include */ 4703 4704 /* Bit 6 : Include or exclude channel 6 */ 4705 #define DPPIC_CHG_CH6_Pos (6UL) /*!< Position of CH6 field. */ 4706 #define DPPIC_CHG_CH6_Msk (0x1UL << DPPIC_CHG_CH6_Pos) /*!< Bit mask of CH6 field. */ 4707 #define DPPIC_CHG_CH6_Excluded (0x0UL) /*!< Exclude */ 4708 #define DPPIC_CHG_CH6_Included (0x1UL) /*!< Include */ 4709 4710 /* Bit 5 : Include or exclude channel 5 */ 4711 #define DPPIC_CHG_CH5_Pos (5UL) /*!< Position of CH5 field. */ 4712 #define DPPIC_CHG_CH5_Msk (0x1UL << DPPIC_CHG_CH5_Pos) /*!< Bit mask of CH5 field. */ 4713 #define DPPIC_CHG_CH5_Excluded (0x0UL) /*!< Exclude */ 4714 #define DPPIC_CHG_CH5_Included (0x1UL) /*!< Include */ 4715 4716 /* Bit 4 : Include or exclude channel 4 */ 4717 #define DPPIC_CHG_CH4_Pos (4UL) /*!< Position of CH4 field. */ 4718 #define DPPIC_CHG_CH4_Msk (0x1UL << DPPIC_CHG_CH4_Pos) /*!< Bit mask of CH4 field. */ 4719 #define DPPIC_CHG_CH4_Excluded (0x0UL) /*!< Exclude */ 4720 #define DPPIC_CHG_CH4_Included (0x1UL) /*!< Include */ 4721 4722 /* Bit 3 : Include or exclude channel 3 */ 4723 #define DPPIC_CHG_CH3_Pos (3UL) /*!< Position of CH3 field. */ 4724 #define DPPIC_CHG_CH3_Msk (0x1UL << DPPIC_CHG_CH3_Pos) /*!< Bit mask of CH3 field. */ 4725 #define DPPIC_CHG_CH3_Excluded (0x0UL) /*!< Exclude */ 4726 #define DPPIC_CHG_CH3_Included (0x1UL) /*!< Include */ 4727 4728 /* Bit 2 : Include or exclude channel 2 */ 4729 #define DPPIC_CHG_CH2_Pos (2UL) /*!< Position of CH2 field. */ 4730 #define DPPIC_CHG_CH2_Msk (0x1UL << DPPIC_CHG_CH2_Pos) /*!< Bit mask of CH2 field. */ 4731 #define DPPIC_CHG_CH2_Excluded (0x0UL) /*!< Exclude */ 4732 #define DPPIC_CHG_CH2_Included (0x1UL) /*!< Include */ 4733 4734 /* Bit 1 : Include or exclude channel 1 */ 4735 #define DPPIC_CHG_CH1_Pos (1UL) /*!< Position of CH1 field. */ 4736 #define DPPIC_CHG_CH1_Msk (0x1UL << DPPIC_CHG_CH1_Pos) /*!< Bit mask of CH1 field. */ 4737 #define DPPIC_CHG_CH1_Excluded (0x0UL) /*!< Exclude */ 4738 #define DPPIC_CHG_CH1_Included (0x1UL) /*!< Include */ 4739 4740 /* Bit 0 : Include or exclude channel 0 */ 4741 #define DPPIC_CHG_CH0_Pos (0UL) /*!< Position of CH0 field. */ 4742 #define DPPIC_CHG_CH0_Msk (0x1UL << DPPIC_CHG_CH0_Pos) /*!< Bit mask of CH0 field. */ 4743 #define DPPIC_CHG_CH0_Excluded (0x0UL) /*!< Exclude */ 4744 #define DPPIC_CHG_CH0_Included (0x1UL) /*!< Include */ 4745 4746 4747 /* Peripheral: EGU */ 4748 /* Description: Event generator unit 0 */ 4749 4750 /* Register: EGU_TASKS_TRIGGER */ 4751 /* Description: Description collection: Trigger n for triggering the corresponding TRIGGERED[n] event */ 4752 4753 /* Bit 0 : Trigger n for triggering the corresponding TRIGGERED[n] event */ 4754 #define EGU_TASKS_TRIGGER_TASKS_TRIGGER_Pos (0UL) /*!< Position of TASKS_TRIGGER field. */ 4755 #define EGU_TASKS_TRIGGER_TASKS_TRIGGER_Msk (0x1UL << EGU_TASKS_TRIGGER_TASKS_TRIGGER_Pos) /*!< Bit mask of TASKS_TRIGGER field. */ 4756 #define EGU_TASKS_TRIGGER_TASKS_TRIGGER_Trigger (0x1UL) /*!< Trigger task */ 4757 4758 /* Register: EGU_SUBSCRIBE_TRIGGER */ 4759 /* Description: Description collection: Subscribe configuration for task TRIGGER[n] */ 4760 4761 /* Bit 31 : */ 4762 #define EGU_SUBSCRIBE_TRIGGER_EN_Pos (31UL) /*!< Position of EN field. */ 4763 #define EGU_SUBSCRIBE_TRIGGER_EN_Msk (0x1UL << EGU_SUBSCRIBE_TRIGGER_EN_Pos) /*!< Bit mask of EN field. */ 4764 #define EGU_SUBSCRIBE_TRIGGER_EN_Disabled (0x0UL) /*!< Disable subscription */ 4765 #define EGU_SUBSCRIBE_TRIGGER_EN_Enabled (0x1UL) /*!< Enable subscription */ 4766 4767 /* Bits 7..0 : DPPI channel that task TRIGGER[n] will subscribe to */ 4768 #define EGU_SUBSCRIBE_TRIGGER_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 4769 #define EGU_SUBSCRIBE_TRIGGER_CHIDX_Msk (0xFFUL << EGU_SUBSCRIBE_TRIGGER_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 4770 4771 /* Register: EGU_EVENTS_TRIGGERED */ 4772 /* Description: Description collection: Event number n generated by triggering the corresponding TRIGGER[n] task */ 4773 4774 /* Bit 0 : Event number n generated by triggering the corresponding TRIGGER[n] task */ 4775 #define EGU_EVENTS_TRIGGERED_EVENTS_TRIGGERED_Pos (0UL) /*!< Position of EVENTS_TRIGGERED field. */ 4776 #define EGU_EVENTS_TRIGGERED_EVENTS_TRIGGERED_Msk (0x1UL << EGU_EVENTS_TRIGGERED_EVENTS_TRIGGERED_Pos) /*!< Bit mask of EVENTS_TRIGGERED field. */ 4777 #define EGU_EVENTS_TRIGGERED_EVENTS_TRIGGERED_NotGenerated (0x0UL) /*!< Event not generated */ 4778 #define EGU_EVENTS_TRIGGERED_EVENTS_TRIGGERED_Generated (0x1UL) /*!< Event generated */ 4779 4780 /* Register: EGU_PUBLISH_TRIGGERED */ 4781 /* Description: Description collection: Publish configuration for event TRIGGERED[n] */ 4782 4783 /* Bit 31 : */ 4784 #define EGU_PUBLISH_TRIGGERED_EN_Pos (31UL) /*!< Position of EN field. */ 4785 #define EGU_PUBLISH_TRIGGERED_EN_Msk (0x1UL << EGU_PUBLISH_TRIGGERED_EN_Pos) /*!< Bit mask of EN field. */ 4786 #define EGU_PUBLISH_TRIGGERED_EN_Disabled (0x0UL) /*!< Disable publishing */ 4787 #define EGU_PUBLISH_TRIGGERED_EN_Enabled (0x1UL) /*!< Enable publishing */ 4788 4789 /* Bits 7..0 : DPPI channel that event TRIGGERED[n] will publish to */ 4790 #define EGU_PUBLISH_TRIGGERED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 4791 #define EGU_PUBLISH_TRIGGERED_CHIDX_Msk (0xFFUL << EGU_PUBLISH_TRIGGERED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 4792 4793 /* Register: EGU_INTEN */ 4794 /* Description: Enable or disable interrupt */ 4795 4796 /* Bit 15 : Enable or disable interrupt for event TRIGGERED[15] */ 4797 #define EGU_INTEN_TRIGGERED15_Pos (15UL) /*!< Position of TRIGGERED15 field. */ 4798 #define EGU_INTEN_TRIGGERED15_Msk (0x1UL << EGU_INTEN_TRIGGERED15_Pos) /*!< Bit mask of TRIGGERED15 field. */ 4799 #define EGU_INTEN_TRIGGERED15_Disabled (0x0UL) /*!< Disable */ 4800 #define EGU_INTEN_TRIGGERED15_Enabled (0x1UL) /*!< Enable */ 4801 4802 /* Bit 14 : Enable or disable interrupt for event TRIGGERED[14] */ 4803 #define EGU_INTEN_TRIGGERED14_Pos (14UL) /*!< Position of TRIGGERED14 field. */ 4804 #define EGU_INTEN_TRIGGERED14_Msk (0x1UL << EGU_INTEN_TRIGGERED14_Pos) /*!< Bit mask of TRIGGERED14 field. */ 4805 #define EGU_INTEN_TRIGGERED14_Disabled (0x0UL) /*!< Disable */ 4806 #define EGU_INTEN_TRIGGERED14_Enabled (0x1UL) /*!< Enable */ 4807 4808 /* Bit 13 : Enable or disable interrupt for event TRIGGERED[13] */ 4809 #define EGU_INTEN_TRIGGERED13_Pos (13UL) /*!< Position of TRIGGERED13 field. */ 4810 #define EGU_INTEN_TRIGGERED13_Msk (0x1UL << EGU_INTEN_TRIGGERED13_Pos) /*!< Bit mask of TRIGGERED13 field. */ 4811 #define EGU_INTEN_TRIGGERED13_Disabled (0x0UL) /*!< Disable */ 4812 #define EGU_INTEN_TRIGGERED13_Enabled (0x1UL) /*!< Enable */ 4813 4814 /* Bit 12 : Enable or disable interrupt for event TRIGGERED[12] */ 4815 #define EGU_INTEN_TRIGGERED12_Pos (12UL) /*!< Position of TRIGGERED12 field. */ 4816 #define EGU_INTEN_TRIGGERED12_Msk (0x1UL << EGU_INTEN_TRIGGERED12_Pos) /*!< Bit mask of TRIGGERED12 field. */ 4817 #define EGU_INTEN_TRIGGERED12_Disabled (0x0UL) /*!< Disable */ 4818 #define EGU_INTEN_TRIGGERED12_Enabled (0x1UL) /*!< Enable */ 4819 4820 /* Bit 11 : Enable or disable interrupt for event TRIGGERED[11] */ 4821 #define EGU_INTEN_TRIGGERED11_Pos (11UL) /*!< Position of TRIGGERED11 field. */ 4822 #define EGU_INTEN_TRIGGERED11_Msk (0x1UL << EGU_INTEN_TRIGGERED11_Pos) /*!< Bit mask of TRIGGERED11 field. */ 4823 #define EGU_INTEN_TRIGGERED11_Disabled (0x0UL) /*!< Disable */ 4824 #define EGU_INTEN_TRIGGERED11_Enabled (0x1UL) /*!< Enable */ 4825 4826 /* Bit 10 : Enable or disable interrupt for event TRIGGERED[10] */ 4827 #define EGU_INTEN_TRIGGERED10_Pos (10UL) /*!< Position of TRIGGERED10 field. */ 4828 #define EGU_INTEN_TRIGGERED10_Msk (0x1UL << EGU_INTEN_TRIGGERED10_Pos) /*!< Bit mask of TRIGGERED10 field. */ 4829 #define EGU_INTEN_TRIGGERED10_Disabled (0x0UL) /*!< Disable */ 4830 #define EGU_INTEN_TRIGGERED10_Enabled (0x1UL) /*!< Enable */ 4831 4832 /* Bit 9 : Enable or disable interrupt for event TRIGGERED[9] */ 4833 #define EGU_INTEN_TRIGGERED9_Pos (9UL) /*!< Position of TRIGGERED9 field. */ 4834 #define EGU_INTEN_TRIGGERED9_Msk (0x1UL << EGU_INTEN_TRIGGERED9_Pos) /*!< Bit mask of TRIGGERED9 field. */ 4835 #define EGU_INTEN_TRIGGERED9_Disabled (0x0UL) /*!< Disable */ 4836 #define EGU_INTEN_TRIGGERED9_Enabled (0x1UL) /*!< Enable */ 4837 4838 /* Bit 8 : Enable or disable interrupt for event TRIGGERED[8] */ 4839 #define EGU_INTEN_TRIGGERED8_Pos (8UL) /*!< Position of TRIGGERED8 field. */ 4840 #define EGU_INTEN_TRIGGERED8_Msk (0x1UL << EGU_INTEN_TRIGGERED8_Pos) /*!< Bit mask of TRIGGERED8 field. */ 4841 #define EGU_INTEN_TRIGGERED8_Disabled (0x0UL) /*!< Disable */ 4842 #define EGU_INTEN_TRIGGERED8_Enabled (0x1UL) /*!< Enable */ 4843 4844 /* Bit 7 : Enable or disable interrupt for event TRIGGERED[7] */ 4845 #define EGU_INTEN_TRIGGERED7_Pos (7UL) /*!< Position of TRIGGERED7 field. */ 4846 #define EGU_INTEN_TRIGGERED7_Msk (0x1UL << EGU_INTEN_TRIGGERED7_Pos) /*!< Bit mask of TRIGGERED7 field. */ 4847 #define EGU_INTEN_TRIGGERED7_Disabled (0x0UL) /*!< Disable */ 4848 #define EGU_INTEN_TRIGGERED7_Enabled (0x1UL) /*!< Enable */ 4849 4850 /* Bit 6 : Enable or disable interrupt for event TRIGGERED[6] */ 4851 #define EGU_INTEN_TRIGGERED6_Pos (6UL) /*!< Position of TRIGGERED6 field. */ 4852 #define EGU_INTEN_TRIGGERED6_Msk (0x1UL << EGU_INTEN_TRIGGERED6_Pos) /*!< Bit mask of TRIGGERED6 field. */ 4853 #define EGU_INTEN_TRIGGERED6_Disabled (0x0UL) /*!< Disable */ 4854 #define EGU_INTEN_TRIGGERED6_Enabled (0x1UL) /*!< Enable */ 4855 4856 /* Bit 5 : Enable or disable interrupt for event TRIGGERED[5] */ 4857 #define EGU_INTEN_TRIGGERED5_Pos (5UL) /*!< Position of TRIGGERED5 field. */ 4858 #define EGU_INTEN_TRIGGERED5_Msk (0x1UL << EGU_INTEN_TRIGGERED5_Pos) /*!< Bit mask of TRIGGERED5 field. */ 4859 #define EGU_INTEN_TRIGGERED5_Disabled (0x0UL) /*!< Disable */ 4860 #define EGU_INTEN_TRIGGERED5_Enabled (0x1UL) /*!< Enable */ 4861 4862 /* Bit 4 : Enable or disable interrupt for event TRIGGERED[4] */ 4863 #define EGU_INTEN_TRIGGERED4_Pos (4UL) /*!< Position of TRIGGERED4 field. */ 4864 #define EGU_INTEN_TRIGGERED4_Msk (0x1UL << EGU_INTEN_TRIGGERED4_Pos) /*!< Bit mask of TRIGGERED4 field. */ 4865 #define EGU_INTEN_TRIGGERED4_Disabled (0x0UL) /*!< Disable */ 4866 #define EGU_INTEN_TRIGGERED4_Enabled (0x1UL) /*!< Enable */ 4867 4868 /* Bit 3 : Enable or disable interrupt for event TRIGGERED[3] */ 4869 #define EGU_INTEN_TRIGGERED3_Pos (3UL) /*!< Position of TRIGGERED3 field. */ 4870 #define EGU_INTEN_TRIGGERED3_Msk (0x1UL << EGU_INTEN_TRIGGERED3_Pos) /*!< Bit mask of TRIGGERED3 field. */ 4871 #define EGU_INTEN_TRIGGERED3_Disabled (0x0UL) /*!< Disable */ 4872 #define EGU_INTEN_TRIGGERED3_Enabled (0x1UL) /*!< Enable */ 4873 4874 /* Bit 2 : Enable or disable interrupt for event TRIGGERED[2] */ 4875 #define EGU_INTEN_TRIGGERED2_Pos (2UL) /*!< Position of TRIGGERED2 field. */ 4876 #define EGU_INTEN_TRIGGERED2_Msk (0x1UL << EGU_INTEN_TRIGGERED2_Pos) /*!< Bit mask of TRIGGERED2 field. */ 4877 #define EGU_INTEN_TRIGGERED2_Disabled (0x0UL) /*!< Disable */ 4878 #define EGU_INTEN_TRIGGERED2_Enabled (0x1UL) /*!< Enable */ 4879 4880 /* Bit 1 : Enable or disable interrupt for event TRIGGERED[1] */ 4881 #define EGU_INTEN_TRIGGERED1_Pos (1UL) /*!< Position of TRIGGERED1 field. */ 4882 #define EGU_INTEN_TRIGGERED1_Msk (0x1UL << EGU_INTEN_TRIGGERED1_Pos) /*!< Bit mask of TRIGGERED1 field. */ 4883 #define EGU_INTEN_TRIGGERED1_Disabled (0x0UL) /*!< Disable */ 4884 #define EGU_INTEN_TRIGGERED1_Enabled (0x1UL) /*!< Enable */ 4885 4886 /* Bit 0 : Enable or disable interrupt for event TRIGGERED[0] */ 4887 #define EGU_INTEN_TRIGGERED0_Pos (0UL) /*!< Position of TRIGGERED0 field. */ 4888 #define EGU_INTEN_TRIGGERED0_Msk (0x1UL << EGU_INTEN_TRIGGERED0_Pos) /*!< Bit mask of TRIGGERED0 field. */ 4889 #define EGU_INTEN_TRIGGERED0_Disabled (0x0UL) /*!< Disable */ 4890 #define EGU_INTEN_TRIGGERED0_Enabled (0x1UL) /*!< Enable */ 4891 4892 /* Register: EGU_INTENSET */ 4893 /* Description: Enable interrupt */ 4894 4895 /* Bit 15 : Write '1' to enable interrupt for event TRIGGERED[15] */ 4896 #define EGU_INTENSET_TRIGGERED15_Pos (15UL) /*!< Position of TRIGGERED15 field. */ 4897 #define EGU_INTENSET_TRIGGERED15_Msk (0x1UL << EGU_INTENSET_TRIGGERED15_Pos) /*!< Bit mask of TRIGGERED15 field. */ 4898 #define EGU_INTENSET_TRIGGERED15_Disabled (0x0UL) /*!< Read: Disabled */ 4899 #define EGU_INTENSET_TRIGGERED15_Enabled (0x1UL) /*!< Read: Enabled */ 4900 #define EGU_INTENSET_TRIGGERED15_Set (0x1UL) /*!< Enable */ 4901 4902 /* Bit 14 : Write '1' to enable interrupt for event TRIGGERED[14] */ 4903 #define EGU_INTENSET_TRIGGERED14_Pos (14UL) /*!< Position of TRIGGERED14 field. */ 4904 #define EGU_INTENSET_TRIGGERED14_Msk (0x1UL << EGU_INTENSET_TRIGGERED14_Pos) /*!< Bit mask of TRIGGERED14 field. */ 4905 #define EGU_INTENSET_TRIGGERED14_Disabled (0x0UL) /*!< Read: Disabled */ 4906 #define EGU_INTENSET_TRIGGERED14_Enabled (0x1UL) /*!< Read: Enabled */ 4907 #define EGU_INTENSET_TRIGGERED14_Set (0x1UL) /*!< Enable */ 4908 4909 /* Bit 13 : Write '1' to enable interrupt for event TRIGGERED[13] */ 4910 #define EGU_INTENSET_TRIGGERED13_Pos (13UL) /*!< Position of TRIGGERED13 field. */ 4911 #define EGU_INTENSET_TRIGGERED13_Msk (0x1UL << EGU_INTENSET_TRIGGERED13_Pos) /*!< Bit mask of TRIGGERED13 field. */ 4912 #define EGU_INTENSET_TRIGGERED13_Disabled (0x0UL) /*!< Read: Disabled */ 4913 #define EGU_INTENSET_TRIGGERED13_Enabled (0x1UL) /*!< Read: Enabled */ 4914 #define EGU_INTENSET_TRIGGERED13_Set (0x1UL) /*!< Enable */ 4915 4916 /* Bit 12 : Write '1' to enable interrupt for event TRIGGERED[12] */ 4917 #define EGU_INTENSET_TRIGGERED12_Pos (12UL) /*!< Position of TRIGGERED12 field. */ 4918 #define EGU_INTENSET_TRIGGERED12_Msk (0x1UL << EGU_INTENSET_TRIGGERED12_Pos) /*!< Bit mask of TRIGGERED12 field. */ 4919 #define EGU_INTENSET_TRIGGERED12_Disabled (0x0UL) /*!< Read: Disabled */ 4920 #define EGU_INTENSET_TRIGGERED12_Enabled (0x1UL) /*!< Read: Enabled */ 4921 #define EGU_INTENSET_TRIGGERED12_Set (0x1UL) /*!< Enable */ 4922 4923 /* Bit 11 : Write '1' to enable interrupt for event TRIGGERED[11] */ 4924 #define EGU_INTENSET_TRIGGERED11_Pos (11UL) /*!< Position of TRIGGERED11 field. */ 4925 #define EGU_INTENSET_TRIGGERED11_Msk (0x1UL << EGU_INTENSET_TRIGGERED11_Pos) /*!< Bit mask of TRIGGERED11 field. */ 4926 #define EGU_INTENSET_TRIGGERED11_Disabled (0x0UL) /*!< Read: Disabled */ 4927 #define EGU_INTENSET_TRIGGERED11_Enabled (0x1UL) /*!< Read: Enabled */ 4928 #define EGU_INTENSET_TRIGGERED11_Set (0x1UL) /*!< Enable */ 4929 4930 /* Bit 10 : Write '1' to enable interrupt for event TRIGGERED[10] */ 4931 #define EGU_INTENSET_TRIGGERED10_Pos (10UL) /*!< Position of TRIGGERED10 field. */ 4932 #define EGU_INTENSET_TRIGGERED10_Msk (0x1UL << EGU_INTENSET_TRIGGERED10_Pos) /*!< Bit mask of TRIGGERED10 field. */ 4933 #define EGU_INTENSET_TRIGGERED10_Disabled (0x0UL) /*!< Read: Disabled */ 4934 #define EGU_INTENSET_TRIGGERED10_Enabled (0x1UL) /*!< Read: Enabled */ 4935 #define EGU_INTENSET_TRIGGERED10_Set (0x1UL) /*!< Enable */ 4936 4937 /* Bit 9 : Write '1' to enable interrupt for event TRIGGERED[9] */ 4938 #define EGU_INTENSET_TRIGGERED9_Pos (9UL) /*!< Position of TRIGGERED9 field. */ 4939 #define EGU_INTENSET_TRIGGERED9_Msk (0x1UL << EGU_INTENSET_TRIGGERED9_Pos) /*!< Bit mask of TRIGGERED9 field. */ 4940 #define EGU_INTENSET_TRIGGERED9_Disabled (0x0UL) /*!< Read: Disabled */ 4941 #define EGU_INTENSET_TRIGGERED9_Enabled (0x1UL) /*!< Read: Enabled */ 4942 #define EGU_INTENSET_TRIGGERED9_Set (0x1UL) /*!< Enable */ 4943 4944 /* Bit 8 : Write '1' to enable interrupt for event TRIGGERED[8] */ 4945 #define EGU_INTENSET_TRIGGERED8_Pos (8UL) /*!< Position of TRIGGERED8 field. */ 4946 #define EGU_INTENSET_TRIGGERED8_Msk (0x1UL << EGU_INTENSET_TRIGGERED8_Pos) /*!< Bit mask of TRIGGERED8 field. */ 4947 #define EGU_INTENSET_TRIGGERED8_Disabled (0x0UL) /*!< Read: Disabled */ 4948 #define EGU_INTENSET_TRIGGERED8_Enabled (0x1UL) /*!< Read: Enabled */ 4949 #define EGU_INTENSET_TRIGGERED8_Set (0x1UL) /*!< Enable */ 4950 4951 /* Bit 7 : Write '1' to enable interrupt for event TRIGGERED[7] */ 4952 #define EGU_INTENSET_TRIGGERED7_Pos (7UL) /*!< Position of TRIGGERED7 field. */ 4953 #define EGU_INTENSET_TRIGGERED7_Msk (0x1UL << EGU_INTENSET_TRIGGERED7_Pos) /*!< Bit mask of TRIGGERED7 field. */ 4954 #define EGU_INTENSET_TRIGGERED7_Disabled (0x0UL) /*!< Read: Disabled */ 4955 #define EGU_INTENSET_TRIGGERED7_Enabled (0x1UL) /*!< Read: Enabled */ 4956 #define EGU_INTENSET_TRIGGERED7_Set (0x1UL) /*!< Enable */ 4957 4958 /* Bit 6 : Write '1' to enable interrupt for event TRIGGERED[6] */ 4959 #define EGU_INTENSET_TRIGGERED6_Pos (6UL) /*!< Position of TRIGGERED6 field. */ 4960 #define EGU_INTENSET_TRIGGERED6_Msk (0x1UL << EGU_INTENSET_TRIGGERED6_Pos) /*!< Bit mask of TRIGGERED6 field. */ 4961 #define EGU_INTENSET_TRIGGERED6_Disabled (0x0UL) /*!< Read: Disabled */ 4962 #define EGU_INTENSET_TRIGGERED6_Enabled (0x1UL) /*!< Read: Enabled */ 4963 #define EGU_INTENSET_TRIGGERED6_Set (0x1UL) /*!< Enable */ 4964 4965 /* Bit 5 : Write '1' to enable interrupt for event TRIGGERED[5] */ 4966 #define EGU_INTENSET_TRIGGERED5_Pos (5UL) /*!< Position of TRIGGERED5 field. */ 4967 #define EGU_INTENSET_TRIGGERED5_Msk (0x1UL << EGU_INTENSET_TRIGGERED5_Pos) /*!< Bit mask of TRIGGERED5 field. */ 4968 #define EGU_INTENSET_TRIGGERED5_Disabled (0x0UL) /*!< Read: Disabled */ 4969 #define EGU_INTENSET_TRIGGERED5_Enabled (0x1UL) /*!< Read: Enabled */ 4970 #define EGU_INTENSET_TRIGGERED5_Set (0x1UL) /*!< Enable */ 4971 4972 /* Bit 4 : Write '1' to enable interrupt for event TRIGGERED[4] */ 4973 #define EGU_INTENSET_TRIGGERED4_Pos (4UL) /*!< Position of TRIGGERED4 field. */ 4974 #define EGU_INTENSET_TRIGGERED4_Msk (0x1UL << EGU_INTENSET_TRIGGERED4_Pos) /*!< Bit mask of TRIGGERED4 field. */ 4975 #define EGU_INTENSET_TRIGGERED4_Disabled (0x0UL) /*!< Read: Disabled */ 4976 #define EGU_INTENSET_TRIGGERED4_Enabled (0x1UL) /*!< Read: Enabled */ 4977 #define EGU_INTENSET_TRIGGERED4_Set (0x1UL) /*!< Enable */ 4978 4979 /* Bit 3 : Write '1' to enable interrupt for event TRIGGERED[3] */ 4980 #define EGU_INTENSET_TRIGGERED3_Pos (3UL) /*!< Position of TRIGGERED3 field. */ 4981 #define EGU_INTENSET_TRIGGERED3_Msk (0x1UL << EGU_INTENSET_TRIGGERED3_Pos) /*!< Bit mask of TRIGGERED3 field. */ 4982 #define EGU_INTENSET_TRIGGERED3_Disabled (0x0UL) /*!< Read: Disabled */ 4983 #define EGU_INTENSET_TRIGGERED3_Enabled (0x1UL) /*!< Read: Enabled */ 4984 #define EGU_INTENSET_TRIGGERED3_Set (0x1UL) /*!< Enable */ 4985 4986 /* Bit 2 : Write '1' to enable interrupt for event TRIGGERED[2] */ 4987 #define EGU_INTENSET_TRIGGERED2_Pos (2UL) /*!< Position of TRIGGERED2 field. */ 4988 #define EGU_INTENSET_TRIGGERED2_Msk (0x1UL << EGU_INTENSET_TRIGGERED2_Pos) /*!< Bit mask of TRIGGERED2 field. */ 4989 #define EGU_INTENSET_TRIGGERED2_Disabled (0x0UL) /*!< Read: Disabled */ 4990 #define EGU_INTENSET_TRIGGERED2_Enabled (0x1UL) /*!< Read: Enabled */ 4991 #define EGU_INTENSET_TRIGGERED2_Set (0x1UL) /*!< Enable */ 4992 4993 /* Bit 1 : Write '1' to enable interrupt for event TRIGGERED[1] */ 4994 #define EGU_INTENSET_TRIGGERED1_Pos (1UL) /*!< Position of TRIGGERED1 field. */ 4995 #define EGU_INTENSET_TRIGGERED1_Msk (0x1UL << EGU_INTENSET_TRIGGERED1_Pos) /*!< Bit mask of TRIGGERED1 field. */ 4996 #define EGU_INTENSET_TRIGGERED1_Disabled (0x0UL) /*!< Read: Disabled */ 4997 #define EGU_INTENSET_TRIGGERED1_Enabled (0x1UL) /*!< Read: Enabled */ 4998 #define EGU_INTENSET_TRIGGERED1_Set (0x1UL) /*!< Enable */ 4999 5000 /* Bit 0 : Write '1' to enable interrupt for event TRIGGERED[0] */ 5001 #define EGU_INTENSET_TRIGGERED0_Pos (0UL) /*!< Position of TRIGGERED0 field. */ 5002 #define EGU_INTENSET_TRIGGERED0_Msk (0x1UL << EGU_INTENSET_TRIGGERED0_Pos) /*!< Bit mask of TRIGGERED0 field. */ 5003 #define EGU_INTENSET_TRIGGERED0_Disabled (0x0UL) /*!< Read: Disabled */ 5004 #define EGU_INTENSET_TRIGGERED0_Enabled (0x1UL) /*!< Read: Enabled */ 5005 #define EGU_INTENSET_TRIGGERED0_Set (0x1UL) /*!< Enable */ 5006 5007 /* Register: EGU_INTENCLR */ 5008 /* Description: Disable interrupt */ 5009 5010 /* Bit 15 : Write '1' to disable interrupt for event TRIGGERED[15] */ 5011 #define EGU_INTENCLR_TRIGGERED15_Pos (15UL) /*!< Position of TRIGGERED15 field. */ 5012 #define EGU_INTENCLR_TRIGGERED15_Msk (0x1UL << EGU_INTENCLR_TRIGGERED15_Pos) /*!< Bit mask of TRIGGERED15 field. */ 5013 #define EGU_INTENCLR_TRIGGERED15_Disabled (0x0UL) /*!< Read: Disabled */ 5014 #define EGU_INTENCLR_TRIGGERED15_Enabled (0x1UL) /*!< Read: Enabled */ 5015 #define EGU_INTENCLR_TRIGGERED15_Clear (0x1UL) /*!< Disable */ 5016 5017 /* Bit 14 : Write '1' to disable interrupt for event TRIGGERED[14] */ 5018 #define EGU_INTENCLR_TRIGGERED14_Pos (14UL) /*!< Position of TRIGGERED14 field. */ 5019 #define EGU_INTENCLR_TRIGGERED14_Msk (0x1UL << EGU_INTENCLR_TRIGGERED14_Pos) /*!< Bit mask of TRIGGERED14 field. */ 5020 #define EGU_INTENCLR_TRIGGERED14_Disabled (0x0UL) /*!< Read: Disabled */ 5021 #define EGU_INTENCLR_TRIGGERED14_Enabled (0x1UL) /*!< Read: Enabled */ 5022 #define EGU_INTENCLR_TRIGGERED14_Clear (0x1UL) /*!< Disable */ 5023 5024 /* Bit 13 : Write '1' to disable interrupt for event TRIGGERED[13] */ 5025 #define EGU_INTENCLR_TRIGGERED13_Pos (13UL) /*!< Position of TRIGGERED13 field. */ 5026 #define EGU_INTENCLR_TRIGGERED13_Msk (0x1UL << EGU_INTENCLR_TRIGGERED13_Pos) /*!< Bit mask of TRIGGERED13 field. */ 5027 #define EGU_INTENCLR_TRIGGERED13_Disabled (0x0UL) /*!< Read: Disabled */ 5028 #define EGU_INTENCLR_TRIGGERED13_Enabled (0x1UL) /*!< Read: Enabled */ 5029 #define EGU_INTENCLR_TRIGGERED13_Clear (0x1UL) /*!< Disable */ 5030 5031 /* Bit 12 : Write '1' to disable interrupt for event TRIGGERED[12] */ 5032 #define EGU_INTENCLR_TRIGGERED12_Pos (12UL) /*!< Position of TRIGGERED12 field. */ 5033 #define EGU_INTENCLR_TRIGGERED12_Msk (0x1UL << EGU_INTENCLR_TRIGGERED12_Pos) /*!< Bit mask of TRIGGERED12 field. */ 5034 #define EGU_INTENCLR_TRIGGERED12_Disabled (0x0UL) /*!< Read: Disabled */ 5035 #define EGU_INTENCLR_TRIGGERED12_Enabled (0x1UL) /*!< Read: Enabled */ 5036 #define EGU_INTENCLR_TRIGGERED12_Clear (0x1UL) /*!< Disable */ 5037 5038 /* Bit 11 : Write '1' to disable interrupt for event TRIGGERED[11] */ 5039 #define EGU_INTENCLR_TRIGGERED11_Pos (11UL) /*!< Position of TRIGGERED11 field. */ 5040 #define EGU_INTENCLR_TRIGGERED11_Msk (0x1UL << EGU_INTENCLR_TRIGGERED11_Pos) /*!< Bit mask of TRIGGERED11 field. */ 5041 #define EGU_INTENCLR_TRIGGERED11_Disabled (0x0UL) /*!< Read: Disabled */ 5042 #define EGU_INTENCLR_TRIGGERED11_Enabled (0x1UL) /*!< Read: Enabled */ 5043 #define EGU_INTENCLR_TRIGGERED11_Clear (0x1UL) /*!< Disable */ 5044 5045 /* Bit 10 : Write '1' to disable interrupt for event TRIGGERED[10] */ 5046 #define EGU_INTENCLR_TRIGGERED10_Pos (10UL) /*!< Position of TRIGGERED10 field. */ 5047 #define EGU_INTENCLR_TRIGGERED10_Msk (0x1UL << EGU_INTENCLR_TRIGGERED10_Pos) /*!< Bit mask of TRIGGERED10 field. */ 5048 #define EGU_INTENCLR_TRIGGERED10_Disabled (0x0UL) /*!< Read: Disabled */ 5049 #define EGU_INTENCLR_TRIGGERED10_Enabled (0x1UL) /*!< Read: Enabled */ 5050 #define EGU_INTENCLR_TRIGGERED10_Clear (0x1UL) /*!< Disable */ 5051 5052 /* Bit 9 : Write '1' to disable interrupt for event TRIGGERED[9] */ 5053 #define EGU_INTENCLR_TRIGGERED9_Pos (9UL) /*!< Position of TRIGGERED9 field. */ 5054 #define EGU_INTENCLR_TRIGGERED9_Msk (0x1UL << EGU_INTENCLR_TRIGGERED9_Pos) /*!< Bit mask of TRIGGERED9 field. */ 5055 #define EGU_INTENCLR_TRIGGERED9_Disabled (0x0UL) /*!< Read: Disabled */ 5056 #define EGU_INTENCLR_TRIGGERED9_Enabled (0x1UL) /*!< Read: Enabled */ 5057 #define EGU_INTENCLR_TRIGGERED9_Clear (0x1UL) /*!< Disable */ 5058 5059 /* Bit 8 : Write '1' to disable interrupt for event TRIGGERED[8] */ 5060 #define EGU_INTENCLR_TRIGGERED8_Pos (8UL) /*!< Position of TRIGGERED8 field. */ 5061 #define EGU_INTENCLR_TRIGGERED8_Msk (0x1UL << EGU_INTENCLR_TRIGGERED8_Pos) /*!< Bit mask of TRIGGERED8 field. */ 5062 #define EGU_INTENCLR_TRIGGERED8_Disabled (0x0UL) /*!< Read: Disabled */ 5063 #define EGU_INTENCLR_TRIGGERED8_Enabled (0x1UL) /*!< Read: Enabled */ 5064 #define EGU_INTENCLR_TRIGGERED8_Clear (0x1UL) /*!< Disable */ 5065 5066 /* Bit 7 : Write '1' to disable interrupt for event TRIGGERED[7] */ 5067 #define EGU_INTENCLR_TRIGGERED7_Pos (7UL) /*!< Position of TRIGGERED7 field. */ 5068 #define EGU_INTENCLR_TRIGGERED7_Msk (0x1UL << EGU_INTENCLR_TRIGGERED7_Pos) /*!< Bit mask of TRIGGERED7 field. */ 5069 #define EGU_INTENCLR_TRIGGERED7_Disabled (0x0UL) /*!< Read: Disabled */ 5070 #define EGU_INTENCLR_TRIGGERED7_Enabled (0x1UL) /*!< Read: Enabled */ 5071 #define EGU_INTENCLR_TRIGGERED7_Clear (0x1UL) /*!< Disable */ 5072 5073 /* Bit 6 : Write '1' to disable interrupt for event TRIGGERED[6] */ 5074 #define EGU_INTENCLR_TRIGGERED6_Pos (6UL) /*!< Position of TRIGGERED6 field. */ 5075 #define EGU_INTENCLR_TRIGGERED6_Msk (0x1UL << EGU_INTENCLR_TRIGGERED6_Pos) /*!< Bit mask of TRIGGERED6 field. */ 5076 #define EGU_INTENCLR_TRIGGERED6_Disabled (0x0UL) /*!< Read: Disabled */ 5077 #define EGU_INTENCLR_TRIGGERED6_Enabled (0x1UL) /*!< Read: Enabled */ 5078 #define EGU_INTENCLR_TRIGGERED6_Clear (0x1UL) /*!< Disable */ 5079 5080 /* Bit 5 : Write '1' to disable interrupt for event TRIGGERED[5] */ 5081 #define EGU_INTENCLR_TRIGGERED5_Pos (5UL) /*!< Position of TRIGGERED5 field. */ 5082 #define EGU_INTENCLR_TRIGGERED5_Msk (0x1UL << EGU_INTENCLR_TRIGGERED5_Pos) /*!< Bit mask of TRIGGERED5 field. */ 5083 #define EGU_INTENCLR_TRIGGERED5_Disabled (0x0UL) /*!< Read: Disabled */ 5084 #define EGU_INTENCLR_TRIGGERED5_Enabled (0x1UL) /*!< Read: Enabled */ 5085 #define EGU_INTENCLR_TRIGGERED5_Clear (0x1UL) /*!< Disable */ 5086 5087 /* Bit 4 : Write '1' to disable interrupt for event TRIGGERED[4] */ 5088 #define EGU_INTENCLR_TRIGGERED4_Pos (4UL) /*!< Position of TRIGGERED4 field. */ 5089 #define EGU_INTENCLR_TRIGGERED4_Msk (0x1UL << EGU_INTENCLR_TRIGGERED4_Pos) /*!< Bit mask of TRIGGERED4 field. */ 5090 #define EGU_INTENCLR_TRIGGERED4_Disabled (0x0UL) /*!< Read: Disabled */ 5091 #define EGU_INTENCLR_TRIGGERED4_Enabled (0x1UL) /*!< Read: Enabled */ 5092 #define EGU_INTENCLR_TRIGGERED4_Clear (0x1UL) /*!< Disable */ 5093 5094 /* Bit 3 : Write '1' to disable interrupt for event TRIGGERED[3] */ 5095 #define EGU_INTENCLR_TRIGGERED3_Pos (3UL) /*!< Position of TRIGGERED3 field. */ 5096 #define EGU_INTENCLR_TRIGGERED3_Msk (0x1UL << EGU_INTENCLR_TRIGGERED3_Pos) /*!< Bit mask of TRIGGERED3 field. */ 5097 #define EGU_INTENCLR_TRIGGERED3_Disabled (0x0UL) /*!< Read: Disabled */ 5098 #define EGU_INTENCLR_TRIGGERED3_Enabled (0x1UL) /*!< Read: Enabled */ 5099 #define EGU_INTENCLR_TRIGGERED3_Clear (0x1UL) /*!< Disable */ 5100 5101 /* Bit 2 : Write '1' to disable interrupt for event TRIGGERED[2] */ 5102 #define EGU_INTENCLR_TRIGGERED2_Pos (2UL) /*!< Position of TRIGGERED2 field. */ 5103 #define EGU_INTENCLR_TRIGGERED2_Msk (0x1UL << EGU_INTENCLR_TRIGGERED2_Pos) /*!< Bit mask of TRIGGERED2 field. */ 5104 #define EGU_INTENCLR_TRIGGERED2_Disabled (0x0UL) /*!< Read: Disabled */ 5105 #define EGU_INTENCLR_TRIGGERED2_Enabled (0x1UL) /*!< Read: Enabled */ 5106 #define EGU_INTENCLR_TRIGGERED2_Clear (0x1UL) /*!< Disable */ 5107 5108 /* Bit 1 : Write '1' to disable interrupt for event TRIGGERED[1] */ 5109 #define EGU_INTENCLR_TRIGGERED1_Pos (1UL) /*!< Position of TRIGGERED1 field. */ 5110 #define EGU_INTENCLR_TRIGGERED1_Msk (0x1UL << EGU_INTENCLR_TRIGGERED1_Pos) /*!< Bit mask of TRIGGERED1 field. */ 5111 #define EGU_INTENCLR_TRIGGERED1_Disabled (0x0UL) /*!< Read: Disabled */ 5112 #define EGU_INTENCLR_TRIGGERED1_Enabled (0x1UL) /*!< Read: Enabled */ 5113 #define EGU_INTENCLR_TRIGGERED1_Clear (0x1UL) /*!< Disable */ 5114 5115 /* Bit 0 : Write '1' to disable interrupt for event TRIGGERED[0] */ 5116 #define EGU_INTENCLR_TRIGGERED0_Pos (0UL) /*!< Position of TRIGGERED0 field. */ 5117 #define EGU_INTENCLR_TRIGGERED0_Msk (0x1UL << EGU_INTENCLR_TRIGGERED0_Pos) /*!< Bit mask of TRIGGERED0 field. */ 5118 #define EGU_INTENCLR_TRIGGERED0_Disabled (0x0UL) /*!< Read: Disabled */ 5119 #define EGU_INTENCLR_TRIGGERED0_Enabled (0x1UL) /*!< Read: Enabled */ 5120 #define EGU_INTENCLR_TRIGGERED0_Clear (0x1UL) /*!< Disable */ 5121 5122 5123 /* Peripheral: FICR */ 5124 /* Description: Factory Information Configuration Registers */ 5125 5126 /* Register: FICR_INFO_CONFIGID */ 5127 /* Description: Configuration identifier */ 5128 5129 /* Bits 15..0 : Identification number for the HW */ 5130 #define FICR_INFO_CONFIGID_HWID_Pos (0UL) /*!< Position of HWID field. */ 5131 #define FICR_INFO_CONFIGID_HWID_Msk (0xFFFFUL << FICR_INFO_CONFIGID_HWID_Pos) /*!< Bit mask of HWID field. */ 5132 5133 /* Register: FICR_INFO_DEVICEID */ 5134 /* Description: Description collection: Device identifier */ 5135 5136 /* Bits 31..0 : 64 bit unique device identifier */ 5137 #define FICR_INFO_DEVICEID_DEVICEID_Pos (0UL) /*!< Position of DEVICEID field. */ 5138 #define FICR_INFO_DEVICEID_DEVICEID_Msk (0xFFFFFFFFUL << FICR_INFO_DEVICEID_DEVICEID_Pos) /*!< Bit mask of DEVICEID field. */ 5139 5140 /* Register: FICR_INFO_PART */ 5141 /* Description: Part code */ 5142 5143 /* Bits 31..0 : Part code */ 5144 #define FICR_INFO_PART_PART_Pos (0UL) /*!< Position of PART field. */ 5145 #define FICR_INFO_PART_PART_Msk (0xFFFFFFFFUL << FICR_INFO_PART_PART_Pos) /*!< Bit mask of PART field. */ 5146 #define FICR_INFO_PART_PART_N5340 (0x00005340UL) /*!< nRF5340 */ 5147 #define FICR_INFO_PART_PART_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */ 5148 5149 /* Register: FICR_INFO_VARIANT */ 5150 /* Description: Part Variant, Hardware version and Production configuration */ 5151 5152 /* Bits 31..0 : Part Variant, Hardware version and Production configuration, encoded as ASCII */ 5153 #define FICR_INFO_VARIANT_VARIANT_Pos (0UL) /*!< Position of VARIANT field. */ 5154 #define FICR_INFO_VARIANT_VARIANT_Msk (0xFFFFFFFFUL << FICR_INFO_VARIANT_VARIANT_Pos) /*!< Bit mask of VARIANT field. */ 5155 #define FICR_INFO_VARIANT_VARIANT_CLAA (0x434C4141UL) /*!< CLAA */ 5156 #define FICR_INFO_VARIANT_VARIANT_QKAA (0x514B4141UL) /*!< QKAA */ 5157 #define FICR_INFO_VARIANT_VARIANT_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */ 5158 5159 /* Register: FICR_INFO_PACKAGE */ 5160 /* Description: Package option */ 5161 5162 /* Bits 31..0 : Package option */ 5163 #define FICR_INFO_PACKAGE_PACKAGE_Pos (0UL) /*!< Position of PACKAGE field. */ 5164 #define FICR_INFO_PACKAGE_PACKAGE_Msk (0xFFFFFFFFUL << FICR_INFO_PACKAGE_PACKAGE_Pos) /*!< Bit mask of PACKAGE field. */ 5165 #define FICR_INFO_PACKAGE_PACKAGE_QK (0x00002000UL) /*!< QKxx - 94-pin aQFN */ 5166 #define FICR_INFO_PACKAGE_PACKAGE_CL (0x00002005UL) /*!< CLxx - WLCSP */ 5167 #define FICR_INFO_PACKAGE_PACKAGE_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */ 5168 5169 /* Register: FICR_INFO_RAM */ 5170 /* Description: RAM variant */ 5171 5172 /* Bits 31..0 : RAM variant */ 5173 #define FICR_INFO_RAM_RAM_Pos (0UL) /*!< Position of RAM field. */ 5174 #define FICR_INFO_RAM_RAM_Msk (0xFFFFFFFFUL << FICR_INFO_RAM_RAM_Pos) /*!< Bit mask of RAM field. */ 5175 #define FICR_INFO_RAM_RAM_K16 (0x00000010UL) /*!< 16 kByte RAM */ 5176 #define FICR_INFO_RAM_RAM_K32 (0x00000020UL) /*!< 32 kByte RAM */ 5177 #define FICR_INFO_RAM_RAM_K64 (0x00000040UL) /*!< 64 kByte RAM */ 5178 #define FICR_INFO_RAM_RAM_K128 (0x00000080UL) /*!< 128 kByte RAM */ 5179 #define FICR_INFO_RAM_RAM_K256 (0x00000100UL) /*!< 256 kByte RAM */ 5180 #define FICR_INFO_RAM_RAM_K512 (0x00000200UL) /*!< 512 kByte RAM */ 5181 #define FICR_INFO_RAM_RAM_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */ 5182 5183 /* Register: FICR_INFO_FLASH */ 5184 /* Description: Flash variant */ 5185 5186 /* Bits 31..0 : Flash variant */ 5187 #define FICR_INFO_FLASH_FLASH_Pos (0UL) /*!< Position of FLASH field. */ 5188 #define FICR_INFO_FLASH_FLASH_Msk (0xFFFFFFFFUL << FICR_INFO_FLASH_FLASH_Pos) /*!< Bit mask of FLASH field. */ 5189 #define FICR_INFO_FLASH_FLASH_K128 (0x00000080UL) /*!< 128 kByte FLASH */ 5190 #define FICR_INFO_FLASH_FLASH_K256 (0x00000100UL) /*!< 256 kByte FLASH */ 5191 #define FICR_INFO_FLASH_FLASH_K512 (0x00000200UL) /*!< 512 kByte FLASH */ 5192 #define FICR_INFO_FLASH_FLASH_K1024 (0x00000400UL) /*!< 1 MByte FLASH */ 5193 #define FICR_INFO_FLASH_FLASH_K2048 (0x00000800UL) /*!< 2 MByte FLASH */ 5194 #define FICR_INFO_FLASH_FLASH_Unspecified (0xFFFFFFFFUL) /*!< Unspecified */ 5195 5196 /* Register: FICR_INFO_CODEPAGESIZE */ 5197 /* Description: Code memory page size in bytes */ 5198 5199 /* Bits 31..0 : Code memory page size in bytes */ 5200 #define FICR_INFO_CODEPAGESIZE_CODEPAGESIZE_Pos (0UL) /*!< Position of CODEPAGESIZE field. */ 5201 #define FICR_INFO_CODEPAGESIZE_CODEPAGESIZE_Msk (0xFFFFFFFFUL << FICR_INFO_CODEPAGESIZE_CODEPAGESIZE_Pos) /*!< Bit mask of CODEPAGESIZE field. */ 5202 #define FICR_INFO_CODEPAGESIZE_CODEPAGESIZE_K4096 (0x00001000UL) /*!< 4 kByte */ 5203 5204 /* Register: FICR_INFO_CODESIZE */ 5205 /* Description: Code memory size */ 5206 5207 /* Bits 31..0 : Code memory size in number of pages */ 5208 #define FICR_INFO_CODESIZE_CODESIZE_Pos (0UL) /*!< Position of CODESIZE field. */ 5209 #define FICR_INFO_CODESIZE_CODESIZE_Msk (0xFFFFFFFFUL << FICR_INFO_CODESIZE_CODESIZE_Pos) /*!< Bit mask of CODESIZE field. */ 5210 #define FICR_INFO_CODESIZE_CODESIZE_P256 (0x00000100UL) /*!< 256 pages */ 5211 5212 /* Register: FICR_INFO_DEVICETYPE */ 5213 /* Description: Device type */ 5214 5215 /* Bits 31..0 : Device type */ 5216 #define FICR_INFO_DEVICETYPE_DEVICETYPE_Pos (0UL) /*!< Position of DEVICETYPE field. */ 5217 #define FICR_INFO_DEVICETYPE_DEVICETYPE_Msk (0xFFFFFFFFUL << FICR_INFO_DEVICETYPE_DEVICETYPE_Pos) /*!< Bit mask of DEVICETYPE field. */ 5218 #define FICR_INFO_DEVICETYPE_DEVICETYPE_Die (0x00000000UL) /*!< Device is an physical DIE */ 5219 #define FICR_INFO_DEVICETYPE_DEVICETYPE_FPGA (0xFFFFFFFFUL) /*!< Device is an FPGA */ 5220 5221 /* Register: FICR_TRIMCNF_ADDR */ 5222 /* Description: Description cluster: Address of the PAR register which will be written */ 5223 5224 /* Bits 31..0 : Address */ 5225 #define FICR_TRIMCNF_ADDR_Address_Pos (0UL) /*!< Position of Address field. */ 5226 #define FICR_TRIMCNF_ADDR_Address_Msk (0xFFFFFFFFUL << FICR_TRIMCNF_ADDR_Address_Pos) /*!< Bit mask of Address field. */ 5227 5228 /* Register: FICR_TRIMCNF_DATA */ 5229 /* Description: Description cluster: Data */ 5230 5231 /* Bits 31..0 : Data to be written into the PAR register */ 5232 #define FICR_TRIMCNF_DATA_Data_Pos (0UL) /*!< Position of Data field. */ 5233 #define FICR_TRIMCNF_DATA_Data_Msk (0xFFFFFFFFUL << FICR_TRIMCNF_DATA_Data_Pos) /*!< Bit mask of Data field. */ 5234 5235 /* Register: FICR_NFC_TAGHEADER0 */ 5236 /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */ 5237 5238 /* Bits 31..24 : Unique identifier byte 3 */ 5239 #define FICR_NFC_TAGHEADER0_UD3_Pos (24UL) /*!< Position of UD3 field. */ 5240 #define FICR_NFC_TAGHEADER0_UD3_Msk (0xFFUL << FICR_NFC_TAGHEADER0_UD3_Pos) /*!< Bit mask of UD3 field. */ 5241 5242 /* Bits 23..16 : Unique identifier byte 2 */ 5243 #define FICR_NFC_TAGHEADER0_UD2_Pos (16UL) /*!< Position of UD2 field. */ 5244 #define FICR_NFC_TAGHEADER0_UD2_Msk (0xFFUL << FICR_NFC_TAGHEADER0_UD2_Pos) /*!< Bit mask of UD2 field. */ 5245 5246 /* Bits 15..8 : Unique identifier byte 1 */ 5247 #define FICR_NFC_TAGHEADER0_UD1_Pos (8UL) /*!< Position of UD1 field. */ 5248 #define FICR_NFC_TAGHEADER0_UD1_Msk (0xFFUL << FICR_NFC_TAGHEADER0_UD1_Pos) /*!< Bit mask of UD1 field. */ 5249 5250 /* Bits 7..0 : Default Manufacturer ID: Nordic Semiconductor ASA has ICM 0x5F */ 5251 #define FICR_NFC_TAGHEADER0_MFGID_Pos (0UL) /*!< Position of MFGID field. */ 5252 #define FICR_NFC_TAGHEADER0_MFGID_Msk (0xFFUL << FICR_NFC_TAGHEADER0_MFGID_Pos) /*!< Bit mask of MFGID field. */ 5253 5254 /* Register: FICR_NFC_TAGHEADER1 */ 5255 /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */ 5256 5257 /* Bits 31..24 : Unique identifier byte 7 */ 5258 #define FICR_NFC_TAGHEADER1_UD7_Pos (24UL) /*!< Position of UD7 field. */ 5259 #define FICR_NFC_TAGHEADER1_UD7_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD7_Pos) /*!< Bit mask of UD7 field. */ 5260 5261 /* Bits 23..16 : Unique identifier byte 6 */ 5262 #define FICR_NFC_TAGHEADER1_UD6_Pos (16UL) /*!< Position of UD6 field. */ 5263 #define FICR_NFC_TAGHEADER1_UD6_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD6_Pos) /*!< Bit mask of UD6 field. */ 5264 5265 /* Bits 15..8 : Unique identifier byte 5 */ 5266 #define FICR_NFC_TAGHEADER1_UD5_Pos (8UL) /*!< Position of UD5 field. */ 5267 #define FICR_NFC_TAGHEADER1_UD5_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD5_Pos) /*!< Bit mask of UD5 field. */ 5268 5269 /* Bits 7..0 : Unique identifier byte 4 */ 5270 #define FICR_NFC_TAGHEADER1_UD4_Pos (0UL) /*!< Position of UD4 field. */ 5271 #define FICR_NFC_TAGHEADER1_UD4_Msk (0xFFUL << FICR_NFC_TAGHEADER1_UD4_Pos) /*!< Bit mask of UD4 field. */ 5272 5273 /* Register: FICR_NFC_TAGHEADER2 */ 5274 /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */ 5275 5276 /* Bits 31..24 : Unique identifier byte 11 */ 5277 #define FICR_NFC_TAGHEADER2_UD11_Pos (24UL) /*!< Position of UD11 field. */ 5278 #define FICR_NFC_TAGHEADER2_UD11_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD11_Pos) /*!< Bit mask of UD11 field. */ 5279 5280 /* Bits 23..16 : Unique identifier byte 10 */ 5281 #define FICR_NFC_TAGHEADER2_UD10_Pos (16UL) /*!< Position of UD10 field. */ 5282 #define FICR_NFC_TAGHEADER2_UD10_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD10_Pos) /*!< Bit mask of UD10 field. */ 5283 5284 /* Bits 15..8 : Unique identifier byte 9 */ 5285 #define FICR_NFC_TAGHEADER2_UD9_Pos (8UL) /*!< Position of UD9 field. */ 5286 #define FICR_NFC_TAGHEADER2_UD9_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD9_Pos) /*!< Bit mask of UD9 field. */ 5287 5288 /* Bits 7..0 : Unique identifier byte 8 */ 5289 #define FICR_NFC_TAGHEADER2_UD8_Pos (0UL) /*!< Position of UD8 field. */ 5290 #define FICR_NFC_TAGHEADER2_UD8_Msk (0xFFUL << FICR_NFC_TAGHEADER2_UD8_Pos) /*!< Bit mask of UD8 field. */ 5291 5292 /* Register: FICR_NFC_TAGHEADER3 */ 5293 /* Description: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. */ 5294 5295 /* Bits 31..24 : Unique identifier byte 15 */ 5296 #define FICR_NFC_TAGHEADER3_UD15_Pos (24UL) /*!< Position of UD15 field. */ 5297 #define FICR_NFC_TAGHEADER3_UD15_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD15_Pos) /*!< Bit mask of UD15 field. */ 5298 5299 /* Bits 23..16 : Unique identifier byte 14 */ 5300 #define FICR_NFC_TAGHEADER3_UD14_Pos (16UL) /*!< Position of UD14 field. */ 5301 #define FICR_NFC_TAGHEADER3_UD14_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD14_Pos) /*!< Bit mask of UD14 field. */ 5302 5303 /* Bits 15..8 : Unique identifier byte 13 */ 5304 #define FICR_NFC_TAGHEADER3_UD13_Pos (8UL) /*!< Position of UD13 field. */ 5305 #define FICR_NFC_TAGHEADER3_UD13_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD13_Pos) /*!< Bit mask of UD13 field. */ 5306 5307 /* Bits 7..0 : Unique identifier byte 12 */ 5308 #define FICR_NFC_TAGHEADER3_UD12_Pos (0UL) /*!< Position of UD12 field. */ 5309 #define FICR_NFC_TAGHEADER3_UD12_Msk (0xFFUL << FICR_NFC_TAGHEADER3_UD12_Pos) /*!< Bit mask of UD12 field. */ 5310 5311 /* Register: FICR_TRNG90B_BYTES */ 5312 /* Description: Amount of bytes for the required entropy bits */ 5313 5314 /* Bits 31..0 : Amount of bytes for the required entropy bits */ 5315 #define FICR_TRNG90B_BYTES_BYTES_Pos (0UL) /*!< Position of BYTES field. */ 5316 #define FICR_TRNG90B_BYTES_BYTES_Msk (0xFFFFFFFFUL << FICR_TRNG90B_BYTES_BYTES_Pos) /*!< Bit mask of BYTES field. */ 5317 5318 /* Register: FICR_TRNG90B_RCCUTOFF */ 5319 /* Description: Repetition counter cutoff */ 5320 5321 /* Bits 31..0 : Repetition counter cutoff */ 5322 #define FICR_TRNG90B_RCCUTOFF_RCCUTOFF_Pos (0UL) /*!< Position of RCCUTOFF field. */ 5323 #define FICR_TRNG90B_RCCUTOFF_RCCUTOFF_Msk (0xFFFFFFFFUL << FICR_TRNG90B_RCCUTOFF_RCCUTOFF_Pos) /*!< Bit mask of RCCUTOFF field. */ 5324 5325 /* Register: FICR_TRNG90B_APCUTOFF */ 5326 /* Description: Adaptive proportion cutoff */ 5327 5328 /* Bits 31..0 : Adaptive proportion cutoff */ 5329 #define FICR_TRNG90B_APCUTOFF_APCUTOFF_Pos (0UL) /*!< Position of APCUTOFF field. */ 5330 #define FICR_TRNG90B_APCUTOFF_APCUTOFF_Msk (0xFFFFFFFFUL << FICR_TRNG90B_APCUTOFF_APCUTOFF_Pos) /*!< Bit mask of APCUTOFF field. */ 5331 5332 /* Register: FICR_TRNG90B_STARTUP */ 5333 /* Description: Amount of bytes for the startup tests */ 5334 5335 /* Bits 31..0 : Amount of bytes for the startup tests */ 5336 #define FICR_TRNG90B_STARTUP_STARTUP_Pos (0UL) /*!< Position of STARTUP field. */ 5337 #define FICR_TRNG90B_STARTUP_STARTUP_Msk (0xFFFFFFFFUL << FICR_TRNG90B_STARTUP_STARTUP_Pos) /*!< Bit mask of STARTUP field. */ 5338 5339 /* Register: FICR_TRNG90B_ROSC1 */ 5340 /* Description: Sample count for ring oscillator 1 */ 5341 5342 /* Bits 31..0 : Sample count for ring oscillator 1 */ 5343 #define FICR_TRNG90B_ROSC1_ROSC1_Pos (0UL) /*!< Position of ROSC1 field. */ 5344 #define FICR_TRNG90B_ROSC1_ROSC1_Msk (0xFFFFFFFFUL << FICR_TRNG90B_ROSC1_ROSC1_Pos) /*!< Bit mask of ROSC1 field. */ 5345 5346 /* Register: FICR_TRNG90B_ROSC2 */ 5347 /* Description: Sample count for ring oscillator 2 */ 5348 5349 /* Bits 31..0 : Sample count for ring oscillator 2 */ 5350 #define FICR_TRNG90B_ROSC2_ROSC2_Pos (0UL) /*!< Position of ROSC2 field. */ 5351 #define FICR_TRNG90B_ROSC2_ROSC2_Msk (0xFFFFFFFFUL << FICR_TRNG90B_ROSC2_ROSC2_Pos) /*!< Bit mask of ROSC2 field. */ 5352 5353 /* Register: FICR_TRNG90B_ROSC3 */ 5354 /* Description: Sample count for ring oscillator 3 */ 5355 5356 /* Bits 31..0 : Sample count for ring oscillator 3 */ 5357 #define FICR_TRNG90B_ROSC3_ROSC3_Pos (0UL) /*!< Position of ROSC3 field. */ 5358 #define FICR_TRNG90B_ROSC3_ROSC3_Msk (0xFFFFFFFFUL << FICR_TRNG90B_ROSC3_ROSC3_Pos) /*!< Bit mask of ROSC3 field. */ 5359 5360 /* Register: FICR_TRNG90B_ROSC4 */ 5361 /* Description: Sample count for ring oscillator 4 */ 5362 5363 /* Bits 31..0 : Sample count for ring oscillator 4 */ 5364 #define FICR_TRNG90B_ROSC4_ROSC4_Pos (0UL) /*!< Position of ROSC4 field. */ 5365 #define FICR_TRNG90B_ROSC4_ROSC4_Msk (0xFFFFFFFFUL << FICR_TRNG90B_ROSC4_ROSC4_Pos) /*!< Bit mask of ROSC4 field. */ 5366 5367 /* Register: FICR_XOSC32MTRIM */ 5368 /* Description: XOSC32M capacitor selection trim values */ 5369 5370 /* Bits 9..5 : Offset trim factor on integer form */ 5371 #define FICR_XOSC32MTRIM_OFFSET_Pos (5UL) /*!< Position of OFFSET field. */ 5372 #define FICR_XOSC32MTRIM_OFFSET_Msk (0x1FUL << FICR_XOSC32MTRIM_OFFSET_Pos) /*!< Bit mask of OFFSET field. */ 5373 5374 /* Bits 4..0 : Slope trim factor on twos complement form */ 5375 #define FICR_XOSC32MTRIM_SLOPE_Pos (0UL) /*!< Position of SLOPE field. */ 5376 #define FICR_XOSC32MTRIM_SLOPE_Msk (0x1FUL << FICR_XOSC32MTRIM_SLOPE_Pos) /*!< Bit mask of SLOPE field. */ 5377 5378 5379 /* Peripheral: FPU */ 5380 /* Description: FPU control peripheral 0 */ 5381 5382 /* Register: FPU_EVENTS_INVALIDOPERATION */ 5383 /* Description: An FPUIOC exception triggered by an invalid operation has occurred in the FPU */ 5384 5385 /* Bit 0 : An FPUIOC exception triggered by an invalid operation has occurred in the FPU */ 5386 #define FPU_EVENTS_INVALIDOPERATION_EVENTS_INVALIDOPERATION_Pos (0UL) /*!< Position of EVENTS_INVALIDOPERATION field. */ 5387 #define FPU_EVENTS_INVALIDOPERATION_EVENTS_INVALIDOPERATION_Msk (0x1UL << FPU_EVENTS_INVALIDOPERATION_EVENTS_INVALIDOPERATION_Pos) /*!< Bit mask of EVENTS_INVALIDOPERATION field. */ 5388 #define FPU_EVENTS_INVALIDOPERATION_EVENTS_INVALIDOPERATION_NotGenerated (0x0UL) /*!< Event not generated */ 5389 #define FPU_EVENTS_INVALIDOPERATION_EVENTS_INVALIDOPERATION_Generated (0x1UL) /*!< Event generated */ 5390 5391 /* Register: FPU_EVENTS_DIVIDEBYZERO */ 5392 /* Description: An FPUDZC exception triggered by a floating-point divide-by-zero operation has occurred in the FPU */ 5393 5394 /* Bit 0 : An FPUDZC exception triggered by a floating-point divide-by-zero operation has occurred in the FPU */ 5395 #define FPU_EVENTS_DIVIDEBYZERO_EVENTS_DIVIDEBYZERO_Pos (0UL) /*!< Position of EVENTS_DIVIDEBYZERO field. */ 5396 #define FPU_EVENTS_DIVIDEBYZERO_EVENTS_DIVIDEBYZERO_Msk (0x1UL << FPU_EVENTS_DIVIDEBYZERO_EVENTS_DIVIDEBYZERO_Pos) /*!< Bit mask of EVENTS_DIVIDEBYZERO field. */ 5397 #define FPU_EVENTS_DIVIDEBYZERO_EVENTS_DIVIDEBYZERO_NotGenerated (0x0UL) /*!< Event not generated */ 5398 #define FPU_EVENTS_DIVIDEBYZERO_EVENTS_DIVIDEBYZERO_Generated (0x1UL) /*!< Event generated */ 5399 5400 /* Register: FPU_EVENTS_OVERFLOW */ 5401 /* Description: An FPUOFC exception triggered by a floating-point overflow has occurred in the FPU */ 5402 5403 /* Bit 0 : An FPUOFC exception triggered by a floating-point overflow has occurred in the FPU */ 5404 #define FPU_EVENTS_OVERFLOW_EVENTS_OVERFLOW_Pos (0UL) /*!< Position of EVENTS_OVERFLOW field. */ 5405 #define FPU_EVENTS_OVERFLOW_EVENTS_OVERFLOW_Msk (0x1UL << FPU_EVENTS_OVERFLOW_EVENTS_OVERFLOW_Pos) /*!< Bit mask of EVENTS_OVERFLOW field. */ 5406 #define FPU_EVENTS_OVERFLOW_EVENTS_OVERFLOW_NotGenerated (0x0UL) /*!< Event not generated */ 5407 #define FPU_EVENTS_OVERFLOW_EVENTS_OVERFLOW_Generated (0x1UL) /*!< Event generated */ 5408 5409 /* Register: FPU_EVENTS_UNDERFLOW */ 5410 /* Description: An FPUUFC exception triggered by a floating-point underflow has occurred in the FPU */ 5411 5412 /* Bit 0 : An FPUUFC exception triggered by a floating-point underflow has occurred in the FPU */ 5413 #define FPU_EVENTS_UNDERFLOW_EVENTS_UNDERFLOW_Pos (0UL) /*!< Position of EVENTS_UNDERFLOW field. */ 5414 #define FPU_EVENTS_UNDERFLOW_EVENTS_UNDERFLOW_Msk (0x1UL << FPU_EVENTS_UNDERFLOW_EVENTS_UNDERFLOW_Pos) /*!< Bit mask of EVENTS_UNDERFLOW field. */ 5415 #define FPU_EVENTS_UNDERFLOW_EVENTS_UNDERFLOW_NotGenerated (0x0UL) /*!< Event not generated */ 5416 #define FPU_EVENTS_UNDERFLOW_EVENTS_UNDERFLOW_Generated (0x1UL) /*!< Event generated */ 5417 5418 /* Register: FPU_EVENTS_INEXACT */ 5419 /* Description: An FPUIXC exception triggered by an inexact floating-point operation has occurred in the FPU */ 5420 5421 /* Bit 0 : An FPUIXC exception triggered by an inexact floating-point operation has occurred in the FPU */ 5422 #define FPU_EVENTS_INEXACT_EVENTS_INEXACT_Pos (0UL) /*!< Position of EVENTS_INEXACT field. */ 5423 #define FPU_EVENTS_INEXACT_EVENTS_INEXACT_Msk (0x1UL << FPU_EVENTS_INEXACT_EVENTS_INEXACT_Pos) /*!< Bit mask of EVENTS_INEXACT field. */ 5424 #define FPU_EVENTS_INEXACT_EVENTS_INEXACT_NotGenerated (0x0UL) /*!< Event not generated */ 5425 #define FPU_EVENTS_INEXACT_EVENTS_INEXACT_Generated (0x1UL) /*!< Event generated */ 5426 5427 /* Register: FPU_EVENTS_DENORMALINPUT */ 5428 /* Description: An FPUIDC exception triggered by a denormal floating-point input has occurred in the FPU */ 5429 5430 /* Bit 0 : An FPUIDC exception triggered by a denormal floating-point input has occurred in the FPU */ 5431 #define FPU_EVENTS_DENORMALINPUT_EVENTS_DENORMALINPUT_Pos (0UL) /*!< Position of EVENTS_DENORMALINPUT field. */ 5432 #define FPU_EVENTS_DENORMALINPUT_EVENTS_DENORMALINPUT_Msk (0x1UL << FPU_EVENTS_DENORMALINPUT_EVENTS_DENORMALINPUT_Pos) /*!< Bit mask of EVENTS_DENORMALINPUT field. */ 5433 #define FPU_EVENTS_DENORMALINPUT_EVENTS_DENORMALINPUT_NotGenerated (0x0UL) /*!< Event not generated */ 5434 #define FPU_EVENTS_DENORMALINPUT_EVENTS_DENORMALINPUT_Generated (0x1UL) /*!< Event generated */ 5435 5436 /* Register: FPU_INTEN */ 5437 /* Description: Enable or disable interrupt */ 5438 5439 /* Bit 5 : Enable or disable interrupt for event DENORMALINPUT */ 5440 #define FPU_INTEN_DENORMALINPUT_Pos (5UL) /*!< Position of DENORMALINPUT field. */ 5441 #define FPU_INTEN_DENORMALINPUT_Msk (0x1UL << FPU_INTEN_DENORMALINPUT_Pos) /*!< Bit mask of DENORMALINPUT field. */ 5442 #define FPU_INTEN_DENORMALINPUT_Disabled (0x0UL) /*!< Disable */ 5443 #define FPU_INTEN_DENORMALINPUT_Enabled (0x1UL) /*!< Enable */ 5444 5445 /* Bit 4 : Enable or disable interrupt for event INEXACT */ 5446 #define FPU_INTEN_INEXACT_Pos (4UL) /*!< Position of INEXACT field. */ 5447 #define FPU_INTEN_INEXACT_Msk (0x1UL << FPU_INTEN_INEXACT_Pos) /*!< Bit mask of INEXACT field. */ 5448 #define FPU_INTEN_INEXACT_Disabled (0x0UL) /*!< Disable */ 5449 #define FPU_INTEN_INEXACT_Enabled (0x1UL) /*!< Enable */ 5450 5451 /* Bit 3 : Enable or disable interrupt for event UNDERFLOW */ 5452 #define FPU_INTEN_UNDERFLOW_Pos (3UL) /*!< Position of UNDERFLOW field. */ 5453 #define FPU_INTEN_UNDERFLOW_Msk (0x1UL << FPU_INTEN_UNDERFLOW_Pos) /*!< Bit mask of UNDERFLOW field. */ 5454 #define FPU_INTEN_UNDERFLOW_Disabled (0x0UL) /*!< Disable */ 5455 #define FPU_INTEN_UNDERFLOW_Enabled (0x1UL) /*!< Enable */ 5456 5457 /* Bit 2 : Enable or disable interrupt for event OVERFLOW */ 5458 #define FPU_INTEN_OVERFLOW_Pos (2UL) /*!< Position of OVERFLOW field. */ 5459 #define FPU_INTEN_OVERFLOW_Msk (0x1UL << FPU_INTEN_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */ 5460 #define FPU_INTEN_OVERFLOW_Disabled (0x0UL) /*!< Disable */ 5461 #define FPU_INTEN_OVERFLOW_Enabled (0x1UL) /*!< Enable */ 5462 5463 /* Bit 1 : Enable or disable interrupt for event DIVIDEBYZERO */ 5464 #define FPU_INTEN_DIVIDEBYZERO_Pos (1UL) /*!< Position of DIVIDEBYZERO field. */ 5465 #define FPU_INTEN_DIVIDEBYZERO_Msk (0x1UL << FPU_INTEN_DIVIDEBYZERO_Pos) /*!< Bit mask of DIVIDEBYZERO field. */ 5466 #define FPU_INTEN_DIVIDEBYZERO_Disabled (0x0UL) /*!< Disable */ 5467 #define FPU_INTEN_DIVIDEBYZERO_Enabled (0x1UL) /*!< Enable */ 5468 5469 /* Bit 0 : Enable or disable interrupt for event INVALIDOPERATION */ 5470 #define FPU_INTEN_INVALIDOPERATION_Pos (0UL) /*!< Position of INVALIDOPERATION field. */ 5471 #define FPU_INTEN_INVALIDOPERATION_Msk (0x1UL << FPU_INTEN_INVALIDOPERATION_Pos) /*!< Bit mask of INVALIDOPERATION field. */ 5472 #define FPU_INTEN_INVALIDOPERATION_Disabled (0x0UL) /*!< Disable */ 5473 #define FPU_INTEN_INVALIDOPERATION_Enabled (0x1UL) /*!< Enable */ 5474 5475 /* Register: FPU_INTENSET */ 5476 /* Description: Enable interrupt */ 5477 5478 /* Bit 5 : Write '1' to enable interrupt for event DENORMALINPUT */ 5479 #define FPU_INTENSET_DENORMALINPUT_Pos (5UL) /*!< Position of DENORMALINPUT field. */ 5480 #define FPU_INTENSET_DENORMALINPUT_Msk (0x1UL << FPU_INTENSET_DENORMALINPUT_Pos) /*!< Bit mask of DENORMALINPUT field. */ 5481 #define FPU_INTENSET_DENORMALINPUT_Disabled (0x0UL) /*!< Read: Disabled */ 5482 #define FPU_INTENSET_DENORMALINPUT_Enabled (0x1UL) /*!< Read: Enabled */ 5483 #define FPU_INTENSET_DENORMALINPUT_Set (0x1UL) /*!< Enable */ 5484 5485 /* Bit 4 : Write '1' to enable interrupt for event INEXACT */ 5486 #define FPU_INTENSET_INEXACT_Pos (4UL) /*!< Position of INEXACT field. */ 5487 #define FPU_INTENSET_INEXACT_Msk (0x1UL << FPU_INTENSET_INEXACT_Pos) /*!< Bit mask of INEXACT field. */ 5488 #define FPU_INTENSET_INEXACT_Disabled (0x0UL) /*!< Read: Disabled */ 5489 #define FPU_INTENSET_INEXACT_Enabled (0x1UL) /*!< Read: Enabled */ 5490 #define FPU_INTENSET_INEXACT_Set (0x1UL) /*!< Enable */ 5491 5492 /* Bit 3 : Write '1' to enable interrupt for event UNDERFLOW */ 5493 #define FPU_INTENSET_UNDERFLOW_Pos (3UL) /*!< Position of UNDERFLOW field. */ 5494 #define FPU_INTENSET_UNDERFLOW_Msk (0x1UL << FPU_INTENSET_UNDERFLOW_Pos) /*!< Bit mask of UNDERFLOW field. */ 5495 #define FPU_INTENSET_UNDERFLOW_Disabled (0x0UL) /*!< Read: Disabled */ 5496 #define FPU_INTENSET_UNDERFLOW_Enabled (0x1UL) /*!< Read: Enabled */ 5497 #define FPU_INTENSET_UNDERFLOW_Set (0x1UL) /*!< Enable */ 5498 5499 /* Bit 2 : Write '1' to enable interrupt for event OVERFLOW */ 5500 #define FPU_INTENSET_OVERFLOW_Pos (2UL) /*!< Position of OVERFLOW field. */ 5501 #define FPU_INTENSET_OVERFLOW_Msk (0x1UL << FPU_INTENSET_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */ 5502 #define FPU_INTENSET_OVERFLOW_Disabled (0x0UL) /*!< Read: Disabled */ 5503 #define FPU_INTENSET_OVERFLOW_Enabled (0x1UL) /*!< Read: Enabled */ 5504 #define FPU_INTENSET_OVERFLOW_Set (0x1UL) /*!< Enable */ 5505 5506 /* Bit 1 : Write '1' to enable interrupt for event DIVIDEBYZERO */ 5507 #define FPU_INTENSET_DIVIDEBYZERO_Pos (1UL) /*!< Position of DIVIDEBYZERO field. */ 5508 #define FPU_INTENSET_DIVIDEBYZERO_Msk (0x1UL << FPU_INTENSET_DIVIDEBYZERO_Pos) /*!< Bit mask of DIVIDEBYZERO field. */ 5509 #define FPU_INTENSET_DIVIDEBYZERO_Disabled (0x0UL) /*!< Read: Disabled */ 5510 #define FPU_INTENSET_DIVIDEBYZERO_Enabled (0x1UL) /*!< Read: Enabled */ 5511 #define FPU_INTENSET_DIVIDEBYZERO_Set (0x1UL) /*!< Enable */ 5512 5513 /* Bit 0 : Write '1' to enable interrupt for event INVALIDOPERATION */ 5514 #define FPU_INTENSET_INVALIDOPERATION_Pos (0UL) /*!< Position of INVALIDOPERATION field. */ 5515 #define FPU_INTENSET_INVALIDOPERATION_Msk (0x1UL << FPU_INTENSET_INVALIDOPERATION_Pos) /*!< Bit mask of INVALIDOPERATION field. */ 5516 #define FPU_INTENSET_INVALIDOPERATION_Disabled (0x0UL) /*!< Read: Disabled */ 5517 #define FPU_INTENSET_INVALIDOPERATION_Enabled (0x1UL) /*!< Read: Enabled */ 5518 #define FPU_INTENSET_INVALIDOPERATION_Set (0x1UL) /*!< Enable */ 5519 5520 /* Register: FPU_INTENCLR */ 5521 /* Description: Disable interrupt */ 5522 5523 /* Bit 5 : Write '1' to disable interrupt for event DENORMALINPUT */ 5524 #define FPU_INTENCLR_DENORMALINPUT_Pos (5UL) /*!< Position of DENORMALINPUT field. */ 5525 #define FPU_INTENCLR_DENORMALINPUT_Msk (0x1UL << FPU_INTENCLR_DENORMALINPUT_Pos) /*!< Bit mask of DENORMALINPUT field. */ 5526 #define FPU_INTENCLR_DENORMALINPUT_Disabled (0x0UL) /*!< Read: Disabled */ 5527 #define FPU_INTENCLR_DENORMALINPUT_Enabled (0x1UL) /*!< Read: Enabled */ 5528 #define FPU_INTENCLR_DENORMALINPUT_Clear (0x1UL) /*!< Disable */ 5529 5530 /* Bit 4 : Write '1' to disable interrupt for event INEXACT */ 5531 #define FPU_INTENCLR_INEXACT_Pos (4UL) /*!< Position of INEXACT field. */ 5532 #define FPU_INTENCLR_INEXACT_Msk (0x1UL << FPU_INTENCLR_INEXACT_Pos) /*!< Bit mask of INEXACT field. */ 5533 #define FPU_INTENCLR_INEXACT_Disabled (0x0UL) /*!< Read: Disabled */ 5534 #define FPU_INTENCLR_INEXACT_Enabled (0x1UL) /*!< Read: Enabled */ 5535 #define FPU_INTENCLR_INEXACT_Clear (0x1UL) /*!< Disable */ 5536 5537 /* Bit 3 : Write '1' to disable interrupt for event UNDERFLOW */ 5538 #define FPU_INTENCLR_UNDERFLOW_Pos (3UL) /*!< Position of UNDERFLOW field. */ 5539 #define FPU_INTENCLR_UNDERFLOW_Msk (0x1UL << FPU_INTENCLR_UNDERFLOW_Pos) /*!< Bit mask of UNDERFLOW field. */ 5540 #define FPU_INTENCLR_UNDERFLOW_Disabled (0x0UL) /*!< Read: Disabled */ 5541 #define FPU_INTENCLR_UNDERFLOW_Enabled (0x1UL) /*!< Read: Enabled */ 5542 #define FPU_INTENCLR_UNDERFLOW_Clear (0x1UL) /*!< Disable */ 5543 5544 /* Bit 2 : Write '1' to disable interrupt for event OVERFLOW */ 5545 #define FPU_INTENCLR_OVERFLOW_Pos (2UL) /*!< Position of OVERFLOW field. */ 5546 #define FPU_INTENCLR_OVERFLOW_Msk (0x1UL << FPU_INTENCLR_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */ 5547 #define FPU_INTENCLR_OVERFLOW_Disabled (0x0UL) /*!< Read: Disabled */ 5548 #define FPU_INTENCLR_OVERFLOW_Enabled (0x1UL) /*!< Read: Enabled */ 5549 #define FPU_INTENCLR_OVERFLOW_Clear (0x1UL) /*!< Disable */ 5550 5551 /* Bit 1 : Write '1' to disable interrupt for event DIVIDEBYZERO */ 5552 #define FPU_INTENCLR_DIVIDEBYZERO_Pos (1UL) /*!< Position of DIVIDEBYZERO field. */ 5553 #define FPU_INTENCLR_DIVIDEBYZERO_Msk (0x1UL << FPU_INTENCLR_DIVIDEBYZERO_Pos) /*!< Bit mask of DIVIDEBYZERO field. */ 5554 #define FPU_INTENCLR_DIVIDEBYZERO_Disabled (0x0UL) /*!< Read: Disabled */ 5555 #define FPU_INTENCLR_DIVIDEBYZERO_Enabled (0x1UL) /*!< Read: Enabled */ 5556 #define FPU_INTENCLR_DIVIDEBYZERO_Clear (0x1UL) /*!< Disable */ 5557 5558 /* Bit 0 : Write '1' to disable interrupt for event INVALIDOPERATION */ 5559 #define FPU_INTENCLR_INVALIDOPERATION_Pos (0UL) /*!< Position of INVALIDOPERATION field. */ 5560 #define FPU_INTENCLR_INVALIDOPERATION_Msk (0x1UL << FPU_INTENCLR_INVALIDOPERATION_Pos) /*!< Bit mask of INVALIDOPERATION field. */ 5561 #define FPU_INTENCLR_INVALIDOPERATION_Disabled (0x0UL) /*!< Read: Disabled */ 5562 #define FPU_INTENCLR_INVALIDOPERATION_Enabled (0x1UL) /*!< Read: Enabled */ 5563 #define FPU_INTENCLR_INVALIDOPERATION_Clear (0x1UL) /*!< Disable */ 5564 5565 5566 /* Peripheral: GPIOTE */ 5567 /* Description: GPIO Tasks and Events 0 */ 5568 5569 /* Register: GPIOTE_TASKS_OUT */ 5570 /* Description: Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY. */ 5571 5572 /* Bit 0 : Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY. */ 5573 #define GPIOTE_TASKS_OUT_TASKS_OUT_Pos (0UL) /*!< Position of TASKS_OUT field. */ 5574 #define GPIOTE_TASKS_OUT_TASKS_OUT_Msk (0x1UL << GPIOTE_TASKS_OUT_TASKS_OUT_Pos) /*!< Bit mask of TASKS_OUT field. */ 5575 #define GPIOTE_TASKS_OUT_TASKS_OUT_Trigger (0x1UL) /*!< Trigger task */ 5576 5577 /* Register: GPIOTE_TASKS_SET */ 5578 /* Description: Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high. */ 5579 5580 /* Bit 0 : Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high. */ 5581 #define GPIOTE_TASKS_SET_TASKS_SET_Pos (0UL) /*!< Position of TASKS_SET field. */ 5582 #define GPIOTE_TASKS_SET_TASKS_SET_Msk (0x1UL << GPIOTE_TASKS_SET_TASKS_SET_Pos) /*!< Bit mask of TASKS_SET field. */ 5583 #define GPIOTE_TASKS_SET_TASKS_SET_Trigger (0x1UL) /*!< Trigger task */ 5584 5585 /* Register: GPIOTE_TASKS_CLR */ 5586 /* Description: Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low. */ 5587 5588 /* Bit 0 : Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low. */ 5589 #define GPIOTE_TASKS_CLR_TASKS_CLR_Pos (0UL) /*!< Position of TASKS_CLR field. */ 5590 #define GPIOTE_TASKS_CLR_TASKS_CLR_Msk (0x1UL << GPIOTE_TASKS_CLR_TASKS_CLR_Pos) /*!< Bit mask of TASKS_CLR field. */ 5591 #define GPIOTE_TASKS_CLR_TASKS_CLR_Trigger (0x1UL) /*!< Trigger task */ 5592 5593 /* Register: GPIOTE_SUBSCRIBE_OUT */ 5594 /* Description: Description collection: Subscribe configuration for task OUT[n] */ 5595 5596 /* Bit 31 : */ 5597 #define GPIOTE_SUBSCRIBE_OUT_EN_Pos (31UL) /*!< Position of EN field. */ 5598 #define GPIOTE_SUBSCRIBE_OUT_EN_Msk (0x1UL << GPIOTE_SUBSCRIBE_OUT_EN_Pos) /*!< Bit mask of EN field. */ 5599 #define GPIOTE_SUBSCRIBE_OUT_EN_Disabled (0x0UL) /*!< Disable subscription */ 5600 #define GPIOTE_SUBSCRIBE_OUT_EN_Enabled (0x1UL) /*!< Enable subscription */ 5601 5602 /* Bits 7..0 : DPPI channel that task OUT[n] will subscribe to */ 5603 #define GPIOTE_SUBSCRIBE_OUT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5604 #define GPIOTE_SUBSCRIBE_OUT_CHIDX_Msk (0xFFUL << GPIOTE_SUBSCRIBE_OUT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5605 5606 /* Register: GPIOTE_SUBSCRIBE_SET */ 5607 /* Description: Description collection: Subscribe configuration for task SET[n] */ 5608 5609 /* Bit 31 : */ 5610 #define GPIOTE_SUBSCRIBE_SET_EN_Pos (31UL) /*!< Position of EN field. */ 5611 #define GPIOTE_SUBSCRIBE_SET_EN_Msk (0x1UL << GPIOTE_SUBSCRIBE_SET_EN_Pos) /*!< Bit mask of EN field. */ 5612 #define GPIOTE_SUBSCRIBE_SET_EN_Disabled (0x0UL) /*!< Disable subscription */ 5613 #define GPIOTE_SUBSCRIBE_SET_EN_Enabled (0x1UL) /*!< Enable subscription */ 5614 5615 /* Bits 7..0 : DPPI channel that task SET[n] will subscribe to */ 5616 #define GPIOTE_SUBSCRIBE_SET_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5617 #define GPIOTE_SUBSCRIBE_SET_CHIDX_Msk (0xFFUL << GPIOTE_SUBSCRIBE_SET_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5618 5619 /* Register: GPIOTE_SUBSCRIBE_CLR */ 5620 /* Description: Description collection: Subscribe configuration for task CLR[n] */ 5621 5622 /* Bit 31 : */ 5623 #define GPIOTE_SUBSCRIBE_CLR_EN_Pos (31UL) /*!< Position of EN field. */ 5624 #define GPIOTE_SUBSCRIBE_CLR_EN_Msk (0x1UL << GPIOTE_SUBSCRIBE_CLR_EN_Pos) /*!< Bit mask of EN field. */ 5625 #define GPIOTE_SUBSCRIBE_CLR_EN_Disabled (0x0UL) /*!< Disable subscription */ 5626 #define GPIOTE_SUBSCRIBE_CLR_EN_Enabled (0x1UL) /*!< Enable subscription */ 5627 5628 /* Bits 7..0 : DPPI channel that task CLR[n] will subscribe to */ 5629 #define GPIOTE_SUBSCRIBE_CLR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5630 #define GPIOTE_SUBSCRIBE_CLR_CHIDX_Msk (0xFFUL << GPIOTE_SUBSCRIBE_CLR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5631 5632 /* Register: GPIOTE_EVENTS_IN */ 5633 /* Description: Description collection: Event generated from pin specified in CONFIG[n].PSEL */ 5634 5635 /* Bit 0 : Event generated from pin specified in CONFIG[n].PSEL */ 5636 #define GPIOTE_EVENTS_IN_EVENTS_IN_Pos (0UL) /*!< Position of EVENTS_IN field. */ 5637 #define GPIOTE_EVENTS_IN_EVENTS_IN_Msk (0x1UL << GPIOTE_EVENTS_IN_EVENTS_IN_Pos) /*!< Bit mask of EVENTS_IN field. */ 5638 #define GPIOTE_EVENTS_IN_EVENTS_IN_NotGenerated (0x0UL) /*!< Event not generated */ 5639 #define GPIOTE_EVENTS_IN_EVENTS_IN_Generated (0x1UL) /*!< Event generated */ 5640 5641 /* Register: GPIOTE_EVENTS_PORT */ 5642 /* Description: Event generated from multiple input GPIO pins with SENSE mechanism enabled */ 5643 5644 /* Bit 0 : Event generated from multiple input GPIO pins with SENSE mechanism enabled */ 5645 #define GPIOTE_EVENTS_PORT_EVENTS_PORT_Pos (0UL) /*!< Position of EVENTS_PORT field. */ 5646 #define GPIOTE_EVENTS_PORT_EVENTS_PORT_Msk (0x1UL << GPIOTE_EVENTS_PORT_EVENTS_PORT_Pos) /*!< Bit mask of EVENTS_PORT field. */ 5647 #define GPIOTE_EVENTS_PORT_EVENTS_PORT_NotGenerated (0x0UL) /*!< Event not generated */ 5648 #define GPIOTE_EVENTS_PORT_EVENTS_PORT_Generated (0x1UL) /*!< Event generated */ 5649 5650 /* Register: GPIOTE_PUBLISH_IN */ 5651 /* Description: Description collection: Publish configuration for event IN[n] */ 5652 5653 /* Bit 31 : */ 5654 #define GPIOTE_PUBLISH_IN_EN_Pos (31UL) /*!< Position of EN field. */ 5655 #define GPIOTE_PUBLISH_IN_EN_Msk (0x1UL << GPIOTE_PUBLISH_IN_EN_Pos) /*!< Bit mask of EN field. */ 5656 #define GPIOTE_PUBLISH_IN_EN_Disabled (0x0UL) /*!< Disable publishing */ 5657 #define GPIOTE_PUBLISH_IN_EN_Enabled (0x1UL) /*!< Enable publishing */ 5658 5659 /* Bits 7..0 : DPPI channel that event IN[n] will publish to */ 5660 #define GPIOTE_PUBLISH_IN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5661 #define GPIOTE_PUBLISH_IN_CHIDX_Msk (0xFFUL << GPIOTE_PUBLISH_IN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5662 5663 /* Register: GPIOTE_PUBLISH_PORT */ 5664 /* Description: Publish configuration for event PORT */ 5665 5666 /* Bit 31 : */ 5667 #define GPIOTE_PUBLISH_PORT_EN_Pos (31UL) /*!< Position of EN field. */ 5668 #define GPIOTE_PUBLISH_PORT_EN_Msk (0x1UL << GPIOTE_PUBLISH_PORT_EN_Pos) /*!< Bit mask of EN field. */ 5669 #define GPIOTE_PUBLISH_PORT_EN_Disabled (0x0UL) /*!< Disable publishing */ 5670 #define GPIOTE_PUBLISH_PORT_EN_Enabled (0x1UL) /*!< Enable publishing */ 5671 5672 /* Bits 7..0 : DPPI channel that event PORT will publish to */ 5673 #define GPIOTE_PUBLISH_PORT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5674 #define GPIOTE_PUBLISH_PORT_CHIDX_Msk (0xFFUL << GPIOTE_PUBLISH_PORT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5675 5676 /* Register: GPIOTE_INTENSET */ 5677 /* Description: Enable interrupt */ 5678 5679 /* Bit 31 : Write '1' to enable interrupt for event PORT */ 5680 #define GPIOTE_INTENSET_PORT_Pos (31UL) /*!< Position of PORT field. */ 5681 #define GPIOTE_INTENSET_PORT_Msk (0x1UL << GPIOTE_INTENSET_PORT_Pos) /*!< Bit mask of PORT field. */ 5682 #define GPIOTE_INTENSET_PORT_Disabled (0x0UL) /*!< Read: Disabled */ 5683 #define GPIOTE_INTENSET_PORT_Enabled (0x1UL) /*!< Read: Enabled */ 5684 #define GPIOTE_INTENSET_PORT_Set (0x1UL) /*!< Enable */ 5685 5686 /* Bit 7 : Write '1' to enable interrupt for event IN[7] */ 5687 #define GPIOTE_INTENSET_IN7_Pos (7UL) /*!< Position of IN7 field. */ 5688 #define GPIOTE_INTENSET_IN7_Msk (0x1UL << GPIOTE_INTENSET_IN7_Pos) /*!< Bit mask of IN7 field. */ 5689 #define GPIOTE_INTENSET_IN7_Disabled (0x0UL) /*!< Read: Disabled */ 5690 #define GPIOTE_INTENSET_IN7_Enabled (0x1UL) /*!< Read: Enabled */ 5691 #define GPIOTE_INTENSET_IN7_Set (0x1UL) /*!< Enable */ 5692 5693 /* Bit 6 : Write '1' to enable interrupt for event IN[6] */ 5694 #define GPIOTE_INTENSET_IN6_Pos (6UL) /*!< Position of IN6 field. */ 5695 #define GPIOTE_INTENSET_IN6_Msk (0x1UL << GPIOTE_INTENSET_IN6_Pos) /*!< Bit mask of IN6 field. */ 5696 #define GPIOTE_INTENSET_IN6_Disabled (0x0UL) /*!< Read: Disabled */ 5697 #define GPIOTE_INTENSET_IN6_Enabled (0x1UL) /*!< Read: Enabled */ 5698 #define GPIOTE_INTENSET_IN6_Set (0x1UL) /*!< Enable */ 5699 5700 /* Bit 5 : Write '1' to enable interrupt for event IN[5] */ 5701 #define GPIOTE_INTENSET_IN5_Pos (5UL) /*!< Position of IN5 field. */ 5702 #define GPIOTE_INTENSET_IN5_Msk (0x1UL << GPIOTE_INTENSET_IN5_Pos) /*!< Bit mask of IN5 field. */ 5703 #define GPIOTE_INTENSET_IN5_Disabled (0x0UL) /*!< Read: Disabled */ 5704 #define GPIOTE_INTENSET_IN5_Enabled (0x1UL) /*!< Read: Enabled */ 5705 #define GPIOTE_INTENSET_IN5_Set (0x1UL) /*!< Enable */ 5706 5707 /* Bit 4 : Write '1' to enable interrupt for event IN[4] */ 5708 #define GPIOTE_INTENSET_IN4_Pos (4UL) /*!< Position of IN4 field. */ 5709 #define GPIOTE_INTENSET_IN4_Msk (0x1UL << GPIOTE_INTENSET_IN4_Pos) /*!< Bit mask of IN4 field. */ 5710 #define GPIOTE_INTENSET_IN4_Disabled (0x0UL) /*!< Read: Disabled */ 5711 #define GPIOTE_INTENSET_IN4_Enabled (0x1UL) /*!< Read: Enabled */ 5712 #define GPIOTE_INTENSET_IN4_Set (0x1UL) /*!< Enable */ 5713 5714 /* Bit 3 : Write '1' to enable interrupt for event IN[3] */ 5715 #define GPIOTE_INTENSET_IN3_Pos (3UL) /*!< Position of IN3 field. */ 5716 #define GPIOTE_INTENSET_IN3_Msk (0x1UL << GPIOTE_INTENSET_IN3_Pos) /*!< Bit mask of IN3 field. */ 5717 #define GPIOTE_INTENSET_IN3_Disabled (0x0UL) /*!< Read: Disabled */ 5718 #define GPIOTE_INTENSET_IN3_Enabled (0x1UL) /*!< Read: Enabled */ 5719 #define GPIOTE_INTENSET_IN3_Set (0x1UL) /*!< Enable */ 5720 5721 /* Bit 2 : Write '1' to enable interrupt for event IN[2] */ 5722 #define GPIOTE_INTENSET_IN2_Pos (2UL) /*!< Position of IN2 field. */ 5723 #define GPIOTE_INTENSET_IN2_Msk (0x1UL << GPIOTE_INTENSET_IN2_Pos) /*!< Bit mask of IN2 field. */ 5724 #define GPIOTE_INTENSET_IN2_Disabled (0x0UL) /*!< Read: Disabled */ 5725 #define GPIOTE_INTENSET_IN2_Enabled (0x1UL) /*!< Read: Enabled */ 5726 #define GPIOTE_INTENSET_IN2_Set (0x1UL) /*!< Enable */ 5727 5728 /* Bit 1 : Write '1' to enable interrupt for event IN[1] */ 5729 #define GPIOTE_INTENSET_IN1_Pos (1UL) /*!< Position of IN1 field. */ 5730 #define GPIOTE_INTENSET_IN1_Msk (0x1UL << GPIOTE_INTENSET_IN1_Pos) /*!< Bit mask of IN1 field. */ 5731 #define GPIOTE_INTENSET_IN1_Disabled (0x0UL) /*!< Read: Disabled */ 5732 #define GPIOTE_INTENSET_IN1_Enabled (0x1UL) /*!< Read: Enabled */ 5733 #define GPIOTE_INTENSET_IN1_Set (0x1UL) /*!< Enable */ 5734 5735 /* Bit 0 : Write '1' to enable interrupt for event IN[0] */ 5736 #define GPIOTE_INTENSET_IN0_Pos (0UL) /*!< Position of IN0 field. */ 5737 #define GPIOTE_INTENSET_IN0_Msk (0x1UL << GPIOTE_INTENSET_IN0_Pos) /*!< Bit mask of IN0 field. */ 5738 #define GPIOTE_INTENSET_IN0_Disabled (0x0UL) /*!< Read: Disabled */ 5739 #define GPIOTE_INTENSET_IN0_Enabled (0x1UL) /*!< Read: Enabled */ 5740 #define GPIOTE_INTENSET_IN0_Set (0x1UL) /*!< Enable */ 5741 5742 /* Register: GPIOTE_INTENCLR */ 5743 /* Description: Disable interrupt */ 5744 5745 /* Bit 31 : Write '1' to disable interrupt for event PORT */ 5746 #define GPIOTE_INTENCLR_PORT_Pos (31UL) /*!< Position of PORT field. */ 5747 #define GPIOTE_INTENCLR_PORT_Msk (0x1UL << GPIOTE_INTENCLR_PORT_Pos) /*!< Bit mask of PORT field. */ 5748 #define GPIOTE_INTENCLR_PORT_Disabled (0x0UL) /*!< Read: Disabled */ 5749 #define GPIOTE_INTENCLR_PORT_Enabled (0x1UL) /*!< Read: Enabled */ 5750 #define GPIOTE_INTENCLR_PORT_Clear (0x1UL) /*!< Disable */ 5751 5752 /* Bit 7 : Write '1' to disable interrupt for event IN[7] */ 5753 #define GPIOTE_INTENCLR_IN7_Pos (7UL) /*!< Position of IN7 field. */ 5754 #define GPIOTE_INTENCLR_IN7_Msk (0x1UL << GPIOTE_INTENCLR_IN7_Pos) /*!< Bit mask of IN7 field. */ 5755 #define GPIOTE_INTENCLR_IN7_Disabled (0x0UL) /*!< Read: Disabled */ 5756 #define GPIOTE_INTENCLR_IN7_Enabled (0x1UL) /*!< Read: Enabled */ 5757 #define GPIOTE_INTENCLR_IN7_Clear (0x1UL) /*!< Disable */ 5758 5759 /* Bit 6 : Write '1' to disable interrupt for event IN[6] */ 5760 #define GPIOTE_INTENCLR_IN6_Pos (6UL) /*!< Position of IN6 field. */ 5761 #define GPIOTE_INTENCLR_IN6_Msk (0x1UL << GPIOTE_INTENCLR_IN6_Pos) /*!< Bit mask of IN6 field. */ 5762 #define GPIOTE_INTENCLR_IN6_Disabled (0x0UL) /*!< Read: Disabled */ 5763 #define GPIOTE_INTENCLR_IN6_Enabled (0x1UL) /*!< Read: Enabled */ 5764 #define GPIOTE_INTENCLR_IN6_Clear (0x1UL) /*!< Disable */ 5765 5766 /* Bit 5 : Write '1' to disable interrupt for event IN[5] */ 5767 #define GPIOTE_INTENCLR_IN5_Pos (5UL) /*!< Position of IN5 field. */ 5768 #define GPIOTE_INTENCLR_IN5_Msk (0x1UL << GPIOTE_INTENCLR_IN5_Pos) /*!< Bit mask of IN5 field. */ 5769 #define GPIOTE_INTENCLR_IN5_Disabled (0x0UL) /*!< Read: Disabled */ 5770 #define GPIOTE_INTENCLR_IN5_Enabled (0x1UL) /*!< Read: Enabled */ 5771 #define GPIOTE_INTENCLR_IN5_Clear (0x1UL) /*!< Disable */ 5772 5773 /* Bit 4 : Write '1' to disable interrupt for event IN[4] */ 5774 #define GPIOTE_INTENCLR_IN4_Pos (4UL) /*!< Position of IN4 field. */ 5775 #define GPIOTE_INTENCLR_IN4_Msk (0x1UL << GPIOTE_INTENCLR_IN4_Pos) /*!< Bit mask of IN4 field. */ 5776 #define GPIOTE_INTENCLR_IN4_Disabled (0x0UL) /*!< Read: Disabled */ 5777 #define GPIOTE_INTENCLR_IN4_Enabled (0x1UL) /*!< Read: Enabled */ 5778 #define GPIOTE_INTENCLR_IN4_Clear (0x1UL) /*!< Disable */ 5779 5780 /* Bit 3 : Write '1' to disable interrupt for event IN[3] */ 5781 #define GPIOTE_INTENCLR_IN3_Pos (3UL) /*!< Position of IN3 field. */ 5782 #define GPIOTE_INTENCLR_IN3_Msk (0x1UL << GPIOTE_INTENCLR_IN3_Pos) /*!< Bit mask of IN3 field. */ 5783 #define GPIOTE_INTENCLR_IN3_Disabled (0x0UL) /*!< Read: Disabled */ 5784 #define GPIOTE_INTENCLR_IN3_Enabled (0x1UL) /*!< Read: Enabled */ 5785 #define GPIOTE_INTENCLR_IN3_Clear (0x1UL) /*!< Disable */ 5786 5787 /* Bit 2 : Write '1' to disable interrupt for event IN[2] */ 5788 #define GPIOTE_INTENCLR_IN2_Pos (2UL) /*!< Position of IN2 field. */ 5789 #define GPIOTE_INTENCLR_IN2_Msk (0x1UL << GPIOTE_INTENCLR_IN2_Pos) /*!< Bit mask of IN2 field. */ 5790 #define GPIOTE_INTENCLR_IN2_Disabled (0x0UL) /*!< Read: Disabled */ 5791 #define GPIOTE_INTENCLR_IN2_Enabled (0x1UL) /*!< Read: Enabled */ 5792 #define GPIOTE_INTENCLR_IN2_Clear (0x1UL) /*!< Disable */ 5793 5794 /* Bit 1 : Write '1' to disable interrupt for event IN[1] */ 5795 #define GPIOTE_INTENCLR_IN1_Pos (1UL) /*!< Position of IN1 field. */ 5796 #define GPIOTE_INTENCLR_IN1_Msk (0x1UL << GPIOTE_INTENCLR_IN1_Pos) /*!< Bit mask of IN1 field. */ 5797 #define GPIOTE_INTENCLR_IN1_Disabled (0x0UL) /*!< Read: Disabled */ 5798 #define GPIOTE_INTENCLR_IN1_Enabled (0x1UL) /*!< Read: Enabled */ 5799 #define GPIOTE_INTENCLR_IN1_Clear (0x1UL) /*!< Disable */ 5800 5801 /* Bit 0 : Write '1' to disable interrupt for event IN[0] */ 5802 #define GPIOTE_INTENCLR_IN0_Pos (0UL) /*!< Position of IN0 field. */ 5803 #define GPIOTE_INTENCLR_IN0_Msk (0x1UL << GPIOTE_INTENCLR_IN0_Pos) /*!< Bit mask of IN0 field. */ 5804 #define GPIOTE_INTENCLR_IN0_Disabled (0x0UL) /*!< Read: Disabled */ 5805 #define GPIOTE_INTENCLR_IN0_Enabled (0x1UL) /*!< Read: Enabled */ 5806 #define GPIOTE_INTENCLR_IN0_Clear (0x1UL) /*!< Disable */ 5807 5808 /* Register: GPIOTE_LATENCY */ 5809 /* Description: Latency selection for Event mode (MODE=Event) with rising or falling edge detection on the pin. */ 5810 5811 /* Bit 0 : Latency setting */ 5812 #define GPIOTE_LATENCY_LATENCY_Pos (0UL) /*!< Position of LATENCY field. */ 5813 #define GPIOTE_LATENCY_LATENCY_Msk (0x1UL << GPIOTE_LATENCY_LATENCY_Pos) /*!< Bit mask of LATENCY field. */ 5814 #define GPIOTE_LATENCY_LATENCY_LowPower (0x0UL) /*!< Low power setting */ 5815 #define GPIOTE_LATENCY_LATENCY_LowLatency (0x1UL) /*!< Low latency setting */ 5816 5817 /* Register: GPIOTE_CONFIG */ 5818 /* Description: Description collection: Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event */ 5819 5820 /* Bit 20 : When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect. */ 5821 #define GPIOTE_CONFIG_OUTINIT_Pos (20UL) /*!< Position of OUTINIT field. */ 5822 #define GPIOTE_CONFIG_OUTINIT_Msk (0x1UL << GPIOTE_CONFIG_OUTINIT_Pos) /*!< Bit mask of OUTINIT field. */ 5823 #define GPIOTE_CONFIG_OUTINIT_Low (0x0UL) /*!< Task mode: Initial value of pin before task triggering is low */ 5824 #define GPIOTE_CONFIG_OUTINIT_High (0x1UL) /*!< Task mode: Initial value of pin before task triggering is high */ 5825 5826 /* Bits 17..16 : When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event. */ 5827 #define GPIOTE_CONFIG_POLARITY_Pos (16UL) /*!< Position of POLARITY field. */ 5828 #define GPIOTE_CONFIG_POLARITY_Msk (0x3UL << GPIOTE_CONFIG_POLARITY_Pos) /*!< Bit mask of POLARITY field. */ 5829 #define GPIOTE_CONFIG_POLARITY_None (0x0UL) /*!< Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity. */ 5830 #define GPIOTE_CONFIG_POLARITY_LoToHi (0x1UL) /*!< Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin. */ 5831 #define GPIOTE_CONFIG_POLARITY_HiToLo (0x2UL) /*!< Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin. */ 5832 #define GPIOTE_CONFIG_POLARITY_Toggle (0x3UL) /*!< Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin. */ 5833 5834 /* Bit 13 : Port number */ 5835 #define GPIOTE_CONFIG_PORT_Pos (13UL) /*!< Position of PORT field. */ 5836 #define GPIOTE_CONFIG_PORT_Msk (0x1UL << GPIOTE_CONFIG_PORT_Pos) /*!< Bit mask of PORT field. */ 5837 5838 /* Bits 12..8 : GPIO number associated with SET[n], CLR[n], and OUT[n] tasks and IN[n] event */ 5839 #define GPIOTE_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */ 5840 #define GPIOTE_CONFIG_PSEL_Msk (0x1FUL << GPIOTE_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */ 5841 5842 /* Bits 1..0 : Mode */ 5843 #define GPIOTE_CONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */ 5844 #define GPIOTE_CONFIG_MODE_Msk (0x3UL << GPIOTE_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */ 5845 #define GPIOTE_CONFIG_MODE_Disabled (0x0UL) /*!< Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module. */ 5846 #define GPIOTE_CONFIG_MODE_Event (0x1UL) /*!< Event mode */ 5847 #define GPIOTE_CONFIG_MODE_Task (0x3UL) /*!< Task mode */ 5848 5849 5850 /* Peripheral: I2S */ 5851 /* Description: Inter-IC Sound 0 */ 5852 5853 /* Register: I2S_TASKS_START */ 5854 /* Description: Starts continuous I2S transfer. Also starts MCK generator when this is enabled */ 5855 5856 /* Bit 0 : Starts continuous I2S transfer. Also starts MCK generator when this is enabled */ 5857 #define I2S_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 5858 #define I2S_TASKS_START_TASKS_START_Msk (0x1UL << I2S_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 5859 #define I2S_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 5860 5861 /* Register: I2S_TASKS_STOP */ 5862 /* Description: Stops I2S transfer and MCK generator. Triggering this task will cause the event STOPPED to be generated. */ 5863 5864 /* Bit 0 : Stops I2S transfer and MCK generator. Triggering this task will cause the event STOPPED to be generated. */ 5865 #define I2S_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 5866 #define I2S_TASKS_STOP_TASKS_STOP_Msk (0x1UL << I2S_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 5867 #define I2S_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 5868 5869 /* Register: I2S_SUBSCRIBE_START */ 5870 /* Description: Subscribe configuration for task START */ 5871 5872 /* Bit 31 : */ 5873 #define I2S_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 5874 #define I2S_SUBSCRIBE_START_EN_Msk (0x1UL << I2S_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 5875 #define I2S_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 5876 #define I2S_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 5877 5878 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 5879 #define I2S_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5880 #define I2S_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << I2S_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5881 5882 /* Register: I2S_SUBSCRIBE_STOP */ 5883 /* Description: Subscribe configuration for task STOP */ 5884 5885 /* Bit 31 : */ 5886 #define I2S_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 5887 #define I2S_SUBSCRIBE_STOP_EN_Msk (0x1UL << I2S_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 5888 #define I2S_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 5889 #define I2S_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 5890 5891 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 5892 #define I2S_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5893 #define I2S_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << I2S_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5894 5895 /* Register: I2S_EVENTS_RXPTRUPD */ 5896 /* Description: The RXD.PTR register has been copied to internal double-buffers. 5897 When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words received on the SDIN pin. */ 5898 5899 /* Bit 0 : The RXD.PTR register has been copied to internal double-buffers. 5900 When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words received on the SDIN pin. */ 5901 #define I2S_EVENTS_RXPTRUPD_EVENTS_RXPTRUPD_Pos (0UL) /*!< Position of EVENTS_RXPTRUPD field. */ 5902 #define I2S_EVENTS_RXPTRUPD_EVENTS_RXPTRUPD_Msk (0x1UL << I2S_EVENTS_RXPTRUPD_EVENTS_RXPTRUPD_Pos) /*!< Bit mask of EVENTS_RXPTRUPD field. */ 5903 #define I2S_EVENTS_RXPTRUPD_EVENTS_RXPTRUPD_NotGenerated (0x0UL) /*!< Event not generated */ 5904 #define I2S_EVENTS_RXPTRUPD_EVENTS_RXPTRUPD_Generated (0x1UL) /*!< Event generated */ 5905 5906 /* Register: I2S_EVENTS_STOPPED */ 5907 /* Description: I2S transfer stopped. */ 5908 5909 /* Bit 0 : I2S transfer stopped. */ 5910 #define I2S_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 5911 #define I2S_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << I2S_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 5912 #define I2S_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 5913 #define I2S_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 5914 5915 /* Register: I2S_EVENTS_TXPTRUPD */ 5916 /* Description: The TDX.PTR register has been copied to internal double-buffers. 5917 When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin. */ 5918 5919 /* Bit 0 : The TDX.PTR register has been copied to internal double-buffers. 5920 When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin. */ 5921 #define I2S_EVENTS_TXPTRUPD_EVENTS_TXPTRUPD_Pos (0UL) /*!< Position of EVENTS_TXPTRUPD field. */ 5922 #define I2S_EVENTS_TXPTRUPD_EVENTS_TXPTRUPD_Msk (0x1UL << I2S_EVENTS_TXPTRUPD_EVENTS_TXPTRUPD_Pos) /*!< Bit mask of EVENTS_TXPTRUPD field. */ 5923 #define I2S_EVENTS_TXPTRUPD_EVENTS_TXPTRUPD_NotGenerated (0x0UL) /*!< Event not generated */ 5924 #define I2S_EVENTS_TXPTRUPD_EVENTS_TXPTRUPD_Generated (0x1UL) /*!< Event generated */ 5925 5926 /* Register: I2S_EVENTS_FRAMESTART */ 5927 /* Description: Frame start event, generated on the active edge of LRCK */ 5928 5929 /* Bit 0 : Frame start event, generated on the active edge of LRCK */ 5930 #define I2S_EVENTS_FRAMESTART_EVENTS_FRAMESTART_Pos (0UL) /*!< Position of EVENTS_FRAMESTART field. */ 5931 #define I2S_EVENTS_FRAMESTART_EVENTS_FRAMESTART_Msk (0x1UL << I2S_EVENTS_FRAMESTART_EVENTS_FRAMESTART_Pos) /*!< Bit mask of EVENTS_FRAMESTART field. */ 5932 #define I2S_EVENTS_FRAMESTART_EVENTS_FRAMESTART_NotGenerated (0x0UL) /*!< Event not generated */ 5933 #define I2S_EVENTS_FRAMESTART_EVENTS_FRAMESTART_Generated (0x1UL) /*!< Event generated */ 5934 5935 /* Register: I2S_PUBLISH_RXPTRUPD */ 5936 /* Description: Publish configuration for event RXPTRUPD */ 5937 5938 /* Bit 31 : */ 5939 #define I2S_PUBLISH_RXPTRUPD_EN_Pos (31UL) /*!< Position of EN field. */ 5940 #define I2S_PUBLISH_RXPTRUPD_EN_Msk (0x1UL << I2S_PUBLISH_RXPTRUPD_EN_Pos) /*!< Bit mask of EN field. */ 5941 #define I2S_PUBLISH_RXPTRUPD_EN_Disabled (0x0UL) /*!< Disable publishing */ 5942 #define I2S_PUBLISH_RXPTRUPD_EN_Enabled (0x1UL) /*!< Enable publishing */ 5943 5944 /* Bits 7..0 : DPPI channel that event RXPTRUPD will publish to */ 5945 #define I2S_PUBLISH_RXPTRUPD_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5946 #define I2S_PUBLISH_RXPTRUPD_CHIDX_Msk (0xFFUL << I2S_PUBLISH_RXPTRUPD_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5947 5948 /* Register: I2S_PUBLISH_STOPPED */ 5949 /* Description: Publish configuration for event STOPPED */ 5950 5951 /* Bit 31 : */ 5952 #define I2S_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 5953 #define I2S_PUBLISH_STOPPED_EN_Msk (0x1UL << I2S_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 5954 #define I2S_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 5955 #define I2S_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 5956 5957 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 5958 #define I2S_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5959 #define I2S_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << I2S_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5960 5961 /* Register: I2S_PUBLISH_TXPTRUPD */ 5962 /* Description: Publish configuration for event TXPTRUPD */ 5963 5964 /* Bit 31 : */ 5965 #define I2S_PUBLISH_TXPTRUPD_EN_Pos (31UL) /*!< Position of EN field. */ 5966 #define I2S_PUBLISH_TXPTRUPD_EN_Msk (0x1UL << I2S_PUBLISH_TXPTRUPD_EN_Pos) /*!< Bit mask of EN field. */ 5967 #define I2S_PUBLISH_TXPTRUPD_EN_Disabled (0x0UL) /*!< Disable publishing */ 5968 #define I2S_PUBLISH_TXPTRUPD_EN_Enabled (0x1UL) /*!< Enable publishing */ 5969 5970 /* Bits 7..0 : DPPI channel that event TXPTRUPD will publish to */ 5971 #define I2S_PUBLISH_TXPTRUPD_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5972 #define I2S_PUBLISH_TXPTRUPD_CHIDX_Msk (0xFFUL << I2S_PUBLISH_TXPTRUPD_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5973 5974 /* Register: I2S_PUBLISH_FRAMESTART */ 5975 /* Description: Publish configuration for event FRAMESTART */ 5976 5977 /* Bit 31 : */ 5978 #define I2S_PUBLISH_FRAMESTART_EN_Pos (31UL) /*!< Position of EN field. */ 5979 #define I2S_PUBLISH_FRAMESTART_EN_Msk (0x1UL << I2S_PUBLISH_FRAMESTART_EN_Pos) /*!< Bit mask of EN field. */ 5980 #define I2S_PUBLISH_FRAMESTART_EN_Disabled (0x0UL) /*!< Disable publishing */ 5981 #define I2S_PUBLISH_FRAMESTART_EN_Enabled (0x1UL) /*!< Enable publishing */ 5982 5983 /* Bits 7..0 : DPPI channel that event FRAMESTART will publish to */ 5984 #define I2S_PUBLISH_FRAMESTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 5985 #define I2S_PUBLISH_FRAMESTART_CHIDX_Msk (0xFFUL << I2S_PUBLISH_FRAMESTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 5986 5987 /* Register: I2S_INTEN */ 5988 /* Description: Enable or disable interrupt */ 5989 5990 /* Bit 7 : Enable or disable interrupt for event FRAMESTART */ 5991 #define I2S_INTEN_FRAMESTART_Pos (7UL) /*!< Position of FRAMESTART field. */ 5992 #define I2S_INTEN_FRAMESTART_Msk (0x1UL << I2S_INTEN_FRAMESTART_Pos) /*!< Bit mask of FRAMESTART field. */ 5993 #define I2S_INTEN_FRAMESTART_Disabled (0x0UL) /*!< Disable */ 5994 #define I2S_INTEN_FRAMESTART_Enabled (0x1UL) /*!< Enable */ 5995 5996 /* Bit 5 : Enable or disable interrupt for event TXPTRUPD */ 5997 #define I2S_INTEN_TXPTRUPD_Pos (5UL) /*!< Position of TXPTRUPD field. */ 5998 #define I2S_INTEN_TXPTRUPD_Msk (0x1UL << I2S_INTEN_TXPTRUPD_Pos) /*!< Bit mask of TXPTRUPD field. */ 5999 #define I2S_INTEN_TXPTRUPD_Disabled (0x0UL) /*!< Disable */ 6000 #define I2S_INTEN_TXPTRUPD_Enabled (0x1UL) /*!< Enable */ 6001 6002 /* Bit 2 : Enable or disable interrupt for event STOPPED */ 6003 #define I2S_INTEN_STOPPED_Pos (2UL) /*!< Position of STOPPED field. */ 6004 #define I2S_INTEN_STOPPED_Msk (0x1UL << I2S_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 6005 #define I2S_INTEN_STOPPED_Disabled (0x0UL) /*!< Disable */ 6006 #define I2S_INTEN_STOPPED_Enabled (0x1UL) /*!< Enable */ 6007 6008 /* Bit 1 : Enable or disable interrupt for event RXPTRUPD */ 6009 #define I2S_INTEN_RXPTRUPD_Pos (1UL) /*!< Position of RXPTRUPD field. */ 6010 #define I2S_INTEN_RXPTRUPD_Msk (0x1UL << I2S_INTEN_RXPTRUPD_Pos) /*!< Bit mask of RXPTRUPD field. */ 6011 #define I2S_INTEN_RXPTRUPD_Disabled (0x0UL) /*!< Disable */ 6012 #define I2S_INTEN_RXPTRUPD_Enabled (0x1UL) /*!< Enable */ 6013 6014 /* Register: I2S_INTENSET */ 6015 /* Description: Enable interrupt */ 6016 6017 /* Bit 7 : Write '1' to enable interrupt for event FRAMESTART */ 6018 #define I2S_INTENSET_FRAMESTART_Pos (7UL) /*!< Position of FRAMESTART field. */ 6019 #define I2S_INTENSET_FRAMESTART_Msk (0x1UL << I2S_INTENSET_FRAMESTART_Pos) /*!< Bit mask of FRAMESTART field. */ 6020 #define I2S_INTENSET_FRAMESTART_Disabled (0x0UL) /*!< Read: Disabled */ 6021 #define I2S_INTENSET_FRAMESTART_Enabled (0x1UL) /*!< Read: Enabled */ 6022 #define I2S_INTENSET_FRAMESTART_Set (0x1UL) /*!< Enable */ 6023 6024 /* Bit 5 : Write '1' to enable interrupt for event TXPTRUPD */ 6025 #define I2S_INTENSET_TXPTRUPD_Pos (5UL) /*!< Position of TXPTRUPD field. */ 6026 #define I2S_INTENSET_TXPTRUPD_Msk (0x1UL << I2S_INTENSET_TXPTRUPD_Pos) /*!< Bit mask of TXPTRUPD field. */ 6027 #define I2S_INTENSET_TXPTRUPD_Disabled (0x0UL) /*!< Read: Disabled */ 6028 #define I2S_INTENSET_TXPTRUPD_Enabled (0x1UL) /*!< Read: Enabled */ 6029 #define I2S_INTENSET_TXPTRUPD_Set (0x1UL) /*!< Enable */ 6030 6031 /* Bit 2 : Write '1' to enable interrupt for event STOPPED */ 6032 #define I2S_INTENSET_STOPPED_Pos (2UL) /*!< Position of STOPPED field. */ 6033 #define I2S_INTENSET_STOPPED_Msk (0x1UL << I2S_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 6034 #define I2S_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 6035 #define I2S_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 6036 #define I2S_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 6037 6038 /* Bit 1 : Write '1' to enable interrupt for event RXPTRUPD */ 6039 #define I2S_INTENSET_RXPTRUPD_Pos (1UL) /*!< Position of RXPTRUPD field. */ 6040 #define I2S_INTENSET_RXPTRUPD_Msk (0x1UL << I2S_INTENSET_RXPTRUPD_Pos) /*!< Bit mask of RXPTRUPD field. */ 6041 #define I2S_INTENSET_RXPTRUPD_Disabled (0x0UL) /*!< Read: Disabled */ 6042 #define I2S_INTENSET_RXPTRUPD_Enabled (0x1UL) /*!< Read: Enabled */ 6043 #define I2S_INTENSET_RXPTRUPD_Set (0x1UL) /*!< Enable */ 6044 6045 /* Register: I2S_INTENCLR */ 6046 /* Description: Disable interrupt */ 6047 6048 /* Bit 7 : Write '1' to disable interrupt for event FRAMESTART */ 6049 #define I2S_INTENCLR_FRAMESTART_Pos (7UL) /*!< Position of FRAMESTART field. */ 6050 #define I2S_INTENCLR_FRAMESTART_Msk (0x1UL << I2S_INTENCLR_FRAMESTART_Pos) /*!< Bit mask of FRAMESTART field. */ 6051 #define I2S_INTENCLR_FRAMESTART_Disabled (0x0UL) /*!< Read: Disabled */ 6052 #define I2S_INTENCLR_FRAMESTART_Enabled (0x1UL) /*!< Read: Enabled */ 6053 #define I2S_INTENCLR_FRAMESTART_Clear (0x1UL) /*!< Disable */ 6054 6055 /* Bit 5 : Write '1' to disable interrupt for event TXPTRUPD */ 6056 #define I2S_INTENCLR_TXPTRUPD_Pos (5UL) /*!< Position of TXPTRUPD field. */ 6057 #define I2S_INTENCLR_TXPTRUPD_Msk (0x1UL << I2S_INTENCLR_TXPTRUPD_Pos) /*!< Bit mask of TXPTRUPD field. */ 6058 #define I2S_INTENCLR_TXPTRUPD_Disabled (0x0UL) /*!< Read: Disabled */ 6059 #define I2S_INTENCLR_TXPTRUPD_Enabled (0x1UL) /*!< Read: Enabled */ 6060 #define I2S_INTENCLR_TXPTRUPD_Clear (0x1UL) /*!< Disable */ 6061 6062 /* Bit 2 : Write '1' to disable interrupt for event STOPPED */ 6063 #define I2S_INTENCLR_STOPPED_Pos (2UL) /*!< Position of STOPPED field. */ 6064 #define I2S_INTENCLR_STOPPED_Msk (0x1UL << I2S_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 6065 #define I2S_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 6066 #define I2S_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 6067 #define I2S_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 6068 6069 /* Bit 1 : Write '1' to disable interrupt for event RXPTRUPD */ 6070 #define I2S_INTENCLR_RXPTRUPD_Pos (1UL) /*!< Position of RXPTRUPD field. */ 6071 #define I2S_INTENCLR_RXPTRUPD_Msk (0x1UL << I2S_INTENCLR_RXPTRUPD_Pos) /*!< Bit mask of RXPTRUPD field. */ 6072 #define I2S_INTENCLR_RXPTRUPD_Disabled (0x0UL) /*!< Read: Disabled */ 6073 #define I2S_INTENCLR_RXPTRUPD_Enabled (0x1UL) /*!< Read: Enabled */ 6074 #define I2S_INTENCLR_RXPTRUPD_Clear (0x1UL) /*!< Disable */ 6075 6076 /* Register: I2S_ENABLE */ 6077 /* Description: Enable I2S module */ 6078 6079 /* Bit 0 : Enable I2S module */ 6080 #define I2S_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 6081 #define I2S_ENABLE_ENABLE_Msk (0x1UL << I2S_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 6082 #define I2S_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable */ 6083 #define I2S_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable */ 6084 6085 /* Register: I2S_CONFIG_MODE */ 6086 /* Description: I2S mode */ 6087 6088 /* Bit 0 : I2S mode */ 6089 #define I2S_CONFIG_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 6090 #define I2S_CONFIG_MODE_MODE_Msk (0x1UL << I2S_CONFIG_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 6091 #define I2S_CONFIG_MODE_MODE_Master (0x0UL) /*!< Master mode. SCK and LRCK generated from internal master clcok (MCK) and output on pins defined by PSEL.xxx. */ 6092 #define I2S_CONFIG_MODE_MODE_Slave (0x1UL) /*!< Slave mode. SCK and LRCK generated by external master and received on pins defined by PSEL.xxx */ 6093 6094 /* Register: I2S_CONFIG_RXEN */ 6095 /* Description: Reception (RX) enable */ 6096 6097 /* Bit 0 : Reception (RX) enable */ 6098 #define I2S_CONFIG_RXEN_RXEN_Pos (0UL) /*!< Position of RXEN field. */ 6099 #define I2S_CONFIG_RXEN_RXEN_Msk (0x1UL << I2S_CONFIG_RXEN_RXEN_Pos) /*!< Bit mask of RXEN field. */ 6100 #define I2S_CONFIG_RXEN_RXEN_Disabled (0x0UL) /*!< Reception disabled and now data will be written to the RXD.PTR address. */ 6101 #define I2S_CONFIG_RXEN_RXEN_Enabled (0x1UL) /*!< Reception enabled. */ 6102 6103 /* Register: I2S_CONFIG_TXEN */ 6104 /* Description: Transmission (TX) enable */ 6105 6106 /* Bit 0 : Transmission (TX) enable */ 6107 #define I2S_CONFIG_TXEN_TXEN_Pos (0UL) /*!< Position of TXEN field. */ 6108 #define I2S_CONFIG_TXEN_TXEN_Msk (0x1UL << I2S_CONFIG_TXEN_TXEN_Pos) /*!< Bit mask of TXEN field. */ 6109 #define I2S_CONFIG_TXEN_TXEN_Disabled (0x0UL) /*!< Transmission disabled and now data will be read from the RXD.TXD address. */ 6110 #define I2S_CONFIG_TXEN_TXEN_Enabled (0x1UL) /*!< Transmission enabled. */ 6111 6112 /* Register: I2S_CONFIG_MCKEN */ 6113 /* Description: Master clock generator enable */ 6114 6115 /* Bit 0 : Master clock generator enable */ 6116 #define I2S_CONFIG_MCKEN_MCKEN_Pos (0UL) /*!< Position of MCKEN field. */ 6117 #define I2S_CONFIG_MCKEN_MCKEN_Msk (0x1UL << I2S_CONFIG_MCKEN_MCKEN_Pos) /*!< Bit mask of MCKEN field. */ 6118 #define I2S_CONFIG_MCKEN_MCKEN_Disabled (0x0UL) /*!< Master clock generator disabled and PSEL.MCK not connected(available as GPIO). */ 6119 #define I2S_CONFIG_MCKEN_MCKEN_Enabled (0x1UL) /*!< Master clock generator running and MCK output on PSEL.MCK. */ 6120 6121 /* Register: I2S_CONFIG_MCKFREQ */ 6122 /* Description: I2S clock generator control */ 6123 6124 /* Bits 31..0 : I2S MCK frequency configuration NOTE: Enumerations are deprecated, use MCKFREQ equation. NOTE: The 12 least significant bits of the register are ignored and shall be set to zero. */ 6125 #define I2S_CONFIG_MCKFREQ_MCKFREQ_Pos (0UL) /*!< Position of MCKFREQ field. */ 6126 #define I2S_CONFIG_MCKFREQ_MCKFREQ_Msk (0xFFFFFFFFUL << I2S_CONFIG_MCKFREQ_MCKFREQ_Pos) /*!< Bit mask of MCKFREQ field. */ 6127 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV125 (0x020C0000UL) /*!< 32 MHz / 125 = 0.256 MHz Deprecated, use MCKFREQ equation. */ 6128 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV63 (0x04100000UL) /*!< 32 MHz / 63 = 0.5079365 MHz Deprecated, use MCKFREQ equation. */ 6129 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV42 (0x06000000UL) /*!< 32 MHz / 42 = 0.7619048 MHz Deprecated, use MCKFREQ equation. */ 6130 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV32 (0x08000000UL) /*!< 32 MHz / 32 = 1.0 MHz Deprecated, use MCKFREQ equation. */ 6131 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV31 (0x08400000UL) /*!< 32 MHz / 31 = 1.0322581 MHz Deprecated, use MCKFREQ equation. */ 6132 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV30 (0x08800000UL) /*!< 32 MHz / 30 = 1.0666667 MHz Deprecated, use MCKFREQ equation. */ 6133 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV23 (0x0B000000UL) /*!< 32 MHz / 23 = 1.3913043 MHz Deprecated, use MCKFREQ equation. */ 6134 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV21 (0x0C000000UL) /*!< 32 MHz / 21 = 1.5238095 MHz Deprecated, use MCKFREQ equation. */ 6135 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV16 (0x10000000UL) /*!< 32 MHz / 16 = 2.0 MHz Deprecated, use MCKFREQ equation. */ 6136 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV15 (0x11000000UL) /*!< 32 MHz / 15 = 2.1333333 MHz Deprecated, use MCKFREQ equation. */ 6137 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV11 (0x16000000UL) /*!< 32 MHz / 11 = 2.9090909 MHz Deprecated, use MCKFREQ equation. */ 6138 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV10 (0x18000000UL) /*!< 32 MHz / 10 = 3.2 MHz Deprecated, use MCKFREQ equation. */ 6139 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV8 (0x20000000UL) /*!< 32 MHz / 8 = 4.0 MHz Deprecated, use MCKFREQ equation. */ 6140 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV6 (0x28000000UL) /*!< 32 MHz / 6 = 5.3333333 MHz Deprecated, use MCKFREQ equation. */ 6141 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV5 (0x30000000UL) /*!< 32 MHz / 5 = 6.4 MHz Deprecated, use MCKFREQ equation. */ 6142 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV4 (0x40000000UL) /*!< 32 MHz / 4 = 8.0 MHz Deprecated, use MCKFREQ equation. */ 6143 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV3 (0x50000000UL) /*!< 32 MHz / 3 = 10.6666667 MHz Deprecated, use MCKFREQ equation. */ 6144 #define I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV2 (0x80000000UL) /*!< 32 MHz / 2 = 16.0 MHz Deprecated, use MCKFREQ equation. */ 6145 6146 /* Register: I2S_CONFIG_RATIO */ 6147 /* Description: MCK / LRCK ratio */ 6148 6149 /* Bits 3..0 : MCK / LRCK ratio */ 6150 #define I2S_CONFIG_RATIO_RATIO_Pos (0UL) /*!< Position of RATIO field. */ 6151 #define I2S_CONFIG_RATIO_RATIO_Msk (0xFUL << I2S_CONFIG_RATIO_RATIO_Pos) /*!< Bit mask of RATIO field. */ 6152 #define I2S_CONFIG_RATIO_RATIO_32X (0x0UL) /*!< LRCK = MCK / 32 */ 6153 #define I2S_CONFIG_RATIO_RATIO_48X (0x1UL) /*!< LRCK = MCK / 48 */ 6154 #define I2S_CONFIG_RATIO_RATIO_64X (0x2UL) /*!< LRCK = MCK / 64 */ 6155 #define I2S_CONFIG_RATIO_RATIO_96X (0x3UL) /*!< LRCK = MCK / 96 */ 6156 #define I2S_CONFIG_RATIO_RATIO_128X (0x4UL) /*!< LRCK = MCK / 128 */ 6157 #define I2S_CONFIG_RATIO_RATIO_192X (0x5UL) /*!< LRCK = MCK / 192 */ 6158 #define I2S_CONFIG_RATIO_RATIO_256X (0x6UL) /*!< LRCK = MCK / 256 */ 6159 #define I2S_CONFIG_RATIO_RATIO_384X (0x7UL) /*!< LRCK = MCK / 384 */ 6160 #define I2S_CONFIG_RATIO_RATIO_512X (0x8UL) /*!< LRCK = MCK / 512 */ 6161 6162 /* Register: I2S_CONFIG_SWIDTH */ 6163 /* Description: Sample width */ 6164 6165 /* Bits 2..0 : Sample and half-frame width */ 6166 #define I2S_CONFIG_SWIDTH_SWIDTH_Pos (0UL) /*!< Position of SWIDTH field. */ 6167 #define I2S_CONFIG_SWIDTH_SWIDTH_Msk (0x7UL << I2S_CONFIG_SWIDTH_SWIDTH_Pos) /*!< Bit mask of SWIDTH field. */ 6168 #define I2S_CONFIG_SWIDTH_SWIDTH_8Bit (0x0UL) /*!< 8 bit sample. */ 6169 #define I2S_CONFIG_SWIDTH_SWIDTH_16Bit (0x1UL) /*!< 16 bit sample. */ 6170 #define I2S_CONFIG_SWIDTH_SWIDTH_24Bit (0x2UL) /*!< 24 bit sample. */ 6171 #define I2S_CONFIG_SWIDTH_SWIDTH_32Bit (0x3UL) /*!< 32 bit sample. */ 6172 #define I2S_CONFIG_SWIDTH_SWIDTH_8BitIn16 (0x4UL) /*!< 8 bit sample in a 16-bit half-frame. */ 6173 #define I2S_CONFIG_SWIDTH_SWIDTH_8BitIn32 (0x5UL) /*!< 8 bit sample in a 32-bit half-frame. */ 6174 #define I2S_CONFIG_SWIDTH_SWIDTH_16BitIn32 (0x6UL) /*!< 16 bit sample in a 32-bit half-frame. */ 6175 #define I2S_CONFIG_SWIDTH_SWIDTH_24BitIn32 (0x7UL) /*!< 24 bit sample in a 32-bit half-frame. */ 6176 6177 /* Register: I2S_CONFIG_ALIGN */ 6178 /* Description: Alignment of sample within a frame */ 6179 6180 /* Bit 0 : Alignment of sample within a frame */ 6181 #define I2S_CONFIG_ALIGN_ALIGN_Pos (0UL) /*!< Position of ALIGN field. */ 6182 #define I2S_CONFIG_ALIGN_ALIGN_Msk (0x1UL << I2S_CONFIG_ALIGN_ALIGN_Pos) /*!< Bit mask of ALIGN field. */ 6183 #define I2S_CONFIG_ALIGN_ALIGN_Left (0x0UL) /*!< Left-aligned. */ 6184 #define I2S_CONFIG_ALIGN_ALIGN_Right (0x1UL) /*!< Right-aligned. */ 6185 6186 /* Register: I2S_CONFIG_FORMAT */ 6187 /* Description: Frame format */ 6188 6189 /* Bit 0 : Frame format */ 6190 #define I2S_CONFIG_FORMAT_FORMAT_Pos (0UL) /*!< Position of FORMAT field. */ 6191 #define I2S_CONFIG_FORMAT_FORMAT_Msk (0x1UL << I2S_CONFIG_FORMAT_FORMAT_Pos) /*!< Bit mask of FORMAT field. */ 6192 #define I2S_CONFIG_FORMAT_FORMAT_I2S (0x0UL) /*!< Original I2S format. */ 6193 #define I2S_CONFIG_FORMAT_FORMAT_Aligned (0x1UL) /*!< Alternate (left- or right-aligned) format. */ 6194 6195 /* Register: I2S_CONFIG_CHANNELS */ 6196 /* Description: Enable channels */ 6197 6198 /* Bits 1..0 : Enable channels */ 6199 #define I2S_CONFIG_CHANNELS_CHANNELS_Pos (0UL) /*!< Position of CHANNELS field. */ 6200 #define I2S_CONFIG_CHANNELS_CHANNELS_Msk (0x3UL << I2S_CONFIG_CHANNELS_CHANNELS_Pos) /*!< Bit mask of CHANNELS field. */ 6201 #define I2S_CONFIG_CHANNELS_CHANNELS_Stereo (0x0UL) /*!< Stereo. */ 6202 #define I2S_CONFIG_CHANNELS_CHANNELS_Left (0x1UL) /*!< Left only. */ 6203 #define I2S_CONFIG_CHANNELS_CHANNELS_Right (0x2UL) /*!< Right only. */ 6204 6205 /* Register: I2S_CONFIG_CLKCONFIG */ 6206 /* Description: Clock source selection for the I2S module */ 6207 6208 /* Bit 8 : Bypass clock generator. MCK will be equal to source input. If bypass is enabled the MCKFREQ setting has no effect. */ 6209 #define I2S_CONFIG_CLKCONFIG_BYPASS_Pos (8UL) /*!< Position of BYPASS field. */ 6210 #define I2S_CONFIG_CLKCONFIG_BYPASS_Msk (0x1UL << I2S_CONFIG_CLKCONFIG_BYPASS_Pos) /*!< Bit mask of BYPASS field. */ 6211 #define I2S_CONFIG_CLKCONFIG_BYPASS_Disable (0x0UL) /*!< Disable bypass */ 6212 #define I2S_CONFIG_CLKCONFIG_BYPASS_Enable (0x1UL) /*!< Enable bypass */ 6213 6214 /* Bit 0 : Clock source selection */ 6215 #define I2S_CONFIG_CLKCONFIG_CLKSRC_Pos (0UL) /*!< Position of CLKSRC field. */ 6216 #define I2S_CONFIG_CLKCONFIG_CLKSRC_Msk (0x1UL << I2S_CONFIG_CLKCONFIG_CLKSRC_Pos) /*!< Bit mask of CLKSRC field. */ 6217 #define I2S_CONFIG_CLKCONFIG_CLKSRC_PCLK32M (0x0UL) /*!< 32MHz peripheral clock */ 6218 #define I2S_CONFIG_CLKCONFIG_CLKSRC_ACLK (0x1UL) /*!< Audio PLL clock */ 6219 6220 /* Register: I2S_RXD_PTR */ 6221 /* Description: Receive buffer RAM start address. */ 6222 6223 /* Bits 31..0 : Receive buffer Data RAM start address. When receiving, words containing samples will be written to this address. This address is a word aligned Data RAM address. */ 6224 #define I2S_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 6225 #define I2S_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << I2S_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 6226 6227 /* Register: I2S_TXD_PTR */ 6228 /* Description: Transmit buffer RAM start address */ 6229 6230 /* Bits 31..0 : Transmit buffer Data RAM start address. When transmitting, words containing samples will be fetched from this address. This address is a word aligned Data RAM address. */ 6231 #define I2S_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 6232 #define I2S_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << I2S_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 6233 6234 /* Register: I2S_RXTXD_MAXCNT */ 6235 /* Description: Size of RXD and TXD buffers */ 6236 6237 /* Bits 13..0 : Size of RXD and TXD buffers in number of 32 bit words */ 6238 #define I2S_RXTXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 6239 #define I2S_RXTXD_MAXCNT_MAXCNT_Msk (0x3FFFUL << I2S_RXTXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 6240 6241 /* Register: I2S_PSEL_MCK */ 6242 /* Description: Pin select for MCK signal */ 6243 6244 /* Bit 31 : Connection */ 6245 #define I2S_PSEL_MCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 6246 #define I2S_PSEL_MCK_CONNECT_Msk (0x1UL << I2S_PSEL_MCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 6247 #define I2S_PSEL_MCK_CONNECT_Connected (0x0UL) /*!< Connect */ 6248 #define I2S_PSEL_MCK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 6249 6250 /* Bit 5 : Port number */ 6251 #define I2S_PSEL_MCK_PORT_Pos (5UL) /*!< Position of PORT field. */ 6252 #define I2S_PSEL_MCK_PORT_Msk (0x1UL << I2S_PSEL_MCK_PORT_Pos) /*!< Bit mask of PORT field. */ 6253 6254 /* Bits 4..0 : Pin number */ 6255 #define I2S_PSEL_MCK_PIN_Pos (0UL) /*!< Position of PIN field. */ 6256 #define I2S_PSEL_MCK_PIN_Msk (0x1FUL << I2S_PSEL_MCK_PIN_Pos) /*!< Bit mask of PIN field. */ 6257 6258 /* Register: I2S_PSEL_SCK */ 6259 /* Description: Pin select for SCK signal */ 6260 6261 /* Bit 31 : Connection */ 6262 #define I2S_PSEL_SCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 6263 #define I2S_PSEL_SCK_CONNECT_Msk (0x1UL << I2S_PSEL_SCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 6264 #define I2S_PSEL_SCK_CONNECT_Connected (0x0UL) /*!< Connect */ 6265 #define I2S_PSEL_SCK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 6266 6267 /* Bit 5 : Port number */ 6268 #define I2S_PSEL_SCK_PORT_Pos (5UL) /*!< Position of PORT field. */ 6269 #define I2S_PSEL_SCK_PORT_Msk (0x1UL << I2S_PSEL_SCK_PORT_Pos) /*!< Bit mask of PORT field. */ 6270 6271 /* Bits 4..0 : Pin number */ 6272 #define I2S_PSEL_SCK_PIN_Pos (0UL) /*!< Position of PIN field. */ 6273 #define I2S_PSEL_SCK_PIN_Msk (0x1FUL << I2S_PSEL_SCK_PIN_Pos) /*!< Bit mask of PIN field. */ 6274 6275 /* Register: I2S_PSEL_LRCK */ 6276 /* Description: Pin select for LRCK signal */ 6277 6278 /* Bit 31 : Connection */ 6279 #define I2S_PSEL_LRCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 6280 #define I2S_PSEL_LRCK_CONNECT_Msk (0x1UL << I2S_PSEL_LRCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 6281 #define I2S_PSEL_LRCK_CONNECT_Connected (0x0UL) /*!< Connect */ 6282 #define I2S_PSEL_LRCK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 6283 6284 /* Bit 5 : Port number */ 6285 #define I2S_PSEL_LRCK_PORT_Pos (5UL) /*!< Position of PORT field. */ 6286 #define I2S_PSEL_LRCK_PORT_Msk (0x1UL << I2S_PSEL_LRCK_PORT_Pos) /*!< Bit mask of PORT field. */ 6287 6288 /* Bits 4..0 : Pin number */ 6289 #define I2S_PSEL_LRCK_PIN_Pos (0UL) /*!< Position of PIN field. */ 6290 #define I2S_PSEL_LRCK_PIN_Msk (0x1FUL << I2S_PSEL_LRCK_PIN_Pos) /*!< Bit mask of PIN field. */ 6291 6292 /* Register: I2S_PSEL_SDIN */ 6293 /* Description: Pin select for SDIN signal */ 6294 6295 /* Bit 31 : Connection */ 6296 #define I2S_PSEL_SDIN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 6297 #define I2S_PSEL_SDIN_CONNECT_Msk (0x1UL << I2S_PSEL_SDIN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 6298 #define I2S_PSEL_SDIN_CONNECT_Connected (0x0UL) /*!< Connect */ 6299 #define I2S_PSEL_SDIN_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 6300 6301 /* Bit 5 : Port number */ 6302 #define I2S_PSEL_SDIN_PORT_Pos (5UL) /*!< Position of PORT field. */ 6303 #define I2S_PSEL_SDIN_PORT_Msk (0x1UL << I2S_PSEL_SDIN_PORT_Pos) /*!< Bit mask of PORT field. */ 6304 6305 /* Bits 4..0 : Pin number */ 6306 #define I2S_PSEL_SDIN_PIN_Pos (0UL) /*!< Position of PIN field. */ 6307 #define I2S_PSEL_SDIN_PIN_Msk (0x1FUL << I2S_PSEL_SDIN_PIN_Pos) /*!< Bit mask of PIN field. */ 6308 6309 /* Register: I2S_PSEL_SDOUT */ 6310 /* Description: Pin select for SDOUT signal */ 6311 6312 /* Bit 31 : Connection */ 6313 #define I2S_PSEL_SDOUT_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 6314 #define I2S_PSEL_SDOUT_CONNECT_Msk (0x1UL << I2S_PSEL_SDOUT_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 6315 #define I2S_PSEL_SDOUT_CONNECT_Connected (0x0UL) /*!< Connect */ 6316 #define I2S_PSEL_SDOUT_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 6317 6318 /* Bit 5 : Port number */ 6319 #define I2S_PSEL_SDOUT_PORT_Pos (5UL) /*!< Position of PORT field. */ 6320 #define I2S_PSEL_SDOUT_PORT_Msk (0x1UL << I2S_PSEL_SDOUT_PORT_Pos) /*!< Bit mask of PORT field. */ 6321 6322 /* Bits 4..0 : Pin number */ 6323 #define I2S_PSEL_SDOUT_PIN_Pos (0UL) /*!< Position of PIN field. */ 6324 #define I2S_PSEL_SDOUT_PIN_Msk (0x1FUL << I2S_PSEL_SDOUT_PIN_Pos) /*!< Bit mask of PIN field. */ 6325 6326 6327 /* Peripheral: IPC */ 6328 /* Description: Interprocessor communication 0 */ 6329 6330 /* Register: IPC_TASKS_SEND */ 6331 /* Description: Description collection: Trigger events on IPC channel enabled in SEND_CNF[n] */ 6332 6333 /* Bit 0 : Trigger events on IPC channel enabled in SEND_CNF[n] */ 6334 #define IPC_TASKS_SEND_TASKS_SEND_Pos (0UL) /*!< Position of TASKS_SEND field. */ 6335 #define IPC_TASKS_SEND_TASKS_SEND_Msk (0x1UL << IPC_TASKS_SEND_TASKS_SEND_Pos) /*!< Bit mask of TASKS_SEND field. */ 6336 #define IPC_TASKS_SEND_TASKS_SEND_Trigger (0x1UL) /*!< Trigger task */ 6337 6338 /* Register: IPC_SUBSCRIBE_SEND */ 6339 /* Description: Description collection: Subscribe configuration for task SEND[n] */ 6340 6341 /* Bit 31 : */ 6342 #define IPC_SUBSCRIBE_SEND_EN_Pos (31UL) /*!< Position of EN field. */ 6343 #define IPC_SUBSCRIBE_SEND_EN_Msk (0x1UL << IPC_SUBSCRIBE_SEND_EN_Pos) /*!< Bit mask of EN field. */ 6344 #define IPC_SUBSCRIBE_SEND_EN_Disabled (0x0UL) /*!< Disable subscription */ 6345 #define IPC_SUBSCRIBE_SEND_EN_Enabled (0x1UL) /*!< Enable subscription */ 6346 6347 /* Bits 7..0 : DPPI channel that task SEND[n] will subscribe to */ 6348 #define IPC_SUBSCRIBE_SEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 6349 #define IPC_SUBSCRIBE_SEND_CHIDX_Msk (0xFFUL << IPC_SUBSCRIBE_SEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 6350 6351 /* Register: IPC_EVENTS_RECEIVE */ 6352 /* Description: Description collection: Event received on one or more of the enabled IPC channels in RECEIVE_CNF[n] */ 6353 6354 /* Bit 0 : Event received on one or more of the enabled IPC channels in RECEIVE_CNF[n] */ 6355 #define IPC_EVENTS_RECEIVE_EVENTS_RECEIVE_Pos (0UL) /*!< Position of EVENTS_RECEIVE field. */ 6356 #define IPC_EVENTS_RECEIVE_EVENTS_RECEIVE_Msk (0x1UL << IPC_EVENTS_RECEIVE_EVENTS_RECEIVE_Pos) /*!< Bit mask of EVENTS_RECEIVE field. */ 6357 #define IPC_EVENTS_RECEIVE_EVENTS_RECEIVE_NotGenerated (0x0UL) /*!< Event not generated */ 6358 #define IPC_EVENTS_RECEIVE_EVENTS_RECEIVE_Generated (0x1UL) /*!< Event generated */ 6359 6360 /* Register: IPC_PUBLISH_RECEIVE */ 6361 /* Description: Description collection: Publish configuration for event RECEIVE[n] */ 6362 6363 /* Bit 31 : */ 6364 #define IPC_PUBLISH_RECEIVE_EN_Pos (31UL) /*!< Position of EN field. */ 6365 #define IPC_PUBLISH_RECEIVE_EN_Msk (0x1UL << IPC_PUBLISH_RECEIVE_EN_Pos) /*!< Bit mask of EN field. */ 6366 #define IPC_PUBLISH_RECEIVE_EN_Disabled (0x0UL) /*!< Disable publishing */ 6367 #define IPC_PUBLISH_RECEIVE_EN_Enabled (0x1UL) /*!< Enable publishing */ 6368 6369 /* Bits 7..0 : DPPI channel that event RECEIVE[n] will publish to */ 6370 #define IPC_PUBLISH_RECEIVE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 6371 #define IPC_PUBLISH_RECEIVE_CHIDX_Msk (0xFFUL << IPC_PUBLISH_RECEIVE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 6372 6373 /* Register: IPC_INTEN */ 6374 /* Description: Enable or disable interrupt */ 6375 6376 /* Bit 15 : Enable or disable interrupt for event RECEIVE[15] */ 6377 #define IPC_INTEN_RECEIVE15_Pos (15UL) /*!< Position of RECEIVE15 field. */ 6378 #define IPC_INTEN_RECEIVE15_Msk (0x1UL << IPC_INTEN_RECEIVE15_Pos) /*!< Bit mask of RECEIVE15 field. */ 6379 #define IPC_INTEN_RECEIVE15_Disabled (0x0UL) /*!< Disable */ 6380 #define IPC_INTEN_RECEIVE15_Enabled (0x1UL) /*!< Enable */ 6381 6382 /* Bit 14 : Enable or disable interrupt for event RECEIVE[14] */ 6383 #define IPC_INTEN_RECEIVE14_Pos (14UL) /*!< Position of RECEIVE14 field. */ 6384 #define IPC_INTEN_RECEIVE14_Msk (0x1UL << IPC_INTEN_RECEIVE14_Pos) /*!< Bit mask of RECEIVE14 field. */ 6385 #define IPC_INTEN_RECEIVE14_Disabled (0x0UL) /*!< Disable */ 6386 #define IPC_INTEN_RECEIVE14_Enabled (0x1UL) /*!< Enable */ 6387 6388 /* Bit 13 : Enable or disable interrupt for event RECEIVE[13] */ 6389 #define IPC_INTEN_RECEIVE13_Pos (13UL) /*!< Position of RECEIVE13 field. */ 6390 #define IPC_INTEN_RECEIVE13_Msk (0x1UL << IPC_INTEN_RECEIVE13_Pos) /*!< Bit mask of RECEIVE13 field. */ 6391 #define IPC_INTEN_RECEIVE13_Disabled (0x0UL) /*!< Disable */ 6392 #define IPC_INTEN_RECEIVE13_Enabled (0x1UL) /*!< Enable */ 6393 6394 /* Bit 12 : Enable or disable interrupt for event RECEIVE[12] */ 6395 #define IPC_INTEN_RECEIVE12_Pos (12UL) /*!< Position of RECEIVE12 field. */ 6396 #define IPC_INTEN_RECEIVE12_Msk (0x1UL << IPC_INTEN_RECEIVE12_Pos) /*!< Bit mask of RECEIVE12 field. */ 6397 #define IPC_INTEN_RECEIVE12_Disabled (0x0UL) /*!< Disable */ 6398 #define IPC_INTEN_RECEIVE12_Enabled (0x1UL) /*!< Enable */ 6399 6400 /* Bit 11 : Enable or disable interrupt for event RECEIVE[11] */ 6401 #define IPC_INTEN_RECEIVE11_Pos (11UL) /*!< Position of RECEIVE11 field. */ 6402 #define IPC_INTEN_RECEIVE11_Msk (0x1UL << IPC_INTEN_RECEIVE11_Pos) /*!< Bit mask of RECEIVE11 field. */ 6403 #define IPC_INTEN_RECEIVE11_Disabled (0x0UL) /*!< Disable */ 6404 #define IPC_INTEN_RECEIVE11_Enabled (0x1UL) /*!< Enable */ 6405 6406 /* Bit 10 : Enable or disable interrupt for event RECEIVE[10] */ 6407 #define IPC_INTEN_RECEIVE10_Pos (10UL) /*!< Position of RECEIVE10 field. */ 6408 #define IPC_INTEN_RECEIVE10_Msk (0x1UL << IPC_INTEN_RECEIVE10_Pos) /*!< Bit mask of RECEIVE10 field. */ 6409 #define IPC_INTEN_RECEIVE10_Disabled (0x0UL) /*!< Disable */ 6410 #define IPC_INTEN_RECEIVE10_Enabled (0x1UL) /*!< Enable */ 6411 6412 /* Bit 9 : Enable or disable interrupt for event RECEIVE[9] */ 6413 #define IPC_INTEN_RECEIVE9_Pos (9UL) /*!< Position of RECEIVE9 field. */ 6414 #define IPC_INTEN_RECEIVE9_Msk (0x1UL << IPC_INTEN_RECEIVE9_Pos) /*!< Bit mask of RECEIVE9 field. */ 6415 #define IPC_INTEN_RECEIVE9_Disabled (0x0UL) /*!< Disable */ 6416 #define IPC_INTEN_RECEIVE9_Enabled (0x1UL) /*!< Enable */ 6417 6418 /* Bit 8 : Enable or disable interrupt for event RECEIVE[8] */ 6419 #define IPC_INTEN_RECEIVE8_Pos (8UL) /*!< Position of RECEIVE8 field. */ 6420 #define IPC_INTEN_RECEIVE8_Msk (0x1UL << IPC_INTEN_RECEIVE8_Pos) /*!< Bit mask of RECEIVE8 field. */ 6421 #define IPC_INTEN_RECEIVE8_Disabled (0x0UL) /*!< Disable */ 6422 #define IPC_INTEN_RECEIVE8_Enabled (0x1UL) /*!< Enable */ 6423 6424 /* Bit 7 : Enable or disable interrupt for event RECEIVE[7] */ 6425 #define IPC_INTEN_RECEIVE7_Pos (7UL) /*!< Position of RECEIVE7 field. */ 6426 #define IPC_INTEN_RECEIVE7_Msk (0x1UL << IPC_INTEN_RECEIVE7_Pos) /*!< Bit mask of RECEIVE7 field. */ 6427 #define IPC_INTEN_RECEIVE7_Disabled (0x0UL) /*!< Disable */ 6428 #define IPC_INTEN_RECEIVE7_Enabled (0x1UL) /*!< Enable */ 6429 6430 /* Bit 6 : Enable or disable interrupt for event RECEIVE[6] */ 6431 #define IPC_INTEN_RECEIVE6_Pos (6UL) /*!< Position of RECEIVE6 field. */ 6432 #define IPC_INTEN_RECEIVE6_Msk (0x1UL << IPC_INTEN_RECEIVE6_Pos) /*!< Bit mask of RECEIVE6 field. */ 6433 #define IPC_INTEN_RECEIVE6_Disabled (0x0UL) /*!< Disable */ 6434 #define IPC_INTEN_RECEIVE6_Enabled (0x1UL) /*!< Enable */ 6435 6436 /* Bit 5 : Enable or disable interrupt for event RECEIVE[5] */ 6437 #define IPC_INTEN_RECEIVE5_Pos (5UL) /*!< Position of RECEIVE5 field. */ 6438 #define IPC_INTEN_RECEIVE5_Msk (0x1UL << IPC_INTEN_RECEIVE5_Pos) /*!< Bit mask of RECEIVE5 field. */ 6439 #define IPC_INTEN_RECEIVE5_Disabled (0x0UL) /*!< Disable */ 6440 #define IPC_INTEN_RECEIVE5_Enabled (0x1UL) /*!< Enable */ 6441 6442 /* Bit 4 : Enable or disable interrupt for event RECEIVE[4] */ 6443 #define IPC_INTEN_RECEIVE4_Pos (4UL) /*!< Position of RECEIVE4 field. */ 6444 #define IPC_INTEN_RECEIVE4_Msk (0x1UL << IPC_INTEN_RECEIVE4_Pos) /*!< Bit mask of RECEIVE4 field. */ 6445 #define IPC_INTEN_RECEIVE4_Disabled (0x0UL) /*!< Disable */ 6446 #define IPC_INTEN_RECEIVE4_Enabled (0x1UL) /*!< Enable */ 6447 6448 /* Bit 3 : Enable or disable interrupt for event RECEIVE[3] */ 6449 #define IPC_INTEN_RECEIVE3_Pos (3UL) /*!< Position of RECEIVE3 field. */ 6450 #define IPC_INTEN_RECEIVE3_Msk (0x1UL << IPC_INTEN_RECEIVE3_Pos) /*!< Bit mask of RECEIVE3 field. */ 6451 #define IPC_INTEN_RECEIVE3_Disabled (0x0UL) /*!< Disable */ 6452 #define IPC_INTEN_RECEIVE3_Enabled (0x1UL) /*!< Enable */ 6453 6454 /* Bit 2 : Enable or disable interrupt for event RECEIVE[2] */ 6455 #define IPC_INTEN_RECEIVE2_Pos (2UL) /*!< Position of RECEIVE2 field. */ 6456 #define IPC_INTEN_RECEIVE2_Msk (0x1UL << IPC_INTEN_RECEIVE2_Pos) /*!< Bit mask of RECEIVE2 field. */ 6457 #define IPC_INTEN_RECEIVE2_Disabled (0x0UL) /*!< Disable */ 6458 #define IPC_INTEN_RECEIVE2_Enabled (0x1UL) /*!< Enable */ 6459 6460 /* Bit 1 : Enable or disable interrupt for event RECEIVE[1] */ 6461 #define IPC_INTEN_RECEIVE1_Pos (1UL) /*!< Position of RECEIVE1 field. */ 6462 #define IPC_INTEN_RECEIVE1_Msk (0x1UL << IPC_INTEN_RECEIVE1_Pos) /*!< Bit mask of RECEIVE1 field. */ 6463 #define IPC_INTEN_RECEIVE1_Disabled (0x0UL) /*!< Disable */ 6464 #define IPC_INTEN_RECEIVE1_Enabled (0x1UL) /*!< Enable */ 6465 6466 /* Bit 0 : Enable or disable interrupt for event RECEIVE[0] */ 6467 #define IPC_INTEN_RECEIVE0_Pos (0UL) /*!< Position of RECEIVE0 field. */ 6468 #define IPC_INTEN_RECEIVE0_Msk (0x1UL << IPC_INTEN_RECEIVE0_Pos) /*!< Bit mask of RECEIVE0 field. */ 6469 #define IPC_INTEN_RECEIVE0_Disabled (0x0UL) /*!< Disable */ 6470 #define IPC_INTEN_RECEIVE0_Enabled (0x1UL) /*!< Enable */ 6471 6472 /* Register: IPC_INTENSET */ 6473 /* Description: Enable interrupt */ 6474 6475 /* Bit 15 : Write '1' to enable interrupt for event RECEIVE[15] */ 6476 #define IPC_INTENSET_RECEIVE15_Pos (15UL) /*!< Position of RECEIVE15 field. */ 6477 #define IPC_INTENSET_RECEIVE15_Msk (0x1UL << IPC_INTENSET_RECEIVE15_Pos) /*!< Bit mask of RECEIVE15 field. */ 6478 #define IPC_INTENSET_RECEIVE15_Disabled (0x0UL) /*!< Read: Disabled */ 6479 #define IPC_INTENSET_RECEIVE15_Enabled (0x1UL) /*!< Read: Enabled */ 6480 #define IPC_INTENSET_RECEIVE15_Set (0x1UL) /*!< Enable */ 6481 6482 /* Bit 14 : Write '1' to enable interrupt for event RECEIVE[14] */ 6483 #define IPC_INTENSET_RECEIVE14_Pos (14UL) /*!< Position of RECEIVE14 field. */ 6484 #define IPC_INTENSET_RECEIVE14_Msk (0x1UL << IPC_INTENSET_RECEIVE14_Pos) /*!< Bit mask of RECEIVE14 field. */ 6485 #define IPC_INTENSET_RECEIVE14_Disabled (0x0UL) /*!< Read: Disabled */ 6486 #define IPC_INTENSET_RECEIVE14_Enabled (0x1UL) /*!< Read: Enabled */ 6487 #define IPC_INTENSET_RECEIVE14_Set (0x1UL) /*!< Enable */ 6488 6489 /* Bit 13 : Write '1' to enable interrupt for event RECEIVE[13] */ 6490 #define IPC_INTENSET_RECEIVE13_Pos (13UL) /*!< Position of RECEIVE13 field. */ 6491 #define IPC_INTENSET_RECEIVE13_Msk (0x1UL << IPC_INTENSET_RECEIVE13_Pos) /*!< Bit mask of RECEIVE13 field. */ 6492 #define IPC_INTENSET_RECEIVE13_Disabled (0x0UL) /*!< Read: Disabled */ 6493 #define IPC_INTENSET_RECEIVE13_Enabled (0x1UL) /*!< Read: Enabled */ 6494 #define IPC_INTENSET_RECEIVE13_Set (0x1UL) /*!< Enable */ 6495 6496 /* Bit 12 : Write '1' to enable interrupt for event RECEIVE[12] */ 6497 #define IPC_INTENSET_RECEIVE12_Pos (12UL) /*!< Position of RECEIVE12 field. */ 6498 #define IPC_INTENSET_RECEIVE12_Msk (0x1UL << IPC_INTENSET_RECEIVE12_Pos) /*!< Bit mask of RECEIVE12 field. */ 6499 #define IPC_INTENSET_RECEIVE12_Disabled (0x0UL) /*!< Read: Disabled */ 6500 #define IPC_INTENSET_RECEIVE12_Enabled (0x1UL) /*!< Read: Enabled */ 6501 #define IPC_INTENSET_RECEIVE12_Set (0x1UL) /*!< Enable */ 6502 6503 /* Bit 11 : Write '1' to enable interrupt for event RECEIVE[11] */ 6504 #define IPC_INTENSET_RECEIVE11_Pos (11UL) /*!< Position of RECEIVE11 field. */ 6505 #define IPC_INTENSET_RECEIVE11_Msk (0x1UL << IPC_INTENSET_RECEIVE11_Pos) /*!< Bit mask of RECEIVE11 field. */ 6506 #define IPC_INTENSET_RECEIVE11_Disabled (0x0UL) /*!< Read: Disabled */ 6507 #define IPC_INTENSET_RECEIVE11_Enabled (0x1UL) /*!< Read: Enabled */ 6508 #define IPC_INTENSET_RECEIVE11_Set (0x1UL) /*!< Enable */ 6509 6510 /* Bit 10 : Write '1' to enable interrupt for event RECEIVE[10] */ 6511 #define IPC_INTENSET_RECEIVE10_Pos (10UL) /*!< Position of RECEIVE10 field. */ 6512 #define IPC_INTENSET_RECEIVE10_Msk (0x1UL << IPC_INTENSET_RECEIVE10_Pos) /*!< Bit mask of RECEIVE10 field. */ 6513 #define IPC_INTENSET_RECEIVE10_Disabled (0x0UL) /*!< Read: Disabled */ 6514 #define IPC_INTENSET_RECEIVE10_Enabled (0x1UL) /*!< Read: Enabled */ 6515 #define IPC_INTENSET_RECEIVE10_Set (0x1UL) /*!< Enable */ 6516 6517 /* Bit 9 : Write '1' to enable interrupt for event RECEIVE[9] */ 6518 #define IPC_INTENSET_RECEIVE9_Pos (9UL) /*!< Position of RECEIVE9 field. */ 6519 #define IPC_INTENSET_RECEIVE9_Msk (0x1UL << IPC_INTENSET_RECEIVE9_Pos) /*!< Bit mask of RECEIVE9 field. */ 6520 #define IPC_INTENSET_RECEIVE9_Disabled (0x0UL) /*!< Read: Disabled */ 6521 #define IPC_INTENSET_RECEIVE9_Enabled (0x1UL) /*!< Read: Enabled */ 6522 #define IPC_INTENSET_RECEIVE9_Set (0x1UL) /*!< Enable */ 6523 6524 /* Bit 8 : Write '1' to enable interrupt for event RECEIVE[8] */ 6525 #define IPC_INTENSET_RECEIVE8_Pos (8UL) /*!< Position of RECEIVE8 field. */ 6526 #define IPC_INTENSET_RECEIVE8_Msk (0x1UL << IPC_INTENSET_RECEIVE8_Pos) /*!< Bit mask of RECEIVE8 field. */ 6527 #define IPC_INTENSET_RECEIVE8_Disabled (0x0UL) /*!< Read: Disabled */ 6528 #define IPC_INTENSET_RECEIVE8_Enabled (0x1UL) /*!< Read: Enabled */ 6529 #define IPC_INTENSET_RECEIVE8_Set (0x1UL) /*!< Enable */ 6530 6531 /* Bit 7 : Write '1' to enable interrupt for event RECEIVE[7] */ 6532 #define IPC_INTENSET_RECEIVE7_Pos (7UL) /*!< Position of RECEIVE7 field. */ 6533 #define IPC_INTENSET_RECEIVE7_Msk (0x1UL << IPC_INTENSET_RECEIVE7_Pos) /*!< Bit mask of RECEIVE7 field. */ 6534 #define IPC_INTENSET_RECEIVE7_Disabled (0x0UL) /*!< Read: Disabled */ 6535 #define IPC_INTENSET_RECEIVE7_Enabled (0x1UL) /*!< Read: Enabled */ 6536 #define IPC_INTENSET_RECEIVE7_Set (0x1UL) /*!< Enable */ 6537 6538 /* Bit 6 : Write '1' to enable interrupt for event RECEIVE[6] */ 6539 #define IPC_INTENSET_RECEIVE6_Pos (6UL) /*!< Position of RECEIVE6 field. */ 6540 #define IPC_INTENSET_RECEIVE6_Msk (0x1UL << IPC_INTENSET_RECEIVE6_Pos) /*!< Bit mask of RECEIVE6 field. */ 6541 #define IPC_INTENSET_RECEIVE6_Disabled (0x0UL) /*!< Read: Disabled */ 6542 #define IPC_INTENSET_RECEIVE6_Enabled (0x1UL) /*!< Read: Enabled */ 6543 #define IPC_INTENSET_RECEIVE6_Set (0x1UL) /*!< Enable */ 6544 6545 /* Bit 5 : Write '1' to enable interrupt for event RECEIVE[5] */ 6546 #define IPC_INTENSET_RECEIVE5_Pos (5UL) /*!< Position of RECEIVE5 field. */ 6547 #define IPC_INTENSET_RECEIVE5_Msk (0x1UL << IPC_INTENSET_RECEIVE5_Pos) /*!< Bit mask of RECEIVE5 field. */ 6548 #define IPC_INTENSET_RECEIVE5_Disabled (0x0UL) /*!< Read: Disabled */ 6549 #define IPC_INTENSET_RECEIVE5_Enabled (0x1UL) /*!< Read: Enabled */ 6550 #define IPC_INTENSET_RECEIVE5_Set (0x1UL) /*!< Enable */ 6551 6552 /* Bit 4 : Write '1' to enable interrupt for event RECEIVE[4] */ 6553 #define IPC_INTENSET_RECEIVE4_Pos (4UL) /*!< Position of RECEIVE4 field. */ 6554 #define IPC_INTENSET_RECEIVE4_Msk (0x1UL << IPC_INTENSET_RECEIVE4_Pos) /*!< Bit mask of RECEIVE4 field. */ 6555 #define IPC_INTENSET_RECEIVE4_Disabled (0x0UL) /*!< Read: Disabled */ 6556 #define IPC_INTENSET_RECEIVE4_Enabled (0x1UL) /*!< Read: Enabled */ 6557 #define IPC_INTENSET_RECEIVE4_Set (0x1UL) /*!< Enable */ 6558 6559 /* Bit 3 : Write '1' to enable interrupt for event RECEIVE[3] */ 6560 #define IPC_INTENSET_RECEIVE3_Pos (3UL) /*!< Position of RECEIVE3 field. */ 6561 #define IPC_INTENSET_RECEIVE3_Msk (0x1UL << IPC_INTENSET_RECEIVE3_Pos) /*!< Bit mask of RECEIVE3 field. */ 6562 #define IPC_INTENSET_RECEIVE3_Disabled (0x0UL) /*!< Read: Disabled */ 6563 #define IPC_INTENSET_RECEIVE3_Enabled (0x1UL) /*!< Read: Enabled */ 6564 #define IPC_INTENSET_RECEIVE3_Set (0x1UL) /*!< Enable */ 6565 6566 /* Bit 2 : Write '1' to enable interrupt for event RECEIVE[2] */ 6567 #define IPC_INTENSET_RECEIVE2_Pos (2UL) /*!< Position of RECEIVE2 field. */ 6568 #define IPC_INTENSET_RECEIVE2_Msk (0x1UL << IPC_INTENSET_RECEIVE2_Pos) /*!< Bit mask of RECEIVE2 field. */ 6569 #define IPC_INTENSET_RECEIVE2_Disabled (0x0UL) /*!< Read: Disabled */ 6570 #define IPC_INTENSET_RECEIVE2_Enabled (0x1UL) /*!< Read: Enabled */ 6571 #define IPC_INTENSET_RECEIVE2_Set (0x1UL) /*!< Enable */ 6572 6573 /* Bit 1 : Write '1' to enable interrupt for event RECEIVE[1] */ 6574 #define IPC_INTENSET_RECEIVE1_Pos (1UL) /*!< Position of RECEIVE1 field. */ 6575 #define IPC_INTENSET_RECEIVE1_Msk (0x1UL << IPC_INTENSET_RECEIVE1_Pos) /*!< Bit mask of RECEIVE1 field. */ 6576 #define IPC_INTENSET_RECEIVE1_Disabled (0x0UL) /*!< Read: Disabled */ 6577 #define IPC_INTENSET_RECEIVE1_Enabled (0x1UL) /*!< Read: Enabled */ 6578 #define IPC_INTENSET_RECEIVE1_Set (0x1UL) /*!< Enable */ 6579 6580 /* Bit 0 : Write '1' to enable interrupt for event RECEIVE[0] */ 6581 #define IPC_INTENSET_RECEIVE0_Pos (0UL) /*!< Position of RECEIVE0 field. */ 6582 #define IPC_INTENSET_RECEIVE0_Msk (0x1UL << IPC_INTENSET_RECEIVE0_Pos) /*!< Bit mask of RECEIVE0 field. */ 6583 #define IPC_INTENSET_RECEIVE0_Disabled (0x0UL) /*!< Read: Disabled */ 6584 #define IPC_INTENSET_RECEIVE0_Enabled (0x1UL) /*!< Read: Enabled */ 6585 #define IPC_INTENSET_RECEIVE0_Set (0x1UL) /*!< Enable */ 6586 6587 /* Register: IPC_INTENCLR */ 6588 /* Description: Disable interrupt */ 6589 6590 /* Bit 15 : Write '1' to disable interrupt for event RECEIVE[15] */ 6591 #define IPC_INTENCLR_RECEIVE15_Pos (15UL) /*!< Position of RECEIVE15 field. */ 6592 #define IPC_INTENCLR_RECEIVE15_Msk (0x1UL << IPC_INTENCLR_RECEIVE15_Pos) /*!< Bit mask of RECEIVE15 field. */ 6593 #define IPC_INTENCLR_RECEIVE15_Disabled (0x0UL) /*!< Read: Disabled */ 6594 #define IPC_INTENCLR_RECEIVE15_Enabled (0x1UL) /*!< Read: Enabled */ 6595 #define IPC_INTENCLR_RECEIVE15_Clear (0x1UL) /*!< Disable */ 6596 6597 /* Bit 14 : Write '1' to disable interrupt for event RECEIVE[14] */ 6598 #define IPC_INTENCLR_RECEIVE14_Pos (14UL) /*!< Position of RECEIVE14 field. */ 6599 #define IPC_INTENCLR_RECEIVE14_Msk (0x1UL << IPC_INTENCLR_RECEIVE14_Pos) /*!< Bit mask of RECEIVE14 field. */ 6600 #define IPC_INTENCLR_RECEIVE14_Disabled (0x0UL) /*!< Read: Disabled */ 6601 #define IPC_INTENCLR_RECEIVE14_Enabled (0x1UL) /*!< Read: Enabled */ 6602 #define IPC_INTENCLR_RECEIVE14_Clear (0x1UL) /*!< Disable */ 6603 6604 /* Bit 13 : Write '1' to disable interrupt for event RECEIVE[13] */ 6605 #define IPC_INTENCLR_RECEIVE13_Pos (13UL) /*!< Position of RECEIVE13 field. */ 6606 #define IPC_INTENCLR_RECEIVE13_Msk (0x1UL << IPC_INTENCLR_RECEIVE13_Pos) /*!< Bit mask of RECEIVE13 field. */ 6607 #define IPC_INTENCLR_RECEIVE13_Disabled (0x0UL) /*!< Read: Disabled */ 6608 #define IPC_INTENCLR_RECEIVE13_Enabled (0x1UL) /*!< Read: Enabled */ 6609 #define IPC_INTENCLR_RECEIVE13_Clear (0x1UL) /*!< Disable */ 6610 6611 /* Bit 12 : Write '1' to disable interrupt for event RECEIVE[12] */ 6612 #define IPC_INTENCLR_RECEIVE12_Pos (12UL) /*!< Position of RECEIVE12 field. */ 6613 #define IPC_INTENCLR_RECEIVE12_Msk (0x1UL << IPC_INTENCLR_RECEIVE12_Pos) /*!< Bit mask of RECEIVE12 field. */ 6614 #define IPC_INTENCLR_RECEIVE12_Disabled (0x0UL) /*!< Read: Disabled */ 6615 #define IPC_INTENCLR_RECEIVE12_Enabled (0x1UL) /*!< Read: Enabled */ 6616 #define IPC_INTENCLR_RECEIVE12_Clear (0x1UL) /*!< Disable */ 6617 6618 /* Bit 11 : Write '1' to disable interrupt for event RECEIVE[11] */ 6619 #define IPC_INTENCLR_RECEIVE11_Pos (11UL) /*!< Position of RECEIVE11 field. */ 6620 #define IPC_INTENCLR_RECEIVE11_Msk (0x1UL << IPC_INTENCLR_RECEIVE11_Pos) /*!< Bit mask of RECEIVE11 field. */ 6621 #define IPC_INTENCLR_RECEIVE11_Disabled (0x0UL) /*!< Read: Disabled */ 6622 #define IPC_INTENCLR_RECEIVE11_Enabled (0x1UL) /*!< Read: Enabled */ 6623 #define IPC_INTENCLR_RECEIVE11_Clear (0x1UL) /*!< Disable */ 6624 6625 /* Bit 10 : Write '1' to disable interrupt for event RECEIVE[10] */ 6626 #define IPC_INTENCLR_RECEIVE10_Pos (10UL) /*!< Position of RECEIVE10 field. */ 6627 #define IPC_INTENCLR_RECEIVE10_Msk (0x1UL << IPC_INTENCLR_RECEIVE10_Pos) /*!< Bit mask of RECEIVE10 field. */ 6628 #define IPC_INTENCLR_RECEIVE10_Disabled (0x0UL) /*!< Read: Disabled */ 6629 #define IPC_INTENCLR_RECEIVE10_Enabled (0x1UL) /*!< Read: Enabled */ 6630 #define IPC_INTENCLR_RECEIVE10_Clear (0x1UL) /*!< Disable */ 6631 6632 /* Bit 9 : Write '1' to disable interrupt for event RECEIVE[9] */ 6633 #define IPC_INTENCLR_RECEIVE9_Pos (9UL) /*!< Position of RECEIVE9 field. */ 6634 #define IPC_INTENCLR_RECEIVE9_Msk (0x1UL << IPC_INTENCLR_RECEIVE9_Pos) /*!< Bit mask of RECEIVE9 field. */ 6635 #define IPC_INTENCLR_RECEIVE9_Disabled (0x0UL) /*!< Read: Disabled */ 6636 #define IPC_INTENCLR_RECEIVE9_Enabled (0x1UL) /*!< Read: Enabled */ 6637 #define IPC_INTENCLR_RECEIVE9_Clear (0x1UL) /*!< Disable */ 6638 6639 /* Bit 8 : Write '1' to disable interrupt for event RECEIVE[8] */ 6640 #define IPC_INTENCLR_RECEIVE8_Pos (8UL) /*!< Position of RECEIVE8 field. */ 6641 #define IPC_INTENCLR_RECEIVE8_Msk (0x1UL << IPC_INTENCLR_RECEIVE8_Pos) /*!< Bit mask of RECEIVE8 field. */ 6642 #define IPC_INTENCLR_RECEIVE8_Disabled (0x0UL) /*!< Read: Disabled */ 6643 #define IPC_INTENCLR_RECEIVE8_Enabled (0x1UL) /*!< Read: Enabled */ 6644 #define IPC_INTENCLR_RECEIVE8_Clear (0x1UL) /*!< Disable */ 6645 6646 /* Bit 7 : Write '1' to disable interrupt for event RECEIVE[7] */ 6647 #define IPC_INTENCLR_RECEIVE7_Pos (7UL) /*!< Position of RECEIVE7 field. */ 6648 #define IPC_INTENCLR_RECEIVE7_Msk (0x1UL << IPC_INTENCLR_RECEIVE7_Pos) /*!< Bit mask of RECEIVE7 field. */ 6649 #define IPC_INTENCLR_RECEIVE7_Disabled (0x0UL) /*!< Read: Disabled */ 6650 #define IPC_INTENCLR_RECEIVE7_Enabled (0x1UL) /*!< Read: Enabled */ 6651 #define IPC_INTENCLR_RECEIVE7_Clear (0x1UL) /*!< Disable */ 6652 6653 /* Bit 6 : Write '1' to disable interrupt for event RECEIVE[6] */ 6654 #define IPC_INTENCLR_RECEIVE6_Pos (6UL) /*!< Position of RECEIVE6 field. */ 6655 #define IPC_INTENCLR_RECEIVE6_Msk (0x1UL << IPC_INTENCLR_RECEIVE6_Pos) /*!< Bit mask of RECEIVE6 field. */ 6656 #define IPC_INTENCLR_RECEIVE6_Disabled (0x0UL) /*!< Read: Disabled */ 6657 #define IPC_INTENCLR_RECEIVE6_Enabled (0x1UL) /*!< Read: Enabled */ 6658 #define IPC_INTENCLR_RECEIVE6_Clear (0x1UL) /*!< Disable */ 6659 6660 /* Bit 5 : Write '1' to disable interrupt for event RECEIVE[5] */ 6661 #define IPC_INTENCLR_RECEIVE5_Pos (5UL) /*!< Position of RECEIVE5 field. */ 6662 #define IPC_INTENCLR_RECEIVE5_Msk (0x1UL << IPC_INTENCLR_RECEIVE5_Pos) /*!< Bit mask of RECEIVE5 field. */ 6663 #define IPC_INTENCLR_RECEIVE5_Disabled (0x0UL) /*!< Read: Disabled */ 6664 #define IPC_INTENCLR_RECEIVE5_Enabled (0x1UL) /*!< Read: Enabled */ 6665 #define IPC_INTENCLR_RECEIVE5_Clear (0x1UL) /*!< Disable */ 6666 6667 /* Bit 4 : Write '1' to disable interrupt for event RECEIVE[4] */ 6668 #define IPC_INTENCLR_RECEIVE4_Pos (4UL) /*!< Position of RECEIVE4 field. */ 6669 #define IPC_INTENCLR_RECEIVE4_Msk (0x1UL << IPC_INTENCLR_RECEIVE4_Pos) /*!< Bit mask of RECEIVE4 field. */ 6670 #define IPC_INTENCLR_RECEIVE4_Disabled (0x0UL) /*!< Read: Disabled */ 6671 #define IPC_INTENCLR_RECEIVE4_Enabled (0x1UL) /*!< Read: Enabled */ 6672 #define IPC_INTENCLR_RECEIVE4_Clear (0x1UL) /*!< Disable */ 6673 6674 /* Bit 3 : Write '1' to disable interrupt for event RECEIVE[3] */ 6675 #define IPC_INTENCLR_RECEIVE3_Pos (3UL) /*!< Position of RECEIVE3 field. */ 6676 #define IPC_INTENCLR_RECEIVE3_Msk (0x1UL << IPC_INTENCLR_RECEIVE3_Pos) /*!< Bit mask of RECEIVE3 field. */ 6677 #define IPC_INTENCLR_RECEIVE3_Disabled (0x0UL) /*!< Read: Disabled */ 6678 #define IPC_INTENCLR_RECEIVE3_Enabled (0x1UL) /*!< Read: Enabled */ 6679 #define IPC_INTENCLR_RECEIVE3_Clear (0x1UL) /*!< Disable */ 6680 6681 /* Bit 2 : Write '1' to disable interrupt for event RECEIVE[2] */ 6682 #define IPC_INTENCLR_RECEIVE2_Pos (2UL) /*!< Position of RECEIVE2 field. */ 6683 #define IPC_INTENCLR_RECEIVE2_Msk (0x1UL << IPC_INTENCLR_RECEIVE2_Pos) /*!< Bit mask of RECEIVE2 field. */ 6684 #define IPC_INTENCLR_RECEIVE2_Disabled (0x0UL) /*!< Read: Disabled */ 6685 #define IPC_INTENCLR_RECEIVE2_Enabled (0x1UL) /*!< Read: Enabled */ 6686 #define IPC_INTENCLR_RECEIVE2_Clear (0x1UL) /*!< Disable */ 6687 6688 /* Bit 1 : Write '1' to disable interrupt for event RECEIVE[1] */ 6689 #define IPC_INTENCLR_RECEIVE1_Pos (1UL) /*!< Position of RECEIVE1 field. */ 6690 #define IPC_INTENCLR_RECEIVE1_Msk (0x1UL << IPC_INTENCLR_RECEIVE1_Pos) /*!< Bit mask of RECEIVE1 field. */ 6691 #define IPC_INTENCLR_RECEIVE1_Disabled (0x0UL) /*!< Read: Disabled */ 6692 #define IPC_INTENCLR_RECEIVE1_Enabled (0x1UL) /*!< Read: Enabled */ 6693 #define IPC_INTENCLR_RECEIVE1_Clear (0x1UL) /*!< Disable */ 6694 6695 /* Bit 0 : Write '1' to disable interrupt for event RECEIVE[0] */ 6696 #define IPC_INTENCLR_RECEIVE0_Pos (0UL) /*!< Position of RECEIVE0 field. */ 6697 #define IPC_INTENCLR_RECEIVE0_Msk (0x1UL << IPC_INTENCLR_RECEIVE0_Pos) /*!< Bit mask of RECEIVE0 field. */ 6698 #define IPC_INTENCLR_RECEIVE0_Disabled (0x0UL) /*!< Read: Disabled */ 6699 #define IPC_INTENCLR_RECEIVE0_Enabled (0x1UL) /*!< Read: Enabled */ 6700 #define IPC_INTENCLR_RECEIVE0_Clear (0x1UL) /*!< Disable */ 6701 6702 /* Register: IPC_INTPEND */ 6703 /* Description: Pending interrupts */ 6704 6705 /* Bit 15 : Read pending status of interrupt for event RECEIVE[15] */ 6706 #define IPC_INTPEND_RECEIVE15_Pos (15UL) /*!< Position of RECEIVE15 field. */ 6707 #define IPC_INTPEND_RECEIVE15_Msk (0x1UL << IPC_INTPEND_RECEIVE15_Pos) /*!< Bit mask of RECEIVE15 field. */ 6708 #define IPC_INTPEND_RECEIVE15_NotPending (0x0UL) /*!< Read: Not pending */ 6709 #define IPC_INTPEND_RECEIVE15_Pending (0x1UL) /*!< Read: Pending */ 6710 6711 /* Bit 14 : Read pending status of interrupt for event RECEIVE[14] */ 6712 #define IPC_INTPEND_RECEIVE14_Pos (14UL) /*!< Position of RECEIVE14 field. */ 6713 #define IPC_INTPEND_RECEIVE14_Msk (0x1UL << IPC_INTPEND_RECEIVE14_Pos) /*!< Bit mask of RECEIVE14 field. */ 6714 #define IPC_INTPEND_RECEIVE14_NotPending (0x0UL) /*!< Read: Not pending */ 6715 #define IPC_INTPEND_RECEIVE14_Pending (0x1UL) /*!< Read: Pending */ 6716 6717 /* Bit 13 : Read pending status of interrupt for event RECEIVE[13] */ 6718 #define IPC_INTPEND_RECEIVE13_Pos (13UL) /*!< Position of RECEIVE13 field. */ 6719 #define IPC_INTPEND_RECEIVE13_Msk (0x1UL << IPC_INTPEND_RECEIVE13_Pos) /*!< Bit mask of RECEIVE13 field. */ 6720 #define IPC_INTPEND_RECEIVE13_NotPending (0x0UL) /*!< Read: Not pending */ 6721 #define IPC_INTPEND_RECEIVE13_Pending (0x1UL) /*!< Read: Pending */ 6722 6723 /* Bit 12 : Read pending status of interrupt for event RECEIVE[12] */ 6724 #define IPC_INTPEND_RECEIVE12_Pos (12UL) /*!< Position of RECEIVE12 field. */ 6725 #define IPC_INTPEND_RECEIVE12_Msk (0x1UL << IPC_INTPEND_RECEIVE12_Pos) /*!< Bit mask of RECEIVE12 field. */ 6726 #define IPC_INTPEND_RECEIVE12_NotPending (0x0UL) /*!< Read: Not pending */ 6727 #define IPC_INTPEND_RECEIVE12_Pending (0x1UL) /*!< Read: Pending */ 6728 6729 /* Bit 11 : Read pending status of interrupt for event RECEIVE[11] */ 6730 #define IPC_INTPEND_RECEIVE11_Pos (11UL) /*!< Position of RECEIVE11 field. */ 6731 #define IPC_INTPEND_RECEIVE11_Msk (0x1UL << IPC_INTPEND_RECEIVE11_Pos) /*!< Bit mask of RECEIVE11 field. */ 6732 #define IPC_INTPEND_RECEIVE11_NotPending (0x0UL) /*!< Read: Not pending */ 6733 #define IPC_INTPEND_RECEIVE11_Pending (0x1UL) /*!< Read: Pending */ 6734 6735 /* Bit 10 : Read pending status of interrupt for event RECEIVE[10] */ 6736 #define IPC_INTPEND_RECEIVE10_Pos (10UL) /*!< Position of RECEIVE10 field. */ 6737 #define IPC_INTPEND_RECEIVE10_Msk (0x1UL << IPC_INTPEND_RECEIVE10_Pos) /*!< Bit mask of RECEIVE10 field. */ 6738 #define IPC_INTPEND_RECEIVE10_NotPending (0x0UL) /*!< Read: Not pending */ 6739 #define IPC_INTPEND_RECEIVE10_Pending (0x1UL) /*!< Read: Pending */ 6740 6741 /* Bit 9 : Read pending status of interrupt for event RECEIVE[9] */ 6742 #define IPC_INTPEND_RECEIVE9_Pos (9UL) /*!< Position of RECEIVE9 field. */ 6743 #define IPC_INTPEND_RECEIVE9_Msk (0x1UL << IPC_INTPEND_RECEIVE9_Pos) /*!< Bit mask of RECEIVE9 field. */ 6744 #define IPC_INTPEND_RECEIVE9_NotPending (0x0UL) /*!< Read: Not pending */ 6745 #define IPC_INTPEND_RECEIVE9_Pending (0x1UL) /*!< Read: Pending */ 6746 6747 /* Bit 8 : Read pending status of interrupt for event RECEIVE[8] */ 6748 #define IPC_INTPEND_RECEIVE8_Pos (8UL) /*!< Position of RECEIVE8 field. */ 6749 #define IPC_INTPEND_RECEIVE8_Msk (0x1UL << IPC_INTPEND_RECEIVE8_Pos) /*!< Bit mask of RECEIVE8 field. */ 6750 #define IPC_INTPEND_RECEIVE8_NotPending (0x0UL) /*!< Read: Not pending */ 6751 #define IPC_INTPEND_RECEIVE8_Pending (0x1UL) /*!< Read: Pending */ 6752 6753 /* Bit 7 : Read pending status of interrupt for event RECEIVE[7] */ 6754 #define IPC_INTPEND_RECEIVE7_Pos (7UL) /*!< Position of RECEIVE7 field. */ 6755 #define IPC_INTPEND_RECEIVE7_Msk (0x1UL << IPC_INTPEND_RECEIVE7_Pos) /*!< Bit mask of RECEIVE7 field. */ 6756 #define IPC_INTPEND_RECEIVE7_NotPending (0x0UL) /*!< Read: Not pending */ 6757 #define IPC_INTPEND_RECEIVE7_Pending (0x1UL) /*!< Read: Pending */ 6758 6759 /* Bit 6 : Read pending status of interrupt for event RECEIVE[6] */ 6760 #define IPC_INTPEND_RECEIVE6_Pos (6UL) /*!< Position of RECEIVE6 field. */ 6761 #define IPC_INTPEND_RECEIVE6_Msk (0x1UL << IPC_INTPEND_RECEIVE6_Pos) /*!< Bit mask of RECEIVE6 field. */ 6762 #define IPC_INTPEND_RECEIVE6_NotPending (0x0UL) /*!< Read: Not pending */ 6763 #define IPC_INTPEND_RECEIVE6_Pending (0x1UL) /*!< Read: Pending */ 6764 6765 /* Bit 5 : Read pending status of interrupt for event RECEIVE[5] */ 6766 #define IPC_INTPEND_RECEIVE5_Pos (5UL) /*!< Position of RECEIVE5 field. */ 6767 #define IPC_INTPEND_RECEIVE5_Msk (0x1UL << IPC_INTPEND_RECEIVE5_Pos) /*!< Bit mask of RECEIVE5 field. */ 6768 #define IPC_INTPEND_RECEIVE5_NotPending (0x0UL) /*!< Read: Not pending */ 6769 #define IPC_INTPEND_RECEIVE5_Pending (0x1UL) /*!< Read: Pending */ 6770 6771 /* Bit 4 : Read pending status of interrupt for event RECEIVE[4] */ 6772 #define IPC_INTPEND_RECEIVE4_Pos (4UL) /*!< Position of RECEIVE4 field. */ 6773 #define IPC_INTPEND_RECEIVE4_Msk (0x1UL << IPC_INTPEND_RECEIVE4_Pos) /*!< Bit mask of RECEIVE4 field. */ 6774 #define IPC_INTPEND_RECEIVE4_NotPending (0x0UL) /*!< Read: Not pending */ 6775 #define IPC_INTPEND_RECEIVE4_Pending (0x1UL) /*!< Read: Pending */ 6776 6777 /* Bit 3 : Read pending status of interrupt for event RECEIVE[3] */ 6778 #define IPC_INTPEND_RECEIVE3_Pos (3UL) /*!< Position of RECEIVE3 field. */ 6779 #define IPC_INTPEND_RECEIVE3_Msk (0x1UL << IPC_INTPEND_RECEIVE3_Pos) /*!< Bit mask of RECEIVE3 field. */ 6780 #define IPC_INTPEND_RECEIVE3_NotPending (0x0UL) /*!< Read: Not pending */ 6781 #define IPC_INTPEND_RECEIVE3_Pending (0x1UL) /*!< Read: Pending */ 6782 6783 /* Bit 2 : Read pending status of interrupt for event RECEIVE[2] */ 6784 #define IPC_INTPEND_RECEIVE2_Pos (2UL) /*!< Position of RECEIVE2 field. */ 6785 #define IPC_INTPEND_RECEIVE2_Msk (0x1UL << IPC_INTPEND_RECEIVE2_Pos) /*!< Bit mask of RECEIVE2 field. */ 6786 #define IPC_INTPEND_RECEIVE2_NotPending (0x0UL) /*!< Read: Not pending */ 6787 #define IPC_INTPEND_RECEIVE2_Pending (0x1UL) /*!< Read: Pending */ 6788 6789 /* Bit 1 : Read pending status of interrupt for event RECEIVE[1] */ 6790 #define IPC_INTPEND_RECEIVE1_Pos (1UL) /*!< Position of RECEIVE1 field. */ 6791 #define IPC_INTPEND_RECEIVE1_Msk (0x1UL << IPC_INTPEND_RECEIVE1_Pos) /*!< Bit mask of RECEIVE1 field. */ 6792 #define IPC_INTPEND_RECEIVE1_NotPending (0x0UL) /*!< Read: Not pending */ 6793 #define IPC_INTPEND_RECEIVE1_Pending (0x1UL) /*!< Read: Pending */ 6794 6795 /* Bit 0 : Read pending status of interrupt for event RECEIVE[0] */ 6796 #define IPC_INTPEND_RECEIVE0_Pos (0UL) /*!< Position of RECEIVE0 field. */ 6797 #define IPC_INTPEND_RECEIVE0_Msk (0x1UL << IPC_INTPEND_RECEIVE0_Pos) /*!< Bit mask of RECEIVE0 field. */ 6798 #define IPC_INTPEND_RECEIVE0_NotPending (0x0UL) /*!< Read: Not pending */ 6799 #define IPC_INTPEND_RECEIVE0_Pending (0x1UL) /*!< Read: Pending */ 6800 6801 /* Register: IPC_SEND_CNF */ 6802 /* Description: Description collection: Send event configuration for TASKS_SEND[n] */ 6803 6804 /* Bit 15 : Enable broadcasting on IPC channel 15 */ 6805 #define IPC_SEND_CNF_CHEN15_Pos (15UL) /*!< Position of CHEN15 field. */ 6806 #define IPC_SEND_CNF_CHEN15_Msk (0x1UL << IPC_SEND_CNF_CHEN15_Pos) /*!< Bit mask of CHEN15 field. */ 6807 #define IPC_SEND_CNF_CHEN15_Disable (0x0UL) /*!< Disable broadcast */ 6808 #define IPC_SEND_CNF_CHEN15_Enable (0x1UL) /*!< Enable broadcast */ 6809 6810 /* Bit 14 : Enable broadcasting on IPC channel 14 */ 6811 #define IPC_SEND_CNF_CHEN14_Pos (14UL) /*!< Position of CHEN14 field. */ 6812 #define IPC_SEND_CNF_CHEN14_Msk (0x1UL << IPC_SEND_CNF_CHEN14_Pos) /*!< Bit mask of CHEN14 field. */ 6813 #define IPC_SEND_CNF_CHEN14_Disable (0x0UL) /*!< Disable broadcast */ 6814 #define IPC_SEND_CNF_CHEN14_Enable (0x1UL) /*!< Enable broadcast */ 6815 6816 /* Bit 13 : Enable broadcasting on IPC channel 13 */ 6817 #define IPC_SEND_CNF_CHEN13_Pos (13UL) /*!< Position of CHEN13 field. */ 6818 #define IPC_SEND_CNF_CHEN13_Msk (0x1UL << IPC_SEND_CNF_CHEN13_Pos) /*!< Bit mask of CHEN13 field. */ 6819 #define IPC_SEND_CNF_CHEN13_Disable (0x0UL) /*!< Disable broadcast */ 6820 #define IPC_SEND_CNF_CHEN13_Enable (0x1UL) /*!< Enable broadcast */ 6821 6822 /* Bit 12 : Enable broadcasting on IPC channel 12 */ 6823 #define IPC_SEND_CNF_CHEN12_Pos (12UL) /*!< Position of CHEN12 field. */ 6824 #define IPC_SEND_CNF_CHEN12_Msk (0x1UL << IPC_SEND_CNF_CHEN12_Pos) /*!< Bit mask of CHEN12 field. */ 6825 #define IPC_SEND_CNF_CHEN12_Disable (0x0UL) /*!< Disable broadcast */ 6826 #define IPC_SEND_CNF_CHEN12_Enable (0x1UL) /*!< Enable broadcast */ 6827 6828 /* Bit 11 : Enable broadcasting on IPC channel 11 */ 6829 #define IPC_SEND_CNF_CHEN11_Pos (11UL) /*!< Position of CHEN11 field. */ 6830 #define IPC_SEND_CNF_CHEN11_Msk (0x1UL << IPC_SEND_CNF_CHEN11_Pos) /*!< Bit mask of CHEN11 field. */ 6831 #define IPC_SEND_CNF_CHEN11_Disable (0x0UL) /*!< Disable broadcast */ 6832 #define IPC_SEND_CNF_CHEN11_Enable (0x1UL) /*!< Enable broadcast */ 6833 6834 /* Bit 10 : Enable broadcasting on IPC channel 10 */ 6835 #define IPC_SEND_CNF_CHEN10_Pos (10UL) /*!< Position of CHEN10 field. */ 6836 #define IPC_SEND_CNF_CHEN10_Msk (0x1UL << IPC_SEND_CNF_CHEN10_Pos) /*!< Bit mask of CHEN10 field. */ 6837 #define IPC_SEND_CNF_CHEN10_Disable (0x0UL) /*!< Disable broadcast */ 6838 #define IPC_SEND_CNF_CHEN10_Enable (0x1UL) /*!< Enable broadcast */ 6839 6840 /* Bit 9 : Enable broadcasting on IPC channel 9 */ 6841 #define IPC_SEND_CNF_CHEN9_Pos (9UL) /*!< Position of CHEN9 field. */ 6842 #define IPC_SEND_CNF_CHEN9_Msk (0x1UL << IPC_SEND_CNF_CHEN9_Pos) /*!< Bit mask of CHEN9 field. */ 6843 #define IPC_SEND_CNF_CHEN9_Disable (0x0UL) /*!< Disable broadcast */ 6844 #define IPC_SEND_CNF_CHEN9_Enable (0x1UL) /*!< Enable broadcast */ 6845 6846 /* Bit 8 : Enable broadcasting on IPC channel 8 */ 6847 #define IPC_SEND_CNF_CHEN8_Pos (8UL) /*!< Position of CHEN8 field. */ 6848 #define IPC_SEND_CNF_CHEN8_Msk (0x1UL << IPC_SEND_CNF_CHEN8_Pos) /*!< Bit mask of CHEN8 field. */ 6849 #define IPC_SEND_CNF_CHEN8_Disable (0x0UL) /*!< Disable broadcast */ 6850 #define IPC_SEND_CNF_CHEN8_Enable (0x1UL) /*!< Enable broadcast */ 6851 6852 /* Bit 7 : Enable broadcasting on IPC channel 7 */ 6853 #define IPC_SEND_CNF_CHEN7_Pos (7UL) /*!< Position of CHEN7 field. */ 6854 #define IPC_SEND_CNF_CHEN7_Msk (0x1UL << IPC_SEND_CNF_CHEN7_Pos) /*!< Bit mask of CHEN7 field. */ 6855 #define IPC_SEND_CNF_CHEN7_Disable (0x0UL) /*!< Disable broadcast */ 6856 #define IPC_SEND_CNF_CHEN7_Enable (0x1UL) /*!< Enable broadcast */ 6857 6858 /* Bit 6 : Enable broadcasting on IPC channel 6 */ 6859 #define IPC_SEND_CNF_CHEN6_Pos (6UL) /*!< Position of CHEN6 field. */ 6860 #define IPC_SEND_CNF_CHEN6_Msk (0x1UL << IPC_SEND_CNF_CHEN6_Pos) /*!< Bit mask of CHEN6 field. */ 6861 #define IPC_SEND_CNF_CHEN6_Disable (0x0UL) /*!< Disable broadcast */ 6862 #define IPC_SEND_CNF_CHEN6_Enable (0x1UL) /*!< Enable broadcast */ 6863 6864 /* Bit 5 : Enable broadcasting on IPC channel 5 */ 6865 #define IPC_SEND_CNF_CHEN5_Pos (5UL) /*!< Position of CHEN5 field. */ 6866 #define IPC_SEND_CNF_CHEN5_Msk (0x1UL << IPC_SEND_CNF_CHEN5_Pos) /*!< Bit mask of CHEN5 field. */ 6867 #define IPC_SEND_CNF_CHEN5_Disable (0x0UL) /*!< Disable broadcast */ 6868 #define IPC_SEND_CNF_CHEN5_Enable (0x1UL) /*!< Enable broadcast */ 6869 6870 /* Bit 4 : Enable broadcasting on IPC channel 4 */ 6871 #define IPC_SEND_CNF_CHEN4_Pos (4UL) /*!< Position of CHEN4 field. */ 6872 #define IPC_SEND_CNF_CHEN4_Msk (0x1UL << IPC_SEND_CNF_CHEN4_Pos) /*!< Bit mask of CHEN4 field. */ 6873 #define IPC_SEND_CNF_CHEN4_Disable (0x0UL) /*!< Disable broadcast */ 6874 #define IPC_SEND_CNF_CHEN4_Enable (0x1UL) /*!< Enable broadcast */ 6875 6876 /* Bit 3 : Enable broadcasting on IPC channel 3 */ 6877 #define IPC_SEND_CNF_CHEN3_Pos (3UL) /*!< Position of CHEN3 field. */ 6878 #define IPC_SEND_CNF_CHEN3_Msk (0x1UL << IPC_SEND_CNF_CHEN3_Pos) /*!< Bit mask of CHEN3 field. */ 6879 #define IPC_SEND_CNF_CHEN3_Disable (0x0UL) /*!< Disable broadcast */ 6880 #define IPC_SEND_CNF_CHEN3_Enable (0x1UL) /*!< Enable broadcast */ 6881 6882 /* Bit 2 : Enable broadcasting on IPC channel 2 */ 6883 #define IPC_SEND_CNF_CHEN2_Pos (2UL) /*!< Position of CHEN2 field. */ 6884 #define IPC_SEND_CNF_CHEN2_Msk (0x1UL << IPC_SEND_CNF_CHEN2_Pos) /*!< Bit mask of CHEN2 field. */ 6885 #define IPC_SEND_CNF_CHEN2_Disable (0x0UL) /*!< Disable broadcast */ 6886 #define IPC_SEND_CNF_CHEN2_Enable (0x1UL) /*!< Enable broadcast */ 6887 6888 /* Bit 1 : Enable broadcasting on IPC channel 1 */ 6889 #define IPC_SEND_CNF_CHEN1_Pos (1UL) /*!< Position of CHEN1 field. */ 6890 #define IPC_SEND_CNF_CHEN1_Msk (0x1UL << IPC_SEND_CNF_CHEN1_Pos) /*!< Bit mask of CHEN1 field. */ 6891 #define IPC_SEND_CNF_CHEN1_Disable (0x0UL) /*!< Disable broadcast */ 6892 #define IPC_SEND_CNF_CHEN1_Enable (0x1UL) /*!< Enable broadcast */ 6893 6894 /* Bit 0 : Enable broadcasting on IPC channel 0 */ 6895 #define IPC_SEND_CNF_CHEN0_Pos (0UL) /*!< Position of CHEN0 field. */ 6896 #define IPC_SEND_CNF_CHEN0_Msk (0x1UL << IPC_SEND_CNF_CHEN0_Pos) /*!< Bit mask of CHEN0 field. */ 6897 #define IPC_SEND_CNF_CHEN0_Disable (0x0UL) /*!< Disable broadcast */ 6898 #define IPC_SEND_CNF_CHEN0_Enable (0x1UL) /*!< Enable broadcast */ 6899 6900 /* Register: IPC_RECEIVE_CNF */ 6901 /* Description: Description collection: Receive event configuration for EVENTS_RECEIVE[n] */ 6902 6903 /* Bit 15 : Enable subscription to IPC channel 15 */ 6904 #define IPC_RECEIVE_CNF_CHEN15_Pos (15UL) /*!< Position of CHEN15 field. */ 6905 #define IPC_RECEIVE_CNF_CHEN15_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN15_Pos) /*!< Bit mask of CHEN15 field. */ 6906 #define IPC_RECEIVE_CNF_CHEN15_Disable (0x0UL) /*!< Disable events */ 6907 #define IPC_RECEIVE_CNF_CHEN15_Enable (0x1UL) /*!< Enable events */ 6908 6909 /* Bit 14 : Enable subscription to IPC channel 14 */ 6910 #define IPC_RECEIVE_CNF_CHEN14_Pos (14UL) /*!< Position of CHEN14 field. */ 6911 #define IPC_RECEIVE_CNF_CHEN14_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN14_Pos) /*!< Bit mask of CHEN14 field. */ 6912 #define IPC_RECEIVE_CNF_CHEN14_Disable (0x0UL) /*!< Disable events */ 6913 #define IPC_RECEIVE_CNF_CHEN14_Enable (0x1UL) /*!< Enable events */ 6914 6915 /* Bit 13 : Enable subscription to IPC channel 13 */ 6916 #define IPC_RECEIVE_CNF_CHEN13_Pos (13UL) /*!< Position of CHEN13 field. */ 6917 #define IPC_RECEIVE_CNF_CHEN13_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN13_Pos) /*!< Bit mask of CHEN13 field. */ 6918 #define IPC_RECEIVE_CNF_CHEN13_Disable (0x0UL) /*!< Disable events */ 6919 #define IPC_RECEIVE_CNF_CHEN13_Enable (0x1UL) /*!< Enable events */ 6920 6921 /* Bit 12 : Enable subscription to IPC channel 12 */ 6922 #define IPC_RECEIVE_CNF_CHEN12_Pos (12UL) /*!< Position of CHEN12 field. */ 6923 #define IPC_RECEIVE_CNF_CHEN12_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN12_Pos) /*!< Bit mask of CHEN12 field. */ 6924 #define IPC_RECEIVE_CNF_CHEN12_Disable (0x0UL) /*!< Disable events */ 6925 #define IPC_RECEIVE_CNF_CHEN12_Enable (0x1UL) /*!< Enable events */ 6926 6927 /* Bit 11 : Enable subscription to IPC channel 11 */ 6928 #define IPC_RECEIVE_CNF_CHEN11_Pos (11UL) /*!< Position of CHEN11 field. */ 6929 #define IPC_RECEIVE_CNF_CHEN11_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN11_Pos) /*!< Bit mask of CHEN11 field. */ 6930 #define IPC_RECEIVE_CNF_CHEN11_Disable (0x0UL) /*!< Disable events */ 6931 #define IPC_RECEIVE_CNF_CHEN11_Enable (0x1UL) /*!< Enable events */ 6932 6933 /* Bit 10 : Enable subscription to IPC channel 10 */ 6934 #define IPC_RECEIVE_CNF_CHEN10_Pos (10UL) /*!< Position of CHEN10 field. */ 6935 #define IPC_RECEIVE_CNF_CHEN10_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN10_Pos) /*!< Bit mask of CHEN10 field. */ 6936 #define IPC_RECEIVE_CNF_CHEN10_Disable (0x0UL) /*!< Disable events */ 6937 #define IPC_RECEIVE_CNF_CHEN10_Enable (0x1UL) /*!< Enable events */ 6938 6939 /* Bit 9 : Enable subscription to IPC channel 9 */ 6940 #define IPC_RECEIVE_CNF_CHEN9_Pos (9UL) /*!< Position of CHEN9 field. */ 6941 #define IPC_RECEIVE_CNF_CHEN9_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN9_Pos) /*!< Bit mask of CHEN9 field. */ 6942 #define IPC_RECEIVE_CNF_CHEN9_Disable (0x0UL) /*!< Disable events */ 6943 #define IPC_RECEIVE_CNF_CHEN9_Enable (0x1UL) /*!< Enable events */ 6944 6945 /* Bit 8 : Enable subscription to IPC channel 8 */ 6946 #define IPC_RECEIVE_CNF_CHEN8_Pos (8UL) /*!< Position of CHEN8 field. */ 6947 #define IPC_RECEIVE_CNF_CHEN8_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN8_Pos) /*!< Bit mask of CHEN8 field. */ 6948 #define IPC_RECEIVE_CNF_CHEN8_Disable (0x0UL) /*!< Disable events */ 6949 #define IPC_RECEIVE_CNF_CHEN8_Enable (0x1UL) /*!< Enable events */ 6950 6951 /* Bit 7 : Enable subscription to IPC channel 7 */ 6952 #define IPC_RECEIVE_CNF_CHEN7_Pos (7UL) /*!< Position of CHEN7 field. */ 6953 #define IPC_RECEIVE_CNF_CHEN7_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN7_Pos) /*!< Bit mask of CHEN7 field. */ 6954 #define IPC_RECEIVE_CNF_CHEN7_Disable (0x0UL) /*!< Disable events */ 6955 #define IPC_RECEIVE_CNF_CHEN7_Enable (0x1UL) /*!< Enable events */ 6956 6957 /* Bit 6 : Enable subscription to IPC channel 6 */ 6958 #define IPC_RECEIVE_CNF_CHEN6_Pos (6UL) /*!< Position of CHEN6 field. */ 6959 #define IPC_RECEIVE_CNF_CHEN6_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN6_Pos) /*!< Bit mask of CHEN6 field. */ 6960 #define IPC_RECEIVE_CNF_CHEN6_Disable (0x0UL) /*!< Disable events */ 6961 #define IPC_RECEIVE_CNF_CHEN6_Enable (0x1UL) /*!< Enable events */ 6962 6963 /* Bit 5 : Enable subscription to IPC channel 5 */ 6964 #define IPC_RECEIVE_CNF_CHEN5_Pos (5UL) /*!< Position of CHEN5 field. */ 6965 #define IPC_RECEIVE_CNF_CHEN5_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN5_Pos) /*!< Bit mask of CHEN5 field. */ 6966 #define IPC_RECEIVE_CNF_CHEN5_Disable (0x0UL) /*!< Disable events */ 6967 #define IPC_RECEIVE_CNF_CHEN5_Enable (0x1UL) /*!< Enable events */ 6968 6969 /* Bit 4 : Enable subscription to IPC channel 4 */ 6970 #define IPC_RECEIVE_CNF_CHEN4_Pos (4UL) /*!< Position of CHEN4 field. */ 6971 #define IPC_RECEIVE_CNF_CHEN4_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN4_Pos) /*!< Bit mask of CHEN4 field. */ 6972 #define IPC_RECEIVE_CNF_CHEN4_Disable (0x0UL) /*!< Disable events */ 6973 #define IPC_RECEIVE_CNF_CHEN4_Enable (0x1UL) /*!< Enable events */ 6974 6975 /* Bit 3 : Enable subscription to IPC channel 3 */ 6976 #define IPC_RECEIVE_CNF_CHEN3_Pos (3UL) /*!< Position of CHEN3 field. */ 6977 #define IPC_RECEIVE_CNF_CHEN3_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN3_Pos) /*!< Bit mask of CHEN3 field. */ 6978 #define IPC_RECEIVE_CNF_CHEN3_Disable (0x0UL) /*!< Disable events */ 6979 #define IPC_RECEIVE_CNF_CHEN3_Enable (0x1UL) /*!< Enable events */ 6980 6981 /* Bit 2 : Enable subscription to IPC channel 2 */ 6982 #define IPC_RECEIVE_CNF_CHEN2_Pos (2UL) /*!< Position of CHEN2 field. */ 6983 #define IPC_RECEIVE_CNF_CHEN2_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN2_Pos) /*!< Bit mask of CHEN2 field. */ 6984 #define IPC_RECEIVE_CNF_CHEN2_Disable (0x0UL) /*!< Disable events */ 6985 #define IPC_RECEIVE_CNF_CHEN2_Enable (0x1UL) /*!< Enable events */ 6986 6987 /* Bit 1 : Enable subscription to IPC channel 1 */ 6988 #define IPC_RECEIVE_CNF_CHEN1_Pos (1UL) /*!< Position of CHEN1 field. */ 6989 #define IPC_RECEIVE_CNF_CHEN1_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN1_Pos) /*!< Bit mask of CHEN1 field. */ 6990 #define IPC_RECEIVE_CNF_CHEN1_Disable (0x0UL) /*!< Disable events */ 6991 #define IPC_RECEIVE_CNF_CHEN1_Enable (0x1UL) /*!< Enable events */ 6992 6993 /* Bit 0 : Enable subscription to IPC channel 0 */ 6994 #define IPC_RECEIVE_CNF_CHEN0_Pos (0UL) /*!< Position of CHEN0 field. */ 6995 #define IPC_RECEIVE_CNF_CHEN0_Msk (0x1UL << IPC_RECEIVE_CNF_CHEN0_Pos) /*!< Bit mask of CHEN0 field. */ 6996 #define IPC_RECEIVE_CNF_CHEN0_Disable (0x0UL) /*!< Disable events */ 6997 #define IPC_RECEIVE_CNF_CHEN0_Enable (0x1UL) /*!< Enable events */ 6998 6999 /* Register: IPC_GPMEM */ 7000 /* Description: Description collection: General purpose memory */ 7001 7002 /* Bits 31..0 : General purpose memory */ 7003 #define IPC_GPMEM_GPMEM_Pos (0UL) /*!< Position of GPMEM field. */ 7004 #define IPC_GPMEM_GPMEM_Msk (0xFFFFFFFFUL << IPC_GPMEM_GPMEM_Pos) /*!< Bit mask of GPMEM field. */ 7005 7006 7007 /* Peripheral: KMU */ 7008 /* Description: Key management unit 0 */ 7009 7010 /* Register: KMU_TASKS_PUSH_KEYSLOT */ 7011 /* Description: Push a key slot over secure APB */ 7012 7013 /* Bit 0 : Push a key slot over secure APB */ 7014 #define KMU_TASKS_PUSH_KEYSLOT_TASKS_PUSH_KEYSLOT_Pos (0UL) /*!< Position of TASKS_PUSH_KEYSLOT field. */ 7015 #define KMU_TASKS_PUSH_KEYSLOT_TASKS_PUSH_KEYSLOT_Msk (0x1UL << KMU_TASKS_PUSH_KEYSLOT_TASKS_PUSH_KEYSLOT_Pos) /*!< Bit mask of TASKS_PUSH_KEYSLOT field. */ 7016 #define KMU_TASKS_PUSH_KEYSLOT_TASKS_PUSH_KEYSLOT_Trigger (0x1UL) /*!< Trigger task */ 7017 7018 /* Register: KMU_EVENTS_KEYSLOT_PUSHED */ 7019 /* Description: Key slot successfully pushed over secure APB */ 7020 7021 /* Bit 0 : Key slot successfully pushed over secure APB */ 7022 #define KMU_EVENTS_KEYSLOT_PUSHED_EVENTS_KEYSLOT_PUSHED_Pos (0UL) /*!< Position of EVENTS_KEYSLOT_PUSHED field. */ 7023 #define KMU_EVENTS_KEYSLOT_PUSHED_EVENTS_KEYSLOT_PUSHED_Msk (0x1UL << KMU_EVENTS_KEYSLOT_PUSHED_EVENTS_KEYSLOT_PUSHED_Pos) /*!< Bit mask of EVENTS_KEYSLOT_PUSHED field. */ 7024 #define KMU_EVENTS_KEYSLOT_PUSHED_EVENTS_KEYSLOT_PUSHED_NotGenerated (0x0UL) /*!< Event not generated */ 7025 #define KMU_EVENTS_KEYSLOT_PUSHED_EVENTS_KEYSLOT_PUSHED_Generated (0x1UL) /*!< Event generated */ 7026 7027 /* Register: KMU_EVENTS_KEYSLOT_REVOKED */ 7028 /* Description: Key slot has been revoked and cannot be tasked for selection */ 7029 7030 /* Bit 0 : Key slot has been revoked and cannot be tasked for selection */ 7031 #define KMU_EVENTS_KEYSLOT_REVOKED_EVENTS_KEYSLOT_REVOKED_Pos (0UL) /*!< Position of EVENTS_KEYSLOT_REVOKED field. */ 7032 #define KMU_EVENTS_KEYSLOT_REVOKED_EVENTS_KEYSLOT_REVOKED_Msk (0x1UL << KMU_EVENTS_KEYSLOT_REVOKED_EVENTS_KEYSLOT_REVOKED_Pos) /*!< Bit mask of EVENTS_KEYSLOT_REVOKED field. */ 7033 #define KMU_EVENTS_KEYSLOT_REVOKED_EVENTS_KEYSLOT_REVOKED_NotGenerated (0x0UL) /*!< Event not generated */ 7034 #define KMU_EVENTS_KEYSLOT_REVOKED_EVENTS_KEYSLOT_REVOKED_Generated (0x1UL) /*!< Event generated */ 7035 7036 /* Register: KMU_EVENTS_KEYSLOT_ERROR */ 7037 /* Description: No key slot selected, no destination address defined, or error during push operation */ 7038 7039 /* Bit 0 : No key slot selected, no destination address defined, or error during push operation */ 7040 #define KMU_EVENTS_KEYSLOT_ERROR_EVENTS_KEYSLOT_ERROR_Pos (0UL) /*!< Position of EVENTS_KEYSLOT_ERROR field. */ 7041 #define KMU_EVENTS_KEYSLOT_ERROR_EVENTS_KEYSLOT_ERROR_Msk (0x1UL << KMU_EVENTS_KEYSLOT_ERROR_EVENTS_KEYSLOT_ERROR_Pos) /*!< Bit mask of EVENTS_KEYSLOT_ERROR field. */ 7042 #define KMU_EVENTS_KEYSLOT_ERROR_EVENTS_KEYSLOT_ERROR_NotGenerated (0x0UL) /*!< Event not generated */ 7043 #define KMU_EVENTS_KEYSLOT_ERROR_EVENTS_KEYSLOT_ERROR_Generated (0x1UL) /*!< Event generated */ 7044 7045 /* Register: KMU_INTEN */ 7046 /* Description: Enable or disable interrupt */ 7047 7048 /* Bit 2 : Enable or disable interrupt for event KEYSLOT_ERROR */ 7049 #define KMU_INTEN_KEYSLOT_ERROR_Pos (2UL) /*!< Position of KEYSLOT_ERROR field. */ 7050 #define KMU_INTEN_KEYSLOT_ERROR_Msk (0x1UL << KMU_INTEN_KEYSLOT_ERROR_Pos) /*!< Bit mask of KEYSLOT_ERROR field. */ 7051 #define KMU_INTEN_KEYSLOT_ERROR_Disabled (0x0UL) /*!< Disable */ 7052 #define KMU_INTEN_KEYSLOT_ERROR_Enabled (0x1UL) /*!< Enable */ 7053 7054 /* Bit 1 : Enable or disable interrupt for event KEYSLOT_REVOKED */ 7055 #define KMU_INTEN_KEYSLOT_REVOKED_Pos (1UL) /*!< Position of KEYSLOT_REVOKED field. */ 7056 #define KMU_INTEN_KEYSLOT_REVOKED_Msk (0x1UL << KMU_INTEN_KEYSLOT_REVOKED_Pos) /*!< Bit mask of KEYSLOT_REVOKED field. */ 7057 #define KMU_INTEN_KEYSLOT_REVOKED_Disabled (0x0UL) /*!< Disable */ 7058 #define KMU_INTEN_KEYSLOT_REVOKED_Enabled (0x1UL) /*!< Enable */ 7059 7060 /* Bit 0 : Enable or disable interrupt for event KEYSLOT_PUSHED */ 7061 #define KMU_INTEN_KEYSLOT_PUSHED_Pos (0UL) /*!< Position of KEYSLOT_PUSHED field. */ 7062 #define KMU_INTEN_KEYSLOT_PUSHED_Msk (0x1UL << KMU_INTEN_KEYSLOT_PUSHED_Pos) /*!< Bit mask of KEYSLOT_PUSHED field. */ 7063 #define KMU_INTEN_KEYSLOT_PUSHED_Disabled (0x0UL) /*!< Disable */ 7064 #define KMU_INTEN_KEYSLOT_PUSHED_Enabled (0x1UL) /*!< Enable */ 7065 7066 /* Register: KMU_INTENSET */ 7067 /* Description: Enable interrupt */ 7068 7069 /* Bit 2 : Write '1' to enable interrupt for event KEYSLOT_ERROR */ 7070 #define KMU_INTENSET_KEYSLOT_ERROR_Pos (2UL) /*!< Position of KEYSLOT_ERROR field. */ 7071 #define KMU_INTENSET_KEYSLOT_ERROR_Msk (0x1UL << KMU_INTENSET_KEYSLOT_ERROR_Pos) /*!< Bit mask of KEYSLOT_ERROR field. */ 7072 #define KMU_INTENSET_KEYSLOT_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 7073 #define KMU_INTENSET_KEYSLOT_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 7074 #define KMU_INTENSET_KEYSLOT_ERROR_Set (0x1UL) /*!< Enable */ 7075 7076 /* Bit 1 : Write '1' to enable interrupt for event KEYSLOT_REVOKED */ 7077 #define KMU_INTENSET_KEYSLOT_REVOKED_Pos (1UL) /*!< Position of KEYSLOT_REVOKED field. */ 7078 #define KMU_INTENSET_KEYSLOT_REVOKED_Msk (0x1UL << KMU_INTENSET_KEYSLOT_REVOKED_Pos) /*!< Bit mask of KEYSLOT_REVOKED field. */ 7079 #define KMU_INTENSET_KEYSLOT_REVOKED_Disabled (0x0UL) /*!< Read: Disabled */ 7080 #define KMU_INTENSET_KEYSLOT_REVOKED_Enabled (0x1UL) /*!< Read: Enabled */ 7081 #define KMU_INTENSET_KEYSLOT_REVOKED_Set (0x1UL) /*!< Enable */ 7082 7083 /* Bit 0 : Write '1' to enable interrupt for event KEYSLOT_PUSHED */ 7084 #define KMU_INTENSET_KEYSLOT_PUSHED_Pos (0UL) /*!< Position of KEYSLOT_PUSHED field. */ 7085 #define KMU_INTENSET_KEYSLOT_PUSHED_Msk (0x1UL << KMU_INTENSET_KEYSLOT_PUSHED_Pos) /*!< Bit mask of KEYSLOT_PUSHED field. */ 7086 #define KMU_INTENSET_KEYSLOT_PUSHED_Disabled (0x0UL) /*!< Read: Disabled */ 7087 #define KMU_INTENSET_KEYSLOT_PUSHED_Enabled (0x1UL) /*!< Read: Enabled */ 7088 #define KMU_INTENSET_KEYSLOT_PUSHED_Set (0x1UL) /*!< Enable */ 7089 7090 /* Register: KMU_INTENCLR */ 7091 /* Description: Disable interrupt */ 7092 7093 /* Bit 2 : Write '1' to disable interrupt for event KEYSLOT_ERROR */ 7094 #define KMU_INTENCLR_KEYSLOT_ERROR_Pos (2UL) /*!< Position of KEYSLOT_ERROR field. */ 7095 #define KMU_INTENCLR_KEYSLOT_ERROR_Msk (0x1UL << KMU_INTENCLR_KEYSLOT_ERROR_Pos) /*!< Bit mask of KEYSLOT_ERROR field. */ 7096 #define KMU_INTENCLR_KEYSLOT_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 7097 #define KMU_INTENCLR_KEYSLOT_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 7098 #define KMU_INTENCLR_KEYSLOT_ERROR_Clear (0x1UL) /*!< Disable */ 7099 7100 /* Bit 1 : Write '1' to disable interrupt for event KEYSLOT_REVOKED */ 7101 #define KMU_INTENCLR_KEYSLOT_REVOKED_Pos (1UL) /*!< Position of KEYSLOT_REVOKED field. */ 7102 #define KMU_INTENCLR_KEYSLOT_REVOKED_Msk (0x1UL << KMU_INTENCLR_KEYSLOT_REVOKED_Pos) /*!< Bit mask of KEYSLOT_REVOKED field. */ 7103 #define KMU_INTENCLR_KEYSLOT_REVOKED_Disabled (0x0UL) /*!< Read: Disabled */ 7104 #define KMU_INTENCLR_KEYSLOT_REVOKED_Enabled (0x1UL) /*!< Read: Enabled */ 7105 #define KMU_INTENCLR_KEYSLOT_REVOKED_Clear (0x1UL) /*!< Disable */ 7106 7107 /* Bit 0 : Write '1' to disable interrupt for event KEYSLOT_PUSHED */ 7108 #define KMU_INTENCLR_KEYSLOT_PUSHED_Pos (0UL) /*!< Position of KEYSLOT_PUSHED field. */ 7109 #define KMU_INTENCLR_KEYSLOT_PUSHED_Msk (0x1UL << KMU_INTENCLR_KEYSLOT_PUSHED_Pos) /*!< Bit mask of KEYSLOT_PUSHED field. */ 7110 #define KMU_INTENCLR_KEYSLOT_PUSHED_Disabled (0x0UL) /*!< Read: Disabled */ 7111 #define KMU_INTENCLR_KEYSLOT_PUSHED_Enabled (0x1UL) /*!< Read: Enabled */ 7112 #define KMU_INTENCLR_KEYSLOT_PUSHED_Clear (0x1UL) /*!< Disable */ 7113 7114 /* Register: KMU_INTPEND */ 7115 /* Description: Pending interrupts */ 7116 7117 /* Bit 2 : Read pending status of interrupt for event KEYSLOT_ERROR */ 7118 #define KMU_INTPEND_KEYSLOT_ERROR_Pos (2UL) /*!< Position of KEYSLOT_ERROR field. */ 7119 #define KMU_INTPEND_KEYSLOT_ERROR_Msk (0x1UL << KMU_INTPEND_KEYSLOT_ERROR_Pos) /*!< Bit mask of KEYSLOT_ERROR field. */ 7120 #define KMU_INTPEND_KEYSLOT_ERROR_NotPending (0x0UL) /*!< Read: Not pending */ 7121 #define KMU_INTPEND_KEYSLOT_ERROR_Pending (0x1UL) /*!< Read: Pending */ 7122 7123 /* Bit 1 : Read pending status of interrupt for event KEYSLOT_REVOKED */ 7124 #define KMU_INTPEND_KEYSLOT_REVOKED_Pos (1UL) /*!< Position of KEYSLOT_REVOKED field. */ 7125 #define KMU_INTPEND_KEYSLOT_REVOKED_Msk (0x1UL << KMU_INTPEND_KEYSLOT_REVOKED_Pos) /*!< Bit mask of KEYSLOT_REVOKED field. */ 7126 #define KMU_INTPEND_KEYSLOT_REVOKED_NotPending (0x0UL) /*!< Read: Not pending */ 7127 #define KMU_INTPEND_KEYSLOT_REVOKED_Pending (0x1UL) /*!< Read: Pending */ 7128 7129 /* Bit 0 : Read pending status of interrupt for event KEYSLOT_PUSHED */ 7130 #define KMU_INTPEND_KEYSLOT_PUSHED_Pos (0UL) /*!< Position of KEYSLOT_PUSHED field. */ 7131 #define KMU_INTPEND_KEYSLOT_PUSHED_Msk (0x1UL << KMU_INTPEND_KEYSLOT_PUSHED_Pos) /*!< Bit mask of KEYSLOT_PUSHED field. */ 7132 #define KMU_INTPEND_KEYSLOT_PUSHED_NotPending (0x0UL) /*!< Read: Not pending */ 7133 #define KMU_INTPEND_KEYSLOT_PUSHED_Pending (0x1UL) /*!< Read: Pending */ 7134 7135 /* Register: KMU_STATUS */ 7136 /* Description: Status bits for KMU operation */ 7137 7138 /* Bit 1 : Violation status */ 7139 #define KMU_STATUS_BLOCKED_Pos (1UL) /*!< Position of BLOCKED field. */ 7140 #define KMU_STATUS_BLOCKED_Msk (0x1UL << KMU_STATUS_BLOCKED_Pos) /*!< Bit mask of BLOCKED field. */ 7141 #define KMU_STATUS_BLOCKED_Disabled (0x0UL) /*!< No access violation detected */ 7142 #define KMU_STATUS_BLOCKED_Enabled (0x1UL) /*!< Access violation detected and blocked */ 7143 7144 /* Bit 0 : Key slot ID successfully selected by the KMU */ 7145 #define KMU_STATUS_SELECTED_Pos (0UL) /*!< Position of SELECTED field. */ 7146 #define KMU_STATUS_SELECTED_Msk (0x1UL << KMU_STATUS_SELECTED_Pos) /*!< Bit mask of SELECTED field. */ 7147 #define KMU_STATUS_SELECTED_Disabled (0x0UL) /*!< No key slot ID selected by KMU */ 7148 #define KMU_STATUS_SELECTED_Enabled (0x1UL) /*!< Key slot ID successfully selected by KMU */ 7149 7150 /* Register: KMU_SELECTKEYSLOT */ 7151 /* Description: Select key slot to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started */ 7152 7153 /* Bits 7..0 : Select key slot ID to be read over AHB, or pushed over secure APB, when TASKS_PUSH_KEYSLOT is started. NOTE: ID=0 is not a valid key slot ID. The 0 ID should be used when the KMU is idle or not in use. NOTE: Index N in UICR->KEYSLOT.KEY[N] and UICR->KEYSLOT.CONFIG[N] corresponds to KMU key slot ID=N+1. */ 7154 #define KMU_SELECTKEYSLOT_ID_Pos (0UL) /*!< Position of ID field. */ 7155 #define KMU_SELECTKEYSLOT_ID_Msk (0xFFUL << KMU_SELECTKEYSLOT_ID_Pos) /*!< Bit mask of ID field. */ 7156 7157 7158 /* Peripheral: LPCOMP */ 7159 /* Description: Low-power comparator 0 */ 7160 7161 /* Register: LPCOMP_TASKS_START */ 7162 /* Description: Start comparator */ 7163 7164 /* Bit 0 : Start comparator */ 7165 #define LPCOMP_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 7166 #define LPCOMP_TASKS_START_TASKS_START_Msk (0x1UL << LPCOMP_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 7167 #define LPCOMP_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 7168 7169 /* Register: LPCOMP_TASKS_STOP */ 7170 /* Description: Stop comparator */ 7171 7172 /* Bit 0 : Stop comparator */ 7173 #define LPCOMP_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 7174 #define LPCOMP_TASKS_STOP_TASKS_STOP_Msk (0x1UL << LPCOMP_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 7175 #define LPCOMP_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 7176 7177 /* Register: LPCOMP_TASKS_SAMPLE */ 7178 /* Description: Sample comparator value */ 7179 7180 /* Bit 0 : Sample comparator value */ 7181 #define LPCOMP_TASKS_SAMPLE_TASKS_SAMPLE_Pos (0UL) /*!< Position of TASKS_SAMPLE field. */ 7182 #define LPCOMP_TASKS_SAMPLE_TASKS_SAMPLE_Msk (0x1UL << LPCOMP_TASKS_SAMPLE_TASKS_SAMPLE_Pos) /*!< Bit mask of TASKS_SAMPLE field. */ 7183 #define LPCOMP_TASKS_SAMPLE_TASKS_SAMPLE_Trigger (0x1UL) /*!< Trigger task */ 7184 7185 /* Register: LPCOMP_SUBSCRIBE_START */ 7186 /* Description: Subscribe configuration for task START */ 7187 7188 /* Bit 31 : */ 7189 #define LPCOMP_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 7190 #define LPCOMP_SUBSCRIBE_START_EN_Msk (0x1UL << LPCOMP_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 7191 #define LPCOMP_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 7192 #define LPCOMP_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 7193 7194 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 7195 #define LPCOMP_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7196 #define LPCOMP_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << LPCOMP_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7197 7198 /* Register: LPCOMP_SUBSCRIBE_STOP */ 7199 /* Description: Subscribe configuration for task STOP */ 7200 7201 /* Bit 31 : */ 7202 #define LPCOMP_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 7203 #define LPCOMP_SUBSCRIBE_STOP_EN_Msk (0x1UL << LPCOMP_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 7204 #define LPCOMP_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 7205 #define LPCOMP_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 7206 7207 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 7208 #define LPCOMP_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7209 #define LPCOMP_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << LPCOMP_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7210 7211 /* Register: LPCOMP_SUBSCRIBE_SAMPLE */ 7212 /* Description: Subscribe configuration for task SAMPLE */ 7213 7214 /* Bit 31 : */ 7215 #define LPCOMP_SUBSCRIBE_SAMPLE_EN_Pos (31UL) /*!< Position of EN field. */ 7216 #define LPCOMP_SUBSCRIBE_SAMPLE_EN_Msk (0x1UL << LPCOMP_SUBSCRIBE_SAMPLE_EN_Pos) /*!< Bit mask of EN field. */ 7217 #define LPCOMP_SUBSCRIBE_SAMPLE_EN_Disabled (0x0UL) /*!< Disable subscription */ 7218 #define LPCOMP_SUBSCRIBE_SAMPLE_EN_Enabled (0x1UL) /*!< Enable subscription */ 7219 7220 /* Bits 7..0 : DPPI channel that task SAMPLE will subscribe to */ 7221 #define LPCOMP_SUBSCRIBE_SAMPLE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7222 #define LPCOMP_SUBSCRIBE_SAMPLE_CHIDX_Msk (0xFFUL << LPCOMP_SUBSCRIBE_SAMPLE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7223 7224 /* Register: LPCOMP_EVENTS_READY */ 7225 /* Description: LPCOMP is ready and output is valid */ 7226 7227 /* Bit 0 : LPCOMP is ready and output is valid */ 7228 #define LPCOMP_EVENTS_READY_EVENTS_READY_Pos (0UL) /*!< Position of EVENTS_READY field. */ 7229 #define LPCOMP_EVENTS_READY_EVENTS_READY_Msk (0x1UL << LPCOMP_EVENTS_READY_EVENTS_READY_Pos) /*!< Bit mask of EVENTS_READY field. */ 7230 #define LPCOMP_EVENTS_READY_EVENTS_READY_NotGenerated (0x0UL) /*!< Event not generated */ 7231 #define LPCOMP_EVENTS_READY_EVENTS_READY_Generated (0x1UL) /*!< Event generated */ 7232 7233 /* Register: LPCOMP_EVENTS_DOWN */ 7234 /* Description: Downward crossing */ 7235 7236 /* Bit 0 : Downward crossing */ 7237 #define LPCOMP_EVENTS_DOWN_EVENTS_DOWN_Pos (0UL) /*!< Position of EVENTS_DOWN field. */ 7238 #define LPCOMP_EVENTS_DOWN_EVENTS_DOWN_Msk (0x1UL << LPCOMP_EVENTS_DOWN_EVENTS_DOWN_Pos) /*!< Bit mask of EVENTS_DOWN field. */ 7239 #define LPCOMP_EVENTS_DOWN_EVENTS_DOWN_NotGenerated (0x0UL) /*!< Event not generated */ 7240 #define LPCOMP_EVENTS_DOWN_EVENTS_DOWN_Generated (0x1UL) /*!< Event generated */ 7241 7242 /* Register: LPCOMP_EVENTS_UP */ 7243 /* Description: Upward crossing */ 7244 7245 /* Bit 0 : Upward crossing */ 7246 #define LPCOMP_EVENTS_UP_EVENTS_UP_Pos (0UL) /*!< Position of EVENTS_UP field. */ 7247 #define LPCOMP_EVENTS_UP_EVENTS_UP_Msk (0x1UL << LPCOMP_EVENTS_UP_EVENTS_UP_Pos) /*!< Bit mask of EVENTS_UP field. */ 7248 #define LPCOMP_EVENTS_UP_EVENTS_UP_NotGenerated (0x0UL) /*!< Event not generated */ 7249 #define LPCOMP_EVENTS_UP_EVENTS_UP_Generated (0x1UL) /*!< Event generated */ 7250 7251 /* Register: LPCOMP_EVENTS_CROSS */ 7252 /* Description: Downward or upward crossing */ 7253 7254 /* Bit 0 : Downward or upward crossing */ 7255 #define LPCOMP_EVENTS_CROSS_EVENTS_CROSS_Pos (0UL) /*!< Position of EVENTS_CROSS field. */ 7256 #define LPCOMP_EVENTS_CROSS_EVENTS_CROSS_Msk (0x1UL << LPCOMP_EVENTS_CROSS_EVENTS_CROSS_Pos) /*!< Bit mask of EVENTS_CROSS field. */ 7257 #define LPCOMP_EVENTS_CROSS_EVENTS_CROSS_NotGenerated (0x0UL) /*!< Event not generated */ 7258 #define LPCOMP_EVENTS_CROSS_EVENTS_CROSS_Generated (0x1UL) /*!< Event generated */ 7259 7260 /* Register: LPCOMP_PUBLISH_READY */ 7261 /* Description: Publish configuration for event READY */ 7262 7263 /* Bit 31 : */ 7264 #define LPCOMP_PUBLISH_READY_EN_Pos (31UL) /*!< Position of EN field. */ 7265 #define LPCOMP_PUBLISH_READY_EN_Msk (0x1UL << LPCOMP_PUBLISH_READY_EN_Pos) /*!< Bit mask of EN field. */ 7266 #define LPCOMP_PUBLISH_READY_EN_Disabled (0x0UL) /*!< Disable publishing */ 7267 #define LPCOMP_PUBLISH_READY_EN_Enabled (0x1UL) /*!< Enable publishing */ 7268 7269 /* Bits 7..0 : DPPI channel that event READY will publish to */ 7270 #define LPCOMP_PUBLISH_READY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7271 #define LPCOMP_PUBLISH_READY_CHIDX_Msk (0xFFUL << LPCOMP_PUBLISH_READY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7272 7273 /* Register: LPCOMP_PUBLISH_DOWN */ 7274 /* Description: Publish configuration for event DOWN */ 7275 7276 /* Bit 31 : */ 7277 #define LPCOMP_PUBLISH_DOWN_EN_Pos (31UL) /*!< Position of EN field. */ 7278 #define LPCOMP_PUBLISH_DOWN_EN_Msk (0x1UL << LPCOMP_PUBLISH_DOWN_EN_Pos) /*!< Bit mask of EN field. */ 7279 #define LPCOMP_PUBLISH_DOWN_EN_Disabled (0x0UL) /*!< Disable publishing */ 7280 #define LPCOMP_PUBLISH_DOWN_EN_Enabled (0x1UL) /*!< Enable publishing */ 7281 7282 /* Bits 7..0 : DPPI channel that event DOWN will publish to */ 7283 #define LPCOMP_PUBLISH_DOWN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7284 #define LPCOMP_PUBLISH_DOWN_CHIDX_Msk (0xFFUL << LPCOMP_PUBLISH_DOWN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7285 7286 /* Register: LPCOMP_PUBLISH_UP */ 7287 /* Description: Publish configuration for event UP */ 7288 7289 /* Bit 31 : */ 7290 #define LPCOMP_PUBLISH_UP_EN_Pos (31UL) /*!< Position of EN field. */ 7291 #define LPCOMP_PUBLISH_UP_EN_Msk (0x1UL << LPCOMP_PUBLISH_UP_EN_Pos) /*!< Bit mask of EN field. */ 7292 #define LPCOMP_PUBLISH_UP_EN_Disabled (0x0UL) /*!< Disable publishing */ 7293 #define LPCOMP_PUBLISH_UP_EN_Enabled (0x1UL) /*!< Enable publishing */ 7294 7295 /* Bits 7..0 : DPPI channel that event UP will publish to */ 7296 #define LPCOMP_PUBLISH_UP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7297 #define LPCOMP_PUBLISH_UP_CHIDX_Msk (0xFFUL << LPCOMP_PUBLISH_UP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7298 7299 /* Register: LPCOMP_PUBLISH_CROSS */ 7300 /* Description: Publish configuration for event CROSS */ 7301 7302 /* Bit 31 : */ 7303 #define LPCOMP_PUBLISH_CROSS_EN_Pos (31UL) /*!< Position of EN field. */ 7304 #define LPCOMP_PUBLISH_CROSS_EN_Msk (0x1UL << LPCOMP_PUBLISH_CROSS_EN_Pos) /*!< Bit mask of EN field. */ 7305 #define LPCOMP_PUBLISH_CROSS_EN_Disabled (0x0UL) /*!< Disable publishing */ 7306 #define LPCOMP_PUBLISH_CROSS_EN_Enabled (0x1UL) /*!< Enable publishing */ 7307 7308 /* Bits 7..0 : DPPI channel that event CROSS will publish to */ 7309 #define LPCOMP_PUBLISH_CROSS_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7310 #define LPCOMP_PUBLISH_CROSS_CHIDX_Msk (0xFFUL << LPCOMP_PUBLISH_CROSS_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7311 7312 /* Register: LPCOMP_SHORTS */ 7313 /* Description: Shortcuts between local events and tasks */ 7314 7315 /* Bit 4 : Shortcut between event CROSS and task STOP */ 7316 #define LPCOMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */ 7317 #define LPCOMP_SHORTS_CROSS_STOP_Msk (0x1UL << LPCOMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */ 7318 #define LPCOMP_SHORTS_CROSS_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 7319 #define LPCOMP_SHORTS_CROSS_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 7320 7321 /* Bit 3 : Shortcut between event UP and task STOP */ 7322 #define LPCOMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */ 7323 #define LPCOMP_SHORTS_UP_STOP_Msk (0x1UL << LPCOMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */ 7324 #define LPCOMP_SHORTS_UP_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 7325 #define LPCOMP_SHORTS_UP_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 7326 7327 /* Bit 2 : Shortcut between event DOWN and task STOP */ 7328 #define LPCOMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */ 7329 #define LPCOMP_SHORTS_DOWN_STOP_Msk (0x1UL << LPCOMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */ 7330 #define LPCOMP_SHORTS_DOWN_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 7331 #define LPCOMP_SHORTS_DOWN_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 7332 7333 /* Bit 1 : Shortcut between event READY and task STOP */ 7334 #define LPCOMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */ 7335 #define LPCOMP_SHORTS_READY_STOP_Msk (0x1UL << LPCOMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */ 7336 #define LPCOMP_SHORTS_READY_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 7337 #define LPCOMP_SHORTS_READY_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 7338 7339 /* Bit 0 : Shortcut between event READY and task SAMPLE */ 7340 #define LPCOMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */ 7341 #define LPCOMP_SHORTS_READY_SAMPLE_Msk (0x1UL << LPCOMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */ 7342 #define LPCOMP_SHORTS_READY_SAMPLE_Disabled (0x0UL) /*!< Disable shortcut */ 7343 #define LPCOMP_SHORTS_READY_SAMPLE_Enabled (0x1UL) /*!< Enable shortcut */ 7344 7345 /* Register: LPCOMP_INTENSET */ 7346 /* Description: Enable interrupt */ 7347 7348 /* Bit 3 : Write '1' to enable interrupt for event CROSS */ 7349 #define LPCOMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 7350 #define LPCOMP_INTENSET_CROSS_Msk (0x1UL << LPCOMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */ 7351 #define LPCOMP_INTENSET_CROSS_Disabled (0x0UL) /*!< Read: Disabled */ 7352 #define LPCOMP_INTENSET_CROSS_Enabled (0x1UL) /*!< Read: Enabled */ 7353 #define LPCOMP_INTENSET_CROSS_Set (0x1UL) /*!< Enable */ 7354 7355 /* Bit 2 : Write '1' to enable interrupt for event UP */ 7356 #define LPCOMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */ 7357 #define LPCOMP_INTENSET_UP_Msk (0x1UL << LPCOMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */ 7358 #define LPCOMP_INTENSET_UP_Disabled (0x0UL) /*!< Read: Disabled */ 7359 #define LPCOMP_INTENSET_UP_Enabled (0x1UL) /*!< Read: Enabled */ 7360 #define LPCOMP_INTENSET_UP_Set (0x1UL) /*!< Enable */ 7361 7362 /* Bit 1 : Write '1' to enable interrupt for event DOWN */ 7363 #define LPCOMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 7364 #define LPCOMP_INTENSET_DOWN_Msk (0x1UL << LPCOMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */ 7365 #define LPCOMP_INTENSET_DOWN_Disabled (0x0UL) /*!< Read: Disabled */ 7366 #define LPCOMP_INTENSET_DOWN_Enabled (0x1UL) /*!< Read: Enabled */ 7367 #define LPCOMP_INTENSET_DOWN_Set (0x1UL) /*!< Enable */ 7368 7369 /* Bit 0 : Write '1' to enable interrupt for event READY */ 7370 #define LPCOMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 7371 #define LPCOMP_INTENSET_READY_Msk (0x1UL << LPCOMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 7372 #define LPCOMP_INTENSET_READY_Disabled (0x0UL) /*!< Read: Disabled */ 7373 #define LPCOMP_INTENSET_READY_Enabled (0x1UL) /*!< Read: Enabled */ 7374 #define LPCOMP_INTENSET_READY_Set (0x1UL) /*!< Enable */ 7375 7376 /* Register: LPCOMP_INTENCLR */ 7377 /* Description: Disable interrupt */ 7378 7379 /* Bit 3 : Write '1' to disable interrupt for event CROSS */ 7380 #define LPCOMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 7381 #define LPCOMP_INTENCLR_CROSS_Msk (0x1UL << LPCOMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */ 7382 #define LPCOMP_INTENCLR_CROSS_Disabled (0x0UL) /*!< Read: Disabled */ 7383 #define LPCOMP_INTENCLR_CROSS_Enabled (0x1UL) /*!< Read: Enabled */ 7384 #define LPCOMP_INTENCLR_CROSS_Clear (0x1UL) /*!< Disable */ 7385 7386 /* Bit 2 : Write '1' to disable interrupt for event UP */ 7387 #define LPCOMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */ 7388 #define LPCOMP_INTENCLR_UP_Msk (0x1UL << LPCOMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */ 7389 #define LPCOMP_INTENCLR_UP_Disabled (0x0UL) /*!< Read: Disabled */ 7390 #define LPCOMP_INTENCLR_UP_Enabled (0x1UL) /*!< Read: Enabled */ 7391 #define LPCOMP_INTENCLR_UP_Clear (0x1UL) /*!< Disable */ 7392 7393 /* Bit 1 : Write '1' to disable interrupt for event DOWN */ 7394 #define LPCOMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 7395 #define LPCOMP_INTENCLR_DOWN_Msk (0x1UL << LPCOMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */ 7396 #define LPCOMP_INTENCLR_DOWN_Disabled (0x0UL) /*!< Read: Disabled */ 7397 #define LPCOMP_INTENCLR_DOWN_Enabled (0x1UL) /*!< Read: Enabled */ 7398 #define LPCOMP_INTENCLR_DOWN_Clear (0x1UL) /*!< Disable */ 7399 7400 /* Bit 0 : Write '1' to disable interrupt for event READY */ 7401 #define LPCOMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 7402 #define LPCOMP_INTENCLR_READY_Msk (0x1UL << LPCOMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 7403 #define LPCOMP_INTENCLR_READY_Disabled (0x0UL) /*!< Read: Disabled */ 7404 #define LPCOMP_INTENCLR_READY_Enabled (0x1UL) /*!< Read: Enabled */ 7405 #define LPCOMP_INTENCLR_READY_Clear (0x1UL) /*!< Disable */ 7406 7407 /* Register: LPCOMP_RESULT */ 7408 /* Description: Compare result */ 7409 7410 /* Bit 0 : Result of last compare. Decision point SAMPLE task. */ 7411 #define LPCOMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */ 7412 #define LPCOMP_RESULT_RESULT_Msk (0x1UL << LPCOMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */ 7413 #define LPCOMP_RESULT_RESULT_Below (0x0UL) /*!< Input voltage is below the reference threshold (VIN+ < VIN-) */ 7414 #define LPCOMP_RESULT_RESULT_Above (0x1UL) /*!< Input voltage is above the reference threshold (VIN+ > VIN-) */ 7415 7416 /* Register: LPCOMP_ENABLE */ 7417 /* Description: Enable LPCOMP */ 7418 7419 /* Bits 1..0 : Enable or disable LPCOMP */ 7420 #define LPCOMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 7421 #define LPCOMP_ENABLE_ENABLE_Msk (0x3UL << LPCOMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 7422 #define LPCOMP_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable */ 7423 #define LPCOMP_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable */ 7424 7425 /* Register: LPCOMP_PSEL */ 7426 /* Description: Input pin select */ 7427 7428 /* Bits 2..0 : Analog pin select */ 7429 #define LPCOMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */ 7430 #define LPCOMP_PSEL_PSEL_Msk (0x7UL << LPCOMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */ 7431 #define LPCOMP_PSEL_PSEL_AnalogInput0 (0x0UL) /*!< AIN0 selected as analog input */ 7432 #define LPCOMP_PSEL_PSEL_AnalogInput1 (0x1UL) /*!< AIN1 selected as analog input */ 7433 #define LPCOMP_PSEL_PSEL_AnalogInput2 (0x2UL) /*!< AIN2 selected as analog input */ 7434 #define LPCOMP_PSEL_PSEL_AnalogInput3 (0x3UL) /*!< AIN3 selected as analog input */ 7435 #define LPCOMP_PSEL_PSEL_AnalogInput4 (0x4UL) /*!< AIN4 selected as analog input */ 7436 #define LPCOMP_PSEL_PSEL_AnalogInput5 (0x5UL) /*!< AIN5 selected as analog input */ 7437 #define LPCOMP_PSEL_PSEL_AnalogInput6 (0x6UL) /*!< AIN6 selected as analog input */ 7438 #define LPCOMP_PSEL_PSEL_AnalogInput7 (0x7UL) /*!< AIN7 selected as analog input */ 7439 7440 /* Register: LPCOMP_REFSEL */ 7441 /* Description: Reference select */ 7442 7443 /* Bits 3..0 : Reference select */ 7444 #define LPCOMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */ 7445 #define LPCOMP_REFSEL_REFSEL_Msk (0xFUL << LPCOMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */ 7446 #define LPCOMP_REFSEL_REFSEL_Ref1_8Vdd (0x0UL) /*!< VDD * 1/8 selected as reference */ 7447 #define LPCOMP_REFSEL_REFSEL_Ref2_8Vdd (0x1UL) /*!< VDD * 2/8 selected as reference */ 7448 #define LPCOMP_REFSEL_REFSEL_Ref3_8Vdd (0x2UL) /*!< VDD * 3/8 selected as reference */ 7449 #define LPCOMP_REFSEL_REFSEL_Ref4_8Vdd (0x3UL) /*!< VDD * 4/8 selected as reference */ 7450 #define LPCOMP_REFSEL_REFSEL_Ref5_8Vdd (0x4UL) /*!< VDD * 5/8 selected as reference */ 7451 #define LPCOMP_REFSEL_REFSEL_Ref6_8Vdd (0x5UL) /*!< VDD * 6/8 selected as reference */ 7452 #define LPCOMP_REFSEL_REFSEL_Ref7_8Vdd (0x6UL) /*!< VDD * 7/8 selected as reference */ 7453 #define LPCOMP_REFSEL_REFSEL_ARef (0x7UL) /*!< External analog reference selected */ 7454 #define LPCOMP_REFSEL_REFSEL_Ref1_16Vdd (0x8UL) /*!< VDD * 1/16 selected as reference */ 7455 #define LPCOMP_REFSEL_REFSEL_Ref3_16Vdd (0x9UL) /*!< VDD * 3/16 selected as reference */ 7456 #define LPCOMP_REFSEL_REFSEL_Ref5_16Vdd (0xAUL) /*!< VDD * 5/16 selected as reference */ 7457 #define LPCOMP_REFSEL_REFSEL_Ref7_16Vdd (0xBUL) /*!< VDD * 7/16 selected as reference */ 7458 #define LPCOMP_REFSEL_REFSEL_Ref9_16Vdd (0xCUL) /*!< VDD * 9/16 selected as reference */ 7459 #define LPCOMP_REFSEL_REFSEL_Ref11_16Vdd (0xDUL) /*!< VDD * 11/16 selected as reference */ 7460 #define LPCOMP_REFSEL_REFSEL_Ref13_16Vdd (0xEUL) /*!< VDD * 13/16 selected as reference */ 7461 #define LPCOMP_REFSEL_REFSEL_Ref15_16Vdd (0xFUL) /*!< VDD * 15/16 selected as reference */ 7462 7463 /* Register: LPCOMP_EXTREFSEL */ 7464 /* Description: External reference select */ 7465 7466 /* Bit 0 : External analog reference select */ 7467 #define LPCOMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */ 7468 #define LPCOMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << LPCOMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */ 7469 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0x0UL) /*!< Use AIN0 as external analog reference */ 7470 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (0x1UL) /*!< Use AIN1 as external analog reference */ 7471 7472 /* Register: LPCOMP_ANADETECT */ 7473 /* Description: Analog detect configuration */ 7474 7475 /* Bits 1..0 : Analog detect configuration */ 7476 #define LPCOMP_ANADETECT_ANADETECT_Pos (0UL) /*!< Position of ANADETECT field. */ 7477 #define LPCOMP_ANADETECT_ANADETECT_Msk (0x3UL << LPCOMP_ANADETECT_ANADETECT_Pos) /*!< Bit mask of ANADETECT field. */ 7478 #define LPCOMP_ANADETECT_ANADETECT_Cross (0x0UL) /*!< Generate ANADETECT on crossing, both upward crossing and downward crossing */ 7479 #define LPCOMP_ANADETECT_ANADETECT_Up (0x1UL) /*!< Generate ANADETECT on upward crossing only */ 7480 #define LPCOMP_ANADETECT_ANADETECT_Down (0x2UL) /*!< Generate ANADETECT on downward crossing only */ 7481 7482 /* Register: LPCOMP_HYST */ 7483 /* Description: Comparator hysteresis enable */ 7484 7485 /* Bit 0 : Comparator hysteresis enable */ 7486 #define LPCOMP_HYST_HYST_Pos (0UL) /*!< Position of HYST field. */ 7487 #define LPCOMP_HYST_HYST_Msk (0x1UL << LPCOMP_HYST_HYST_Pos) /*!< Bit mask of HYST field. */ 7488 #define LPCOMP_HYST_HYST_Disabled (0x0UL) /*!< Comparator hysteresis disabled */ 7489 #define LPCOMP_HYST_HYST_Enabled (0x1UL) /*!< Comparator hysteresis enabled */ 7490 7491 7492 /* Peripheral: MUTEX */ 7493 /* Description: MUTEX 0 */ 7494 7495 /* Register: MUTEX_MUTEX */ 7496 /* Description: Description collection: Mutex register */ 7497 7498 /* Bit 0 : Mutex register n */ 7499 #define MUTEX_MUTEX_MUTEX_Pos (0UL) /*!< Position of MUTEX field. */ 7500 #define MUTEX_MUTEX_MUTEX_Msk (0x1UL << MUTEX_MUTEX_MUTEX_Pos) /*!< Bit mask of MUTEX field. */ 7501 #define MUTEX_MUTEX_MUTEX_Unlocked (0x0UL) /*!< Mutex n is in unlocked state */ 7502 #define MUTEX_MUTEX_MUTEX_Locked (0x1UL) /*!< Mutex n is in locked state */ 7503 7504 7505 /* Peripheral: NFCT */ 7506 /* Description: NFC-A compatible radio 0 */ 7507 7508 /* Register: NFCT_TASKS_ACTIVATE */ 7509 /* Description: Activate NFCT peripheral for incoming and outgoing frames, change state to activated */ 7510 7511 /* Bit 0 : Activate NFCT peripheral for incoming and outgoing frames, change state to activated */ 7512 #define NFCT_TASKS_ACTIVATE_TASKS_ACTIVATE_Pos (0UL) /*!< Position of TASKS_ACTIVATE field. */ 7513 #define NFCT_TASKS_ACTIVATE_TASKS_ACTIVATE_Msk (0x1UL << NFCT_TASKS_ACTIVATE_TASKS_ACTIVATE_Pos) /*!< Bit mask of TASKS_ACTIVATE field. */ 7514 #define NFCT_TASKS_ACTIVATE_TASKS_ACTIVATE_Trigger (0x1UL) /*!< Trigger task */ 7515 7516 /* Register: NFCT_TASKS_DISABLE */ 7517 /* Description: Disable NFCT peripheral */ 7518 7519 /* Bit 0 : Disable NFCT peripheral */ 7520 #define NFCT_TASKS_DISABLE_TASKS_DISABLE_Pos (0UL) /*!< Position of TASKS_DISABLE field. */ 7521 #define NFCT_TASKS_DISABLE_TASKS_DISABLE_Msk (0x1UL << NFCT_TASKS_DISABLE_TASKS_DISABLE_Pos) /*!< Bit mask of TASKS_DISABLE field. */ 7522 #define NFCT_TASKS_DISABLE_TASKS_DISABLE_Trigger (0x1UL) /*!< Trigger task */ 7523 7524 /* Register: NFCT_TASKS_SENSE */ 7525 /* Description: Enable NFC sense field mode, change state to sense mode */ 7526 7527 /* Bit 0 : Enable NFC sense field mode, change state to sense mode */ 7528 #define NFCT_TASKS_SENSE_TASKS_SENSE_Pos (0UL) /*!< Position of TASKS_SENSE field. */ 7529 #define NFCT_TASKS_SENSE_TASKS_SENSE_Msk (0x1UL << NFCT_TASKS_SENSE_TASKS_SENSE_Pos) /*!< Bit mask of TASKS_SENSE field. */ 7530 #define NFCT_TASKS_SENSE_TASKS_SENSE_Trigger (0x1UL) /*!< Trigger task */ 7531 7532 /* Register: NFCT_TASKS_STARTTX */ 7533 /* Description: Start transmission of an outgoing frame, change state to transmit */ 7534 7535 /* Bit 0 : Start transmission of an outgoing frame, change state to transmit */ 7536 #define NFCT_TASKS_STARTTX_TASKS_STARTTX_Pos (0UL) /*!< Position of TASKS_STARTTX field. */ 7537 #define NFCT_TASKS_STARTTX_TASKS_STARTTX_Msk (0x1UL << NFCT_TASKS_STARTTX_TASKS_STARTTX_Pos) /*!< Bit mask of TASKS_STARTTX field. */ 7538 #define NFCT_TASKS_STARTTX_TASKS_STARTTX_Trigger (0x1UL) /*!< Trigger task */ 7539 7540 /* Register: NFCT_TASKS_ENABLERXDATA */ 7541 /* Description: Initializes the EasyDMA for receive. */ 7542 7543 /* Bit 0 : Initializes the EasyDMA for receive. */ 7544 #define NFCT_TASKS_ENABLERXDATA_TASKS_ENABLERXDATA_Pos (0UL) /*!< Position of TASKS_ENABLERXDATA field. */ 7545 #define NFCT_TASKS_ENABLERXDATA_TASKS_ENABLERXDATA_Msk (0x1UL << NFCT_TASKS_ENABLERXDATA_TASKS_ENABLERXDATA_Pos) /*!< Bit mask of TASKS_ENABLERXDATA field. */ 7546 #define NFCT_TASKS_ENABLERXDATA_TASKS_ENABLERXDATA_Trigger (0x1UL) /*!< Trigger task */ 7547 7548 /* Register: NFCT_TASKS_GOIDLE */ 7549 /* Description: Force state machine to IDLE state */ 7550 7551 /* Bit 0 : Force state machine to IDLE state */ 7552 #define NFCT_TASKS_GOIDLE_TASKS_GOIDLE_Pos (0UL) /*!< Position of TASKS_GOIDLE field. */ 7553 #define NFCT_TASKS_GOIDLE_TASKS_GOIDLE_Msk (0x1UL << NFCT_TASKS_GOIDLE_TASKS_GOIDLE_Pos) /*!< Bit mask of TASKS_GOIDLE field. */ 7554 #define NFCT_TASKS_GOIDLE_TASKS_GOIDLE_Trigger (0x1UL) /*!< Trigger task */ 7555 7556 /* Register: NFCT_TASKS_GOSLEEP */ 7557 /* Description: Force state machine to SLEEP_A state */ 7558 7559 /* Bit 0 : Force state machine to SLEEP_A state */ 7560 #define NFCT_TASKS_GOSLEEP_TASKS_GOSLEEP_Pos (0UL) /*!< Position of TASKS_GOSLEEP field. */ 7561 #define NFCT_TASKS_GOSLEEP_TASKS_GOSLEEP_Msk (0x1UL << NFCT_TASKS_GOSLEEP_TASKS_GOSLEEP_Pos) /*!< Bit mask of TASKS_GOSLEEP field. */ 7562 #define NFCT_TASKS_GOSLEEP_TASKS_GOSLEEP_Trigger (0x1UL) /*!< Trigger task */ 7563 7564 /* Register: NFCT_SUBSCRIBE_ACTIVATE */ 7565 /* Description: Subscribe configuration for task ACTIVATE */ 7566 7567 /* Bit 31 : */ 7568 #define NFCT_SUBSCRIBE_ACTIVATE_EN_Pos (31UL) /*!< Position of EN field. */ 7569 #define NFCT_SUBSCRIBE_ACTIVATE_EN_Msk (0x1UL << NFCT_SUBSCRIBE_ACTIVATE_EN_Pos) /*!< Bit mask of EN field. */ 7570 #define NFCT_SUBSCRIBE_ACTIVATE_EN_Disabled (0x0UL) /*!< Disable subscription */ 7571 #define NFCT_SUBSCRIBE_ACTIVATE_EN_Enabled (0x1UL) /*!< Enable subscription */ 7572 7573 /* Bits 7..0 : DPPI channel that task ACTIVATE will subscribe to */ 7574 #define NFCT_SUBSCRIBE_ACTIVATE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7575 #define NFCT_SUBSCRIBE_ACTIVATE_CHIDX_Msk (0xFFUL << NFCT_SUBSCRIBE_ACTIVATE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7576 7577 /* Register: NFCT_SUBSCRIBE_DISABLE */ 7578 /* Description: Subscribe configuration for task DISABLE */ 7579 7580 /* Bit 31 : */ 7581 #define NFCT_SUBSCRIBE_DISABLE_EN_Pos (31UL) /*!< Position of EN field. */ 7582 #define NFCT_SUBSCRIBE_DISABLE_EN_Msk (0x1UL << NFCT_SUBSCRIBE_DISABLE_EN_Pos) /*!< Bit mask of EN field. */ 7583 #define NFCT_SUBSCRIBE_DISABLE_EN_Disabled (0x0UL) /*!< Disable subscription */ 7584 #define NFCT_SUBSCRIBE_DISABLE_EN_Enabled (0x1UL) /*!< Enable subscription */ 7585 7586 /* Bits 7..0 : DPPI channel that task DISABLE will subscribe to */ 7587 #define NFCT_SUBSCRIBE_DISABLE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7588 #define NFCT_SUBSCRIBE_DISABLE_CHIDX_Msk (0xFFUL << NFCT_SUBSCRIBE_DISABLE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7589 7590 /* Register: NFCT_SUBSCRIBE_SENSE */ 7591 /* Description: Subscribe configuration for task SENSE */ 7592 7593 /* Bit 31 : */ 7594 #define NFCT_SUBSCRIBE_SENSE_EN_Pos (31UL) /*!< Position of EN field. */ 7595 #define NFCT_SUBSCRIBE_SENSE_EN_Msk (0x1UL << NFCT_SUBSCRIBE_SENSE_EN_Pos) /*!< Bit mask of EN field. */ 7596 #define NFCT_SUBSCRIBE_SENSE_EN_Disabled (0x0UL) /*!< Disable subscription */ 7597 #define NFCT_SUBSCRIBE_SENSE_EN_Enabled (0x1UL) /*!< Enable subscription */ 7598 7599 /* Bits 7..0 : DPPI channel that task SENSE will subscribe to */ 7600 #define NFCT_SUBSCRIBE_SENSE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7601 #define NFCT_SUBSCRIBE_SENSE_CHIDX_Msk (0xFFUL << NFCT_SUBSCRIBE_SENSE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7602 7603 /* Register: NFCT_SUBSCRIBE_STARTTX */ 7604 /* Description: Subscribe configuration for task STARTTX */ 7605 7606 /* Bit 31 : */ 7607 #define NFCT_SUBSCRIBE_STARTTX_EN_Pos (31UL) /*!< Position of EN field. */ 7608 #define NFCT_SUBSCRIBE_STARTTX_EN_Msk (0x1UL << NFCT_SUBSCRIBE_STARTTX_EN_Pos) /*!< Bit mask of EN field. */ 7609 #define NFCT_SUBSCRIBE_STARTTX_EN_Disabled (0x0UL) /*!< Disable subscription */ 7610 #define NFCT_SUBSCRIBE_STARTTX_EN_Enabled (0x1UL) /*!< Enable subscription */ 7611 7612 /* Bits 7..0 : DPPI channel that task STARTTX will subscribe to */ 7613 #define NFCT_SUBSCRIBE_STARTTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7614 #define NFCT_SUBSCRIBE_STARTTX_CHIDX_Msk (0xFFUL << NFCT_SUBSCRIBE_STARTTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7615 7616 /* Register: NFCT_SUBSCRIBE_ENABLERXDATA */ 7617 /* Description: Subscribe configuration for task ENABLERXDATA */ 7618 7619 /* Bit 31 : */ 7620 #define NFCT_SUBSCRIBE_ENABLERXDATA_EN_Pos (31UL) /*!< Position of EN field. */ 7621 #define NFCT_SUBSCRIBE_ENABLERXDATA_EN_Msk (0x1UL << NFCT_SUBSCRIBE_ENABLERXDATA_EN_Pos) /*!< Bit mask of EN field. */ 7622 #define NFCT_SUBSCRIBE_ENABLERXDATA_EN_Disabled (0x0UL) /*!< Disable subscription */ 7623 #define NFCT_SUBSCRIBE_ENABLERXDATA_EN_Enabled (0x1UL) /*!< Enable subscription */ 7624 7625 /* Bits 7..0 : DPPI channel that task ENABLERXDATA will subscribe to */ 7626 #define NFCT_SUBSCRIBE_ENABLERXDATA_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7627 #define NFCT_SUBSCRIBE_ENABLERXDATA_CHIDX_Msk (0xFFUL << NFCT_SUBSCRIBE_ENABLERXDATA_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7628 7629 /* Register: NFCT_SUBSCRIBE_GOIDLE */ 7630 /* Description: Subscribe configuration for task GOIDLE */ 7631 7632 /* Bit 31 : */ 7633 #define NFCT_SUBSCRIBE_GOIDLE_EN_Pos (31UL) /*!< Position of EN field. */ 7634 #define NFCT_SUBSCRIBE_GOIDLE_EN_Msk (0x1UL << NFCT_SUBSCRIBE_GOIDLE_EN_Pos) /*!< Bit mask of EN field. */ 7635 #define NFCT_SUBSCRIBE_GOIDLE_EN_Disabled (0x0UL) /*!< Disable subscription */ 7636 #define NFCT_SUBSCRIBE_GOIDLE_EN_Enabled (0x1UL) /*!< Enable subscription */ 7637 7638 /* Bits 7..0 : DPPI channel that task GOIDLE will subscribe to */ 7639 #define NFCT_SUBSCRIBE_GOIDLE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7640 #define NFCT_SUBSCRIBE_GOIDLE_CHIDX_Msk (0xFFUL << NFCT_SUBSCRIBE_GOIDLE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7641 7642 /* Register: NFCT_SUBSCRIBE_GOSLEEP */ 7643 /* Description: Subscribe configuration for task GOSLEEP */ 7644 7645 /* Bit 31 : */ 7646 #define NFCT_SUBSCRIBE_GOSLEEP_EN_Pos (31UL) /*!< Position of EN field. */ 7647 #define NFCT_SUBSCRIBE_GOSLEEP_EN_Msk (0x1UL << NFCT_SUBSCRIBE_GOSLEEP_EN_Pos) /*!< Bit mask of EN field. */ 7648 #define NFCT_SUBSCRIBE_GOSLEEP_EN_Disabled (0x0UL) /*!< Disable subscription */ 7649 #define NFCT_SUBSCRIBE_GOSLEEP_EN_Enabled (0x1UL) /*!< Enable subscription */ 7650 7651 /* Bits 7..0 : DPPI channel that task GOSLEEP will subscribe to */ 7652 #define NFCT_SUBSCRIBE_GOSLEEP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7653 #define NFCT_SUBSCRIBE_GOSLEEP_CHIDX_Msk (0xFFUL << NFCT_SUBSCRIBE_GOSLEEP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7654 7655 /* Register: NFCT_EVENTS_READY */ 7656 /* Description: The NFCT peripheral is ready to receive and send frames */ 7657 7658 /* Bit 0 : The NFCT peripheral is ready to receive and send frames */ 7659 #define NFCT_EVENTS_READY_EVENTS_READY_Pos (0UL) /*!< Position of EVENTS_READY field. */ 7660 #define NFCT_EVENTS_READY_EVENTS_READY_Msk (0x1UL << NFCT_EVENTS_READY_EVENTS_READY_Pos) /*!< Bit mask of EVENTS_READY field. */ 7661 #define NFCT_EVENTS_READY_EVENTS_READY_NotGenerated (0x0UL) /*!< Event not generated */ 7662 #define NFCT_EVENTS_READY_EVENTS_READY_Generated (0x1UL) /*!< Event generated */ 7663 7664 /* Register: NFCT_EVENTS_FIELDDETECTED */ 7665 /* Description: Remote NFC field detected */ 7666 7667 /* Bit 0 : Remote NFC field detected */ 7668 #define NFCT_EVENTS_FIELDDETECTED_EVENTS_FIELDDETECTED_Pos (0UL) /*!< Position of EVENTS_FIELDDETECTED field. */ 7669 #define NFCT_EVENTS_FIELDDETECTED_EVENTS_FIELDDETECTED_Msk (0x1UL << NFCT_EVENTS_FIELDDETECTED_EVENTS_FIELDDETECTED_Pos) /*!< Bit mask of EVENTS_FIELDDETECTED field. */ 7670 #define NFCT_EVENTS_FIELDDETECTED_EVENTS_FIELDDETECTED_NotGenerated (0x0UL) /*!< Event not generated */ 7671 #define NFCT_EVENTS_FIELDDETECTED_EVENTS_FIELDDETECTED_Generated (0x1UL) /*!< Event generated */ 7672 7673 /* Register: NFCT_EVENTS_FIELDLOST */ 7674 /* Description: Remote NFC field lost */ 7675 7676 /* Bit 0 : Remote NFC field lost */ 7677 #define NFCT_EVENTS_FIELDLOST_EVENTS_FIELDLOST_Pos (0UL) /*!< Position of EVENTS_FIELDLOST field. */ 7678 #define NFCT_EVENTS_FIELDLOST_EVENTS_FIELDLOST_Msk (0x1UL << NFCT_EVENTS_FIELDLOST_EVENTS_FIELDLOST_Pos) /*!< Bit mask of EVENTS_FIELDLOST field. */ 7679 #define NFCT_EVENTS_FIELDLOST_EVENTS_FIELDLOST_NotGenerated (0x0UL) /*!< Event not generated */ 7680 #define NFCT_EVENTS_FIELDLOST_EVENTS_FIELDLOST_Generated (0x1UL) /*!< Event generated */ 7681 7682 /* Register: NFCT_EVENTS_TXFRAMESTART */ 7683 /* Description: Marks the start of the first symbol of a transmitted frame */ 7684 7685 /* Bit 0 : Marks the start of the first symbol of a transmitted frame */ 7686 #define NFCT_EVENTS_TXFRAMESTART_EVENTS_TXFRAMESTART_Pos (0UL) /*!< Position of EVENTS_TXFRAMESTART field. */ 7687 #define NFCT_EVENTS_TXFRAMESTART_EVENTS_TXFRAMESTART_Msk (0x1UL << NFCT_EVENTS_TXFRAMESTART_EVENTS_TXFRAMESTART_Pos) /*!< Bit mask of EVENTS_TXFRAMESTART field. */ 7688 #define NFCT_EVENTS_TXFRAMESTART_EVENTS_TXFRAMESTART_NotGenerated (0x0UL) /*!< Event not generated */ 7689 #define NFCT_EVENTS_TXFRAMESTART_EVENTS_TXFRAMESTART_Generated (0x1UL) /*!< Event generated */ 7690 7691 /* Register: NFCT_EVENTS_TXFRAMEEND */ 7692 /* Description: Marks the end of the last transmitted on-air symbol of a frame */ 7693 7694 /* Bit 0 : Marks the end of the last transmitted on-air symbol of a frame */ 7695 #define NFCT_EVENTS_TXFRAMEEND_EVENTS_TXFRAMEEND_Pos (0UL) /*!< Position of EVENTS_TXFRAMEEND field. */ 7696 #define NFCT_EVENTS_TXFRAMEEND_EVENTS_TXFRAMEEND_Msk (0x1UL << NFCT_EVENTS_TXFRAMEEND_EVENTS_TXFRAMEEND_Pos) /*!< Bit mask of EVENTS_TXFRAMEEND field. */ 7697 #define NFCT_EVENTS_TXFRAMEEND_EVENTS_TXFRAMEEND_NotGenerated (0x0UL) /*!< Event not generated */ 7698 #define NFCT_EVENTS_TXFRAMEEND_EVENTS_TXFRAMEEND_Generated (0x1UL) /*!< Event generated */ 7699 7700 /* Register: NFCT_EVENTS_RXFRAMESTART */ 7701 /* Description: Marks the end of the first symbol of a received frame */ 7702 7703 /* Bit 0 : Marks the end of the first symbol of a received frame */ 7704 #define NFCT_EVENTS_RXFRAMESTART_EVENTS_RXFRAMESTART_Pos (0UL) /*!< Position of EVENTS_RXFRAMESTART field. */ 7705 #define NFCT_EVENTS_RXFRAMESTART_EVENTS_RXFRAMESTART_Msk (0x1UL << NFCT_EVENTS_RXFRAMESTART_EVENTS_RXFRAMESTART_Pos) /*!< Bit mask of EVENTS_RXFRAMESTART field. */ 7706 #define NFCT_EVENTS_RXFRAMESTART_EVENTS_RXFRAMESTART_NotGenerated (0x0UL) /*!< Event not generated */ 7707 #define NFCT_EVENTS_RXFRAMESTART_EVENTS_RXFRAMESTART_Generated (0x1UL) /*!< Event generated */ 7708 7709 /* Register: NFCT_EVENTS_RXFRAMEEND */ 7710 /* Description: Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer */ 7711 7712 /* Bit 0 : Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer */ 7713 #define NFCT_EVENTS_RXFRAMEEND_EVENTS_RXFRAMEEND_Pos (0UL) /*!< Position of EVENTS_RXFRAMEEND field. */ 7714 #define NFCT_EVENTS_RXFRAMEEND_EVENTS_RXFRAMEEND_Msk (0x1UL << NFCT_EVENTS_RXFRAMEEND_EVENTS_RXFRAMEEND_Pos) /*!< Bit mask of EVENTS_RXFRAMEEND field. */ 7715 #define NFCT_EVENTS_RXFRAMEEND_EVENTS_RXFRAMEEND_NotGenerated (0x0UL) /*!< Event not generated */ 7716 #define NFCT_EVENTS_RXFRAMEEND_EVENTS_RXFRAMEEND_Generated (0x1UL) /*!< Event generated */ 7717 7718 /* Register: NFCT_EVENTS_ERROR */ 7719 /* Description: NFC error reported. The ERRORSTATUS register contains details on the source of the error. */ 7720 7721 /* Bit 0 : NFC error reported. The ERRORSTATUS register contains details on the source of the error. */ 7722 #define NFCT_EVENTS_ERROR_EVENTS_ERROR_Pos (0UL) /*!< Position of EVENTS_ERROR field. */ 7723 #define NFCT_EVENTS_ERROR_EVENTS_ERROR_Msk (0x1UL << NFCT_EVENTS_ERROR_EVENTS_ERROR_Pos) /*!< Bit mask of EVENTS_ERROR field. */ 7724 #define NFCT_EVENTS_ERROR_EVENTS_ERROR_NotGenerated (0x0UL) /*!< Event not generated */ 7725 #define NFCT_EVENTS_ERROR_EVENTS_ERROR_Generated (0x1UL) /*!< Event generated */ 7726 7727 /* Register: NFCT_EVENTS_RXERROR */ 7728 /* Description: NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error. */ 7729 7730 /* Bit 0 : NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error. */ 7731 #define NFCT_EVENTS_RXERROR_EVENTS_RXERROR_Pos (0UL) /*!< Position of EVENTS_RXERROR field. */ 7732 #define NFCT_EVENTS_RXERROR_EVENTS_RXERROR_Msk (0x1UL << NFCT_EVENTS_RXERROR_EVENTS_RXERROR_Pos) /*!< Bit mask of EVENTS_RXERROR field. */ 7733 #define NFCT_EVENTS_RXERROR_EVENTS_RXERROR_NotGenerated (0x0UL) /*!< Event not generated */ 7734 #define NFCT_EVENTS_RXERROR_EVENTS_RXERROR_Generated (0x1UL) /*!< Event generated */ 7735 7736 /* Register: NFCT_EVENTS_ENDRX */ 7737 /* Description: RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. */ 7738 7739 /* Bit 0 : RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. */ 7740 #define NFCT_EVENTS_ENDRX_EVENTS_ENDRX_Pos (0UL) /*!< Position of EVENTS_ENDRX field. */ 7741 #define NFCT_EVENTS_ENDRX_EVENTS_ENDRX_Msk (0x1UL << NFCT_EVENTS_ENDRX_EVENTS_ENDRX_Pos) /*!< Bit mask of EVENTS_ENDRX field. */ 7742 #define NFCT_EVENTS_ENDRX_EVENTS_ENDRX_NotGenerated (0x0UL) /*!< Event not generated */ 7743 #define NFCT_EVENTS_ENDRX_EVENTS_ENDRX_Generated (0x1UL) /*!< Event generated */ 7744 7745 /* Register: NFCT_EVENTS_ENDTX */ 7746 /* Description: Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer */ 7747 7748 /* Bit 0 : Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer */ 7749 #define NFCT_EVENTS_ENDTX_EVENTS_ENDTX_Pos (0UL) /*!< Position of EVENTS_ENDTX field. */ 7750 #define NFCT_EVENTS_ENDTX_EVENTS_ENDTX_Msk (0x1UL << NFCT_EVENTS_ENDTX_EVENTS_ENDTX_Pos) /*!< Bit mask of EVENTS_ENDTX field. */ 7751 #define NFCT_EVENTS_ENDTX_EVENTS_ENDTX_NotGenerated (0x0UL) /*!< Event not generated */ 7752 #define NFCT_EVENTS_ENDTX_EVENTS_ENDTX_Generated (0x1UL) /*!< Event generated */ 7753 7754 /* Register: NFCT_EVENTS_AUTOCOLRESSTARTED */ 7755 /* Description: Auto collision resolution process has started */ 7756 7757 /* Bit 0 : Auto collision resolution process has started */ 7758 #define NFCT_EVENTS_AUTOCOLRESSTARTED_EVENTS_AUTOCOLRESSTARTED_Pos (0UL) /*!< Position of EVENTS_AUTOCOLRESSTARTED field. */ 7759 #define NFCT_EVENTS_AUTOCOLRESSTARTED_EVENTS_AUTOCOLRESSTARTED_Msk (0x1UL << NFCT_EVENTS_AUTOCOLRESSTARTED_EVENTS_AUTOCOLRESSTARTED_Pos) /*!< Bit mask of EVENTS_AUTOCOLRESSTARTED field. */ 7760 #define NFCT_EVENTS_AUTOCOLRESSTARTED_EVENTS_AUTOCOLRESSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 7761 #define NFCT_EVENTS_AUTOCOLRESSTARTED_EVENTS_AUTOCOLRESSTARTED_Generated (0x1UL) /*!< Event generated */ 7762 7763 /* Register: NFCT_EVENTS_COLLISION */ 7764 /* Description: NFC auto collision resolution error reported. */ 7765 7766 /* Bit 0 : NFC auto collision resolution error reported. */ 7767 #define NFCT_EVENTS_COLLISION_EVENTS_COLLISION_Pos (0UL) /*!< Position of EVENTS_COLLISION field. */ 7768 #define NFCT_EVENTS_COLLISION_EVENTS_COLLISION_Msk (0x1UL << NFCT_EVENTS_COLLISION_EVENTS_COLLISION_Pos) /*!< Bit mask of EVENTS_COLLISION field. */ 7769 #define NFCT_EVENTS_COLLISION_EVENTS_COLLISION_NotGenerated (0x0UL) /*!< Event not generated */ 7770 #define NFCT_EVENTS_COLLISION_EVENTS_COLLISION_Generated (0x1UL) /*!< Event generated */ 7771 7772 /* Register: NFCT_EVENTS_SELECTED */ 7773 /* Description: NFC auto collision resolution successfully completed */ 7774 7775 /* Bit 0 : NFC auto collision resolution successfully completed */ 7776 #define NFCT_EVENTS_SELECTED_EVENTS_SELECTED_Pos (0UL) /*!< Position of EVENTS_SELECTED field. */ 7777 #define NFCT_EVENTS_SELECTED_EVENTS_SELECTED_Msk (0x1UL << NFCT_EVENTS_SELECTED_EVENTS_SELECTED_Pos) /*!< Bit mask of EVENTS_SELECTED field. */ 7778 #define NFCT_EVENTS_SELECTED_EVENTS_SELECTED_NotGenerated (0x0UL) /*!< Event not generated */ 7779 #define NFCT_EVENTS_SELECTED_EVENTS_SELECTED_Generated (0x1UL) /*!< Event generated */ 7780 7781 /* Register: NFCT_EVENTS_STARTED */ 7782 /* Description: EasyDMA is ready to receive or send frames. */ 7783 7784 /* Bit 0 : EasyDMA is ready to receive or send frames. */ 7785 #define NFCT_EVENTS_STARTED_EVENTS_STARTED_Pos (0UL) /*!< Position of EVENTS_STARTED field. */ 7786 #define NFCT_EVENTS_STARTED_EVENTS_STARTED_Msk (0x1UL << NFCT_EVENTS_STARTED_EVENTS_STARTED_Pos) /*!< Bit mask of EVENTS_STARTED field. */ 7787 #define NFCT_EVENTS_STARTED_EVENTS_STARTED_NotGenerated (0x0UL) /*!< Event not generated */ 7788 #define NFCT_EVENTS_STARTED_EVENTS_STARTED_Generated (0x1UL) /*!< Event generated */ 7789 7790 /* Register: NFCT_PUBLISH_READY */ 7791 /* Description: Publish configuration for event READY */ 7792 7793 /* Bit 31 : */ 7794 #define NFCT_PUBLISH_READY_EN_Pos (31UL) /*!< Position of EN field. */ 7795 #define NFCT_PUBLISH_READY_EN_Msk (0x1UL << NFCT_PUBLISH_READY_EN_Pos) /*!< Bit mask of EN field. */ 7796 #define NFCT_PUBLISH_READY_EN_Disabled (0x0UL) /*!< Disable publishing */ 7797 #define NFCT_PUBLISH_READY_EN_Enabled (0x1UL) /*!< Enable publishing */ 7798 7799 /* Bits 7..0 : DPPI channel that event READY will publish to */ 7800 #define NFCT_PUBLISH_READY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7801 #define NFCT_PUBLISH_READY_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_READY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7802 7803 /* Register: NFCT_PUBLISH_FIELDDETECTED */ 7804 /* Description: Publish configuration for event FIELDDETECTED */ 7805 7806 /* Bit 31 : */ 7807 #define NFCT_PUBLISH_FIELDDETECTED_EN_Pos (31UL) /*!< Position of EN field. */ 7808 #define NFCT_PUBLISH_FIELDDETECTED_EN_Msk (0x1UL << NFCT_PUBLISH_FIELDDETECTED_EN_Pos) /*!< Bit mask of EN field. */ 7809 #define NFCT_PUBLISH_FIELDDETECTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 7810 #define NFCT_PUBLISH_FIELDDETECTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 7811 7812 /* Bits 7..0 : DPPI channel that event FIELDDETECTED will publish to */ 7813 #define NFCT_PUBLISH_FIELDDETECTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7814 #define NFCT_PUBLISH_FIELDDETECTED_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_FIELDDETECTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7815 7816 /* Register: NFCT_PUBLISH_FIELDLOST */ 7817 /* Description: Publish configuration for event FIELDLOST */ 7818 7819 /* Bit 31 : */ 7820 #define NFCT_PUBLISH_FIELDLOST_EN_Pos (31UL) /*!< Position of EN field. */ 7821 #define NFCT_PUBLISH_FIELDLOST_EN_Msk (0x1UL << NFCT_PUBLISH_FIELDLOST_EN_Pos) /*!< Bit mask of EN field. */ 7822 #define NFCT_PUBLISH_FIELDLOST_EN_Disabled (0x0UL) /*!< Disable publishing */ 7823 #define NFCT_PUBLISH_FIELDLOST_EN_Enabled (0x1UL) /*!< Enable publishing */ 7824 7825 /* Bits 7..0 : DPPI channel that event FIELDLOST will publish to */ 7826 #define NFCT_PUBLISH_FIELDLOST_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7827 #define NFCT_PUBLISH_FIELDLOST_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_FIELDLOST_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7828 7829 /* Register: NFCT_PUBLISH_TXFRAMESTART */ 7830 /* Description: Publish configuration for event TXFRAMESTART */ 7831 7832 /* Bit 31 : */ 7833 #define NFCT_PUBLISH_TXFRAMESTART_EN_Pos (31UL) /*!< Position of EN field. */ 7834 #define NFCT_PUBLISH_TXFRAMESTART_EN_Msk (0x1UL << NFCT_PUBLISH_TXFRAMESTART_EN_Pos) /*!< Bit mask of EN field. */ 7835 #define NFCT_PUBLISH_TXFRAMESTART_EN_Disabled (0x0UL) /*!< Disable publishing */ 7836 #define NFCT_PUBLISH_TXFRAMESTART_EN_Enabled (0x1UL) /*!< Enable publishing */ 7837 7838 /* Bits 7..0 : DPPI channel that event TXFRAMESTART will publish to */ 7839 #define NFCT_PUBLISH_TXFRAMESTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7840 #define NFCT_PUBLISH_TXFRAMESTART_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_TXFRAMESTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7841 7842 /* Register: NFCT_PUBLISH_TXFRAMEEND */ 7843 /* Description: Publish configuration for event TXFRAMEEND */ 7844 7845 /* Bit 31 : */ 7846 #define NFCT_PUBLISH_TXFRAMEEND_EN_Pos (31UL) /*!< Position of EN field. */ 7847 #define NFCT_PUBLISH_TXFRAMEEND_EN_Msk (0x1UL << NFCT_PUBLISH_TXFRAMEEND_EN_Pos) /*!< Bit mask of EN field. */ 7848 #define NFCT_PUBLISH_TXFRAMEEND_EN_Disabled (0x0UL) /*!< Disable publishing */ 7849 #define NFCT_PUBLISH_TXFRAMEEND_EN_Enabled (0x1UL) /*!< Enable publishing */ 7850 7851 /* Bits 7..0 : DPPI channel that event TXFRAMEEND will publish to */ 7852 #define NFCT_PUBLISH_TXFRAMEEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7853 #define NFCT_PUBLISH_TXFRAMEEND_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_TXFRAMEEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7854 7855 /* Register: NFCT_PUBLISH_RXFRAMESTART */ 7856 /* Description: Publish configuration for event RXFRAMESTART */ 7857 7858 /* Bit 31 : */ 7859 #define NFCT_PUBLISH_RXFRAMESTART_EN_Pos (31UL) /*!< Position of EN field. */ 7860 #define NFCT_PUBLISH_RXFRAMESTART_EN_Msk (0x1UL << NFCT_PUBLISH_RXFRAMESTART_EN_Pos) /*!< Bit mask of EN field. */ 7861 #define NFCT_PUBLISH_RXFRAMESTART_EN_Disabled (0x0UL) /*!< Disable publishing */ 7862 #define NFCT_PUBLISH_RXFRAMESTART_EN_Enabled (0x1UL) /*!< Enable publishing */ 7863 7864 /* Bits 7..0 : DPPI channel that event RXFRAMESTART will publish to */ 7865 #define NFCT_PUBLISH_RXFRAMESTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7866 #define NFCT_PUBLISH_RXFRAMESTART_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_RXFRAMESTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7867 7868 /* Register: NFCT_PUBLISH_RXFRAMEEND */ 7869 /* Description: Publish configuration for event RXFRAMEEND */ 7870 7871 /* Bit 31 : */ 7872 #define NFCT_PUBLISH_RXFRAMEEND_EN_Pos (31UL) /*!< Position of EN field. */ 7873 #define NFCT_PUBLISH_RXFRAMEEND_EN_Msk (0x1UL << NFCT_PUBLISH_RXFRAMEEND_EN_Pos) /*!< Bit mask of EN field. */ 7874 #define NFCT_PUBLISH_RXFRAMEEND_EN_Disabled (0x0UL) /*!< Disable publishing */ 7875 #define NFCT_PUBLISH_RXFRAMEEND_EN_Enabled (0x1UL) /*!< Enable publishing */ 7876 7877 /* Bits 7..0 : DPPI channel that event RXFRAMEEND will publish to */ 7878 #define NFCT_PUBLISH_RXFRAMEEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7879 #define NFCT_PUBLISH_RXFRAMEEND_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_RXFRAMEEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7880 7881 /* Register: NFCT_PUBLISH_ERROR */ 7882 /* Description: Publish configuration for event ERROR */ 7883 7884 /* Bit 31 : */ 7885 #define NFCT_PUBLISH_ERROR_EN_Pos (31UL) /*!< Position of EN field. */ 7886 #define NFCT_PUBLISH_ERROR_EN_Msk (0x1UL << NFCT_PUBLISH_ERROR_EN_Pos) /*!< Bit mask of EN field. */ 7887 #define NFCT_PUBLISH_ERROR_EN_Disabled (0x0UL) /*!< Disable publishing */ 7888 #define NFCT_PUBLISH_ERROR_EN_Enabled (0x1UL) /*!< Enable publishing */ 7889 7890 /* Bits 7..0 : DPPI channel that event ERROR will publish to */ 7891 #define NFCT_PUBLISH_ERROR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7892 #define NFCT_PUBLISH_ERROR_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_ERROR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7893 7894 /* Register: NFCT_PUBLISH_RXERROR */ 7895 /* Description: Publish configuration for event RXERROR */ 7896 7897 /* Bit 31 : */ 7898 #define NFCT_PUBLISH_RXERROR_EN_Pos (31UL) /*!< Position of EN field. */ 7899 #define NFCT_PUBLISH_RXERROR_EN_Msk (0x1UL << NFCT_PUBLISH_RXERROR_EN_Pos) /*!< Bit mask of EN field. */ 7900 #define NFCT_PUBLISH_RXERROR_EN_Disabled (0x0UL) /*!< Disable publishing */ 7901 #define NFCT_PUBLISH_RXERROR_EN_Enabled (0x1UL) /*!< Enable publishing */ 7902 7903 /* Bits 7..0 : DPPI channel that event RXERROR will publish to */ 7904 #define NFCT_PUBLISH_RXERROR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7905 #define NFCT_PUBLISH_RXERROR_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_RXERROR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7906 7907 /* Register: NFCT_PUBLISH_ENDRX */ 7908 /* Description: Publish configuration for event ENDRX */ 7909 7910 /* Bit 31 : */ 7911 #define NFCT_PUBLISH_ENDRX_EN_Pos (31UL) /*!< Position of EN field. */ 7912 #define NFCT_PUBLISH_ENDRX_EN_Msk (0x1UL << NFCT_PUBLISH_ENDRX_EN_Pos) /*!< Bit mask of EN field. */ 7913 #define NFCT_PUBLISH_ENDRX_EN_Disabled (0x0UL) /*!< Disable publishing */ 7914 #define NFCT_PUBLISH_ENDRX_EN_Enabled (0x1UL) /*!< Enable publishing */ 7915 7916 /* Bits 7..0 : DPPI channel that event ENDRX will publish to */ 7917 #define NFCT_PUBLISH_ENDRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7918 #define NFCT_PUBLISH_ENDRX_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_ENDRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7919 7920 /* Register: NFCT_PUBLISH_ENDTX */ 7921 /* Description: Publish configuration for event ENDTX */ 7922 7923 /* Bit 31 : */ 7924 #define NFCT_PUBLISH_ENDTX_EN_Pos (31UL) /*!< Position of EN field. */ 7925 #define NFCT_PUBLISH_ENDTX_EN_Msk (0x1UL << NFCT_PUBLISH_ENDTX_EN_Pos) /*!< Bit mask of EN field. */ 7926 #define NFCT_PUBLISH_ENDTX_EN_Disabled (0x0UL) /*!< Disable publishing */ 7927 #define NFCT_PUBLISH_ENDTX_EN_Enabled (0x1UL) /*!< Enable publishing */ 7928 7929 /* Bits 7..0 : DPPI channel that event ENDTX will publish to */ 7930 #define NFCT_PUBLISH_ENDTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7931 #define NFCT_PUBLISH_ENDTX_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_ENDTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7932 7933 /* Register: NFCT_PUBLISH_AUTOCOLRESSTARTED */ 7934 /* Description: Publish configuration for event AUTOCOLRESSTARTED */ 7935 7936 /* Bit 31 : */ 7937 #define NFCT_PUBLISH_AUTOCOLRESSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 7938 #define NFCT_PUBLISH_AUTOCOLRESSTARTED_EN_Msk (0x1UL << NFCT_PUBLISH_AUTOCOLRESSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 7939 #define NFCT_PUBLISH_AUTOCOLRESSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 7940 #define NFCT_PUBLISH_AUTOCOLRESSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 7941 7942 /* Bits 7..0 : DPPI channel that event AUTOCOLRESSTARTED will publish to */ 7943 #define NFCT_PUBLISH_AUTOCOLRESSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7944 #define NFCT_PUBLISH_AUTOCOLRESSTARTED_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_AUTOCOLRESSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7945 7946 /* Register: NFCT_PUBLISH_COLLISION */ 7947 /* Description: Publish configuration for event COLLISION */ 7948 7949 /* Bit 31 : */ 7950 #define NFCT_PUBLISH_COLLISION_EN_Pos (31UL) /*!< Position of EN field. */ 7951 #define NFCT_PUBLISH_COLLISION_EN_Msk (0x1UL << NFCT_PUBLISH_COLLISION_EN_Pos) /*!< Bit mask of EN field. */ 7952 #define NFCT_PUBLISH_COLLISION_EN_Disabled (0x0UL) /*!< Disable publishing */ 7953 #define NFCT_PUBLISH_COLLISION_EN_Enabled (0x1UL) /*!< Enable publishing */ 7954 7955 /* Bits 7..0 : DPPI channel that event COLLISION will publish to */ 7956 #define NFCT_PUBLISH_COLLISION_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7957 #define NFCT_PUBLISH_COLLISION_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_COLLISION_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7958 7959 /* Register: NFCT_PUBLISH_SELECTED */ 7960 /* Description: Publish configuration for event SELECTED */ 7961 7962 /* Bit 31 : */ 7963 #define NFCT_PUBLISH_SELECTED_EN_Pos (31UL) /*!< Position of EN field. */ 7964 #define NFCT_PUBLISH_SELECTED_EN_Msk (0x1UL << NFCT_PUBLISH_SELECTED_EN_Pos) /*!< Bit mask of EN field. */ 7965 #define NFCT_PUBLISH_SELECTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 7966 #define NFCT_PUBLISH_SELECTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 7967 7968 /* Bits 7..0 : DPPI channel that event SELECTED will publish to */ 7969 #define NFCT_PUBLISH_SELECTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7970 #define NFCT_PUBLISH_SELECTED_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_SELECTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7971 7972 /* Register: NFCT_PUBLISH_STARTED */ 7973 /* Description: Publish configuration for event STARTED */ 7974 7975 /* Bit 31 : */ 7976 #define NFCT_PUBLISH_STARTED_EN_Pos (31UL) /*!< Position of EN field. */ 7977 #define NFCT_PUBLISH_STARTED_EN_Msk (0x1UL << NFCT_PUBLISH_STARTED_EN_Pos) /*!< Bit mask of EN field. */ 7978 #define NFCT_PUBLISH_STARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 7979 #define NFCT_PUBLISH_STARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 7980 7981 /* Bits 7..0 : DPPI channel that event STARTED will publish to */ 7982 #define NFCT_PUBLISH_STARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 7983 #define NFCT_PUBLISH_STARTED_CHIDX_Msk (0xFFUL << NFCT_PUBLISH_STARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 7984 7985 /* Register: NFCT_SHORTS */ 7986 /* Description: Shortcuts between local events and tasks */ 7987 7988 /* Bit 5 : Shortcut between event TXFRAMEEND and task ENABLERXDATA */ 7989 #define NFCT_SHORTS_TXFRAMEEND_ENABLERXDATA_Pos (5UL) /*!< Position of TXFRAMEEND_ENABLERXDATA field. */ 7990 #define NFCT_SHORTS_TXFRAMEEND_ENABLERXDATA_Msk (0x1UL << NFCT_SHORTS_TXFRAMEEND_ENABLERXDATA_Pos) /*!< Bit mask of TXFRAMEEND_ENABLERXDATA field. */ 7991 #define NFCT_SHORTS_TXFRAMEEND_ENABLERXDATA_Disabled (0x0UL) /*!< Disable shortcut */ 7992 #define NFCT_SHORTS_TXFRAMEEND_ENABLERXDATA_Enabled (0x1UL) /*!< Enable shortcut */ 7993 7994 /* Bit 1 : Shortcut between event FIELDLOST and task SENSE */ 7995 #define NFCT_SHORTS_FIELDLOST_SENSE_Pos (1UL) /*!< Position of FIELDLOST_SENSE field. */ 7996 #define NFCT_SHORTS_FIELDLOST_SENSE_Msk (0x1UL << NFCT_SHORTS_FIELDLOST_SENSE_Pos) /*!< Bit mask of FIELDLOST_SENSE field. */ 7997 #define NFCT_SHORTS_FIELDLOST_SENSE_Disabled (0x0UL) /*!< Disable shortcut */ 7998 #define NFCT_SHORTS_FIELDLOST_SENSE_Enabled (0x1UL) /*!< Enable shortcut */ 7999 8000 /* Bit 0 : Shortcut between event FIELDDETECTED and task ACTIVATE */ 8001 #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Pos (0UL) /*!< Position of FIELDDETECTED_ACTIVATE field. */ 8002 #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Msk (0x1UL << NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Pos) /*!< Bit mask of FIELDDETECTED_ACTIVATE field. */ 8003 #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Disabled (0x0UL) /*!< Disable shortcut */ 8004 #define NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Enabled (0x1UL) /*!< Enable shortcut */ 8005 8006 /* Register: NFCT_INTEN */ 8007 /* Description: Enable or disable interrupt */ 8008 8009 /* Bit 20 : Enable or disable interrupt for event STARTED */ 8010 #define NFCT_INTEN_STARTED_Pos (20UL) /*!< Position of STARTED field. */ 8011 #define NFCT_INTEN_STARTED_Msk (0x1UL << NFCT_INTEN_STARTED_Pos) /*!< Bit mask of STARTED field. */ 8012 #define NFCT_INTEN_STARTED_Disabled (0x0UL) /*!< Disable */ 8013 #define NFCT_INTEN_STARTED_Enabled (0x1UL) /*!< Enable */ 8014 8015 /* Bit 19 : Enable or disable interrupt for event SELECTED */ 8016 #define NFCT_INTEN_SELECTED_Pos (19UL) /*!< Position of SELECTED field. */ 8017 #define NFCT_INTEN_SELECTED_Msk (0x1UL << NFCT_INTEN_SELECTED_Pos) /*!< Bit mask of SELECTED field. */ 8018 #define NFCT_INTEN_SELECTED_Disabled (0x0UL) /*!< Disable */ 8019 #define NFCT_INTEN_SELECTED_Enabled (0x1UL) /*!< Enable */ 8020 8021 /* Bit 18 : Enable or disable interrupt for event COLLISION */ 8022 #define NFCT_INTEN_COLLISION_Pos (18UL) /*!< Position of COLLISION field. */ 8023 #define NFCT_INTEN_COLLISION_Msk (0x1UL << NFCT_INTEN_COLLISION_Pos) /*!< Bit mask of COLLISION field. */ 8024 #define NFCT_INTEN_COLLISION_Disabled (0x0UL) /*!< Disable */ 8025 #define NFCT_INTEN_COLLISION_Enabled (0x1UL) /*!< Enable */ 8026 8027 /* Bit 14 : Enable or disable interrupt for event AUTOCOLRESSTARTED */ 8028 #define NFCT_INTEN_AUTOCOLRESSTARTED_Pos (14UL) /*!< Position of AUTOCOLRESSTARTED field. */ 8029 #define NFCT_INTEN_AUTOCOLRESSTARTED_Msk (0x1UL << NFCT_INTEN_AUTOCOLRESSTARTED_Pos) /*!< Bit mask of AUTOCOLRESSTARTED field. */ 8030 #define NFCT_INTEN_AUTOCOLRESSTARTED_Disabled (0x0UL) /*!< Disable */ 8031 #define NFCT_INTEN_AUTOCOLRESSTARTED_Enabled (0x1UL) /*!< Enable */ 8032 8033 /* Bit 12 : Enable or disable interrupt for event ENDTX */ 8034 #define NFCT_INTEN_ENDTX_Pos (12UL) /*!< Position of ENDTX field. */ 8035 #define NFCT_INTEN_ENDTX_Msk (0x1UL << NFCT_INTEN_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 8036 #define NFCT_INTEN_ENDTX_Disabled (0x0UL) /*!< Disable */ 8037 #define NFCT_INTEN_ENDTX_Enabled (0x1UL) /*!< Enable */ 8038 8039 /* Bit 11 : Enable or disable interrupt for event ENDRX */ 8040 #define NFCT_INTEN_ENDRX_Pos (11UL) /*!< Position of ENDRX field. */ 8041 #define NFCT_INTEN_ENDRX_Msk (0x1UL << NFCT_INTEN_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 8042 #define NFCT_INTEN_ENDRX_Disabled (0x0UL) /*!< Disable */ 8043 #define NFCT_INTEN_ENDRX_Enabled (0x1UL) /*!< Enable */ 8044 8045 /* Bit 10 : Enable or disable interrupt for event RXERROR */ 8046 #define NFCT_INTEN_RXERROR_Pos (10UL) /*!< Position of RXERROR field. */ 8047 #define NFCT_INTEN_RXERROR_Msk (0x1UL << NFCT_INTEN_RXERROR_Pos) /*!< Bit mask of RXERROR field. */ 8048 #define NFCT_INTEN_RXERROR_Disabled (0x0UL) /*!< Disable */ 8049 #define NFCT_INTEN_RXERROR_Enabled (0x1UL) /*!< Enable */ 8050 8051 /* Bit 7 : Enable or disable interrupt for event ERROR */ 8052 #define NFCT_INTEN_ERROR_Pos (7UL) /*!< Position of ERROR field. */ 8053 #define NFCT_INTEN_ERROR_Msk (0x1UL << NFCT_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */ 8054 #define NFCT_INTEN_ERROR_Disabled (0x0UL) /*!< Disable */ 8055 #define NFCT_INTEN_ERROR_Enabled (0x1UL) /*!< Enable */ 8056 8057 /* Bit 6 : Enable or disable interrupt for event RXFRAMEEND */ 8058 #define NFCT_INTEN_RXFRAMEEND_Pos (6UL) /*!< Position of RXFRAMEEND field. */ 8059 #define NFCT_INTEN_RXFRAMEEND_Msk (0x1UL << NFCT_INTEN_RXFRAMEEND_Pos) /*!< Bit mask of RXFRAMEEND field. */ 8060 #define NFCT_INTEN_RXFRAMEEND_Disabled (0x0UL) /*!< Disable */ 8061 #define NFCT_INTEN_RXFRAMEEND_Enabled (0x1UL) /*!< Enable */ 8062 8063 /* Bit 5 : Enable or disable interrupt for event RXFRAMESTART */ 8064 #define NFCT_INTEN_RXFRAMESTART_Pos (5UL) /*!< Position of RXFRAMESTART field. */ 8065 #define NFCT_INTEN_RXFRAMESTART_Msk (0x1UL << NFCT_INTEN_RXFRAMESTART_Pos) /*!< Bit mask of RXFRAMESTART field. */ 8066 #define NFCT_INTEN_RXFRAMESTART_Disabled (0x0UL) /*!< Disable */ 8067 #define NFCT_INTEN_RXFRAMESTART_Enabled (0x1UL) /*!< Enable */ 8068 8069 /* Bit 4 : Enable or disable interrupt for event TXFRAMEEND */ 8070 #define NFCT_INTEN_TXFRAMEEND_Pos (4UL) /*!< Position of TXFRAMEEND field. */ 8071 #define NFCT_INTEN_TXFRAMEEND_Msk (0x1UL << NFCT_INTEN_TXFRAMEEND_Pos) /*!< Bit mask of TXFRAMEEND field. */ 8072 #define NFCT_INTEN_TXFRAMEEND_Disabled (0x0UL) /*!< Disable */ 8073 #define NFCT_INTEN_TXFRAMEEND_Enabled (0x1UL) /*!< Enable */ 8074 8075 /* Bit 3 : Enable or disable interrupt for event TXFRAMESTART */ 8076 #define NFCT_INTEN_TXFRAMESTART_Pos (3UL) /*!< Position of TXFRAMESTART field. */ 8077 #define NFCT_INTEN_TXFRAMESTART_Msk (0x1UL << NFCT_INTEN_TXFRAMESTART_Pos) /*!< Bit mask of TXFRAMESTART field. */ 8078 #define NFCT_INTEN_TXFRAMESTART_Disabled (0x0UL) /*!< Disable */ 8079 #define NFCT_INTEN_TXFRAMESTART_Enabled (0x1UL) /*!< Enable */ 8080 8081 /* Bit 2 : Enable or disable interrupt for event FIELDLOST */ 8082 #define NFCT_INTEN_FIELDLOST_Pos (2UL) /*!< Position of FIELDLOST field. */ 8083 #define NFCT_INTEN_FIELDLOST_Msk (0x1UL << NFCT_INTEN_FIELDLOST_Pos) /*!< Bit mask of FIELDLOST field. */ 8084 #define NFCT_INTEN_FIELDLOST_Disabled (0x0UL) /*!< Disable */ 8085 #define NFCT_INTEN_FIELDLOST_Enabled (0x1UL) /*!< Enable */ 8086 8087 /* Bit 1 : Enable or disable interrupt for event FIELDDETECTED */ 8088 #define NFCT_INTEN_FIELDDETECTED_Pos (1UL) /*!< Position of FIELDDETECTED field. */ 8089 #define NFCT_INTEN_FIELDDETECTED_Msk (0x1UL << NFCT_INTEN_FIELDDETECTED_Pos) /*!< Bit mask of FIELDDETECTED field. */ 8090 #define NFCT_INTEN_FIELDDETECTED_Disabled (0x0UL) /*!< Disable */ 8091 #define NFCT_INTEN_FIELDDETECTED_Enabled (0x1UL) /*!< Enable */ 8092 8093 /* Bit 0 : Enable or disable interrupt for event READY */ 8094 #define NFCT_INTEN_READY_Pos (0UL) /*!< Position of READY field. */ 8095 #define NFCT_INTEN_READY_Msk (0x1UL << NFCT_INTEN_READY_Pos) /*!< Bit mask of READY field. */ 8096 #define NFCT_INTEN_READY_Disabled (0x0UL) /*!< Disable */ 8097 #define NFCT_INTEN_READY_Enabled (0x1UL) /*!< Enable */ 8098 8099 /* Register: NFCT_INTENSET */ 8100 /* Description: Enable interrupt */ 8101 8102 /* Bit 20 : Write '1' to enable interrupt for event STARTED */ 8103 #define NFCT_INTENSET_STARTED_Pos (20UL) /*!< Position of STARTED field. */ 8104 #define NFCT_INTENSET_STARTED_Msk (0x1UL << NFCT_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */ 8105 #define NFCT_INTENSET_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 8106 #define NFCT_INTENSET_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 8107 #define NFCT_INTENSET_STARTED_Set (0x1UL) /*!< Enable */ 8108 8109 /* Bit 19 : Write '1' to enable interrupt for event SELECTED */ 8110 #define NFCT_INTENSET_SELECTED_Pos (19UL) /*!< Position of SELECTED field. */ 8111 #define NFCT_INTENSET_SELECTED_Msk (0x1UL << NFCT_INTENSET_SELECTED_Pos) /*!< Bit mask of SELECTED field. */ 8112 #define NFCT_INTENSET_SELECTED_Disabled (0x0UL) /*!< Read: Disabled */ 8113 #define NFCT_INTENSET_SELECTED_Enabled (0x1UL) /*!< Read: Enabled */ 8114 #define NFCT_INTENSET_SELECTED_Set (0x1UL) /*!< Enable */ 8115 8116 /* Bit 18 : Write '1' to enable interrupt for event COLLISION */ 8117 #define NFCT_INTENSET_COLLISION_Pos (18UL) /*!< Position of COLLISION field. */ 8118 #define NFCT_INTENSET_COLLISION_Msk (0x1UL << NFCT_INTENSET_COLLISION_Pos) /*!< Bit mask of COLLISION field. */ 8119 #define NFCT_INTENSET_COLLISION_Disabled (0x0UL) /*!< Read: Disabled */ 8120 #define NFCT_INTENSET_COLLISION_Enabled (0x1UL) /*!< Read: Enabled */ 8121 #define NFCT_INTENSET_COLLISION_Set (0x1UL) /*!< Enable */ 8122 8123 /* Bit 14 : Write '1' to enable interrupt for event AUTOCOLRESSTARTED */ 8124 #define NFCT_INTENSET_AUTOCOLRESSTARTED_Pos (14UL) /*!< Position of AUTOCOLRESSTARTED field. */ 8125 #define NFCT_INTENSET_AUTOCOLRESSTARTED_Msk (0x1UL << NFCT_INTENSET_AUTOCOLRESSTARTED_Pos) /*!< Bit mask of AUTOCOLRESSTARTED field. */ 8126 #define NFCT_INTENSET_AUTOCOLRESSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 8127 #define NFCT_INTENSET_AUTOCOLRESSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 8128 #define NFCT_INTENSET_AUTOCOLRESSTARTED_Set (0x1UL) /*!< Enable */ 8129 8130 /* Bit 12 : Write '1' to enable interrupt for event ENDTX */ 8131 #define NFCT_INTENSET_ENDTX_Pos (12UL) /*!< Position of ENDTX field. */ 8132 #define NFCT_INTENSET_ENDTX_Msk (0x1UL << NFCT_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 8133 #define NFCT_INTENSET_ENDTX_Disabled (0x0UL) /*!< Read: Disabled */ 8134 #define NFCT_INTENSET_ENDTX_Enabled (0x1UL) /*!< Read: Enabled */ 8135 #define NFCT_INTENSET_ENDTX_Set (0x1UL) /*!< Enable */ 8136 8137 /* Bit 11 : Write '1' to enable interrupt for event ENDRX */ 8138 #define NFCT_INTENSET_ENDRX_Pos (11UL) /*!< Position of ENDRX field. */ 8139 #define NFCT_INTENSET_ENDRX_Msk (0x1UL << NFCT_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 8140 #define NFCT_INTENSET_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 8141 #define NFCT_INTENSET_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 8142 #define NFCT_INTENSET_ENDRX_Set (0x1UL) /*!< Enable */ 8143 8144 /* Bit 10 : Write '1' to enable interrupt for event RXERROR */ 8145 #define NFCT_INTENSET_RXERROR_Pos (10UL) /*!< Position of RXERROR field. */ 8146 #define NFCT_INTENSET_RXERROR_Msk (0x1UL << NFCT_INTENSET_RXERROR_Pos) /*!< Bit mask of RXERROR field. */ 8147 #define NFCT_INTENSET_RXERROR_Disabled (0x0UL) /*!< Read: Disabled */ 8148 #define NFCT_INTENSET_RXERROR_Enabled (0x1UL) /*!< Read: Enabled */ 8149 #define NFCT_INTENSET_RXERROR_Set (0x1UL) /*!< Enable */ 8150 8151 /* Bit 7 : Write '1' to enable interrupt for event ERROR */ 8152 #define NFCT_INTENSET_ERROR_Pos (7UL) /*!< Position of ERROR field. */ 8153 #define NFCT_INTENSET_ERROR_Msk (0x1UL << NFCT_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 8154 #define NFCT_INTENSET_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 8155 #define NFCT_INTENSET_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 8156 #define NFCT_INTENSET_ERROR_Set (0x1UL) /*!< Enable */ 8157 8158 /* Bit 6 : Write '1' to enable interrupt for event RXFRAMEEND */ 8159 #define NFCT_INTENSET_RXFRAMEEND_Pos (6UL) /*!< Position of RXFRAMEEND field. */ 8160 #define NFCT_INTENSET_RXFRAMEEND_Msk (0x1UL << NFCT_INTENSET_RXFRAMEEND_Pos) /*!< Bit mask of RXFRAMEEND field. */ 8161 #define NFCT_INTENSET_RXFRAMEEND_Disabled (0x0UL) /*!< Read: Disabled */ 8162 #define NFCT_INTENSET_RXFRAMEEND_Enabled (0x1UL) /*!< Read: Enabled */ 8163 #define NFCT_INTENSET_RXFRAMEEND_Set (0x1UL) /*!< Enable */ 8164 8165 /* Bit 5 : Write '1' to enable interrupt for event RXFRAMESTART */ 8166 #define NFCT_INTENSET_RXFRAMESTART_Pos (5UL) /*!< Position of RXFRAMESTART field. */ 8167 #define NFCT_INTENSET_RXFRAMESTART_Msk (0x1UL << NFCT_INTENSET_RXFRAMESTART_Pos) /*!< Bit mask of RXFRAMESTART field. */ 8168 #define NFCT_INTENSET_RXFRAMESTART_Disabled (0x0UL) /*!< Read: Disabled */ 8169 #define NFCT_INTENSET_RXFRAMESTART_Enabled (0x1UL) /*!< Read: Enabled */ 8170 #define NFCT_INTENSET_RXFRAMESTART_Set (0x1UL) /*!< Enable */ 8171 8172 /* Bit 4 : Write '1' to enable interrupt for event TXFRAMEEND */ 8173 #define NFCT_INTENSET_TXFRAMEEND_Pos (4UL) /*!< Position of TXFRAMEEND field. */ 8174 #define NFCT_INTENSET_TXFRAMEEND_Msk (0x1UL << NFCT_INTENSET_TXFRAMEEND_Pos) /*!< Bit mask of TXFRAMEEND field. */ 8175 #define NFCT_INTENSET_TXFRAMEEND_Disabled (0x0UL) /*!< Read: Disabled */ 8176 #define NFCT_INTENSET_TXFRAMEEND_Enabled (0x1UL) /*!< Read: Enabled */ 8177 #define NFCT_INTENSET_TXFRAMEEND_Set (0x1UL) /*!< Enable */ 8178 8179 /* Bit 3 : Write '1' to enable interrupt for event TXFRAMESTART */ 8180 #define NFCT_INTENSET_TXFRAMESTART_Pos (3UL) /*!< Position of TXFRAMESTART field. */ 8181 #define NFCT_INTENSET_TXFRAMESTART_Msk (0x1UL << NFCT_INTENSET_TXFRAMESTART_Pos) /*!< Bit mask of TXFRAMESTART field. */ 8182 #define NFCT_INTENSET_TXFRAMESTART_Disabled (0x0UL) /*!< Read: Disabled */ 8183 #define NFCT_INTENSET_TXFRAMESTART_Enabled (0x1UL) /*!< Read: Enabled */ 8184 #define NFCT_INTENSET_TXFRAMESTART_Set (0x1UL) /*!< Enable */ 8185 8186 /* Bit 2 : Write '1' to enable interrupt for event FIELDLOST */ 8187 #define NFCT_INTENSET_FIELDLOST_Pos (2UL) /*!< Position of FIELDLOST field. */ 8188 #define NFCT_INTENSET_FIELDLOST_Msk (0x1UL << NFCT_INTENSET_FIELDLOST_Pos) /*!< Bit mask of FIELDLOST field. */ 8189 #define NFCT_INTENSET_FIELDLOST_Disabled (0x0UL) /*!< Read: Disabled */ 8190 #define NFCT_INTENSET_FIELDLOST_Enabled (0x1UL) /*!< Read: Enabled */ 8191 #define NFCT_INTENSET_FIELDLOST_Set (0x1UL) /*!< Enable */ 8192 8193 /* Bit 1 : Write '1' to enable interrupt for event FIELDDETECTED */ 8194 #define NFCT_INTENSET_FIELDDETECTED_Pos (1UL) /*!< Position of FIELDDETECTED field. */ 8195 #define NFCT_INTENSET_FIELDDETECTED_Msk (0x1UL << NFCT_INTENSET_FIELDDETECTED_Pos) /*!< Bit mask of FIELDDETECTED field. */ 8196 #define NFCT_INTENSET_FIELDDETECTED_Disabled (0x0UL) /*!< Read: Disabled */ 8197 #define NFCT_INTENSET_FIELDDETECTED_Enabled (0x1UL) /*!< Read: Enabled */ 8198 #define NFCT_INTENSET_FIELDDETECTED_Set (0x1UL) /*!< Enable */ 8199 8200 /* Bit 0 : Write '1' to enable interrupt for event READY */ 8201 #define NFCT_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 8202 #define NFCT_INTENSET_READY_Msk (0x1UL << NFCT_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 8203 #define NFCT_INTENSET_READY_Disabled (0x0UL) /*!< Read: Disabled */ 8204 #define NFCT_INTENSET_READY_Enabled (0x1UL) /*!< Read: Enabled */ 8205 #define NFCT_INTENSET_READY_Set (0x1UL) /*!< Enable */ 8206 8207 /* Register: NFCT_INTENCLR */ 8208 /* Description: Disable interrupt */ 8209 8210 /* Bit 20 : Write '1' to disable interrupt for event STARTED */ 8211 #define NFCT_INTENCLR_STARTED_Pos (20UL) /*!< Position of STARTED field. */ 8212 #define NFCT_INTENCLR_STARTED_Msk (0x1UL << NFCT_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */ 8213 #define NFCT_INTENCLR_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 8214 #define NFCT_INTENCLR_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 8215 #define NFCT_INTENCLR_STARTED_Clear (0x1UL) /*!< Disable */ 8216 8217 /* Bit 19 : Write '1' to disable interrupt for event SELECTED */ 8218 #define NFCT_INTENCLR_SELECTED_Pos (19UL) /*!< Position of SELECTED field. */ 8219 #define NFCT_INTENCLR_SELECTED_Msk (0x1UL << NFCT_INTENCLR_SELECTED_Pos) /*!< Bit mask of SELECTED field. */ 8220 #define NFCT_INTENCLR_SELECTED_Disabled (0x0UL) /*!< Read: Disabled */ 8221 #define NFCT_INTENCLR_SELECTED_Enabled (0x1UL) /*!< Read: Enabled */ 8222 #define NFCT_INTENCLR_SELECTED_Clear (0x1UL) /*!< Disable */ 8223 8224 /* Bit 18 : Write '1' to disable interrupt for event COLLISION */ 8225 #define NFCT_INTENCLR_COLLISION_Pos (18UL) /*!< Position of COLLISION field. */ 8226 #define NFCT_INTENCLR_COLLISION_Msk (0x1UL << NFCT_INTENCLR_COLLISION_Pos) /*!< Bit mask of COLLISION field. */ 8227 #define NFCT_INTENCLR_COLLISION_Disabled (0x0UL) /*!< Read: Disabled */ 8228 #define NFCT_INTENCLR_COLLISION_Enabled (0x1UL) /*!< Read: Enabled */ 8229 #define NFCT_INTENCLR_COLLISION_Clear (0x1UL) /*!< Disable */ 8230 8231 /* Bit 14 : Write '1' to disable interrupt for event AUTOCOLRESSTARTED */ 8232 #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Pos (14UL) /*!< Position of AUTOCOLRESSTARTED field. */ 8233 #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Msk (0x1UL << NFCT_INTENCLR_AUTOCOLRESSTARTED_Pos) /*!< Bit mask of AUTOCOLRESSTARTED field. */ 8234 #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 8235 #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 8236 #define NFCT_INTENCLR_AUTOCOLRESSTARTED_Clear (0x1UL) /*!< Disable */ 8237 8238 /* Bit 12 : Write '1' to disable interrupt for event ENDTX */ 8239 #define NFCT_INTENCLR_ENDTX_Pos (12UL) /*!< Position of ENDTX field. */ 8240 #define NFCT_INTENCLR_ENDTX_Msk (0x1UL << NFCT_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 8241 #define NFCT_INTENCLR_ENDTX_Disabled (0x0UL) /*!< Read: Disabled */ 8242 #define NFCT_INTENCLR_ENDTX_Enabled (0x1UL) /*!< Read: Enabled */ 8243 #define NFCT_INTENCLR_ENDTX_Clear (0x1UL) /*!< Disable */ 8244 8245 /* Bit 11 : Write '1' to disable interrupt for event ENDRX */ 8246 #define NFCT_INTENCLR_ENDRX_Pos (11UL) /*!< Position of ENDRX field. */ 8247 #define NFCT_INTENCLR_ENDRX_Msk (0x1UL << NFCT_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 8248 #define NFCT_INTENCLR_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 8249 #define NFCT_INTENCLR_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 8250 #define NFCT_INTENCLR_ENDRX_Clear (0x1UL) /*!< Disable */ 8251 8252 /* Bit 10 : Write '1' to disable interrupt for event RXERROR */ 8253 #define NFCT_INTENCLR_RXERROR_Pos (10UL) /*!< Position of RXERROR field. */ 8254 #define NFCT_INTENCLR_RXERROR_Msk (0x1UL << NFCT_INTENCLR_RXERROR_Pos) /*!< Bit mask of RXERROR field. */ 8255 #define NFCT_INTENCLR_RXERROR_Disabled (0x0UL) /*!< Read: Disabled */ 8256 #define NFCT_INTENCLR_RXERROR_Enabled (0x1UL) /*!< Read: Enabled */ 8257 #define NFCT_INTENCLR_RXERROR_Clear (0x1UL) /*!< Disable */ 8258 8259 /* Bit 7 : Write '1' to disable interrupt for event ERROR */ 8260 #define NFCT_INTENCLR_ERROR_Pos (7UL) /*!< Position of ERROR field. */ 8261 #define NFCT_INTENCLR_ERROR_Msk (0x1UL << NFCT_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 8262 #define NFCT_INTENCLR_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 8263 #define NFCT_INTENCLR_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 8264 #define NFCT_INTENCLR_ERROR_Clear (0x1UL) /*!< Disable */ 8265 8266 /* Bit 6 : Write '1' to disable interrupt for event RXFRAMEEND */ 8267 #define NFCT_INTENCLR_RXFRAMEEND_Pos (6UL) /*!< Position of RXFRAMEEND field. */ 8268 #define NFCT_INTENCLR_RXFRAMEEND_Msk (0x1UL << NFCT_INTENCLR_RXFRAMEEND_Pos) /*!< Bit mask of RXFRAMEEND field. */ 8269 #define NFCT_INTENCLR_RXFRAMEEND_Disabled (0x0UL) /*!< Read: Disabled */ 8270 #define NFCT_INTENCLR_RXFRAMEEND_Enabled (0x1UL) /*!< Read: Enabled */ 8271 #define NFCT_INTENCLR_RXFRAMEEND_Clear (0x1UL) /*!< Disable */ 8272 8273 /* Bit 5 : Write '1' to disable interrupt for event RXFRAMESTART */ 8274 #define NFCT_INTENCLR_RXFRAMESTART_Pos (5UL) /*!< Position of RXFRAMESTART field. */ 8275 #define NFCT_INTENCLR_RXFRAMESTART_Msk (0x1UL << NFCT_INTENCLR_RXFRAMESTART_Pos) /*!< Bit mask of RXFRAMESTART field. */ 8276 #define NFCT_INTENCLR_RXFRAMESTART_Disabled (0x0UL) /*!< Read: Disabled */ 8277 #define NFCT_INTENCLR_RXFRAMESTART_Enabled (0x1UL) /*!< Read: Enabled */ 8278 #define NFCT_INTENCLR_RXFRAMESTART_Clear (0x1UL) /*!< Disable */ 8279 8280 /* Bit 4 : Write '1' to disable interrupt for event TXFRAMEEND */ 8281 #define NFCT_INTENCLR_TXFRAMEEND_Pos (4UL) /*!< Position of TXFRAMEEND field. */ 8282 #define NFCT_INTENCLR_TXFRAMEEND_Msk (0x1UL << NFCT_INTENCLR_TXFRAMEEND_Pos) /*!< Bit mask of TXFRAMEEND field. */ 8283 #define NFCT_INTENCLR_TXFRAMEEND_Disabled (0x0UL) /*!< Read: Disabled */ 8284 #define NFCT_INTENCLR_TXFRAMEEND_Enabled (0x1UL) /*!< Read: Enabled */ 8285 #define NFCT_INTENCLR_TXFRAMEEND_Clear (0x1UL) /*!< Disable */ 8286 8287 /* Bit 3 : Write '1' to disable interrupt for event TXFRAMESTART */ 8288 #define NFCT_INTENCLR_TXFRAMESTART_Pos (3UL) /*!< Position of TXFRAMESTART field. */ 8289 #define NFCT_INTENCLR_TXFRAMESTART_Msk (0x1UL << NFCT_INTENCLR_TXFRAMESTART_Pos) /*!< Bit mask of TXFRAMESTART field. */ 8290 #define NFCT_INTENCLR_TXFRAMESTART_Disabled (0x0UL) /*!< Read: Disabled */ 8291 #define NFCT_INTENCLR_TXFRAMESTART_Enabled (0x1UL) /*!< Read: Enabled */ 8292 #define NFCT_INTENCLR_TXFRAMESTART_Clear (0x1UL) /*!< Disable */ 8293 8294 /* Bit 2 : Write '1' to disable interrupt for event FIELDLOST */ 8295 #define NFCT_INTENCLR_FIELDLOST_Pos (2UL) /*!< Position of FIELDLOST field. */ 8296 #define NFCT_INTENCLR_FIELDLOST_Msk (0x1UL << NFCT_INTENCLR_FIELDLOST_Pos) /*!< Bit mask of FIELDLOST field. */ 8297 #define NFCT_INTENCLR_FIELDLOST_Disabled (0x0UL) /*!< Read: Disabled */ 8298 #define NFCT_INTENCLR_FIELDLOST_Enabled (0x1UL) /*!< Read: Enabled */ 8299 #define NFCT_INTENCLR_FIELDLOST_Clear (0x1UL) /*!< Disable */ 8300 8301 /* Bit 1 : Write '1' to disable interrupt for event FIELDDETECTED */ 8302 #define NFCT_INTENCLR_FIELDDETECTED_Pos (1UL) /*!< Position of FIELDDETECTED field. */ 8303 #define NFCT_INTENCLR_FIELDDETECTED_Msk (0x1UL << NFCT_INTENCLR_FIELDDETECTED_Pos) /*!< Bit mask of FIELDDETECTED field. */ 8304 #define NFCT_INTENCLR_FIELDDETECTED_Disabled (0x0UL) /*!< Read: Disabled */ 8305 #define NFCT_INTENCLR_FIELDDETECTED_Enabled (0x1UL) /*!< Read: Enabled */ 8306 #define NFCT_INTENCLR_FIELDDETECTED_Clear (0x1UL) /*!< Disable */ 8307 8308 /* Bit 0 : Write '1' to disable interrupt for event READY */ 8309 #define NFCT_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 8310 #define NFCT_INTENCLR_READY_Msk (0x1UL << NFCT_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 8311 #define NFCT_INTENCLR_READY_Disabled (0x0UL) /*!< Read: Disabled */ 8312 #define NFCT_INTENCLR_READY_Enabled (0x1UL) /*!< Read: Enabled */ 8313 #define NFCT_INTENCLR_READY_Clear (0x1UL) /*!< Disable */ 8314 8315 /* Register: NFCT_ERRORSTATUS */ 8316 /* Description: NFC Error Status register */ 8317 8318 /* Bit 0 : No STARTTX task triggered before expiration of the time set in FRAMEDELAYMAX */ 8319 #define NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Pos (0UL) /*!< Position of FRAMEDELAYTIMEOUT field. */ 8320 #define NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk (0x1UL << NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Pos) /*!< Bit mask of FRAMEDELAYTIMEOUT field. */ 8321 8322 /* Register: NFCT_FRAMESTATUS_RX */ 8323 /* Description: Result of last incoming frame */ 8324 8325 /* Bit 3 : Overrun detected */ 8326 #define NFCT_FRAMESTATUS_RX_OVERRUN_Pos (3UL) /*!< Position of OVERRUN field. */ 8327 #define NFCT_FRAMESTATUS_RX_OVERRUN_Msk (0x1UL << NFCT_FRAMESTATUS_RX_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */ 8328 #define NFCT_FRAMESTATUS_RX_OVERRUN_NoOverrun (0x0UL) /*!< No overrun detected */ 8329 #define NFCT_FRAMESTATUS_RX_OVERRUN_Overrun (0x1UL) /*!< Overrun error */ 8330 8331 /* Bit 2 : Parity status of received frame */ 8332 #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_Pos (2UL) /*!< Position of PARITYSTATUS field. */ 8333 #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_Msk (0x1UL << NFCT_FRAMESTATUS_RX_PARITYSTATUS_Pos) /*!< Bit mask of PARITYSTATUS field. */ 8334 #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_ParityOK (0x0UL) /*!< Frame received with parity OK */ 8335 #define NFCT_FRAMESTATUS_RX_PARITYSTATUS_ParityError (0x1UL) /*!< Frame received with parity error */ 8336 8337 /* Bit 0 : No valid end of frame (EoF) detected */ 8338 #define NFCT_FRAMESTATUS_RX_CRCERROR_Pos (0UL) /*!< Position of CRCERROR field. */ 8339 #define NFCT_FRAMESTATUS_RX_CRCERROR_Msk (0x1UL << NFCT_FRAMESTATUS_RX_CRCERROR_Pos) /*!< Bit mask of CRCERROR field. */ 8340 #define NFCT_FRAMESTATUS_RX_CRCERROR_CRCCorrect (0x0UL) /*!< Valid CRC detected */ 8341 #define NFCT_FRAMESTATUS_RX_CRCERROR_CRCError (0x1UL) /*!< CRC received does not match local check */ 8342 8343 /* Register: NFCT_NFCTAGSTATE */ 8344 /* Description: Current operating state of NFC tag */ 8345 8346 /* Bits 2..0 : NfcTag state */ 8347 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_Pos (0UL) /*!< Position of NFCTAGSTATE field. */ 8348 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_Msk (0x7UL << NFCT_NFCTAGSTATE_NFCTAGSTATE_Pos) /*!< Bit mask of NFCTAGSTATE field. */ 8349 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_Disabled (0x0UL) /*!< Disabled or sense */ 8350 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_RampUp (0x2UL) /*!< RampUp */ 8351 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_Idle (0x3UL) /*!< Idle */ 8352 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_Receive (0x4UL) /*!< Receive */ 8353 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_FrameDelay (0x5UL) /*!< FrameDelay */ 8354 #define NFCT_NFCTAGSTATE_NFCTAGSTATE_Transmit (0x6UL) /*!< Transmit */ 8355 8356 /* Register: NFCT_SLEEPSTATE */ 8357 /* Description: Sleep state during automatic collision resolution */ 8358 8359 /* Bit 0 : Reflects the sleep state during automatic collision resolution. Set to IDLE 8360 by a GOIDLE task. Set to SLEEP_A when a valid SLEEP_REQ frame is received or by a 8361 GOSLEEP task. */ 8362 #define NFCT_SLEEPSTATE_SLEEPSTATE_Pos (0UL) /*!< Position of SLEEPSTATE field. */ 8363 #define NFCT_SLEEPSTATE_SLEEPSTATE_Msk (0x1UL << NFCT_SLEEPSTATE_SLEEPSTATE_Pos) /*!< Bit mask of SLEEPSTATE field. */ 8364 #define NFCT_SLEEPSTATE_SLEEPSTATE_Idle (0x0UL) /*!< State is IDLE. */ 8365 #define NFCT_SLEEPSTATE_SLEEPSTATE_SleepA (0x1UL) /*!< State is SLEEP_A. */ 8366 8367 /* Register: NFCT_FIELDPRESENT */ 8368 /* Description: Indicates the presence or not of a valid field */ 8369 8370 /* Bit 1 : Indicates if the low level has locked to the field */ 8371 #define NFCT_FIELDPRESENT_LOCKDETECT_Pos (1UL) /*!< Position of LOCKDETECT field. */ 8372 #define NFCT_FIELDPRESENT_LOCKDETECT_Msk (0x1UL << NFCT_FIELDPRESENT_LOCKDETECT_Pos) /*!< Bit mask of LOCKDETECT field. */ 8373 #define NFCT_FIELDPRESENT_LOCKDETECT_NotLocked (0x0UL) /*!< Not locked to field */ 8374 #define NFCT_FIELDPRESENT_LOCKDETECT_Locked (0x1UL) /*!< Locked to field */ 8375 8376 /* Bit 0 : Indicates if a valid field is present. Available only in the activated state. */ 8377 #define NFCT_FIELDPRESENT_FIELDPRESENT_Pos (0UL) /*!< Position of FIELDPRESENT field. */ 8378 #define NFCT_FIELDPRESENT_FIELDPRESENT_Msk (0x1UL << NFCT_FIELDPRESENT_FIELDPRESENT_Pos) /*!< Bit mask of FIELDPRESENT field. */ 8379 #define NFCT_FIELDPRESENT_FIELDPRESENT_NoField (0x0UL) /*!< No valid field detected */ 8380 #define NFCT_FIELDPRESENT_FIELDPRESENT_FieldPresent (0x1UL) /*!< Valid field detected */ 8381 8382 /* Register: NFCT_FRAMEDELAYMIN */ 8383 /* Description: Minimum frame delay */ 8384 8385 /* Bits 15..0 : Minimum frame delay in number of 13.56 MHz clock cycles */ 8386 #define NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Pos (0UL) /*!< Position of FRAMEDELAYMIN field. */ 8387 #define NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Msk (0xFFFFUL << NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Pos) /*!< Bit mask of FRAMEDELAYMIN field. */ 8388 8389 /* Register: NFCT_FRAMEDELAYMAX */ 8390 /* Description: Maximum frame delay */ 8391 8392 /* Bits 19..0 : Maximum frame delay in number of 13.56 MHz clock cycles */ 8393 #define NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Pos (0UL) /*!< Position of FRAMEDELAYMAX field. */ 8394 #define NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Msk (0xFFFFFUL << NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Pos) /*!< Bit mask of FRAMEDELAYMAX field. */ 8395 8396 /* Register: NFCT_FRAMEDELAYMODE */ 8397 /* Description: Configuration register for the Frame Delay Timer */ 8398 8399 /* Bits 1..0 : Configuration register for the Frame Delay Timer */ 8400 #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Pos (0UL) /*!< Position of FRAMEDELAYMODE field. */ 8401 #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Msk (0x3UL << NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Pos) /*!< Bit mask of FRAMEDELAYMODE field. */ 8402 #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_FreeRun (0x0UL) /*!< Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout. */ 8403 #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Window (0x1UL) /*!< Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX */ 8404 #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_ExactVal (0x2UL) /*!< Frame is transmitted exactly at FRAMEDELAYMAX */ 8405 #define NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_WindowGrid (0x3UL) /*!< Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX */ 8406 8407 /* Register: NFCT_PACKETPTR */ 8408 /* Description: Packet pointer for TXD and RXD data storage in Data RAM */ 8409 8410 /* Bits 31..0 : Packet pointer for TXD and RXD data storage in Data RAM. This address is a byte-aligned RAM address. */ 8411 #define NFCT_PACKETPTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 8412 #define NFCT_PACKETPTR_PTR_Msk (0xFFFFFFFFUL << NFCT_PACKETPTR_PTR_Pos) /*!< Bit mask of PTR field. */ 8413 8414 /* Register: NFCT_MAXLEN */ 8415 /* Description: Size of the RAM buffer allocated to TXD and RXD data storage each */ 8416 8417 /* Bits 8..0 : Size of the RAM buffer allocated to TXD and RXD data storage each */ 8418 #define NFCT_MAXLEN_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */ 8419 #define NFCT_MAXLEN_MAXLEN_Msk (0x1FFUL << NFCT_MAXLEN_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */ 8420 8421 /* Register: NFCT_TXD_FRAMECONFIG */ 8422 /* Description: Configuration of outgoing frames */ 8423 8424 /* Bit 4 : CRC mode for outgoing frames */ 8425 #define NFCT_TXD_FRAMECONFIG_CRCMODETX_Pos (4UL) /*!< Position of CRCMODETX field. */ 8426 #define NFCT_TXD_FRAMECONFIG_CRCMODETX_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_CRCMODETX_Pos) /*!< Bit mask of CRCMODETX field. */ 8427 #define NFCT_TXD_FRAMECONFIG_CRCMODETX_NoCRCTX (0x0UL) /*!< CRC is not added to the frame */ 8428 #define NFCT_TXD_FRAMECONFIG_CRCMODETX_CRC16TX (0x1UL) /*!< 16 bit CRC added to the frame based on all the data read from RAM that is used in the frame */ 8429 8430 /* Bit 2 : Adding SoF or not in TX frames */ 8431 #define NFCT_TXD_FRAMECONFIG_SOF_Pos (2UL) /*!< Position of SOF field. */ 8432 #define NFCT_TXD_FRAMECONFIG_SOF_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_SOF_Pos) /*!< Bit mask of SOF field. */ 8433 #define NFCT_TXD_FRAMECONFIG_SOF_NoSoF (0x0UL) /*!< SoF symbol not added */ 8434 #define NFCT_TXD_FRAMECONFIG_SOF_SoF (0x1UL) /*!< SoF symbol added */ 8435 8436 /* Bit 1 : Discarding unused bits at start or end of a frame */ 8437 #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_Pos (1UL) /*!< Position of DISCARDMODE field. */ 8438 #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_DISCARDMODE_Pos) /*!< Bit mask of DISCARDMODE field. */ 8439 #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_DiscardEnd (0x0UL) /*!< Unused bits are discarded at end of frame (EoF) */ 8440 #define NFCT_TXD_FRAMECONFIG_DISCARDMODE_DiscardStart (0x1UL) /*!< Unused bits are discarded at start of frame (SoF) */ 8441 8442 /* Bit 0 : Indicates if parity is added to the frame */ 8443 #define NFCT_TXD_FRAMECONFIG_PARITY_Pos (0UL) /*!< Position of PARITY field. */ 8444 #define NFCT_TXD_FRAMECONFIG_PARITY_Msk (0x1UL << NFCT_TXD_FRAMECONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */ 8445 #define NFCT_TXD_FRAMECONFIG_PARITY_NoParity (0x0UL) /*!< Parity is not added to TX frames */ 8446 #define NFCT_TXD_FRAMECONFIG_PARITY_Parity (0x1UL) /*!< Parity is added to TX frames */ 8447 8448 /* Register: NFCT_TXD_AMOUNT */ 8449 /* Description: Size of outgoing frame */ 8450 8451 /* Bits 11..3 : Number of complete bytes that shall be included in the frame, excluding CRC, parity, and framing. */ 8452 #define NFCT_TXD_AMOUNT_TXDATABYTES_Pos (3UL) /*!< Position of TXDATABYTES field. */ 8453 #define NFCT_TXD_AMOUNT_TXDATABYTES_Msk (0x1FFUL << NFCT_TXD_AMOUNT_TXDATABYTES_Pos) /*!< Bit mask of TXDATABYTES field. */ 8454 8455 /* Bits 2..0 : Number of bits in the last or first byte read from RAM that shall be included in the frame (excluding parity bit). */ 8456 #define NFCT_TXD_AMOUNT_TXDATABITS_Pos (0UL) /*!< Position of TXDATABITS field. */ 8457 #define NFCT_TXD_AMOUNT_TXDATABITS_Msk (0x7UL << NFCT_TXD_AMOUNT_TXDATABITS_Pos) /*!< Bit mask of TXDATABITS field. */ 8458 8459 /* Register: NFCT_RXD_FRAMECONFIG */ 8460 /* Description: Configuration of incoming frames */ 8461 8462 /* Bit 4 : CRC mode for incoming frames */ 8463 #define NFCT_RXD_FRAMECONFIG_CRCMODERX_Pos (4UL) /*!< Position of CRCMODERX field. */ 8464 #define NFCT_RXD_FRAMECONFIG_CRCMODERX_Msk (0x1UL << NFCT_RXD_FRAMECONFIG_CRCMODERX_Pos) /*!< Bit mask of CRCMODERX field. */ 8465 #define NFCT_RXD_FRAMECONFIG_CRCMODERX_NoCRCRX (0x0UL) /*!< CRC is not expected in RX frames */ 8466 #define NFCT_RXD_FRAMECONFIG_CRCMODERX_CRC16RX (0x1UL) /*!< Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated */ 8467 8468 /* Bit 2 : SoF expected or not in RX frames */ 8469 #define NFCT_RXD_FRAMECONFIG_SOF_Pos (2UL) /*!< Position of SOF field. */ 8470 #define NFCT_RXD_FRAMECONFIG_SOF_Msk (0x1UL << NFCT_RXD_FRAMECONFIG_SOF_Pos) /*!< Bit mask of SOF field. */ 8471 #define NFCT_RXD_FRAMECONFIG_SOF_NoSoF (0x0UL) /*!< SoF symbol is not expected in RX frames */ 8472 #define NFCT_RXD_FRAMECONFIG_SOF_SoF (0x1UL) /*!< SoF symbol is expected in RX frames */ 8473 8474 /* Bit 0 : Indicates if parity expected in RX frame */ 8475 #define NFCT_RXD_FRAMECONFIG_PARITY_Pos (0UL) /*!< Position of PARITY field. */ 8476 #define NFCT_RXD_FRAMECONFIG_PARITY_Msk (0x1UL << NFCT_RXD_FRAMECONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */ 8477 #define NFCT_RXD_FRAMECONFIG_PARITY_NoParity (0x0UL) /*!< Parity is not expected in RX frames */ 8478 #define NFCT_RXD_FRAMECONFIG_PARITY_Parity (0x1UL) /*!< Parity is expected in RX frames */ 8479 8480 /* Register: NFCT_RXD_AMOUNT */ 8481 /* Description: Size of last incoming frame */ 8482 8483 /* Bits 11..3 : Number of complete bytes received in the frame (including CRC, but excluding parity and SoF/EoF framing) */ 8484 #define NFCT_RXD_AMOUNT_RXDATABYTES_Pos (3UL) /*!< Position of RXDATABYTES field. */ 8485 #define NFCT_RXD_AMOUNT_RXDATABYTES_Msk (0x1FFUL << NFCT_RXD_AMOUNT_RXDATABYTES_Pos) /*!< Bit mask of RXDATABYTES field. */ 8486 8487 /* Bits 2..0 : Number of bits in the last byte in the frame, if less than 8 (including CRC, but excluding parity and SoF/EoF framing). */ 8488 #define NFCT_RXD_AMOUNT_RXDATABITS_Pos (0UL) /*!< Position of RXDATABITS field. */ 8489 #define NFCT_RXD_AMOUNT_RXDATABITS_Msk (0x7UL << NFCT_RXD_AMOUNT_RXDATABITS_Pos) /*!< Bit mask of RXDATABITS field. */ 8490 8491 /* Register: NFCT_MODULATIONCTRL */ 8492 /* Description: Enables the modulation output to a GPIO pin which can be connected to a second external antenna. */ 8493 8494 /* Bits 1..0 : Configuration of modulation control. */ 8495 #define NFCT_MODULATIONCTRL_MODULATIONCTRL_Pos (0UL) /*!< Position of MODULATIONCTRL field. */ 8496 #define NFCT_MODULATIONCTRL_MODULATIONCTRL_Msk (0x3UL << NFCT_MODULATIONCTRL_MODULATIONCTRL_Pos) /*!< Bit mask of MODULATIONCTRL field. */ 8497 #define NFCT_MODULATIONCTRL_MODULATIONCTRL_Invalid (0x0UL) /*!< Invalid, defaults to same behaviour as for Internal */ 8498 #define NFCT_MODULATIONCTRL_MODULATIONCTRL_Internal (0x1UL) /*!< Use internal modulator only */ 8499 #define NFCT_MODULATIONCTRL_MODULATIONCTRL_ModToGpio (0x2UL) /*!< Output digital modulation signal to a GPIO pin. */ 8500 #define NFCT_MODULATIONCTRL_MODULATIONCTRL_InternalAndModToGpio (0x3UL) /*!< Use internal modulator and output digital modulation signal to a GPIO pin. */ 8501 8502 /* Register: NFCT_MODULATIONPSEL */ 8503 /* Description: Pin select for Modulation control */ 8504 8505 /* Bit 31 : Connection */ 8506 #define NFCT_MODULATIONPSEL_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 8507 #define NFCT_MODULATIONPSEL_CONNECT_Msk (0x1UL << NFCT_MODULATIONPSEL_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 8508 #define NFCT_MODULATIONPSEL_CONNECT_Connected (0x0UL) /*!< Connect */ 8509 #define NFCT_MODULATIONPSEL_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 8510 8511 /* Bit 5 : Port number */ 8512 #define NFCT_MODULATIONPSEL_PORT_Pos (5UL) /*!< Position of PORT field. */ 8513 #define NFCT_MODULATIONPSEL_PORT_Msk (0x1UL << NFCT_MODULATIONPSEL_PORT_Pos) /*!< Bit mask of PORT field. */ 8514 8515 /* Bits 4..0 : Pin number */ 8516 #define NFCT_MODULATIONPSEL_PIN_Pos (0UL) /*!< Position of PIN field. */ 8517 #define NFCT_MODULATIONPSEL_PIN_Msk (0x1FUL << NFCT_MODULATIONPSEL_PIN_Pos) /*!< Bit mask of PIN field. */ 8518 8519 /* Register: NFCT_NFCID1_LAST */ 8520 /* Description: Last NFCID1 part (4, 7 or 10 bytes ID) */ 8521 8522 /* Bits 31..24 : NFCID1 byte W */ 8523 #define NFCT_NFCID1_LAST_NFCID1_W_Pos (24UL) /*!< Position of NFCID1_W field. */ 8524 #define NFCT_NFCID1_LAST_NFCID1_W_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_W_Pos) /*!< Bit mask of NFCID1_W field. */ 8525 8526 /* Bits 23..16 : NFCID1 byte X */ 8527 #define NFCT_NFCID1_LAST_NFCID1_X_Pos (16UL) /*!< Position of NFCID1_X field. */ 8528 #define NFCT_NFCID1_LAST_NFCID1_X_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_X_Pos) /*!< Bit mask of NFCID1_X field. */ 8529 8530 /* Bits 15..8 : NFCID1 byte Y */ 8531 #define NFCT_NFCID1_LAST_NFCID1_Y_Pos (8UL) /*!< Position of NFCID1_Y field. */ 8532 #define NFCT_NFCID1_LAST_NFCID1_Y_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_Y_Pos) /*!< Bit mask of NFCID1_Y field. */ 8533 8534 /* Bits 7..0 : NFCID1 byte Z (very last byte sent) */ 8535 #define NFCT_NFCID1_LAST_NFCID1_Z_Pos (0UL) /*!< Position of NFCID1_Z field. */ 8536 #define NFCT_NFCID1_LAST_NFCID1_Z_Msk (0xFFUL << NFCT_NFCID1_LAST_NFCID1_Z_Pos) /*!< Bit mask of NFCID1_Z field. */ 8537 8538 /* Register: NFCT_NFCID1_2ND_LAST */ 8539 /* Description: Second last NFCID1 part (7 or 10 bytes ID) */ 8540 8541 /* Bits 23..16 : NFCID1 byte T */ 8542 #define NFCT_NFCID1_2ND_LAST_NFCID1_T_Pos (16UL) /*!< Position of NFCID1_T field. */ 8543 #define NFCT_NFCID1_2ND_LAST_NFCID1_T_Msk (0xFFUL << NFCT_NFCID1_2ND_LAST_NFCID1_T_Pos) /*!< Bit mask of NFCID1_T field. */ 8544 8545 /* Bits 15..8 : NFCID1 byte U */ 8546 #define NFCT_NFCID1_2ND_LAST_NFCID1_U_Pos (8UL) /*!< Position of NFCID1_U field. */ 8547 #define NFCT_NFCID1_2ND_LAST_NFCID1_U_Msk (0xFFUL << NFCT_NFCID1_2ND_LAST_NFCID1_U_Pos) /*!< Bit mask of NFCID1_U field. */ 8548 8549 /* Bits 7..0 : NFCID1 byte V */ 8550 #define NFCT_NFCID1_2ND_LAST_NFCID1_V_Pos (0UL) /*!< Position of NFCID1_V field. */ 8551 #define NFCT_NFCID1_2ND_LAST_NFCID1_V_Msk (0xFFUL << NFCT_NFCID1_2ND_LAST_NFCID1_V_Pos) /*!< Bit mask of NFCID1_V field. */ 8552 8553 /* Register: NFCT_NFCID1_3RD_LAST */ 8554 /* Description: Third last NFCID1 part (10 bytes ID) */ 8555 8556 /* Bits 23..16 : NFCID1 byte Q */ 8557 #define NFCT_NFCID1_3RD_LAST_NFCID1_Q_Pos (16UL) /*!< Position of NFCID1_Q field. */ 8558 #define NFCT_NFCID1_3RD_LAST_NFCID1_Q_Msk (0xFFUL << NFCT_NFCID1_3RD_LAST_NFCID1_Q_Pos) /*!< Bit mask of NFCID1_Q field. */ 8559 8560 /* Bits 15..8 : NFCID1 byte R */ 8561 #define NFCT_NFCID1_3RD_LAST_NFCID1_R_Pos (8UL) /*!< Position of NFCID1_R field. */ 8562 #define NFCT_NFCID1_3RD_LAST_NFCID1_R_Msk (0xFFUL << NFCT_NFCID1_3RD_LAST_NFCID1_R_Pos) /*!< Bit mask of NFCID1_R field. */ 8563 8564 /* Bits 7..0 : NFCID1 byte S */ 8565 #define NFCT_NFCID1_3RD_LAST_NFCID1_S_Pos (0UL) /*!< Position of NFCID1_S field. */ 8566 #define NFCT_NFCID1_3RD_LAST_NFCID1_S_Msk (0xFFUL << NFCT_NFCID1_3RD_LAST_NFCID1_S_Pos) /*!< Bit mask of NFCID1_S field. */ 8567 8568 /* Register: NFCT_AUTOCOLRESCONFIG */ 8569 /* Description: Controls the auto collision resolution function. This setting must be done before the NFCT peripheral is activated. */ 8570 8571 /* Bit 0 : Enables/disables auto collision resolution */ 8572 #define NFCT_AUTOCOLRESCONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */ 8573 #define NFCT_AUTOCOLRESCONFIG_MODE_Msk (0x1UL << NFCT_AUTOCOLRESCONFIG_MODE_Pos) /*!< Bit mask of MODE field. */ 8574 #define NFCT_AUTOCOLRESCONFIG_MODE_Enabled (0x0UL) /*!< Auto collision resolution enabled */ 8575 #define NFCT_AUTOCOLRESCONFIG_MODE_Disabled (0x1UL) /*!< Auto collision resolution disabled */ 8576 8577 /* Register: NFCT_SENSRES */ 8578 /* Description: NFC-A SENS_RES auto-response settings */ 8579 8580 /* Bits 15..12 : Reserved for future use. Shall be 0. */ 8581 #define NFCT_SENSRES_RFU74_Pos (12UL) /*!< Position of RFU74 field. */ 8582 #define NFCT_SENSRES_RFU74_Msk (0xFUL << NFCT_SENSRES_RFU74_Pos) /*!< Bit mask of RFU74 field. */ 8583 8584 /* Bits 11..8 : Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification */ 8585 #define NFCT_SENSRES_PLATFCONFIG_Pos (8UL) /*!< Position of PLATFCONFIG field. */ 8586 #define NFCT_SENSRES_PLATFCONFIG_Msk (0xFUL << NFCT_SENSRES_PLATFCONFIG_Pos) /*!< Bit mask of PLATFCONFIG field. */ 8587 8588 /* Bits 7..6 : NFCID1 size. This value is used by the auto collision resolution engine. */ 8589 #define NFCT_SENSRES_NFCIDSIZE_Pos (6UL) /*!< Position of NFCIDSIZE field. */ 8590 #define NFCT_SENSRES_NFCIDSIZE_Msk (0x3UL << NFCT_SENSRES_NFCIDSIZE_Pos) /*!< Bit mask of NFCIDSIZE field. */ 8591 #define NFCT_SENSRES_NFCIDSIZE_NFCID1Single (0x0UL) /*!< NFCID1 size: single (4 bytes) */ 8592 #define NFCT_SENSRES_NFCIDSIZE_NFCID1Double (0x1UL) /*!< NFCID1 size: double (7 bytes) */ 8593 #define NFCT_SENSRES_NFCIDSIZE_NFCID1Triple (0x2UL) /*!< NFCID1 size: triple (10 bytes) */ 8594 8595 /* Bit 5 : Reserved for future use. Shall be 0. */ 8596 #define NFCT_SENSRES_RFU5_Pos (5UL) /*!< Position of RFU5 field. */ 8597 #define NFCT_SENSRES_RFU5_Msk (0x1UL << NFCT_SENSRES_RFU5_Pos) /*!< Bit mask of RFU5 field. */ 8598 8599 /* Bits 4..0 : Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification */ 8600 #define NFCT_SENSRES_BITFRAMESDD_Pos (0UL) /*!< Position of BITFRAMESDD field. */ 8601 #define NFCT_SENSRES_BITFRAMESDD_Msk (0x1FUL << NFCT_SENSRES_BITFRAMESDD_Pos) /*!< Bit mask of BITFRAMESDD field. */ 8602 #define NFCT_SENSRES_BITFRAMESDD_SDD00000 (0x00UL) /*!< SDD pattern 00000 */ 8603 #define NFCT_SENSRES_BITFRAMESDD_SDD00001 (0x01UL) /*!< SDD pattern 00001 */ 8604 #define NFCT_SENSRES_BITFRAMESDD_SDD00010 (0x02UL) /*!< SDD pattern 00010 */ 8605 #define NFCT_SENSRES_BITFRAMESDD_SDD00100 (0x04UL) /*!< SDD pattern 00100 */ 8606 #define NFCT_SENSRES_BITFRAMESDD_SDD01000 (0x08UL) /*!< SDD pattern 01000 */ 8607 #define NFCT_SENSRES_BITFRAMESDD_SDD10000 (0x10UL) /*!< SDD pattern 10000 */ 8608 8609 /* Register: NFCT_SELRES */ 8610 /* Description: NFC-A SEL_RES auto-response settings */ 8611 8612 /* Bit 7 : Reserved for future use. Shall be 0. */ 8613 #define NFCT_SELRES_RFU7_Pos (7UL) /*!< Position of RFU7 field. */ 8614 #define NFCT_SELRES_RFU7_Msk (0x1UL << NFCT_SELRES_RFU7_Pos) /*!< Bit mask of RFU7 field. */ 8615 8616 /* Bits 6..5 : Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification */ 8617 #define NFCT_SELRES_PROTOCOL_Pos (5UL) /*!< Position of PROTOCOL field. */ 8618 #define NFCT_SELRES_PROTOCOL_Msk (0x3UL << NFCT_SELRES_PROTOCOL_Pos) /*!< Bit mask of PROTOCOL field. */ 8619 8620 /* Bits 4..3 : Reserved for future use. Shall be 0. */ 8621 #define NFCT_SELRES_RFU43_Pos (3UL) /*!< Position of RFU43 field. */ 8622 #define NFCT_SELRES_RFU43_Msk (0x3UL << NFCT_SELRES_RFU43_Pos) /*!< Bit mask of RFU43 field. */ 8623 8624 /* Bit 2 : Cascade as defined by the b3 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification (controlled by hardware, shall be 0) */ 8625 #define NFCT_SELRES_CASCADE_Pos (2UL) /*!< Position of CASCADE field. */ 8626 #define NFCT_SELRES_CASCADE_Msk (0x1UL << NFCT_SELRES_CASCADE_Pos) /*!< Bit mask of CASCADE field. */ 8627 8628 /* Bits 1..0 : Reserved for future use. Shall be 0. */ 8629 #define NFCT_SELRES_RFU10_Pos (0UL) /*!< Position of RFU10 field. */ 8630 #define NFCT_SELRES_RFU10_Msk (0x3UL << NFCT_SELRES_RFU10_Pos) /*!< Bit mask of RFU10 field. */ 8631 8632 8633 /* Peripheral: NVMC */ 8634 /* Description: Non-volatile memory controller 0 */ 8635 8636 /* Register: NVMC_READY */ 8637 /* Description: Ready flag */ 8638 8639 /* Bit 0 : NVMC is ready or busy */ 8640 #define NVMC_READY_READY_Pos (0UL) /*!< Position of READY field. */ 8641 #define NVMC_READY_READY_Msk (0x1UL << NVMC_READY_READY_Pos) /*!< Bit mask of READY field. */ 8642 #define NVMC_READY_READY_Busy (0x0UL) /*!< NVMC is busy (ongoing write or erase operation) */ 8643 #define NVMC_READY_READY_Ready (0x1UL) /*!< NVMC is ready */ 8644 8645 /* Register: NVMC_READYNEXT */ 8646 /* Description: Ready flag */ 8647 8648 /* Bit 0 : NVMC can accept a new write operation */ 8649 #define NVMC_READYNEXT_READYNEXT_Pos (0UL) /*!< Position of READYNEXT field. */ 8650 #define NVMC_READYNEXT_READYNEXT_Msk (0x1UL << NVMC_READYNEXT_READYNEXT_Pos) /*!< Bit mask of READYNEXT field. */ 8651 #define NVMC_READYNEXT_READYNEXT_Busy (0x0UL) /*!< NVMC cannot accept any write operation */ 8652 #define NVMC_READYNEXT_READYNEXT_Ready (0x1UL) /*!< NVMC is ready */ 8653 8654 /* Register: NVMC_CONFIG */ 8655 /* Description: Configuration register */ 8656 8657 /* Bits 2..0 : Program memory access mode. It is strongly recommended to only activate erase and write modes when they are actively used. */ 8658 #define NVMC_CONFIG_WEN_Pos (0UL) /*!< Position of WEN field. */ 8659 #define NVMC_CONFIG_WEN_Msk (0x7UL << NVMC_CONFIG_WEN_Pos) /*!< Bit mask of WEN field. */ 8660 #define NVMC_CONFIG_WEN_Ren (0x0UL) /*!< Read only access */ 8661 #define NVMC_CONFIG_WEN_Wen (0x1UL) /*!< Write enabled */ 8662 #define NVMC_CONFIG_WEN_Een (0x2UL) /*!< Erase enabled */ 8663 #define NVMC_CONFIG_WEN_PEen (0x4UL) /*!< Partial erase enabled */ 8664 8665 /* Register: NVMC_ERASEALL */ 8666 /* Description: Register for erasing all non-volatile user memory */ 8667 8668 /* Bit 0 : Erase all non-volatile memory including UICR registers. Before the non-volatile memory can be erased, erasing must be enabled by setting CONFIG.WEN=Een. */ 8669 #define NVMC_ERASEALL_ERASEALL_Pos (0UL) /*!< Position of ERASEALL field. */ 8670 #define NVMC_ERASEALL_ERASEALL_Msk (0x1UL << NVMC_ERASEALL_ERASEALL_Pos) /*!< Bit mask of ERASEALL field. */ 8671 #define NVMC_ERASEALL_ERASEALL_NoOperation (0x0UL) /*!< No operation */ 8672 #define NVMC_ERASEALL_ERASEALL_Erase (0x1UL) /*!< Start chip erase */ 8673 8674 /* Register: NVMC_ERASEPAGEPARTIALCFG */ 8675 /* Description: Register for partial erase configuration */ 8676 8677 /* Bits 6..0 : Duration of the partial erase in milliseconds */ 8678 #define NVMC_ERASEPAGEPARTIALCFG_DURATION_Pos (0UL) /*!< Position of DURATION field. */ 8679 #define NVMC_ERASEPAGEPARTIALCFG_DURATION_Msk (0x7FUL << NVMC_ERASEPAGEPARTIALCFG_DURATION_Pos) /*!< Bit mask of DURATION field. */ 8680 8681 /* Register: NVMC_CONFIGNS */ 8682 /* Description: Non-secure configuration register */ 8683 8684 /* Bits 1..0 : Program memory access mode. It is strongly recommended to only activate erase and write modes when they are actively used. */ 8685 #define NVMC_CONFIGNS_WEN_Pos (0UL) /*!< Position of WEN field. */ 8686 #define NVMC_CONFIGNS_WEN_Msk (0x3UL << NVMC_CONFIGNS_WEN_Pos) /*!< Bit mask of WEN field. */ 8687 #define NVMC_CONFIGNS_WEN_Ren (0x0UL) /*!< Read only access */ 8688 #define NVMC_CONFIGNS_WEN_Wen (0x1UL) /*!< Write enabled */ 8689 #define NVMC_CONFIGNS_WEN_Een (0x2UL) /*!< Erase enabled */ 8690 8691 /* Register: NVMC_WRITEUICRNS */ 8692 /* Description: Non-secure APPROTECT enable register */ 8693 8694 /* Bits 31..4 : Key to write in order to validate the write operation */ 8695 #define NVMC_WRITEUICRNS_KEY_Pos (4UL) /*!< Position of KEY field. */ 8696 #define NVMC_WRITEUICRNS_KEY_Msk (0xFFFFFFFUL << NVMC_WRITEUICRNS_KEY_Pos) /*!< Bit mask of KEY field. */ 8697 #define NVMC_WRITEUICRNS_KEY_Keyvalid (0xAFBE5A7UL) /*!< Key value */ 8698 8699 /* Bit 0 : Allow non-secure code to set APPROTECT */ 8700 #define NVMC_WRITEUICRNS_SET_Pos (0UL) /*!< Position of SET field. */ 8701 #define NVMC_WRITEUICRNS_SET_Msk (0x1UL << NVMC_WRITEUICRNS_SET_Pos) /*!< Bit mask of SET field. */ 8702 #define NVMC_WRITEUICRNS_SET_Set (0x1UL) /*!< Set value */ 8703 8704 8705 /* Peripheral: OSCILLATORS */ 8706 /* Description: Oscillator control 0 */ 8707 8708 /* Register: OSCILLATORS_XOSC32MCAPS */ 8709 /* Description: Programmable capacitance of XC1 and XC2 */ 8710 8711 /* Bit 8 : Enable on-chip capacitors on XC1 and XC2 */ 8712 #define OSCILLATORS_XOSC32MCAPS_ENABLE_Pos (8UL) /*!< Position of ENABLE field. */ 8713 #define OSCILLATORS_XOSC32MCAPS_ENABLE_Msk (0x1UL << OSCILLATORS_XOSC32MCAPS_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 8714 #define OSCILLATORS_XOSC32MCAPS_ENABLE_Disabled (0x0UL) /*!< Capacitor disabled (use external caps) */ 8715 #define OSCILLATORS_XOSC32MCAPS_ENABLE_Enabled (0x1UL) /*!< Capacitor enabled */ 8716 8717 /* Bits 4..0 : Value representing capacitance, calculated using provided equation */ 8718 #define OSCILLATORS_XOSC32MCAPS_CAPVALUE_Pos (0UL) /*!< Position of CAPVALUE field. */ 8719 #define OSCILLATORS_XOSC32MCAPS_CAPVALUE_Msk (0x1FUL << OSCILLATORS_XOSC32MCAPS_CAPVALUE_Pos) /*!< Bit mask of CAPVALUE field. */ 8720 8721 /* Register: OSCILLATORS_XOSC32KI_BYPASS */ 8722 /* Description: Enable or disable bypass of LFCLK crystal oscillator with external clock source */ 8723 8724 /* Bit 0 : Enable or disable bypass of LFCLK crystal oscillator with external clock source */ 8725 #define OSCILLATORS_XOSC32KI_BYPASS_BYPASS_Pos (0UL) /*!< Position of BYPASS field. */ 8726 #define OSCILLATORS_XOSC32KI_BYPASS_BYPASS_Msk (0x1UL << OSCILLATORS_XOSC32KI_BYPASS_BYPASS_Pos) /*!< Bit mask of BYPASS field. */ 8727 #define OSCILLATORS_XOSC32KI_BYPASS_BYPASS_Disabled (0x0UL) /*!< Disable (use with crystal or low-swing external source) */ 8728 #define OSCILLATORS_XOSC32KI_BYPASS_BYPASS_Enabled (0x1UL) /*!< Enable (use with rail-to-rail external source) */ 8729 8730 /* Register: OSCILLATORS_XOSC32KI_INTCAP */ 8731 /* Description: Control usage of internal load capacitors */ 8732 8733 /* Bits 1..0 : Control usage of internal load capacitors */ 8734 #define OSCILLATORS_XOSC32KI_INTCAP_INTCAP_Pos (0UL) /*!< Position of INTCAP field. */ 8735 #define OSCILLATORS_XOSC32KI_INTCAP_INTCAP_Msk (0x3UL << OSCILLATORS_XOSC32KI_INTCAP_INTCAP_Pos) /*!< Bit mask of INTCAP field. */ 8736 #define OSCILLATORS_XOSC32KI_INTCAP_INTCAP_External (0x0UL) /*!< Use external load capacitors */ 8737 #define OSCILLATORS_XOSC32KI_INTCAP_INTCAP_C6PF (0x1UL) /*!< 6 pF internal load capacitance */ 8738 #define OSCILLATORS_XOSC32KI_INTCAP_INTCAP_C7PF (0x2UL) /*!< 7 pF internal load capacitance */ 8739 #define OSCILLATORS_XOSC32KI_INTCAP_INTCAP_C9PF (0x3UL) /*!< 9 pF internal load capacitance */ 8740 8741 8742 /* Peripheral: GPIO */ 8743 /* Description: GPIO Port 0 */ 8744 8745 /* Register: GPIO_OUT */ 8746 /* Description: Write GPIO port */ 8747 8748 /* Bit 31 : Pin 31 */ 8749 #define GPIO_OUT_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 8750 #define GPIO_OUT_PIN31_Msk (0x1UL << GPIO_OUT_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 8751 #define GPIO_OUT_PIN31_Low (0x0UL) /*!< Pin driver is low */ 8752 #define GPIO_OUT_PIN31_High (0x1UL) /*!< Pin driver is high */ 8753 8754 /* Bit 30 : Pin 30 */ 8755 #define GPIO_OUT_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 8756 #define GPIO_OUT_PIN30_Msk (0x1UL << GPIO_OUT_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 8757 #define GPIO_OUT_PIN30_Low (0x0UL) /*!< Pin driver is low */ 8758 #define GPIO_OUT_PIN30_High (0x1UL) /*!< Pin driver is high */ 8759 8760 /* Bit 29 : Pin 29 */ 8761 #define GPIO_OUT_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 8762 #define GPIO_OUT_PIN29_Msk (0x1UL << GPIO_OUT_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 8763 #define GPIO_OUT_PIN29_Low (0x0UL) /*!< Pin driver is low */ 8764 #define GPIO_OUT_PIN29_High (0x1UL) /*!< Pin driver is high */ 8765 8766 /* Bit 28 : Pin 28 */ 8767 #define GPIO_OUT_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 8768 #define GPIO_OUT_PIN28_Msk (0x1UL << GPIO_OUT_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 8769 #define GPIO_OUT_PIN28_Low (0x0UL) /*!< Pin driver is low */ 8770 #define GPIO_OUT_PIN28_High (0x1UL) /*!< Pin driver is high */ 8771 8772 /* Bit 27 : Pin 27 */ 8773 #define GPIO_OUT_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 8774 #define GPIO_OUT_PIN27_Msk (0x1UL << GPIO_OUT_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 8775 #define GPIO_OUT_PIN27_Low (0x0UL) /*!< Pin driver is low */ 8776 #define GPIO_OUT_PIN27_High (0x1UL) /*!< Pin driver is high */ 8777 8778 /* Bit 26 : Pin 26 */ 8779 #define GPIO_OUT_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 8780 #define GPIO_OUT_PIN26_Msk (0x1UL << GPIO_OUT_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 8781 #define GPIO_OUT_PIN26_Low (0x0UL) /*!< Pin driver is low */ 8782 #define GPIO_OUT_PIN26_High (0x1UL) /*!< Pin driver is high */ 8783 8784 /* Bit 25 : Pin 25 */ 8785 #define GPIO_OUT_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 8786 #define GPIO_OUT_PIN25_Msk (0x1UL << GPIO_OUT_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 8787 #define GPIO_OUT_PIN25_Low (0x0UL) /*!< Pin driver is low */ 8788 #define GPIO_OUT_PIN25_High (0x1UL) /*!< Pin driver is high */ 8789 8790 /* Bit 24 : Pin 24 */ 8791 #define GPIO_OUT_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 8792 #define GPIO_OUT_PIN24_Msk (0x1UL << GPIO_OUT_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 8793 #define GPIO_OUT_PIN24_Low (0x0UL) /*!< Pin driver is low */ 8794 #define GPIO_OUT_PIN24_High (0x1UL) /*!< Pin driver is high */ 8795 8796 /* Bit 23 : Pin 23 */ 8797 #define GPIO_OUT_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 8798 #define GPIO_OUT_PIN23_Msk (0x1UL << GPIO_OUT_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 8799 #define GPIO_OUT_PIN23_Low (0x0UL) /*!< Pin driver is low */ 8800 #define GPIO_OUT_PIN23_High (0x1UL) /*!< Pin driver is high */ 8801 8802 /* Bit 22 : Pin 22 */ 8803 #define GPIO_OUT_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 8804 #define GPIO_OUT_PIN22_Msk (0x1UL << GPIO_OUT_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 8805 #define GPIO_OUT_PIN22_Low (0x0UL) /*!< Pin driver is low */ 8806 #define GPIO_OUT_PIN22_High (0x1UL) /*!< Pin driver is high */ 8807 8808 /* Bit 21 : Pin 21 */ 8809 #define GPIO_OUT_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 8810 #define GPIO_OUT_PIN21_Msk (0x1UL << GPIO_OUT_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 8811 #define GPIO_OUT_PIN21_Low (0x0UL) /*!< Pin driver is low */ 8812 #define GPIO_OUT_PIN21_High (0x1UL) /*!< Pin driver is high */ 8813 8814 /* Bit 20 : Pin 20 */ 8815 #define GPIO_OUT_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 8816 #define GPIO_OUT_PIN20_Msk (0x1UL << GPIO_OUT_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 8817 #define GPIO_OUT_PIN20_Low (0x0UL) /*!< Pin driver is low */ 8818 #define GPIO_OUT_PIN20_High (0x1UL) /*!< Pin driver is high */ 8819 8820 /* Bit 19 : Pin 19 */ 8821 #define GPIO_OUT_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 8822 #define GPIO_OUT_PIN19_Msk (0x1UL << GPIO_OUT_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 8823 #define GPIO_OUT_PIN19_Low (0x0UL) /*!< Pin driver is low */ 8824 #define GPIO_OUT_PIN19_High (0x1UL) /*!< Pin driver is high */ 8825 8826 /* Bit 18 : Pin 18 */ 8827 #define GPIO_OUT_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 8828 #define GPIO_OUT_PIN18_Msk (0x1UL << GPIO_OUT_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 8829 #define GPIO_OUT_PIN18_Low (0x0UL) /*!< Pin driver is low */ 8830 #define GPIO_OUT_PIN18_High (0x1UL) /*!< Pin driver is high */ 8831 8832 /* Bit 17 : Pin 17 */ 8833 #define GPIO_OUT_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 8834 #define GPIO_OUT_PIN17_Msk (0x1UL << GPIO_OUT_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 8835 #define GPIO_OUT_PIN17_Low (0x0UL) /*!< Pin driver is low */ 8836 #define GPIO_OUT_PIN17_High (0x1UL) /*!< Pin driver is high */ 8837 8838 /* Bit 16 : Pin 16 */ 8839 #define GPIO_OUT_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 8840 #define GPIO_OUT_PIN16_Msk (0x1UL << GPIO_OUT_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 8841 #define GPIO_OUT_PIN16_Low (0x0UL) /*!< Pin driver is low */ 8842 #define GPIO_OUT_PIN16_High (0x1UL) /*!< Pin driver is high */ 8843 8844 /* Bit 15 : Pin 15 */ 8845 #define GPIO_OUT_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 8846 #define GPIO_OUT_PIN15_Msk (0x1UL << GPIO_OUT_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 8847 #define GPIO_OUT_PIN15_Low (0x0UL) /*!< Pin driver is low */ 8848 #define GPIO_OUT_PIN15_High (0x1UL) /*!< Pin driver is high */ 8849 8850 /* Bit 14 : Pin 14 */ 8851 #define GPIO_OUT_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 8852 #define GPIO_OUT_PIN14_Msk (0x1UL << GPIO_OUT_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 8853 #define GPIO_OUT_PIN14_Low (0x0UL) /*!< Pin driver is low */ 8854 #define GPIO_OUT_PIN14_High (0x1UL) /*!< Pin driver is high */ 8855 8856 /* Bit 13 : Pin 13 */ 8857 #define GPIO_OUT_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 8858 #define GPIO_OUT_PIN13_Msk (0x1UL << GPIO_OUT_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 8859 #define GPIO_OUT_PIN13_Low (0x0UL) /*!< Pin driver is low */ 8860 #define GPIO_OUT_PIN13_High (0x1UL) /*!< Pin driver is high */ 8861 8862 /* Bit 12 : Pin 12 */ 8863 #define GPIO_OUT_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 8864 #define GPIO_OUT_PIN12_Msk (0x1UL << GPIO_OUT_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 8865 #define GPIO_OUT_PIN12_Low (0x0UL) /*!< Pin driver is low */ 8866 #define GPIO_OUT_PIN12_High (0x1UL) /*!< Pin driver is high */ 8867 8868 /* Bit 11 : Pin 11 */ 8869 #define GPIO_OUT_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 8870 #define GPIO_OUT_PIN11_Msk (0x1UL << GPIO_OUT_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 8871 #define GPIO_OUT_PIN11_Low (0x0UL) /*!< Pin driver is low */ 8872 #define GPIO_OUT_PIN11_High (0x1UL) /*!< Pin driver is high */ 8873 8874 /* Bit 10 : Pin 10 */ 8875 #define GPIO_OUT_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 8876 #define GPIO_OUT_PIN10_Msk (0x1UL << GPIO_OUT_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 8877 #define GPIO_OUT_PIN10_Low (0x0UL) /*!< Pin driver is low */ 8878 #define GPIO_OUT_PIN10_High (0x1UL) /*!< Pin driver is high */ 8879 8880 /* Bit 9 : Pin 9 */ 8881 #define GPIO_OUT_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 8882 #define GPIO_OUT_PIN9_Msk (0x1UL << GPIO_OUT_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 8883 #define GPIO_OUT_PIN9_Low (0x0UL) /*!< Pin driver is low */ 8884 #define GPIO_OUT_PIN9_High (0x1UL) /*!< Pin driver is high */ 8885 8886 /* Bit 8 : Pin 8 */ 8887 #define GPIO_OUT_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 8888 #define GPIO_OUT_PIN8_Msk (0x1UL << GPIO_OUT_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 8889 #define GPIO_OUT_PIN8_Low (0x0UL) /*!< Pin driver is low */ 8890 #define GPIO_OUT_PIN8_High (0x1UL) /*!< Pin driver is high */ 8891 8892 /* Bit 7 : Pin 7 */ 8893 #define GPIO_OUT_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 8894 #define GPIO_OUT_PIN7_Msk (0x1UL << GPIO_OUT_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 8895 #define GPIO_OUT_PIN7_Low (0x0UL) /*!< Pin driver is low */ 8896 #define GPIO_OUT_PIN7_High (0x1UL) /*!< Pin driver is high */ 8897 8898 /* Bit 6 : Pin 6 */ 8899 #define GPIO_OUT_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 8900 #define GPIO_OUT_PIN6_Msk (0x1UL << GPIO_OUT_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 8901 #define GPIO_OUT_PIN6_Low (0x0UL) /*!< Pin driver is low */ 8902 #define GPIO_OUT_PIN6_High (0x1UL) /*!< Pin driver is high */ 8903 8904 /* Bit 5 : Pin 5 */ 8905 #define GPIO_OUT_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 8906 #define GPIO_OUT_PIN5_Msk (0x1UL << GPIO_OUT_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 8907 #define GPIO_OUT_PIN5_Low (0x0UL) /*!< Pin driver is low */ 8908 #define GPIO_OUT_PIN5_High (0x1UL) /*!< Pin driver is high */ 8909 8910 /* Bit 4 : Pin 4 */ 8911 #define GPIO_OUT_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 8912 #define GPIO_OUT_PIN4_Msk (0x1UL << GPIO_OUT_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 8913 #define GPIO_OUT_PIN4_Low (0x0UL) /*!< Pin driver is low */ 8914 #define GPIO_OUT_PIN4_High (0x1UL) /*!< Pin driver is high */ 8915 8916 /* Bit 3 : Pin 3 */ 8917 #define GPIO_OUT_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 8918 #define GPIO_OUT_PIN3_Msk (0x1UL << GPIO_OUT_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 8919 #define GPIO_OUT_PIN3_Low (0x0UL) /*!< Pin driver is low */ 8920 #define GPIO_OUT_PIN3_High (0x1UL) /*!< Pin driver is high */ 8921 8922 /* Bit 2 : Pin 2 */ 8923 #define GPIO_OUT_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 8924 #define GPIO_OUT_PIN2_Msk (0x1UL << GPIO_OUT_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 8925 #define GPIO_OUT_PIN2_Low (0x0UL) /*!< Pin driver is low */ 8926 #define GPIO_OUT_PIN2_High (0x1UL) /*!< Pin driver is high */ 8927 8928 /* Bit 1 : Pin 1 */ 8929 #define GPIO_OUT_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 8930 #define GPIO_OUT_PIN1_Msk (0x1UL << GPIO_OUT_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 8931 #define GPIO_OUT_PIN1_Low (0x0UL) /*!< Pin driver is low */ 8932 #define GPIO_OUT_PIN1_High (0x1UL) /*!< Pin driver is high */ 8933 8934 /* Bit 0 : Pin 0 */ 8935 #define GPIO_OUT_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 8936 #define GPIO_OUT_PIN0_Msk (0x1UL << GPIO_OUT_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 8937 #define GPIO_OUT_PIN0_Low (0x0UL) /*!< Pin driver is low */ 8938 #define GPIO_OUT_PIN0_High (0x1UL) /*!< Pin driver is high */ 8939 8940 /* Register: GPIO_OUTSET */ 8941 /* Description: Set individual bits in GPIO port */ 8942 8943 /* Bit 31 : Pin 31 */ 8944 #define GPIO_OUTSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 8945 #define GPIO_OUTSET_PIN31_Msk (0x1UL << GPIO_OUTSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 8946 #define GPIO_OUTSET_PIN31_Low (0x0UL) /*!< Read: pin driver is low */ 8947 #define GPIO_OUTSET_PIN31_High (0x1UL) /*!< Read: pin driver is high */ 8948 #define GPIO_OUTSET_PIN31_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8949 8950 /* Bit 30 : Pin 30 */ 8951 #define GPIO_OUTSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 8952 #define GPIO_OUTSET_PIN30_Msk (0x1UL << GPIO_OUTSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 8953 #define GPIO_OUTSET_PIN30_Low (0x0UL) /*!< Read: pin driver is low */ 8954 #define GPIO_OUTSET_PIN30_High (0x1UL) /*!< Read: pin driver is high */ 8955 #define GPIO_OUTSET_PIN30_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8956 8957 /* Bit 29 : Pin 29 */ 8958 #define GPIO_OUTSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 8959 #define GPIO_OUTSET_PIN29_Msk (0x1UL << GPIO_OUTSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 8960 #define GPIO_OUTSET_PIN29_Low (0x0UL) /*!< Read: pin driver is low */ 8961 #define GPIO_OUTSET_PIN29_High (0x1UL) /*!< Read: pin driver is high */ 8962 #define GPIO_OUTSET_PIN29_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8963 8964 /* Bit 28 : Pin 28 */ 8965 #define GPIO_OUTSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 8966 #define GPIO_OUTSET_PIN28_Msk (0x1UL << GPIO_OUTSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 8967 #define GPIO_OUTSET_PIN28_Low (0x0UL) /*!< Read: pin driver is low */ 8968 #define GPIO_OUTSET_PIN28_High (0x1UL) /*!< Read: pin driver is high */ 8969 #define GPIO_OUTSET_PIN28_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8970 8971 /* Bit 27 : Pin 27 */ 8972 #define GPIO_OUTSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 8973 #define GPIO_OUTSET_PIN27_Msk (0x1UL << GPIO_OUTSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 8974 #define GPIO_OUTSET_PIN27_Low (0x0UL) /*!< Read: pin driver is low */ 8975 #define GPIO_OUTSET_PIN27_High (0x1UL) /*!< Read: pin driver is high */ 8976 #define GPIO_OUTSET_PIN27_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8977 8978 /* Bit 26 : Pin 26 */ 8979 #define GPIO_OUTSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 8980 #define GPIO_OUTSET_PIN26_Msk (0x1UL << GPIO_OUTSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 8981 #define GPIO_OUTSET_PIN26_Low (0x0UL) /*!< Read: pin driver is low */ 8982 #define GPIO_OUTSET_PIN26_High (0x1UL) /*!< Read: pin driver is high */ 8983 #define GPIO_OUTSET_PIN26_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8984 8985 /* Bit 25 : Pin 25 */ 8986 #define GPIO_OUTSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 8987 #define GPIO_OUTSET_PIN25_Msk (0x1UL << GPIO_OUTSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 8988 #define GPIO_OUTSET_PIN25_Low (0x0UL) /*!< Read: pin driver is low */ 8989 #define GPIO_OUTSET_PIN25_High (0x1UL) /*!< Read: pin driver is high */ 8990 #define GPIO_OUTSET_PIN25_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8991 8992 /* Bit 24 : Pin 24 */ 8993 #define GPIO_OUTSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 8994 #define GPIO_OUTSET_PIN24_Msk (0x1UL << GPIO_OUTSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 8995 #define GPIO_OUTSET_PIN24_Low (0x0UL) /*!< Read: pin driver is low */ 8996 #define GPIO_OUTSET_PIN24_High (0x1UL) /*!< Read: pin driver is high */ 8997 #define GPIO_OUTSET_PIN24_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 8998 8999 /* Bit 23 : Pin 23 */ 9000 #define GPIO_OUTSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 9001 #define GPIO_OUTSET_PIN23_Msk (0x1UL << GPIO_OUTSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 9002 #define GPIO_OUTSET_PIN23_Low (0x0UL) /*!< Read: pin driver is low */ 9003 #define GPIO_OUTSET_PIN23_High (0x1UL) /*!< Read: pin driver is high */ 9004 #define GPIO_OUTSET_PIN23_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9005 9006 /* Bit 22 : Pin 22 */ 9007 #define GPIO_OUTSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 9008 #define GPIO_OUTSET_PIN22_Msk (0x1UL << GPIO_OUTSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 9009 #define GPIO_OUTSET_PIN22_Low (0x0UL) /*!< Read: pin driver is low */ 9010 #define GPIO_OUTSET_PIN22_High (0x1UL) /*!< Read: pin driver is high */ 9011 #define GPIO_OUTSET_PIN22_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9012 9013 /* Bit 21 : Pin 21 */ 9014 #define GPIO_OUTSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 9015 #define GPIO_OUTSET_PIN21_Msk (0x1UL << GPIO_OUTSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 9016 #define GPIO_OUTSET_PIN21_Low (0x0UL) /*!< Read: pin driver is low */ 9017 #define GPIO_OUTSET_PIN21_High (0x1UL) /*!< Read: pin driver is high */ 9018 #define GPIO_OUTSET_PIN21_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9019 9020 /* Bit 20 : Pin 20 */ 9021 #define GPIO_OUTSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 9022 #define GPIO_OUTSET_PIN20_Msk (0x1UL << GPIO_OUTSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 9023 #define GPIO_OUTSET_PIN20_Low (0x0UL) /*!< Read: pin driver is low */ 9024 #define GPIO_OUTSET_PIN20_High (0x1UL) /*!< Read: pin driver is high */ 9025 #define GPIO_OUTSET_PIN20_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9026 9027 /* Bit 19 : Pin 19 */ 9028 #define GPIO_OUTSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 9029 #define GPIO_OUTSET_PIN19_Msk (0x1UL << GPIO_OUTSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 9030 #define GPIO_OUTSET_PIN19_Low (0x0UL) /*!< Read: pin driver is low */ 9031 #define GPIO_OUTSET_PIN19_High (0x1UL) /*!< Read: pin driver is high */ 9032 #define GPIO_OUTSET_PIN19_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9033 9034 /* Bit 18 : Pin 18 */ 9035 #define GPIO_OUTSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 9036 #define GPIO_OUTSET_PIN18_Msk (0x1UL << GPIO_OUTSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 9037 #define GPIO_OUTSET_PIN18_Low (0x0UL) /*!< Read: pin driver is low */ 9038 #define GPIO_OUTSET_PIN18_High (0x1UL) /*!< Read: pin driver is high */ 9039 #define GPIO_OUTSET_PIN18_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9040 9041 /* Bit 17 : Pin 17 */ 9042 #define GPIO_OUTSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 9043 #define GPIO_OUTSET_PIN17_Msk (0x1UL << GPIO_OUTSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 9044 #define GPIO_OUTSET_PIN17_Low (0x0UL) /*!< Read: pin driver is low */ 9045 #define GPIO_OUTSET_PIN17_High (0x1UL) /*!< Read: pin driver is high */ 9046 #define GPIO_OUTSET_PIN17_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9047 9048 /* Bit 16 : Pin 16 */ 9049 #define GPIO_OUTSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 9050 #define GPIO_OUTSET_PIN16_Msk (0x1UL << GPIO_OUTSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 9051 #define GPIO_OUTSET_PIN16_Low (0x0UL) /*!< Read: pin driver is low */ 9052 #define GPIO_OUTSET_PIN16_High (0x1UL) /*!< Read: pin driver is high */ 9053 #define GPIO_OUTSET_PIN16_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9054 9055 /* Bit 15 : Pin 15 */ 9056 #define GPIO_OUTSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 9057 #define GPIO_OUTSET_PIN15_Msk (0x1UL << GPIO_OUTSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 9058 #define GPIO_OUTSET_PIN15_Low (0x0UL) /*!< Read: pin driver is low */ 9059 #define GPIO_OUTSET_PIN15_High (0x1UL) /*!< Read: pin driver is high */ 9060 #define GPIO_OUTSET_PIN15_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9061 9062 /* Bit 14 : Pin 14 */ 9063 #define GPIO_OUTSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 9064 #define GPIO_OUTSET_PIN14_Msk (0x1UL << GPIO_OUTSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 9065 #define GPIO_OUTSET_PIN14_Low (0x0UL) /*!< Read: pin driver is low */ 9066 #define GPIO_OUTSET_PIN14_High (0x1UL) /*!< Read: pin driver is high */ 9067 #define GPIO_OUTSET_PIN14_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9068 9069 /* Bit 13 : Pin 13 */ 9070 #define GPIO_OUTSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 9071 #define GPIO_OUTSET_PIN13_Msk (0x1UL << GPIO_OUTSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 9072 #define GPIO_OUTSET_PIN13_Low (0x0UL) /*!< Read: pin driver is low */ 9073 #define GPIO_OUTSET_PIN13_High (0x1UL) /*!< Read: pin driver is high */ 9074 #define GPIO_OUTSET_PIN13_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9075 9076 /* Bit 12 : Pin 12 */ 9077 #define GPIO_OUTSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 9078 #define GPIO_OUTSET_PIN12_Msk (0x1UL << GPIO_OUTSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 9079 #define GPIO_OUTSET_PIN12_Low (0x0UL) /*!< Read: pin driver is low */ 9080 #define GPIO_OUTSET_PIN12_High (0x1UL) /*!< Read: pin driver is high */ 9081 #define GPIO_OUTSET_PIN12_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9082 9083 /* Bit 11 : Pin 11 */ 9084 #define GPIO_OUTSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 9085 #define GPIO_OUTSET_PIN11_Msk (0x1UL << GPIO_OUTSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 9086 #define GPIO_OUTSET_PIN11_Low (0x0UL) /*!< Read: pin driver is low */ 9087 #define GPIO_OUTSET_PIN11_High (0x1UL) /*!< Read: pin driver is high */ 9088 #define GPIO_OUTSET_PIN11_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9089 9090 /* Bit 10 : Pin 10 */ 9091 #define GPIO_OUTSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 9092 #define GPIO_OUTSET_PIN10_Msk (0x1UL << GPIO_OUTSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 9093 #define GPIO_OUTSET_PIN10_Low (0x0UL) /*!< Read: pin driver is low */ 9094 #define GPIO_OUTSET_PIN10_High (0x1UL) /*!< Read: pin driver is high */ 9095 #define GPIO_OUTSET_PIN10_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9096 9097 /* Bit 9 : Pin 9 */ 9098 #define GPIO_OUTSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 9099 #define GPIO_OUTSET_PIN9_Msk (0x1UL << GPIO_OUTSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 9100 #define GPIO_OUTSET_PIN9_Low (0x0UL) /*!< Read: pin driver is low */ 9101 #define GPIO_OUTSET_PIN9_High (0x1UL) /*!< Read: pin driver is high */ 9102 #define GPIO_OUTSET_PIN9_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9103 9104 /* Bit 8 : Pin 8 */ 9105 #define GPIO_OUTSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 9106 #define GPIO_OUTSET_PIN8_Msk (0x1UL << GPIO_OUTSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 9107 #define GPIO_OUTSET_PIN8_Low (0x0UL) /*!< Read: pin driver is low */ 9108 #define GPIO_OUTSET_PIN8_High (0x1UL) /*!< Read: pin driver is high */ 9109 #define GPIO_OUTSET_PIN8_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9110 9111 /* Bit 7 : Pin 7 */ 9112 #define GPIO_OUTSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 9113 #define GPIO_OUTSET_PIN7_Msk (0x1UL << GPIO_OUTSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 9114 #define GPIO_OUTSET_PIN7_Low (0x0UL) /*!< Read: pin driver is low */ 9115 #define GPIO_OUTSET_PIN7_High (0x1UL) /*!< Read: pin driver is high */ 9116 #define GPIO_OUTSET_PIN7_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9117 9118 /* Bit 6 : Pin 6 */ 9119 #define GPIO_OUTSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 9120 #define GPIO_OUTSET_PIN6_Msk (0x1UL << GPIO_OUTSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 9121 #define GPIO_OUTSET_PIN6_Low (0x0UL) /*!< Read: pin driver is low */ 9122 #define GPIO_OUTSET_PIN6_High (0x1UL) /*!< Read: pin driver is high */ 9123 #define GPIO_OUTSET_PIN6_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9124 9125 /* Bit 5 : Pin 5 */ 9126 #define GPIO_OUTSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 9127 #define GPIO_OUTSET_PIN5_Msk (0x1UL << GPIO_OUTSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 9128 #define GPIO_OUTSET_PIN5_Low (0x0UL) /*!< Read: pin driver is low */ 9129 #define GPIO_OUTSET_PIN5_High (0x1UL) /*!< Read: pin driver is high */ 9130 #define GPIO_OUTSET_PIN5_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9131 9132 /* Bit 4 : Pin 4 */ 9133 #define GPIO_OUTSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 9134 #define GPIO_OUTSET_PIN4_Msk (0x1UL << GPIO_OUTSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 9135 #define GPIO_OUTSET_PIN4_Low (0x0UL) /*!< Read: pin driver is low */ 9136 #define GPIO_OUTSET_PIN4_High (0x1UL) /*!< Read: pin driver is high */ 9137 #define GPIO_OUTSET_PIN4_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9138 9139 /* Bit 3 : Pin 3 */ 9140 #define GPIO_OUTSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 9141 #define GPIO_OUTSET_PIN3_Msk (0x1UL << GPIO_OUTSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 9142 #define GPIO_OUTSET_PIN3_Low (0x0UL) /*!< Read: pin driver is low */ 9143 #define GPIO_OUTSET_PIN3_High (0x1UL) /*!< Read: pin driver is high */ 9144 #define GPIO_OUTSET_PIN3_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9145 9146 /* Bit 2 : Pin 2 */ 9147 #define GPIO_OUTSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 9148 #define GPIO_OUTSET_PIN2_Msk (0x1UL << GPIO_OUTSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 9149 #define GPIO_OUTSET_PIN2_Low (0x0UL) /*!< Read: pin driver is low */ 9150 #define GPIO_OUTSET_PIN2_High (0x1UL) /*!< Read: pin driver is high */ 9151 #define GPIO_OUTSET_PIN2_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9152 9153 /* Bit 1 : Pin 1 */ 9154 #define GPIO_OUTSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 9155 #define GPIO_OUTSET_PIN1_Msk (0x1UL << GPIO_OUTSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 9156 #define GPIO_OUTSET_PIN1_Low (0x0UL) /*!< Read: pin driver is low */ 9157 #define GPIO_OUTSET_PIN1_High (0x1UL) /*!< Read: pin driver is high */ 9158 #define GPIO_OUTSET_PIN1_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9159 9160 /* Bit 0 : Pin 0 */ 9161 #define GPIO_OUTSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 9162 #define GPIO_OUTSET_PIN0_Msk (0x1UL << GPIO_OUTSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 9163 #define GPIO_OUTSET_PIN0_Low (0x0UL) /*!< Read: pin driver is low */ 9164 #define GPIO_OUTSET_PIN0_High (0x1UL) /*!< Read: pin driver is high */ 9165 #define GPIO_OUTSET_PIN0_Set (0x1UL) /*!< Write: writing a '1' sets the pin high; writing a '0' has no effect */ 9166 9167 /* Register: GPIO_OUTCLR */ 9168 /* Description: Clear individual bits in GPIO port */ 9169 9170 /* Bit 31 : Pin 31 */ 9171 #define GPIO_OUTCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 9172 #define GPIO_OUTCLR_PIN31_Msk (0x1UL << GPIO_OUTCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 9173 #define GPIO_OUTCLR_PIN31_Low (0x0UL) /*!< Read: pin driver is low */ 9174 #define GPIO_OUTCLR_PIN31_High (0x1UL) /*!< Read: pin driver is high */ 9175 #define GPIO_OUTCLR_PIN31_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9176 9177 /* Bit 30 : Pin 30 */ 9178 #define GPIO_OUTCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 9179 #define GPIO_OUTCLR_PIN30_Msk (0x1UL << GPIO_OUTCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 9180 #define GPIO_OUTCLR_PIN30_Low (0x0UL) /*!< Read: pin driver is low */ 9181 #define GPIO_OUTCLR_PIN30_High (0x1UL) /*!< Read: pin driver is high */ 9182 #define GPIO_OUTCLR_PIN30_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9183 9184 /* Bit 29 : Pin 29 */ 9185 #define GPIO_OUTCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 9186 #define GPIO_OUTCLR_PIN29_Msk (0x1UL << GPIO_OUTCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 9187 #define GPIO_OUTCLR_PIN29_Low (0x0UL) /*!< Read: pin driver is low */ 9188 #define GPIO_OUTCLR_PIN29_High (0x1UL) /*!< Read: pin driver is high */ 9189 #define GPIO_OUTCLR_PIN29_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9190 9191 /* Bit 28 : Pin 28 */ 9192 #define GPIO_OUTCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 9193 #define GPIO_OUTCLR_PIN28_Msk (0x1UL << GPIO_OUTCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 9194 #define GPIO_OUTCLR_PIN28_Low (0x0UL) /*!< Read: pin driver is low */ 9195 #define GPIO_OUTCLR_PIN28_High (0x1UL) /*!< Read: pin driver is high */ 9196 #define GPIO_OUTCLR_PIN28_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9197 9198 /* Bit 27 : Pin 27 */ 9199 #define GPIO_OUTCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 9200 #define GPIO_OUTCLR_PIN27_Msk (0x1UL << GPIO_OUTCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 9201 #define GPIO_OUTCLR_PIN27_Low (0x0UL) /*!< Read: pin driver is low */ 9202 #define GPIO_OUTCLR_PIN27_High (0x1UL) /*!< Read: pin driver is high */ 9203 #define GPIO_OUTCLR_PIN27_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9204 9205 /* Bit 26 : Pin 26 */ 9206 #define GPIO_OUTCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 9207 #define GPIO_OUTCLR_PIN26_Msk (0x1UL << GPIO_OUTCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 9208 #define GPIO_OUTCLR_PIN26_Low (0x0UL) /*!< Read: pin driver is low */ 9209 #define GPIO_OUTCLR_PIN26_High (0x1UL) /*!< Read: pin driver is high */ 9210 #define GPIO_OUTCLR_PIN26_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9211 9212 /* Bit 25 : Pin 25 */ 9213 #define GPIO_OUTCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 9214 #define GPIO_OUTCLR_PIN25_Msk (0x1UL << GPIO_OUTCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 9215 #define GPIO_OUTCLR_PIN25_Low (0x0UL) /*!< Read: pin driver is low */ 9216 #define GPIO_OUTCLR_PIN25_High (0x1UL) /*!< Read: pin driver is high */ 9217 #define GPIO_OUTCLR_PIN25_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9218 9219 /* Bit 24 : Pin 24 */ 9220 #define GPIO_OUTCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 9221 #define GPIO_OUTCLR_PIN24_Msk (0x1UL << GPIO_OUTCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 9222 #define GPIO_OUTCLR_PIN24_Low (0x0UL) /*!< Read: pin driver is low */ 9223 #define GPIO_OUTCLR_PIN24_High (0x1UL) /*!< Read: pin driver is high */ 9224 #define GPIO_OUTCLR_PIN24_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9225 9226 /* Bit 23 : Pin 23 */ 9227 #define GPIO_OUTCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 9228 #define GPIO_OUTCLR_PIN23_Msk (0x1UL << GPIO_OUTCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 9229 #define GPIO_OUTCLR_PIN23_Low (0x0UL) /*!< Read: pin driver is low */ 9230 #define GPIO_OUTCLR_PIN23_High (0x1UL) /*!< Read: pin driver is high */ 9231 #define GPIO_OUTCLR_PIN23_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9232 9233 /* Bit 22 : Pin 22 */ 9234 #define GPIO_OUTCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 9235 #define GPIO_OUTCLR_PIN22_Msk (0x1UL << GPIO_OUTCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 9236 #define GPIO_OUTCLR_PIN22_Low (0x0UL) /*!< Read: pin driver is low */ 9237 #define GPIO_OUTCLR_PIN22_High (0x1UL) /*!< Read: pin driver is high */ 9238 #define GPIO_OUTCLR_PIN22_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9239 9240 /* Bit 21 : Pin 21 */ 9241 #define GPIO_OUTCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 9242 #define GPIO_OUTCLR_PIN21_Msk (0x1UL << GPIO_OUTCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 9243 #define GPIO_OUTCLR_PIN21_Low (0x0UL) /*!< Read: pin driver is low */ 9244 #define GPIO_OUTCLR_PIN21_High (0x1UL) /*!< Read: pin driver is high */ 9245 #define GPIO_OUTCLR_PIN21_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9246 9247 /* Bit 20 : Pin 20 */ 9248 #define GPIO_OUTCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 9249 #define GPIO_OUTCLR_PIN20_Msk (0x1UL << GPIO_OUTCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 9250 #define GPIO_OUTCLR_PIN20_Low (0x0UL) /*!< Read: pin driver is low */ 9251 #define GPIO_OUTCLR_PIN20_High (0x1UL) /*!< Read: pin driver is high */ 9252 #define GPIO_OUTCLR_PIN20_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9253 9254 /* Bit 19 : Pin 19 */ 9255 #define GPIO_OUTCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 9256 #define GPIO_OUTCLR_PIN19_Msk (0x1UL << GPIO_OUTCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 9257 #define GPIO_OUTCLR_PIN19_Low (0x0UL) /*!< Read: pin driver is low */ 9258 #define GPIO_OUTCLR_PIN19_High (0x1UL) /*!< Read: pin driver is high */ 9259 #define GPIO_OUTCLR_PIN19_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9260 9261 /* Bit 18 : Pin 18 */ 9262 #define GPIO_OUTCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 9263 #define GPIO_OUTCLR_PIN18_Msk (0x1UL << GPIO_OUTCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 9264 #define GPIO_OUTCLR_PIN18_Low (0x0UL) /*!< Read: pin driver is low */ 9265 #define GPIO_OUTCLR_PIN18_High (0x1UL) /*!< Read: pin driver is high */ 9266 #define GPIO_OUTCLR_PIN18_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9267 9268 /* Bit 17 : Pin 17 */ 9269 #define GPIO_OUTCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 9270 #define GPIO_OUTCLR_PIN17_Msk (0x1UL << GPIO_OUTCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 9271 #define GPIO_OUTCLR_PIN17_Low (0x0UL) /*!< Read: pin driver is low */ 9272 #define GPIO_OUTCLR_PIN17_High (0x1UL) /*!< Read: pin driver is high */ 9273 #define GPIO_OUTCLR_PIN17_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9274 9275 /* Bit 16 : Pin 16 */ 9276 #define GPIO_OUTCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 9277 #define GPIO_OUTCLR_PIN16_Msk (0x1UL << GPIO_OUTCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 9278 #define GPIO_OUTCLR_PIN16_Low (0x0UL) /*!< Read: pin driver is low */ 9279 #define GPIO_OUTCLR_PIN16_High (0x1UL) /*!< Read: pin driver is high */ 9280 #define GPIO_OUTCLR_PIN16_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9281 9282 /* Bit 15 : Pin 15 */ 9283 #define GPIO_OUTCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 9284 #define GPIO_OUTCLR_PIN15_Msk (0x1UL << GPIO_OUTCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 9285 #define GPIO_OUTCLR_PIN15_Low (0x0UL) /*!< Read: pin driver is low */ 9286 #define GPIO_OUTCLR_PIN15_High (0x1UL) /*!< Read: pin driver is high */ 9287 #define GPIO_OUTCLR_PIN15_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9288 9289 /* Bit 14 : Pin 14 */ 9290 #define GPIO_OUTCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 9291 #define GPIO_OUTCLR_PIN14_Msk (0x1UL << GPIO_OUTCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 9292 #define GPIO_OUTCLR_PIN14_Low (0x0UL) /*!< Read: pin driver is low */ 9293 #define GPIO_OUTCLR_PIN14_High (0x1UL) /*!< Read: pin driver is high */ 9294 #define GPIO_OUTCLR_PIN14_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9295 9296 /* Bit 13 : Pin 13 */ 9297 #define GPIO_OUTCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 9298 #define GPIO_OUTCLR_PIN13_Msk (0x1UL << GPIO_OUTCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 9299 #define GPIO_OUTCLR_PIN13_Low (0x0UL) /*!< Read: pin driver is low */ 9300 #define GPIO_OUTCLR_PIN13_High (0x1UL) /*!< Read: pin driver is high */ 9301 #define GPIO_OUTCLR_PIN13_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9302 9303 /* Bit 12 : Pin 12 */ 9304 #define GPIO_OUTCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 9305 #define GPIO_OUTCLR_PIN12_Msk (0x1UL << GPIO_OUTCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 9306 #define GPIO_OUTCLR_PIN12_Low (0x0UL) /*!< Read: pin driver is low */ 9307 #define GPIO_OUTCLR_PIN12_High (0x1UL) /*!< Read: pin driver is high */ 9308 #define GPIO_OUTCLR_PIN12_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9309 9310 /* Bit 11 : Pin 11 */ 9311 #define GPIO_OUTCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 9312 #define GPIO_OUTCLR_PIN11_Msk (0x1UL << GPIO_OUTCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 9313 #define GPIO_OUTCLR_PIN11_Low (0x0UL) /*!< Read: pin driver is low */ 9314 #define GPIO_OUTCLR_PIN11_High (0x1UL) /*!< Read: pin driver is high */ 9315 #define GPIO_OUTCLR_PIN11_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9316 9317 /* Bit 10 : Pin 10 */ 9318 #define GPIO_OUTCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 9319 #define GPIO_OUTCLR_PIN10_Msk (0x1UL << GPIO_OUTCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 9320 #define GPIO_OUTCLR_PIN10_Low (0x0UL) /*!< Read: pin driver is low */ 9321 #define GPIO_OUTCLR_PIN10_High (0x1UL) /*!< Read: pin driver is high */ 9322 #define GPIO_OUTCLR_PIN10_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9323 9324 /* Bit 9 : Pin 9 */ 9325 #define GPIO_OUTCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 9326 #define GPIO_OUTCLR_PIN9_Msk (0x1UL << GPIO_OUTCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 9327 #define GPIO_OUTCLR_PIN9_Low (0x0UL) /*!< Read: pin driver is low */ 9328 #define GPIO_OUTCLR_PIN9_High (0x1UL) /*!< Read: pin driver is high */ 9329 #define GPIO_OUTCLR_PIN9_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9330 9331 /* Bit 8 : Pin 8 */ 9332 #define GPIO_OUTCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 9333 #define GPIO_OUTCLR_PIN8_Msk (0x1UL << GPIO_OUTCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 9334 #define GPIO_OUTCLR_PIN8_Low (0x0UL) /*!< Read: pin driver is low */ 9335 #define GPIO_OUTCLR_PIN8_High (0x1UL) /*!< Read: pin driver is high */ 9336 #define GPIO_OUTCLR_PIN8_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9337 9338 /* Bit 7 : Pin 7 */ 9339 #define GPIO_OUTCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 9340 #define GPIO_OUTCLR_PIN7_Msk (0x1UL << GPIO_OUTCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 9341 #define GPIO_OUTCLR_PIN7_Low (0x0UL) /*!< Read: pin driver is low */ 9342 #define GPIO_OUTCLR_PIN7_High (0x1UL) /*!< Read: pin driver is high */ 9343 #define GPIO_OUTCLR_PIN7_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9344 9345 /* Bit 6 : Pin 6 */ 9346 #define GPIO_OUTCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 9347 #define GPIO_OUTCLR_PIN6_Msk (0x1UL << GPIO_OUTCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 9348 #define GPIO_OUTCLR_PIN6_Low (0x0UL) /*!< Read: pin driver is low */ 9349 #define GPIO_OUTCLR_PIN6_High (0x1UL) /*!< Read: pin driver is high */ 9350 #define GPIO_OUTCLR_PIN6_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9351 9352 /* Bit 5 : Pin 5 */ 9353 #define GPIO_OUTCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 9354 #define GPIO_OUTCLR_PIN5_Msk (0x1UL << GPIO_OUTCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 9355 #define GPIO_OUTCLR_PIN5_Low (0x0UL) /*!< Read: pin driver is low */ 9356 #define GPIO_OUTCLR_PIN5_High (0x1UL) /*!< Read: pin driver is high */ 9357 #define GPIO_OUTCLR_PIN5_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9358 9359 /* Bit 4 : Pin 4 */ 9360 #define GPIO_OUTCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 9361 #define GPIO_OUTCLR_PIN4_Msk (0x1UL << GPIO_OUTCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 9362 #define GPIO_OUTCLR_PIN4_Low (0x0UL) /*!< Read: pin driver is low */ 9363 #define GPIO_OUTCLR_PIN4_High (0x1UL) /*!< Read: pin driver is high */ 9364 #define GPIO_OUTCLR_PIN4_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9365 9366 /* Bit 3 : Pin 3 */ 9367 #define GPIO_OUTCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 9368 #define GPIO_OUTCLR_PIN3_Msk (0x1UL << GPIO_OUTCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 9369 #define GPIO_OUTCLR_PIN3_Low (0x0UL) /*!< Read: pin driver is low */ 9370 #define GPIO_OUTCLR_PIN3_High (0x1UL) /*!< Read: pin driver is high */ 9371 #define GPIO_OUTCLR_PIN3_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9372 9373 /* Bit 2 : Pin 2 */ 9374 #define GPIO_OUTCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 9375 #define GPIO_OUTCLR_PIN2_Msk (0x1UL << GPIO_OUTCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 9376 #define GPIO_OUTCLR_PIN2_Low (0x0UL) /*!< Read: pin driver is low */ 9377 #define GPIO_OUTCLR_PIN2_High (0x1UL) /*!< Read: pin driver is high */ 9378 #define GPIO_OUTCLR_PIN2_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9379 9380 /* Bit 1 : Pin 1 */ 9381 #define GPIO_OUTCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 9382 #define GPIO_OUTCLR_PIN1_Msk (0x1UL << GPIO_OUTCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 9383 #define GPIO_OUTCLR_PIN1_Low (0x0UL) /*!< Read: pin driver is low */ 9384 #define GPIO_OUTCLR_PIN1_High (0x1UL) /*!< Read: pin driver is high */ 9385 #define GPIO_OUTCLR_PIN1_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9386 9387 /* Bit 0 : Pin 0 */ 9388 #define GPIO_OUTCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 9389 #define GPIO_OUTCLR_PIN0_Msk (0x1UL << GPIO_OUTCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 9390 #define GPIO_OUTCLR_PIN0_Low (0x0UL) /*!< Read: pin driver is low */ 9391 #define GPIO_OUTCLR_PIN0_High (0x1UL) /*!< Read: pin driver is high */ 9392 #define GPIO_OUTCLR_PIN0_Clear (0x1UL) /*!< Write: writing a '1' sets the pin low; writing a '0' has no effect */ 9393 9394 /* Register: GPIO_IN */ 9395 /* Description: Read GPIO port */ 9396 9397 /* Bit 31 : Pin 31 */ 9398 #define GPIO_IN_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 9399 #define GPIO_IN_PIN31_Msk (0x1UL << GPIO_IN_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 9400 #define GPIO_IN_PIN31_Low (0x0UL) /*!< Pin input is low */ 9401 #define GPIO_IN_PIN31_High (0x1UL) /*!< Pin input is high */ 9402 9403 /* Bit 30 : Pin 30 */ 9404 #define GPIO_IN_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 9405 #define GPIO_IN_PIN30_Msk (0x1UL << GPIO_IN_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 9406 #define GPIO_IN_PIN30_Low (0x0UL) /*!< Pin input is low */ 9407 #define GPIO_IN_PIN30_High (0x1UL) /*!< Pin input is high */ 9408 9409 /* Bit 29 : Pin 29 */ 9410 #define GPIO_IN_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 9411 #define GPIO_IN_PIN29_Msk (0x1UL << GPIO_IN_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 9412 #define GPIO_IN_PIN29_Low (0x0UL) /*!< Pin input is low */ 9413 #define GPIO_IN_PIN29_High (0x1UL) /*!< Pin input is high */ 9414 9415 /* Bit 28 : Pin 28 */ 9416 #define GPIO_IN_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 9417 #define GPIO_IN_PIN28_Msk (0x1UL << GPIO_IN_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 9418 #define GPIO_IN_PIN28_Low (0x0UL) /*!< Pin input is low */ 9419 #define GPIO_IN_PIN28_High (0x1UL) /*!< Pin input is high */ 9420 9421 /* Bit 27 : Pin 27 */ 9422 #define GPIO_IN_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 9423 #define GPIO_IN_PIN27_Msk (0x1UL << GPIO_IN_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 9424 #define GPIO_IN_PIN27_Low (0x0UL) /*!< Pin input is low */ 9425 #define GPIO_IN_PIN27_High (0x1UL) /*!< Pin input is high */ 9426 9427 /* Bit 26 : Pin 26 */ 9428 #define GPIO_IN_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 9429 #define GPIO_IN_PIN26_Msk (0x1UL << GPIO_IN_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 9430 #define GPIO_IN_PIN26_Low (0x0UL) /*!< Pin input is low */ 9431 #define GPIO_IN_PIN26_High (0x1UL) /*!< Pin input is high */ 9432 9433 /* Bit 25 : Pin 25 */ 9434 #define GPIO_IN_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 9435 #define GPIO_IN_PIN25_Msk (0x1UL << GPIO_IN_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 9436 #define GPIO_IN_PIN25_Low (0x0UL) /*!< Pin input is low */ 9437 #define GPIO_IN_PIN25_High (0x1UL) /*!< Pin input is high */ 9438 9439 /* Bit 24 : Pin 24 */ 9440 #define GPIO_IN_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 9441 #define GPIO_IN_PIN24_Msk (0x1UL << GPIO_IN_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 9442 #define GPIO_IN_PIN24_Low (0x0UL) /*!< Pin input is low */ 9443 #define GPIO_IN_PIN24_High (0x1UL) /*!< Pin input is high */ 9444 9445 /* Bit 23 : Pin 23 */ 9446 #define GPIO_IN_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 9447 #define GPIO_IN_PIN23_Msk (0x1UL << GPIO_IN_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 9448 #define GPIO_IN_PIN23_Low (0x0UL) /*!< Pin input is low */ 9449 #define GPIO_IN_PIN23_High (0x1UL) /*!< Pin input is high */ 9450 9451 /* Bit 22 : Pin 22 */ 9452 #define GPIO_IN_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 9453 #define GPIO_IN_PIN22_Msk (0x1UL << GPIO_IN_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 9454 #define GPIO_IN_PIN22_Low (0x0UL) /*!< Pin input is low */ 9455 #define GPIO_IN_PIN22_High (0x1UL) /*!< Pin input is high */ 9456 9457 /* Bit 21 : Pin 21 */ 9458 #define GPIO_IN_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 9459 #define GPIO_IN_PIN21_Msk (0x1UL << GPIO_IN_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 9460 #define GPIO_IN_PIN21_Low (0x0UL) /*!< Pin input is low */ 9461 #define GPIO_IN_PIN21_High (0x1UL) /*!< Pin input is high */ 9462 9463 /* Bit 20 : Pin 20 */ 9464 #define GPIO_IN_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 9465 #define GPIO_IN_PIN20_Msk (0x1UL << GPIO_IN_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 9466 #define GPIO_IN_PIN20_Low (0x0UL) /*!< Pin input is low */ 9467 #define GPIO_IN_PIN20_High (0x1UL) /*!< Pin input is high */ 9468 9469 /* Bit 19 : Pin 19 */ 9470 #define GPIO_IN_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 9471 #define GPIO_IN_PIN19_Msk (0x1UL << GPIO_IN_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 9472 #define GPIO_IN_PIN19_Low (0x0UL) /*!< Pin input is low */ 9473 #define GPIO_IN_PIN19_High (0x1UL) /*!< Pin input is high */ 9474 9475 /* Bit 18 : Pin 18 */ 9476 #define GPIO_IN_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 9477 #define GPIO_IN_PIN18_Msk (0x1UL << GPIO_IN_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 9478 #define GPIO_IN_PIN18_Low (0x0UL) /*!< Pin input is low */ 9479 #define GPIO_IN_PIN18_High (0x1UL) /*!< Pin input is high */ 9480 9481 /* Bit 17 : Pin 17 */ 9482 #define GPIO_IN_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 9483 #define GPIO_IN_PIN17_Msk (0x1UL << GPIO_IN_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 9484 #define GPIO_IN_PIN17_Low (0x0UL) /*!< Pin input is low */ 9485 #define GPIO_IN_PIN17_High (0x1UL) /*!< Pin input is high */ 9486 9487 /* Bit 16 : Pin 16 */ 9488 #define GPIO_IN_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 9489 #define GPIO_IN_PIN16_Msk (0x1UL << GPIO_IN_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 9490 #define GPIO_IN_PIN16_Low (0x0UL) /*!< Pin input is low */ 9491 #define GPIO_IN_PIN16_High (0x1UL) /*!< Pin input is high */ 9492 9493 /* Bit 15 : Pin 15 */ 9494 #define GPIO_IN_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 9495 #define GPIO_IN_PIN15_Msk (0x1UL << GPIO_IN_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 9496 #define GPIO_IN_PIN15_Low (0x0UL) /*!< Pin input is low */ 9497 #define GPIO_IN_PIN15_High (0x1UL) /*!< Pin input is high */ 9498 9499 /* Bit 14 : Pin 14 */ 9500 #define GPIO_IN_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 9501 #define GPIO_IN_PIN14_Msk (0x1UL << GPIO_IN_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 9502 #define GPIO_IN_PIN14_Low (0x0UL) /*!< Pin input is low */ 9503 #define GPIO_IN_PIN14_High (0x1UL) /*!< Pin input is high */ 9504 9505 /* Bit 13 : Pin 13 */ 9506 #define GPIO_IN_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 9507 #define GPIO_IN_PIN13_Msk (0x1UL << GPIO_IN_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 9508 #define GPIO_IN_PIN13_Low (0x0UL) /*!< Pin input is low */ 9509 #define GPIO_IN_PIN13_High (0x1UL) /*!< Pin input is high */ 9510 9511 /* Bit 12 : Pin 12 */ 9512 #define GPIO_IN_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 9513 #define GPIO_IN_PIN12_Msk (0x1UL << GPIO_IN_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 9514 #define GPIO_IN_PIN12_Low (0x0UL) /*!< Pin input is low */ 9515 #define GPIO_IN_PIN12_High (0x1UL) /*!< Pin input is high */ 9516 9517 /* Bit 11 : Pin 11 */ 9518 #define GPIO_IN_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 9519 #define GPIO_IN_PIN11_Msk (0x1UL << GPIO_IN_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 9520 #define GPIO_IN_PIN11_Low (0x0UL) /*!< Pin input is low */ 9521 #define GPIO_IN_PIN11_High (0x1UL) /*!< Pin input is high */ 9522 9523 /* Bit 10 : Pin 10 */ 9524 #define GPIO_IN_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 9525 #define GPIO_IN_PIN10_Msk (0x1UL << GPIO_IN_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 9526 #define GPIO_IN_PIN10_Low (0x0UL) /*!< Pin input is low */ 9527 #define GPIO_IN_PIN10_High (0x1UL) /*!< Pin input is high */ 9528 9529 /* Bit 9 : Pin 9 */ 9530 #define GPIO_IN_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 9531 #define GPIO_IN_PIN9_Msk (0x1UL << GPIO_IN_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 9532 #define GPIO_IN_PIN9_Low (0x0UL) /*!< Pin input is low */ 9533 #define GPIO_IN_PIN9_High (0x1UL) /*!< Pin input is high */ 9534 9535 /* Bit 8 : Pin 8 */ 9536 #define GPIO_IN_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 9537 #define GPIO_IN_PIN8_Msk (0x1UL << GPIO_IN_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 9538 #define GPIO_IN_PIN8_Low (0x0UL) /*!< Pin input is low */ 9539 #define GPIO_IN_PIN8_High (0x1UL) /*!< Pin input is high */ 9540 9541 /* Bit 7 : Pin 7 */ 9542 #define GPIO_IN_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 9543 #define GPIO_IN_PIN7_Msk (0x1UL << GPIO_IN_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 9544 #define GPIO_IN_PIN7_Low (0x0UL) /*!< Pin input is low */ 9545 #define GPIO_IN_PIN7_High (0x1UL) /*!< Pin input is high */ 9546 9547 /* Bit 6 : Pin 6 */ 9548 #define GPIO_IN_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 9549 #define GPIO_IN_PIN6_Msk (0x1UL << GPIO_IN_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 9550 #define GPIO_IN_PIN6_Low (0x0UL) /*!< Pin input is low */ 9551 #define GPIO_IN_PIN6_High (0x1UL) /*!< Pin input is high */ 9552 9553 /* Bit 5 : Pin 5 */ 9554 #define GPIO_IN_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 9555 #define GPIO_IN_PIN5_Msk (0x1UL << GPIO_IN_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 9556 #define GPIO_IN_PIN5_Low (0x0UL) /*!< Pin input is low */ 9557 #define GPIO_IN_PIN5_High (0x1UL) /*!< Pin input is high */ 9558 9559 /* Bit 4 : Pin 4 */ 9560 #define GPIO_IN_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 9561 #define GPIO_IN_PIN4_Msk (0x1UL << GPIO_IN_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 9562 #define GPIO_IN_PIN4_Low (0x0UL) /*!< Pin input is low */ 9563 #define GPIO_IN_PIN4_High (0x1UL) /*!< Pin input is high */ 9564 9565 /* Bit 3 : Pin 3 */ 9566 #define GPIO_IN_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 9567 #define GPIO_IN_PIN3_Msk (0x1UL << GPIO_IN_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 9568 #define GPIO_IN_PIN3_Low (0x0UL) /*!< Pin input is low */ 9569 #define GPIO_IN_PIN3_High (0x1UL) /*!< Pin input is high */ 9570 9571 /* Bit 2 : Pin 2 */ 9572 #define GPIO_IN_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 9573 #define GPIO_IN_PIN2_Msk (0x1UL << GPIO_IN_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 9574 #define GPIO_IN_PIN2_Low (0x0UL) /*!< Pin input is low */ 9575 #define GPIO_IN_PIN2_High (0x1UL) /*!< Pin input is high */ 9576 9577 /* Bit 1 : Pin 1 */ 9578 #define GPIO_IN_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 9579 #define GPIO_IN_PIN1_Msk (0x1UL << GPIO_IN_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 9580 #define GPIO_IN_PIN1_Low (0x0UL) /*!< Pin input is low */ 9581 #define GPIO_IN_PIN1_High (0x1UL) /*!< Pin input is high */ 9582 9583 /* Bit 0 : Pin 0 */ 9584 #define GPIO_IN_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 9585 #define GPIO_IN_PIN0_Msk (0x1UL << GPIO_IN_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 9586 #define GPIO_IN_PIN0_Low (0x0UL) /*!< Pin input is low */ 9587 #define GPIO_IN_PIN0_High (0x1UL) /*!< Pin input is high */ 9588 9589 /* Register: GPIO_DIR */ 9590 /* Description: Direction of GPIO pins */ 9591 9592 /* Bit 31 : Pin 31 */ 9593 #define GPIO_DIR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 9594 #define GPIO_DIR_PIN31_Msk (0x1UL << GPIO_DIR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 9595 #define GPIO_DIR_PIN31_Input (0x0UL) /*!< Pin set as input */ 9596 #define GPIO_DIR_PIN31_Output (0x1UL) /*!< Pin set as output */ 9597 9598 /* Bit 30 : Pin 30 */ 9599 #define GPIO_DIR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 9600 #define GPIO_DIR_PIN30_Msk (0x1UL << GPIO_DIR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 9601 #define GPIO_DIR_PIN30_Input (0x0UL) /*!< Pin set as input */ 9602 #define GPIO_DIR_PIN30_Output (0x1UL) /*!< Pin set as output */ 9603 9604 /* Bit 29 : Pin 29 */ 9605 #define GPIO_DIR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 9606 #define GPIO_DIR_PIN29_Msk (0x1UL << GPIO_DIR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 9607 #define GPIO_DIR_PIN29_Input (0x0UL) /*!< Pin set as input */ 9608 #define GPIO_DIR_PIN29_Output (0x1UL) /*!< Pin set as output */ 9609 9610 /* Bit 28 : Pin 28 */ 9611 #define GPIO_DIR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 9612 #define GPIO_DIR_PIN28_Msk (0x1UL << GPIO_DIR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 9613 #define GPIO_DIR_PIN28_Input (0x0UL) /*!< Pin set as input */ 9614 #define GPIO_DIR_PIN28_Output (0x1UL) /*!< Pin set as output */ 9615 9616 /* Bit 27 : Pin 27 */ 9617 #define GPIO_DIR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 9618 #define GPIO_DIR_PIN27_Msk (0x1UL << GPIO_DIR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 9619 #define GPIO_DIR_PIN27_Input (0x0UL) /*!< Pin set as input */ 9620 #define GPIO_DIR_PIN27_Output (0x1UL) /*!< Pin set as output */ 9621 9622 /* Bit 26 : Pin 26 */ 9623 #define GPIO_DIR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 9624 #define GPIO_DIR_PIN26_Msk (0x1UL << GPIO_DIR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 9625 #define GPIO_DIR_PIN26_Input (0x0UL) /*!< Pin set as input */ 9626 #define GPIO_DIR_PIN26_Output (0x1UL) /*!< Pin set as output */ 9627 9628 /* Bit 25 : Pin 25 */ 9629 #define GPIO_DIR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 9630 #define GPIO_DIR_PIN25_Msk (0x1UL << GPIO_DIR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 9631 #define GPIO_DIR_PIN25_Input (0x0UL) /*!< Pin set as input */ 9632 #define GPIO_DIR_PIN25_Output (0x1UL) /*!< Pin set as output */ 9633 9634 /* Bit 24 : Pin 24 */ 9635 #define GPIO_DIR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 9636 #define GPIO_DIR_PIN24_Msk (0x1UL << GPIO_DIR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 9637 #define GPIO_DIR_PIN24_Input (0x0UL) /*!< Pin set as input */ 9638 #define GPIO_DIR_PIN24_Output (0x1UL) /*!< Pin set as output */ 9639 9640 /* Bit 23 : Pin 23 */ 9641 #define GPIO_DIR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 9642 #define GPIO_DIR_PIN23_Msk (0x1UL << GPIO_DIR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 9643 #define GPIO_DIR_PIN23_Input (0x0UL) /*!< Pin set as input */ 9644 #define GPIO_DIR_PIN23_Output (0x1UL) /*!< Pin set as output */ 9645 9646 /* Bit 22 : Pin 22 */ 9647 #define GPIO_DIR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 9648 #define GPIO_DIR_PIN22_Msk (0x1UL << GPIO_DIR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 9649 #define GPIO_DIR_PIN22_Input (0x0UL) /*!< Pin set as input */ 9650 #define GPIO_DIR_PIN22_Output (0x1UL) /*!< Pin set as output */ 9651 9652 /* Bit 21 : Pin 21 */ 9653 #define GPIO_DIR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 9654 #define GPIO_DIR_PIN21_Msk (0x1UL << GPIO_DIR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 9655 #define GPIO_DIR_PIN21_Input (0x0UL) /*!< Pin set as input */ 9656 #define GPIO_DIR_PIN21_Output (0x1UL) /*!< Pin set as output */ 9657 9658 /* Bit 20 : Pin 20 */ 9659 #define GPIO_DIR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 9660 #define GPIO_DIR_PIN20_Msk (0x1UL << GPIO_DIR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 9661 #define GPIO_DIR_PIN20_Input (0x0UL) /*!< Pin set as input */ 9662 #define GPIO_DIR_PIN20_Output (0x1UL) /*!< Pin set as output */ 9663 9664 /* Bit 19 : Pin 19 */ 9665 #define GPIO_DIR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 9666 #define GPIO_DIR_PIN19_Msk (0x1UL << GPIO_DIR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 9667 #define GPIO_DIR_PIN19_Input (0x0UL) /*!< Pin set as input */ 9668 #define GPIO_DIR_PIN19_Output (0x1UL) /*!< Pin set as output */ 9669 9670 /* Bit 18 : Pin 18 */ 9671 #define GPIO_DIR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 9672 #define GPIO_DIR_PIN18_Msk (0x1UL << GPIO_DIR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 9673 #define GPIO_DIR_PIN18_Input (0x0UL) /*!< Pin set as input */ 9674 #define GPIO_DIR_PIN18_Output (0x1UL) /*!< Pin set as output */ 9675 9676 /* Bit 17 : Pin 17 */ 9677 #define GPIO_DIR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 9678 #define GPIO_DIR_PIN17_Msk (0x1UL << GPIO_DIR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 9679 #define GPIO_DIR_PIN17_Input (0x0UL) /*!< Pin set as input */ 9680 #define GPIO_DIR_PIN17_Output (0x1UL) /*!< Pin set as output */ 9681 9682 /* Bit 16 : Pin 16 */ 9683 #define GPIO_DIR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 9684 #define GPIO_DIR_PIN16_Msk (0x1UL << GPIO_DIR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 9685 #define GPIO_DIR_PIN16_Input (0x0UL) /*!< Pin set as input */ 9686 #define GPIO_DIR_PIN16_Output (0x1UL) /*!< Pin set as output */ 9687 9688 /* Bit 15 : Pin 15 */ 9689 #define GPIO_DIR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 9690 #define GPIO_DIR_PIN15_Msk (0x1UL << GPIO_DIR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 9691 #define GPIO_DIR_PIN15_Input (0x0UL) /*!< Pin set as input */ 9692 #define GPIO_DIR_PIN15_Output (0x1UL) /*!< Pin set as output */ 9693 9694 /* Bit 14 : Pin 14 */ 9695 #define GPIO_DIR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 9696 #define GPIO_DIR_PIN14_Msk (0x1UL << GPIO_DIR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 9697 #define GPIO_DIR_PIN14_Input (0x0UL) /*!< Pin set as input */ 9698 #define GPIO_DIR_PIN14_Output (0x1UL) /*!< Pin set as output */ 9699 9700 /* Bit 13 : Pin 13 */ 9701 #define GPIO_DIR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 9702 #define GPIO_DIR_PIN13_Msk (0x1UL << GPIO_DIR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 9703 #define GPIO_DIR_PIN13_Input (0x0UL) /*!< Pin set as input */ 9704 #define GPIO_DIR_PIN13_Output (0x1UL) /*!< Pin set as output */ 9705 9706 /* Bit 12 : Pin 12 */ 9707 #define GPIO_DIR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 9708 #define GPIO_DIR_PIN12_Msk (0x1UL << GPIO_DIR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 9709 #define GPIO_DIR_PIN12_Input (0x0UL) /*!< Pin set as input */ 9710 #define GPIO_DIR_PIN12_Output (0x1UL) /*!< Pin set as output */ 9711 9712 /* Bit 11 : Pin 11 */ 9713 #define GPIO_DIR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 9714 #define GPIO_DIR_PIN11_Msk (0x1UL << GPIO_DIR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 9715 #define GPIO_DIR_PIN11_Input (0x0UL) /*!< Pin set as input */ 9716 #define GPIO_DIR_PIN11_Output (0x1UL) /*!< Pin set as output */ 9717 9718 /* Bit 10 : Pin 10 */ 9719 #define GPIO_DIR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 9720 #define GPIO_DIR_PIN10_Msk (0x1UL << GPIO_DIR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 9721 #define GPIO_DIR_PIN10_Input (0x0UL) /*!< Pin set as input */ 9722 #define GPIO_DIR_PIN10_Output (0x1UL) /*!< Pin set as output */ 9723 9724 /* Bit 9 : Pin 9 */ 9725 #define GPIO_DIR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 9726 #define GPIO_DIR_PIN9_Msk (0x1UL << GPIO_DIR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 9727 #define GPIO_DIR_PIN9_Input (0x0UL) /*!< Pin set as input */ 9728 #define GPIO_DIR_PIN9_Output (0x1UL) /*!< Pin set as output */ 9729 9730 /* Bit 8 : Pin 8 */ 9731 #define GPIO_DIR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 9732 #define GPIO_DIR_PIN8_Msk (0x1UL << GPIO_DIR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 9733 #define GPIO_DIR_PIN8_Input (0x0UL) /*!< Pin set as input */ 9734 #define GPIO_DIR_PIN8_Output (0x1UL) /*!< Pin set as output */ 9735 9736 /* Bit 7 : Pin 7 */ 9737 #define GPIO_DIR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 9738 #define GPIO_DIR_PIN7_Msk (0x1UL << GPIO_DIR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 9739 #define GPIO_DIR_PIN7_Input (0x0UL) /*!< Pin set as input */ 9740 #define GPIO_DIR_PIN7_Output (0x1UL) /*!< Pin set as output */ 9741 9742 /* Bit 6 : Pin 6 */ 9743 #define GPIO_DIR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 9744 #define GPIO_DIR_PIN6_Msk (0x1UL << GPIO_DIR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 9745 #define GPIO_DIR_PIN6_Input (0x0UL) /*!< Pin set as input */ 9746 #define GPIO_DIR_PIN6_Output (0x1UL) /*!< Pin set as output */ 9747 9748 /* Bit 5 : Pin 5 */ 9749 #define GPIO_DIR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 9750 #define GPIO_DIR_PIN5_Msk (0x1UL << GPIO_DIR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 9751 #define GPIO_DIR_PIN5_Input (0x0UL) /*!< Pin set as input */ 9752 #define GPIO_DIR_PIN5_Output (0x1UL) /*!< Pin set as output */ 9753 9754 /* Bit 4 : Pin 4 */ 9755 #define GPIO_DIR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 9756 #define GPIO_DIR_PIN4_Msk (0x1UL << GPIO_DIR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 9757 #define GPIO_DIR_PIN4_Input (0x0UL) /*!< Pin set as input */ 9758 #define GPIO_DIR_PIN4_Output (0x1UL) /*!< Pin set as output */ 9759 9760 /* Bit 3 : Pin 3 */ 9761 #define GPIO_DIR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 9762 #define GPIO_DIR_PIN3_Msk (0x1UL << GPIO_DIR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 9763 #define GPIO_DIR_PIN3_Input (0x0UL) /*!< Pin set as input */ 9764 #define GPIO_DIR_PIN3_Output (0x1UL) /*!< Pin set as output */ 9765 9766 /* Bit 2 : Pin 2 */ 9767 #define GPIO_DIR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 9768 #define GPIO_DIR_PIN2_Msk (0x1UL << GPIO_DIR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 9769 #define GPIO_DIR_PIN2_Input (0x0UL) /*!< Pin set as input */ 9770 #define GPIO_DIR_PIN2_Output (0x1UL) /*!< Pin set as output */ 9771 9772 /* Bit 1 : Pin 1 */ 9773 #define GPIO_DIR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 9774 #define GPIO_DIR_PIN1_Msk (0x1UL << GPIO_DIR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 9775 #define GPIO_DIR_PIN1_Input (0x0UL) /*!< Pin set as input */ 9776 #define GPIO_DIR_PIN1_Output (0x1UL) /*!< Pin set as output */ 9777 9778 /* Bit 0 : Pin 0 */ 9779 #define GPIO_DIR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 9780 #define GPIO_DIR_PIN0_Msk (0x1UL << GPIO_DIR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 9781 #define GPIO_DIR_PIN0_Input (0x0UL) /*!< Pin set as input */ 9782 #define GPIO_DIR_PIN0_Output (0x1UL) /*!< Pin set as output */ 9783 9784 /* Register: GPIO_DIRSET */ 9785 /* Description: DIR set register */ 9786 9787 /* Bit 31 : Set as output pin 31 */ 9788 #define GPIO_DIRSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 9789 #define GPIO_DIRSET_PIN31_Msk (0x1UL << GPIO_DIRSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 9790 #define GPIO_DIRSET_PIN31_Input (0x0UL) /*!< Read: pin set as input */ 9791 #define GPIO_DIRSET_PIN31_Output (0x1UL) /*!< Read: pin set as output */ 9792 #define GPIO_DIRSET_PIN31_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9793 9794 /* Bit 30 : Set as output pin 30 */ 9795 #define GPIO_DIRSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 9796 #define GPIO_DIRSET_PIN30_Msk (0x1UL << GPIO_DIRSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 9797 #define GPIO_DIRSET_PIN30_Input (0x0UL) /*!< Read: pin set as input */ 9798 #define GPIO_DIRSET_PIN30_Output (0x1UL) /*!< Read: pin set as output */ 9799 #define GPIO_DIRSET_PIN30_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9800 9801 /* Bit 29 : Set as output pin 29 */ 9802 #define GPIO_DIRSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 9803 #define GPIO_DIRSET_PIN29_Msk (0x1UL << GPIO_DIRSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 9804 #define GPIO_DIRSET_PIN29_Input (0x0UL) /*!< Read: pin set as input */ 9805 #define GPIO_DIRSET_PIN29_Output (0x1UL) /*!< Read: pin set as output */ 9806 #define GPIO_DIRSET_PIN29_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9807 9808 /* Bit 28 : Set as output pin 28 */ 9809 #define GPIO_DIRSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 9810 #define GPIO_DIRSET_PIN28_Msk (0x1UL << GPIO_DIRSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 9811 #define GPIO_DIRSET_PIN28_Input (0x0UL) /*!< Read: pin set as input */ 9812 #define GPIO_DIRSET_PIN28_Output (0x1UL) /*!< Read: pin set as output */ 9813 #define GPIO_DIRSET_PIN28_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9814 9815 /* Bit 27 : Set as output pin 27 */ 9816 #define GPIO_DIRSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 9817 #define GPIO_DIRSET_PIN27_Msk (0x1UL << GPIO_DIRSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 9818 #define GPIO_DIRSET_PIN27_Input (0x0UL) /*!< Read: pin set as input */ 9819 #define GPIO_DIRSET_PIN27_Output (0x1UL) /*!< Read: pin set as output */ 9820 #define GPIO_DIRSET_PIN27_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9821 9822 /* Bit 26 : Set as output pin 26 */ 9823 #define GPIO_DIRSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 9824 #define GPIO_DIRSET_PIN26_Msk (0x1UL << GPIO_DIRSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 9825 #define GPIO_DIRSET_PIN26_Input (0x0UL) /*!< Read: pin set as input */ 9826 #define GPIO_DIRSET_PIN26_Output (0x1UL) /*!< Read: pin set as output */ 9827 #define GPIO_DIRSET_PIN26_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9828 9829 /* Bit 25 : Set as output pin 25 */ 9830 #define GPIO_DIRSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 9831 #define GPIO_DIRSET_PIN25_Msk (0x1UL << GPIO_DIRSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 9832 #define GPIO_DIRSET_PIN25_Input (0x0UL) /*!< Read: pin set as input */ 9833 #define GPIO_DIRSET_PIN25_Output (0x1UL) /*!< Read: pin set as output */ 9834 #define GPIO_DIRSET_PIN25_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9835 9836 /* Bit 24 : Set as output pin 24 */ 9837 #define GPIO_DIRSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 9838 #define GPIO_DIRSET_PIN24_Msk (0x1UL << GPIO_DIRSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 9839 #define GPIO_DIRSET_PIN24_Input (0x0UL) /*!< Read: pin set as input */ 9840 #define GPIO_DIRSET_PIN24_Output (0x1UL) /*!< Read: pin set as output */ 9841 #define GPIO_DIRSET_PIN24_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9842 9843 /* Bit 23 : Set as output pin 23 */ 9844 #define GPIO_DIRSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 9845 #define GPIO_DIRSET_PIN23_Msk (0x1UL << GPIO_DIRSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 9846 #define GPIO_DIRSET_PIN23_Input (0x0UL) /*!< Read: pin set as input */ 9847 #define GPIO_DIRSET_PIN23_Output (0x1UL) /*!< Read: pin set as output */ 9848 #define GPIO_DIRSET_PIN23_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9849 9850 /* Bit 22 : Set as output pin 22 */ 9851 #define GPIO_DIRSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 9852 #define GPIO_DIRSET_PIN22_Msk (0x1UL << GPIO_DIRSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 9853 #define GPIO_DIRSET_PIN22_Input (0x0UL) /*!< Read: pin set as input */ 9854 #define GPIO_DIRSET_PIN22_Output (0x1UL) /*!< Read: pin set as output */ 9855 #define GPIO_DIRSET_PIN22_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9856 9857 /* Bit 21 : Set as output pin 21 */ 9858 #define GPIO_DIRSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 9859 #define GPIO_DIRSET_PIN21_Msk (0x1UL << GPIO_DIRSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 9860 #define GPIO_DIRSET_PIN21_Input (0x0UL) /*!< Read: pin set as input */ 9861 #define GPIO_DIRSET_PIN21_Output (0x1UL) /*!< Read: pin set as output */ 9862 #define GPIO_DIRSET_PIN21_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9863 9864 /* Bit 20 : Set as output pin 20 */ 9865 #define GPIO_DIRSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 9866 #define GPIO_DIRSET_PIN20_Msk (0x1UL << GPIO_DIRSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 9867 #define GPIO_DIRSET_PIN20_Input (0x0UL) /*!< Read: pin set as input */ 9868 #define GPIO_DIRSET_PIN20_Output (0x1UL) /*!< Read: pin set as output */ 9869 #define GPIO_DIRSET_PIN20_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9870 9871 /* Bit 19 : Set as output pin 19 */ 9872 #define GPIO_DIRSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 9873 #define GPIO_DIRSET_PIN19_Msk (0x1UL << GPIO_DIRSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 9874 #define GPIO_DIRSET_PIN19_Input (0x0UL) /*!< Read: pin set as input */ 9875 #define GPIO_DIRSET_PIN19_Output (0x1UL) /*!< Read: pin set as output */ 9876 #define GPIO_DIRSET_PIN19_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9877 9878 /* Bit 18 : Set as output pin 18 */ 9879 #define GPIO_DIRSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 9880 #define GPIO_DIRSET_PIN18_Msk (0x1UL << GPIO_DIRSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 9881 #define GPIO_DIRSET_PIN18_Input (0x0UL) /*!< Read: pin set as input */ 9882 #define GPIO_DIRSET_PIN18_Output (0x1UL) /*!< Read: pin set as output */ 9883 #define GPIO_DIRSET_PIN18_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9884 9885 /* Bit 17 : Set as output pin 17 */ 9886 #define GPIO_DIRSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 9887 #define GPIO_DIRSET_PIN17_Msk (0x1UL << GPIO_DIRSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 9888 #define GPIO_DIRSET_PIN17_Input (0x0UL) /*!< Read: pin set as input */ 9889 #define GPIO_DIRSET_PIN17_Output (0x1UL) /*!< Read: pin set as output */ 9890 #define GPIO_DIRSET_PIN17_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9891 9892 /* Bit 16 : Set as output pin 16 */ 9893 #define GPIO_DIRSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 9894 #define GPIO_DIRSET_PIN16_Msk (0x1UL << GPIO_DIRSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 9895 #define GPIO_DIRSET_PIN16_Input (0x0UL) /*!< Read: pin set as input */ 9896 #define GPIO_DIRSET_PIN16_Output (0x1UL) /*!< Read: pin set as output */ 9897 #define GPIO_DIRSET_PIN16_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9898 9899 /* Bit 15 : Set as output pin 15 */ 9900 #define GPIO_DIRSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 9901 #define GPIO_DIRSET_PIN15_Msk (0x1UL << GPIO_DIRSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 9902 #define GPIO_DIRSET_PIN15_Input (0x0UL) /*!< Read: pin set as input */ 9903 #define GPIO_DIRSET_PIN15_Output (0x1UL) /*!< Read: pin set as output */ 9904 #define GPIO_DIRSET_PIN15_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9905 9906 /* Bit 14 : Set as output pin 14 */ 9907 #define GPIO_DIRSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 9908 #define GPIO_DIRSET_PIN14_Msk (0x1UL << GPIO_DIRSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 9909 #define GPIO_DIRSET_PIN14_Input (0x0UL) /*!< Read: pin set as input */ 9910 #define GPIO_DIRSET_PIN14_Output (0x1UL) /*!< Read: pin set as output */ 9911 #define GPIO_DIRSET_PIN14_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9912 9913 /* Bit 13 : Set as output pin 13 */ 9914 #define GPIO_DIRSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 9915 #define GPIO_DIRSET_PIN13_Msk (0x1UL << GPIO_DIRSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 9916 #define GPIO_DIRSET_PIN13_Input (0x0UL) /*!< Read: pin set as input */ 9917 #define GPIO_DIRSET_PIN13_Output (0x1UL) /*!< Read: pin set as output */ 9918 #define GPIO_DIRSET_PIN13_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9919 9920 /* Bit 12 : Set as output pin 12 */ 9921 #define GPIO_DIRSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 9922 #define GPIO_DIRSET_PIN12_Msk (0x1UL << GPIO_DIRSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 9923 #define GPIO_DIRSET_PIN12_Input (0x0UL) /*!< Read: pin set as input */ 9924 #define GPIO_DIRSET_PIN12_Output (0x1UL) /*!< Read: pin set as output */ 9925 #define GPIO_DIRSET_PIN12_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9926 9927 /* Bit 11 : Set as output pin 11 */ 9928 #define GPIO_DIRSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 9929 #define GPIO_DIRSET_PIN11_Msk (0x1UL << GPIO_DIRSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 9930 #define GPIO_DIRSET_PIN11_Input (0x0UL) /*!< Read: pin set as input */ 9931 #define GPIO_DIRSET_PIN11_Output (0x1UL) /*!< Read: pin set as output */ 9932 #define GPIO_DIRSET_PIN11_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9933 9934 /* Bit 10 : Set as output pin 10 */ 9935 #define GPIO_DIRSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 9936 #define GPIO_DIRSET_PIN10_Msk (0x1UL << GPIO_DIRSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 9937 #define GPIO_DIRSET_PIN10_Input (0x0UL) /*!< Read: pin set as input */ 9938 #define GPIO_DIRSET_PIN10_Output (0x1UL) /*!< Read: pin set as output */ 9939 #define GPIO_DIRSET_PIN10_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9940 9941 /* Bit 9 : Set as output pin 9 */ 9942 #define GPIO_DIRSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 9943 #define GPIO_DIRSET_PIN9_Msk (0x1UL << GPIO_DIRSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 9944 #define GPIO_DIRSET_PIN9_Input (0x0UL) /*!< Read: pin set as input */ 9945 #define GPIO_DIRSET_PIN9_Output (0x1UL) /*!< Read: pin set as output */ 9946 #define GPIO_DIRSET_PIN9_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9947 9948 /* Bit 8 : Set as output pin 8 */ 9949 #define GPIO_DIRSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 9950 #define GPIO_DIRSET_PIN8_Msk (0x1UL << GPIO_DIRSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 9951 #define GPIO_DIRSET_PIN8_Input (0x0UL) /*!< Read: pin set as input */ 9952 #define GPIO_DIRSET_PIN8_Output (0x1UL) /*!< Read: pin set as output */ 9953 #define GPIO_DIRSET_PIN8_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9954 9955 /* Bit 7 : Set as output pin 7 */ 9956 #define GPIO_DIRSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 9957 #define GPIO_DIRSET_PIN7_Msk (0x1UL << GPIO_DIRSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 9958 #define GPIO_DIRSET_PIN7_Input (0x0UL) /*!< Read: pin set as input */ 9959 #define GPIO_DIRSET_PIN7_Output (0x1UL) /*!< Read: pin set as output */ 9960 #define GPIO_DIRSET_PIN7_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9961 9962 /* Bit 6 : Set as output pin 6 */ 9963 #define GPIO_DIRSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 9964 #define GPIO_DIRSET_PIN6_Msk (0x1UL << GPIO_DIRSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 9965 #define GPIO_DIRSET_PIN6_Input (0x0UL) /*!< Read: pin set as input */ 9966 #define GPIO_DIRSET_PIN6_Output (0x1UL) /*!< Read: pin set as output */ 9967 #define GPIO_DIRSET_PIN6_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9968 9969 /* Bit 5 : Set as output pin 5 */ 9970 #define GPIO_DIRSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 9971 #define GPIO_DIRSET_PIN5_Msk (0x1UL << GPIO_DIRSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 9972 #define GPIO_DIRSET_PIN5_Input (0x0UL) /*!< Read: pin set as input */ 9973 #define GPIO_DIRSET_PIN5_Output (0x1UL) /*!< Read: pin set as output */ 9974 #define GPIO_DIRSET_PIN5_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9975 9976 /* Bit 4 : Set as output pin 4 */ 9977 #define GPIO_DIRSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 9978 #define GPIO_DIRSET_PIN4_Msk (0x1UL << GPIO_DIRSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 9979 #define GPIO_DIRSET_PIN4_Input (0x0UL) /*!< Read: pin set as input */ 9980 #define GPIO_DIRSET_PIN4_Output (0x1UL) /*!< Read: pin set as output */ 9981 #define GPIO_DIRSET_PIN4_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9982 9983 /* Bit 3 : Set as output pin 3 */ 9984 #define GPIO_DIRSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 9985 #define GPIO_DIRSET_PIN3_Msk (0x1UL << GPIO_DIRSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 9986 #define GPIO_DIRSET_PIN3_Input (0x0UL) /*!< Read: pin set as input */ 9987 #define GPIO_DIRSET_PIN3_Output (0x1UL) /*!< Read: pin set as output */ 9988 #define GPIO_DIRSET_PIN3_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9989 9990 /* Bit 2 : Set as output pin 2 */ 9991 #define GPIO_DIRSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 9992 #define GPIO_DIRSET_PIN2_Msk (0x1UL << GPIO_DIRSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 9993 #define GPIO_DIRSET_PIN2_Input (0x0UL) /*!< Read: pin set as input */ 9994 #define GPIO_DIRSET_PIN2_Output (0x1UL) /*!< Read: pin set as output */ 9995 #define GPIO_DIRSET_PIN2_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 9996 9997 /* Bit 1 : Set as output pin 1 */ 9998 #define GPIO_DIRSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 9999 #define GPIO_DIRSET_PIN1_Msk (0x1UL << GPIO_DIRSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 10000 #define GPIO_DIRSET_PIN1_Input (0x0UL) /*!< Read: pin set as input */ 10001 #define GPIO_DIRSET_PIN1_Output (0x1UL) /*!< Read: pin set as output */ 10002 #define GPIO_DIRSET_PIN1_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 10003 10004 /* Bit 0 : Set as output pin 0 */ 10005 #define GPIO_DIRSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 10006 #define GPIO_DIRSET_PIN0_Msk (0x1UL << GPIO_DIRSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 10007 #define GPIO_DIRSET_PIN0_Input (0x0UL) /*!< Read: pin set as input */ 10008 #define GPIO_DIRSET_PIN0_Output (0x1UL) /*!< Read: pin set as output */ 10009 #define GPIO_DIRSET_PIN0_Set (0x1UL) /*!< Write: writing a '1' sets pin to output; writing a '0' has no effect */ 10010 10011 /* Register: GPIO_DIRCLR */ 10012 /* Description: DIR clear register */ 10013 10014 /* Bit 31 : Set as input pin 31 */ 10015 #define GPIO_DIRCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 10016 #define GPIO_DIRCLR_PIN31_Msk (0x1UL << GPIO_DIRCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 10017 #define GPIO_DIRCLR_PIN31_Input (0x0UL) /*!< Read: pin set as input */ 10018 #define GPIO_DIRCLR_PIN31_Output (0x1UL) /*!< Read: pin set as output */ 10019 #define GPIO_DIRCLR_PIN31_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10020 10021 /* Bit 30 : Set as input pin 30 */ 10022 #define GPIO_DIRCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 10023 #define GPIO_DIRCLR_PIN30_Msk (0x1UL << GPIO_DIRCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 10024 #define GPIO_DIRCLR_PIN30_Input (0x0UL) /*!< Read: pin set as input */ 10025 #define GPIO_DIRCLR_PIN30_Output (0x1UL) /*!< Read: pin set as output */ 10026 #define GPIO_DIRCLR_PIN30_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10027 10028 /* Bit 29 : Set as input pin 29 */ 10029 #define GPIO_DIRCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 10030 #define GPIO_DIRCLR_PIN29_Msk (0x1UL << GPIO_DIRCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 10031 #define GPIO_DIRCLR_PIN29_Input (0x0UL) /*!< Read: pin set as input */ 10032 #define GPIO_DIRCLR_PIN29_Output (0x1UL) /*!< Read: pin set as output */ 10033 #define GPIO_DIRCLR_PIN29_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10034 10035 /* Bit 28 : Set as input pin 28 */ 10036 #define GPIO_DIRCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 10037 #define GPIO_DIRCLR_PIN28_Msk (0x1UL << GPIO_DIRCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 10038 #define GPIO_DIRCLR_PIN28_Input (0x0UL) /*!< Read: pin set as input */ 10039 #define GPIO_DIRCLR_PIN28_Output (0x1UL) /*!< Read: pin set as output */ 10040 #define GPIO_DIRCLR_PIN28_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10041 10042 /* Bit 27 : Set as input pin 27 */ 10043 #define GPIO_DIRCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 10044 #define GPIO_DIRCLR_PIN27_Msk (0x1UL << GPIO_DIRCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 10045 #define GPIO_DIRCLR_PIN27_Input (0x0UL) /*!< Read: pin set as input */ 10046 #define GPIO_DIRCLR_PIN27_Output (0x1UL) /*!< Read: pin set as output */ 10047 #define GPIO_DIRCLR_PIN27_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10048 10049 /* Bit 26 : Set as input pin 26 */ 10050 #define GPIO_DIRCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 10051 #define GPIO_DIRCLR_PIN26_Msk (0x1UL << GPIO_DIRCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 10052 #define GPIO_DIRCLR_PIN26_Input (0x0UL) /*!< Read: pin set as input */ 10053 #define GPIO_DIRCLR_PIN26_Output (0x1UL) /*!< Read: pin set as output */ 10054 #define GPIO_DIRCLR_PIN26_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10055 10056 /* Bit 25 : Set as input pin 25 */ 10057 #define GPIO_DIRCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 10058 #define GPIO_DIRCLR_PIN25_Msk (0x1UL << GPIO_DIRCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 10059 #define GPIO_DIRCLR_PIN25_Input (0x0UL) /*!< Read: pin set as input */ 10060 #define GPIO_DIRCLR_PIN25_Output (0x1UL) /*!< Read: pin set as output */ 10061 #define GPIO_DIRCLR_PIN25_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10062 10063 /* Bit 24 : Set as input pin 24 */ 10064 #define GPIO_DIRCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 10065 #define GPIO_DIRCLR_PIN24_Msk (0x1UL << GPIO_DIRCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 10066 #define GPIO_DIRCLR_PIN24_Input (0x0UL) /*!< Read: pin set as input */ 10067 #define GPIO_DIRCLR_PIN24_Output (0x1UL) /*!< Read: pin set as output */ 10068 #define GPIO_DIRCLR_PIN24_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10069 10070 /* Bit 23 : Set as input pin 23 */ 10071 #define GPIO_DIRCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 10072 #define GPIO_DIRCLR_PIN23_Msk (0x1UL << GPIO_DIRCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 10073 #define GPIO_DIRCLR_PIN23_Input (0x0UL) /*!< Read: pin set as input */ 10074 #define GPIO_DIRCLR_PIN23_Output (0x1UL) /*!< Read: pin set as output */ 10075 #define GPIO_DIRCLR_PIN23_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10076 10077 /* Bit 22 : Set as input pin 22 */ 10078 #define GPIO_DIRCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 10079 #define GPIO_DIRCLR_PIN22_Msk (0x1UL << GPIO_DIRCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 10080 #define GPIO_DIRCLR_PIN22_Input (0x0UL) /*!< Read: pin set as input */ 10081 #define GPIO_DIRCLR_PIN22_Output (0x1UL) /*!< Read: pin set as output */ 10082 #define GPIO_DIRCLR_PIN22_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10083 10084 /* Bit 21 : Set as input pin 21 */ 10085 #define GPIO_DIRCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 10086 #define GPIO_DIRCLR_PIN21_Msk (0x1UL << GPIO_DIRCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 10087 #define GPIO_DIRCLR_PIN21_Input (0x0UL) /*!< Read: pin set as input */ 10088 #define GPIO_DIRCLR_PIN21_Output (0x1UL) /*!< Read: pin set as output */ 10089 #define GPIO_DIRCLR_PIN21_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10090 10091 /* Bit 20 : Set as input pin 20 */ 10092 #define GPIO_DIRCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 10093 #define GPIO_DIRCLR_PIN20_Msk (0x1UL << GPIO_DIRCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 10094 #define GPIO_DIRCLR_PIN20_Input (0x0UL) /*!< Read: pin set as input */ 10095 #define GPIO_DIRCLR_PIN20_Output (0x1UL) /*!< Read: pin set as output */ 10096 #define GPIO_DIRCLR_PIN20_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10097 10098 /* Bit 19 : Set as input pin 19 */ 10099 #define GPIO_DIRCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 10100 #define GPIO_DIRCLR_PIN19_Msk (0x1UL << GPIO_DIRCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 10101 #define GPIO_DIRCLR_PIN19_Input (0x0UL) /*!< Read: pin set as input */ 10102 #define GPIO_DIRCLR_PIN19_Output (0x1UL) /*!< Read: pin set as output */ 10103 #define GPIO_DIRCLR_PIN19_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10104 10105 /* Bit 18 : Set as input pin 18 */ 10106 #define GPIO_DIRCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 10107 #define GPIO_DIRCLR_PIN18_Msk (0x1UL << GPIO_DIRCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 10108 #define GPIO_DIRCLR_PIN18_Input (0x0UL) /*!< Read: pin set as input */ 10109 #define GPIO_DIRCLR_PIN18_Output (0x1UL) /*!< Read: pin set as output */ 10110 #define GPIO_DIRCLR_PIN18_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10111 10112 /* Bit 17 : Set as input pin 17 */ 10113 #define GPIO_DIRCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 10114 #define GPIO_DIRCLR_PIN17_Msk (0x1UL << GPIO_DIRCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 10115 #define GPIO_DIRCLR_PIN17_Input (0x0UL) /*!< Read: pin set as input */ 10116 #define GPIO_DIRCLR_PIN17_Output (0x1UL) /*!< Read: pin set as output */ 10117 #define GPIO_DIRCLR_PIN17_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10118 10119 /* Bit 16 : Set as input pin 16 */ 10120 #define GPIO_DIRCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 10121 #define GPIO_DIRCLR_PIN16_Msk (0x1UL << GPIO_DIRCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 10122 #define GPIO_DIRCLR_PIN16_Input (0x0UL) /*!< Read: pin set as input */ 10123 #define GPIO_DIRCLR_PIN16_Output (0x1UL) /*!< Read: pin set as output */ 10124 #define GPIO_DIRCLR_PIN16_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10125 10126 /* Bit 15 : Set as input pin 15 */ 10127 #define GPIO_DIRCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 10128 #define GPIO_DIRCLR_PIN15_Msk (0x1UL << GPIO_DIRCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 10129 #define GPIO_DIRCLR_PIN15_Input (0x0UL) /*!< Read: pin set as input */ 10130 #define GPIO_DIRCLR_PIN15_Output (0x1UL) /*!< Read: pin set as output */ 10131 #define GPIO_DIRCLR_PIN15_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10132 10133 /* Bit 14 : Set as input pin 14 */ 10134 #define GPIO_DIRCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 10135 #define GPIO_DIRCLR_PIN14_Msk (0x1UL << GPIO_DIRCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 10136 #define GPIO_DIRCLR_PIN14_Input (0x0UL) /*!< Read: pin set as input */ 10137 #define GPIO_DIRCLR_PIN14_Output (0x1UL) /*!< Read: pin set as output */ 10138 #define GPIO_DIRCLR_PIN14_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10139 10140 /* Bit 13 : Set as input pin 13 */ 10141 #define GPIO_DIRCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 10142 #define GPIO_DIRCLR_PIN13_Msk (0x1UL << GPIO_DIRCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 10143 #define GPIO_DIRCLR_PIN13_Input (0x0UL) /*!< Read: pin set as input */ 10144 #define GPIO_DIRCLR_PIN13_Output (0x1UL) /*!< Read: pin set as output */ 10145 #define GPIO_DIRCLR_PIN13_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10146 10147 /* Bit 12 : Set as input pin 12 */ 10148 #define GPIO_DIRCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 10149 #define GPIO_DIRCLR_PIN12_Msk (0x1UL << GPIO_DIRCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 10150 #define GPIO_DIRCLR_PIN12_Input (0x0UL) /*!< Read: pin set as input */ 10151 #define GPIO_DIRCLR_PIN12_Output (0x1UL) /*!< Read: pin set as output */ 10152 #define GPIO_DIRCLR_PIN12_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10153 10154 /* Bit 11 : Set as input pin 11 */ 10155 #define GPIO_DIRCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 10156 #define GPIO_DIRCLR_PIN11_Msk (0x1UL << GPIO_DIRCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 10157 #define GPIO_DIRCLR_PIN11_Input (0x0UL) /*!< Read: pin set as input */ 10158 #define GPIO_DIRCLR_PIN11_Output (0x1UL) /*!< Read: pin set as output */ 10159 #define GPIO_DIRCLR_PIN11_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10160 10161 /* Bit 10 : Set as input pin 10 */ 10162 #define GPIO_DIRCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 10163 #define GPIO_DIRCLR_PIN10_Msk (0x1UL << GPIO_DIRCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 10164 #define GPIO_DIRCLR_PIN10_Input (0x0UL) /*!< Read: pin set as input */ 10165 #define GPIO_DIRCLR_PIN10_Output (0x1UL) /*!< Read: pin set as output */ 10166 #define GPIO_DIRCLR_PIN10_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10167 10168 /* Bit 9 : Set as input pin 9 */ 10169 #define GPIO_DIRCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 10170 #define GPIO_DIRCLR_PIN9_Msk (0x1UL << GPIO_DIRCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 10171 #define GPIO_DIRCLR_PIN9_Input (0x0UL) /*!< Read: pin set as input */ 10172 #define GPIO_DIRCLR_PIN9_Output (0x1UL) /*!< Read: pin set as output */ 10173 #define GPIO_DIRCLR_PIN9_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10174 10175 /* Bit 8 : Set as input pin 8 */ 10176 #define GPIO_DIRCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 10177 #define GPIO_DIRCLR_PIN8_Msk (0x1UL << GPIO_DIRCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 10178 #define GPIO_DIRCLR_PIN8_Input (0x0UL) /*!< Read: pin set as input */ 10179 #define GPIO_DIRCLR_PIN8_Output (0x1UL) /*!< Read: pin set as output */ 10180 #define GPIO_DIRCLR_PIN8_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10181 10182 /* Bit 7 : Set as input pin 7 */ 10183 #define GPIO_DIRCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 10184 #define GPIO_DIRCLR_PIN7_Msk (0x1UL << GPIO_DIRCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 10185 #define GPIO_DIRCLR_PIN7_Input (0x0UL) /*!< Read: pin set as input */ 10186 #define GPIO_DIRCLR_PIN7_Output (0x1UL) /*!< Read: pin set as output */ 10187 #define GPIO_DIRCLR_PIN7_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10188 10189 /* Bit 6 : Set as input pin 6 */ 10190 #define GPIO_DIRCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 10191 #define GPIO_DIRCLR_PIN6_Msk (0x1UL << GPIO_DIRCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 10192 #define GPIO_DIRCLR_PIN6_Input (0x0UL) /*!< Read: pin set as input */ 10193 #define GPIO_DIRCLR_PIN6_Output (0x1UL) /*!< Read: pin set as output */ 10194 #define GPIO_DIRCLR_PIN6_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10195 10196 /* Bit 5 : Set as input pin 5 */ 10197 #define GPIO_DIRCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 10198 #define GPIO_DIRCLR_PIN5_Msk (0x1UL << GPIO_DIRCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 10199 #define GPIO_DIRCLR_PIN5_Input (0x0UL) /*!< Read: pin set as input */ 10200 #define GPIO_DIRCLR_PIN5_Output (0x1UL) /*!< Read: pin set as output */ 10201 #define GPIO_DIRCLR_PIN5_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10202 10203 /* Bit 4 : Set as input pin 4 */ 10204 #define GPIO_DIRCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 10205 #define GPIO_DIRCLR_PIN4_Msk (0x1UL << GPIO_DIRCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 10206 #define GPIO_DIRCLR_PIN4_Input (0x0UL) /*!< Read: pin set as input */ 10207 #define GPIO_DIRCLR_PIN4_Output (0x1UL) /*!< Read: pin set as output */ 10208 #define GPIO_DIRCLR_PIN4_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10209 10210 /* Bit 3 : Set as input pin 3 */ 10211 #define GPIO_DIRCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 10212 #define GPIO_DIRCLR_PIN3_Msk (0x1UL << GPIO_DIRCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 10213 #define GPIO_DIRCLR_PIN3_Input (0x0UL) /*!< Read: pin set as input */ 10214 #define GPIO_DIRCLR_PIN3_Output (0x1UL) /*!< Read: pin set as output */ 10215 #define GPIO_DIRCLR_PIN3_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10216 10217 /* Bit 2 : Set as input pin 2 */ 10218 #define GPIO_DIRCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 10219 #define GPIO_DIRCLR_PIN2_Msk (0x1UL << GPIO_DIRCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 10220 #define GPIO_DIRCLR_PIN2_Input (0x0UL) /*!< Read: pin set as input */ 10221 #define GPIO_DIRCLR_PIN2_Output (0x1UL) /*!< Read: pin set as output */ 10222 #define GPIO_DIRCLR_PIN2_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10223 10224 /* Bit 1 : Set as input pin 1 */ 10225 #define GPIO_DIRCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 10226 #define GPIO_DIRCLR_PIN1_Msk (0x1UL << GPIO_DIRCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 10227 #define GPIO_DIRCLR_PIN1_Input (0x0UL) /*!< Read: pin set as input */ 10228 #define GPIO_DIRCLR_PIN1_Output (0x1UL) /*!< Read: pin set as output */ 10229 #define GPIO_DIRCLR_PIN1_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10230 10231 /* Bit 0 : Set as input pin 0 */ 10232 #define GPIO_DIRCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 10233 #define GPIO_DIRCLR_PIN0_Msk (0x1UL << GPIO_DIRCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 10234 #define GPIO_DIRCLR_PIN0_Input (0x0UL) /*!< Read: pin set as input */ 10235 #define GPIO_DIRCLR_PIN0_Output (0x1UL) /*!< Read: pin set as output */ 10236 #define GPIO_DIRCLR_PIN0_Clear (0x1UL) /*!< Write: writing a '1' sets pin to input; writing a '0' has no effect */ 10237 10238 /* Register: GPIO_LATCH */ 10239 /* Description: Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers */ 10240 10241 /* Bit 31 : Status on whether PIN[31] has met criteria set in PIN_CNF[31].SENSE register. Write '1' to clear. */ 10242 #define GPIO_LATCH_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 10243 #define GPIO_LATCH_PIN31_Msk (0x1UL << GPIO_LATCH_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 10244 #define GPIO_LATCH_PIN31_NotLatched (0x0UL) /*!< Criteria has not been met */ 10245 #define GPIO_LATCH_PIN31_Latched (0x1UL) /*!< Criteria has been met */ 10246 10247 /* Bit 30 : Status on whether PIN[30] has met criteria set in PIN_CNF[30].SENSE register. Write '1' to clear. */ 10248 #define GPIO_LATCH_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 10249 #define GPIO_LATCH_PIN30_Msk (0x1UL << GPIO_LATCH_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 10250 #define GPIO_LATCH_PIN30_NotLatched (0x0UL) /*!< Criteria has not been met */ 10251 #define GPIO_LATCH_PIN30_Latched (0x1UL) /*!< Criteria has been met */ 10252 10253 /* Bit 29 : Status on whether PIN[29] has met criteria set in PIN_CNF[29].SENSE register. Write '1' to clear. */ 10254 #define GPIO_LATCH_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 10255 #define GPIO_LATCH_PIN29_Msk (0x1UL << GPIO_LATCH_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 10256 #define GPIO_LATCH_PIN29_NotLatched (0x0UL) /*!< Criteria has not been met */ 10257 #define GPIO_LATCH_PIN29_Latched (0x1UL) /*!< Criteria has been met */ 10258 10259 /* Bit 28 : Status on whether PIN[28] has met criteria set in PIN_CNF[28].SENSE register. Write '1' to clear. */ 10260 #define GPIO_LATCH_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 10261 #define GPIO_LATCH_PIN28_Msk (0x1UL << GPIO_LATCH_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 10262 #define GPIO_LATCH_PIN28_NotLatched (0x0UL) /*!< Criteria has not been met */ 10263 #define GPIO_LATCH_PIN28_Latched (0x1UL) /*!< Criteria has been met */ 10264 10265 /* Bit 27 : Status on whether PIN[27] has met criteria set in PIN_CNF[27].SENSE register. Write '1' to clear. */ 10266 #define GPIO_LATCH_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 10267 #define GPIO_LATCH_PIN27_Msk (0x1UL << GPIO_LATCH_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 10268 #define GPIO_LATCH_PIN27_NotLatched (0x0UL) /*!< Criteria has not been met */ 10269 #define GPIO_LATCH_PIN27_Latched (0x1UL) /*!< Criteria has been met */ 10270 10271 /* Bit 26 : Status on whether PIN[26] has met criteria set in PIN_CNF[26].SENSE register. Write '1' to clear. */ 10272 #define GPIO_LATCH_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 10273 #define GPIO_LATCH_PIN26_Msk (0x1UL << GPIO_LATCH_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 10274 #define GPIO_LATCH_PIN26_NotLatched (0x0UL) /*!< Criteria has not been met */ 10275 #define GPIO_LATCH_PIN26_Latched (0x1UL) /*!< Criteria has been met */ 10276 10277 /* Bit 25 : Status on whether PIN[25] has met criteria set in PIN_CNF[25].SENSE register. Write '1' to clear. */ 10278 #define GPIO_LATCH_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 10279 #define GPIO_LATCH_PIN25_Msk (0x1UL << GPIO_LATCH_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 10280 #define GPIO_LATCH_PIN25_NotLatched (0x0UL) /*!< Criteria has not been met */ 10281 #define GPIO_LATCH_PIN25_Latched (0x1UL) /*!< Criteria has been met */ 10282 10283 /* Bit 24 : Status on whether PIN[24] has met criteria set in PIN_CNF[24].SENSE register. Write '1' to clear. */ 10284 #define GPIO_LATCH_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 10285 #define GPIO_LATCH_PIN24_Msk (0x1UL << GPIO_LATCH_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 10286 #define GPIO_LATCH_PIN24_NotLatched (0x0UL) /*!< Criteria has not been met */ 10287 #define GPIO_LATCH_PIN24_Latched (0x1UL) /*!< Criteria has been met */ 10288 10289 /* Bit 23 : Status on whether PIN[23] has met criteria set in PIN_CNF[23].SENSE register. Write '1' to clear. */ 10290 #define GPIO_LATCH_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 10291 #define GPIO_LATCH_PIN23_Msk (0x1UL << GPIO_LATCH_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 10292 #define GPIO_LATCH_PIN23_NotLatched (0x0UL) /*!< Criteria has not been met */ 10293 #define GPIO_LATCH_PIN23_Latched (0x1UL) /*!< Criteria has been met */ 10294 10295 /* Bit 22 : Status on whether PIN[22] has met criteria set in PIN_CNF[22].SENSE register. Write '1' to clear. */ 10296 #define GPIO_LATCH_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 10297 #define GPIO_LATCH_PIN22_Msk (0x1UL << GPIO_LATCH_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 10298 #define GPIO_LATCH_PIN22_NotLatched (0x0UL) /*!< Criteria has not been met */ 10299 #define GPIO_LATCH_PIN22_Latched (0x1UL) /*!< Criteria has been met */ 10300 10301 /* Bit 21 : Status on whether PIN[21] has met criteria set in PIN_CNF[21].SENSE register. Write '1' to clear. */ 10302 #define GPIO_LATCH_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 10303 #define GPIO_LATCH_PIN21_Msk (0x1UL << GPIO_LATCH_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 10304 #define GPIO_LATCH_PIN21_NotLatched (0x0UL) /*!< Criteria has not been met */ 10305 #define GPIO_LATCH_PIN21_Latched (0x1UL) /*!< Criteria has been met */ 10306 10307 /* Bit 20 : Status on whether PIN[20] has met criteria set in PIN_CNF[20].SENSE register. Write '1' to clear. */ 10308 #define GPIO_LATCH_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 10309 #define GPIO_LATCH_PIN20_Msk (0x1UL << GPIO_LATCH_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 10310 #define GPIO_LATCH_PIN20_NotLatched (0x0UL) /*!< Criteria has not been met */ 10311 #define GPIO_LATCH_PIN20_Latched (0x1UL) /*!< Criteria has been met */ 10312 10313 /* Bit 19 : Status on whether PIN[19] has met criteria set in PIN_CNF[19].SENSE register. Write '1' to clear. */ 10314 #define GPIO_LATCH_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 10315 #define GPIO_LATCH_PIN19_Msk (0x1UL << GPIO_LATCH_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 10316 #define GPIO_LATCH_PIN19_NotLatched (0x0UL) /*!< Criteria has not been met */ 10317 #define GPIO_LATCH_PIN19_Latched (0x1UL) /*!< Criteria has been met */ 10318 10319 /* Bit 18 : Status on whether PIN[18] has met criteria set in PIN_CNF[18].SENSE register. Write '1' to clear. */ 10320 #define GPIO_LATCH_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 10321 #define GPIO_LATCH_PIN18_Msk (0x1UL << GPIO_LATCH_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 10322 #define GPIO_LATCH_PIN18_NotLatched (0x0UL) /*!< Criteria has not been met */ 10323 #define GPIO_LATCH_PIN18_Latched (0x1UL) /*!< Criteria has been met */ 10324 10325 /* Bit 17 : Status on whether PIN[17] has met criteria set in PIN_CNF[17].SENSE register. Write '1' to clear. */ 10326 #define GPIO_LATCH_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 10327 #define GPIO_LATCH_PIN17_Msk (0x1UL << GPIO_LATCH_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 10328 #define GPIO_LATCH_PIN17_NotLatched (0x0UL) /*!< Criteria has not been met */ 10329 #define GPIO_LATCH_PIN17_Latched (0x1UL) /*!< Criteria has been met */ 10330 10331 /* Bit 16 : Status on whether PIN[16] has met criteria set in PIN_CNF[16].SENSE register. Write '1' to clear. */ 10332 #define GPIO_LATCH_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 10333 #define GPIO_LATCH_PIN16_Msk (0x1UL << GPIO_LATCH_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 10334 #define GPIO_LATCH_PIN16_NotLatched (0x0UL) /*!< Criteria has not been met */ 10335 #define GPIO_LATCH_PIN16_Latched (0x1UL) /*!< Criteria has been met */ 10336 10337 /* Bit 15 : Status on whether PIN[15] has met criteria set in PIN_CNF[15].SENSE register. Write '1' to clear. */ 10338 #define GPIO_LATCH_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 10339 #define GPIO_LATCH_PIN15_Msk (0x1UL << GPIO_LATCH_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 10340 #define GPIO_LATCH_PIN15_NotLatched (0x0UL) /*!< Criteria has not been met */ 10341 #define GPIO_LATCH_PIN15_Latched (0x1UL) /*!< Criteria has been met */ 10342 10343 /* Bit 14 : Status on whether PIN[14] has met criteria set in PIN_CNF[14].SENSE register. Write '1' to clear. */ 10344 #define GPIO_LATCH_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 10345 #define GPIO_LATCH_PIN14_Msk (0x1UL << GPIO_LATCH_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 10346 #define GPIO_LATCH_PIN14_NotLatched (0x0UL) /*!< Criteria has not been met */ 10347 #define GPIO_LATCH_PIN14_Latched (0x1UL) /*!< Criteria has been met */ 10348 10349 /* Bit 13 : Status on whether PIN[13] has met criteria set in PIN_CNF[13].SENSE register. Write '1' to clear. */ 10350 #define GPIO_LATCH_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 10351 #define GPIO_LATCH_PIN13_Msk (0x1UL << GPIO_LATCH_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 10352 #define GPIO_LATCH_PIN13_NotLatched (0x0UL) /*!< Criteria has not been met */ 10353 #define GPIO_LATCH_PIN13_Latched (0x1UL) /*!< Criteria has been met */ 10354 10355 /* Bit 12 : Status on whether PIN[12] has met criteria set in PIN_CNF[12].SENSE register. Write '1' to clear. */ 10356 #define GPIO_LATCH_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 10357 #define GPIO_LATCH_PIN12_Msk (0x1UL << GPIO_LATCH_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 10358 #define GPIO_LATCH_PIN12_NotLatched (0x0UL) /*!< Criteria has not been met */ 10359 #define GPIO_LATCH_PIN12_Latched (0x1UL) /*!< Criteria has been met */ 10360 10361 /* Bit 11 : Status on whether PIN[11] has met criteria set in PIN_CNF[11].SENSE register. Write '1' to clear. */ 10362 #define GPIO_LATCH_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 10363 #define GPIO_LATCH_PIN11_Msk (0x1UL << GPIO_LATCH_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 10364 #define GPIO_LATCH_PIN11_NotLatched (0x0UL) /*!< Criteria has not been met */ 10365 #define GPIO_LATCH_PIN11_Latched (0x1UL) /*!< Criteria has been met */ 10366 10367 /* Bit 10 : Status on whether PIN[10] has met criteria set in PIN_CNF[10].SENSE register. Write '1' to clear. */ 10368 #define GPIO_LATCH_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 10369 #define GPIO_LATCH_PIN10_Msk (0x1UL << GPIO_LATCH_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 10370 #define GPIO_LATCH_PIN10_NotLatched (0x0UL) /*!< Criteria has not been met */ 10371 #define GPIO_LATCH_PIN10_Latched (0x1UL) /*!< Criteria has been met */ 10372 10373 /* Bit 9 : Status on whether PIN[9] has met criteria set in PIN_CNF[9].SENSE register. Write '1' to clear. */ 10374 #define GPIO_LATCH_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 10375 #define GPIO_LATCH_PIN9_Msk (0x1UL << GPIO_LATCH_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 10376 #define GPIO_LATCH_PIN9_NotLatched (0x0UL) /*!< Criteria has not been met */ 10377 #define GPIO_LATCH_PIN9_Latched (0x1UL) /*!< Criteria has been met */ 10378 10379 /* Bit 8 : Status on whether PIN[8] has met criteria set in PIN_CNF[8].SENSE register. Write '1' to clear. */ 10380 #define GPIO_LATCH_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 10381 #define GPIO_LATCH_PIN8_Msk (0x1UL << GPIO_LATCH_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 10382 #define GPIO_LATCH_PIN8_NotLatched (0x0UL) /*!< Criteria has not been met */ 10383 #define GPIO_LATCH_PIN8_Latched (0x1UL) /*!< Criteria has been met */ 10384 10385 /* Bit 7 : Status on whether PIN[7] has met criteria set in PIN_CNF[7].SENSE register. Write '1' to clear. */ 10386 #define GPIO_LATCH_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 10387 #define GPIO_LATCH_PIN7_Msk (0x1UL << GPIO_LATCH_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 10388 #define GPIO_LATCH_PIN7_NotLatched (0x0UL) /*!< Criteria has not been met */ 10389 #define GPIO_LATCH_PIN7_Latched (0x1UL) /*!< Criteria has been met */ 10390 10391 /* Bit 6 : Status on whether PIN[6] has met criteria set in PIN_CNF[6].SENSE register. Write '1' to clear. */ 10392 #define GPIO_LATCH_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 10393 #define GPIO_LATCH_PIN6_Msk (0x1UL << GPIO_LATCH_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 10394 #define GPIO_LATCH_PIN6_NotLatched (0x0UL) /*!< Criteria has not been met */ 10395 #define GPIO_LATCH_PIN6_Latched (0x1UL) /*!< Criteria has been met */ 10396 10397 /* Bit 5 : Status on whether PIN[5] has met criteria set in PIN_CNF[5].SENSE register. Write '1' to clear. */ 10398 #define GPIO_LATCH_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 10399 #define GPIO_LATCH_PIN5_Msk (0x1UL << GPIO_LATCH_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 10400 #define GPIO_LATCH_PIN5_NotLatched (0x0UL) /*!< Criteria has not been met */ 10401 #define GPIO_LATCH_PIN5_Latched (0x1UL) /*!< Criteria has been met */ 10402 10403 /* Bit 4 : Status on whether PIN[4] has met criteria set in PIN_CNF[4].SENSE register. Write '1' to clear. */ 10404 #define GPIO_LATCH_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 10405 #define GPIO_LATCH_PIN4_Msk (0x1UL << GPIO_LATCH_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 10406 #define GPIO_LATCH_PIN4_NotLatched (0x0UL) /*!< Criteria has not been met */ 10407 #define GPIO_LATCH_PIN4_Latched (0x1UL) /*!< Criteria has been met */ 10408 10409 /* Bit 3 : Status on whether PIN[3] has met criteria set in PIN_CNF[3].SENSE register. Write '1' to clear. */ 10410 #define GPIO_LATCH_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 10411 #define GPIO_LATCH_PIN3_Msk (0x1UL << GPIO_LATCH_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 10412 #define GPIO_LATCH_PIN3_NotLatched (0x0UL) /*!< Criteria has not been met */ 10413 #define GPIO_LATCH_PIN3_Latched (0x1UL) /*!< Criteria has been met */ 10414 10415 /* Bit 2 : Status on whether PIN[2] has met criteria set in PIN_CNF[2].SENSE register. Write '1' to clear. */ 10416 #define GPIO_LATCH_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 10417 #define GPIO_LATCH_PIN2_Msk (0x1UL << GPIO_LATCH_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 10418 #define GPIO_LATCH_PIN2_NotLatched (0x0UL) /*!< Criteria has not been met */ 10419 #define GPIO_LATCH_PIN2_Latched (0x1UL) /*!< Criteria has been met */ 10420 10421 /* Bit 1 : Status on whether PIN[1] has met criteria set in PIN_CNF[1].SENSE register. Write '1' to clear. */ 10422 #define GPIO_LATCH_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 10423 #define GPIO_LATCH_PIN1_Msk (0x1UL << GPIO_LATCH_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 10424 #define GPIO_LATCH_PIN1_NotLatched (0x0UL) /*!< Criteria has not been met */ 10425 #define GPIO_LATCH_PIN1_Latched (0x1UL) /*!< Criteria has been met */ 10426 10427 /* Bit 0 : Status on whether PIN[0] has met criteria set in PIN_CNF[0].SENSE register. Write '1' to clear. */ 10428 #define GPIO_LATCH_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 10429 #define GPIO_LATCH_PIN0_Msk (0x1UL << GPIO_LATCH_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 10430 #define GPIO_LATCH_PIN0_NotLatched (0x0UL) /*!< Criteria has not been met */ 10431 #define GPIO_LATCH_PIN0_Latched (0x1UL) /*!< Criteria has been met */ 10432 10433 /* Register: GPIO_DETECTMODE */ 10434 /* Description: Select between default DETECT signal behavior and LDETECT mode */ 10435 10436 /* Bit 0 : Select between default DETECT signal behavior and LDETECT mode */ 10437 #define GPIO_DETECTMODE_DETECTMODE_Pos (0UL) /*!< Position of DETECTMODE field. */ 10438 #define GPIO_DETECTMODE_DETECTMODE_Msk (0x1UL << GPIO_DETECTMODE_DETECTMODE_Pos) /*!< Bit mask of DETECTMODE field. */ 10439 #define GPIO_DETECTMODE_DETECTMODE_Default (0x0UL) /*!< DETECT directly connected to PIN DETECT signals */ 10440 #define GPIO_DETECTMODE_DETECTMODE_LDETECT (0x1UL) /*!< Use the latched LDETECT behavior */ 10441 10442 /* Register: GPIO_DETECTMODE_SEC */ 10443 /* Description: Select between default DETECT signal behavior and LDETECT mode */ 10444 10445 /* Bit 0 : Select between default DETECT signal behavior and LDETECT mode */ 10446 #define GPIO_DETECTMODE_SEC_DETECTMODE_Pos (0UL) /*!< Position of DETECTMODE field. */ 10447 #define GPIO_DETECTMODE_SEC_DETECTMODE_Msk (0x1UL << GPIO_DETECTMODE_SEC_DETECTMODE_Pos) /*!< Bit mask of DETECTMODE field. */ 10448 #define GPIO_DETECTMODE_SEC_DETECTMODE_Default (0x0UL) /*!< DETECT directly connected to PIN DETECT signals */ 10449 #define GPIO_DETECTMODE_SEC_DETECTMODE_LDETECT (0x1UL) /*!< Use the latched LDETECT behavior */ 10450 10451 /* Register: GPIO_PIN_CNF */ 10452 /* Description: Description collection: Configuration of GPIO pins */ 10453 10454 /* Bits 30..28 : Select which MCU/Subsystem controls this pin Note: this field is only accessible from secure code. */ 10455 #define GPIO_PIN_CNF_MCUSEL_Pos (28UL) /*!< Position of MCUSEL field. */ 10456 #define GPIO_PIN_CNF_MCUSEL_Msk (0x7UL << GPIO_PIN_CNF_MCUSEL_Pos) /*!< Bit mask of MCUSEL field. */ 10457 #define GPIO_PIN_CNF_MCUSEL_AppMCU (0x0UL) /*!< Application MCU */ 10458 #define GPIO_PIN_CNF_MCUSEL_NetworkMCU (0x1UL) /*!< Network MCU */ 10459 #define GPIO_PIN_CNF_MCUSEL_Peripheral (0x3UL) /*!< Peripheral with dedicated pins */ 10460 #define GPIO_PIN_CNF_MCUSEL_TND (0x7UL) /*!< Trace and Debug Subsystem */ 10461 10462 /* Bits 17..16 : Pin sensing mechanism */ 10463 #define GPIO_PIN_CNF_SENSE_Pos (16UL) /*!< Position of SENSE field. */ 10464 #define GPIO_PIN_CNF_SENSE_Msk (0x3UL << GPIO_PIN_CNF_SENSE_Pos) /*!< Bit mask of SENSE field. */ 10465 #define GPIO_PIN_CNF_SENSE_Disabled (0x0UL) /*!< Disabled */ 10466 #define GPIO_PIN_CNF_SENSE_High (0x2UL) /*!< Sense for high level */ 10467 #define GPIO_PIN_CNF_SENSE_Low (0x3UL) /*!< Sense for low level */ 10468 10469 /* Bits 11..8 : Drive configuration */ 10470 #define GPIO_PIN_CNF_DRIVE_Pos (8UL) /*!< Position of DRIVE field. */ 10471 #define GPIO_PIN_CNF_DRIVE_Msk (0xFUL << GPIO_PIN_CNF_DRIVE_Pos) /*!< Bit mask of DRIVE field. */ 10472 #define GPIO_PIN_CNF_DRIVE_S0S1 (0x0UL) /*!< Standard '0', standard '1' */ 10473 #define GPIO_PIN_CNF_DRIVE_H0S1 (0x1UL) /*!< High drive '0', standard '1' */ 10474 #define GPIO_PIN_CNF_DRIVE_S0H1 (0x2UL) /*!< Standard '0', high drive '1' */ 10475 #define GPIO_PIN_CNF_DRIVE_H0H1 (0x3UL) /*!< High drive '0', high 'drive '1'' */ 10476 #define GPIO_PIN_CNF_DRIVE_D0S1 (0x4UL) /*!< Disconnect '0', standard '1' (normally used for wired-or connections) */ 10477 #define GPIO_PIN_CNF_DRIVE_D0H1 (0x5UL) /*!< Disconnect '0', high drive '1' (normally used for wired-or connections) */ 10478 #define GPIO_PIN_CNF_DRIVE_S0D1 (0x6UL) /*!< Standard '0', disconnect '1' (normally used for wired-and connections) */ 10479 #define GPIO_PIN_CNF_DRIVE_H0D1 (0x7UL) /*!< High drive '0', disconnect '1' (normally used for wired-and connections) */ 10480 #define GPIO_PIN_CNF_DRIVE_E0E1 (0xBUL) /*!< Extra high drive '0', extra high drive '1' */ 10481 10482 /* Bits 3..2 : Pull configuration */ 10483 #define GPIO_PIN_CNF_PULL_Pos (2UL) /*!< Position of PULL field. */ 10484 #define GPIO_PIN_CNF_PULL_Msk (0x3UL << GPIO_PIN_CNF_PULL_Pos) /*!< Bit mask of PULL field. */ 10485 #define GPIO_PIN_CNF_PULL_Disabled (0x0UL) /*!< No pull */ 10486 #define GPIO_PIN_CNF_PULL_Pulldown (0x1UL) /*!< Pull down on pin */ 10487 #define GPIO_PIN_CNF_PULL_Pullup (0x3UL) /*!< Pull up on pin */ 10488 10489 /* Bit 1 : Connect or disconnect input buffer */ 10490 #define GPIO_PIN_CNF_INPUT_Pos (1UL) /*!< Position of INPUT field. */ 10491 #define GPIO_PIN_CNF_INPUT_Msk (0x1UL << GPIO_PIN_CNF_INPUT_Pos) /*!< Bit mask of INPUT field. */ 10492 #define GPIO_PIN_CNF_INPUT_Connect (0x0UL) /*!< Connect input buffer */ 10493 #define GPIO_PIN_CNF_INPUT_Disconnect (0x1UL) /*!< Disconnect input buffer */ 10494 10495 /* Bit 0 : Pin direction. Same physical register as DIR register */ 10496 #define GPIO_PIN_CNF_DIR_Pos (0UL) /*!< Position of DIR field. */ 10497 #define GPIO_PIN_CNF_DIR_Msk (0x1UL << GPIO_PIN_CNF_DIR_Pos) /*!< Bit mask of DIR field. */ 10498 #define GPIO_PIN_CNF_DIR_Input (0x0UL) /*!< Configure pin as an input pin */ 10499 #define GPIO_PIN_CNF_DIR_Output (0x1UL) /*!< Configure pin as an output pin */ 10500 10501 10502 /* Peripheral: PDM */ 10503 /* Description: Pulse Density Modulation (Digital Microphone) Interface 0 */ 10504 10505 /* Register: PDM_TASKS_START */ 10506 /* Description: Starts continuous PDM transfer */ 10507 10508 /* Bit 0 : Starts continuous PDM transfer */ 10509 #define PDM_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 10510 #define PDM_TASKS_START_TASKS_START_Msk (0x1UL << PDM_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 10511 #define PDM_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 10512 10513 /* Register: PDM_TASKS_STOP */ 10514 /* Description: Stops PDM transfer */ 10515 10516 /* Bit 0 : Stops PDM transfer */ 10517 #define PDM_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 10518 #define PDM_TASKS_STOP_TASKS_STOP_Msk (0x1UL << PDM_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 10519 #define PDM_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 10520 10521 /* Register: PDM_SUBSCRIBE_START */ 10522 /* Description: Subscribe configuration for task START */ 10523 10524 /* Bit 31 : */ 10525 #define PDM_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 10526 #define PDM_SUBSCRIBE_START_EN_Msk (0x1UL << PDM_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 10527 #define PDM_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 10528 #define PDM_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 10529 10530 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 10531 #define PDM_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10532 #define PDM_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << PDM_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10533 10534 /* Register: PDM_SUBSCRIBE_STOP */ 10535 /* Description: Subscribe configuration for task STOP */ 10536 10537 /* Bit 31 : */ 10538 #define PDM_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 10539 #define PDM_SUBSCRIBE_STOP_EN_Msk (0x1UL << PDM_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 10540 #define PDM_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 10541 #define PDM_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 10542 10543 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 10544 #define PDM_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10545 #define PDM_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << PDM_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10546 10547 /* Register: PDM_EVENTS_STARTED */ 10548 /* Description: PDM transfer has started */ 10549 10550 /* Bit 0 : PDM transfer has started */ 10551 #define PDM_EVENTS_STARTED_EVENTS_STARTED_Pos (0UL) /*!< Position of EVENTS_STARTED field. */ 10552 #define PDM_EVENTS_STARTED_EVENTS_STARTED_Msk (0x1UL << PDM_EVENTS_STARTED_EVENTS_STARTED_Pos) /*!< Bit mask of EVENTS_STARTED field. */ 10553 #define PDM_EVENTS_STARTED_EVENTS_STARTED_NotGenerated (0x0UL) /*!< Event not generated */ 10554 #define PDM_EVENTS_STARTED_EVENTS_STARTED_Generated (0x1UL) /*!< Event generated */ 10555 10556 /* Register: PDM_EVENTS_STOPPED */ 10557 /* Description: PDM transfer has finished */ 10558 10559 /* Bit 0 : PDM transfer has finished */ 10560 #define PDM_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 10561 #define PDM_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << PDM_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 10562 #define PDM_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 10563 #define PDM_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 10564 10565 /* Register: PDM_EVENTS_END */ 10566 /* Description: The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM */ 10567 10568 /* Bit 0 : The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM */ 10569 #define PDM_EVENTS_END_EVENTS_END_Pos (0UL) /*!< Position of EVENTS_END field. */ 10570 #define PDM_EVENTS_END_EVENTS_END_Msk (0x1UL << PDM_EVENTS_END_EVENTS_END_Pos) /*!< Bit mask of EVENTS_END field. */ 10571 #define PDM_EVENTS_END_EVENTS_END_NotGenerated (0x0UL) /*!< Event not generated */ 10572 #define PDM_EVENTS_END_EVENTS_END_Generated (0x1UL) /*!< Event generated */ 10573 10574 /* Register: PDM_PUBLISH_STARTED */ 10575 /* Description: Publish configuration for event STARTED */ 10576 10577 /* Bit 31 : */ 10578 #define PDM_PUBLISH_STARTED_EN_Pos (31UL) /*!< Position of EN field. */ 10579 #define PDM_PUBLISH_STARTED_EN_Msk (0x1UL << PDM_PUBLISH_STARTED_EN_Pos) /*!< Bit mask of EN field. */ 10580 #define PDM_PUBLISH_STARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 10581 #define PDM_PUBLISH_STARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 10582 10583 /* Bits 7..0 : DPPI channel that event STARTED will publish to */ 10584 #define PDM_PUBLISH_STARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10585 #define PDM_PUBLISH_STARTED_CHIDX_Msk (0xFFUL << PDM_PUBLISH_STARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10586 10587 /* Register: PDM_PUBLISH_STOPPED */ 10588 /* Description: Publish configuration for event STOPPED */ 10589 10590 /* Bit 31 : */ 10591 #define PDM_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 10592 #define PDM_PUBLISH_STOPPED_EN_Msk (0x1UL << PDM_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 10593 #define PDM_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 10594 #define PDM_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 10595 10596 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 10597 #define PDM_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10598 #define PDM_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << PDM_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10599 10600 /* Register: PDM_PUBLISH_END */ 10601 /* Description: Publish configuration for event END */ 10602 10603 /* Bit 31 : */ 10604 #define PDM_PUBLISH_END_EN_Pos (31UL) /*!< Position of EN field. */ 10605 #define PDM_PUBLISH_END_EN_Msk (0x1UL << PDM_PUBLISH_END_EN_Pos) /*!< Bit mask of EN field. */ 10606 #define PDM_PUBLISH_END_EN_Disabled (0x0UL) /*!< Disable publishing */ 10607 #define PDM_PUBLISH_END_EN_Enabled (0x1UL) /*!< Enable publishing */ 10608 10609 /* Bits 7..0 : DPPI channel that event END will publish to */ 10610 #define PDM_PUBLISH_END_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10611 #define PDM_PUBLISH_END_CHIDX_Msk (0xFFUL << PDM_PUBLISH_END_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10612 10613 /* Register: PDM_INTEN */ 10614 /* Description: Enable or disable interrupt */ 10615 10616 /* Bit 2 : Enable or disable interrupt for event END */ 10617 #define PDM_INTEN_END_Pos (2UL) /*!< Position of END field. */ 10618 #define PDM_INTEN_END_Msk (0x1UL << PDM_INTEN_END_Pos) /*!< Bit mask of END field. */ 10619 #define PDM_INTEN_END_Disabled (0x0UL) /*!< Disable */ 10620 #define PDM_INTEN_END_Enabled (0x1UL) /*!< Enable */ 10621 10622 /* Bit 1 : Enable or disable interrupt for event STOPPED */ 10623 #define PDM_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 10624 #define PDM_INTEN_STOPPED_Msk (0x1UL << PDM_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 10625 #define PDM_INTEN_STOPPED_Disabled (0x0UL) /*!< Disable */ 10626 #define PDM_INTEN_STOPPED_Enabled (0x1UL) /*!< Enable */ 10627 10628 /* Bit 0 : Enable or disable interrupt for event STARTED */ 10629 #define PDM_INTEN_STARTED_Pos (0UL) /*!< Position of STARTED field. */ 10630 #define PDM_INTEN_STARTED_Msk (0x1UL << PDM_INTEN_STARTED_Pos) /*!< Bit mask of STARTED field. */ 10631 #define PDM_INTEN_STARTED_Disabled (0x0UL) /*!< Disable */ 10632 #define PDM_INTEN_STARTED_Enabled (0x1UL) /*!< Enable */ 10633 10634 /* Register: PDM_INTENSET */ 10635 /* Description: Enable interrupt */ 10636 10637 /* Bit 2 : Write '1' to enable interrupt for event END */ 10638 #define PDM_INTENSET_END_Pos (2UL) /*!< Position of END field. */ 10639 #define PDM_INTENSET_END_Msk (0x1UL << PDM_INTENSET_END_Pos) /*!< Bit mask of END field. */ 10640 #define PDM_INTENSET_END_Disabled (0x0UL) /*!< Read: Disabled */ 10641 #define PDM_INTENSET_END_Enabled (0x1UL) /*!< Read: Enabled */ 10642 #define PDM_INTENSET_END_Set (0x1UL) /*!< Enable */ 10643 10644 /* Bit 1 : Write '1' to enable interrupt for event STOPPED */ 10645 #define PDM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 10646 #define PDM_INTENSET_STOPPED_Msk (0x1UL << PDM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 10647 #define PDM_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 10648 #define PDM_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 10649 #define PDM_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 10650 10651 /* Bit 0 : Write '1' to enable interrupt for event STARTED */ 10652 #define PDM_INTENSET_STARTED_Pos (0UL) /*!< Position of STARTED field. */ 10653 #define PDM_INTENSET_STARTED_Msk (0x1UL << PDM_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */ 10654 #define PDM_INTENSET_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 10655 #define PDM_INTENSET_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 10656 #define PDM_INTENSET_STARTED_Set (0x1UL) /*!< Enable */ 10657 10658 /* Register: PDM_INTENCLR */ 10659 /* Description: Disable interrupt */ 10660 10661 /* Bit 2 : Write '1' to disable interrupt for event END */ 10662 #define PDM_INTENCLR_END_Pos (2UL) /*!< Position of END field. */ 10663 #define PDM_INTENCLR_END_Msk (0x1UL << PDM_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 10664 #define PDM_INTENCLR_END_Disabled (0x0UL) /*!< Read: Disabled */ 10665 #define PDM_INTENCLR_END_Enabled (0x1UL) /*!< Read: Enabled */ 10666 #define PDM_INTENCLR_END_Clear (0x1UL) /*!< Disable */ 10667 10668 /* Bit 1 : Write '1' to disable interrupt for event STOPPED */ 10669 #define PDM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 10670 #define PDM_INTENCLR_STOPPED_Msk (0x1UL << PDM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 10671 #define PDM_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 10672 #define PDM_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 10673 #define PDM_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 10674 10675 /* Bit 0 : Write '1' to disable interrupt for event STARTED */ 10676 #define PDM_INTENCLR_STARTED_Pos (0UL) /*!< Position of STARTED field. */ 10677 #define PDM_INTENCLR_STARTED_Msk (0x1UL << PDM_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */ 10678 #define PDM_INTENCLR_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 10679 #define PDM_INTENCLR_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 10680 #define PDM_INTENCLR_STARTED_Clear (0x1UL) /*!< Disable */ 10681 10682 /* Register: PDM_ENABLE */ 10683 /* Description: PDM module enable register */ 10684 10685 /* Bit 0 : Enable or disable PDM module */ 10686 #define PDM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 10687 #define PDM_ENABLE_ENABLE_Msk (0x1UL << PDM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 10688 #define PDM_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable */ 10689 #define PDM_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable */ 10690 10691 /* Register: PDM_PDMCLKCTRL */ 10692 /* Description: PDM clock generator control */ 10693 10694 /* Bits 31..0 : PDM_CLK frequency configuration. Enumerations are deprecated, use 10695 PDMCLKCTRL equation to find the register value. The 12 least significant bits of the 10696 register are ignored and shall be set to zero. */ 10697 #define PDM_PDMCLKCTRL_FREQ_Pos (0UL) /*!< Position of FREQ field. */ 10698 #define PDM_PDMCLKCTRL_FREQ_Msk (0xFFFFFFFFUL << PDM_PDMCLKCTRL_FREQ_Pos) /*!< Bit mask of FREQ field. */ 10699 #define PDM_PDMCLKCTRL_FREQ_1000K (0x08000000UL) /*!< PDM_CLK = 32 MHz / 32 = 1.000 MHz */ 10700 #define PDM_PDMCLKCTRL_FREQ_Default (0x08400000UL) /*!< PDM_CLK = 32 MHz / 31 = 1.032 MHz. Nominal clock for RATIO=Ratio64. */ 10701 #define PDM_PDMCLKCTRL_FREQ_1067K (0x08800000UL) /*!< PDM_CLK = 32 MHz / 30 = 1.067 MHz */ 10702 #define PDM_PDMCLKCTRL_FREQ_1231K (0x09800000UL) /*!< PDM_CLK = 32 MHz / 26 = 1.231 MHz */ 10703 #define PDM_PDMCLKCTRL_FREQ_1280K (0x0A000000UL) /*!< PDM_CLK = 32 MHz / 25 = 1.280 MHz. Nominal clock for RATIO=Ratio80. */ 10704 #define PDM_PDMCLKCTRL_FREQ_1333K (0x0A800000UL) /*!< PDM_CLK = 32 MHz / 24 = 1.333 MHz */ 10705 10706 /* Register: PDM_MODE */ 10707 /* Description: Defines the routing of the connected PDM microphones' signals */ 10708 10709 /* Bit 1 : Defines on which PDM_CLK edge left (or mono) is sampled */ 10710 #define PDM_MODE_EDGE_Pos (1UL) /*!< Position of EDGE field. */ 10711 #define PDM_MODE_EDGE_Msk (0x1UL << PDM_MODE_EDGE_Pos) /*!< Bit mask of EDGE field. */ 10712 #define PDM_MODE_EDGE_LeftFalling (0x0UL) /*!< Left (or mono) is sampled on falling edge of PDM_CLK */ 10713 #define PDM_MODE_EDGE_LeftRising (0x1UL) /*!< Left (or mono) is sampled on rising edge of PDM_CLK */ 10714 10715 /* Bit 0 : Mono or stereo operation */ 10716 #define PDM_MODE_OPERATION_Pos (0UL) /*!< Position of OPERATION field. */ 10717 #define PDM_MODE_OPERATION_Msk (0x1UL << PDM_MODE_OPERATION_Pos) /*!< Bit mask of OPERATION field. */ 10718 #define PDM_MODE_OPERATION_Stereo (0x0UL) /*!< Sample and store one pair (left + right) of 16-bit samples per RAM word R=[31:16]; L=[15:0] */ 10719 #define PDM_MODE_OPERATION_Mono (0x1UL) /*!< Sample and store two successive left samples (16 bits each) per RAM word L1=[31:16]; L0=[15:0] */ 10720 10721 /* Register: PDM_GAINL */ 10722 /* Description: Left output gain adjustment */ 10723 10724 /* Bits 6..0 : Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (...) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (...) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust */ 10725 #define PDM_GAINL_GAINL_Pos (0UL) /*!< Position of GAINL field. */ 10726 #define PDM_GAINL_GAINL_Msk (0x7FUL << PDM_GAINL_GAINL_Pos) /*!< Bit mask of GAINL field. */ 10727 #define PDM_GAINL_GAINL_MinGain (0x00UL) /*!< -20 dB gain adjustment (minimum) */ 10728 #define PDM_GAINL_GAINL_DefaultGain (0x28UL) /*!< 0 dB gain adjustment */ 10729 #define PDM_GAINL_GAINL_MaxGain (0x50UL) /*!< +20 dB gain adjustment (maximum) */ 10730 10731 /* Register: PDM_GAINR */ 10732 /* Description: Right output gain adjustment */ 10733 10734 /* Bits 6..0 : Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) */ 10735 #define PDM_GAINR_GAINR_Pos (0UL) /*!< Position of GAINR field. */ 10736 #define PDM_GAINR_GAINR_Msk (0x7FUL << PDM_GAINR_GAINR_Pos) /*!< Bit mask of GAINR field. */ 10737 #define PDM_GAINR_GAINR_MinGain (0x00UL) /*!< -20 dB gain adjustment (minimum) */ 10738 #define PDM_GAINR_GAINR_DefaultGain (0x28UL) /*!< 0 dB gain adjustment */ 10739 #define PDM_GAINR_GAINR_MaxGain (0x50UL) /*!< +20 dB gain adjustment (maximum) */ 10740 10741 /* Register: PDM_RATIO */ 10742 /* Description: Selects the ratio between PDM_CLK and output sample rate. Change PDMCLKCTRL accordingly. */ 10743 10744 /* Bit 0 : Selects the ratio between PDM_CLK and output sample rate */ 10745 #define PDM_RATIO_RATIO_Pos (0UL) /*!< Position of RATIO field. */ 10746 #define PDM_RATIO_RATIO_Msk (0x1UL << PDM_RATIO_RATIO_Pos) /*!< Bit mask of RATIO field. */ 10747 #define PDM_RATIO_RATIO_Ratio64 (0x0UL) /*!< Ratio of 64 */ 10748 #define PDM_RATIO_RATIO_Ratio80 (0x1UL) /*!< Ratio of 80 */ 10749 10750 /* Register: PDM_PSEL_CLK */ 10751 /* Description: Pin number configuration for PDM CLK signal */ 10752 10753 /* Bit 31 : Connection */ 10754 #define PDM_PSEL_CLK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 10755 #define PDM_PSEL_CLK_CONNECT_Msk (0x1UL << PDM_PSEL_CLK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 10756 #define PDM_PSEL_CLK_CONNECT_Connected (0x0UL) /*!< Connect */ 10757 #define PDM_PSEL_CLK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 10758 10759 /* Bit 5 : Port number */ 10760 #define PDM_PSEL_CLK_PORT_Pos (5UL) /*!< Position of PORT field. */ 10761 #define PDM_PSEL_CLK_PORT_Msk (0x1UL << PDM_PSEL_CLK_PORT_Pos) /*!< Bit mask of PORT field. */ 10762 10763 /* Bits 4..0 : Pin number */ 10764 #define PDM_PSEL_CLK_PIN_Pos (0UL) /*!< Position of PIN field. */ 10765 #define PDM_PSEL_CLK_PIN_Msk (0x1FUL << PDM_PSEL_CLK_PIN_Pos) /*!< Bit mask of PIN field. */ 10766 10767 /* Register: PDM_PSEL_DIN */ 10768 /* Description: Pin number configuration for PDM DIN signal */ 10769 10770 /* Bit 31 : Connection */ 10771 #define PDM_PSEL_DIN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 10772 #define PDM_PSEL_DIN_CONNECT_Msk (0x1UL << PDM_PSEL_DIN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 10773 #define PDM_PSEL_DIN_CONNECT_Connected (0x0UL) /*!< Connect */ 10774 #define PDM_PSEL_DIN_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 10775 10776 /* Bit 5 : Port number */ 10777 #define PDM_PSEL_DIN_PORT_Pos (5UL) /*!< Position of PORT field. */ 10778 #define PDM_PSEL_DIN_PORT_Msk (0x1UL << PDM_PSEL_DIN_PORT_Pos) /*!< Bit mask of PORT field. */ 10779 10780 /* Bits 4..0 : Pin number */ 10781 #define PDM_PSEL_DIN_PIN_Pos (0UL) /*!< Position of PIN field. */ 10782 #define PDM_PSEL_DIN_PIN_Msk (0x1FUL << PDM_PSEL_DIN_PIN_Pos) /*!< Bit mask of PIN field. */ 10783 10784 /* Register: PDM_MCLKCONFIG */ 10785 /* Description: Master clock generator configuration */ 10786 10787 /* Bit 0 : Master clock source selection */ 10788 #define PDM_MCLKCONFIG_SRC_Pos (0UL) /*!< Position of SRC field. */ 10789 #define PDM_MCLKCONFIG_SRC_Msk (0x1UL << PDM_MCLKCONFIG_SRC_Pos) /*!< Bit mask of SRC field. */ 10790 #define PDM_MCLKCONFIG_SRC_PCLK32M (0x0UL) /*!< 32 MHz peripheral clock */ 10791 #define PDM_MCLKCONFIG_SRC_ACLK (0x1UL) /*!< Audio PLL clock */ 10792 10793 /* Register: PDM_SAMPLE_PTR */ 10794 /* Description: RAM address pointer to write samples to with EasyDMA */ 10795 10796 /* Bits 31..0 : Address to write PDM samples to over DMA */ 10797 #define PDM_SAMPLE_PTR_SAMPLEPTR_Pos (0UL) /*!< Position of SAMPLEPTR field. */ 10798 #define PDM_SAMPLE_PTR_SAMPLEPTR_Msk (0xFFFFFFFFUL << PDM_SAMPLE_PTR_SAMPLEPTR_Pos) /*!< Bit mask of SAMPLEPTR field. */ 10799 10800 /* Register: PDM_SAMPLE_MAXCNT */ 10801 /* Description: Number of samples to allocate memory for in EasyDMA mode */ 10802 10803 /* Bits 14..0 : Length of DMA RAM allocation in number of samples */ 10804 #define PDM_SAMPLE_MAXCNT_BUFFSIZE_Pos (0UL) /*!< Position of BUFFSIZE field. */ 10805 #define PDM_SAMPLE_MAXCNT_BUFFSIZE_Msk (0x7FFFUL << PDM_SAMPLE_MAXCNT_BUFFSIZE_Pos) /*!< Bit mask of BUFFSIZE field. */ 10806 10807 10808 /* Peripheral: POWER */ 10809 /* Description: Power control 0 */ 10810 10811 /* Register: POWER_TASKS_CONSTLAT */ 10812 /* Description: Enable Constant Latency mode */ 10813 10814 /* Bit 0 : Enable Constant Latency mode */ 10815 #define POWER_TASKS_CONSTLAT_TASKS_CONSTLAT_Pos (0UL) /*!< Position of TASKS_CONSTLAT field. */ 10816 #define POWER_TASKS_CONSTLAT_TASKS_CONSTLAT_Msk (0x1UL << POWER_TASKS_CONSTLAT_TASKS_CONSTLAT_Pos) /*!< Bit mask of TASKS_CONSTLAT field. */ 10817 #define POWER_TASKS_CONSTLAT_TASKS_CONSTLAT_Trigger (0x1UL) /*!< Trigger task */ 10818 10819 /* Register: POWER_TASKS_LOWPWR */ 10820 /* Description: Enable Low-Power mode (variable latency) */ 10821 10822 /* Bit 0 : Enable Low-Power mode (variable latency) */ 10823 #define POWER_TASKS_LOWPWR_TASKS_LOWPWR_Pos (0UL) /*!< Position of TASKS_LOWPWR field. */ 10824 #define POWER_TASKS_LOWPWR_TASKS_LOWPWR_Msk (0x1UL << POWER_TASKS_LOWPWR_TASKS_LOWPWR_Pos) /*!< Bit mask of TASKS_LOWPWR field. */ 10825 #define POWER_TASKS_LOWPWR_TASKS_LOWPWR_Trigger (0x1UL) /*!< Trigger task */ 10826 10827 /* Register: POWER_SUBSCRIBE_CONSTLAT */ 10828 /* Description: Subscribe configuration for task CONSTLAT */ 10829 10830 /* Bit 31 : */ 10831 #define POWER_SUBSCRIBE_CONSTLAT_EN_Pos (31UL) /*!< Position of EN field. */ 10832 #define POWER_SUBSCRIBE_CONSTLAT_EN_Msk (0x1UL << POWER_SUBSCRIBE_CONSTLAT_EN_Pos) /*!< Bit mask of EN field. */ 10833 #define POWER_SUBSCRIBE_CONSTLAT_EN_Disabled (0x0UL) /*!< Disable subscription */ 10834 #define POWER_SUBSCRIBE_CONSTLAT_EN_Enabled (0x1UL) /*!< Enable subscription */ 10835 10836 /* Bits 7..0 : DPPI channel that task CONSTLAT will subscribe to */ 10837 #define POWER_SUBSCRIBE_CONSTLAT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10838 #define POWER_SUBSCRIBE_CONSTLAT_CHIDX_Msk (0xFFUL << POWER_SUBSCRIBE_CONSTLAT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10839 10840 /* Register: POWER_SUBSCRIBE_LOWPWR */ 10841 /* Description: Subscribe configuration for task LOWPWR */ 10842 10843 /* Bit 31 : */ 10844 #define POWER_SUBSCRIBE_LOWPWR_EN_Pos (31UL) /*!< Position of EN field. */ 10845 #define POWER_SUBSCRIBE_LOWPWR_EN_Msk (0x1UL << POWER_SUBSCRIBE_LOWPWR_EN_Pos) /*!< Bit mask of EN field. */ 10846 #define POWER_SUBSCRIBE_LOWPWR_EN_Disabled (0x0UL) /*!< Disable subscription */ 10847 #define POWER_SUBSCRIBE_LOWPWR_EN_Enabled (0x1UL) /*!< Enable subscription */ 10848 10849 /* Bits 7..0 : DPPI channel that task LOWPWR will subscribe to */ 10850 #define POWER_SUBSCRIBE_LOWPWR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10851 #define POWER_SUBSCRIBE_LOWPWR_CHIDX_Msk (0xFFUL << POWER_SUBSCRIBE_LOWPWR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10852 10853 /* Register: POWER_EVENTS_POFWARN */ 10854 /* Description: Power failure warning */ 10855 10856 /* Bit 0 : Power failure warning */ 10857 #define POWER_EVENTS_POFWARN_EVENTS_POFWARN_Pos (0UL) /*!< Position of EVENTS_POFWARN field. */ 10858 #define POWER_EVENTS_POFWARN_EVENTS_POFWARN_Msk (0x1UL << POWER_EVENTS_POFWARN_EVENTS_POFWARN_Pos) /*!< Bit mask of EVENTS_POFWARN field. */ 10859 #define POWER_EVENTS_POFWARN_EVENTS_POFWARN_NotGenerated (0x0UL) /*!< Event not generated */ 10860 #define POWER_EVENTS_POFWARN_EVENTS_POFWARN_Generated (0x1UL) /*!< Event generated */ 10861 10862 /* Register: POWER_EVENTS_SLEEPENTER */ 10863 /* Description: CPU entered WFI/WFE sleep */ 10864 10865 /* Bit 0 : CPU entered WFI/WFE sleep */ 10866 #define POWER_EVENTS_SLEEPENTER_EVENTS_SLEEPENTER_Pos (0UL) /*!< Position of EVENTS_SLEEPENTER field. */ 10867 #define POWER_EVENTS_SLEEPENTER_EVENTS_SLEEPENTER_Msk (0x1UL << POWER_EVENTS_SLEEPENTER_EVENTS_SLEEPENTER_Pos) /*!< Bit mask of EVENTS_SLEEPENTER field. */ 10868 #define POWER_EVENTS_SLEEPENTER_EVENTS_SLEEPENTER_NotGenerated (0x0UL) /*!< Event not generated */ 10869 #define POWER_EVENTS_SLEEPENTER_EVENTS_SLEEPENTER_Generated (0x1UL) /*!< Event generated */ 10870 10871 /* Register: POWER_EVENTS_SLEEPEXIT */ 10872 /* Description: CPU exited WFI/WFE sleep */ 10873 10874 /* Bit 0 : CPU exited WFI/WFE sleep */ 10875 #define POWER_EVENTS_SLEEPEXIT_EVENTS_SLEEPEXIT_Pos (0UL) /*!< Position of EVENTS_SLEEPEXIT field. */ 10876 #define POWER_EVENTS_SLEEPEXIT_EVENTS_SLEEPEXIT_Msk (0x1UL << POWER_EVENTS_SLEEPEXIT_EVENTS_SLEEPEXIT_Pos) /*!< Bit mask of EVENTS_SLEEPEXIT field. */ 10877 #define POWER_EVENTS_SLEEPEXIT_EVENTS_SLEEPEXIT_NotGenerated (0x0UL) /*!< Event not generated */ 10878 #define POWER_EVENTS_SLEEPEXIT_EVENTS_SLEEPEXIT_Generated (0x1UL) /*!< Event generated */ 10879 10880 /* Register: POWER_PUBLISH_POFWARN */ 10881 /* Description: Publish configuration for event POFWARN */ 10882 10883 /* Bit 31 : */ 10884 #define POWER_PUBLISH_POFWARN_EN_Pos (31UL) /*!< Position of EN field. */ 10885 #define POWER_PUBLISH_POFWARN_EN_Msk (0x1UL << POWER_PUBLISH_POFWARN_EN_Pos) /*!< Bit mask of EN field. */ 10886 #define POWER_PUBLISH_POFWARN_EN_Disabled (0x0UL) /*!< Disable publishing */ 10887 #define POWER_PUBLISH_POFWARN_EN_Enabled (0x1UL) /*!< Enable publishing */ 10888 10889 /* Bits 7..0 : DPPI channel that event POFWARN will publish to */ 10890 #define POWER_PUBLISH_POFWARN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10891 #define POWER_PUBLISH_POFWARN_CHIDX_Msk (0xFFUL << POWER_PUBLISH_POFWARN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10892 10893 /* Register: POWER_PUBLISH_SLEEPENTER */ 10894 /* Description: Publish configuration for event SLEEPENTER */ 10895 10896 /* Bit 31 : */ 10897 #define POWER_PUBLISH_SLEEPENTER_EN_Pos (31UL) /*!< Position of EN field. */ 10898 #define POWER_PUBLISH_SLEEPENTER_EN_Msk (0x1UL << POWER_PUBLISH_SLEEPENTER_EN_Pos) /*!< Bit mask of EN field. */ 10899 #define POWER_PUBLISH_SLEEPENTER_EN_Disabled (0x0UL) /*!< Disable publishing */ 10900 #define POWER_PUBLISH_SLEEPENTER_EN_Enabled (0x1UL) /*!< Enable publishing */ 10901 10902 /* Bits 7..0 : DPPI channel that event SLEEPENTER will publish to */ 10903 #define POWER_PUBLISH_SLEEPENTER_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10904 #define POWER_PUBLISH_SLEEPENTER_CHIDX_Msk (0xFFUL << POWER_PUBLISH_SLEEPENTER_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10905 10906 /* Register: POWER_PUBLISH_SLEEPEXIT */ 10907 /* Description: Publish configuration for event SLEEPEXIT */ 10908 10909 /* Bit 31 : */ 10910 #define POWER_PUBLISH_SLEEPEXIT_EN_Pos (31UL) /*!< Position of EN field. */ 10911 #define POWER_PUBLISH_SLEEPEXIT_EN_Msk (0x1UL << POWER_PUBLISH_SLEEPEXIT_EN_Pos) /*!< Bit mask of EN field. */ 10912 #define POWER_PUBLISH_SLEEPEXIT_EN_Disabled (0x0UL) /*!< Disable publishing */ 10913 #define POWER_PUBLISH_SLEEPEXIT_EN_Enabled (0x1UL) /*!< Enable publishing */ 10914 10915 /* Bits 7..0 : DPPI channel that event SLEEPEXIT will publish to */ 10916 #define POWER_PUBLISH_SLEEPEXIT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 10917 #define POWER_PUBLISH_SLEEPEXIT_CHIDX_Msk (0xFFUL << POWER_PUBLISH_SLEEPEXIT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 10918 10919 /* Register: POWER_INTEN */ 10920 /* Description: Enable or disable interrupt */ 10921 10922 /* Bit 6 : Enable or disable interrupt for event SLEEPEXIT */ 10923 #define POWER_INTEN_SLEEPEXIT_Pos (6UL) /*!< Position of SLEEPEXIT field. */ 10924 #define POWER_INTEN_SLEEPEXIT_Msk (0x1UL << POWER_INTEN_SLEEPEXIT_Pos) /*!< Bit mask of SLEEPEXIT field. */ 10925 #define POWER_INTEN_SLEEPEXIT_Disabled (0x0UL) /*!< Disable */ 10926 #define POWER_INTEN_SLEEPEXIT_Enabled (0x1UL) /*!< Enable */ 10927 10928 /* Bit 5 : Enable or disable interrupt for event SLEEPENTER */ 10929 #define POWER_INTEN_SLEEPENTER_Pos (5UL) /*!< Position of SLEEPENTER field. */ 10930 #define POWER_INTEN_SLEEPENTER_Msk (0x1UL << POWER_INTEN_SLEEPENTER_Pos) /*!< Bit mask of SLEEPENTER field. */ 10931 #define POWER_INTEN_SLEEPENTER_Disabled (0x0UL) /*!< Disable */ 10932 #define POWER_INTEN_SLEEPENTER_Enabled (0x1UL) /*!< Enable */ 10933 10934 /* Bit 2 : Enable or disable interrupt for event POFWARN */ 10935 #define POWER_INTEN_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */ 10936 #define POWER_INTEN_POFWARN_Msk (0x1UL << POWER_INTEN_POFWARN_Pos) /*!< Bit mask of POFWARN field. */ 10937 #define POWER_INTEN_POFWARN_Disabled (0x0UL) /*!< Disable */ 10938 #define POWER_INTEN_POFWARN_Enabled (0x1UL) /*!< Enable */ 10939 10940 /* Register: POWER_INTENSET */ 10941 /* Description: Enable interrupt */ 10942 10943 /* Bit 6 : Write '1' to enable interrupt for event SLEEPEXIT */ 10944 #define POWER_INTENSET_SLEEPEXIT_Pos (6UL) /*!< Position of SLEEPEXIT field. */ 10945 #define POWER_INTENSET_SLEEPEXIT_Msk (0x1UL << POWER_INTENSET_SLEEPEXIT_Pos) /*!< Bit mask of SLEEPEXIT field. */ 10946 #define POWER_INTENSET_SLEEPEXIT_Disabled (0x0UL) /*!< Read: Disabled */ 10947 #define POWER_INTENSET_SLEEPEXIT_Enabled (0x1UL) /*!< Read: Enabled */ 10948 #define POWER_INTENSET_SLEEPEXIT_Set (0x1UL) /*!< Enable */ 10949 10950 /* Bit 5 : Write '1' to enable interrupt for event SLEEPENTER */ 10951 #define POWER_INTENSET_SLEEPENTER_Pos (5UL) /*!< Position of SLEEPENTER field. */ 10952 #define POWER_INTENSET_SLEEPENTER_Msk (0x1UL << POWER_INTENSET_SLEEPENTER_Pos) /*!< Bit mask of SLEEPENTER field. */ 10953 #define POWER_INTENSET_SLEEPENTER_Disabled (0x0UL) /*!< Read: Disabled */ 10954 #define POWER_INTENSET_SLEEPENTER_Enabled (0x1UL) /*!< Read: Enabled */ 10955 #define POWER_INTENSET_SLEEPENTER_Set (0x1UL) /*!< Enable */ 10956 10957 /* Bit 2 : Write '1' to enable interrupt for event POFWARN */ 10958 #define POWER_INTENSET_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */ 10959 #define POWER_INTENSET_POFWARN_Msk (0x1UL << POWER_INTENSET_POFWARN_Pos) /*!< Bit mask of POFWARN field. */ 10960 #define POWER_INTENSET_POFWARN_Disabled (0x0UL) /*!< Read: Disabled */ 10961 #define POWER_INTENSET_POFWARN_Enabled (0x1UL) /*!< Read: Enabled */ 10962 #define POWER_INTENSET_POFWARN_Set (0x1UL) /*!< Enable */ 10963 10964 /* Register: POWER_INTENCLR */ 10965 /* Description: Disable interrupt */ 10966 10967 /* Bit 6 : Write '1' to disable interrupt for event SLEEPEXIT */ 10968 #define POWER_INTENCLR_SLEEPEXIT_Pos (6UL) /*!< Position of SLEEPEXIT field. */ 10969 #define POWER_INTENCLR_SLEEPEXIT_Msk (0x1UL << POWER_INTENCLR_SLEEPEXIT_Pos) /*!< Bit mask of SLEEPEXIT field. */ 10970 #define POWER_INTENCLR_SLEEPEXIT_Disabled (0x0UL) /*!< Read: Disabled */ 10971 #define POWER_INTENCLR_SLEEPEXIT_Enabled (0x1UL) /*!< Read: Enabled */ 10972 #define POWER_INTENCLR_SLEEPEXIT_Clear (0x1UL) /*!< Disable */ 10973 10974 /* Bit 5 : Write '1' to disable interrupt for event SLEEPENTER */ 10975 #define POWER_INTENCLR_SLEEPENTER_Pos (5UL) /*!< Position of SLEEPENTER field. */ 10976 #define POWER_INTENCLR_SLEEPENTER_Msk (0x1UL << POWER_INTENCLR_SLEEPENTER_Pos) /*!< Bit mask of SLEEPENTER field. */ 10977 #define POWER_INTENCLR_SLEEPENTER_Disabled (0x0UL) /*!< Read: Disabled */ 10978 #define POWER_INTENCLR_SLEEPENTER_Enabled (0x1UL) /*!< Read: Enabled */ 10979 #define POWER_INTENCLR_SLEEPENTER_Clear (0x1UL) /*!< Disable */ 10980 10981 /* Bit 2 : Write '1' to disable interrupt for event POFWARN */ 10982 #define POWER_INTENCLR_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */ 10983 #define POWER_INTENCLR_POFWARN_Msk (0x1UL << POWER_INTENCLR_POFWARN_Pos) /*!< Bit mask of POFWARN field. */ 10984 #define POWER_INTENCLR_POFWARN_Disabled (0x0UL) /*!< Read: Disabled */ 10985 #define POWER_INTENCLR_POFWARN_Enabled (0x1UL) /*!< Read: Enabled */ 10986 #define POWER_INTENCLR_POFWARN_Clear (0x1UL) /*!< Disable */ 10987 10988 /* Register: POWER_GPREGRET */ 10989 /* Description: Description collection: General purpose retention register */ 10990 10991 /* Bits 7..0 : General purpose retention register */ 10992 #define POWER_GPREGRET_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */ 10993 #define POWER_GPREGRET_GPREGRET_Msk (0xFFUL << POWER_GPREGRET_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */ 10994 10995 10996 /* Peripheral: PWM */ 10997 /* Description: Pulse width modulation unit 0 */ 10998 10999 /* Register: PWM_TASKS_STOP */ 11000 /* Description: Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback */ 11001 11002 /* Bit 0 : Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback */ 11003 #define PWM_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 11004 #define PWM_TASKS_STOP_TASKS_STOP_Msk (0x1UL << PWM_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 11005 #define PWM_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 11006 11007 /* Register: PWM_TASKS_SEQSTART */ 11008 /* Description: Description collection: Loads the first PWM value on all enabled channels from sequence n, and starts playing that sequence at the rate defined in SEQ[n]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not running. */ 11009 11010 /* Bit 0 : Loads the first PWM value on all enabled channels from sequence n, and starts playing that sequence at the rate defined in SEQ[n]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not running. */ 11011 #define PWM_TASKS_SEQSTART_TASKS_SEQSTART_Pos (0UL) /*!< Position of TASKS_SEQSTART field. */ 11012 #define PWM_TASKS_SEQSTART_TASKS_SEQSTART_Msk (0x1UL << PWM_TASKS_SEQSTART_TASKS_SEQSTART_Pos) /*!< Bit mask of TASKS_SEQSTART field. */ 11013 #define PWM_TASKS_SEQSTART_TASKS_SEQSTART_Trigger (0x1UL) /*!< Trigger task */ 11014 11015 /* Register: PWM_TASKS_NEXTSTEP */ 11016 /* Description: Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start if not running. */ 11017 11018 /* Bit 0 : Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start if not running. */ 11019 #define PWM_TASKS_NEXTSTEP_TASKS_NEXTSTEP_Pos (0UL) /*!< Position of TASKS_NEXTSTEP field. */ 11020 #define PWM_TASKS_NEXTSTEP_TASKS_NEXTSTEP_Msk (0x1UL << PWM_TASKS_NEXTSTEP_TASKS_NEXTSTEP_Pos) /*!< Bit mask of TASKS_NEXTSTEP field. */ 11021 #define PWM_TASKS_NEXTSTEP_TASKS_NEXTSTEP_Trigger (0x1UL) /*!< Trigger task */ 11022 11023 /* Register: PWM_SUBSCRIBE_STOP */ 11024 /* Description: Subscribe configuration for task STOP */ 11025 11026 /* Bit 31 : */ 11027 #define PWM_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 11028 #define PWM_SUBSCRIBE_STOP_EN_Msk (0x1UL << PWM_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 11029 #define PWM_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 11030 #define PWM_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 11031 11032 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 11033 #define PWM_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11034 #define PWM_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << PWM_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11035 11036 /* Register: PWM_SUBSCRIBE_SEQSTART */ 11037 /* Description: Description collection: Subscribe configuration for task SEQSTART[n] */ 11038 11039 /* Bit 31 : */ 11040 #define PWM_SUBSCRIBE_SEQSTART_EN_Pos (31UL) /*!< Position of EN field. */ 11041 #define PWM_SUBSCRIBE_SEQSTART_EN_Msk (0x1UL << PWM_SUBSCRIBE_SEQSTART_EN_Pos) /*!< Bit mask of EN field. */ 11042 #define PWM_SUBSCRIBE_SEQSTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 11043 #define PWM_SUBSCRIBE_SEQSTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 11044 11045 /* Bits 7..0 : DPPI channel that task SEQSTART[n] will subscribe to */ 11046 #define PWM_SUBSCRIBE_SEQSTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11047 #define PWM_SUBSCRIBE_SEQSTART_CHIDX_Msk (0xFFUL << PWM_SUBSCRIBE_SEQSTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11048 11049 /* Register: PWM_SUBSCRIBE_NEXTSTEP */ 11050 /* Description: Subscribe configuration for task NEXTSTEP */ 11051 11052 /* Bit 31 : */ 11053 #define PWM_SUBSCRIBE_NEXTSTEP_EN_Pos (31UL) /*!< Position of EN field. */ 11054 #define PWM_SUBSCRIBE_NEXTSTEP_EN_Msk (0x1UL << PWM_SUBSCRIBE_NEXTSTEP_EN_Pos) /*!< Bit mask of EN field. */ 11055 #define PWM_SUBSCRIBE_NEXTSTEP_EN_Disabled (0x0UL) /*!< Disable subscription */ 11056 #define PWM_SUBSCRIBE_NEXTSTEP_EN_Enabled (0x1UL) /*!< Enable subscription */ 11057 11058 /* Bits 7..0 : DPPI channel that task NEXTSTEP will subscribe to */ 11059 #define PWM_SUBSCRIBE_NEXTSTEP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11060 #define PWM_SUBSCRIBE_NEXTSTEP_CHIDX_Msk (0xFFUL << PWM_SUBSCRIBE_NEXTSTEP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11061 11062 /* Register: PWM_EVENTS_STOPPED */ 11063 /* Description: Response to STOP task, emitted when PWM pulses are no longer generated */ 11064 11065 /* Bit 0 : Response to STOP task, emitted when PWM pulses are no longer generated */ 11066 #define PWM_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 11067 #define PWM_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << PWM_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 11068 #define PWM_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 11069 #define PWM_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 11070 11071 /* Register: PWM_EVENTS_SEQSTARTED */ 11072 /* Description: Description collection: First PWM period started on sequence n */ 11073 11074 /* Bit 0 : First PWM period started on sequence n */ 11075 #define PWM_EVENTS_SEQSTARTED_EVENTS_SEQSTARTED_Pos (0UL) /*!< Position of EVENTS_SEQSTARTED field. */ 11076 #define PWM_EVENTS_SEQSTARTED_EVENTS_SEQSTARTED_Msk (0x1UL << PWM_EVENTS_SEQSTARTED_EVENTS_SEQSTARTED_Pos) /*!< Bit mask of EVENTS_SEQSTARTED field. */ 11077 #define PWM_EVENTS_SEQSTARTED_EVENTS_SEQSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 11078 #define PWM_EVENTS_SEQSTARTED_EVENTS_SEQSTARTED_Generated (0x1UL) /*!< Event generated */ 11079 11080 /* Register: PWM_EVENTS_SEQEND */ 11081 /* Description: Description collection: Emitted at end of every sequence n, when last value from RAM has been applied to wave counter */ 11082 11083 /* Bit 0 : Emitted at end of every sequence n, when last value from RAM has been applied to wave counter */ 11084 #define PWM_EVENTS_SEQEND_EVENTS_SEQEND_Pos (0UL) /*!< Position of EVENTS_SEQEND field. */ 11085 #define PWM_EVENTS_SEQEND_EVENTS_SEQEND_Msk (0x1UL << PWM_EVENTS_SEQEND_EVENTS_SEQEND_Pos) /*!< Bit mask of EVENTS_SEQEND field. */ 11086 #define PWM_EVENTS_SEQEND_EVENTS_SEQEND_NotGenerated (0x0UL) /*!< Event not generated */ 11087 #define PWM_EVENTS_SEQEND_EVENTS_SEQEND_Generated (0x1UL) /*!< Event generated */ 11088 11089 /* Register: PWM_EVENTS_PWMPERIODEND */ 11090 /* Description: Emitted at the end of each PWM period */ 11091 11092 /* Bit 0 : Emitted at the end of each PWM period */ 11093 #define PWM_EVENTS_PWMPERIODEND_EVENTS_PWMPERIODEND_Pos (0UL) /*!< Position of EVENTS_PWMPERIODEND field. */ 11094 #define PWM_EVENTS_PWMPERIODEND_EVENTS_PWMPERIODEND_Msk (0x1UL << PWM_EVENTS_PWMPERIODEND_EVENTS_PWMPERIODEND_Pos) /*!< Bit mask of EVENTS_PWMPERIODEND field. */ 11095 #define PWM_EVENTS_PWMPERIODEND_EVENTS_PWMPERIODEND_NotGenerated (0x0UL) /*!< Event not generated */ 11096 #define PWM_EVENTS_PWMPERIODEND_EVENTS_PWMPERIODEND_Generated (0x1UL) /*!< Event generated */ 11097 11098 /* Register: PWM_EVENTS_LOOPSDONE */ 11099 /* Description: Concatenated sequences have been played the amount of times defined in LOOP.CNT */ 11100 11101 /* Bit 0 : Concatenated sequences have been played the amount of times defined in LOOP.CNT */ 11102 #define PWM_EVENTS_LOOPSDONE_EVENTS_LOOPSDONE_Pos (0UL) /*!< Position of EVENTS_LOOPSDONE field. */ 11103 #define PWM_EVENTS_LOOPSDONE_EVENTS_LOOPSDONE_Msk (0x1UL << PWM_EVENTS_LOOPSDONE_EVENTS_LOOPSDONE_Pos) /*!< Bit mask of EVENTS_LOOPSDONE field. */ 11104 #define PWM_EVENTS_LOOPSDONE_EVENTS_LOOPSDONE_NotGenerated (0x0UL) /*!< Event not generated */ 11105 #define PWM_EVENTS_LOOPSDONE_EVENTS_LOOPSDONE_Generated (0x1UL) /*!< Event generated */ 11106 11107 /* Register: PWM_PUBLISH_STOPPED */ 11108 /* Description: Publish configuration for event STOPPED */ 11109 11110 /* Bit 31 : */ 11111 #define PWM_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 11112 #define PWM_PUBLISH_STOPPED_EN_Msk (0x1UL << PWM_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 11113 #define PWM_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 11114 #define PWM_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 11115 11116 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 11117 #define PWM_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11118 #define PWM_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << PWM_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11119 11120 /* Register: PWM_PUBLISH_SEQSTARTED */ 11121 /* Description: Description collection: Publish configuration for event SEQSTARTED[n] */ 11122 11123 /* Bit 31 : */ 11124 #define PWM_PUBLISH_SEQSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 11125 #define PWM_PUBLISH_SEQSTARTED_EN_Msk (0x1UL << PWM_PUBLISH_SEQSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 11126 #define PWM_PUBLISH_SEQSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 11127 #define PWM_PUBLISH_SEQSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 11128 11129 /* Bits 7..0 : DPPI channel that event SEQSTARTED[n] will publish to */ 11130 #define PWM_PUBLISH_SEQSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11131 #define PWM_PUBLISH_SEQSTARTED_CHIDX_Msk (0xFFUL << PWM_PUBLISH_SEQSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11132 11133 /* Register: PWM_PUBLISH_SEQEND */ 11134 /* Description: Description collection: Publish configuration for event SEQEND[n] */ 11135 11136 /* Bit 31 : */ 11137 #define PWM_PUBLISH_SEQEND_EN_Pos (31UL) /*!< Position of EN field. */ 11138 #define PWM_PUBLISH_SEQEND_EN_Msk (0x1UL << PWM_PUBLISH_SEQEND_EN_Pos) /*!< Bit mask of EN field. */ 11139 #define PWM_PUBLISH_SEQEND_EN_Disabled (0x0UL) /*!< Disable publishing */ 11140 #define PWM_PUBLISH_SEQEND_EN_Enabled (0x1UL) /*!< Enable publishing */ 11141 11142 /* Bits 7..0 : DPPI channel that event SEQEND[n] will publish to */ 11143 #define PWM_PUBLISH_SEQEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11144 #define PWM_PUBLISH_SEQEND_CHIDX_Msk (0xFFUL << PWM_PUBLISH_SEQEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11145 11146 /* Register: PWM_PUBLISH_PWMPERIODEND */ 11147 /* Description: Publish configuration for event PWMPERIODEND */ 11148 11149 /* Bit 31 : */ 11150 #define PWM_PUBLISH_PWMPERIODEND_EN_Pos (31UL) /*!< Position of EN field. */ 11151 #define PWM_PUBLISH_PWMPERIODEND_EN_Msk (0x1UL << PWM_PUBLISH_PWMPERIODEND_EN_Pos) /*!< Bit mask of EN field. */ 11152 #define PWM_PUBLISH_PWMPERIODEND_EN_Disabled (0x0UL) /*!< Disable publishing */ 11153 #define PWM_PUBLISH_PWMPERIODEND_EN_Enabled (0x1UL) /*!< Enable publishing */ 11154 11155 /* Bits 7..0 : DPPI channel that event PWMPERIODEND will publish to */ 11156 #define PWM_PUBLISH_PWMPERIODEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11157 #define PWM_PUBLISH_PWMPERIODEND_CHIDX_Msk (0xFFUL << PWM_PUBLISH_PWMPERIODEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11158 11159 /* Register: PWM_PUBLISH_LOOPSDONE */ 11160 /* Description: Publish configuration for event LOOPSDONE */ 11161 11162 /* Bit 31 : */ 11163 #define PWM_PUBLISH_LOOPSDONE_EN_Pos (31UL) /*!< Position of EN field. */ 11164 #define PWM_PUBLISH_LOOPSDONE_EN_Msk (0x1UL << PWM_PUBLISH_LOOPSDONE_EN_Pos) /*!< Bit mask of EN field. */ 11165 #define PWM_PUBLISH_LOOPSDONE_EN_Disabled (0x0UL) /*!< Disable publishing */ 11166 #define PWM_PUBLISH_LOOPSDONE_EN_Enabled (0x1UL) /*!< Enable publishing */ 11167 11168 /* Bits 7..0 : DPPI channel that event LOOPSDONE will publish to */ 11169 #define PWM_PUBLISH_LOOPSDONE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11170 #define PWM_PUBLISH_LOOPSDONE_CHIDX_Msk (0xFFUL << PWM_PUBLISH_LOOPSDONE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11171 11172 /* Register: PWM_SHORTS */ 11173 /* Description: Shortcuts between local events and tasks */ 11174 11175 /* Bit 4 : Shortcut between event LOOPSDONE and task STOP */ 11176 #define PWM_SHORTS_LOOPSDONE_STOP_Pos (4UL) /*!< Position of LOOPSDONE_STOP field. */ 11177 #define PWM_SHORTS_LOOPSDONE_STOP_Msk (0x1UL << PWM_SHORTS_LOOPSDONE_STOP_Pos) /*!< Bit mask of LOOPSDONE_STOP field. */ 11178 #define PWM_SHORTS_LOOPSDONE_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 11179 #define PWM_SHORTS_LOOPSDONE_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 11180 11181 /* Bit 3 : Shortcut between event LOOPSDONE and task SEQSTART[1] */ 11182 #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Pos (3UL) /*!< Position of LOOPSDONE_SEQSTART1 field. */ 11183 #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Msk (0x1UL << PWM_SHORTS_LOOPSDONE_SEQSTART1_Pos) /*!< Bit mask of LOOPSDONE_SEQSTART1 field. */ 11184 #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Disabled (0x0UL) /*!< Disable shortcut */ 11185 #define PWM_SHORTS_LOOPSDONE_SEQSTART1_Enabled (0x1UL) /*!< Enable shortcut */ 11186 11187 /* Bit 2 : Shortcut between event LOOPSDONE and task SEQSTART[0] */ 11188 #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Pos (2UL) /*!< Position of LOOPSDONE_SEQSTART0 field. */ 11189 #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Msk (0x1UL << PWM_SHORTS_LOOPSDONE_SEQSTART0_Pos) /*!< Bit mask of LOOPSDONE_SEQSTART0 field. */ 11190 #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Disabled (0x0UL) /*!< Disable shortcut */ 11191 #define PWM_SHORTS_LOOPSDONE_SEQSTART0_Enabled (0x1UL) /*!< Enable shortcut */ 11192 11193 /* Bit 1 : Shortcut between event SEQEND[1] and task STOP */ 11194 #define PWM_SHORTS_SEQEND1_STOP_Pos (1UL) /*!< Position of SEQEND1_STOP field. */ 11195 #define PWM_SHORTS_SEQEND1_STOP_Msk (0x1UL << PWM_SHORTS_SEQEND1_STOP_Pos) /*!< Bit mask of SEQEND1_STOP field. */ 11196 #define PWM_SHORTS_SEQEND1_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 11197 #define PWM_SHORTS_SEQEND1_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 11198 11199 /* Bit 0 : Shortcut between event SEQEND[0] and task STOP */ 11200 #define PWM_SHORTS_SEQEND0_STOP_Pos (0UL) /*!< Position of SEQEND0_STOP field. */ 11201 #define PWM_SHORTS_SEQEND0_STOP_Msk (0x1UL << PWM_SHORTS_SEQEND0_STOP_Pos) /*!< Bit mask of SEQEND0_STOP field. */ 11202 #define PWM_SHORTS_SEQEND0_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 11203 #define PWM_SHORTS_SEQEND0_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 11204 11205 /* Register: PWM_INTEN */ 11206 /* Description: Enable or disable interrupt */ 11207 11208 /* Bit 7 : Enable or disable interrupt for event LOOPSDONE */ 11209 #define PWM_INTEN_LOOPSDONE_Pos (7UL) /*!< Position of LOOPSDONE field. */ 11210 #define PWM_INTEN_LOOPSDONE_Msk (0x1UL << PWM_INTEN_LOOPSDONE_Pos) /*!< Bit mask of LOOPSDONE field. */ 11211 #define PWM_INTEN_LOOPSDONE_Disabled (0x0UL) /*!< Disable */ 11212 #define PWM_INTEN_LOOPSDONE_Enabled (0x1UL) /*!< Enable */ 11213 11214 /* Bit 6 : Enable or disable interrupt for event PWMPERIODEND */ 11215 #define PWM_INTEN_PWMPERIODEND_Pos (6UL) /*!< Position of PWMPERIODEND field. */ 11216 #define PWM_INTEN_PWMPERIODEND_Msk (0x1UL << PWM_INTEN_PWMPERIODEND_Pos) /*!< Bit mask of PWMPERIODEND field. */ 11217 #define PWM_INTEN_PWMPERIODEND_Disabled (0x0UL) /*!< Disable */ 11218 #define PWM_INTEN_PWMPERIODEND_Enabled (0x1UL) /*!< Enable */ 11219 11220 /* Bit 5 : Enable or disable interrupt for event SEQEND[1] */ 11221 #define PWM_INTEN_SEQEND1_Pos (5UL) /*!< Position of SEQEND1 field. */ 11222 #define PWM_INTEN_SEQEND1_Msk (0x1UL << PWM_INTEN_SEQEND1_Pos) /*!< Bit mask of SEQEND1 field. */ 11223 #define PWM_INTEN_SEQEND1_Disabled (0x0UL) /*!< Disable */ 11224 #define PWM_INTEN_SEQEND1_Enabled (0x1UL) /*!< Enable */ 11225 11226 /* Bit 4 : Enable or disable interrupt for event SEQEND[0] */ 11227 #define PWM_INTEN_SEQEND0_Pos (4UL) /*!< Position of SEQEND0 field. */ 11228 #define PWM_INTEN_SEQEND0_Msk (0x1UL << PWM_INTEN_SEQEND0_Pos) /*!< Bit mask of SEQEND0 field. */ 11229 #define PWM_INTEN_SEQEND0_Disabled (0x0UL) /*!< Disable */ 11230 #define PWM_INTEN_SEQEND0_Enabled (0x1UL) /*!< Enable */ 11231 11232 /* Bit 3 : Enable or disable interrupt for event SEQSTARTED[1] */ 11233 #define PWM_INTEN_SEQSTARTED1_Pos (3UL) /*!< Position of SEQSTARTED1 field. */ 11234 #define PWM_INTEN_SEQSTARTED1_Msk (0x1UL << PWM_INTEN_SEQSTARTED1_Pos) /*!< Bit mask of SEQSTARTED1 field. */ 11235 #define PWM_INTEN_SEQSTARTED1_Disabled (0x0UL) /*!< Disable */ 11236 #define PWM_INTEN_SEQSTARTED1_Enabled (0x1UL) /*!< Enable */ 11237 11238 /* Bit 2 : Enable or disable interrupt for event SEQSTARTED[0] */ 11239 #define PWM_INTEN_SEQSTARTED0_Pos (2UL) /*!< Position of SEQSTARTED0 field. */ 11240 #define PWM_INTEN_SEQSTARTED0_Msk (0x1UL << PWM_INTEN_SEQSTARTED0_Pos) /*!< Bit mask of SEQSTARTED0 field. */ 11241 #define PWM_INTEN_SEQSTARTED0_Disabled (0x0UL) /*!< Disable */ 11242 #define PWM_INTEN_SEQSTARTED0_Enabled (0x1UL) /*!< Enable */ 11243 11244 /* Bit 1 : Enable or disable interrupt for event STOPPED */ 11245 #define PWM_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 11246 #define PWM_INTEN_STOPPED_Msk (0x1UL << PWM_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 11247 #define PWM_INTEN_STOPPED_Disabled (0x0UL) /*!< Disable */ 11248 #define PWM_INTEN_STOPPED_Enabled (0x1UL) /*!< Enable */ 11249 11250 /* Register: PWM_INTENSET */ 11251 /* Description: Enable interrupt */ 11252 11253 /* Bit 7 : Write '1' to enable interrupt for event LOOPSDONE */ 11254 #define PWM_INTENSET_LOOPSDONE_Pos (7UL) /*!< Position of LOOPSDONE field. */ 11255 #define PWM_INTENSET_LOOPSDONE_Msk (0x1UL << PWM_INTENSET_LOOPSDONE_Pos) /*!< Bit mask of LOOPSDONE field. */ 11256 #define PWM_INTENSET_LOOPSDONE_Disabled (0x0UL) /*!< Read: Disabled */ 11257 #define PWM_INTENSET_LOOPSDONE_Enabled (0x1UL) /*!< Read: Enabled */ 11258 #define PWM_INTENSET_LOOPSDONE_Set (0x1UL) /*!< Enable */ 11259 11260 /* Bit 6 : Write '1' to enable interrupt for event PWMPERIODEND */ 11261 #define PWM_INTENSET_PWMPERIODEND_Pos (6UL) /*!< Position of PWMPERIODEND field. */ 11262 #define PWM_INTENSET_PWMPERIODEND_Msk (0x1UL << PWM_INTENSET_PWMPERIODEND_Pos) /*!< Bit mask of PWMPERIODEND field. */ 11263 #define PWM_INTENSET_PWMPERIODEND_Disabled (0x0UL) /*!< Read: Disabled */ 11264 #define PWM_INTENSET_PWMPERIODEND_Enabled (0x1UL) /*!< Read: Enabled */ 11265 #define PWM_INTENSET_PWMPERIODEND_Set (0x1UL) /*!< Enable */ 11266 11267 /* Bit 5 : Write '1' to enable interrupt for event SEQEND[1] */ 11268 #define PWM_INTENSET_SEQEND1_Pos (5UL) /*!< Position of SEQEND1 field. */ 11269 #define PWM_INTENSET_SEQEND1_Msk (0x1UL << PWM_INTENSET_SEQEND1_Pos) /*!< Bit mask of SEQEND1 field. */ 11270 #define PWM_INTENSET_SEQEND1_Disabled (0x0UL) /*!< Read: Disabled */ 11271 #define PWM_INTENSET_SEQEND1_Enabled (0x1UL) /*!< Read: Enabled */ 11272 #define PWM_INTENSET_SEQEND1_Set (0x1UL) /*!< Enable */ 11273 11274 /* Bit 4 : Write '1' to enable interrupt for event SEQEND[0] */ 11275 #define PWM_INTENSET_SEQEND0_Pos (4UL) /*!< Position of SEQEND0 field. */ 11276 #define PWM_INTENSET_SEQEND0_Msk (0x1UL << PWM_INTENSET_SEQEND0_Pos) /*!< Bit mask of SEQEND0 field. */ 11277 #define PWM_INTENSET_SEQEND0_Disabled (0x0UL) /*!< Read: Disabled */ 11278 #define PWM_INTENSET_SEQEND0_Enabled (0x1UL) /*!< Read: Enabled */ 11279 #define PWM_INTENSET_SEQEND0_Set (0x1UL) /*!< Enable */ 11280 11281 /* Bit 3 : Write '1' to enable interrupt for event SEQSTARTED[1] */ 11282 #define PWM_INTENSET_SEQSTARTED1_Pos (3UL) /*!< Position of SEQSTARTED1 field. */ 11283 #define PWM_INTENSET_SEQSTARTED1_Msk (0x1UL << PWM_INTENSET_SEQSTARTED1_Pos) /*!< Bit mask of SEQSTARTED1 field. */ 11284 #define PWM_INTENSET_SEQSTARTED1_Disabled (0x0UL) /*!< Read: Disabled */ 11285 #define PWM_INTENSET_SEQSTARTED1_Enabled (0x1UL) /*!< Read: Enabled */ 11286 #define PWM_INTENSET_SEQSTARTED1_Set (0x1UL) /*!< Enable */ 11287 11288 /* Bit 2 : Write '1' to enable interrupt for event SEQSTARTED[0] */ 11289 #define PWM_INTENSET_SEQSTARTED0_Pos (2UL) /*!< Position of SEQSTARTED0 field. */ 11290 #define PWM_INTENSET_SEQSTARTED0_Msk (0x1UL << PWM_INTENSET_SEQSTARTED0_Pos) /*!< Bit mask of SEQSTARTED0 field. */ 11291 #define PWM_INTENSET_SEQSTARTED0_Disabled (0x0UL) /*!< Read: Disabled */ 11292 #define PWM_INTENSET_SEQSTARTED0_Enabled (0x1UL) /*!< Read: Enabled */ 11293 #define PWM_INTENSET_SEQSTARTED0_Set (0x1UL) /*!< Enable */ 11294 11295 /* Bit 1 : Write '1' to enable interrupt for event STOPPED */ 11296 #define PWM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 11297 #define PWM_INTENSET_STOPPED_Msk (0x1UL << PWM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 11298 #define PWM_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 11299 #define PWM_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 11300 #define PWM_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 11301 11302 /* Register: PWM_INTENCLR */ 11303 /* Description: Disable interrupt */ 11304 11305 /* Bit 7 : Write '1' to disable interrupt for event LOOPSDONE */ 11306 #define PWM_INTENCLR_LOOPSDONE_Pos (7UL) /*!< Position of LOOPSDONE field. */ 11307 #define PWM_INTENCLR_LOOPSDONE_Msk (0x1UL << PWM_INTENCLR_LOOPSDONE_Pos) /*!< Bit mask of LOOPSDONE field. */ 11308 #define PWM_INTENCLR_LOOPSDONE_Disabled (0x0UL) /*!< Read: Disabled */ 11309 #define PWM_INTENCLR_LOOPSDONE_Enabled (0x1UL) /*!< Read: Enabled */ 11310 #define PWM_INTENCLR_LOOPSDONE_Clear (0x1UL) /*!< Disable */ 11311 11312 /* Bit 6 : Write '1' to disable interrupt for event PWMPERIODEND */ 11313 #define PWM_INTENCLR_PWMPERIODEND_Pos (6UL) /*!< Position of PWMPERIODEND field. */ 11314 #define PWM_INTENCLR_PWMPERIODEND_Msk (0x1UL << PWM_INTENCLR_PWMPERIODEND_Pos) /*!< Bit mask of PWMPERIODEND field. */ 11315 #define PWM_INTENCLR_PWMPERIODEND_Disabled (0x0UL) /*!< Read: Disabled */ 11316 #define PWM_INTENCLR_PWMPERIODEND_Enabled (0x1UL) /*!< Read: Enabled */ 11317 #define PWM_INTENCLR_PWMPERIODEND_Clear (0x1UL) /*!< Disable */ 11318 11319 /* Bit 5 : Write '1' to disable interrupt for event SEQEND[1] */ 11320 #define PWM_INTENCLR_SEQEND1_Pos (5UL) /*!< Position of SEQEND1 field. */ 11321 #define PWM_INTENCLR_SEQEND1_Msk (0x1UL << PWM_INTENCLR_SEQEND1_Pos) /*!< Bit mask of SEQEND1 field. */ 11322 #define PWM_INTENCLR_SEQEND1_Disabled (0x0UL) /*!< Read: Disabled */ 11323 #define PWM_INTENCLR_SEQEND1_Enabled (0x1UL) /*!< Read: Enabled */ 11324 #define PWM_INTENCLR_SEQEND1_Clear (0x1UL) /*!< Disable */ 11325 11326 /* Bit 4 : Write '1' to disable interrupt for event SEQEND[0] */ 11327 #define PWM_INTENCLR_SEQEND0_Pos (4UL) /*!< Position of SEQEND0 field. */ 11328 #define PWM_INTENCLR_SEQEND0_Msk (0x1UL << PWM_INTENCLR_SEQEND0_Pos) /*!< Bit mask of SEQEND0 field. */ 11329 #define PWM_INTENCLR_SEQEND0_Disabled (0x0UL) /*!< Read: Disabled */ 11330 #define PWM_INTENCLR_SEQEND0_Enabled (0x1UL) /*!< Read: Enabled */ 11331 #define PWM_INTENCLR_SEQEND0_Clear (0x1UL) /*!< Disable */ 11332 11333 /* Bit 3 : Write '1' to disable interrupt for event SEQSTARTED[1] */ 11334 #define PWM_INTENCLR_SEQSTARTED1_Pos (3UL) /*!< Position of SEQSTARTED1 field. */ 11335 #define PWM_INTENCLR_SEQSTARTED1_Msk (0x1UL << PWM_INTENCLR_SEQSTARTED1_Pos) /*!< Bit mask of SEQSTARTED1 field. */ 11336 #define PWM_INTENCLR_SEQSTARTED1_Disabled (0x0UL) /*!< Read: Disabled */ 11337 #define PWM_INTENCLR_SEQSTARTED1_Enabled (0x1UL) /*!< Read: Enabled */ 11338 #define PWM_INTENCLR_SEQSTARTED1_Clear (0x1UL) /*!< Disable */ 11339 11340 /* Bit 2 : Write '1' to disable interrupt for event SEQSTARTED[0] */ 11341 #define PWM_INTENCLR_SEQSTARTED0_Pos (2UL) /*!< Position of SEQSTARTED0 field. */ 11342 #define PWM_INTENCLR_SEQSTARTED0_Msk (0x1UL << PWM_INTENCLR_SEQSTARTED0_Pos) /*!< Bit mask of SEQSTARTED0 field. */ 11343 #define PWM_INTENCLR_SEQSTARTED0_Disabled (0x0UL) /*!< Read: Disabled */ 11344 #define PWM_INTENCLR_SEQSTARTED0_Enabled (0x1UL) /*!< Read: Enabled */ 11345 #define PWM_INTENCLR_SEQSTARTED0_Clear (0x1UL) /*!< Disable */ 11346 11347 /* Bit 1 : Write '1' to disable interrupt for event STOPPED */ 11348 #define PWM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 11349 #define PWM_INTENCLR_STOPPED_Msk (0x1UL << PWM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 11350 #define PWM_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 11351 #define PWM_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 11352 #define PWM_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 11353 11354 /* Register: PWM_ENABLE */ 11355 /* Description: PWM module enable register */ 11356 11357 /* Bit 0 : Enable or disable PWM module */ 11358 #define PWM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 11359 #define PWM_ENABLE_ENABLE_Msk (0x1UL << PWM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 11360 #define PWM_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disabled */ 11361 #define PWM_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable */ 11362 11363 /* Register: PWM_MODE */ 11364 /* Description: Selects operating mode of the wave counter */ 11365 11366 /* Bit 0 : Selects up mode or up-and-down mode for the counter */ 11367 #define PWM_MODE_UPDOWN_Pos (0UL) /*!< Position of UPDOWN field. */ 11368 #define PWM_MODE_UPDOWN_Msk (0x1UL << PWM_MODE_UPDOWN_Pos) /*!< Bit mask of UPDOWN field. */ 11369 #define PWM_MODE_UPDOWN_Up (0x0UL) /*!< Up counter, edge-aligned PWM duty cycle */ 11370 #define PWM_MODE_UPDOWN_UpAndDown (0x1UL) /*!< Up and down counter, center-aligned PWM duty cycle */ 11371 11372 /* Register: PWM_COUNTERTOP */ 11373 /* Description: Value up to which the pulse generator counter counts */ 11374 11375 /* Bits 14..0 : Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM are used. */ 11376 #define PWM_COUNTERTOP_COUNTERTOP_Pos (0UL) /*!< Position of COUNTERTOP field. */ 11377 #define PWM_COUNTERTOP_COUNTERTOP_Msk (0x7FFFUL << PWM_COUNTERTOP_COUNTERTOP_Pos) /*!< Bit mask of COUNTERTOP field. */ 11378 11379 /* Register: PWM_PRESCALER */ 11380 /* Description: Configuration for PWM_CLK */ 11381 11382 /* Bits 2..0 : Prescaler of PWM_CLK */ 11383 #define PWM_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */ 11384 #define PWM_PRESCALER_PRESCALER_Msk (0x7UL << PWM_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */ 11385 #define PWM_PRESCALER_PRESCALER_DIV_1 (0x0UL) /*!< Divide by 1 (16 MHz) */ 11386 #define PWM_PRESCALER_PRESCALER_DIV_2 (0x1UL) /*!< Divide by 2 (8 MHz) */ 11387 #define PWM_PRESCALER_PRESCALER_DIV_4 (0x2UL) /*!< Divide by 4 (4 MHz) */ 11388 #define PWM_PRESCALER_PRESCALER_DIV_8 (0x3UL) /*!< Divide by 8 (2 MHz) */ 11389 #define PWM_PRESCALER_PRESCALER_DIV_16 (0x4UL) /*!< Divide by 16 (1 MHz) */ 11390 #define PWM_PRESCALER_PRESCALER_DIV_32 (0x5UL) /*!< Divide by 32 (500 kHz) */ 11391 #define PWM_PRESCALER_PRESCALER_DIV_64 (0x6UL) /*!< Divide by 64 (250 kHz) */ 11392 #define PWM_PRESCALER_PRESCALER_DIV_128 (0x7UL) /*!< Divide by 128 (125 kHz) */ 11393 11394 /* Register: PWM_DECODER */ 11395 /* Description: Configuration of the decoder */ 11396 11397 /* Bit 8 : Selects source for advancing the active sequence */ 11398 #define PWM_DECODER_MODE_Pos (8UL) /*!< Position of MODE field. */ 11399 #define PWM_DECODER_MODE_Msk (0x1UL << PWM_DECODER_MODE_Pos) /*!< Bit mask of MODE field. */ 11400 #define PWM_DECODER_MODE_RefreshCount (0x0UL) /*!< SEQ[n].REFRESH is used to determine loading internal compare registers */ 11401 #define PWM_DECODER_MODE_NextStep (0x1UL) /*!< NEXTSTEP task causes a new value to be loaded to internal compare registers */ 11402 11403 /* Bits 1..0 : How a sequence is read from RAM and spread to the compare register */ 11404 #define PWM_DECODER_LOAD_Pos (0UL) /*!< Position of LOAD field. */ 11405 #define PWM_DECODER_LOAD_Msk (0x3UL << PWM_DECODER_LOAD_Pos) /*!< Bit mask of LOAD field. */ 11406 #define PWM_DECODER_LOAD_Common (0x0UL) /*!< 1st half word (16-bit) used in all PWM channels 0..3 */ 11407 #define PWM_DECODER_LOAD_Grouped (0x1UL) /*!< 1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3 */ 11408 #define PWM_DECODER_LOAD_Individual (0x2UL) /*!< 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3 */ 11409 #define PWM_DECODER_LOAD_WaveForm (0x3UL) /*!< 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP */ 11410 11411 /* Register: PWM_LOOP */ 11412 /* Description: Number of playbacks of a loop */ 11413 11414 /* Bits 15..0 : Number of playbacks of pattern cycles */ 11415 #define PWM_LOOP_CNT_Pos (0UL) /*!< Position of CNT field. */ 11416 #define PWM_LOOP_CNT_Msk (0xFFFFUL << PWM_LOOP_CNT_Pos) /*!< Bit mask of CNT field. */ 11417 #define PWM_LOOP_CNT_Disabled (0x0000UL) /*!< Looping disabled (stop at the end of the sequence) */ 11418 11419 /* Register: PWM_SEQ_PTR */ 11420 /* Description: Description cluster: Beginning address in RAM of this sequence */ 11421 11422 /* Bits 31..0 : Beginning address in RAM of this sequence */ 11423 #define PWM_SEQ_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 11424 #define PWM_SEQ_PTR_PTR_Msk (0xFFFFFFFFUL << PWM_SEQ_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 11425 11426 /* Register: PWM_SEQ_CNT */ 11427 /* Description: Description cluster: Number of values (duty cycles) in this sequence */ 11428 11429 /* Bits 14..0 : Number of values (duty cycles) in this sequence */ 11430 #define PWM_SEQ_CNT_CNT_Pos (0UL) /*!< Position of CNT field. */ 11431 #define PWM_SEQ_CNT_CNT_Msk (0x7FFFUL << PWM_SEQ_CNT_CNT_Pos) /*!< Bit mask of CNT field. */ 11432 #define PWM_SEQ_CNT_CNT_Disabled (0x0000UL) /*!< Sequence is disabled, and shall not be started as it is empty */ 11433 11434 /* Register: PWM_SEQ_REFRESH */ 11435 /* Description: Description cluster: Number of additional PWM periods between samples loaded into compare register */ 11436 11437 /* Bits 23..0 : Number of additional PWM periods between samples loaded into compare register (load every REFRESH.CNT+1 PWM periods) */ 11438 #define PWM_SEQ_REFRESH_CNT_Pos (0UL) /*!< Position of CNT field. */ 11439 #define PWM_SEQ_REFRESH_CNT_Msk (0xFFFFFFUL << PWM_SEQ_REFRESH_CNT_Pos) /*!< Bit mask of CNT field. */ 11440 #define PWM_SEQ_REFRESH_CNT_Continuous (0x000000UL) /*!< Update every PWM period */ 11441 11442 /* Register: PWM_SEQ_ENDDELAY */ 11443 /* Description: Description cluster: Time added after the sequence */ 11444 11445 /* Bits 23..0 : Time added after the sequence in PWM periods */ 11446 #define PWM_SEQ_ENDDELAY_CNT_Pos (0UL) /*!< Position of CNT field. */ 11447 #define PWM_SEQ_ENDDELAY_CNT_Msk (0xFFFFFFUL << PWM_SEQ_ENDDELAY_CNT_Pos) /*!< Bit mask of CNT field. */ 11448 11449 /* Register: PWM_PSEL_OUT */ 11450 /* Description: Description collection: Output pin select for PWM channel n */ 11451 11452 /* Bit 31 : Connection */ 11453 #define PWM_PSEL_OUT_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 11454 #define PWM_PSEL_OUT_CONNECT_Msk (0x1UL << PWM_PSEL_OUT_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 11455 #define PWM_PSEL_OUT_CONNECT_Connected (0x0UL) /*!< Connect */ 11456 #define PWM_PSEL_OUT_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 11457 11458 /* Bit 5 : Port number */ 11459 #define PWM_PSEL_OUT_PORT_Pos (5UL) /*!< Position of PORT field. */ 11460 #define PWM_PSEL_OUT_PORT_Msk (0x1UL << PWM_PSEL_OUT_PORT_Pos) /*!< Bit mask of PORT field. */ 11461 11462 /* Bits 4..0 : Pin number */ 11463 #define PWM_PSEL_OUT_PIN_Pos (0UL) /*!< Position of PIN field. */ 11464 #define PWM_PSEL_OUT_PIN_Msk (0x1FUL << PWM_PSEL_OUT_PIN_Pos) /*!< Bit mask of PIN field. */ 11465 11466 11467 /* Peripheral: QDEC */ 11468 /* Description: Quadrature Decoder 0 */ 11469 11470 /* Register: QDEC_TASKS_START */ 11471 /* Description: Task starting the quadrature decoder */ 11472 11473 /* Bit 0 : Task starting the quadrature decoder */ 11474 #define QDEC_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 11475 #define QDEC_TASKS_START_TASKS_START_Msk (0x1UL << QDEC_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 11476 #define QDEC_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 11477 11478 /* Register: QDEC_TASKS_STOP */ 11479 /* Description: Task stopping the quadrature decoder */ 11480 11481 /* Bit 0 : Task stopping the quadrature decoder */ 11482 #define QDEC_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 11483 #define QDEC_TASKS_STOP_TASKS_STOP_Msk (0x1UL << QDEC_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 11484 #define QDEC_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 11485 11486 /* Register: QDEC_TASKS_READCLRACC */ 11487 /* Description: Read and clear ACC and ACCDBL */ 11488 11489 /* Bit 0 : Read and clear ACC and ACCDBL */ 11490 #define QDEC_TASKS_READCLRACC_TASKS_READCLRACC_Pos (0UL) /*!< Position of TASKS_READCLRACC field. */ 11491 #define QDEC_TASKS_READCLRACC_TASKS_READCLRACC_Msk (0x1UL << QDEC_TASKS_READCLRACC_TASKS_READCLRACC_Pos) /*!< Bit mask of TASKS_READCLRACC field. */ 11492 #define QDEC_TASKS_READCLRACC_TASKS_READCLRACC_Trigger (0x1UL) /*!< Trigger task */ 11493 11494 /* Register: QDEC_TASKS_RDCLRACC */ 11495 /* Description: Read and clear ACC */ 11496 11497 /* Bit 0 : Read and clear ACC */ 11498 #define QDEC_TASKS_RDCLRACC_TASKS_RDCLRACC_Pos (0UL) /*!< Position of TASKS_RDCLRACC field. */ 11499 #define QDEC_TASKS_RDCLRACC_TASKS_RDCLRACC_Msk (0x1UL << QDEC_TASKS_RDCLRACC_TASKS_RDCLRACC_Pos) /*!< Bit mask of TASKS_RDCLRACC field. */ 11500 #define QDEC_TASKS_RDCLRACC_TASKS_RDCLRACC_Trigger (0x1UL) /*!< Trigger task */ 11501 11502 /* Register: QDEC_TASKS_RDCLRDBL */ 11503 /* Description: Read and clear ACCDBL */ 11504 11505 /* Bit 0 : Read and clear ACCDBL */ 11506 #define QDEC_TASKS_RDCLRDBL_TASKS_RDCLRDBL_Pos (0UL) /*!< Position of TASKS_RDCLRDBL field. */ 11507 #define QDEC_TASKS_RDCLRDBL_TASKS_RDCLRDBL_Msk (0x1UL << QDEC_TASKS_RDCLRDBL_TASKS_RDCLRDBL_Pos) /*!< Bit mask of TASKS_RDCLRDBL field. */ 11508 #define QDEC_TASKS_RDCLRDBL_TASKS_RDCLRDBL_Trigger (0x1UL) /*!< Trigger task */ 11509 11510 /* Register: QDEC_SUBSCRIBE_START */ 11511 /* Description: Subscribe configuration for task START */ 11512 11513 /* Bit 31 : */ 11514 #define QDEC_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 11515 #define QDEC_SUBSCRIBE_START_EN_Msk (0x1UL << QDEC_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 11516 #define QDEC_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 11517 #define QDEC_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 11518 11519 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 11520 #define QDEC_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11521 #define QDEC_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << QDEC_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11522 11523 /* Register: QDEC_SUBSCRIBE_STOP */ 11524 /* Description: Subscribe configuration for task STOP */ 11525 11526 /* Bit 31 : */ 11527 #define QDEC_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 11528 #define QDEC_SUBSCRIBE_STOP_EN_Msk (0x1UL << QDEC_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 11529 #define QDEC_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 11530 #define QDEC_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 11531 11532 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 11533 #define QDEC_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11534 #define QDEC_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << QDEC_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11535 11536 /* Register: QDEC_SUBSCRIBE_READCLRACC */ 11537 /* Description: Subscribe configuration for task READCLRACC */ 11538 11539 /* Bit 31 : */ 11540 #define QDEC_SUBSCRIBE_READCLRACC_EN_Pos (31UL) /*!< Position of EN field. */ 11541 #define QDEC_SUBSCRIBE_READCLRACC_EN_Msk (0x1UL << QDEC_SUBSCRIBE_READCLRACC_EN_Pos) /*!< Bit mask of EN field. */ 11542 #define QDEC_SUBSCRIBE_READCLRACC_EN_Disabled (0x0UL) /*!< Disable subscription */ 11543 #define QDEC_SUBSCRIBE_READCLRACC_EN_Enabled (0x1UL) /*!< Enable subscription */ 11544 11545 /* Bits 7..0 : DPPI channel that task READCLRACC will subscribe to */ 11546 #define QDEC_SUBSCRIBE_READCLRACC_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11547 #define QDEC_SUBSCRIBE_READCLRACC_CHIDX_Msk (0xFFUL << QDEC_SUBSCRIBE_READCLRACC_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11548 11549 /* Register: QDEC_SUBSCRIBE_RDCLRACC */ 11550 /* Description: Subscribe configuration for task RDCLRACC */ 11551 11552 /* Bit 31 : */ 11553 #define QDEC_SUBSCRIBE_RDCLRACC_EN_Pos (31UL) /*!< Position of EN field. */ 11554 #define QDEC_SUBSCRIBE_RDCLRACC_EN_Msk (0x1UL << QDEC_SUBSCRIBE_RDCLRACC_EN_Pos) /*!< Bit mask of EN field. */ 11555 #define QDEC_SUBSCRIBE_RDCLRACC_EN_Disabled (0x0UL) /*!< Disable subscription */ 11556 #define QDEC_SUBSCRIBE_RDCLRACC_EN_Enabled (0x1UL) /*!< Enable subscription */ 11557 11558 /* Bits 7..0 : DPPI channel that task RDCLRACC will subscribe to */ 11559 #define QDEC_SUBSCRIBE_RDCLRACC_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11560 #define QDEC_SUBSCRIBE_RDCLRACC_CHIDX_Msk (0xFFUL << QDEC_SUBSCRIBE_RDCLRACC_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11561 11562 /* Register: QDEC_SUBSCRIBE_RDCLRDBL */ 11563 /* Description: Subscribe configuration for task RDCLRDBL */ 11564 11565 /* Bit 31 : */ 11566 #define QDEC_SUBSCRIBE_RDCLRDBL_EN_Pos (31UL) /*!< Position of EN field. */ 11567 #define QDEC_SUBSCRIBE_RDCLRDBL_EN_Msk (0x1UL << QDEC_SUBSCRIBE_RDCLRDBL_EN_Pos) /*!< Bit mask of EN field. */ 11568 #define QDEC_SUBSCRIBE_RDCLRDBL_EN_Disabled (0x0UL) /*!< Disable subscription */ 11569 #define QDEC_SUBSCRIBE_RDCLRDBL_EN_Enabled (0x1UL) /*!< Enable subscription */ 11570 11571 /* Bits 7..0 : DPPI channel that task RDCLRDBL will subscribe to */ 11572 #define QDEC_SUBSCRIBE_RDCLRDBL_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11573 #define QDEC_SUBSCRIBE_RDCLRDBL_CHIDX_Msk (0xFFUL << QDEC_SUBSCRIBE_RDCLRDBL_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11574 11575 /* Register: QDEC_EVENTS_SAMPLERDY */ 11576 /* Description: Event being generated for every new sample value written to the SAMPLE register */ 11577 11578 /* Bit 0 : Event being generated for every new sample value written to the SAMPLE register */ 11579 #define QDEC_EVENTS_SAMPLERDY_EVENTS_SAMPLERDY_Pos (0UL) /*!< Position of EVENTS_SAMPLERDY field. */ 11580 #define QDEC_EVENTS_SAMPLERDY_EVENTS_SAMPLERDY_Msk (0x1UL << QDEC_EVENTS_SAMPLERDY_EVENTS_SAMPLERDY_Pos) /*!< Bit mask of EVENTS_SAMPLERDY field. */ 11581 #define QDEC_EVENTS_SAMPLERDY_EVENTS_SAMPLERDY_NotGenerated (0x0UL) /*!< Event not generated */ 11582 #define QDEC_EVENTS_SAMPLERDY_EVENTS_SAMPLERDY_Generated (0x1UL) /*!< Event generated */ 11583 11584 /* Register: QDEC_EVENTS_REPORTRDY */ 11585 /* Description: Non-null report ready */ 11586 11587 /* Bit 0 : Non-null report ready */ 11588 #define QDEC_EVENTS_REPORTRDY_EVENTS_REPORTRDY_Pos (0UL) /*!< Position of EVENTS_REPORTRDY field. */ 11589 #define QDEC_EVENTS_REPORTRDY_EVENTS_REPORTRDY_Msk (0x1UL << QDEC_EVENTS_REPORTRDY_EVENTS_REPORTRDY_Pos) /*!< Bit mask of EVENTS_REPORTRDY field. */ 11590 #define QDEC_EVENTS_REPORTRDY_EVENTS_REPORTRDY_NotGenerated (0x0UL) /*!< Event not generated */ 11591 #define QDEC_EVENTS_REPORTRDY_EVENTS_REPORTRDY_Generated (0x1UL) /*!< Event generated */ 11592 11593 /* Register: QDEC_EVENTS_ACCOF */ 11594 /* Description: ACC or ACCDBL register overflow */ 11595 11596 /* Bit 0 : ACC or ACCDBL register overflow */ 11597 #define QDEC_EVENTS_ACCOF_EVENTS_ACCOF_Pos (0UL) /*!< Position of EVENTS_ACCOF field. */ 11598 #define QDEC_EVENTS_ACCOF_EVENTS_ACCOF_Msk (0x1UL << QDEC_EVENTS_ACCOF_EVENTS_ACCOF_Pos) /*!< Bit mask of EVENTS_ACCOF field. */ 11599 #define QDEC_EVENTS_ACCOF_EVENTS_ACCOF_NotGenerated (0x0UL) /*!< Event not generated */ 11600 #define QDEC_EVENTS_ACCOF_EVENTS_ACCOF_Generated (0x1UL) /*!< Event generated */ 11601 11602 /* Register: QDEC_EVENTS_DBLRDY */ 11603 /* Description: Double displacement(s) detected */ 11604 11605 /* Bit 0 : Double displacement(s) detected */ 11606 #define QDEC_EVENTS_DBLRDY_EVENTS_DBLRDY_Pos (0UL) /*!< Position of EVENTS_DBLRDY field. */ 11607 #define QDEC_EVENTS_DBLRDY_EVENTS_DBLRDY_Msk (0x1UL << QDEC_EVENTS_DBLRDY_EVENTS_DBLRDY_Pos) /*!< Bit mask of EVENTS_DBLRDY field. */ 11608 #define QDEC_EVENTS_DBLRDY_EVENTS_DBLRDY_NotGenerated (0x0UL) /*!< Event not generated */ 11609 #define QDEC_EVENTS_DBLRDY_EVENTS_DBLRDY_Generated (0x1UL) /*!< Event generated */ 11610 11611 /* Register: QDEC_EVENTS_STOPPED */ 11612 /* Description: QDEC has been stopped */ 11613 11614 /* Bit 0 : QDEC has been stopped */ 11615 #define QDEC_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 11616 #define QDEC_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << QDEC_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 11617 #define QDEC_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 11618 #define QDEC_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 11619 11620 /* Register: QDEC_PUBLISH_SAMPLERDY */ 11621 /* Description: Publish configuration for event SAMPLERDY */ 11622 11623 /* Bit 31 : */ 11624 #define QDEC_PUBLISH_SAMPLERDY_EN_Pos (31UL) /*!< Position of EN field. */ 11625 #define QDEC_PUBLISH_SAMPLERDY_EN_Msk (0x1UL << QDEC_PUBLISH_SAMPLERDY_EN_Pos) /*!< Bit mask of EN field. */ 11626 #define QDEC_PUBLISH_SAMPLERDY_EN_Disabled (0x0UL) /*!< Disable publishing */ 11627 #define QDEC_PUBLISH_SAMPLERDY_EN_Enabled (0x1UL) /*!< Enable publishing */ 11628 11629 /* Bits 7..0 : DPPI channel that event SAMPLERDY will publish to */ 11630 #define QDEC_PUBLISH_SAMPLERDY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11631 #define QDEC_PUBLISH_SAMPLERDY_CHIDX_Msk (0xFFUL << QDEC_PUBLISH_SAMPLERDY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11632 11633 /* Register: QDEC_PUBLISH_REPORTRDY */ 11634 /* Description: Publish configuration for event REPORTRDY */ 11635 11636 /* Bit 31 : */ 11637 #define QDEC_PUBLISH_REPORTRDY_EN_Pos (31UL) /*!< Position of EN field. */ 11638 #define QDEC_PUBLISH_REPORTRDY_EN_Msk (0x1UL << QDEC_PUBLISH_REPORTRDY_EN_Pos) /*!< Bit mask of EN field. */ 11639 #define QDEC_PUBLISH_REPORTRDY_EN_Disabled (0x0UL) /*!< Disable publishing */ 11640 #define QDEC_PUBLISH_REPORTRDY_EN_Enabled (0x1UL) /*!< Enable publishing */ 11641 11642 /* Bits 7..0 : DPPI channel that event REPORTRDY will publish to */ 11643 #define QDEC_PUBLISH_REPORTRDY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11644 #define QDEC_PUBLISH_REPORTRDY_CHIDX_Msk (0xFFUL << QDEC_PUBLISH_REPORTRDY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11645 11646 /* Register: QDEC_PUBLISH_ACCOF */ 11647 /* Description: Publish configuration for event ACCOF */ 11648 11649 /* Bit 31 : */ 11650 #define QDEC_PUBLISH_ACCOF_EN_Pos (31UL) /*!< Position of EN field. */ 11651 #define QDEC_PUBLISH_ACCOF_EN_Msk (0x1UL << QDEC_PUBLISH_ACCOF_EN_Pos) /*!< Bit mask of EN field. */ 11652 #define QDEC_PUBLISH_ACCOF_EN_Disabled (0x0UL) /*!< Disable publishing */ 11653 #define QDEC_PUBLISH_ACCOF_EN_Enabled (0x1UL) /*!< Enable publishing */ 11654 11655 /* Bits 7..0 : DPPI channel that event ACCOF will publish to */ 11656 #define QDEC_PUBLISH_ACCOF_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11657 #define QDEC_PUBLISH_ACCOF_CHIDX_Msk (0xFFUL << QDEC_PUBLISH_ACCOF_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11658 11659 /* Register: QDEC_PUBLISH_DBLRDY */ 11660 /* Description: Publish configuration for event DBLRDY */ 11661 11662 /* Bit 31 : */ 11663 #define QDEC_PUBLISH_DBLRDY_EN_Pos (31UL) /*!< Position of EN field. */ 11664 #define QDEC_PUBLISH_DBLRDY_EN_Msk (0x1UL << QDEC_PUBLISH_DBLRDY_EN_Pos) /*!< Bit mask of EN field. */ 11665 #define QDEC_PUBLISH_DBLRDY_EN_Disabled (0x0UL) /*!< Disable publishing */ 11666 #define QDEC_PUBLISH_DBLRDY_EN_Enabled (0x1UL) /*!< Enable publishing */ 11667 11668 /* Bits 7..0 : DPPI channel that event DBLRDY will publish to */ 11669 #define QDEC_PUBLISH_DBLRDY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11670 #define QDEC_PUBLISH_DBLRDY_CHIDX_Msk (0xFFUL << QDEC_PUBLISH_DBLRDY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11671 11672 /* Register: QDEC_PUBLISH_STOPPED */ 11673 /* Description: Publish configuration for event STOPPED */ 11674 11675 /* Bit 31 : */ 11676 #define QDEC_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 11677 #define QDEC_PUBLISH_STOPPED_EN_Msk (0x1UL << QDEC_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 11678 #define QDEC_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 11679 #define QDEC_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 11680 11681 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 11682 #define QDEC_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 11683 #define QDEC_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << QDEC_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 11684 11685 /* Register: QDEC_SHORTS */ 11686 /* Description: Shortcuts between local events and tasks */ 11687 11688 /* Bit 6 : Shortcut between event SAMPLERDY and task READCLRACC */ 11689 #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Pos (6UL) /*!< Position of SAMPLERDY_READCLRACC field. */ 11690 #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_READCLRACC_Pos) /*!< Bit mask of SAMPLERDY_READCLRACC field. */ 11691 #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Disabled (0x0UL) /*!< Disable shortcut */ 11692 #define QDEC_SHORTS_SAMPLERDY_READCLRACC_Enabled (0x1UL) /*!< Enable shortcut */ 11693 11694 /* Bit 5 : Shortcut between event DBLRDY and task STOP */ 11695 #define QDEC_SHORTS_DBLRDY_STOP_Pos (5UL) /*!< Position of DBLRDY_STOP field. */ 11696 #define QDEC_SHORTS_DBLRDY_STOP_Msk (0x1UL << QDEC_SHORTS_DBLRDY_STOP_Pos) /*!< Bit mask of DBLRDY_STOP field. */ 11697 #define QDEC_SHORTS_DBLRDY_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 11698 #define QDEC_SHORTS_DBLRDY_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 11699 11700 /* Bit 4 : Shortcut between event DBLRDY and task RDCLRDBL */ 11701 #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Pos (4UL) /*!< Position of DBLRDY_RDCLRDBL field. */ 11702 #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Msk (0x1UL << QDEC_SHORTS_DBLRDY_RDCLRDBL_Pos) /*!< Bit mask of DBLRDY_RDCLRDBL field. */ 11703 #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Disabled (0x0UL) /*!< Disable shortcut */ 11704 #define QDEC_SHORTS_DBLRDY_RDCLRDBL_Enabled (0x1UL) /*!< Enable shortcut */ 11705 11706 /* Bit 3 : Shortcut between event REPORTRDY and task STOP */ 11707 #define QDEC_SHORTS_REPORTRDY_STOP_Pos (3UL) /*!< Position of REPORTRDY_STOP field. */ 11708 #define QDEC_SHORTS_REPORTRDY_STOP_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_STOP_Pos) /*!< Bit mask of REPORTRDY_STOP field. */ 11709 #define QDEC_SHORTS_REPORTRDY_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 11710 #define QDEC_SHORTS_REPORTRDY_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 11711 11712 /* Bit 2 : Shortcut between event REPORTRDY and task RDCLRACC */ 11713 #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Pos (2UL) /*!< Position of REPORTRDY_RDCLRACC field. */ 11714 #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_RDCLRACC_Pos) /*!< Bit mask of REPORTRDY_RDCLRACC field. */ 11715 #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Disabled (0x0UL) /*!< Disable shortcut */ 11716 #define QDEC_SHORTS_REPORTRDY_RDCLRACC_Enabled (0x1UL) /*!< Enable shortcut */ 11717 11718 /* Bit 1 : Shortcut between event SAMPLERDY and task STOP */ 11719 #define QDEC_SHORTS_SAMPLERDY_STOP_Pos (1UL) /*!< Position of SAMPLERDY_STOP field. */ 11720 #define QDEC_SHORTS_SAMPLERDY_STOP_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_STOP_Pos) /*!< Bit mask of SAMPLERDY_STOP field. */ 11721 #define QDEC_SHORTS_SAMPLERDY_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 11722 #define QDEC_SHORTS_SAMPLERDY_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 11723 11724 /* Bit 0 : Shortcut between event REPORTRDY and task READCLRACC */ 11725 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Pos (0UL) /*!< Position of REPORTRDY_READCLRACC field. */ 11726 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_READCLRACC_Pos) /*!< Bit mask of REPORTRDY_READCLRACC field. */ 11727 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled (0x0UL) /*!< Disable shortcut */ 11728 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled (0x1UL) /*!< Enable shortcut */ 11729 11730 /* Register: QDEC_INTENSET */ 11731 /* Description: Enable interrupt */ 11732 11733 /* Bit 4 : Write '1' to enable interrupt for event STOPPED */ 11734 #define QDEC_INTENSET_STOPPED_Pos (4UL) /*!< Position of STOPPED field. */ 11735 #define QDEC_INTENSET_STOPPED_Msk (0x1UL << QDEC_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 11736 #define QDEC_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 11737 #define QDEC_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 11738 #define QDEC_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 11739 11740 /* Bit 3 : Write '1' to enable interrupt for event DBLRDY */ 11741 #define QDEC_INTENSET_DBLRDY_Pos (3UL) /*!< Position of DBLRDY field. */ 11742 #define QDEC_INTENSET_DBLRDY_Msk (0x1UL << QDEC_INTENSET_DBLRDY_Pos) /*!< Bit mask of DBLRDY field. */ 11743 #define QDEC_INTENSET_DBLRDY_Disabled (0x0UL) /*!< Read: Disabled */ 11744 #define QDEC_INTENSET_DBLRDY_Enabled (0x1UL) /*!< Read: Enabled */ 11745 #define QDEC_INTENSET_DBLRDY_Set (0x1UL) /*!< Enable */ 11746 11747 /* Bit 2 : Write '1' to enable interrupt for event ACCOF */ 11748 #define QDEC_INTENSET_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */ 11749 #define QDEC_INTENSET_ACCOF_Msk (0x1UL << QDEC_INTENSET_ACCOF_Pos) /*!< Bit mask of ACCOF field. */ 11750 #define QDEC_INTENSET_ACCOF_Disabled (0x0UL) /*!< Read: Disabled */ 11751 #define QDEC_INTENSET_ACCOF_Enabled (0x1UL) /*!< Read: Enabled */ 11752 #define QDEC_INTENSET_ACCOF_Set (0x1UL) /*!< Enable */ 11753 11754 /* Bit 1 : Write '1' to enable interrupt for event REPORTRDY */ 11755 #define QDEC_INTENSET_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */ 11756 #define QDEC_INTENSET_REPORTRDY_Msk (0x1UL << QDEC_INTENSET_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */ 11757 #define QDEC_INTENSET_REPORTRDY_Disabled (0x0UL) /*!< Read: Disabled */ 11758 #define QDEC_INTENSET_REPORTRDY_Enabled (0x1UL) /*!< Read: Enabled */ 11759 #define QDEC_INTENSET_REPORTRDY_Set (0x1UL) /*!< Enable */ 11760 11761 /* Bit 0 : Write '1' to enable interrupt for event SAMPLERDY */ 11762 #define QDEC_INTENSET_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */ 11763 #define QDEC_INTENSET_SAMPLERDY_Msk (0x1UL << QDEC_INTENSET_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */ 11764 #define QDEC_INTENSET_SAMPLERDY_Disabled (0x0UL) /*!< Read: Disabled */ 11765 #define QDEC_INTENSET_SAMPLERDY_Enabled (0x1UL) /*!< Read: Enabled */ 11766 #define QDEC_INTENSET_SAMPLERDY_Set (0x1UL) /*!< Enable */ 11767 11768 /* Register: QDEC_INTENCLR */ 11769 /* Description: Disable interrupt */ 11770 11771 /* Bit 4 : Write '1' to disable interrupt for event STOPPED */ 11772 #define QDEC_INTENCLR_STOPPED_Pos (4UL) /*!< Position of STOPPED field. */ 11773 #define QDEC_INTENCLR_STOPPED_Msk (0x1UL << QDEC_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 11774 #define QDEC_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 11775 #define QDEC_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 11776 #define QDEC_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 11777 11778 /* Bit 3 : Write '1' to disable interrupt for event DBLRDY */ 11779 #define QDEC_INTENCLR_DBLRDY_Pos (3UL) /*!< Position of DBLRDY field. */ 11780 #define QDEC_INTENCLR_DBLRDY_Msk (0x1UL << QDEC_INTENCLR_DBLRDY_Pos) /*!< Bit mask of DBLRDY field. */ 11781 #define QDEC_INTENCLR_DBLRDY_Disabled (0x0UL) /*!< Read: Disabled */ 11782 #define QDEC_INTENCLR_DBLRDY_Enabled (0x1UL) /*!< Read: Enabled */ 11783 #define QDEC_INTENCLR_DBLRDY_Clear (0x1UL) /*!< Disable */ 11784 11785 /* Bit 2 : Write '1' to disable interrupt for event ACCOF */ 11786 #define QDEC_INTENCLR_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */ 11787 #define QDEC_INTENCLR_ACCOF_Msk (0x1UL << QDEC_INTENCLR_ACCOF_Pos) /*!< Bit mask of ACCOF field. */ 11788 #define QDEC_INTENCLR_ACCOF_Disabled (0x0UL) /*!< Read: Disabled */ 11789 #define QDEC_INTENCLR_ACCOF_Enabled (0x1UL) /*!< Read: Enabled */ 11790 #define QDEC_INTENCLR_ACCOF_Clear (0x1UL) /*!< Disable */ 11791 11792 /* Bit 1 : Write '1' to disable interrupt for event REPORTRDY */ 11793 #define QDEC_INTENCLR_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */ 11794 #define QDEC_INTENCLR_REPORTRDY_Msk (0x1UL << QDEC_INTENCLR_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */ 11795 #define QDEC_INTENCLR_REPORTRDY_Disabled (0x0UL) /*!< Read: Disabled */ 11796 #define QDEC_INTENCLR_REPORTRDY_Enabled (0x1UL) /*!< Read: Enabled */ 11797 #define QDEC_INTENCLR_REPORTRDY_Clear (0x1UL) /*!< Disable */ 11798 11799 /* Bit 0 : Write '1' to disable interrupt for event SAMPLERDY */ 11800 #define QDEC_INTENCLR_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */ 11801 #define QDEC_INTENCLR_SAMPLERDY_Msk (0x1UL << QDEC_INTENCLR_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */ 11802 #define QDEC_INTENCLR_SAMPLERDY_Disabled (0x0UL) /*!< Read: Disabled */ 11803 #define QDEC_INTENCLR_SAMPLERDY_Enabled (0x1UL) /*!< Read: Enabled */ 11804 #define QDEC_INTENCLR_SAMPLERDY_Clear (0x1UL) /*!< Disable */ 11805 11806 /* Register: QDEC_ENABLE */ 11807 /* Description: Enable the quadrature decoder */ 11808 11809 /* Bit 0 : Enable or disable the quadrature decoder */ 11810 #define QDEC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 11811 #define QDEC_ENABLE_ENABLE_Msk (0x1UL << QDEC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 11812 #define QDEC_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable */ 11813 #define QDEC_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable */ 11814 11815 /* Register: QDEC_LEDPOL */ 11816 /* Description: LED output pin polarity */ 11817 11818 /* Bit 0 : LED output pin polarity */ 11819 #define QDEC_LEDPOL_LEDPOL_Pos (0UL) /*!< Position of LEDPOL field. */ 11820 #define QDEC_LEDPOL_LEDPOL_Msk (0x1UL << QDEC_LEDPOL_LEDPOL_Pos) /*!< Bit mask of LEDPOL field. */ 11821 #define QDEC_LEDPOL_LEDPOL_ActiveLow (0x0UL) /*!< Led active on output pin low */ 11822 #define QDEC_LEDPOL_LEDPOL_ActiveHigh (0x1UL) /*!< Led active on output pin high */ 11823 11824 /* Register: QDEC_SAMPLEPER */ 11825 /* Description: Sample period */ 11826 11827 /* Bits 3..0 : Sample period. The SAMPLE register will be updated for every new sample */ 11828 #define QDEC_SAMPLEPER_SAMPLEPER_Pos (0UL) /*!< Position of SAMPLEPER field. */ 11829 #define QDEC_SAMPLEPER_SAMPLEPER_Msk (0xFUL << QDEC_SAMPLEPER_SAMPLEPER_Pos) /*!< Bit mask of SAMPLEPER field. */ 11830 #define QDEC_SAMPLEPER_SAMPLEPER_128us (0x0UL) /*!< 128 us */ 11831 #define QDEC_SAMPLEPER_SAMPLEPER_256us (0x1UL) /*!< 256 us */ 11832 #define QDEC_SAMPLEPER_SAMPLEPER_512us (0x2UL) /*!< 512 us */ 11833 #define QDEC_SAMPLEPER_SAMPLEPER_1024us (0x3UL) /*!< 1024 us */ 11834 #define QDEC_SAMPLEPER_SAMPLEPER_2048us (0x4UL) /*!< 2048 us */ 11835 #define QDEC_SAMPLEPER_SAMPLEPER_4096us (0x5UL) /*!< 4096 us */ 11836 #define QDEC_SAMPLEPER_SAMPLEPER_8192us (0x6UL) /*!< 8192 us */ 11837 #define QDEC_SAMPLEPER_SAMPLEPER_16384us (0x7UL) /*!< 16384 us */ 11838 #define QDEC_SAMPLEPER_SAMPLEPER_32ms (0x8UL) /*!< 32768 us */ 11839 #define QDEC_SAMPLEPER_SAMPLEPER_65ms (0x9UL) /*!< 65536 us */ 11840 #define QDEC_SAMPLEPER_SAMPLEPER_131ms (0xAUL) /*!< 131072 us */ 11841 11842 /* Register: QDEC_SAMPLE */ 11843 /* Description: Motion sample value */ 11844 11845 /* Bits 31..0 : Last motion sample */ 11846 #define QDEC_SAMPLE_SAMPLE_Pos (0UL) /*!< Position of SAMPLE field. */ 11847 #define QDEC_SAMPLE_SAMPLE_Msk (0xFFFFFFFFUL << QDEC_SAMPLE_SAMPLE_Pos) /*!< Bit mask of SAMPLE field. */ 11848 11849 /* Register: QDEC_REPORTPER */ 11850 /* Description: Number of samples to be taken before REPORTRDY and DBLRDY events can be generated */ 11851 11852 /* Bits 3..0 : Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated. */ 11853 #define QDEC_REPORTPER_REPORTPER_Pos (0UL) /*!< Position of REPORTPER field. */ 11854 #define QDEC_REPORTPER_REPORTPER_Msk (0xFUL << QDEC_REPORTPER_REPORTPER_Pos) /*!< Bit mask of REPORTPER field. */ 11855 #define QDEC_REPORTPER_REPORTPER_10Smpl (0x0UL) /*!< 10 samples/report */ 11856 #define QDEC_REPORTPER_REPORTPER_40Smpl (0x1UL) /*!< 40 samples/report */ 11857 #define QDEC_REPORTPER_REPORTPER_80Smpl (0x2UL) /*!< 80 samples/report */ 11858 #define QDEC_REPORTPER_REPORTPER_120Smpl (0x3UL) /*!< 120 samples/report */ 11859 #define QDEC_REPORTPER_REPORTPER_160Smpl (0x4UL) /*!< 160 samples/report */ 11860 #define QDEC_REPORTPER_REPORTPER_200Smpl (0x5UL) /*!< 200 samples/report */ 11861 #define QDEC_REPORTPER_REPORTPER_240Smpl (0x6UL) /*!< 240 samples/report */ 11862 #define QDEC_REPORTPER_REPORTPER_280Smpl (0x7UL) /*!< 280 samples/report */ 11863 #define QDEC_REPORTPER_REPORTPER_1Smpl (0x8UL) /*!< 1 sample/report */ 11864 11865 /* Register: QDEC_ACC */ 11866 /* Description: Register accumulating the valid transitions */ 11867 11868 /* Bits 31..0 : Register accumulating all valid samples (not double transition) read from the SAMPLE register. */ 11869 #define QDEC_ACC_ACC_Pos (0UL) /*!< Position of ACC field. */ 11870 #define QDEC_ACC_ACC_Msk (0xFFFFFFFFUL << QDEC_ACC_ACC_Pos) /*!< Bit mask of ACC field. */ 11871 11872 /* Register: QDEC_ACCREAD */ 11873 /* Description: Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task */ 11874 11875 /* Bits 31..0 : Snapshot of the ACC register. */ 11876 #define QDEC_ACCREAD_ACCREAD_Pos (0UL) /*!< Position of ACCREAD field. */ 11877 #define QDEC_ACCREAD_ACCREAD_Msk (0xFFFFFFFFUL << QDEC_ACCREAD_ACCREAD_Pos) /*!< Bit mask of ACCREAD field. */ 11878 11879 /* Register: QDEC_PSEL_LED */ 11880 /* Description: Pin select for LED signal */ 11881 11882 /* Bit 31 : Connection */ 11883 #define QDEC_PSEL_LED_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 11884 #define QDEC_PSEL_LED_CONNECT_Msk (0x1UL << QDEC_PSEL_LED_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 11885 #define QDEC_PSEL_LED_CONNECT_Connected (0x0UL) /*!< Connect */ 11886 #define QDEC_PSEL_LED_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 11887 11888 /* Bit 5 : Port number */ 11889 #define QDEC_PSEL_LED_PORT_Pos (5UL) /*!< Position of PORT field. */ 11890 #define QDEC_PSEL_LED_PORT_Msk (0x1UL << QDEC_PSEL_LED_PORT_Pos) /*!< Bit mask of PORT field. */ 11891 11892 /* Bits 4..0 : Pin number */ 11893 #define QDEC_PSEL_LED_PIN_Pos (0UL) /*!< Position of PIN field. */ 11894 #define QDEC_PSEL_LED_PIN_Msk (0x1FUL << QDEC_PSEL_LED_PIN_Pos) /*!< Bit mask of PIN field. */ 11895 11896 /* Register: QDEC_PSEL_A */ 11897 /* Description: Pin select for A signal */ 11898 11899 /* Bit 31 : Connection */ 11900 #define QDEC_PSEL_A_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 11901 #define QDEC_PSEL_A_CONNECT_Msk (0x1UL << QDEC_PSEL_A_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 11902 #define QDEC_PSEL_A_CONNECT_Connected (0x0UL) /*!< Connect */ 11903 #define QDEC_PSEL_A_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 11904 11905 /* Bit 5 : Port number */ 11906 #define QDEC_PSEL_A_PORT_Pos (5UL) /*!< Position of PORT field. */ 11907 #define QDEC_PSEL_A_PORT_Msk (0x1UL << QDEC_PSEL_A_PORT_Pos) /*!< Bit mask of PORT field. */ 11908 11909 /* Bits 4..0 : Pin number */ 11910 #define QDEC_PSEL_A_PIN_Pos (0UL) /*!< Position of PIN field. */ 11911 #define QDEC_PSEL_A_PIN_Msk (0x1FUL << QDEC_PSEL_A_PIN_Pos) /*!< Bit mask of PIN field. */ 11912 11913 /* Register: QDEC_PSEL_B */ 11914 /* Description: Pin select for B signal */ 11915 11916 /* Bit 31 : Connection */ 11917 #define QDEC_PSEL_B_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 11918 #define QDEC_PSEL_B_CONNECT_Msk (0x1UL << QDEC_PSEL_B_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 11919 #define QDEC_PSEL_B_CONNECT_Connected (0x0UL) /*!< Connect */ 11920 #define QDEC_PSEL_B_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 11921 11922 /* Bit 5 : Port number */ 11923 #define QDEC_PSEL_B_PORT_Pos (5UL) /*!< Position of PORT field. */ 11924 #define QDEC_PSEL_B_PORT_Msk (0x1UL << QDEC_PSEL_B_PORT_Pos) /*!< Bit mask of PORT field. */ 11925 11926 /* Bits 4..0 : Pin number */ 11927 #define QDEC_PSEL_B_PIN_Pos (0UL) /*!< Position of PIN field. */ 11928 #define QDEC_PSEL_B_PIN_Msk (0x1FUL << QDEC_PSEL_B_PIN_Pos) /*!< Bit mask of PIN field. */ 11929 11930 /* Register: QDEC_DBFEN */ 11931 /* Description: Enable input debounce filters */ 11932 11933 /* Bit 0 : Enable input debounce filters */ 11934 #define QDEC_DBFEN_DBFEN_Pos (0UL) /*!< Position of DBFEN field. */ 11935 #define QDEC_DBFEN_DBFEN_Msk (0x1UL << QDEC_DBFEN_DBFEN_Pos) /*!< Bit mask of DBFEN field. */ 11936 #define QDEC_DBFEN_DBFEN_Disabled (0x0UL) /*!< Debounce input filters disabled */ 11937 #define QDEC_DBFEN_DBFEN_Enabled (0x1UL) /*!< Debounce input filters enabled */ 11938 11939 /* Register: QDEC_LEDPRE */ 11940 /* Description: Time period the LED is switched ON prior to sampling */ 11941 11942 /* Bits 8..0 : Period in us the LED is switched on prior to sampling */ 11943 #define QDEC_LEDPRE_LEDPRE_Pos (0UL) /*!< Position of LEDPRE field. */ 11944 #define QDEC_LEDPRE_LEDPRE_Msk (0x1FFUL << QDEC_LEDPRE_LEDPRE_Pos) /*!< Bit mask of LEDPRE field. */ 11945 11946 /* Register: QDEC_ACCDBL */ 11947 /* Description: Register accumulating the number of detected double transitions */ 11948 11949 /* Bits 3..0 : Register accumulating the number of detected double or illegal transitions. ( SAMPLE = 2 ). */ 11950 #define QDEC_ACCDBL_ACCDBL_Pos (0UL) /*!< Position of ACCDBL field. */ 11951 #define QDEC_ACCDBL_ACCDBL_Msk (0xFUL << QDEC_ACCDBL_ACCDBL_Pos) /*!< Bit mask of ACCDBL field. */ 11952 11953 /* Register: QDEC_ACCDBLREAD */ 11954 /* Description: Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task */ 11955 11956 /* Bits 3..0 : Snapshot of the ACCDBL register. This field is updated when the READCLRACC or RDCLRDBL task is triggered. */ 11957 #define QDEC_ACCDBLREAD_ACCDBLREAD_Pos (0UL) /*!< Position of ACCDBLREAD field. */ 11958 #define QDEC_ACCDBLREAD_ACCDBLREAD_Msk (0xFUL << QDEC_ACCDBLREAD_ACCDBLREAD_Pos) /*!< Bit mask of ACCDBLREAD field. */ 11959 11960 11961 /* Peripheral: QSPI */ 11962 /* Description: External flash interface 0 */ 11963 11964 /* Register: QSPI_TASKS_ACTIVATE */ 11965 /* Description: Activate QSPI interface */ 11966 11967 /* Bit 0 : Activate QSPI interface */ 11968 #define QSPI_TASKS_ACTIVATE_TASKS_ACTIVATE_Pos (0UL) /*!< Position of TASKS_ACTIVATE field. */ 11969 #define QSPI_TASKS_ACTIVATE_TASKS_ACTIVATE_Msk (0x1UL << QSPI_TASKS_ACTIVATE_TASKS_ACTIVATE_Pos) /*!< Bit mask of TASKS_ACTIVATE field. */ 11970 #define QSPI_TASKS_ACTIVATE_TASKS_ACTIVATE_Trigger (0x1UL) /*!< Trigger task */ 11971 11972 /* Register: QSPI_TASKS_READSTART */ 11973 /* Description: Start transfer from external flash memory to internal RAM */ 11974 11975 /* Bit 0 : Start transfer from external flash memory to internal RAM */ 11976 #define QSPI_TASKS_READSTART_TASKS_READSTART_Pos (0UL) /*!< Position of TASKS_READSTART field. */ 11977 #define QSPI_TASKS_READSTART_TASKS_READSTART_Msk (0x1UL << QSPI_TASKS_READSTART_TASKS_READSTART_Pos) /*!< Bit mask of TASKS_READSTART field. */ 11978 #define QSPI_TASKS_READSTART_TASKS_READSTART_Trigger (0x1UL) /*!< Trigger task */ 11979 11980 /* Register: QSPI_TASKS_WRITESTART */ 11981 /* Description: Start transfer from internal RAM to external flash memory */ 11982 11983 /* Bit 0 : Start transfer from internal RAM to external flash memory */ 11984 #define QSPI_TASKS_WRITESTART_TASKS_WRITESTART_Pos (0UL) /*!< Position of TASKS_WRITESTART field. */ 11985 #define QSPI_TASKS_WRITESTART_TASKS_WRITESTART_Msk (0x1UL << QSPI_TASKS_WRITESTART_TASKS_WRITESTART_Pos) /*!< Bit mask of TASKS_WRITESTART field. */ 11986 #define QSPI_TASKS_WRITESTART_TASKS_WRITESTART_Trigger (0x1UL) /*!< Trigger task */ 11987 11988 /* Register: QSPI_TASKS_ERASESTART */ 11989 /* Description: Start external flash memory erase operation */ 11990 11991 /* Bit 0 : Start external flash memory erase operation */ 11992 #define QSPI_TASKS_ERASESTART_TASKS_ERASESTART_Pos (0UL) /*!< Position of TASKS_ERASESTART field. */ 11993 #define QSPI_TASKS_ERASESTART_TASKS_ERASESTART_Msk (0x1UL << QSPI_TASKS_ERASESTART_TASKS_ERASESTART_Pos) /*!< Bit mask of TASKS_ERASESTART field. */ 11994 #define QSPI_TASKS_ERASESTART_TASKS_ERASESTART_Trigger (0x1UL) /*!< Trigger task */ 11995 11996 /* Register: QSPI_TASKS_DEACTIVATE */ 11997 /* Description: Deactivate QSPI interface */ 11998 11999 /* Bit 0 : Deactivate QSPI interface */ 12000 #define QSPI_TASKS_DEACTIVATE_TASKS_DEACTIVATE_Pos (0UL) /*!< Position of TASKS_DEACTIVATE field. */ 12001 #define QSPI_TASKS_DEACTIVATE_TASKS_DEACTIVATE_Msk (0x1UL << QSPI_TASKS_DEACTIVATE_TASKS_DEACTIVATE_Pos) /*!< Bit mask of TASKS_DEACTIVATE field. */ 12002 #define QSPI_TASKS_DEACTIVATE_TASKS_DEACTIVATE_Trigger (0x1UL) /*!< Trigger task */ 12003 12004 /* Register: QSPI_SUBSCRIBE_ACTIVATE */ 12005 /* Description: Subscribe configuration for task ACTIVATE */ 12006 12007 /* Bit 31 : */ 12008 #define QSPI_SUBSCRIBE_ACTIVATE_EN_Pos (31UL) /*!< Position of EN field. */ 12009 #define QSPI_SUBSCRIBE_ACTIVATE_EN_Msk (0x1UL << QSPI_SUBSCRIBE_ACTIVATE_EN_Pos) /*!< Bit mask of EN field. */ 12010 #define QSPI_SUBSCRIBE_ACTIVATE_EN_Disabled (0x0UL) /*!< Disable subscription */ 12011 #define QSPI_SUBSCRIBE_ACTIVATE_EN_Enabled (0x1UL) /*!< Enable subscription */ 12012 12013 /* Bits 7..0 : DPPI channel that task ACTIVATE will subscribe to */ 12014 #define QSPI_SUBSCRIBE_ACTIVATE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12015 #define QSPI_SUBSCRIBE_ACTIVATE_CHIDX_Msk (0xFFUL << QSPI_SUBSCRIBE_ACTIVATE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12016 12017 /* Register: QSPI_SUBSCRIBE_READSTART */ 12018 /* Description: Subscribe configuration for task READSTART */ 12019 12020 /* Bit 31 : */ 12021 #define QSPI_SUBSCRIBE_READSTART_EN_Pos (31UL) /*!< Position of EN field. */ 12022 #define QSPI_SUBSCRIBE_READSTART_EN_Msk (0x1UL << QSPI_SUBSCRIBE_READSTART_EN_Pos) /*!< Bit mask of EN field. */ 12023 #define QSPI_SUBSCRIBE_READSTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 12024 #define QSPI_SUBSCRIBE_READSTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 12025 12026 /* Bits 7..0 : DPPI channel that task READSTART will subscribe to */ 12027 #define QSPI_SUBSCRIBE_READSTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12028 #define QSPI_SUBSCRIBE_READSTART_CHIDX_Msk (0xFFUL << QSPI_SUBSCRIBE_READSTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12029 12030 /* Register: QSPI_SUBSCRIBE_WRITESTART */ 12031 /* Description: Subscribe configuration for task WRITESTART */ 12032 12033 /* Bit 31 : */ 12034 #define QSPI_SUBSCRIBE_WRITESTART_EN_Pos (31UL) /*!< Position of EN field. */ 12035 #define QSPI_SUBSCRIBE_WRITESTART_EN_Msk (0x1UL << QSPI_SUBSCRIBE_WRITESTART_EN_Pos) /*!< Bit mask of EN field. */ 12036 #define QSPI_SUBSCRIBE_WRITESTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 12037 #define QSPI_SUBSCRIBE_WRITESTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 12038 12039 /* Bits 7..0 : DPPI channel that task WRITESTART will subscribe to */ 12040 #define QSPI_SUBSCRIBE_WRITESTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12041 #define QSPI_SUBSCRIBE_WRITESTART_CHIDX_Msk (0xFFUL << QSPI_SUBSCRIBE_WRITESTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12042 12043 /* Register: QSPI_SUBSCRIBE_ERASESTART */ 12044 /* Description: Subscribe configuration for task ERASESTART */ 12045 12046 /* Bit 31 : */ 12047 #define QSPI_SUBSCRIBE_ERASESTART_EN_Pos (31UL) /*!< Position of EN field. */ 12048 #define QSPI_SUBSCRIBE_ERASESTART_EN_Msk (0x1UL << QSPI_SUBSCRIBE_ERASESTART_EN_Pos) /*!< Bit mask of EN field. */ 12049 #define QSPI_SUBSCRIBE_ERASESTART_EN_Disabled (0x0UL) /*!< Disable subscription */ 12050 #define QSPI_SUBSCRIBE_ERASESTART_EN_Enabled (0x1UL) /*!< Enable subscription */ 12051 12052 /* Bits 7..0 : DPPI channel that task ERASESTART will subscribe to */ 12053 #define QSPI_SUBSCRIBE_ERASESTART_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12054 #define QSPI_SUBSCRIBE_ERASESTART_CHIDX_Msk (0xFFUL << QSPI_SUBSCRIBE_ERASESTART_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12055 12056 /* Register: QSPI_SUBSCRIBE_DEACTIVATE */ 12057 /* Description: Subscribe configuration for task DEACTIVATE */ 12058 12059 /* Bit 31 : */ 12060 #define QSPI_SUBSCRIBE_DEACTIVATE_EN_Pos (31UL) /*!< Position of EN field. */ 12061 #define QSPI_SUBSCRIBE_DEACTIVATE_EN_Msk (0x1UL << QSPI_SUBSCRIBE_DEACTIVATE_EN_Pos) /*!< Bit mask of EN field. */ 12062 #define QSPI_SUBSCRIBE_DEACTIVATE_EN_Disabled (0x0UL) /*!< Disable subscription */ 12063 #define QSPI_SUBSCRIBE_DEACTIVATE_EN_Enabled (0x1UL) /*!< Enable subscription */ 12064 12065 /* Bits 7..0 : DPPI channel that task DEACTIVATE will subscribe to */ 12066 #define QSPI_SUBSCRIBE_DEACTIVATE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12067 #define QSPI_SUBSCRIBE_DEACTIVATE_CHIDX_Msk (0xFFUL << QSPI_SUBSCRIBE_DEACTIVATE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12068 12069 /* Register: QSPI_EVENTS_READY */ 12070 /* Description: QSPI peripheral is ready. This event will be generated as a response to all QSPI tasks except DEACTIVATE. */ 12071 12072 /* Bit 0 : QSPI peripheral is ready. This event will be generated as a response to all QSPI tasks except DEACTIVATE. */ 12073 #define QSPI_EVENTS_READY_EVENTS_READY_Pos (0UL) /*!< Position of EVENTS_READY field. */ 12074 #define QSPI_EVENTS_READY_EVENTS_READY_Msk (0x1UL << QSPI_EVENTS_READY_EVENTS_READY_Pos) /*!< Bit mask of EVENTS_READY field. */ 12075 #define QSPI_EVENTS_READY_EVENTS_READY_NotGenerated (0x0UL) /*!< Event not generated */ 12076 #define QSPI_EVENTS_READY_EVENTS_READY_Generated (0x1UL) /*!< Event generated */ 12077 12078 /* Register: QSPI_PUBLISH_READY */ 12079 /* Description: Publish configuration for event READY */ 12080 12081 /* Bit 31 : */ 12082 #define QSPI_PUBLISH_READY_EN_Pos (31UL) /*!< Position of EN field. */ 12083 #define QSPI_PUBLISH_READY_EN_Msk (0x1UL << QSPI_PUBLISH_READY_EN_Pos) /*!< Bit mask of EN field. */ 12084 #define QSPI_PUBLISH_READY_EN_Disabled (0x0UL) /*!< Disable publishing */ 12085 #define QSPI_PUBLISH_READY_EN_Enabled (0x1UL) /*!< Enable publishing */ 12086 12087 /* Bits 7..0 : DPPI channel that event READY will publish to */ 12088 #define QSPI_PUBLISH_READY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12089 #define QSPI_PUBLISH_READY_CHIDX_Msk (0xFFUL << QSPI_PUBLISH_READY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12090 12091 /* Register: QSPI_INTEN */ 12092 /* Description: Enable or disable interrupt */ 12093 12094 /* Bit 0 : Enable or disable interrupt for event READY */ 12095 #define QSPI_INTEN_READY_Pos (0UL) /*!< Position of READY field. */ 12096 #define QSPI_INTEN_READY_Msk (0x1UL << QSPI_INTEN_READY_Pos) /*!< Bit mask of READY field. */ 12097 #define QSPI_INTEN_READY_Disabled (0x0UL) /*!< Disable */ 12098 #define QSPI_INTEN_READY_Enabled (0x1UL) /*!< Enable */ 12099 12100 /* Register: QSPI_INTENSET */ 12101 /* Description: Enable interrupt */ 12102 12103 /* Bit 0 : Write '1' to enable interrupt for event READY */ 12104 #define QSPI_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 12105 #define QSPI_INTENSET_READY_Msk (0x1UL << QSPI_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 12106 #define QSPI_INTENSET_READY_Disabled (0x0UL) /*!< Read: Disabled */ 12107 #define QSPI_INTENSET_READY_Enabled (0x1UL) /*!< Read: Enabled */ 12108 #define QSPI_INTENSET_READY_Set (0x1UL) /*!< Enable */ 12109 12110 /* Register: QSPI_INTENCLR */ 12111 /* Description: Disable interrupt */ 12112 12113 /* Bit 0 : Write '1' to disable interrupt for event READY */ 12114 #define QSPI_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 12115 #define QSPI_INTENCLR_READY_Msk (0x1UL << QSPI_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 12116 #define QSPI_INTENCLR_READY_Disabled (0x0UL) /*!< Read: Disabled */ 12117 #define QSPI_INTENCLR_READY_Enabled (0x1UL) /*!< Read: Enabled */ 12118 #define QSPI_INTENCLR_READY_Clear (0x1UL) /*!< Disable */ 12119 12120 /* Register: QSPI_ENABLE */ 12121 /* Description: Enable QSPI peripheral and acquire the pins selected in PSELn registers */ 12122 12123 /* Bit 0 : Enable or disable QSPI */ 12124 #define QSPI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 12125 #define QSPI_ENABLE_ENABLE_Msk (0x1UL << QSPI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 12126 #define QSPI_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable QSPI */ 12127 #define QSPI_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable QSPI */ 12128 12129 /* Register: QSPI_READ_SRC */ 12130 /* Description: Flash memory source address */ 12131 12132 /* Bits 31..0 : Word-aligned flash memory source address. */ 12133 #define QSPI_READ_SRC_SRC_Pos (0UL) /*!< Position of SRC field. */ 12134 #define QSPI_READ_SRC_SRC_Msk (0xFFFFFFFFUL << QSPI_READ_SRC_SRC_Pos) /*!< Bit mask of SRC field. */ 12135 12136 /* Register: QSPI_READ_DST */ 12137 /* Description: RAM destination address */ 12138 12139 /* Bits 31..0 : Word-aligned RAM destination address. */ 12140 #define QSPI_READ_DST_DST_Pos (0UL) /*!< Position of DST field. */ 12141 #define QSPI_READ_DST_DST_Msk (0xFFFFFFFFUL << QSPI_READ_DST_DST_Pos) /*!< Bit mask of DST field. */ 12142 12143 /* Register: QSPI_READ_CNT */ 12144 /* Description: Read transfer length */ 12145 12146 /* Bits 20..0 : Read transfer length in number of bytes. The length must be a multiple of 4 bytes. */ 12147 #define QSPI_READ_CNT_CNT_Pos (0UL) /*!< Position of CNT field. */ 12148 #define QSPI_READ_CNT_CNT_Msk (0x1FFFFFUL << QSPI_READ_CNT_CNT_Pos) /*!< Bit mask of CNT field. */ 12149 12150 /* Register: QSPI_WRITE_DST */ 12151 /* Description: Flash destination address */ 12152 12153 /* Bits 31..0 : Word-aligned flash destination address. */ 12154 #define QSPI_WRITE_DST_DST_Pos (0UL) /*!< Position of DST field. */ 12155 #define QSPI_WRITE_DST_DST_Msk (0xFFFFFFFFUL << QSPI_WRITE_DST_DST_Pos) /*!< Bit mask of DST field. */ 12156 12157 /* Register: QSPI_WRITE_SRC */ 12158 /* Description: RAM source address */ 12159 12160 /* Bits 31..0 : Word-aligned RAM source address. */ 12161 #define QSPI_WRITE_SRC_SRC_Pos (0UL) /*!< Position of SRC field. */ 12162 #define QSPI_WRITE_SRC_SRC_Msk (0xFFFFFFFFUL << QSPI_WRITE_SRC_SRC_Pos) /*!< Bit mask of SRC field. */ 12163 12164 /* Register: QSPI_WRITE_CNT */ 12165 /* Description: Write transfer length */ 12166 12167 /* Bits 20..0 : Write transfer length in number of bytes. The length must be a multiple of 4 bytes. */ 12168 #define QSPI_WRITE_CNT_CNT_Pos (0UL) /*!< Position of CNT field. */ 12169 #define QSPI_WRITE_CNT_CNT_Msk (0x1FFFFFUL << QSPI_WRITE_CNT_CNT_Pos) /*!< Bit mask of CNT field. */ 12170 12171 /* Register: QSPI_ERASE_PTR */ 12172 /* Description: Start address of flash block to be erased */ 12173 12174 /* Bits 31..0 : Word-aligned start address of block to be erased. */ 12175 #define QSPI_ERASE_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 12176 #define QSPI_ERASE_PTR_PTR_Msk (0xFFFFFFFFUL << QSPI_ERASE_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 12177 12178 /* Register: QSPI_ERASE_LEN */ 12179 /* Description: Size of block to be erased. */ 12180 12181 /* Bits 1..0 : LEN */ 12182 #define QSPI_ERASE_LEN_LEN_Pos (0UL) /*!< Position of LEN field. */ 12183 #define QSPI_ERASE_LEN_LEN_Msk (0x3UL << QSPI_ERASE_LEN_LEN_Pos) /*!< Bit mask of LEN field. */ 12184 #define QSPI_ERASE_LEN_LEN_4KB (0x0UL) /*!< Erase 4 kB block (flash command 0x20) */ 12185 #define QSPI_ERASE_LEN_LEN_64KB (0x1UL) /*!< Erase 64 kB block (flash command 0xD8) */ 12186 #define QSPI_ERASE_LEN_LEN_All (0x2UL) /*!< Erase all (flash command 0xC7) */ 12187 12188 /* Register: QSPI_PSEL_SCK */ 12189 /* Description: Pin select for serial clock SCK */ 12190 12191 /* Bit 31 : Connection */ 12192 #define QSPI_PSEL_SCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 12193 #define QSPI_PSEL_SCK_CONNECT_Msk (0x1UL << QSPI_PSEL_SCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 12194 #define QSPI_PSEL_SCK_CONNECT_Connected (0x0UL) /*!< Connect */ 12195 #define QSPI_PSEL_SCK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 12196 12197 /* Bit 5 : Port number */ 12198 #define QSPI_PSEL_SCK_PORT_Pos (5UL) /*!< Position of PORT field. */ 12199 #define QSPI_PSEL_SCK_PORT_Msk (0x1UL << QSPI_PSEL_SCK_PORT_Pos) /*!< Bit mask of PORT field. */ 12200 12201 /* Bits 4..0 : Pin number */ 12202 #define QSPI_PSEL_SCK_PIN_Pos (0UL) /*!< Position of PIN field. */ 12203 #define QSPI_PSEL_SCK_PIN_Msk (0x1FUL << QSPI_PSEL_SCK_PIN_Pos) /*!< Bit mask of PIN field. */ 12204 12205 /* Register: QSPI_PSEL_CSN */ 12206 /* Description: Pin select for chip select signal CSN. */ 12207 12208 /* Bit 31 : Connection */ 12209 #define QSPI_PSEL_CSN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 12210 #define QSPI_PSEL_CSN_CONNECT_Msk (0x1UL << QSPI_PSEL_CSN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 12211 #define QSPI_PSEL_CSN_CONNECT_Connected (0x0UL) /*!< Connect */ 12212 #define QSPI_PSEL_CSN_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 12213 12214 /* Bit 5 : Port number */ 12215 #define QSPI_PSEL_CSN_PORT_Pos (5UL) /*!< Position of PORT field. */ 12216 #define QSPI_PSEL_CSN_PORT_Msk (0x1UL << QSPI_PSEL_CSN_PORT_Pos) /*!< Bit mask of PORT field. */ 12217 12218 /* Bits 4..0 : Pin number */ 12219 #define QSPI_PSEL_CSN_PIN_Pos (0UL) /*!< Position of PIN field. */ 12220 #define QSPI_PSEL_CSN_PIN_Msk (0x1FUL << QSPI_PSEL_CSN_PIN_Pos) /*!< Bit mask of PIN field. */ 12221 12222 /* Register: QSPI_PSEL_IO0 */ 12223 /* Description: Pin select for serial data MOSI/IO0. */ 12224 12225 /* Bit 31 : Connection */ 12226 #define QSPI_PSEL_IO0_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 12227 #define QSPI_PSEL_IO0_CONNECT_Msk (0x1UL << QSPI_PSEL_IO0_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 12228 #define QSPI_PSEL_IO0_CONNECT_Connected (0x0UL) /*!< Connect */ 12229 #define QSPI_PSEL_IO0_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 12230 12231 /* Bit 5 : Port number */ 12232 #define QSPI_PSEL_IO0_PORT_Pos (5UL) /*!< Position of PORT field. */ 12233 #define QSPI_PSEL_IO0_PORT_Msk (0x1UL << QSPI_PSEL_IO0_PORT_Pos) /*!< Bit mask of PORT field. */ 12234 12235 /* Bits 4..0 : Pin number */ 12236 #define QSPI_PSEL_IO0_PIN_Pos (0UL) /*!< Position of PIN field. */ 12237 #define QSPI_PSEL_IO0_PIN_Msk (0x1FUL << QSPI_PSEL_IO0_PIN_Pos) /*!< Bit mask of PIN field. */ 12238 12239 /* Register: QSPI_PSEL_IO1 */ 12240 /* Description: Pin select for serial data MISO/IO1. */ 12241 12242 /* Bit 31 : Connection */ 12243 #define QSPI_PSEL_IO1_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 12244 #define QSPI_PSEL_IO1_CONNECT_Msk (0x1UL << QSPI_PSEL_IO1_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 12245 #define QSPI_PSEL_IO1_CONNECT_Connected (0x0UL) /*!< Connect */ 12246 #define QSPI_PSEL_IO1_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 12247 12248 /* Bit 5 : Port number */ 12249 #define QSPI_PSEL_IO1_PORT_Pos (5UL) /*!< Position of PORT field. */ 12250 #define QSPI_PSEL_IO1_PORT_Msk (0x1UL << QSPI_PSEL_IO1_PORT_Pos) /*!< Bit mask of PORT field. */ 12251 12252 /* Bits 4..0 : Pin number */ 12253 #define QSPI_PSEL_IO1_PIN_Pos (0UL) /*!< Position of PIN field. */ 12254 #define QSPI_PSEL_IO1_PIN_Msk (0x1FUL << QSPI_PSEL_IO1_PIN_Pos) /*!< Bit mask of PIN field. */ 12255 12256 /* Register: QSPI_PSEL_IO2 */ 12257 /* Description: Pin select for serial data WP/IO2. */ 12258 12259 /* Bit 31 : Connection */ 12260 #define QSPI_PSEL_IO2_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 12261 #define QSPI_PSEL_IO2_CONNECT_Msk (0x1UL << QSPI_PSEL_IO2_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 12262 #define QSPI_PSEL_IO2_CONNECT_Connected (0x0UL) /*!< Connect */ 12263 #define QSPI_PSEL_IO2_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 12264 12265 /* Bit 5 : Port number */ 12266 #define QSPI_PSEL_IO2_PORT_Pos (5UL) /*!< Position of PORT field. */ 12267 #define QSPI_PSEL_IO2_PORT_Msk (0x1UL << QSPI_PSEL_IO2_PORT_Pos) /*!< Bit mask of PORT field. */ 12268 12269 /* Bits 4..0 : Pin number */ 12270 #define QSPI_PSEL_IO2_PIN_Pos (0UL) /*!< Position of PIN field. */ 12271 #define QSPI_PSEL_IO2_PIN_Msk (0x1FUL << QSPI_PSEL_IO2_PIN_Pos) /*!< Bit mask of PIN field. */ 12272 12273 /* Register: QSPI_PSEL_IO3 */ 12274 /* Description: Pin select for serial data HOLD/IO3. */ 12275 12276 /* Bit 31 : Connection */ 12277 #define QSPI_PSEL_IO3_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 12278 #define QSPI_PSEL_IO3_CONNECT_Msk (0x1UL << QSPI_PSEL_IO3_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 12279 #define QSPI_PSEL_IO3_CONNECT_Connected (0x0UL) /*!< Connect */ 12280 #define QSPI_PSEL_IO3_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 12281 12282 /* Bit 5 : Port number */ 12283 #define QSPI_PSEL_IO3_PORT_Pos (5UL) /*!< Position of PORT field. */ 12284 #define QSPI_PSEL_IO3_PORT_Msk (0x1UL << QSPI_PSEL_IO3_PORT_Pos) /*!< Bit mask of PORT field. */ 12285 12286 /* Bits 4..0 : Pin number */ 12287 #define QSPI_PSEL_IO3_PIN_Pos (0UL) /*!< Position of PIN field. */ 12288 #define QSPI_PSEL_IO3_PIN_Msk (0x1FUL << QSPI_PSEL_IO3_PIN_Pos) /*!< Bit mask of PIN field. */ 12289 12290 /* Register: QSPI_XIPOFFSET */ 12291 /* Description: Address offset into the external memory for Execute in Place operation. */ 12292 12293 /* Bits 31..0 : Address offset into the external memory for Execute in Place operation. Value must be a multiple of 4. */ 12294 #define QSPI_XIPOFFSET_XIPOFFSET_Pos (0UL) /*!< Position of XIPOFFSET field. */ 12295 #define QSPI_XIPOFFSET_XIPOFFSET_Msk (0xFFFFFFFFUL << QSPI_XIPOFFSET_XIPOFFSET_Pos) /*!< Bit mask of XIPOFFSET field. */ 12296 12297 /* Register: QSPI_IFCONFIG0 */ 12298 /* Description: Interface configuration. */ 12299 12300 /* Bit 12 : Page size for commands PP, PP2O, PP4O and PP4IO. */ 12301 #define QSPI_IFCONFIG0_PPSIZE_Pos (12UL) /*!< Position of PPSIZE field. */ 12302 #define QSPI_IFCONFIG0_PPSIZE_Msk (0x1UL << QSPI_IFCONFIG0_PPSIZE_Pos) /*!< Bit mask of PPSIZE field. */ 12303 #define QSPI_IFCONFIG0_PPSIZE_256Bytes (0x0UL) /*!< 256 bytes. */ 12304 #define QSPI_IFCONFIG0_PPSIZE_512Bytes (0x1UL) /*!< 512 bytes. */ 12305 12306 /* Bit 7 : Enable deep power-down mode (DPM) feature. */ 12307 #define QSPI_IFCONFIG0_DPMENABLE_Pos (7UL) /*!< Position of DPMENABLE field. */ 12308 #define QSPI_IFCONFIG0_DPMENABLE_Msk (0x1UL << QSPI_IFCONFIG0_DPMENABLE_Pos) /*!< Bit mask of DPMENABLE field. */ 12309 #define QSPI_IFCONFIG0_DPMENABLE_Disable (0x0UL) /*!< Disable DPM feature. */ 12310 #define QSPI_IFCONFIG0_DPMENABLE_Enable (0x1UL) /*!< Enable DPM feature. */ 12311 12312 /* Bit 6 : Addressing mode. */ 12313 #define QSPI_IFCONFIG0_ADDRMODE_Pos (6UL) /*!< Position of ADDRMODE field. */ 12314 #define QSPI_IFCONFIG0_ADDRMODE_Msk (0x1UL << QSPI_IFCONFIG0_ADDRMODE_Pos) /*!< Bit mask of ADDRMODE field. */ 12315 #define QSPI_IFCONFIG0_ADDRMODE_24BIT (0x0UL) /*!< 24-bit addressing. */ 12316 #define QSPI_IFCONFIG0_ADDRMODE_32BIT (0x1UL) /*!< 32-bit addressing. */ 12317 12318 /* Bits 5..3 : Configure number of data lines and opcode used for writing. */ 12319 #define QSPI_IFCONFIG0_WRITEOC_Pos (3UL) /*!< Position of WRITEOC field. */ 12320 #define QSPI_IFCONFIG0_WRITEOC_Msk (0x7UL << QSPI_IFCONFIG0_WRITEOC_Pos) /*!< Bit mask of WRITEOC field. */ 12321 #define QSPI_IFCONFIG0_WRITEOC_PP (0x0UL) /*!< Single data line SPI. PP (opcode 0x02). */ 12322 #define QSPI_IFCONFIG0_WRITEOC_PP2O (0x1UL) /*!< Dual data line SPI. PP2O (opcode 0xA2). */ 12323 #define QSPI_IFCONFIG0_WRITEOC_PP4O (0x2UL) /*!< Quad data line SPI. PP4O (opcode 0x32). */ 12324 #define QSPI_IFCONFIG0_WRITEOC_PP4IO (0x3UL) /*!< Quad data line SPI. PP4IO (opcode 0x38). */ 12325 12326 /* Bits 2..0 : Configure number of data lines and opcode used for reading. */ 12327 #define QSPI_IFCONFIG0_READOC_Pos (0UL) /*!< Position of READOC field. */ 12328 #define QSPI_IFCONFIG0_READOC_Msk (0x7UL << QSPI_IFCONFIG0_READOC_Pos) /*!< Bit mask of READOC field. */ 12329 #define QSPI_IFCONFIG0_READOC_FASTREAD (0x0UL) /*!< Single data line SPI. FAST_READ (opcode 0x0B). */ 12330 #define QSPI_IFCONFIG0_READOC_READ2O (0x1UL) /*!< Dual data line SPI. READ2O (opcode 0x3B). */ 12331 #define QSPI_IFCONFIG0_READOC_READ2IO (0x2UL) /*!< Dual data line SPI. READ2IO (opcode 0xBB). */ 12332 #define QSPI_IFCONFIG0_READOC_READ4O (0x3UL) /*!< Quad data line SPI. READ4O (opcode 0x6B). */ 12333 #define QSPI_IFCONFIG0_READOC_READ4IO (0x4UL) /*!< Quad data line SPI. READ4IO (opcode 0xEB). */ 12334 12335 /* Register: QSPI_XIPEN */ 12336 /* Description: Enable Execute in Place operation. */ 12337 12338 /* Bit 0 : Enable XIP AHB Slave interface and access to XIP memory range */ 12339 #define QSPI_XIPEN_XIPEN_Pos (0UL) /*!< Position of XIPEN field. */ 12340 #define QSPI_XIPEN_XIPEN_Msk (0x1UL << QSPI_XIPEN_XIPEN_Pos) /*!< Bit mask of XIPEN field. */ 12341 #define QSPI_XIPEN_XIPEN_Disable (0x0UL) /*!< Disable XIP interface */ 12342 #define QSPI_XIPEN_XIPEN_Enable (0x1UL) /*!< Enable XIP interface */ 12343 12344 /* Register: QSPI_XIP_ENC_KEY0 */ 12345 /* Description: Bits 31:0 of XIP AES KEY */ 12346 12347 /* Bits 31..0 : Bits 31:0 of XIP AES KEY */ 12348 #define QSPI_XIP_ENC_KEY0_KEY0_Pos (0UL) /*!< Position of KEY0 field. */ 12349 #define QSPI_XIP_ENC_KEY0_KEY0_Msk (0xFFFFFFFFUL << QSPI_XIP_ENC_KEY0_KEY0_Pos) /*!< Bit mask of KEY0 field. */ 12350 12351 /* Register: QSPI_XIP_ENC_KEY1 */ 12352 /* Description: Bits 63:32 of XIP AES KEY */ 12353 12354 /* Bits 31..0 : Bits 63:32 of XIP AES KEY */ 12355 #define QSPI_XIP_ENC_KEY1_KEY1_Pos (0UL) /*!< Position of KEY1 field. */ 12356 #define QSPI_XIP_ENC_KEY1_KEY1_Msk (0xFFFFFFFFUL << QSPI_XIP_ENC_KEY1_KEY1_Pos) /*!< Bit mask of KEY1 field. */ 12357 12358 /* Register: QSPI_XIP_ENC_KEY2 */ 12359 /* Description: Bits 95:64 of XIP AES KEY */ 12360 12361 /* Bits 31..0 : Bits 95:64 of XIP AES KEY */ 12362 #define QSPI_XIP_ENC_KEY2_KEY2_Pos (0UL) /*!< Position of KEY2 field. */ 12363 #define QSPI_XIP_ENC_KEY2_KEY2_Msk (0xFFFFFFFFUL << QSPI_XIP_ENC_KEY2_KEY2_Pos) /*!< Bit mask of KEY2 field. */ 12364 12365 /* Register: QSPI_XIP_ENC_KEY3 */ 12366 /* Description: Bits 127:96 of XIP AES KEY */ 12367 12368 /* Bits 31..0 : Bits 127:96 of XIP AES KEY */ 12369 #define QSPI_XIP_ENC_KEY3_KEY3_Pos (0UL) /*!< Position of KEY3 field. */ 12370 #define QSPI_XIP_ENC_KEY3_KEY3_Msk (0xFFFFFFFFUL << QSPI_XIP_ENC_KEY3_KEY3_Pos) /*!< Bit mask of KEY3 field. */ 12371 12372 /* Register: QSPI_XIP_ENC_NONCE0 */ 12373 /* Description: Bits 31:0 of XIP NONCE */ 12374 12375 /* Bits 31..0 : Bits 31:0 of XIP NONCE */ 12376 #define QSPI_XIP_ENC_NONCE0_NONCE0_Pos (0UL) /*!< Position of NONCE0 field. */ 12377 #define QSPI_XIP_ENC_NONCE0_NONCE0_Msk (0xFFFFFFFFUL << QSPI_XIP_ENC_NONCE0_NONCE0_Pos) /*!< Bit mask of NONCE0 field. */ 12378 12379 /* Register: QSPI_XIP_ENC_NONCE1 */ 12380 /* Description: Bits 63:32 of XIP NONCE */ 12381 12382 /* Bits 31..0 : Bits 63:32 of XIP NONCE */ 12383 #define QSPI_XIP_ENC_NONCE1_NONCE1_Pos (0UL) /*!< Position of NONCE1 field. */ 12384 #define QSPI_XIP_ENC_NONCE1_NONCE1_Msk (0xFFFFFFFFUL << QSPI_XIP_ENC_NONCE1_NONCE1_Pos) /*!< Bit mask of NONCE1 field. */ 12385 12386 /* Register: QSPI_XIP_ENC_NONCE2 */ 12387 /* Description: Bits 95:64 of XIP NONCE */ 12388 12389 /* Bits 31..0 : Bits 95:64 of XIP NONCE */ 12390 #define QSPI_XIP_ENC_NONCE2_NONCE2_Pos (0UL) /*!< Position of NONCE2 field. */ 12391 #define QSPI_XIP_ENC_NONCE2_NONCE2_Msk (0xFFFFFFFFUL << QSPI_XIP_ENC_NONCE2_NONCE2_Pos) /*!< Bit mask of NONCE2 field. */ 12392 12393 /* Register: QSPI_XIP_ENC_ENABLE */ 12394 /* Description: Enable stream cipher for XIP */ 12395 12396 /* Bit 0 : Enable or disable stream cipher for XIP */ 12397 #define QSPI_XIP_ENC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 12398 #define QSPI_XIP_ENC_ENABLE_ENABLE_Msk (0x1UL << QSPI_XIP_ENC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 12399 #define QSPI_XIP_ENC_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable stream cipher for QSPI XIP */ 12400 #define QSPI_XIP_ENC_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable stream cipher for QSPI XIP */ 12401 12402 /* Register: QSPI_DMA_ENC_KEY0 */ 12403 /* Description: Bits 31:0 of DMA AES KEY */ 12404 12405 /* Bits 31..0 : Bits 31:0 of DMA AES KEY */ 12406 #define QSPI_DMA_ENC_KEY0_KEY0_Pos (0UL) /*!< Position of KEY0 field. */ 12407 #define QSPI_DMA_ENC_KEY0_KEY0_Msk (0xFFFFFFFFUL << QSPI_DMA_ENC_KEY0_KEY0_Pos) /*!< Bit mask of KEY0 field. */ 12408 12409 /* Register: QSPI_DMA_ENC_KEY1 */ 12410 /* Description: Bits 63:32 of DMA AES KEY */ 12411 12412 /* Bits 31..0 : Bits 63:32 of DMA AES KEY */ 12413 #define QSPI_DMA_ENC_KEY1_KEY1_Pos (0UL) /*!< Position of KEY1 field. */ 12414 #define QSPI_DMA_ENC_KEY1_KEY1_Msk (0xFFFFFFFFUL << QSPI_DMA_ENC_KEY1_KEY1_Pos) /*!< Bit mask of KEY1 field. */ 12415 12416 /* Register: QSPI_DMA_ENC_KEY2 */ 12417 /* Description: Bits 95:64 of DMA AES KEY */ 12418 12419 /* Bits 31..0 : Bits 95:64 of DMA AES KEY */ 12420 #define QSPI_DMA_ENC_KEY2_KEY2_Pos (0UL) /*!< Position of KEY2 field. */ 12421 #define QSPI_DMA_ENC_KEY2_KEY2_Msk (0xFFFFFFFFUL << QSPI_DMA_ENC_KEY2_KEY2_Pos) /*!< Bit mask of KEY2 field. */ 12422 12423 /* Register: QSPI_DMA_ENC_KEY3 */ 12424 /* Description: Bits 127:96 of DMA AES KEY */ 12425 12426 /* Bits 31..0 : Bits 127:96 of DMA AES KEY */ 12427 #define QSPI_DMA_ENC_KEY3_KEY3_Pos (0UL) /*!< Position of KEY3 field. */ 12428 #define QSPI_DMA_ENC_KEY3_KEY3_Msk (0xFFFFFFFFUL << QSPI_DMA_ENC_KEY3_KEY3_Pos) /*!< Bit mask of KEY3 field. */ 12429 12430 /* Register: QSPI_DMA_ENC_NONCE0 */ 12431 /* Description: Bits 31:0 of DMA NONCE */ 12432 12433 /* Bits 31..0 : Bits 31:0 of DMA NONCE */ 12434 #define QSPI_DMA_ENC_NONCE0_NONCE0_Pos (0UL) /*!< Position of NONCE0 field. */ 12435 #define QSPI_DMA_ENC_NONCE0_NONCE0_Msk (0xFFFFFFFFUL << QSPI_DMA_ENC_NONCE0_NONCE0_Pos) /*!< Bit mask of NONCE0 field. */ 12436 12437 /* Register: QSPI_DMA_ENC_NONCE1 */ 12438 /* Description: Bits 63:32 of DMA NONCE */ 12439 12440 /* Bits 31..0 : Bits 63:32 of DMA NONCE */ 12441 #define QSPI_DMA_ENC_NONCE1_NONCE1_Pos (0UL) /*!< Position of NONCE1 field. */ 12442 #define QSPI_DMA_ENC_NONCE1_NONCE1_Msk (0xFFFFFFFFUL << QSPI_DMA_ENC_NONCE1_NONCE1_Pos) /*!< Bit mask of NONCE1 field. */ 12443 12444 /* Register: QSPI_DMA_ENC_NONCE2 */ 12445 /* Description: Bits 95:64 of DMA NONCE */ 12446 12447 /* Bits 31..0 : Bits 95:64 of DMA NONCE */ 12448 #define QSPI_DMA_ENC_NONCE2_NONCE2_Pos (0UL) /*!< Position of NONCE2 field. */ 12449 #define QSPI_DMA_ENC_NONCE2_NONCE2_Msk (0xFFFFFFFFUL << QSPI_DMA_ENC_NONCE2_NONCE2_Pos) /*!< Bit mask of NONCE2 field. */ 12450 12451 /* Register: QSPI_DMA_ENC_ENABLE */ 12452 /* Description: Enable stream cipher for EasyDMA */ 12453 12454 /* Bit 0 : Enable or disable stream cipher for EasyDMA */ 12455 #define QSPI_DMA_ENC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 12456 #define QSPI_DMA_ENC_ENABLE_ENABLE_Msk (0x1UL << QSPI_DMA_ENC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 12457 #define QSPI_DMA_ENC_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable stream cipher for QSPI EasyDMA */ 12458 #define QSPI_DMA_ENC_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable stream cipher for QSPI EasyDMA */ 12459 12460 /* Register: QSPI_IFCONFIG1 */ 12461 /* Description: Interface configuration. */ 12462 12463 /* Bits 31..28 : SCK frequency is derived from PCLK192M with SCK frequency = PCLK192M / (2*(SCKFREQ + 1)). */ 12464 #define QSPI_IFCONFIG1_SCKFREQ_Pos (28UL) /*!< Position of SCKFREQ field. */ 12465 #define QSPI_IFCONFIG1_SCKFREQ_Msk (0xFUL << QSPI_IFCONFIG1_SCKFREQ_Pos) /*!< Bit mask of SCKFREQ field. */ 12466 12467 /* Bit 25 : Select SPI mode. */ 12468 #define QSPI_IFCONFIG1_SPIMODE_Pos (25UL) /*!< Position of SPIMODE field. */ 12469 #define QSPI_IFCONFIG1_SPIMODE_Msk (0x1UL << QSPI_IFCONFIG1_SPIMODE_Pos) /*!< Bit mask of SPIMODE field. */ 12470 #define QSPI_IFCONFIG1_SPIMODE_MODE0 (0x0UL) /*!< Mode 0: Data are captured on the clock rising edge and data is output on a falling edge. Base level of clock is 0 (CPOL=0, CPHA=0). */ 12471 #define QSPI_IFCONFIG1_SPIMODE_MODE3 (0x1UL) /*!< Mode 3: Data are captured on the clock rising edge and data is output on a falling edge. Base level of clock is 1 (CPOL=1, CPHA=1). */ 12472 12473 /* Bit 24 : Enter/exit deep power-down mode (DPM) for external flash memory. */ 12474 #define QSPI_IFCONFIG1_DPMEN_Pos (24UL) /*!< Position of DPMEN field. */ 12475 #define QSPI_IFCONFIG1_DPMEN_Msk (0x1UL << QSPI_IFCONFIG1_DPMEN_Pos) /*!< Bit mask of DPMEN field. */ 12476 #define QSPI_IFCONFIG1_DPMEN_Exit (0x0UL) /*!< Exit DPM. */ 12477 #define QSPI_IFCONFIG1_DPMEN_Enter (0x1UL) /*!< Enter DPM. */ 12478 12479 /* Bits 7..0 : Minimum amount of time that the CSN pin must stay high before it can go low again. Value is specified in number of 32 MHz periods (31.25 ns). */ 12480 #define QSPI_IFCONFIG1_SCKDELAY_Pos (0UL) /*!< Position of SCKDELAY field. */ 12481 #define QSPI_IFCONFIG1_SCKDELAY_Msk (0xFFUL << QSPI_IFCONFIG1_SCKDELAY_Pos) /*!< Bit mask of SCKDELAY field. */ 12482 12483 /* Register: QSPI_STATUS */ 12484 /* Description: Status register. */ 12485 12486 /* Bits 31..24 : Value of external flash device Status Register. When the external flash has two bytes status register this field includes the value of the low byte. */ 12487 #define QSPI_STATUS_SREG_Pos (24UL) /*!< Position of SREG field. */ 12488 #define QSPI_STATUS_SREG_Msk (0xFFUL << QSPI_STATUS_SREG_Pos) /*!< Bit mask of SREG field. */ 12489 12490 /* Bit 3 : Ready status. */ 12491 #define QSPI_STATUS_READY_Pos (3UL) /*!< Position of READY field. */ 12492 #define QSPI_STATUS_READY_Msk (0x1UL << QSPI_STATUS_READY_Pos) /*!< Bit mask of READY field. */ 12493 #define QSPI_STATUS_READY_BUSY (0x0UL) /*!< QSPI peripheral is busy. It is not allowed to trigger any new tasks, writing custom instructions or enter/exit DPM. */ 12494 #define QSPI_STATUS_READY_READY (0x1UL) /*!< QSPI peripheral is ready. It is allowed to trigger new tasks, writing custom instructions or enter/exit DPM. */ 12495 12496 /* Bit 2 : Deep power-down mode (DPM) status of external flash. */ 12497 #define QSPI_STATUS_DPM_Pos (2UL) /*!< Position of DPM field. */ 12498 #define QSPI_STATUS_DPM_Msk (0x1UL << QSPI_STATUS_DPM_Pos) /*!< Bit mask of DPM field. */ 12499 #define QSPI_STATUS_DPM_Disabled (0x0UL) /*!< External flash is not in DPM. */ 12500 #define QSPI_STATUS_DPM_Enabled (0x1UL) /*!< External flash is in DPM. */ 12501 12502 /* Register: QSPI_DPMDUR */ 12503 /* Description: Set the duration required to enter/exit deep power-down mode (DPM). */ 12504 12505 /* Bits 31..16 : Duration needed by external flash to exit DPM. Duration is given as EXIT * 256 * 31.25 ns. */ 12506 #define QSPI_DPMDUR_EXIT_Pos (16UL) /*!< Position of EXIT field. */ 12507 #define QSPI_DPMDUR_EXIT_Msk (0xFFFFUL << QSPI_DPMDUR_EXIT_Pos) /*!< Bit mask of EXIT field. */ 12508 12509 /* Bits 15..0 : Duration needed by external flash to enter DPM. Duration is given as ENTER * 256 * 31.25 ns */ 12510 #define QSPI_DPMDUR_ENTER_Pos (0UL) /*!< Position of ENTER field. */ 12511 #define QSPI_DPMDUR_ENTER_Msk (0xFFFFUL << QSPI_DPMDUR_ENTER_Pos) /*!< Bit mask of ENTER field. */ 12512 12513 /* Register: QSPI_ADDRCONF */ 12514 /* Description: Extended address configuration. */ 12515 12516 /* Bit 27 : Send WREN (write enable opcode 0x06) before instruction. */ 12517 #define QSPI_ADDRCONF_WREN_Pos (27UL) /*!< Position of WREN field. */ 12518 #define QSPI_ADDRCONF_WREN_Msk (0x1UL << QSPI_ADDRCONF_WREN_Pos) /*!< Bit mask of WREN field. */ 12519 #define QSPI_ADDRCONF_WREN_Disable (0x0UL) /*!< Do not send WREN. */ 12520 #define QSPI_ADDRCONF_WREN_Enable (0x1UL) /*!< Send WREN. */ 12521 12522 /* Bit 26 : Wait for write complete before sending command. */ 12523 #define QSPI_ADDRCONF_WIPWAIT_Pos (26UL) /*!< Position of WIPWAIT field. */ 12524 #define QSPI_ADDRCONF_WIPWAIT_Msk (0x1UL << QSPI_ADDRCONF_WIPWAIT_Pos) /*!< Bit mask of WIPWAIT field. */ 12525 #define QSPI_ADDRCONF_WIPWAIT_Disable (0x0UL) /*!< No wait. */ 12526 #define QSPI_ADDRCONF_WIPWAIT_Enable (0x1UL) /*!< Wait. */ 12527 12528 /* Bits 25..24 : Extended addressing mode. */ 12529 #define QSPI_ADDRCONF_MODE_Pos (24UL) /*!< Position of MODE field. */ 12530 #define QSPI_ADDRCONF_MODE_Msk (0x3UL << QSPI_ADDRCONF_MODE_Pos) /*!< Bit mask of MODE field. */ 12531 #define QSPI_ADDRCONF_MODE_NoInstr (0x0UL) /*!< Do not send any instruction. */ 12532 #define QSPI_ADDRCONF_MODE_Opcode (0x1UL) /*!< Send opcode. */ 12533 #define QSPI_ADDRCONF_MODE_OpByte0 (0x2UL) /*!< Send opcode, BYTE0. */ 12534 #define QSPI_ADDRCONF_MODE_All (0x3UL) /*!< Send opcode, BYTE0, BYTE1. */ 12535 12536 /* Bits 23..16 : Byte 1 following byte 0. */ 12537 #define QSPI_ADDRCONF_BYTE1_Pos (16UL) /*!< Position of BYTE1 field. */ 12538 #define QSPI_ADDRCONF_BYTE1_Msk (0xFFUL << QSPI_ADDRCONF_BYTE1_Pos) /*!< Bit mask of BYTE1 field. */ 12539 12540 /* Bits 15..8 : Byte 0 following opcode. */ 12541 #define QSPI_ADDRCONF_BYTE0_Pos (8UL) /*!< Position of BYTE0 field. */ 12542 #define QSPI_ADDRCONF_BYTE0_Msk (0xFFUL << QSPI_ADDRCONF_BYTE0_Pos) /*!< Bit mask of BYTE0 field. */ 12543 12544 /* Bits 7..0 : Opcode that enters the 32-bit addressing mode. */ 12545 #define QSPI_ADDRCONF_OPCODE_Pos (0UL) /*!< Position of OPCODE field. */ 12546 #define QSPI_ADDRCONF_OPCODE_Msk (0xFFUL << QSPI_ADDRCONF_OPCODE_Pos) /*!< Bit mask of OPCODE field. */ 12547 12548 /* Register: QSPI_CINSTRCONF */ 12549 /* Description: Custom instruction configuration register. */ 12550 12551 /* Bit 17 : Stop (finalize) long frame transaction */ 12552 #define QSPI_CINSTRCONF_LFSTOP_Pos (17UL) /*!< Position of LFSTOP field. */ 12553 #define QSPI_CINSTRCONF_LFSTOP_Msk (0x1UL << QSPI_CINSTRCONF_LFSTOP_Pos) /*!< Bit mask of LFSTOP field. */ 12554 #define QSPI_CINSTRCONF_LFSTOP_Stop (0x1UL) /*!< Stop */ 12555 12556 /* Bit 16 : Enable Long frame mode. When enabled, a custom instruction transaction has to be ended by writing the LFSTOP field. */ 12557 #define QSPI_CINSTRCONF_LFEN_Pos (16UL) /*!< Position of LFEN field. */ 12558 #define QSPI_CINSTRCONF_LFEN_Msk (0x1UL << QSPI_CINSTRCONF_LFEN_Pos) /*!< Bit mask of LFEN field. */ 12559 #define QSPI_CINSTRCONF_LFEN_Disable (0x0UL) /*!< Long frame mode disabled */ 12560 #define QSPI_CINSTRCONF_LFEN_Enable (0x1UL) /*!< Long frame mode enabled */ 12561 12562 /* Bit 15 : Send WREN (write enable opcode 0x06) before instruction. */ 12563 #define QSPI_CINSTRCONF_WREN_Pos (15UL) /*!< Position of WREN field. */ 12564 #define QSPI_CINSTRCONF_WREN_Msk (0x1UL << QSPI_CINSTRCONF_WREN_Pos) /*!< Bit mask of WREN field. */ 12565 #define QSPI_CINSTRCONF_WREN_Disable (0x0UL) /*!< Do not send WREN. */ 12566 #define QSPI_CINSTRCONF_WREN_Enable (0x1UL) /*!< Send WREN. */ 12567 12568 /* Bit 14 : Wait for write complete before sending command. */ 12569 #define QSPI_CINSTRCONF_WIPWAIT_Pos (14UL) /*!< Position of WIPWAIT field. */ 12570 #define QSPI_CINSTRCONF_WIPWAIT_Msk (0x1UL << QSPI_CINSTRCONF_WIPWAIT_Pos) /*!< Bit mask of WIPWAIT field. */ 12571 #define QSPI_CINSTRCONF_WIPWAIT_Disable (0x0UL) /*!< No wait. */ 12572 #define QSPI_CINSTRCONF_WIPWAIT_Enable (0x1UL) /*!< Wait. */ 12573 12574 /* Bit 13 : Level of the IO3 pin (if connected) during transmission of custom instruction. */ 12575 #define QSPI_CINSTRCONF_LIO3_Pos (13UL) /*!< Position of LIO3 field. */ 12576 #define QSPI_CINSTRCONF_LIO3_Msk (0x1UL << QSPI_CINSTRCONF_LIO3_Pos) /*!< Bit mask of LIO3 field. */ 12577 12578 /* Bit 12 : Level of the IO2 pin (if connected) during transmission of custom instruction. */ 12579 #define QSPI_CINSTRCONF_LIO2_Pos (12UL) /*!< Position of LIO2 field. */ 12580 #define QSPI_CINSTRCONF_LIO2_Msk (0x1UL << QSPI_CINSTRCONF_LIO2_Pos) /*!< Bit mask of LIO2 field. */ 12581 12582 /* Bits 11..8 : Length of custom instruction in number of bytes. */ 12583 #define QSPI_CINSTRCONF_LENGTH_Pos (8UL) /*!< Position of LENGTH field. */ 12584 #define QSPI_CINSTRCONF_LENGTH_Msk (0xFUL << QSPI_CINSTRCONF_LENGTH_Pos) /*!< Bit mask of LENGTH field. */ 12585 #define QSPI_CINSTRCONF_LENGTH_1B (0x1UL) /*!< Send opcode only. */ 12586 #define QSPI_CINSTRCONF_LENGTH_2B (0x2UL) /*!< Send opcode, CINSTRDAT0.BYTE0. */ 12587 #define QSPI_CINSTRCONF_LENGTH_3B (0x3UL) /*!< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE1. */ 12588 #define QSPI_CINSTRCONF_LENGTH_4B (0x4UL) /*!< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE2. */ 12589 #define QSPI_CINSTRCONF_LENGTH_5B (0x5UL) /*!< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE3. */ 12590 #define QSPI_CINSTRCONF_LENGTH_6B (0x6UL) /*!< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE4. */ 12591 #define QSPI_CINSTRCONF_LENGTH_7B (0x7UL) /*!< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE5. */ 12592 #define QSPI_CINSTRCONF_LENGTH_8B (0x8UL) /*!< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE6. */ 12593 #define QSPI_CINSTRCONF_LENGTH_9B (0x9UL) /*!< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE7. */ 12594 12595 /* Bits 7..0 : Opcode of Custom instruction. */ 12596 #define QSPI_CINSTRCONF_OPCODE_Pos (0UL) /*!< Position of OPCODE field. */ 12597 #define QSPI_CINSTRCONF_OPCODE_Msk (0xFFUL << QSPI_CINSTRCONF_OPCODE_Pos) /*!< Bit mask of OPCODE field. */ 12598 12599 /* Register: QSPI_CINSTRDAT0 */ 12600 /* Description: Custom instruction data register 0. */ 12601 12602 /* Bits 31..24 : Data byte 3 */ 12603 #define QSPI_CINSTRDAT0_BYTE3_Pos (24UL) /*!< Position of BYTE3 field. */ 12604 #define QSPI_CINSTRDAT0_BYTE3_Msk (0xFFUL << QSPI_CINSTRDAT0_BYTE3_Pos) /*!< Bit mask of BYTE3 field. */ 12605 12606 /* Bits 23..16 : Data byte 2 */ 12607 #define QSPI_CINSTRDAT0_BYTE2_Pos (16UL) /*!< Position of BYTE2 field. */ 12608 #define QSPI_CINSTRDAT0_BYTE2_Msk (0xFFUL << QSPI_CINSTRDAT0_BYTE2_Pos) /*!< Bit mask of BYTE2 field. */ 12609 12610 /* Bits 15..8 : Data byte 1 */ 12611 #define QSPI_CINSTRDAT0_BYTE1_Pos (8UL) /*!< Position of BYTE1 field. */ 12612 #define QSPI_CINSTRDAT0_BYTE1_Msk (0xFFUL << QSPI_CINSTRDAT0_BYTE1_Pos) /*!< Bit mask of BYTE1 field. */ 12613 12614 /* Bits 7..0 : Data byte 0 */ 12615 #define QSPI_CINSTRDAT0_BYTE0_Pos (0UL) /*!< Position of BYTE0 field. */ 12616 #define QSPI_CINSTRDAT0_BYTE0_Msk (0xFFUL << QSPI_CINSTRDAT0_BYTE0_Pos) /*!< Bit mask of BYTE0 field. */ 12617 12618 /* Register: QSPI_CINSTRDAT1 */ 12619 /* Description: Custom instruction data register 1. */ 12620 12621 /* Bits 31..24 : Data byte 7 */ 12622 #define QSPI_CINSTRDAT1_BYTE7_Pos (24UL) /*!< Position of BYTE7 field. */ 12623 #define QSPI_CINSTRDAT1_BYTE7_Msk (0xFFUL << QSPI_CINSTRDAT1_BYTE7_Pos) /*!< Bit mask of BYTE7 field. */ 12624 12625 /* Bits 23..16 : Data byte 6 */ 12626 #define QSPI_CINSTRDAT1_BYTE6_Pos (16UL) /*!< Position of BYTE6 field. */ 12627 #define QSPI_CINSTRDAT1_BYTE6_Msk (0xFFUL << QSPI_CINSTRDAT1_BYTE6_Pos) /*!< Bit mask of BYTE6 field. */ 12628 12629 /* Bits 15..8 : Data byte 5 */ 12630 #define QSPI_CINSTRDAT1_BYTE5_Pos (8UL) /*!< Position of BYTE5 field. */ 12631 #define QSPI_CINSTRDAT1_BYTE5_Msk (0xFFUL << QSPI_CINSTRDAT1_BYTE5_Pos) /*!< Bit mask of BYTE5 field. */ 12632 12633 /* Bits 7..0 : Data byte 4 */ 12634 #define QSPI_CINSTRDAT1_BYTE4_Pos (0UL) /*!< Position of BYTE4 field. */ 12635 #define QSPI_CINSTRDAT1_BYTE4_Msk (0xFFUL << QSPI_CINSTRDAT1_BYTE4_Pos) /*!< Bit mask of BYTE4 field. */ 12636 12637 /* Register: QSPI_IFTIMING */ 12638 /* Description: SPI interface timing. */ 12639 12640 /* Bits 10..8 : Timing related to sampling of the input serial data. The value of RXDELAY specifies the number of prescaled 192 MHz cycles delay from the the rising edge of the SPI Clock (SCK) until the input serial data is sampled. For example, if RXDELAY is set to 0, the input serial data is sampled on the rising edge of SCK. */ 12641 #define QSPI_IFTIMING_RXDELAY_Pos (8UL) /*!< Position of RXDELAY field. */ 12642 #define QSPI_IFTIMING_RXDELAY_Msk (0x7UL << QSPI_IFTIMING_RXDELAY_Pos) /*!< Bit mask of RXDELAY field. */ 12643 12644 12645 /* Peripheral: REGULATORS */ 12646 /* Description: Voltage regulators 0 */ 12647 12648 /* Register: REGULATORS_MAINREGSTATUS */ 12649 /* Description: Main supply status */ 12650 12651 /* Bit 0 : VREGH status */ 12652 #define REGULATORS_MAINREGSTATUS_VREGH_Pos (0UL) /*!< Position of VREGH field. */ 12653 #define REGULATORS_MAINREGSTATUS_VREGH_Msk (0x1UL << REGULATORS_MAINREGSTATUS_VREGH_Pos) /*!< Bit mask of VREGH field. */ 12654 #define REGULATORS_MAINREGSTATUS_VREGH_Inactive (0x0UL) /*!< Normal voltage mode. Voltage supplied on VDD and VDDH. */ 12655 #define REGULATORS_MAINREGSTATUS_VREGH_Active (0x1UL) /*!< High voltage mode. Voltage supplied on VDDH. */ 12656 12657 /* Register: REGULATORS_SYSTEMOFF */ 12658 /* Description: System OFF register */ 12659 12660 /* Bit 0 : Enable System OFF mode */ 12661 #define REGULATORS_SYSTEMOFF_SYSTEMOFF_Pos (0UL) /*!< Position of SYSTEMOFF field. */ 12662 #define REGULATORS_SYSTEMOFF_SYSTEMOFF_Msk (0x1UL << REGULATORS_SYSTEMOFF_SYSTEMOFF_Pos) /*!< Bit mask of SYSTEMOFF field. */ 12663 #define REGULATORS_SYSTEMOFF_SYSTEMOFF_Enter (0x1UL) /*!< Enable System OFF mode */ 12664 12665 /* Register: REGULATORS_POFCON */ 12666 /* Description: Power-fail comparator configuration */ 12667 12668 /* Bits 11..8 : Power-fail comparator threshold setting for voltage supply on VDDH */ 12669 #define REGULATORS_POFCON_THRESHOLDVDDH_Pos (8UL) /*!< Position of THRESHOLDVDDH field. */ 12670 #define REGULATORS_POFCON_THRESHOLDVDDH_Msk (0xFUL << REGULATORS_POFCON_THRESHOLDVDDH_Pos) /*!< Bit mask of THRESHOLDVDDH field. */ 12671 #define REGULATORS_POFCON_THRESHOLDVDDH_V27 (0x0UL) /*!< Set threshold to 2.7 V */ 12672 #define REGULATORS_POFCON_THRESHOLDVDDH_V28 (0x1UL) /*!< Set threshold to 2.8 V */ 12673 #define REGULATORS_POFCON_THRESHOLDVDDH_V29 (0x2UL) /*!< Set threshold to 2.9 V */ 12674 #define REGULATORS_POFCON_THRESHOLDVDDH_V30 (0x3UL) /*!< Set threshold to 3.0 V */ 12675 #define REGULATORS_POFCON_THRESHOLDVDDH_V31 (0x4UL) /*!< Set threshold to 3.1 V */ 12676 #define REGULATORS_POFCON_THRESHOLDVDDH_V32 (0x5UL) /*!< Set threshold to 3.2 V */ 12677 #define REGULATORS_POFCON_THRESHOLDVDDH_V33 (0x6UL) /*!< Set threshold to 3.3 V */ 12678 #define REGULATORS_POFCON_THRESHOLDVDDH_V34 (0x7UL) /*!< Set threshold to 3.4 V */ 12679 #define REGULATORS_POFCON_THRESHOLDVDDH_V35 (0x8UL) /*!< Set threshold to 3.5 V */ 12680 #define REGULATORS_POFCON_THRESHOLDVDDH_V36 (0x9UL) /*!< Set threshold to 3.6 V */ 12681 #define REGULATORS_POFCON_THRESHOLDVDDH_V37 (0xAUL) /*!< Set threshold to 3.7 V */ 12682 #define REGULATORS_POFCON_THRESHOLDVDDH_V38 (0xBUL) /*!< Set threshold to 3.8 V */ 12683 #define REGULATORS_POFCON_THRESHOLDVDDH_V39 (0xCUL) /*!< Set threshold to 3.9 V */ 12684 #define REGULATORS_POFCON_THRESHOLDVDDH_V40 (0xDUL) /*!< Set threshold to 4.0 V */ 12685 #define REGULATORS_POFCON_THRESHOLDVDDH_V41 (0xEUL) /*!< Set threshold to 4.1 V */ 12686 #define REGULATORS_POFCON_THRESHOLDVDDH_V42 (0xFUL) /*!< Set threshold to 4.2 V */ 12687 12688 /* Bits 4..1 : Power-fail comparator threshold setting */ 12689 #define REGULATORS_POFCON_THRESHOLD_Pos (1UL) /*!< Position of THRESHOLD field. */ 12690 #define REGULATORS_POFCON_THRESHOLD_Msk (0xFUL << REGULATORS_POFCON_THRESHOLD_Pos) /*!< Bit mask of THRESHOLD field. */ 12691 #define REGULATORS_POFCON_THRESHOLD_V19 (0x6UL) /*!< Set threshold to 1.9 V */ 12692 #define REGULATORS_POFCON_THRESHOLD_V20 (0x7UL) /*!< Set threshold to 2.0 V */ 12693 #define REGULATORS_POFCON_THRESHOLD_V21 (0x8UL) /*!< Set threshold to 2.1 V */ 12694 #define REGULATORS_POFCON_THRESHOLD_V22 (0x9UL) /*!< Set threshold to 2.2 V */ 12695 #define REGULATORS_POFCON_THRESHOLD_V23 (0xAUL) /*!< Set threshold to 2.3 V */ 12696 #define REGULATORS_POFCON_THRESHOLD_V24 (0xBUL) /*!< Set threshold to 2.4 V */ 12697 #define REGULATORS_POFCON_THRESHOLD_V25 (0xCUL) /*!< Set threshold to 2.5 V */ 12698 #define REGULATORS_POFCON_THRESHOLD_V26 (0xDUL) /*!< Set threshold to 2.6 V */ 12699 #define REGULATORS_POFCON_THRESHOLD_V27 (0xEUL) /*!< Set threshold to 2.7 V */ 12700 #define REGULATORS_POFCON_THRESHOLD_V28 (0xFUL) /*!< Set threshold to 2.8 V */ 12701 12702 /* Bit 0 : Enable or disable power-fail comparator */ 12703 #define REGULATORS_POFCON_POF_Pos (0UL) /*!< Position of POF field. */ 12704 #define REGULATORS_POFCON_POF_Msk (0x1UL << REGULATORS_POFCON_POF_Pos) /*!< Bit mask of POF field. */ 12705 #define REGULATORS_POFCON_POF_Disabled (0x0UL) /*!< Disable */ 12706 #define REGULATORS_POFCON_POF_Enabled (0x1UL) /*!< Enable */ 12707 12708 /* Register: REGULATORS_VREGMAIN_DCDCEN */ 12709 /* Description: DC/DC enable register for VREGMAIN */ 12710 12711 /* Bit 0 : Enable or disable DC/DC converter */ 12712 #define REGULATORS_VREGMAIN_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */ 12713 #define REGULATORS_VREGMAIN_DCDCEN_DCDCEN_Msk (0x1UL << REGULATORS_VREGMAIN_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */ 12714 #define REGULATORS_VREGMAIN_DCDCEN_DCDCEN_Disabled (0x0UL) /*!< Disable */ 12715 #define REGULATORS_VREGMAIN_DCDCEN_DCDCEN_Enabled (0x1UL) /*!< Enable */ 12716 12717 /* Register: REGULATORS_VREGRADIO_DCDCEN */ 12718 /* Description: DC/DC enable register for VREGRADIO */ 12719 12720 /* Bit 0 : Enable or disable DC/DC converter */ 12721 #define REGULATORS_VREGRADIO_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */ 12722 #define REGULATORS_VREGRADIO_DCDCEN_DCDCEN_Msk (0x1UL << REGULATORS_VREGRADIO_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */ 12723 #define REGULATORS_VREGRADIO_DCDCEN_DCDCEN_Disabled (0x0UL) /*!< Disable */ 12724 #define REGULATORS_VREGRADIO_DCDCEN_DCDCEN_Enabled (0x1UL) /*!< Enable */ 12725 12726 /* Register: REGULATORS_VREGH_DCDCEN */ 12727 /* Description: DC/DC enable register for VREGH */ 12728 12729 /* Bit 0 : Enable or disable DC/DC converter */ 12730 #define REGULATORS_VREGH_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */ 12731 #define REGULATORS_VREGH_DCDCEN_DCDCEN_Msk (0x1UL << REGULATORS_VREGH_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */ 12732 #define REGULATORS_VREGH_DCDCEN_DCDCEN_Disabled (0x0UL) /*!< Disable */ 12733 #define REGULATORS_VREGH_DCDCEN_DCDCEN_Enabled (0x1UL) /*!< Enable */ 12734 12735 /* Register: REGULATORS_VREGH_EXTSILENTEN */ 12736 /* Description: When VREGH is in DC/DC mode, enable VREGH silent mode to supply external components from VDD. Silent mode has lower voltage ripple. Silent mode is used when DC/DC is enabled, and is ignored in LDO mode. Disabling silent mode reduces current consumption in sleep. */ 12737 12738 /* Bit 0 : Enable silent external DC/DC supply */ 12739 #define REGULATORS_VREGH_EXTSILENTEN_EXTSILENTEN_Pos (0UL) /*!< Position of EXTSILENTEN field. */ 12740 #define REGULATORS_VREGH_EXTSILENTEN_EXTSILENTEN_Msk (0x1UL << REGULATORS_VREGH_EXTSILENTEN_EXTSILENTEN_Pos) /*!< Bit mask of EXTSILENTEN field. */ 12741 #define REGULATORS_VREGH_EXTSILENTEN_EXTSILENTEN_Disabled (0x0UL) /*!< Disable */ 12742 #define REGULATORS_VREGH_EXTSILENTEN_EXTSILENTEN_Enabled (0x1UL) /*!< Enable */ 12743 12744 12745 /* Peripheral: RESET */ 12746 /* Description: Reset control 0 */ 12747 12748 /* Register: RESET_RESETREAS */ 12749 /* Description: Reset reason */ 12750 12751 /* Bit 26 : Reset after wakeup from System OFF mode due to VBUS rising into valid range */ 12752 #define RESET_RESETREAS_VBUS_Pos (26UL) /*!< Position of VBUS field. */ 12753 #define RESET_RESETREAS_VBUS_Msk (0x1UL << RESET_RESETREAS_VBUS_Pos) /*!< Bit mask of VBUS field. */ 12754 #define RESET_RESETREAS_VBUS_NotDetected (0x0UL) /*!< Not detected */ 12755 #define RESET_RESETREAS_VBUS_Detected (0x1UL) /*!< Detected */ 12756 12757 /* Bit 25 : Reset from application watchdog timer 1 detected */ 12758 #define RESET_RESETREAS_DOG1_Pos (25UL) /*!< Position of DOG1 field. */ 12759 #define RESET_RESETREAS_DOG1_Msk (0x1UL << RESET_RESETREAS_DOG1_Pos) /*!< Bit mask of DOG1 field. */ 12760 #define RESET_RESETREAS_DOG1_NotDetected (0x0UL) /*!< Not detected */ 12761 #define RESET_RESETREAS_DOG1_Detected (0x1UL) /*!< Detected */ 12762 12763 /* Bit 24 : Reset after wakeup from System OFF mode due to NFC field being detected */ 12764 #define RESET_RESETREAS_NFC_Pos (24UL) /*!< Position of NFC field. */ 12765 #define RESET_RESETREAS_NFC_Msk (0x1UL << RESET_RESETREAS_NFC_Pos) /*!< Bit mask of NFC field. */ 12766 #define RESET_RESETREAS_NFC_NotDetected (0x0UL) /*!< Not detected */ 12767 #define RESET_RESETREAS_NFC_Detected (0x1UL) /*!< Detected */ 12768 12769 /* Bit 7 : Reset due to wakeup from System OFF mode when wakeup is triggered by entering the Debug Interface mode */ 12770 #define RESET_RESETREAS_DIF_Pos (7UL) /*!< Position of DIF field. */ 12771 #define RESET_RESETREAS_DIF_Msk (0x1UL << RESET_RESETREAS_DIF_Pos) /*!< Bit mask of DIF field. */ 12772 #define RESET_RESETREAS_DIF_NotDetected (0x0UL) /*!< Not detected */ 12773 #define RESET_RESETREAS_DIF_Detected (0x1UL) /*!< Detected */ 12774 12775 /* Bit 6 : Reset due to wakeup from System OFF mode when wakeup is triggered by ANADETECT signal from LPCOMP */ 12776 #define RESET_RESETREAS_LPCOMP_Pos (6UL) /*!< Position of LPCOMP field. */ 12777 #define RESET_RESETREAS_LPCOMP_Msk (0x1UL << RESET_RESETREAS_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */ 12778 #define RESET_RESETREAS_LPCOMP_NotDetected (0x0UL) /*!< Not detected */ 12779 #define RESET_RESETREAS_LPCOMP_Detected (0x1UL) /*!< Detected */ 12780 12781 /* Bit 5 : Reset due to wakeup from System OFF mode when wakeup is triggered by DETECT signal from GPIO */ 12782 #define RESET_RESETREAS_OFF_Pos (5UL) /*!< Position of OFF field. */ 12783 #define RESET_RESETREAS_OFF_Msk (0x1UL << RESET_RESETREAS_OFF_Pos) /*!< Bit mask of OFF field. */ 12784 #define RESET_RESETREAS_OFF_NotDetected (0x0UL) /*!< Not detected */ 12785 #define RESET_RESETREAS_OFF_Detected (0x1UL) /*!< Detected */ 12786 12787 /* Bit 4 : Reset from application CPU lockup detected */ 12788 #define RESET_RESETREAS_LOCKUP_Pos (4UL) /*!< Position of LOCKUP field. */ 12789 #define RESET_RESETREAS_LOCKUP_Msk (0x1UL << RESET_RESETREAS_LOCKUP_Pos) /*!< Bit mask of LOCKUP field. */ 12790 #define RESET_RESETREAS_LOCKUP_NotDetected (0x0UL) /*!< Not detected */ 12791 #define RESET_RESETREAS_LOCKUP_Detected (0x1UL) /*!< Detected */ 12792 12793 /* Bit 3 : Reset from application soft reset detected */ 12794 #define RESET_RESETREAS_SREQ_Pos (3UL) /*!< Position of SREQ field. */ 12795 #define RESET_RESETREAS_SREQ_Msk (0x1UL << RESET_RESETREAS_SREQ_Pos) /*!< Bit mask of SREQ field. */ 12796 #define RESET_RESETREAS_SREQ_NotDetected (0x0UL) /*!< Not detected */ 12797 #define RESET_RESETREAS_SREQ_Detected (0x1UL) /*!< Detected */ 12798 12799 /* Bit 2 : Reset from application CTRL-AP detected */ 12800 #define RESET_RESETREAS_CTRLAP_Pos (2UL) /*!< Position of CTRLAP field. */ 12801 #define RESET_RESETREAS_CTRLAP_Msk (0x1UL << RESET_RESETREAS_CTRLAP_Pos) /*!< Bit mask of CTRLAP field. */ 12802 #define RESET_RESETREAS_CTRLAP_NotDetected (0x0UL) /*!< Not detected */ 12803 #define RESET_RESETREAS_CTRLAP_Detected (0x1UL) /*!< Detected */ 12804 12805 /* Bit 1 : Reset from application watchdog timer 0 detected */ 12806 #define RESET_RESETREAS_DOG0_Pos (1UL) /*!< Position of DOG0 field. */ 12807 #define RESET_RESETREAS_DOG0_Msk (0x1UL << RESET_RESETREAS_DOG0_Pos) /*!< Bit mask of DOG0 field. */ 12808 #define RESET_RESETREAS_DOG0_NotDetected (0x0UL) /*!< Not detected */ 12809 #define RESET_RESETREAS_DOG0_Detected (0x1UL) /*!< Detected */ 12810 12811 /* Bit 0 : Reset from pin reset detected */ 12812 #define RESET_RESETREAS_RESETPIN_Pos (0UL) /*!< Position of RESETPIN field. */ 12813 #define RESET_RESETREAS_RESETPIN_Msk (0x1UL << RESET_RESETREAS_RESETPIN_Pos) /*!< Bit mask of RESETPIN field. */ 12814 #define RESET_RESETREAS_RESETPIN_NotDetected (0x0UL) /*!< Not detected */ 12815 #define RESET_RESETREAS_RESETPIN_Detected (0x1UL) /*!< Detected */ 12816 12817 /* Register: RESET_NETWORK_FORCEOFF */ 12818 /* Description: Force network core off */ 12819 12820 /* Bit 0 : Force network core off */ 12821 #define RESET_NETWORK_FORCEOFF_FORCEOFF_Pos (0UL) /*!< Position of FORCEOFF field. */ 12822 #define RESET_NETWORK_FORCEOFF_FORCEOFF_Msk (0x1UL << RESET_NETWORK_FORCEOFF_FORCEOFF_Pos) /*!< Bit mask of FORCEOFF field. */ 12823 #define RESET_NETWORK_FORCEOFF_FORCEOFF_Release (0x0UL) /*!< Release Force-OFF */ 12824 #define RESET_NETWORK_FORCEOFF_FORCEOFF_Hold (0x1UL) /*!< Hold Force-OFF */ 12825 12826 12827 /* Peripheral: RTC */ 12828 /* Description: Real-time counter 0 */ 12829 12830 /* Register: RTC_TASKS_START */ 12831 /* Description: Start RTC counter */ 12832 12833 /* Bit 0 : Start RTC counter */ 12834 #define RTC_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 12835 #define RTC_TASKS_START_TASKS_START_Msk (0x1UL << RTC_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 12836 #define RTC_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 12837 12838 /* Register: RTC_TASKS_STOP */ 12839 /* Description: Stop RTC counter */ 12840 12841 /* Bit 0 : Stop RTC counter */ 12842 #define RTC_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 12843 #define RTC_TASKS_STOP_TASKS_STOP_Msk (0x1UL << RTC_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 12844 #define RTC_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 12845 12846 /* Register: RTC_TASKS_CLEAR */ 12847 /* Description: Clear RTC counter */ 12848 12849 /* Bit 0 : Clear RTC counter */ 12850 #define RTC_TASKS_CLEAR_TASKS_CLEAR_Pos (0UL) /*!< Position of TASKS_CLEAR field. */ 12851 #define RTC_TASKS_CLEAR_TASKS_CLEAR_Msk (0x1UL << RTC_TASKS_CLEAR_TASKS_CLEAR_Pos) /*!< Bit mask of TASKS_CLEAR field. */ 12852 #define RTC_TASKS_CLEAR_TASKS_CLEAR_Trigger (0x1UL) /*!< Trigger task */ 12853 12854 /* Register: RTC_TASKS_TRIGOVRFLW */ 12855 /* Description: Set counter to 0xFFFFF0 */ 12856 12857 /* Bit 0 : Set counter to 0xFFFFF0 */ 12858 #define RTC_TASKS_TRIGOVRFLW_TASKS_TRIGOVRFLW_Pos (0UL) /*!< Position of TASKS_TRIGOVRFLW field. */ 12859 #define RTC_TASKS_TRIGOVRFLW_TASKS_TRIGOVRFLW_Msk (0x1UL << RTC_TASKS_TRIGOVRFLW_TASKS_TRIGOVRFLW_Pos) /*!< Bit mask of TASKS_TRIGOVRFLW field. */ 12860 #define RTC_TASKS_TRIGOVRFLW_TASKS_TRIGOVRFLW_Trigger (0x1UL) /*!< Trigger task */ 12861 12862 /* Register: RTC_TASKS_CAPTURE */ 12863 /* Description: Description collection: Capture RTC counter to CC[n] register */ 12864 12865 /* Bit 0 : Capture RTC counter to CC[n] register */ 12866 #define RTC_TASKS_CAPTURE_TASKS_CAPTURE_Pos (0UL) /*!< Position of TASKS_CAPTURE field. */ 12867 #define RTC_TASKS_CAPTURE_TASKS_CAPTURE_Msk (0x1UL << RTC_TASKS_CAPTURE_TASKS_CAPTURE_Pos) /*!< Bit mask of TASKS_CAPTURE field. */ 12868 #define RTC_TASKS_CAPTURE_TASKS_CAPTURE_Trigger (0x1UL) /*!< Trigger task */ 12869 12870 /* Register: RTC_SUBSCRIBE_START */ 12871 /* Description: Subscribe configuration for task START */ 12872 12873 /* Bit 31 : */ 12874 #define RTC_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 12875 #define RTC_SUBSCRIBE_START_EN_Msk (0x1UL << RTC_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 12876 #define RTC_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 12877 #define RTC_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 12878 12879 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 12880 #define RTC_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12881 #define RTC_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << RTC_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12882 12883 /* Register: RTC_SUBSCRIBE_STOP */ 12884 /* Description: Subscribe configuration for task STOP */ 12885 12886 /* Bit 31 : */ 12887 #define RTC_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 12888 #define RTC_SUBSCRIBE_STOP_EN_Msk (0x1UL << RTC_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 12889 #define RTC_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 12890 #define RTC_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 12891 12892 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 12893 #define RTC_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12894 #define RTC_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << RTC_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12895 12896 /* Register: RTC_SUBSCRIBE_CLEAR */ 12897 /* Description: Subscribe configuration for task CLEAR */ 12898 12899 /* Bit 31 : */ 12900 #define RTC_SUBSCRIBE_CLEAR_EN_Pos (31UL) /*!< Position of EN field. */ 12901 #define RTC_SUBSCRIBE_CLEAR_EN_Msk (0x1UL << RTC_SUBSCRIBE_CLEAR_EN_Pos) /*!< Bit mask of EN field. */ 12902 #define RTC_SUBSCRIBE_CLEAR_EN_Disabled (0x0UL) /*!< Disable subscription */ 12903 #define RTC_SUBSCRIBE_CLEAR_EN_Enabled (0x1UL) /*!< Enable subscription */ 12904 12905 /* Bits 7..0 : DPPI channel that task CLEAR will subscribe to */ 12906 #define RTC_SUBSCRIBE_CLEAR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12907 #define RTC_SUBSCRIBE_CLEAR_CHIDX_Msk (0xFFUL << RTC_SUBSCRIBE_CLEAR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12908 12909 /* Register: RTC_SUBSCRIBE_TRIGOVRFLW */ 12910 /* Description: Subscribe configuration for task TRIGOVRFLW */ 12911 12912 /* Bit 31 : */ 12913 #define RTC_SUBSCRIBE_TRIGOVRFLW_EN_Pos (31UL) /*!< Position of EN field. */ 12914 #define RTC_SUBSCRIBE_TRIGOVRFLW_EN_Msk (0x1UL << RTC_SUBSCRIBE_TRIGOVRFLW_EN_Pos) /*!< Bit mask of EN field. */ 12915 #define RTC_SUBSCRIBE_TRIGOVRFLW_EN_Disabled (0x0UL) /*!< Disable subscription */ 12916 #define RTC_SUBSCRIBE_TRIGOVRFLW_EN_Enabled (0x1UL) /*!< Enable subscription */ 12917 12918 /* Bits 7..0 : DPPI channel that task TRIGOVRFLW will subscribe to */ 12919 #define RTC_SUBSCRIBE_TRIGOVRFLW_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12920 #define RTC_SUBSCRIBE_TRIGOVRFLW_CHIDX_Msk (0xFFUL << RTC_SUBSCRIBE_TRIGOVRFLW_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12921 12922 /* Register: RTC_SUBSCRIBE_CAPTURE */ 12923 /* Description: Description collection: Subscribe configuration for task CAPTURE[n] */ 12924 12925 /* Bit 31 : */ 12926 #define RTC_SUBSCRIBE_CAPTURE_EN_Pos (31UL) /*!< Position of EN field. */ 12927 #define RTC_SUBSCRIBE_CAPTURE_EN_Msk (0x1UL << RTC_SUBSCRIBE_CAPTURE_EN_Pos) /*!< Bit mask of EN field. */ 12928 #define RTC_SUBSCRIBE_CAPTURE_EN_Disabled (0x0UL) /*!< Disable subscription */ 12929 #define RTC_SUBSCRIBE_CAPTURE_EN_Enabled (0x1UL) /*!< Enable subscription */ 12930 12931 /* Bits 7..0 : DPPI channel that task CAPTURE[n] will subscribe to */ 12932 #define RTC_SUBSCRIBE_CAPTURE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12933 #define RTC_SUBSCRIBE_CAPTURE_CHIDX_Msk (0xFFUL << RTC_SUBSCRIBE_CAPTURE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12934 12935 /* Register: RTC_EVENTS_TICK */ 12936 /* Description: Event on counter increment */ 12937 12938 /* Bit 0 : Event on counter increment */ 12939 #define RTC_EVENTS_TICK_EVENTS_TICK_Pos (0UL) /*!< Position of EVENTS_TICK field. */ 12940 #define RTC_EVENTS_TICK_EVENTS_TICK_Msk (0x1UL << RTC_EVENTS_TICK_EVENTS_TICK_Pos) /*!< Bit mask of EVENTS_TICK field. */ 12941 #define RTC_EVENTS_TICK_EVENTS_TICK_NotGenerated (0x0UL) /*!< Event not generated */ 12942 #define RTC_EVENTS_TICK_EVENTS_TICK_Generated (0x1UL) /*!< Event generated */ 12943 12944 /* Register: RTC_EVENTS_OVRFLW */ 12945 /* Description: Event on counter overflow */ 12946 12947 /* Bit 0 : Event on counter overflow */ 12948 #define RTC_EVENTS_OVRFLW_EVENTS_OVRFLW_Pos (0UL) /*!< Position of EVENTS_OVRFLW field. */ 12949 #define RTC_EVENTS_OVRFLW_EVENTS_OVRFLW_Msk (0x1UL << RTC_EVENTS_OVRFLW_EVENTS_OVRFLW_Pos) /*!< Bit mask of EVENTS_OVRFLW field. */ 12950 #define RTC_EVENTS_OVRFLW_EVENTS_OVRFLW_NotGenerated (0x0UL) /*!< Event not generated */ 12951 #define RTC_EVENTS_OVRFLW_EVENTS_OVRFLW_Generated (0x1UL) /*!< Event generated */ 12952 12953 /* Register: RTC_EVENTS_COMPARE */ 12954 /* Description: Description collection: Compare event on CC[n] match */ 12955 12956 /* Bit 0 : Compare event on CC[n] match */ 12957 #define RTC_EVENTS_COMPARE_EVENTS_COMPARE_Pos (0UL) /*!< Position of EVENTS_COMPARE field. */ 12958 #define RTC_EVENTS_COMPARE_EVENTS_COMPARE_Msk (0x1UL << RTC_EVENTS_COMPARE_EVENTS_COMPARE_Pos) /*!< Bit mask of EVENTS_COMPARE field. */ 12959 #define RTC_EVENTS_COMPARE_EVENTS_COMPARE_NotGenerated (0x0UL) /*!< Event not generated */ 12960 #define RTC_EVENTS_COMPARE_EVENTS_COMPARE_Generated (0x1UL) /*!< Event generated */ 12961 12962 /* Register: RTC_PUBLISH_TICK */ 12963 /* Description: Publish configuration for event TICK */ 12964 12965 /* Bit 31 : */ 12966 #define RTC_PUBLISH_TICK_EN_Pos (31UL) /*!< Position of EN field. */ 12967 #define RTC_PUBLISH_TICK_EN_Msk (0x1UL << RTC_PUBLISH_TICK_EN_Pos) /*!< Bit mask of EN field. */ 12968 #define RTC_PUBLISH_TICK_EN_Disabled (0x0UL) /*!< Disable publishing */ 12969 #define RTC_PUBLISH_TICK_EN_Enabled (0x1UL) /*!< Enable publishing */ 12970 12971 /* Bits 7..0 : DPPI channel that event TICK will publish to */ 12972 #define RTC_PUBLISH_TICK_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12973 #define RTC_PUBLISH_TICK_CHIDX_Msk (0xFFUL << RTC_PUBLISH_TICK_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12974 12975 /* Register: RTC_PUBLISH_OVRFLW */ 12976 /* Description: Publish configuration for event OVRFLW */ 12977 12978 /* Bit 31 : */ 12979 #define RTC_PUBLISH_OVRFLW_EN_Pos (31UL) /*!< Position of EN field. */ 12980 #define RTC_PUBLISH_OVRFLW_EN_Msk (0x1UL << RTC_PUBLISH_OVRFLW_EN_Pos) /*!< Bit mask of EN field. */ 12981 #define RTC_PUBLISH_OVRFLW_EN_Disabled (0x0UL) /*!< Disable publishing */ 12982 #define RTC_PUBLISH_OVRFLW_EN_Enabled (0x1UL) /*!< Enable publishing */ 12983 12984 /* Bits 7..0 : DPPI channel that event OVRFLW will publish to */ 12985 #define RTC_PUBLISH_OVRFLW_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12986 #define RTC_PUBLISH_OVRFLW_CHIDX_Msk (0xFFUL << RTC_PUBLISH_OVRFLW_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 12987 12988 /* Register: RTC_PUBLISH_COMPARE */ 12989 /* Description: Description collection: Publish configuration for event COMPARE[n] */ 12990 12991 /* Bit 31 : */ 12992 #define RTC_PUBLISH_COMPARE_EN_Pos (31UL) /*!< Position of EN field. */ 12993 #define RTC_PUBLISH_COMPARE_EN_Msk (0x1UL << RTC_PUBLISH_COMPARE_EN_Pos) /*!< Bit mask of EN field. */ 12994 #define RTC_PUBLISH_COMPARE_EN_Disabled (0x0UL) /*!< Disable publishing */ 12995 #define RTC_PUBLISH_COMPARE_EN_Enabled (0x1UL) /*!< Enable publishing */ 12996 12997 /* Bits 7..0 : DPPI channel that event COMPARE[n] will publish to */ 12998 #define RTC_PUBLISH_COMPARE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 12999 #define RTC_PUBLISH_COMPARE_CHIDX_Msk (0xFFUL << RTC_PUBLISH_COMPARE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13000 13001 /* Register: RTC_SHORTS */ 13002 /* Description: Shortcuts between local events and tasks */ 13003 13004 /* Bit 3 : Shortcut between event COMPARE[3] and task CLEAR */ 13005 #define RTC_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */ 13006 #define RTC_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << RTC_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */ 13007 #define RTC_SHORTS_COMPARE3_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 13008 #define RTC_SHORTS_COMPARE3_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 13009 13010 /* Bit 2 : Shortcut between event COMPARE[2] and task CLEAR */ 13011 #define RTC_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */ 13012 #define RTC_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << RTC_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */ 13013 #define RTC_SHORTS_COMPARE2_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 13014 #define RTC_SHORTS_COMPARE2_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 13015 13016 /* Bit 1 : Shortcut between event COMPARE[1] and task CLEAR */ 13017 #define RTC_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */ 13018 #define RTC_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << RTC_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */ 13019 #define RTC_SHORTS_COMPARE1_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 13020 #define RTC_SHORTS_COMPARE1_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 13021 13022 /* Bit 0 : Shortcut between event COMPARE[0] and task CLEAR */ 13023 #define RTC_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */ 13024 #define RTC_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << RTC_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */ 13025 #define RTC_SHORTS_COMPARE0_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 13026 #define RTC_SHORTS_COMPARE0_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 13027 13028 /* Register: RTC_INTENSET */ 13029 /* Description: Enable interrupt */ 13030 13031 /* Bit 19 : Write '1' to enable interrupt for event COMPARE[3] */ 13032 #define RTC_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 13033 #define RTC_INTENSET_COMPARE3_Msk (0x1UL << RTC_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 13034 #define RTC_INTENSET_COMPARE3_Disabled (0x0UL) /*!< Read: Disabled */ 13035 #define RTC_INTENSET_COMPARE3_Enabled (0x1UL) /*!< Read: Enabled */ 13036 #define RTC_INTENSET_COMPARE3_Set (0x1UL) /*!< Enable */ 13037 13038 /* Bit 18 : Write '1' to enable interrupt for event COMPARE[2] */ 13039 #define RTC_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 13040 #define RTC_INTENSET_COMPARE2_Msk (0x1UL << RTC_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 13041 #define RTC_INTENSET_COMPARE2_Disabled (0x0UL) /*!< Read: Disabled */ 13042 #define RTC_INTENSET_COMPARE2_Enabled (0x1UL) /*!< Read: Enabled */ 13043 #define RTC_INTENSET_COMPARE2_Set (0x1UL) /*!< Enable */ 13044 13045 /* Bit 17 : Write '1' to enable interrupt for event COMPARE[1] */ 13046 #define RTC_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 13047 #define RTC_INTENSET_COMPARE1_Msk (0x1UL << RTC_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 13048 #define RTC_INTENSET_COMPARE1_Disabled (0x0UL) /*!< Read: Disabled */ 13049 #define RTC_INTENSET_COMPARE1_Enabled (0x1UL) /*!< Read: Enabled */ 13050 #define RTC_INTENSET_COMPARE1_Set (0x1UL) /*!< Enable */ 13051 13052 /* Bit 16 : Write '1' to enable interrupt for event COMPARE[0] */ 13053 #define RTC_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 13054 #define RTC_INTENSET_COMPARE0_Msk (0x1UL << RTC_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 13055 #define RTC_INTENSET_COMPARE0_Disabled (0x0UL) /*!< Read: Disabled */ 13056 #define RTC_INTENSET_COMPARE0_Enabled (0x1UL) /*!< Read: Enabled */ 13057 #define RTC_INTENSET_COMPARE0_Set (0x1UL) /*!< Enable */ 13058 13059 /* Bit 1 : Write '1' to enable interrupt for event OVRFLW */ 13060 #define RTC_INTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 13061 #define RTC_INTENSET_OVRFLW_Msk (0x1UL << RTC_INTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 13062 #define RTC_INTENSET_OVRFLW_Disabled (0x0UL) /*!< Read: Disabled */ 13063 #define RTC_INTENSET_OVRFLW_Enabled (0x1UL) /*!< Read: Enabled */ 13064 #define RTC_INTENSET_OVRFLW_Set (0x1UL) /*!< Enable */ 13065 13066 /* Bit 0 : Write '1' to enable interrupt for event TICK */ 13067 #define RTC_INTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */ 13068 #define RTC_INTENSET_TICK_Msk (0x1UL << RTC_INTENSET_TICK_Pos) /*!< Bit mask of TICK field. */ 13069 #define RTC_INTENSET_TICK_Disabled (0x0UL) /*!< Read: Disabled */ 13070 #define RTC_INTENSET_TICK_Enabled (0x1UL) /*!< Read: Enabled */ 13071 #define RTC_INTENSET_TICK_Set (0x1UL) /*!< Enable */ 13072 13073 /* Register: RTC_INTENCLR */ 13074 /* Description: Disable interrupt */ 13075 13076 /* Bit 19 : Write '1' to disable interrupt for event COMPARE[3] */ 13077 #define RTC_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 13078 #define RTC_INTENCLR_COMPARE3_Msk (0x1UL << RTC_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 13079 #define RTC_INTENCLR_COMPARE3_Disabled (0x0UL) /*!< Read: Disabled */ 13080 #define RTC_INTENCLR_COMPARE3_Enabled (0x1UL) /*!< Read: Enabled */ 13081 #define RTC_INTENCLR_COMPARE3_Clear (0x1UL) /*!< Disable */ 13082 13083 /* Bit 18 : Write '1' to disable interrupt for event COMPARE[2] */ 13084 #define RTC_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 13085 #define RTC_INTENCLR_COMPARE2_Msk (0x1UL << RTC_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 13086 #define RTC_INTENCLR_COMPARE2_Disabled (0x0UL) /*!< Read: Disabled */ 13087 #define RTC_INTENCLR_COMPARE2_Enabled (0x1UL) /*!< Read: Enabled */ 13088 #define RTC_INTENCLR_COMPARE2_Clear (0x1UL) /*!< Disable */ 13089 13090 /* Bit 17 : Write '1' to disable interrupt for event COMPARE[1] */ 13091 #define RTC_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 13092 #define RTC_INTENCLR_COMPARE1_Msk (0x1UL << RTC_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 13093 #define RTC_INTENCLR_COMPARE1_Disabled (0x0UL) /*!< Read: Disabled */ 13094 #define RTC_INTENCLR_COMPARE1_Enabled (0x1UL) /*!< Read: Enabled */ 13095 #define RTC_INTENCLR_COMPARE1_Clear (0x1UL) /*!< Disable */ 13096 13097 /* Bit 16 : Write '1' to disable interrupt for event COMPARE[0] */ 13098 #define RTC_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 13099 #define RTC_INTENCLR_COMPARE0_Msk (0x1UL << RTC_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 13100 #define RTC_INTENCLR_COMPARE0_Disabled (0x0UL) /*!< Read: Disabled */ 13101 #define RTC_INTENCLR_COMPARE0_Enabled (0x1UL) /*!< Read: Enabled */ 13102 #define RTC_INTENCLR_COMPARE0_Clear (0x1UL) /*!< Disable */ 13103 13104 /* Bit 1 : Write '1' to disable interrupt for event OVRFLW */ 13105 #define RTC_INTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 13106 #define RTC_INTENCLR_OVRFLW_Msk (0x1UL << RTC_INTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 13107 #define RTC_INTENCLR_OVRFLW_Disabled (0x0UL) /*!< Read: Disabled */ 13108 #define RTC_INTENCLR_OVRFLW_Enabled (0x1UL) /*!< Read: Enabled */ 13109 #define RTC_INTENCLR_OVRFLW_Clear (0x1UL) /*!< Disable */ 13110 13111 /* Bit 0 : Write '1' to disable interrupt for event TICK */ 13112 #define RTC_INTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */ 13113 #define RTC_INTENCLR_TICK_Msk (0x1UL << RTC_INTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */ 13114 #define RTC_INTENCLR_TICK_Disabled (0x0UL) /*!< Read: Disabled */ 13115 #define RTC_INTENCLR_TICK_Enabled (0x1UL) /*!< Read: Enabled */ 13116 #define RTC_INTENCLR_TICK_Clear (0x1UL) /*!< Disable */ 13117 13118 /* Register: RTC_EVTEN */ 13119 /* Description: Enable or disable event routing */ 13120 13121 /* Bit 19 : Enable or disable event routing for event COMPARE[3] */ 13122 #define RTC_EVTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 13123 #define RTC_EVTEN_COMPARE3_Msk (0x1UL << RTC_EVTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 13124 #define RTC_EVTEN_COMPARE3_Disabled (0x0UL) /*!< Disable */ 13125 #define RTC_EVTEN_COMPARE3_Enabled (0x1UL) /*!< Enable */ 13126 13127 /* Bit 18 : Enable or disable event routing for event COMPARE[2] */ 13128 #define RTC_EVTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 13129 #define RTC_EVTEN_COMPARE2_Msk (0x1UL << RTC_EVTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 13130 #define RTC_EVTEN_COMPARE2_Disabled (0x0UL) /*!< Disable */ 13131 #define RTC_EVTEN_COMPARE2_Enabled (0x1UL) /*!< Enable */ 13132 13133 /* Bit 17 : Enable or disable event routing for event COMPARE[1] */ 13134 #define RTC_EVTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 13135 #define RTC_EVTEN_COMPARE1_Msk (0x1UL << RTC_EVTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 13136 #define RTC_EVTEN_COMPARE1_Disabled (0x0UL) /*!< Disable */ 13137 #define RTC_EVTEN_COMPARE1_Enabled (0x1UL) /*!< Enable */ 13138 13139 /* Bit 16 : Enable or disable event routing for event COMPARE[0] */ 13140 #define RTC_EVTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 13141 #define RTC_EVTEN_COMPARE0_Msk (0x1UL << RTC_EVTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 13142 #define RTC_EVTEN_COMPARE0_Disabled (0x0UL) /*!< Disable */ 13143 #define RTC_EVTEN_COMPARE0_Enabled (0x1UL) /*!< Enable */ 13144 13145 /* Bit 1 : Enable or disable event routing for event OVRFLW */ 13146 #define RTC_EVTEN_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 13147 #define RTC_EVTEN_OVRFLW_Msk (0x1UL << RTC_EVTEN_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 13148 #define RTC_EVTEN_OVRFLW_Disabled (0x0UL) /*!< Disable */ 13149 #define RTC_EVTEN_OVRFLW_Enabled (0x1UL) /*!< Enable */ 13150 13151 /* Bit 0 : Enable or disable event routing for event TICK */ 13152 #define RTC_EVTEN_TICK_Pos (0UL) /*!< Position of TICK field. */ 13153 #define RTC_EVTEN_TICK_Msk (0x1UL << RTC_EVTEN_TICK_Pos) /*!< Bit mask of TICK field. */ 13154 #define RTC_EVTEN_TICK_Disabled (0x0UL) /*!< Disable */ 13155 #define RTC_EVTEN_TICK_Enabled (0x1UL) /*!< Enable */ 13156 13157 /* Register: RTC_EVTENSET */ 13158 /* Description: Enable event routing */ 13159 13160 /* Bit 19 : Write '1' to enable event routing for event COMPARE[3] */ 13161 #define RTC_EVTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 13162 #define RTC_EVTENSET_COMPARE3_Msk (0x1UL << RTC_EVTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 13163 #define RTC_EVTENSET_COMPARE3_Disabled (0x0UL) /*!< Read: Disabled */ 13164 #define RTC_EVTENSET_COMPARE3_Enabled (0x1UL) /*!< Read: Enabled */ 13165 #define RTC_EVTENSET_COMPARE3_Set (0x1UL) /*!< Enable */ 13166 13167 /* Bit 18 : Write '1' to enable event routing for event COMPARE[2] */ 13168 #define RTC_EVTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 13169 #define RTC_EVTENSET_COMPARE2_Msk (0x1UL << RTC_EVTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 13170 #define RTC_EVTENSET_COMPARE2_Disabled (0x0UL) /*!< Read: Disabled */ 13171 #define RTC_EVTENSET_COMPARE2_Enabled (0x1UL) /*!< Read: Enabled */ 13172 #define RTC_EVTENSET_COMPARE2_Set (0x1UL) /*!< Enable */ 13173 13174 /* Bit 17 : Write '1' to enable event routing for event COMPARE[1] */ 13175 #define RTC_EVTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 13176 #define RTC_EVTENSET_COMPARE1_Msk (0x1UL << RTC_EVTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 13177 #define RTC_EVTENSET_COMPARE1_Disabled (0x0UL) /*!< Read: Disabled */ 13178 #define RTC_EVTENSET_COMPARE1_Enabled (0x1UL) /*!< Read: Enabled */ 13179 #define RTC_EVTENSET_COMPARE1_Set (0x1UL) /*!< Enable */ 13180 13181 /* Bit 16 : Write '1' to enable event routing for event COMPARE[0] */ 13182 #define RTC_EVTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 13183 #define RTC_EVTENSET_COMPARE0_Msk (0x1UL << RTC_EVTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 13184 #define RTC_EVTENSET_COMPARE0_Disabled (0x0UL) /*!< Read: Disabled */ 13185 #define RTC_EVTENSET_COMPARE0_Enabled (0x1UL) /*!< Read: Enabled */ 13186 #define RTC_EVTENSET_COMPARE0_Set (0x1UL) /*!< Enable */ 13187 13188 /* Bit 1 : Write '1' to enable event routing for event OVRFLW */ 13189 #define RTC_EVTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 13190 #define RTC_EVTENSET_OVRFLW_Msk (0x1UL << RTC_EVTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 13191 #define RTC_EVTENSET_OVRFLW_Disabled (0x0UL) /*!< Read: Disabled */ 13192 #define RTC_EVTENSET_OVRFLW_Enabled (0x1UL) /*!< Read: Enabled */ 13193 #define RTC_EVTENSET_OVRFLW_Set (0x1UL) /*!< Enable */ 13194 13195 /* Bit 0 : Write '1' to enable event routing for event TICK */ 13196 #define RTC_EVTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */ 13197 #define RTC_EVTENSET_TICK_Msk (0x1UL << RTC_EVTENSET_TICK_Pos) /*!< Bit mask of TICK field. */ 13198 #define RTC_EVTENSET_TICK_Disabled (0x0UL) /*!< Read: Disabled */ 13199 #define RTC_EVTENSET_TICK_Enabled (0x1UL) /*!< Read: Enabled */ 13200 #define RTC_EVTENSET_TICK_Set (0x1UL) /*!< Enable */ 13201 13202 /* Register: RTC_EVTENCLR */ 13203 /* Description: Disable event routing */ 13204 13205 /* Bit 19 : Write '1' to disable event routing for event COMPARE[3] */ 13206 #define RTC_EVTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 13207 #define RTC_EVTENCLR_COMPARE3_Msk (0x1UL << RTC_EVTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 13208 #define RTC_EVTENCLR_COMPARE3_Disabled (0x0UL) /*!< Read: Disabled */ 13209 #define RTC_EVTENCLR_COMPARE3_Enabled (0x1UL) /*!< Read: Enabled */ 13210 #define RTC_EVTENCLR_COMPARE3_Clear (0x1UL) /*!< Disable */ 13211 13212 /* Bit 18 : Write '1' to disable event routing for event COMPARE[2] */ 13213 #define RTC_EVTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 13214 #define RTC_EVTENCLR_COMPARE2_Msk (0x1UL << RTC_EVTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 13215 #define RTC_EVTENCLR_COMPARE2_Disabled (0x0UL) /*!< Read: Disabled */ 13216 #define RTC_EVTENCLR_COMPARE2_Enabled (0x1UL) /*!< Read: Enabled */ 13217 #define RTC_EVTENCLR_COMPARE2_Clear (0x1UL) /*!< Disable */ 13218 13219 /* Bit 17 : Write '1' to disable event routing for event COMPARE[1] */ 13220 #define RTC_EVTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 13221 #define RTC_EVTENCLR_COMPARE1_Msk (0x1UL << RTC_EVTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 13222 #define RTC_EVTENCLR_COMPARE1_Disabled (0x0UL) /*!< Read: Disabled */ 13223 #define RTC_EVTENCLR_COMPARE1_Enabled (0x1UL) /*!< Read: Enabled */ 13224 #define RTC_EVTENCLR_COMPARE1_Clear (0x1UL) /*!< Disable */ 13225 13226 /* Bit 16 : Write '1' to disable event routing for event COMPARE[0] */ 13227 #define RTC_EVTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 13228 #define RTC_EVTENCLR_COMPARE0_Msk (0x1UL << RTC_EVTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 13229 #define RTC_EVTENCLR_COMPARE0_Disabled (0x0UL) /*!< Read: Disabled */ 13230 #define RTC_EVTENCLR_COMPARE0_Enabled (0x1UL) /*!< Read: Enabled */ 13231 #define RTC_EVTENCLR_COMPARE0_Clear (0x1UL) /*!< Disable */ 13232 13233 /* Bit 1 : Write '1' to disable event routing for event OVRFLW */ 13234 #define RTC_EVTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 13235 #define RTC_EVTENCLR_OVRFLW_Msk (0x1UL << RTC_EVTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 13236 #define RTC_EVTENCLR_OVRFLW_Disabled (0x0UL) /*!< Read: Disabled */ 13237 #define RTC_EVTENCLR_OVRFLW_Enabled (0x1UL) /*!< Read: Enabled */ 13238 #define RTC_EVTENCLR_OVRFLW_Clear (0x1UL) /*!< Disable */ 13239 13240 /* Bit 0 : Write '1' to disable event routing for event TICK */ 13241 #define RTC_EVTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */ 13242 #define RTC_EVTENCLR_TICK_Msk (0x1UL << RTC_EVTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */ 13243 #define RTC_EVTENCLR_TICK_Disabled (0x0UL) /*!< Read: Disabled */ 13244 #define RTC_EVTENCLR_TICK_Enabled (0x1UL) /*!< Read: Enabled */ 13245 #define RTC_EVTENCLR_TICK_Clear (0x1UL) /*!< Disable */ 13246 13247 /* Register: RTC_COUNTER */ 13248 /* Description: Current counter value */ 13249 13250 /* Bits 23..0 : Counter value */ 13251 #define RTC_COUNTER_COUNTER_Pos (0UL) /*!< Position of COUNTER field. */ 13252 #define RTC_COUNTER_COUNTER_Msk (0xFFFFFFUL << RTC_COUNTER_COUNTER_Pos) /*!< Bit mask of COUNTER field. */ 13253 13254 /* Register: RTC_PRESCALER */ 13255 /* Description: 12-bit prescaler for counter frequency (32768 / (PRESCALER + 1)). Must be written when RTC is stopped. */ 13256 13257 /* Bits 11..0 : Prescaler value */ 13258 #define RTC_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */ 13259 #define RTC_PRESCALER_PRESCALER_Msk (0xFFFUL << RTC_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */ 13260 13261 /* Register: RTC_CC */ 13262 /* Description: Description collection: Compare register n */ 13263 13264 /* Bits 23..0 : Compare value */ 13265 #define RTC_CC_COMPARE_Pos (0UL) /*!< Position of COMPARE field. */ 13266 #define RTC_CC_COMPARE_Msk (0xFFFFFFUL << RTC_CC_COMPARE_Pos) /*!< Bit mask of COMPARE field. */ 13267 13268 13269 /* Peripheral: SAADC */ 13270 /* Description: Analog to Digital Converter 0 */ 13271 13272 /* Register: SAADC_TASKS_START */ 13273 /* Description: Start the ADC and prepare the result buffer in RAM */ 13274 13275 /* Bit 0 : Start the ADC and prepare the result buffer in RAM */ 13276 #define SAADC_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 13277 #define SAADC_TASKS_START_TASKS_START_Msk (0x1UL << SAADC_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 13278 #define SAADC_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 13279 13280 /* Register: SAADC_TASKS_SAMPLE */ 13281 /* Description: Take one ADC sample, if scan is enabled all channels are sampled */ 13282 13283 /* Bit 0 : Take one ADC sample, if scan is enabled all channels are sampled */ 13284 #define SAADC_TASKS_SAMPLE_TASKS_SAMPLE_Pos (0UL) /*!< Position of TASKS_SAMPLE field. */ 13285 #define SAADC_TASKS_SAMPLE_TASKS_SAMPLE_Msk (0x1UL << SAADC_TASKS_SAMPLE_TASKS_SAMPLE_Pos) /*!< Bit mask of TASKS_SAMPLE field. */ 13286 #define SAADC_TASKS_SAMPLE_TASKS_SAMPLE_Trigger (0x1UL) /*!< Trigger task */ 13287 13288 /* Register: SAADC_TASKS_STOP */ 13289 /* Description: Stop the ADC and terminate any ongoing conversion */ 13290 13291 /* Bit 0 : Stop the ADC and terminate any ongoing conversion */ 13292 #define SAADC_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 13293 #define SAADC_TASKS_STOP_TASKS_STOP_Msk (0x1UL << SAADC_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 13294 #define SAADC_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 13295 13296 /* Register: SAADC_TASKS_CALIBRATEOFFSET */ 13297 /* Description: Starts offset auto-calibration */ 13298 13299 /* Bit 0 : Starts offset auto-calibration */ 13300 #define SAADC_TASKS_CALIBRATEOFFSET_TASKS_CALIBRATEOFFSET_Pos (0UL) /*!< Position of TASKS_CALIBRATEOFFSET field. */ 13301 #define SAADC_TASKS_CALIBRATEOFFSET_TASKS_CALIBRATEOFFSET_Msk (0x1UL << SAADC_TASKS_CALIBRATEOFFSET_TASKS_CALIBRATEOFFSET_Pos) /*!< Bit mask of TASKS_CALIBRATEOFFSET field. */ 13302 #define SAADC_TASKS_CALIBRATEOFFSET_TASKS_CALIBRATEOFFSET_Trigger (0x1UL) /*!< Trigger task */ 13303 13304 /* Register: SAADC_SUBSCRIBE_START */ 13305 /* Description: Subscribe configuration for task START */ 13306 13307 /* Bit 31 : */ 13308 #define SAADC_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 13309 #define SAADC_SUBSCRIBE_START_EN_Msk (0x1UL << SAADC_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 13310 #define SAADC_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 13311 #define SAADC_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 13312 13313 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 13314 #define SAADC_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13315 #define SAADC_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << SAADC_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13316 13317 /* Register: SAADC_SUBSCRIBE_SAMPLE */ 13318 /* Description: Subscribe configuration for task SAMPLE */ 13319 13320 /* Bit 31 : */ 13321 #define SAADC_SUBSCRIBE_SAMPLE_EN_Pos (31UL) /*!< Position of EN field. */ 13322 #define SAADC_SUBSCRIBE_SAMPLE_EN_Msk (0x1UL << SAADC_SUBSCRIBE_SAMPLE_EN_Pos) /*!< Bit mask of EN field. */ 13323 #define SAADC_SUBSCRIBE_SAMPLE_EN_Disabled (0x0UL) /*!< Disable subscription */ 13324 #define SAADC_SUBSCRIBE_SAMPLE_EN_Enabled (0x1UL) /*!< Enable subscription */ 13325 13326 /* Bits 7..0 : DPPI channel that task SAMPLE will subscribe to */ 13327 #define SAADC_SUBSCRIBE_SAMPLE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13328 #define SAADC_SUBSCRIBE_SAMPLE_CHIDX_Msk (0xFFUL << SAADC_SUBSCRIBE_SAMPLE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13329 13330 /* Register: SAADC_SUBSCRIBE_STOP */ 13331 /* Description: Subscribe configuration for task STOP */ 13332 13333 /* Bit 31 : */ 13334 #define SAADC_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 13335 #define SAADC_SUBSCRIBE_STOP_EN_Msk (0x1UL << SAADC_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 13336 #define SAADC_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 13337 #define SAADC_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 13338 13339 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 13340 #define SAADC_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13341 #define SAADC_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << SAADC_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13342 13343 /* Register: SAADC_SUBSCRIBE_CALIBRATEOFFSET */ 13344 /* Description: Subscribe configuration for task CALIBRATEOFFSET */ 13345 13346 /* Bit 31 : */ 13347 #define SAADC_SUBSCRIBE_CALIBRATEOFFSET_EN_Pos (31UL) /*!< Position of EN field. */ 13348 #define SAADC_SUBSCRIBE_CALIBRATEOFFSET_EN_Msk (0x1UL << SAADC_SUBSCRIBE_CALIBRATEOFFSET_EN_Pos) /*!< Bit mask of EN field. */ 13349 #define SAADC_SUBSCRIBE_CALIBRATEOFFSET_EN_Disabled (0x0UL) /*!< Disable subscription */ 13350 #define SAADC_SUBSCRIBE_CALIBRATEOFFSET_EN_Enabled (0x1UL) /*!< Enable subscription */ 13351 13352 /* Bits 7..0 : DPPI channel that task CALIBRATEOFFSET will subscribe to */ 13353 #define SAADC_SUBSCRIBE_CALIBRATEOFFSET_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13354 #define SAADC_SUBSCRIBE_CALIBRATEOFFSET_CHIDX_Msk (0xFFUL << SAADC_SUBSCRIBE_CALIBRATEOFFSET_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13355 13356 /* Register: SAADC_EVENTS_STARTED */ 13357 /* Description: The ADC has started */ 13358 13359 /* Bit 0 : The ADC has started */ 13360 #define SAADC_EVENTS_STARTED_EVENTS_STARTED_Pos (0UL) /*!< Position of EVENTS_STARTED field. */ 13361 #define SAADC_EVENTS_STARTED_EVENTS_STARTED_Msk (0x1UL << SAADC_EVENTS_STARTED_EVENTS_STARTED_Pos) /*!< Bit mask of EVENTS_STARTED field. */ 13362 #define SAADC_EVENTS_STARTED_EVENTS_STARTED_NotGenerated (0x0UL) /*!< Event not generated */ 13363 #define SAADC_EVENTS_STARTED_EVENTS_STARTED_Generated (0x1UL) /*!< Event generated */ 13364 13365 /* Register: SAADC_EVENTS_END */ 13366 /* Description: The ADC has filled up the Result buffer */ 13367 13368 /* Bit 0 : The ADC has filled up the Result buffer */ 13369 #define SAADC_EVENTS_END_EVENTS_END_Pos (0UL) /*!< Position of EVENTS_END field. */ 13370 #define SAADC_EVENTS_END_EVENTS_END_Msk (0x1UL << SAADC_EVENTS_END_EVENTS_END_Pos) /*!< Bit mask of EVENTS_END field. */ 13371 #define SAADC_EVENTS_END_EVENTS_END_NotGenerated (0x0UL) /*!< Event not generated */ 13372 #define SAADC_EVENTS_END_EVENTS_END_Generated (0x1UL) /*!< Event generated */ 13373 13374 /* Register: SAADC_EVENTS_DONE */ 13375 /* Description: A conversion task has been completed. Depending on the mode, multiple conversions might be needed for a result to be transferred to RAM. */ 13376 13377 /* Bit 0 : A conversion task has been completed. Depending on the mode, multiple conversions might be needed for a result to be transferred to RAM. */ 13378 #define SAADC_EVENTS_DONE_EVENTS_DONE_Pos (0UL) /*!< Position of EVENTS_DONE field. */ 13379 #define SAADC_EVENTS_DONE_EVENTS_DONE_Msk (0x1UL << SAADC_EVENTS_DONE_EVENTS_DONE_Pos) /*!< Bit mask of EVENTS_DONE field. */ 13380 #define SAADC_EVENTS_DONE_EVENTS_DONE_NotGenerated (0x0UL) /*!< Event not generated */ 13381 #define SAADC_EVENTS_DONE_EVENTS_DONE_Generated (0x1UL) /*!< Event generated */ 13382 13383 /* Register: SAADC_EVENTS_RESULTDONE */ 13384 /* Description: A result is ready to get transferred to RAM */ 13385 13386 /* Bit 0 : A result is ready to get transferred to RAM */ 13387 #define SAADC_EVENTS_RESULTDONE_EVENTS_RESULTDONE_Pos (0UL) /*!< Position of EVENTS_RESULTDONE field. */ 13388 #define SAADC_EVENTS_RESULTDONE_EVENTS_RESULTDONE_Msk (0x1UL << SAADC_EVENTS_RESULTDONE_EVENTS_RESULTDONE_Pos) /*!< Bit mask of EVENTS_RESULTDONE field. */ 13389 #define SAADC_EVENTS_RESULTDONE_EVENTS_RESULTDONE_NotGenerated (0x0UL) /*!< Event not generated */ 13390 #define SAADC_EVENTS_RESULTDONE_EVENTS_RESULTDONE_Generated (0x1UL) /*!< Event generated */ 13391 13392 /* Register: SAADC_EVENTS_CALIBRATEDONE */ 13393 /* Description: Calibration is complete */ 13394 13395 /* Bit 0 : Calibration is complete */ 13396 #define SAADC_EVENTS_CALIBRATEDONE_EVENTS_CALIBRATEDONE_Pos (0UL) /*!< Position of EVENTS_CALIBRATEDONE field. */ 13397 #define SAADC_EVENTS_CALIBRATEDONE_EVENTS_CALIBRATEDONE_Msk (0x1UL << SAADC_EVENTS_CALIBRATEDONE_EVENTS_CALIBRATEDONE_Pos) /*!< Bit mask of EVENTS_CALIBRATEDONE field. */ 13398 #define SAADC_EVENTS_CALIBRATEDONE_EVENTS_CALIBRATEDONE_NotGenerated (0x0UL) /*!< Event not generated */ 13399 #define SAADC_EVENTS_CALIBRATEDONE_EVENTS_CALIBRATEDONE_Generated (0x1UL) /*!< Event generated */ 13400 13401 /* Register: SAADC_EVENTS_STOPPED */ 13402 /* Description: The ADC has stopped */ 13403 13404 /* Bit 0 : The ADC has stopped */ 13405 #define SAADC_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 13406 #define SAADC_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << SAADC_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 13407 #define SAADC_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 13408 #define SAADC_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 13409 13410 /* Register: SAADC_EVENTS_CH_LIMITH */ 13411 /* Description: Description cluster: Last results is equal or above CH[n].LIMIT.HIGH */ 13412 13413 /* Bit 0 : Last results is equal or above CH[n].LIMIT.HIGH */ 13414 #define SAADC_EVENTS_CH_LIMITH_LIMITH_Pos (0UL) /*!< Position of LIMITH field. */ 13415 #define SAADC_EVENTS_CH_LIMITH_LIMITH_Msk (0x1UL << SAADC_EVENTS_CH_LIMITH_LIMITH_Pos) /*!< Bit mask of LIMITH field. */ 13416 #define SAADC_EVENTS_CH_LIMITH_LIMITH_NotGenerated (0x0UL) /*!< Event not generated */ 13417 #define SAADC_EVENTS_CH_LIMITH_LIMITH_Generated (0x1UL) /*!< Event generated */ 13418 13419 /* Register: SAADC_EVENTS_CH_LIMITL */ 13420 /* Description: Description cluster: Last results is equal or below CH[n].LIMIT.LOW */ 13421 13422 /* Bit 0 : Last results is equal or below CH[n].LIMIT.LOW */ 13423 #define SAADC_EVENTS_CH_LIMITL_LIMITL_Pos (0UL) /*!< Position of LIMITL field. */ 13424 #define SAADC_EVENTS_CH_LIMITL_LIMITL_Msk (0x1UL << SAADC_EVENTS_CH_LIMITL_LIMITL_Pos) /*!< Bit mask of LIMITL field. */ 13425 #define SAADC_EVENTS_CH_LIMITL_LIMITL_NotGenerated (0x0UL) /*!< Event not generated */ 13426 #define SAADC_EVENTS_CH_LIMITL_LIMITL_Generated (0x1UL) /*!< Event generated */ 13427 13428 /* Register: SAADC_PUBLISH_STARTED */ 13429 /* Description: Publish configuration for event STARTED */ 13430 13431 /* Bit 31 : */ 13432 #define SAADC_PUBLISH_STARTED_EN_Pos (31UL) /*!< Position of EN field. */ 13433 #define SAADC_PUBLISH_STARTED_EN_Msk (0x1UL << SAADC_PUBLISH_STARTED_EN_Pos) /*!< Bit mask of EN field. */ 13434 #define SAADC_PUBLISH_STARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 13435 #define SAADC_PUBLISH_STARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 13436 13437 /* Bits 7..0 : DPPI channel that event STARTED will publish to */ 13438 #define SAADC_PUBLISH_STARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13439 #define SAADC_PUBLISH_STARTED_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_STARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13440 13441 /* Register: SAADC_PUBLISH_END */ 13442 /* Description: Publish configuration for event END */ 13443 13444 /* Bit 31 : */ 13445 #define SAADC_PUBLISH_END_EN_Pos (31UL) /*!< Position of EN field. */ 13446 #define SAADC_PUBLISH_END_EN_Msk (0x1UL << SAADC_PUBLISH_END_EN_Pos) /*!< Bit mask of EN field. */ 13447 #define SAADC_PUBLISH_END_EN_Disabled (0x0UL) /*!< Disable publishing */ 13448 #define SAADC_PUBLISH_END_EN_Enabled (0x1UL) /*!< Enable publishing */ 13449 13450 /* Bits 7..0 : DPPI channel that event END will publish to */ 13451 #define SAADC_PUBLISH_END_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13452 #define SAADC_PUBLISH_END_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_END_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13453 13454 /* Register: SAADC_PUBLISH_DONE */ 13455 /* Description: Publish configuration for event DONE */ 13456 13457 /* Bit 31 : */ 13458 #define SAADC_PUBLISH_DONE_EN_Pos (31UL) /*!< Position of EN field. */ 13459 #define SAADC_PUBLISH_DONE_EN_Msk (0x1UL << SAADC_PUBLISH_DONE_EN_Pos) /*!< Bit mask of EN field. */ 13460 #define SAADC_PUBLISH_DONE_EN_Disabled (0x0UL) /*!< Disable publishing */ 13461 #define SAADC_PUBLISH_DONE_EN_Enabled (0x1UL) /*!< Enable publishing */ 13462 13463 /* Bits 7..0 : DPPI channel that event DONE will publish to */ 13464 #define SAADC_PUBLISH_DONE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13465 #define SAADC_PUBLISH_DONE_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_DONE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13466 13467 /* Register: SAADC_PUBLISH_RESULTDONE */ 13468 /* Description: Publish configuration for event RESULTDONE */ 13469 13470 /* Bit 31 : */ 13471 #define SAADC_PUBLISH_RESULTDONE_EN_Pos (31UL) /*!< Position of EN field. */ 13472 #define SAADC_PUBLISH_RESULTDONE_EN_Msk (0x1UL << SAADC_PUBLISH_RESULTDONE_EN_Pos) /*!< Bit mask of EN field. */ 13473 #define SAADC_PUBLISH_RESULTDONE_EN_Disabled (0x0UL) /*!< Disable publishing */ 13474 #define SAADC_PUBLISH_RESULTDONE_EN_Enabled (0x1UL) /*!< Enable publishing */ 13475 13476 /* Bits 7..0 : DPPI channel that event RESULTDONE will publish to */ 13477 #define SAADC_PUBLISH_RESULTDONE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13478 #define SAADC_PUBLISH_RESULTDONE_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_RESULTDONE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13479 13480 /* Register: SAADC_PUBLISH_CALIBRATEDONE */ 13481 /* Description: Publish configuration for event CALIBRATEDONE */ 13482 13483 /* Bit 31 : */ 13484 #define SAADC_PUBLISH_CALIBRATEDONE_EN_Pos (31UL) /*!< Position of EN field. */ 13485 #define SAADC_PUBLISH_CALIBRATEDONE_EN_Msk (0x1UL << SAADC_PUBLISH_CALIBRATEDONE_EN_Pos) /*!< Bit mask of EN field. */ 13486 #define SAADC_PUBLISH_CALIBRATEDONE_EN_Disabled (0x0UL) /*!< Disable publishing */ 13487 #define SAADC_PUBLISH_CALIBRATEDONE_EN_Enabled (0x1UL) /*!< Enable publishing */ 13488 13489 /* Bits 7..0 : DPPI channel that event CALIBRATEDONE will publish to */ 13490 #define SAADC_PUBLISH_CALIBRATEDONE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13491 #define SAADC_PUBLISH_CALIBRATEDONE_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_CALIBRATEDONE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13492 13493 /* Register: SAADC_PUBLISH_STOPPED */ 13494 /* Description: Publish configuration for event STOPPED */ 13495 13496 /* Bit 31 : */ 13497 #define SAADC_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 13498 #define SAADC_PUBLISH_STOPPED_EN_Msk (0x1UL << SAADC_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 13499 #define SAADC_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 13500 #define SAADC_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 13501 13502 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 13503 #define SAADC_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13504 #define SAADC_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13505 13506 /* Register: SAADC_PUBLISH_CH_LIMITH */ 13507 /* Description: Description cluster: Publish configuration for event CH[n].LIMITH */ 13508 13509 /* Bit 31 : */ 13510 #define SAADC_PUBLISH_CH_LIMITH_EN_Pos (31UL) /*!< Position of EN field. */ 13511 #define SAADC_PUBLISH_CH_LIMITH_EN_Msk (0x1UL << SAADC_PUBLISH_CH_LIMITH_EN_Pos) /*!< Bit mask of EN field. */ 13512 #define SAADC_PUBLISH_CH_LIMITH_EN_Disabled (0x0UL) /*!< Disable publishing */ 13513 #define SAADC_PUBLISH_CH_LIMITH_EN_Enabled (0x1UL) /*!< Enable publishing */ 13514 13515 /* Bits 7..0 : DPPI channel that event CH[n].LIMITH will publish to */ 13516 #define SAADC_PUBLISH_CH_LIMITH_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13517 #define SAADC_PUBLISH_CH_LIMITH_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_CH_LIMITH_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13518 13519 /* Register: SAADC_PUBLISH_CH_LIMITL */ 13520 /* Description: Description cluster: Publish configuration for event CH[n].LIMITL */ 13521 13522 /* Bit 31 : */ 13523 #define SAADC_PUBLISH_CH_LIMITL_EN_Pos (31UL) /*!< Position of EN field. */ 13524 #define SAADC_PUBLISH_CH_LIMITL_EN_Msk (0x1UL << SAADC_PUBLISH_CH_LIMITL_EN_Pos) /*!< Bit mask of EN field. */ 13525 #define SAADC_PUBLISH_CH_LIMITL_EN_Disabled (0x0UL) /*!< Disable publishing */ 13526 #define SAADC_PUBLISH_CH_LIMITL_EN_Enabled (0x1UL) /*!< Enable publishing */ 13527 13528 /* Bits 7..0 : DPPI channel that event CH[n].LIMITL will publish to */ 13529 #define SAADC_PUBLISH_CH_LIMITL_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 13530 #define SAADC_PUBLISH_CH_LIMITL_CHIDX_Msk (0xFFUL << SAADC_PUBLISH_CH_LIMITL_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 13531 13532 /* Register: SAADC_INTEN */ 13533 /* Description: Enable or disable interrupt */ 13534 13535 /* Bit 21 : Enable or disable interrupt for event CH7LIMITL */ 13536 #define SAADC_INTEN_CH7LIMITL_Pos (21UL) /*!< Position of CH7LIMITL field. */ 13537 #define SAADC_INTEN_CH7LIMITL_Msk (0x1UL << SAADC_INTEN_CH7LIMITL_Pos) /*!< Bit mask of CH7LIMITL field. */ 13538 #define SAADC_INTEN_CH7LIMITL_Disabled (0x0UL) /*!< Disable */ 13539 #define SAADC_INTEN_CH7LIMITL_Enabled (0x1UL) /*!< Enable */ 13540 13541 /* Bit 20 : Enable or disable interrupt for event CH7LIMITH */ 13542 #define SAADC_INTEN_CH7LIMITH_Pos (20UL) /*!< Position of CH7LIMITH field. */ 13543 #define SAADC_INTEN_CH7LIMITH_Msk (0x1UL << SAADC_INTEN_CH7LIMITH_Pos) /*!< Bit mask of CH7LIMITH field. */ 13544 #define SAADC_INTEN_CH7LIMITH_Disabled (0x0UL) /*!< Disable */ 13545 #define SAADC_INTEN_CH7LIMITH_Enabled (0x1UL) /*!< Enable */ 13546 13547 /* Bit 19 : Enable or disable interrupt for event CH6LIMITL */ 13548 #define SAADC_INTEN_CH6LIMITL_Pos (19UL) /*!< Position of CH6LIMITL field. */ 13549 #define SAADC_INTEN_CH6LIMITL_Msk (0x1UL << SAADC_INTEN_CH6LIMITL_Pos) /*!< Bit mask of CH6LIMITL field. */ 13550 #define SAADC_INTEN_CH6LIMITL_Disabled (0x0UL) /*!< Disable */ 13551 #define SAADC_INTEN_CH6LIMITL_Enabled (0x1UL) /*!< Enable */ 13552 13553 /* Bit 18 : Enable or disable interrupt for event CH6LIMITH */ 13554 #define SAADC_INTEN_CH6LIMITH_Pos (18UL) /*!< Position of CH6LIMITH field. */ 13555 #define SAADC_INTEN_CH6LIMITH_Msk (0x1UL << SAADC_INTEN_CH6LIMITH_Pos) /*!< Bit mask of CH6LIMITH field. */ 13556 #define SAADC_INTEN_CH6LIMITH_Disabled (0x0UL) /*!< Disable */ 13557 #define SAADC_INTEN_CH6LIMITH_Enabled (0x1UL) /*!< Enable */ 13558 13559 /* Bit 17 : Enable or disable interrupt for event CH5LIMITL */ 13560 #define SAADC_INTEN_CH5LIMITL_Pos (17UL) /*!< Position of CH5LIMITL field. */ 13561 #define SAADC_INTEN_CH5LIMITL_Msk (0x1UL << SAADC_INTEN_CH5LIMITL_Pos) /*!< Bit mask of CH5LIMITL field. */ 13562 #define SAADC_INTEN_CH5LIMITL_Disabled (0x0UL) /*!< Disable */ 13563 #define SAADC_INTEN_CH5LIMITL_Enabled (0x1UL) /*!< Enable */ 13564 13565 /* Bit 16 : Enable or disable interrupt for event CH5LIMITH */ 13566 #define SAADC_INTEN_CH5LIMITH_Pos (16UL) /*!< Position of CH5LIMITH field. */ 13567 #define SAADC_INTEN_CH5LIMITH_Msk (0x1UL << SAADC_INTEN_CH5LIMITH_Pos) /*!< Bit mask of CH5LIMITH field. */ 13568 #define SAADC_INTEN_CH5LIMITH_Disabled (0x0UL) /*!< Disable */ 13569 #define SAADC_INTEN_CH5LIMITH_Enabled (0x1UL) /*!< Enable */ 13570 13571 /* Bit 15 : Enable or disable interrupt for event CH4LIMITL */ 13572 #define SAADC_INTEN_CH4LIMITL_Pos (15UL) /*!< Position of CH4LIMITL field. */ 13573 #define SAADC_INTEN_CH4LIMITL_Msk (0x1UL << SAADC_INTEN_CH4LIMITL_Pos) /*!< Bit mask of CH4LIMITL field. */ 13574 #define SAADC_INTEN_CH4LIMITL_Disabled (0x0UL) /*!< Disable */ 13575 #define SAADC_INTEN_CH4LIMITL_Enabled (0x1UL) /*!< Enable */ 13576 13577 /* Bit 14 : Enable or disable interrupt for event CH4LIMITH */ 13578 #define SAADC_INTEN_CH4LIMITH_Pos (14UL) /*!< Position of CH4LIMITH field. */ 13579 #define SAADC_INTEN_CH4LIMITH_Msk (0x1UL << SAADC_INTEN_CH4LIMITH_Pos) /*!< Bit mask of CH4LIMITH field. */ 13580 #define SAADC_INTEN_CH4LIMITH_Disabled (0x0UL) /*!< Disable */ 13581 #define SAADC_INTEN_CH4LIMITH_Enabled (0x1UL) /*!< Enable */ 13582 13583 /* Bit 13 : Enable or disable interrupt for event CH3LIMITL */ 13584 #define SAADC_INTEN_CH3LIMITL_Pos (13UL) /*!< Position of CH3LIMITL field. */ 13585 #define SAADC_INTEN_CH3LIMITL_Msk (0x1UL << SAADC_INTEN_CH3LIMITL_Pos) /*!< Bit mask of CH3LIMITL field. */ 13586 #define SAADC_INTEN_CH3LIMITL_Disabled (0x0UL) /*!< Disable */ 13587 #define SAADC_INTEN_CH3LIMITL_Enabled (0x1UL) /*!< Enable */ 13588 13589 /* Bit 12 : Enable or disable interrupt for event CH3LIMITH */ 13590 #define SAADC_INTEN_CH3LIMITH_Pos (12UL) /*!< Position of CH3LIMITH field. */ 13591 #define SAADC_INTEN_CH3LIMITH_Msk (0x1UL << SAADC_INTEN_CH3LIMITH_Pos) /*!< Bit mask of CH3LIMITH field. */ 13592 #define SAADC_INTEN_CH3LIMITH_Disabled (0x0UL) /*!< Disable */ 13593 #define SAADC_INTEN_CH3LIMITH_Enabled (0x1UL) /*!< Enable */ 13594 13595 /* Bit 11 : Enable or disable interrupt for event CH2LIMITL */ 13596 #define SAADC_INTEN_CH2LIMITL_Pos (11UL) /*!< Position of CH2LIMITL field. */ 13597 #define SAADC_INTEN_CH2LIMITL_Msk (0x1UL << SAADC_INTEN_CH2LIMITL_Pos) /*!< Bit mask of CH2LIMITL field. */ 13598 #define SAADC_INTEN_CH2LIMITL_Disabled (0x0UL) /*!< Disable */ 13599 #define SAADC_INTEN_CH2LIMITL_Enabled (0x1UL) /*!< Enable */ 13600 13601 /* Bit 10 : Enable or disable interrupt for event CH2LIMITH */ 13602 #define SAADC_INTEN_CH2LIMITH_Pos (10UL) /*!< Position of CH2LIMITH field. */ 13603 #define SAADC_INTEN_CH2LIMITH_Msk (0x1UL << SAADC_INTEN_CH2LIMITH_Pos) /*!< Bit mask of CH2LIMITH field. */ 13604 #define SAADC_INTEN_CH2LIMITH_Disabled (0x0UL) /*!< Disable */ 13605 #define SAADC_INTEN_CH2LIMITH_Enabled (0x1UL) /*!< Enable */ 13606 13607 /* Bit 9 : Enable or disable interrupt for event CH1LIMITL */ 13608 #define SAADC_INTEN_CH1LIMITL_Pos (9UL) /*!< Position of CH1LIMITL field. */ 13609 #define SAADC_INTEN_CH1LIMITL_Msk (0x1UL << SAADC_INTEN_CH1LIMITL_Pos) /*!< Bit mask of CH1LIMITL field. */ 13610 #define SAADC_INTEN_CH1LIMITL_Disabled (0x0UL) /*!< Disable */ 13611 #define SAADC_INTEN_CH1LIMITL_Enabled (0x1UL) /*!< Enable */ 13612 13613 /* Bit 8 : Enable or disable interrupt for event CH1LIMITH */ 13614 #define SAADC_INTEN_CH1LIMITH_Pos (8UL) /*!< Position of CH1LIMITH field. */ 13615 #define SAADC_INTEN_CH1LIMITH_Msk (0x1UL << SAADC_INTEN_CH1LIMITH_Pos) /*!< Bit mask of CH1LIMITH field. */ 13616 #define SAADC_INTEN_CH1LIMITH_Disabled (0x0UL) /*!< Disable */ 13617 #define SAADC_INTEN_CH1LIMITH_Enabled (0x1UL) /*!< Enable */ 13618 13619 /* Bit 7 : Enable or disable interrupt for event CH0LIMITL */ 13620 #define SAADC_INTEN_CH0LIMITL_Pos (7UL) /*!< Position of CH0LIMITL field. */ 13621 #define SAADC_INTEN_CH0LIMITL_Msk (0x1UL << SAADC_INTEN_CH0LIMITL_Pos) /*!< Bit mask of CH0LIMITL field. */ 13622 #define SAADC_INTEN_CH0LIMITL_Disabled (0x0UL) /*!< Disable */ 13623 #define SAADC_INTEN_CH0LIMITL_Enabled (0x1UL) /*!< Enable */ 13624 13625 /* Bit 6 : Enable or disable interrupt for event CH0LIMITH */ 13626 #define SAADC_INTEN_CH0LIMITH_Pos (6UL) /*!< Position of CH0LIMITH field. */ 13627 #define SAADC_INTEN_CH0LIMITH_Msk (0x1UL << SAADC_INTEN_CH0LIMITH_Pos) /*!< Bit mask of CH0LIMITH field. */ 13628 #define SAADC_INTEN_CH0LIMITH_Disabled (0x0UL) /*!< Disable */ 13629 #define SAADC_INTEN_CH0LIMITH_Enabled (0x1UL) /*!< Enable */ 13630 13631 /* Bit 5 : Enable or disable interrupt for event STOPPED */ 13632 #define SAADC_INTEN_STOPPED_Pos (5UL) /*!< Position of STOPPED field. */ 13633 #define SAADC_INTEN_STOPPED_Msk (0x1UL << SAADC_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 13634 #define SAADC_INTEN_STOPPED_Disabled (0x0UL) /*!< Disable */ 13635 #define SAADC_INTEN_STOPPED_Enabled (0x1UL) /*!< Enable */ 13636 13637 /* Bit 4 : Enable or disable interrupt for event CALIBRATEDONE */ 13638 #define SAADC_INTEN_CALIBRATEDONE_Pos (4UL) /*!< Position of CALIBRATEDONE field. */ 13639 #define SAADC_INTEN_CALIBRATEDONE_Msk (0x1UL << SAADC_INTEN_CALIBRATEDONE_Pos) /*!< Bit mask of CALIBRATEDONE field. */ 13640 #define SAADC_INTEN_CALIBRATEDONE_Disabled (0x0UL) /*!< Disable */ 13641 #define SAADC_INTEN_CALIBRATEDONE_Enabled (0x1UL) /*!< Enable */ 13642 13643 /* Bit 3 : Enable or disable interrupt for event RESULTDONE */ 13644 #define SAADC_INTEN_RESULTDONE_Pos (3UL) /*!< Position of RESULTDONE field. */ 13645 #define SAADC_INTEN_RESULTDONE_Msk (0x1UL << SAADC_INTEN_RESULTDONE_Pos) /*!< Bit mask of RESULTDONE field. */ 13646 #define SAADC_INTEN_RESULTDONE_Disabled (0x0UL) /*!< Disable */ 13647 #define SAADC_INTEN_RESULTDONE_Enabled (0x1UL) /*!< Enable */ 13648 13649 /* Bit 2 : Enable or disable interrupt for event DONE */ 13650 #define SAADC_INTEN_DONE_Pos (2UL) /*!< Position of DONE field. */ 13651 #define SAADC_INTEN_DONE_Msk (0x1UL << SAADC_INTEN_DONE_Pos) /*!< Bit mask of DONE field. */ 13652 #define SAADC_INTEN_DONE_Disabled (0x0UL) /*!< Disable */ 13653 #define SAADC_INTEN_DONE_Enabled (0x1UL) /*!< Enable */ 13654 13655 /* Bit 1 : Enable or disable interrupt for event END */ 13656 #define SAADC_INTEN_END_Pos (1UL) /*!< Position of END field. */ 13657 #define SAADC_INTEN_END_Msk (0x1UL << SAADC_INTEN_END_Pos) /*!< Bit mask of END field. */ 13658 #define SAADC_INTEN_END_Disabled (0x0UL) /*!< Disable */ 13659 #define SAADC_INTEN_END_Enabled (0x1UL) /*!< Enable */ 13660 13661 /* Bit 0 : Enable or disable interrupt for event STARTED */ 13662 #define SAADC_INTEN_STARTED_Pos (0UL) /*!< Position of STARTED field. */ 13663 #define SAADC_INTEN_STARTED_Msk (0x1UL << SAADC_INTEN_STARTED_Pos) /*!< Bit mask of STARTED field. */ 13664 #define SAADC_INTEN_STARTED_Disabled (0x0UL) /*!< Disable */ 13665 #define SAADC_INTEN_STARTED_Enabled (0x1UL) /*!< Enable */ 13666 13667 /* Register: SAADC_INTENSET */ 13668 /* Description: Enable interrupt */ 13669 13670 /* Bit 21 : Write '1' to enable interrupt for event CH7LIMITL */ 13671 #define SAADC_INTENSET_CH7LIMITL_Pos (21UL) /*!< Position of CH7LIMITL field. */ 13672 #define SAADC_INTENSET_CH7LIMITL_Msk (0x1UL << SAADC_INTENSET_CH7LIMITL_Pos) /*!< Bit mask of CH7LIMITL field. */ 13673 #define SAADC_INTENSET_CH7LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13674 #define SAADC_INTENSET_CH7LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13675 #define SAADC_INTENSET_CH7LIMITL_Set (0x1UL) /*!< Enable */ 13676 13677 /* Bit 20 : Write '1' to enable interrupt for event CH7LIMITH */ 13678 #define SAADC_INTENSET_CH7LIMITH_Pos (20UL) /*!< Position of CH7LIMITH field. */ 13679 #define SAADC_INTENSET_CH7LIMITH_Msk (0x1UL << SAADC_INTENSET_CH7LIMITH_Pos) /*!< Bit mask of CH7LIMITH field. */ 13680 #define SAADC_INTENSET_CH7LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13681 #define SAADC_INTENSET_CH7LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13682 #define SAADC_INTENSET_CH7LIMITH_Set (0x1UL) /*!< Enable */ 13683 13684 /* Bit 19 : Write '1' to enable interrupt for event CH6LIMITL */ 13685 #define SAADC_INTENSET_CH6LIMITL_Pos (19UL) /*!< Position of CH6LIMITL field. */ 13686 #define SAADC_INTENSET_CH6LIMITL_Msk (0x1UL << SAADC_INTENSET_CH6LIMITL_Pos) /*!< Bit mask of CH6LIMITL field. */ 13687 #define SAADC_INTENSET_CH6LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13688 #define SAADC_INTENSET_CH6LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13689 #define SAADC_INTENSET_CH6LIMITL_Set (0x1UL) /*!< Enable */ 13690 13691 /* Bit 18 : Write '1' to enable interrupt for event CH6LIMITH */ 13692 #define SAADC_INTENSET_CH6LIMITH_Pos (18UL) /*!< Position of CH6LIMITH field. */ 13693 #define SAADC_INTENSET_CH6LIMITH_Msk (0x1UL << SAADC_INTENSET_CH6LIMITH_Pos) /*!< Bit mask of CH6LIMITH field. */ 13694 #define SAADC_INTENSET_CH6LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13695 #define SAADC_INTENSET_CH6LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13696 #define SAADC_INTENSET_CH6LIMITH_Set (0x1UL) /*!< Enable */ 13697 13698 /* Bit 17 : Write '1' to enable interrupt for event CH5LIMITL */ 13699 #define SAADC_INTENSET_CH5LIMITL_Pos (17UL) /*!< Position of CH5LIMITL field. */ 13700 #define SAADC_INTENSET_CH5LIMITL_Msk (0x1UL << SAADC_INTENSET_CH5LIMITL_Pos) /*!< Bit mask of CH5LIMITL field. */ 13701 #define SAADC_INTENSET_CH5LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13702 #define SAADC_INTENSET_CH5LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13703 #define SAADC_INTENSET_CH5LIMITL_Set (0x1UL) /*!< Enable */ 13704 13705 /* Bit 16 : Write '1' to enable interrupt for event CH5LIMITH */ 13706 #define SAADC_INTENSET_CH5LIMITH_Pos (16UL) /*!< Position of CH5LIMITH field. */ 13707 #define SAADC_INTENSET_CH5LIMITH_Msk (0x1UL << SAADC_INTENSET_CH5LIMITH_Pos) /*!< Bit mask of CH5LIMITH field. */ 13708 #define SAADC_INTENSET_CH5LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13709 #define SAADC_INTENSET_CH5LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13710 #define SAADC_INTENSET_CH5LIMITH_Set (0x1UL) /*!< Enable */ 13711 13712 /* Bit 15 : Write '1' to enable interrupt for event CH4LIMITL */ 13713 #define SAADC_INTENSET_CH4LIMITL_Pos (15UL) /*!< Position of CH4LIMITL field. */ 13714 #define SAADC_INTENSET_CH4LIMITL_Msk (0x1UL << SAADC_INTENSET_CH4LIMITL_Pos) /*!< Bit mask of CH4LIMITL field. */ 13715 #define SAADC_INTENSET_CH4LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13716 #define SAADC_INTENSET_CH4LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13717 #define SAADC_INTENSET_CH4LIMITL_Set (0x1UL) /*!< Enable */ 13718 13719 /* Bit 14 : Write '1' to enable interrupt for event CH4LIMITH */ 13720 #define SAADC_INTENSET_CH4LIMITH_Pos (14UL) /*!< Position of CH4LIMITH field. */ 13721 #define SAADC_INTENSET_CH4LIMITH_Msk (0x1UL << SAADC_INTENSET_CH4LIMITH_Pos) /*!< Bit mask of CH4LIMITH field. */ 13722 #define SAADC_INTENSET_CH4LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13723 #define SAADC_INTENSET_CH4LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13724 #define SAADC_INTENSET_CH4LIMITH_Set (0x1UL) /*!< Enable */ 13725 13726 /* Bit 13 : Write '1' to enable interrupt for event CH3LIMITL */ 13727 #define SAADC_INTENSET_CH3LIMITL_Pos (13UL) /*!< Position of CH3LIMITL field. */ 13728 #define SAADC_INTENSET_CH3LIMITL_Msk (0x1UL << SAADC_INTENSET_CH3LIMITL_Pos) /*!< Bit mask of CH3LIMITL field. */ 13729 #define SAADC_INTENSET_CH3LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13730 #define SAADC_INTENSET_CH3LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13731 #define SAADC_INTENSET_CH3LIMITL_Set (0x1UL) /*!< Enable */ 13732 13733 /* Bit 12 : Write '1' to enable interrupt for event CH3LIMITH */ 13734 #define SAADC_INTENSET_CH3LIMITH_Pos (12UL) /*!< Position of CH3LIMITH field. */ 13735 #define SAADC_INTENSET_CH3LIMITH_Msk (0x1UL << SAADC_INTENSET_CH3LIMITH_Pos) /*!< Bit mask of CH3LIMITH field. */ 13736 #define SAADC_INTENSET_CH3LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13737 #define SAADC_INTENSET_CH3LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13738 #define SAADC_INTENSET_CH3LIMITH_Set (0x1UL) /*!< Enable */ 13739 13740 /* Bit 11 : Write '1' to enable interrupt for event CH2LIMITL */ 13741 #define SAADC_INTENSET_CH2LIMITL_Pos (11UL) /*!< Position of CH2LIMITL field. */ 13742 #define SAADC_INTENSET_CH2LIMITL_Msk (0x1UL << SAADC_INTENSET_CH2LIMITL_Pos) /*!< Bit mask of CH2LIMITL field. */ 13743 #define SAADC_INTENSET_CH2LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13744 #define SAADC_INTENSET_CH2LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13745 #define SAADC_INTENSET_CH2LIMITL_Set (0x1UL) /*!< Enable */ 13746 13747 /* Bit 10 : Write '1' to enable interrupt for event CH2LIMITH */ 13748 #define SAADC_INTENSET_CH2LIMITH_Pos (10UL) /*!< Position of CH2LIMITH field. */ 13749 #define SAADC_INTENSET_CH2LIMITH_Msk (0x1UL << SAADC_INTENSET_CH2LIMITH_Pos) /*!< Bit mask of CH2LIMITH field. */ 13750 #define SAADC_INTENSET_CH2LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13751 #define SAADC_INTENSET_CH2LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13752 #define SAADC_INTENSET_CH2LIMITH_Set (0x1UL) /*!< Enable */ 13753 13754 /* Bit 9 : Write '1' to enable interrupt for event CH1LIMITL */ 13755 #define SAADC_INTENSET_CH1LIMITL_Pos (9UL) /*!< Position of CH1LIMITL field. */ 13756 #define SAADC_INTENSET_CH1LIMITL_Msk (0x1UL << SAADC_INTENSET_CH1LIMITL_Pos) /*!< Bit mask of CH1LIMITL field. */ 13757 #define SAADC_INTENSET_CH1LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13758 #define SAADC_INTENSET_CH1LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13759 #define SAADC_INTENSET_CH1LIMITL_Set (0x1UL) /*!< Enable */ 13760 13761 /* Bit 8 : Write '1' to enable interrupt for event CH1LIMITH */ 13762 #define SAADC_INTENSET_CH1LIMITH_Pos (8UL) /*!< Position of CH1LIMITH field. */ 13763 #define SAADC_INTENSET_CH1LIMITH_Msk (0x1UL << SAADC_INTENSET_CH1LIMITH_Pos) /*!< Bit mask of CH1LIMITH field. */ 13764 #define SAADC_INTENSET_CH1LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13765 #define SAADC_INTENSET_CH1LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13766 #define SAADC_INTENSET_CH1LIMITH_Set (0x1UL) /*!< Enable */ 13767 13768 /* Bit 7 : Write '1' to enable interrupt for event CH0LIMITL */ 13769 #define SAADC_INTENSET_CH0LIMITL_Pos (7UL) /*!< Position of CH0LIMITL field. */ 13770 #define SAADC_INTENSET_CH0LIMITL_Msk (0x1UL << SAADC_INTENSET_CH0LIMITL_Pos) /*!< Bit mask of CH0LIMITL field. */ 13771 #define SAADC_INTENSET_CH0LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13772 #define SAADC_INTENSET_CH0LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13773 #define SAADC_INTENSET_CH0LIMITL_Set (0x1UL) /*!< Enable */ 13774 13775 /* Bit 6 : Write '1' to enable interrupt for event CH0LIMITH */ 13776 #define SAADC_INTENSET_CH0LIMITH_Pos (6UL) /*!< Position of CH0LIMITH field. */ 13777 #define SAADC_INTENSET_CH0LIMITH_Msk (0x1UL << SAADC_INTENSET_CH0LIMITH_Pos) /*!< Bit mask of CH0LIMITH field. */ 13778 #define SAADC_INTENSET_CH0LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13779 #define SAADC_INTENSET_CH0LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13780 #define SAADC_INTENSET_CH0LIMITH_Set (0x1UL) /*!< Enable */ 13781 13782 /* Bit 5 : Write '1' to enable interrupt for event STOPPED */ 13783 #define SAADC_INTENSET_STOPPED_Pos (5UL) /*!< Position of STOPPED field. */ 13784 #define SAADC_INTENSET_STOPPED_Msk (0x1UL << SAADC_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 13785 #define SAADC_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 13786 #define SAADC_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 13787 #define SAADC_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 13788 13789 /* Bit 4 : Write '1' to enable interrupt for event CALIBRATEDONE */ 13790 #define SAADC_INTENSET_CALIBRATEDONE_Pos (4UL) /*!< Position of CALIBRATEDONE field. */ 13791 #define SAADC_INTENSET_CALIBRATEDONE_Msk (0x1UL << SAADC_INTENSET_CALIBRATEDONE_Pos) /*!< Bit mask of CALIBRATEDONE field. */ 13792 #define SAADC_INTENSET_CALIBRATEDONE_Disabled (0x0UL) /*!< Read: Disabled */ 13793 #define SAADC_INTENSET_CALIBRATEDONE_Enabled (0x1UL) /*!< Read: Enabled */ 13794 #define SAADC_INTENSET_CALIBRATEDONE_Set (0x1UL) /*!< Enable */ 13795 13796 /* Bit 3 : Write '1' to enable interrupt for event RESULTDONE */ 13797 #define SAADC_INTENSET_RESULTDONE_Pos (3UL) /*!< Position of RESULTDONE field. */ 13798 #define SAADC_INTENSET_RESULTDONE_Msk (0x1UL << SAADC_INTENSET_RESULTDONE_Pos) /*!< Bit mask of RESULTDONE field. */ 13799 #define SAADC_INTENSET_RESULTDONE_Disabled (0x0UL) /*!< Read: Disabled */ 13800 #define SAADC_INTENSET_RESULTDONE_Enabled (0x1UL) /*!< Read: Enabled */ 13801 #define SAADC_INTENSET_RESULTDONE_Set (0x1UL) /*!< Enable */ 13802 13803 /* Bit 2 : Write '1' to enable interrupt for event DONE */ 13804 #define SAADC_INTENSET_DONE_Pos (2UL) /*!< Position of DONE field. */ 13805 #define SAADC_INTENSET_DONE_Msk (0x1UL << SAADC_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */ 13806 #define SAADC_INTENSET_DONE_Disabled (0x0UL) /*!< Read: Disabled */ 13807 #define SAADC_INTENSET_DONE_Enabled (0x1UL) /*!< Read: Enabled */ 13808 #define SAADC_INTENSET_DONE_Set (0x1UL) /*!< Enable */ 13809 13810 /* Bit 1 : Write '1' to enable interrupt for event END */ 13811 #define SAADC_INTENSET_END_Pos (1UL) /*!< Position of END field. */ 13812 #define SAADC_INTENSET_END_Msk (0x1UL << SAADC_INTENSET_END_Pos) /*!< Bit mask of END field. */ 13813 #define SAADC_INTENSET_END_Disabled (0x0UL) /*!< Read: Disabled */ 13814 #define SAADC_INTENSET_END_Enabled (0x1UL) /*!< Read: Enabled */ 13815 #define SAADC_INTENSET_END_Set (0x1UL) /*!< Enable */ 13816 13817 /* Bit 0 : Write '1' to enable interrupt for event STARTED */ 13818 #define SAADC_INTENSET_STARTED_Pos (0UL) /*!< Position of STARTED field. */ 13819 #define SAADC_INTENSET_STARTED_Msk (0x1UL << SAADC_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */ 13820 #define SAADC_INTENSET_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 13821 #define SAADC_INTENSET_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 13822 #define SAADC_INTENSET_STARTED_Set (0x1UL) /*!< Enable */ 13823 13824 /* Register: SAADC_INTENCLR */ 13825 /* Description: Disable interrupt */ 13826 13827 /* Bit 21 : Write '1' to disable interrupt for event CH7LIMITL */ 13828 #define SAADC_INTENCLR_CH7LIMITL_Pos (21UL) /*!< Position of CH7LIMITL field. */ 13829 #define SAADC_INTENCLR_CH7LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH7LIMITL_Pos) /*!< Bit mask of CH7LIMITL field. */ 13830 #define SAADC_INTENCLR_CH7LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13831 #define SAADC_INTENCLR_CH7LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13832 #define SAADC_INTENCLR_CH7LIMITL_Clear (0x1UL) /*!< Disable */ 13833 13834 /* Bit 20 : Write '1' to disable interrupt for event CH7LIMITH */ 13835 #define SAADC_INTENCLR_CH7LIMITH_Pos (20UL) /*!< Position of CH7LIMITH field. */ 13836 #define SAADC_INTENCLR_CH7LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH7LIMITH_Pos) /*!< Bit mask of CH7LIMITH field. */ 13837 #define SAADC_INTENCLR_CH7LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13838 #define SAADC_INTENCLR_CH7LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13839 #define SAADC_INTENCLR_CH7LIMITH_Clear (0x1UL) /*!< Disable */ 13840 13841 /* Bit 19 : Write '1' to disable interrupt for event CH6LIMITL */ 13842 #define SAADC_INTENCLR_CH6LIMITL_Pos (19UL) /*!< Position of CH6LIMITL field. */ 13843 #define SAADC_INTENCLR_CH6LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH6LIMITL_Pos) /*!< Bit mask of CH6LIMITL field. */ 13844 #define SAADC_INTENCLR_CH6LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13845 #define SAADC_INTENCLR_CH6LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13846 #define SAADC_INTENCLR_CH6LIMITL_Clear (0x1UL) /*!< Disable */ 13847 13848 /* Bit 18 : Write '1' to disable interrupt for event CH6LIMITH */ 13849 #define SAADC_INTENCLR_CH6LIMITH_Pos (18UL) /*!< Position of CH6LIMITH field. */ 13850 #define SAADC_INTENCLR_CH6LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH6LIMITH_Pos) /*!< Bit mask of CH6LIMITH field. */ 13851 #define SAADC_INTENCLR_CH6LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13852 #define SAADC_INTENCLR_CH6LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13853 #define SAADC_INTENCLR_CH6LIMITH_Clear (0x1UL) /*!< Disable */ 13854 13855 /* Bit 17 : Write '1' to disable interrupt for event CH5LIMITL */ 13856 #define SAADC_INTENCLR_CH5LIMITL_Pos (17UL) /*!< Position of CH5LIMITL field. */ 13857 #define SAADC_INTENCLR_CH5LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH5LIMITL_Pos) /*!< Bit mask of CH5LIMITL field. */ 13858 #define SAADC_INTENCLR_CH5LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13859 #define SAADC_INTENCLR_CH5LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13860 #define SAADC_INTENCLR_CH5LIMITL_Clear (0x1UL) /*!< Disable */ 13861 13862 /* Bit 16 : Write '1' to disable interrupt for event CH5LIMITH */ 13863 #define SAADC_INTENCLR_CH5LIMITH_Pos (16UL) /*!< Position of CH5LIMITH field. */ 13864 #define SAADC_INTENCLR_CH5LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH5LIMITH_Pos) /*!< Bit mask of CH5LIMITH field. */ 13865 #define SAADC_INTENCLR_CH5LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13866 #define SAADC_INTENCLR_CH5LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13867 #define SAADC_INTENCLR_CH5LIMITH_Clear (0x1UL) /*!< Disable */ 13868 13869 /* Bit 15 : Write '1' to disable interrupt for event CH4LIMITL */ 13870 #define SAADC_INTENCLR_CH4LIMITL_Pos (15UL) /*!< Position of CH4LIMITL field. */ 13871 #define SAADC_INTENCLR_CH4LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH4LIMITL_Pos) /*!< Bit mask of CH4LIMITL field. */ 13872 #define SAADC_INTENCLR_CH4LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13873 #define SAADC_INTENCLR_CH4LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13874 #define SAADC_INTENCLR_CH4LIMITL_Clear (0x1UL) /*!< Disable */ 13875 13876 /* Bit 14 : Write '1' to disable interrupt for event CH4LIMITH */ 13877 #define SAADC_INTENCLR_CH4LIMITH_Pos (14UL) /*!< Position of CH4LIMITH field. */ 13878 #define SAADC_INTENCLR_CH4LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH4LIMITH_Pos) /*!< Bit mask of CH4LIMITH field. */ 13879 #define SAADC_INTENCLR_CH4LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13880 #define SAADC_INTENCLR_CH4LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13881 #define SAADC_INTENCLR_CH4LIMITH_Clear (0x1UL) /*!< Disable */ 13882 13883 /* Bit 13 : Write '1' to disable interrupt for event CH3LIMITL */ 13884 #define SAADC_INTENCLR_CH3LIMITL_Pos (13UL) /*!< Position of CH3LIMITL field. */ 13885 #define SAADC_INTENCLR_CH3LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH3LIMITL_Pos) /*!< Bit mask of CH3LIMITL field. */ 13886 #define SAADC_INTENCLR_CH3LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13887 #define SAADC_INTENCLR_CH3LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13888 #define SAADC_INTENCLR_CH3LIMITL_Clear (0x1UL) /*!< Disable */ 13889 13890 /* Bit 12 : Write '1' to disable interrupt for event CH3LIMITH */ 13891 #define SAADC_INTENCLR_CH3LIMITH_Pos (12UL) /*!< Position of CH3LIMITH field. */ 13892 #define SAADC_INTENCLR_CH3LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH3LIMITH_Pos) /*!< Bit mask of CH3LIMITH field. */ 13893 #define SAADC_INTENCLR_CH3LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13894 #define SAADC_INTENCLR_CH3LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13895 #define SAADC_INTENCLR_CH3LIMITH_Clear (0x1UL) /*!< Disable */ 13896 13897 /* Bit 11 : Write '1' to disable interrupt for event CH2LIMITL */ 13898 #define SAADC_INTENCLR_CH2LIMITL_Pos (11UL) /*!< Position of CH2LIMITL field. */ 13899 #define SAADC_INTENCLR_CH2LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH2LIMITL_Pos) /*!< Bit mask of CH2LIMITL field. */ 13900 #define SAADC_INTENCLR_CH2LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13901 #define SAADC_INTENCLR_CH2LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13902 #define SAADC_INTENCLR_CH2LIMITL_Clear (0x1UL) /*!< Disable */ 13903 13904 /* Bit 10 : Write '1' to disable interrupt for event CH2LIMITH */ 13905 #define SAADC_INTENCLR_CH2LIMITH_Pos (10UL) /*!< Position of CH2LIMITH field. */ 13906 #define SAADC_INTENCLR_CH2LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH2LIMITH_Pos) /*!< Bit mask of CH2LIMITH field. */ 13907 #define SAADC_INTENCLR_CH2LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13908 #define SAADC_INTENCLR_CH2LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13909 #define SAADC_INTENCLR_CH2LIMITH_Clear (0x1UL) /*!< Disable */ 13910 13911 /* Bit 9 : Write '1' to disable interrupt for event CH1LIMITL */ 13912 #define SAADC_INTENCLR_CH1LIMITL_Pos (9UL) /*!< Position of CH1LIMITL field. */ 13913 #define SAADC_INTENCLR_CH1LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH1LIMITL_Pos) /*!< Bit mask of CH1LIMITL field. */ 13914 #define SAADC_INTENCLR_CH1LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13915 #define SAADC_INTENCLR_CH1LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13916 #define SAADC_INTENCLR_CH1LIMITL_Clear (0x1UL) /*!< Disable */ 13917 13918 /* Bit 8 : Write '1' to disable interrupt for event CH1LIMITH */ 13919 #define SAADC_INTENCLR_CH1LIMITH_Pos (8UL) /*!< Position of CH1LIMITH field. */ 13920 #define SAADC_INTENCLR_CH1LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH1LIMITH_Pos) /*!< Bit mask of CH1LIMITH field. */ 13921 #define SAADC_INTENCLR_CH1LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13922 #define SAADC_INTENCLR_CH1LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13923 #define SAADC_INTENCLR_CH1LIMITH_Clear (0x1UL) /*!< Disable */ 13924 13925 /* Bit 7 : Write '1' to disable interrupt for event CH0LIMITL */ 13926 #define SAADC_INTENCLR_CH0LIMITL_Pos (7UL) /*!< Position of CH0LIMITL field. */ 13927 #define SAADC_INTENCLR_CH0LIMITL_Msk (0x1UL << SAADC_INTENCLR_CH0LIMITL_Pos) /*!< Bit mask of CH0LIMITL field. */ 13928 #define SAADC_INTENCLR_CH0LIMITL_Disabled (0x0UL) /*!< Read: Disabled */ 13929 #define SAADC_INTENCLR_CH0LIMITL_Enabled (0x1UL) /*!< Read: Enabled */ 13930 #define SAADC_INTENCLR_CH0LIMITL_Clear (0x1UL) /*!< Disable */ 13931 13932 /* Bit 6 : Write '1' to disable interrupt for event CH0LIMITH */ 13933 #define SAADC_INTENCLR_CH0LIMITH_Pos (6UL) /*!< Position of CH0LIMITH field. */ 13934 #define SAADC_INTENCLR_CH0LIMITH_Msk (0x1UL << SAADC_INTENCLR_CH0LIMITH_Pos) /*!< Bit mask of CH0LIMITH field. */ 13935 #define SAADC_INTENCLR_CH0LIMITH_Disabled (0x0UL) /*!< Read: Disabled */ 13936 #define SAADC_INTENCLR_CH0LIMITH_Enabled (0x1UL) /*!< Read: Enabled */ 13937 #define SAADC_INTENCLR_CH0LIMITH_Clear (0x1UL) /*!< Disable */ 13938 13939 /* Bit 5 : Write '1' to disable interrupt for event STOPPED */ 13940 #define SAADC_INTENCLR_STOPPED_Pos (5UL) /*!< Position of STOPPED field. */ 13941 #define SAADC_INTENCLR_STOPPED_Msk (0x1UL << SAADC_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 13942 #define SAADC_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 13943 #define SAADC_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 13944 #define SAADC_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 13945 13946 /* Bit 4 : Write '1' to disable interrupt for event CALIBRATEDONE */ 13947 #define SAADC_INTENCLR_CALIBRATEDONE_Pos (4UL) /*!< Position of CALIBRATEDONE field. */ 13948 #define SAADC_INTENCLR_CALIBRATEDONE_Msk (0x1UL << SAADC_INTENCLR_CALIBRATEDONE_Pos) /*!< Bit mask of CALIBRATEDONE field. */ 13949 #define SAADC_INTENCLR_CALIBRATEDONE_Disabled (0x0UL) /*!< Read: Disabled */ 13950 #define SAADC_INTENCLR_CALIBRATEDONE_Enabled (0x1UL) /*!< Read: Enabled */ 13951 #define SAADC_INTENCLR_CALIBRATEDONE_Clear (0x1UL) /*!< Disable */ 13952 13953 /* Bit 3 : Write '1' to disable interrupt for event RESULTDONE */ 13954 #define SAADC_INTENCLR_RESULTDONE_Pos (3UL) /*!< Position of RESULTDONE field. */ 13955 #define SAADC_INTENCLR_RESULTDONE_Msk (0x1UL << SAADC_INTENCLR_RESULTDONE_Pos) /*!< Bit mask of RESULTDONE field. */ 13956 #define SAADC_INTENCLR_RESULTDONE_Disabled (0x0UL) /*!< Read: Disabled */ 13957 #define SAADC_INTENCLR_RESULTDONE_Enabled (0x1UL) /*!< Read: Enabled */ 13958 #define SAADC_INTENCLR_RESULTDONE_Clear (0x1UL) /*!< Disable */ 13959 13960 /* Bit 2 : Write '1' to disable interrupt for event DONE */ 13961 #define SAADC_INTENCLR_DONE_Pos (2UL) /*!< Position of DONE field. */ 13962 #define SAADC_INTENCLR_DONE_Msk (0x1UL << SAADC_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */ 13963 #define SAADC_INTENCLR_DONE_Disabled (0x0UL) /*!< Read: Disabled */ 13964 #define SAADC_INTENCLR_DONE_Enabled (0x1UL) /*!< Read: Enabled */ 13965 #define SAADC_INTENCLR_DONE_Clear (0x1UL) /*!< Disable */ 13966 13967 /* Bit 1 : Write '1' to disable interrupt for event END */ 13968 #define SAADC_INTENCLR_END_Pos (1UL) /*!< Position of END field. */ 13969 #define SAADC_INTENCLR_END_Msk (0x1UL << SAADC_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 13970 #define SAADC_INTENCLR_END_Disabled (0x0UL) /*!< Read: Disabled */ 13971 #define SAADC_INTENCLR_END_Enabled (0x1UL) /*!< Read: Enabled */ 13972 #define SAADC_INTENCLR_END_Clear (0x1UL) /*!< Disable */ 13973 13974 /* Bit 0 : Write '1' to disable interrupt for event STARTED */ 13975 #define SAADC_INTENCLR_STARTED_Pos (0UL) /*!< Position of STARTED field. */ 13976 #define SAADC_INTENCLR_STARTED_Msk (0x1UL << SAADC_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */ 13977 #define SAADC_INTENCLR_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 13978 #define SAADC_INTENCLR_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 13979 #define SAADC_INTENCLR_STARTED_Clear (0x1UL) /*!< Disable */ 13980 13981 /* Register: SAADC_STATUS */ 13982 /* Description: Status */ 13983 13984 /* Bit 0 : Status */ 13985 #define SAADC_STATUS_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 13986 #define SAADC_STATUS_STATUS_Msk (0x1UL << SAADC_STATUS_STATUS_Pos) /*!< Bit mask of STATUS field. */ 13987 #define SAADC_STATUS_STATUS_Ready (0x0UL) /*!< ADC is ready. No ongoing conversion. */ 13988 #define SAADC_STATUS_STATUS_Busy (0x1UL) /*!< ADC is busy. Single conversion in progress. */ 13989 13990 /* Register: SAADC_ENABLE */ 13991 /* Description: Enable or disable ADC */ 13992 13993 /* Bit 0 : Enable or disable ADC */ 13994 #define SAADC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 13995 #define SAADC_ENABLE_ENABLE_Msk (0x1UL << SAADC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 13996 #define SAADC_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable ADC */ 13997 #define SAADC_ENABLE_ENABLE_Enabled (0x1UL) /*!< Enable ADC */ 13998 13999 /* Register: SAADC_CH_PSELP */ 14000 /* Description: Description cluster: Input positive pin selection for CH[n] */ 14001 14002 /* Bits 4..0 : Analog positive input channel */ 14003 #define SAADC_CH_PSELP_PSELP_Pos (0UL) /*!< Position of PSELP field. */ 14004 #define SAADC_CH_PSELP_PSELP_Msk (0x1FUL << SAADC_CH_PSELP_PSELP_Pos) /*!< Bit mask of PSELP field. */ 14005 #define SAADC_CH_PSELP_PSELP_NC (0x00UL) /*!< Not connected */ 14006 #define SAADC_CH_PSELP_PSELP_AnalogInput0 (0x01UL) /*!< AIN0 */ 14007 #define SAADC_CH_PSELP_PSELP_AnalogInput1 (0x02UL) /*!< AIN1 */ 14008 #define SAADC_CH_PSELP_PSELP_AnalogInput2 (0x03UL) /*!< AIN2 */ 14009 #define SAADC_CH_PSELP_PSELP_AnalogInput3 (0x04UL) /*!< AIN3 */ 14010 #define SAADC_CH_PSELP_PSELP_AnalogInput4 (0x05UL) /*!< AIN4 */ 14011 #define SAADC_CH_PSELP_PSELP_AnalogInput5 (0x06UL) /*!< AIN5 */ 14012 #define SAADC_CH_PSELP_PSELP_AnalogInput6 (0x07UL) /*!< AIN6 */ 14013 #define SAADC_CH_PSELP_PSELP_AnalogInput7 (0x08UL) /*!< AIN7 */ 14014 #define SAADC_CH_PSELP_PSELP_VDD (0x09UL) /*!< VDD */ 14015 #define SAADC_CH_PSELP_PSELP_VDDHDIV5 (0x0DUL) /*!< VDDH/5 */ 14016 14017 /* Register: SAADC_CH_PSELN */ 14018 /* Description: Description cluster: Input negative pin selection for CH[n] */ 14019 14020 /* Bits 4..0 : Analog negative input, enables differential channel */ 14021 #define SAADC_CH_PSELN_PSELN_Pos (0UL) /*!< Position of PSELN field. */ 14022 #define SAADC_CH_PSELN_PSELN_Msk (0x1FUL << SAADC_CH_PSELN_PSELN_Pos) /*!< Bit mask of PSELN field. */ 14023 #define SAADC_CH_PSELN_PSELN_NC (0x00UL) /*!< Not connected */ 14024 #define SAADC_CH_PSELN_PSELN_AnalogInput0 (0x01UL) /*!< AIN0 */ 14025 #define SAADC_CH_PSELN_PSELN_AnalogInput1 (0x02UL) /*!< AIN1 */ 14026 #define SAADC_CH_PSELN_PSELN_AnalogInput2 (0x03UL) /*!< AIN2 */ 14027 #define SAADC_CH_PSELN_PSELN_AnalogInput3 (0x04UL) /*!< AIN3 */ 14028 #define SAADC_CH_PSELN_PSELN_AnalogInput4 (0x05UL) /*!< AIN4 */ 14029 #define SAADC_CH_PSELN_PSELN_AnalogInput5 (0x06UL) /*!< AIN5 */ 14030 #define SAADC_CH_PSELN_PSELN_AnalogInput6 (0x07UL) /*!< AIN6 */ 14031 #define SAADC_CH_PSELN_PSELN_AnalogInput7 (0x08UL) /*!< AIN7 */ 14032 #define SAADC_CH_PSELN_PSELN_VDD (0x09UL) /*!< VDD */ 14033 #define SAADC_CH_PSELN_PSELN_VDDHDIV5 (0x0DUL) /*!< VDDH/5 */ 14034 14035 /* Register: SAADC_CH_CONFIG */ 14036 /* Description: Description cluster: Input configuration for CH[n] */ 14037 14038 /* Bit 24 : Enable burst mode */ 14039 #define SAADC_CH_CONFIG_BURST_Pos (24UL) /*!< Position of BURST field. */ 14040 #define SAADC_CH_CONFIG_BURST_Msk (0x1UL << SAADC_CH_CONFIG_BURST_Pos) /*!< Bit mask of BURST field. */ 14041 #define SAADC_CH_CONFIG_BURST_Disabled (0x0UL) /*!< Burst mode is disabled (normal operation) */ 14042 #define SAADC_CH_CONFIG_BURST_Enabled (0x1UL) /*!< Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM. */ 14043 14044 /* Bit 20 : Enable differential mode */ 14045 #define SAADC_CH_CONFIG_MODE_Pos (20UL) /*!< Position of MODE field. */ 14046 #define SAADC_CH_CONFIG_MODE_Msk (0x1UL << SAADC_CH_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */ 14047 #define SAADC_CH_CONFIG_MODE_SE (0x0UL) /*!< Single-ended, PSELN will be ignored, negative input to ADC shorted to GND */ 14048 #define SAADC_CH_CONFIG_MODE_Diff (0x1UL) /*!< Differential */ 14049 14050 /* Bits 18..16 : Acquisition time, the time the ADC uses to sample the input voltage */ 14051 #define SAADC_CH_CONFIG_TACQ_Pos (16UL) /*!< Position of TACQ field. */ 14052 #define SAADC_CH_CONFIG_TACQ_Msk (0x7UL << SAADC_CH_CONFIG_TACQ_Pos) /*!< Bit mask of TACQ field. */ 14053 #define SAADC_CH_CONFIG_TACQ_3us (0x0UL) /*!< 3 us */ 14054 #define SAADC_CH_CONFIG_TACQ_5us (0x1UL) /*!< 5 us */ 14055 #define SAADC_CH_CONFIG_TACQ_10us (0x2UL) /*!< 10 us */ 14056 #define SAADC_CH_CONFIG_TACQ_15us (0x3UL) /*!< 15 us */ 14057 #define SAADC_CH_CONFIG_TACQ_20us (0x4UL) /*!< 20 us */ 14058 #define SAADC_CH_CONFIG_TACQ_40us (0x5UL) /*!< 40 us */ 14059 14060 /* Bit 12 : Reference control */ 14061 #define SAADC_CH_CONFIG_REFSEL_Pos (12UL) /*!< Position of REFSEL field. */ 14062 #define SAADC_CH_CONFIG_REFSEL_Msk (0x1UL << SAADC_CH_CONFIG_REFSEL_Pos) /*!< Bit mask of REFSEL field. */ 14063 #define SAADC_CH_CONFIG_REFSEL_Internal (0x0UL) /*!< Internal reference (0.6 V) */ 14064 #define SAADC_CH_CONFIG_REFSEL_VDD1_4 (0x1UL) /*!< VDD/4 as reference */ 14065 14066 /* Bits 10..8 : Gain control */ 14067 #define SAADC_CH_CONFIG_GAIN_Pos (8UL) /*!< Position of GAIN field. */ 14068 #define SAADC_CH_CONFIG_GAIN_Msk (0x7UL << SAADC_CH_CONFIG_GAIN_Pos) /*!< Bit mask of GAIN field. */ 14069 #define SAADC_CH_CONFIG_GAIN_Gain1_6 (0x0UL) /*!< 1/6 */ 14070 #define SAADC_CH_CONFIG_GAIN_Gain1_5 (0x1UL) /*!< 1/5 */ 14071 #define SAADC_CH_CONFIG_GAIN_Gain1_4 (0x2UL) /*!< 1/4 */ 14072 #define SAADC_CH_CONFIG_GAIN_Gain1_3 (0x3UL) /*!< 1/3 */ 14073 #define SAADC_CH_CONFIG_GAIN_Gain1_2 (0x4UL) /*!< 1/2 */ 14074 #define SAADC_CH_CONFIG_GAIN_Gain1 (0x5UL) /*!< 1 */ 14075 #define SAADC_CH_CONFIG_GAIN_Gain2 (0x6UL) /*!< 2 */ 14076 #define SAADC_CH_CONFIG_GAIN_Gain4 (0x7UL) /*!< 4 */ 14077 14078 /* Bits 5..4 : Negative channel resistor control */ 14079 #define SAADC_CH_CONFIG_RESN_Pos (4UL) /*!< Position of RESN field. */ 14080 #define SAADC_CH_CONFIG_RESN_Msk (0x3UL << SAADC_CH_CONFIG_RESN_Pos) /*!< Bit mask of RESN field. */ 14081 #define SAADC_CH_CONFIG_RESN_Bypass (0x0UL) /*!< Bypass resistor ladder */ 14082 #define SAADC_CH_CONFIG_RESN_Pulldown (0x1UL) /*!< Pull-down to GND */ 14083 #define SAADC_CH_CONFIG_RESN_Pullup (0x2UL) /*!< Pull-up to VDD */ 14084 #define SAADC_CH_CONFIG_RESN_VDD1_2 (0x3UL) /*!< Set input at VDD/2 */ 14085 14086 /* Bits 1..0 : Positive channel resistor control */ 14087 #define SAADC_CH_CONFIG_RESP_Pos (0UL) /*!< Position of RESP field. */ 14088 #define SAADC_CH_CONFIG_RESP_Msk (0x3UL << SAADC_CH_CONFIG_RESP_Pos) /*!< Bit mask of RESP field. */ 14089 #define SAADC_CH_CONFIG_RESP_Bypass (0x0UL) /*!< Bypass resistor ladder */ 14090 #define SAADC_CH_CONFIG_RESP_Pulldown (0x1UL) /*!< Pull-down to GND */ 14091 #define SAADC_CH_CONFIG_RESP_Pullup (0x2UL) /*!< Pull-up to VDD */ 14092 #define SAADC_CH_CONFIG_RESP_VDD1_2 (0x3UL) /*!< Set input at VDD/2 */ 14093 14094 /* Register: SAADC_CH_LIMIT */ 14095 /* Description: Description cluster: High/low limits for event monitoring a channel */ 14096 14097 /* Bits 31..16 : High level limit */ 14098 #define SAADC_CH_LIMIT_HIGH_Pos (16UL) /*!< Position of HIGH field. */ 14099 #define SAADC_CH_LIMIT_HIGH_Msk (0xFFFFUL << SAADC_CH_LIMIT_HIGH_Pos) /*!< Bit mask of HIGH field. */ 14100 14101 /* Bits 15..0 : Low level limit */ 14102 #define SAADC_CH_LIMIT_LOW_Pos (0UL) /*!< Position of LOW field. */ 14103 #define SAADC_CH_LIMIT_LOW_Msk (0xFFFFUL << SAADC_CH_LIMIT_LOW_Pos) /*!< Bit mask of LOW field. */ 14104 14105 /* Register: SAADC_RESOLUTION */ 14106 /* Description: Resolution configuration */ 14107 14108 /* Bits 2..0 : Set the resolution */ 14109 #define SAADC_RESOLUTION_VAL_Pos (0UL) /*!< Position of VAL field. */ 14110 #define SAADC_RESOLUTION_VAL_Msk (0x7UL << SAADC_RESOLUTION_VAL_Pos) /*!< Bit mask of VAL field. */ 14111 #define SAADC_RESOLUTION_VAL_8bit (0x0UL) /*!< 8 bit */ 14112 #define SAADC_RESOLUTION_VAL_10bit (0x1UL) /*!< 10 bit */ 14113 #define SAADC_RESOLUTION_VAL_12bit (0x2UL) /*!< 12 bit */ 14114 #define SAADC_RESOLUTION_VAL_14bit (0x3UL) /*!< 14 bit */ 14115 14116 /* Register: SAADC_OVERSAMPLE */ 14117 /* Description: Oversampling configuration. OVERSAMPLE should not be combined with SCAN. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used. */ 14118 14119 /* Bits 3..0 : Oversample control */ 14120 #define SAADC_OVERSAMPLE_OVERSAMPLE_Pos (0UL) /*!< Position of OVERSAMPLE field. */ 14121 #define SAADC_OVERSAMPLE_OVERSAMPLE_Msk (0xFUL << SAADC_OVERSAMPLE_OVERSAMPLE_Pos) /*!< Bit mask of OVERSAMPLE field. */ 14122 #define SAADC_OVERSAMPLE_OVERSAMPLE_Bypass (0x0UL) /*!< Bypass oversampling */ 14123 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over2x (0x1UL) /*!< Oversample 2x */ 14124 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over4x (0x2UL) /*!< Oversample 4x */ 14125 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over8x (0x3UL) /*!< Oversample 8x */ 14126 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over16x (0x4UL) /*!< Oversample 16x */ 14127 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over32x (0x5UL) /*!< Oversample 32x */ 14128 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over64x (0x6UL) /*!< Oversample 64x */ 14129 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over128x (0x7UL) /*!< Oversample 128x */ 14130 #define SAADC_OVERSAMPLE_OVERSAMPLE_Over256x (0x8UL) /*!< Oversample 256x */ 14131 14132 /* Register: SAADC_SAMPLERATE */ 14133 /* Description: Controls normal or continuous sample rate */ 14134 14135 /* Bit 12 : Select mode for sample rate control */ 14136 #define SAADC_SAMPLERATE_MODE_Pos (12UL) /*!< Position of MODE field. */ 14137 #define SAADC_SAMPLERATE_MODE_Msk (0x1UL << SAADC_SAMPLERATE_MODE_Pos) /*!< Bit mask of MODE field. */ 14138 #define SAADC_SAMPLERATE_MODE_Task (0x0UL) /*!< Rate is controlled from SAMPLE task */ 14139 #define SAADC_SAMPLERATE_MODE_Timers (0x1UL) /*!< Rate is controlled from local timer (use CC to control the rate) */ 14140 14141 /* Bits 10..0 : Capture and compare value; sample rate is 16 MHz/CC */ 14142 #define SAADC_SAMPLERATE_CC_Pos (0UL) /*!< Position of CC field. */ 14143 #define SAADC_SAMPLERATE_CC_Msk (0x7FFUL << SAADC_SAMPLERATE_CC_Pos) /*!< Bit mask of CC field. */ 14144 14145 /* Register: SAADC_RESULT_PTR */ 14146 /* Description: Data pointer */ 14147 14148 /* Bits 31..0 : Data pointer */ 14149 #define SAADC_RESULT_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 14150 #define SAADC_RESULT_PTR_PTR_Msk (0xFFFFFFFFUL << SAADC_RESULT_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 14151 14152 /* Register: SAADC_RESULT_MAXCNT */ 14153 /* Description: Maximum number of buffer words to transfer */ 14154 14155 /* Bits 14..0 : Maximum number of buffer words to transfer */ 14156 #define SAADC_RESULT_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 14157 #define SAADC_RESULT_MAXCNT_MAXCNT_Msk (0x7FFFUL << SAADC_RESULT_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 14158 14159 /* Register: SAADC_RESULT_AMOUNT */ 14160 /* Description: Number of buffer words transferred since last START */ 14161 14162 /* Bits 14..0 : Number of buffer words transferred since last START. This register can be read after an END or STOPPED event. */ 14163 #define SAADC_RESULT_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 14164 #define SAADC_RESULT_AMOUNT_AMOUNT_Msk (0x7FFFUL << SAADC_RESULT_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 14165 14166 14167 /* Peripheral: SPIM */ 14168 /* Description: Serial Peripheral Interface Master with EasyDMA 0 */ 14169 14170 /* Register: SPIM_TASKS_START */ 14171 /* Description: Start SPI transaction */ 14172 14173 /* Bit 0 : Start SPI transaction */ 14174 #define SPIM_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 14175 #define SPIM_TASKS_START_TASKS_START_Msk (0x1UL << SPIM_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 14176 #define SPIM_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 14177 14178 /* Register: SPIM_TASKS_STOP */ 14179 /* Description: Stop SPI transaction */ 14180 14181 /* Bit 0 : Stop SPI transaction */ 14182 #define SPIM_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 14183 #define SPIM_TASKS_STOP_TASKS_STOP_Msk (0x1UL << SPIM_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 14184 #define SPIM_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 14185 14186 /* Register: SPIM_TASKS_SUSPEND */ 14187 /* Description: Suspend SPI transaction */ 14188 14189 /* Bit 0 : Suspend SPI transaction */ 14190 #define SPIM_TASKS_SUSPEND_TASKS_SUSPEND_Pos (0UL) /*!< Position of TASKS_SUSPEND field. */ 14191 #define SPIM_TASKS_SUSPEND_TASKS_SUSPEND_Msk (0x1UL << SPIM_TASKS_SUSPEND_TASKS_SUSPEND_Pos) /*!< Bit mask of TASKS_SUSPEND field. */ 14192 #define SPIM_TASKS_SUSPEND_TASKS_SUSPEND_Trigger (0x1UL) /*!< Trigger task */ 14193 14194 /* Register: SPIM_TASKS_RESUME */ 14195 /* Description: Resume SPI transaction */ 14196 14197 /* Bit 0 : Resume SPI transaction */ 14198 #define SPIM_TASKS_RESUME_TASKS_RESUME_Pos (0UL) /*!< Position of TASKS_RESUME field. */ 14199 #define SPIM_TASKS_RESUME_TASKS_RESUME_Msk (0x1UL << SPIM_TASKS_RESUME_TASKS_RESUME_Pos) /*!< Bit mask of TASKS_RESUME field. */ 14200 #define SPIM_TASKS_RESUME_TASKS_RESUME_Trigger (0x1UL) /*!< Trigger task */ 14201 14202 /* Register: SPIM_SUBSCRIBE_START */ 14203 /* Description: Subscribe configuration for task START */ 14204 14205 /* Bit 31 : */ 14206 #define SPIM_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 14207 #define SPIM_SUBSCRIBE_START_EN_Msk (0x1UL << SPIM_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 14208 #define SPIM_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 14209 #define SPIM_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 14210 14211 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 14212 #define SPIM_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14213 #define SPIM_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << SPIM_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14214 14215 /* Register: SPIM_SUBSCRIBE_STOP */ 14216 /* Description: Subscribe configuration for task STOP */ 14217 14218 /* Bit 31 : */ 14219 #define SPIM_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 14220 #define SPIM_SUBSCRIBE_STOP_EN_Msk (0x1UL << SPIM_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 14221 #define SPIM_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 14222 #define SPIM_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 14223 14224 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 14225 #define SPIM_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14226 #define SPIM_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << SPIM_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14227 14228 /* Register: SPIM_SUBSCRIBE_SUSPEND */ 14229 /* Description: Subscribe configuration for task SUSPEND */ 14230 14231 /* Bit 31 : */ 14232 #define SPIM_SUBSCRIBE_SUSPEND_EN_Pos (31UL) /*!< Position of EN field. */ 14233 #define SPIM_SUBSCRIBE_SUSPEND_EN_Msk (0x1UL << SPIM_SUBSCRIBE_SUSPEND_EN_Pos) /*!< Bit mask of EN field. */ 14234 #define SPIM_SUBSCRIBE_SUSPEND_EN_Disabled (0x0UL) /*!< Disable subscription */ 14235 #define SPIM_SUBSCRIBE_SUSPEND_EN_Enabled (0x1UL) /*!< Enable subscription */ 14236 14237 /* Bits 7..0 : DPPI channel that task SUSPEND will subscribe to */ 14238 #define SPIM_SUBSCRIBE_SUSPEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14239 #define SPIM_SUBSCRIBE_SUSPEND_CHIDX_Msk (0xFFUL << SPIM_SUBSCRIBE_SUSPEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14240 14241 /* Register: SPIM_SUBSCRIBE_RESUME */ 14242 /* Description: Subscribe configuration for task RESUME */ 14243 14244 /* Bit 31 : */ 14245 #define SPIM_SUBSCRIBE_RESUME_EN_Pos (31UL) /*!< Position of EN field. */ 14246 #define SPIM_SUBSCRIBE_RESUME_EN_Msk (0x1UL << SPIM_SUBSCRIBE_RESUME_EN_Pos) /*!< Bit mask of EN field. */ 14247 #define SPIM_SUBSCRIBE_RESUME_EN_Disabled (0x0UL) /*!< Disable subscription */ 14248 #define SPIM_SUBSCRIBE_RESUME_EN_Enabled (0x1UL) /*!< Enable subscription */ 14249 14250 /* Bits 7..0 : DPPI channel that task RESUME will subscribe to */ 14251 #define SPIM_SUBSCRIBE_RESUME_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14252 #define SPIM_SUBSCRIBE_RESUME_CHIDX_Msk (0xFFUL << SPIM_SUBSCRIBE_RESUME_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14253 14254 /* Register: SPIM_EVENTS_STOPPED */ 14255 /* Description: SPI transaction has stopped */ 14256 14257 /* Bit 0 : SPI transaction has stopped */ 14258 #define SPIM_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 14259 #define SPIM_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << SPIM_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 14260 #define SPIM_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 14261 #define SPIM_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 14262 14263 /* Register: SPIM_EVENTS_ENDRX */ 14264 /* Description: End of RXD buffer reached */ 14265 14266 /* Bit 0 : End of RXD buffer reached */ 14267 #define SPIM_EVENTS_ENDRX_EVENTS_ENDRX_Pos (0UL) /*!< Position of EVENTS_ENDRX field. */ 14268 #define SPIM_EVENTS_ENDRX_EVENTS_ENDRX_Msk (0x1UL << SPIM_EVENTS_ENDRX_EVENTS_ENDRX_Pos) /*!< Bit mask of EVENTS_ENDRX field. */ 14269 #define SPIM_EVENTS_ENDRX_EVENTS_ENDRX_NotGenerated (0x0UL) /*!< Event not generated */ 14270 #define SPIM_EVENTS_ENDRX_EVENTS_ENDRX_Generated (0x1UL) /*!< Event generated */ 14271 14272 /* Register: SPIM_EVENTS_END */ 14273 /* Description: End of RXD buffer and TXD buffer reached */ 14274 14275 /* Bit 0 : End of RXD buffer and TXD buffer reached */ 14276 #define SPIM_EVENTS_END_EVENTS_END_Pos (0UL) /*!< Position of EVENTS_END field. */ 14277 #define SPIM_EVENTS_END_EVENTS_END_Msk (0x1UL << SPIM_EVENTS_END_EVENTS_END_Pos) /*!< Bit mask of EVENTS_END field. */ 14278 #define SPIM_EVENTS_END_EVENTS_END_NotGenerated (0x0UL) /*!< Event not generated */ 14279 #define SPIM_EVENTS_END_EVENTS_END_Generated (0x1UL) /*!< Event generated */ 14280 14281 /* Register: SPIM_EVENTS_ENDTX */ 14282 /* Description: End of TXD buffer reached */ 14283 14284 /* Bit 0 : End of TXD buffer reached */ 14285 #define SPIM_EVENTS_ENDTX_EVENTS_ENDTX_Pos (0UL) /*!< Position of EVENTS_ENDTX field. */ 14286 #define SPIM_EVENTS_ENDTX_EVENTS_ENDTX_Msk (0x1UL << SPIM_EVENTS_ENDTX_EVENTS_ENDTX_Pos) /*!< Bit mask of EVENTS_ENDTX field. */ 14287 #define SPIM_EVENTS_ENDTX_EVENTS_ENDTX_NotGenerated (0x0UL) /*!< Event not generated */ 14288 #define SPIM_EVENTS_ENDTX_EVENTS_ENDTX_Generated (0x1UL) /*!< Event generated */ 14289 14290 /* Register: SPIM_EVENTS_STARTED */ 14291 /* Description: Transaction started */ 14292 14293 /* Bit 0 : Transaction started */ 14294 #define SPIM_EVENTS_STARTED_EVENTS_STARTED_Pos (0UL) /*!< Position of EVENTS_STARTED field. */ 14295 #define SPIM_EVENTS_STARTED_EVENTS_STARTED_Msk (0x1UL << SPIM_EVENTS_STARTED_EVENTS_STARTED_Pos) /*!< Bit mask of EVENTS_STARTED field. */ 14296 #define SPIM_EVENTS_STARTED_EVENTS_STARTED_NotGenerated (0x0UL) /*!< Event not generated */ 14297 #define SPIM_EVENTS_STARTED_EVENTS_STARTED_Generated (0x1UL) /*!< Event generated */ 14298 14299 /* Register: SPIM_PUBLISH_STOPPED */ 14300 /* Description: Publish configuration for event STOPPED */ 14301 14302 /* Bit 31 : */ 14303 #define SPIM_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 14304 #define SPIM_PUBLISH_STOPPED_EN_Msk (0x1UL << SPIM_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 14305 #define SPIM_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 14306 #define SPIM_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 14307 14308 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 14309 #define SPIM_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14310 #define SPIM_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << SPIM_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14311 14312 /* Register: SPIM_PUBLISH_ENDRX */ 14313 /* Description: Publish configuration for event ENDRX */ 14314 14315 /* Bit 31 : */ 14316 #define SPIM_PUBLISH_ENDRX_EN_Pos (31UL) /*!< Position of EN field. */ 14317 #define SPIM_PUBLISH_ENDRX_EN_Msk (0x1UL << SPIM_PUBLISH_ENDRX_EN_Pos) /*!< Bit mask of EN field. */ 14318 #define SPIM_PUBLISH_ENDRX_EN_Disabled (0x0UL) /*!< Disable publishing */ 14319 #define SPIM_PUBLISH_ENDRX_EN_Enabled (0x1UL) /*!< Enable publishing */ 14320 14321 /* Bits 7..0 : DPPI channel that event ENDRX will publish to */ 14322 #define SPIM_PUBLISH_ENDRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14323 #define SPIM_PUBLISH_ENDRX_CHIDX_Msk (0xFFUL << SPIM_PUBLISH_ENDRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14324 14325 /* Register: SPIM_PUBLISH_END */ 14326 /* Description: Publish configuration for event END */ 14327 14328 /* Bit 31 : */ 14329 #define SPIM_PUBLISH_END_EN_Pos (31UL) /*!< Position of EN field. */ 14330 #define SPIM_PUBLISH_END_EN_Msk (0x1UL << SPIM_PUBLISH_END_EN_Pos) /*!< Bit mask of EN field. */ 14331 #define SPIM_PUBLISH_END_EN_Disabled (0x0UL) /*!< Disable publishing */ 14332 #define SPIM_PUBLISH_END_EN_Enabled (0x1UL) /*!< Enable publishing */ 14333 14334 /* Bits 7..0 : DPPI channel that event END will publish to */ 14335 #define SPIM_PUBLISH_END_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14336 #define SPIM_PUBLISH_END_CHIDX_Msk (0xFFUL << SPIM_PUBLISH_END_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14337 14338 /* Register: SPIM_PUBLISH_ENDTX */ 14339 /* Description: Publish configuration for event ENDTX */ 14340 14341 /* Bit 31 : */ 14342 #define SPIM_PUBLISH_ENDTX_EN_Pos (31UL) /*!< Position of EN field. */ 14343 #define SPIM_PUBLISH_ENDTX_EN_Msk (0x1UL << SPIM_PUBLISH_ENDTX_EN_Pos) /*!< Bit mask of EN field. */ 14344 #define SPIM_PUBLISH_ENDTX_EN_Disabled (0x0UL) /*!< Disable publishing */ 14345 #define SPIM_PUBLISH_ENDTX_EN_Enabled (0x1UL) /*!< Enable publishing */ 14346 14347 /* Bits 7..0 : DPPI channel that event ENDTX will publish to */ 14348 #define SPIM_PUBLISH_ENDTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14349 #define SPIM_PUBLISH_ENDTX_CHIDX_Msk (0xFFUL << SPIM_PUBLISH_ENDTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14350 14351 /* Register: SPIM_PUBLISH_STARTED */ 14352 /* Description: Publish configuration for event STARTED */ 14353 14354 /* Bit 31 : */ 14355 #define SPIM_PUBLISH_STARTED_EN_Pos (31UL) /*!< Position of EN field. */ 14356 #define SPIM_PUBLISH_STARTED_EN_Msk (0x1UL << SPIM_PUBLISH_STARTED_EN_Pos) /*!< Bit mask of EN field. */ 14357 #define SPIM_PUBLISH_STARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 14358 #define SPIM_PUBLISH_STARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 14359 14360 /* Bits 7..0 : DPPI channel that event STARTED will publish to */ 14361 #define SPIM_PUBLISH_STARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14362 #define SPIM_PUBLISH_STARTED_CHIDX_Msk (0xFFUL << SPIM_PUBLISH_STARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14363 14364 /* Register: SPIM_SHORTS */ 14365 /* Description: Shortcuts between local events and tasks */ 14366 14367 /* Bit 17 : Shortcut between event END and task START */ 14368 #define SPIM_SHORTS_END_START_Pos (17UL) /*!< Position of END_START field. */ 14369 #define SPIM_SHORTS_END_START_Msk (0x1UL << SPIM_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */ 14370 #define SPIM_SHORTS_END_START_Disabled (0x0UL) /*!< Disable shortcut */ 14371 #define SPIM_SHORTS_END_START_Enabled (0x1UL) /*!< Enable shortcut */ 14372 14373 /* Register: SPIM_INTENSET */ 14374 /* Description: Enable interrupt */ 14375 14376 /* Bit 19 : Write '1' to enable interrupt for event STARTED */ 14377 #define SPIM_INTENSET_STARTED_Pos (19UL) /*!< Position of STARTED field. */ 14378 #define SPIM_INTENSET_STARTED_Msk (0x1UL << SPIM_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */ 14379 #define SPIM_INTENSET_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 14380 #define SPIM_INTENSET_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 14381 #define SPIM_INTENSET_STARTED_Set (0x1UL) /*!< Enable */ 14382 14383 /* Bit 8 : Write '1' to enable interrupt for event ENDTX */ 14384 #define SPIM_INTENSET_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */ 14385 #define SPIM_INTENSET_ENDTX_Msk (0x1UL << SPIM_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 14386 #define SPIM_INTENSET_ENDTX_Disabled (0x0UL) /*!< Read: Disabled */ 14387 #define SPIM_INTENSET_ENDTX_Enabled (0x1UL) /*!< Read: Enabled */ 14388 #define SPIM_INTENSET_ENDTX_Set (0x1UL) /*!< Enable */ 14389 14390 /* Bit 6 : Write '1' to enable interrupt for event END */ 14391 #define SPIM_INTENSET_END_Pos (6UL) /*!< Position of END field. */ 14392 #define SPIM_INTENSET_END_Msk (0x1UL << SPIM_INTENSET_END_Pos) /*!< Bit mask of END field. */ 14393 #define SPIM_INTENSET_END_Disabled (0x0UL) /*!< Read: Disabled */ 14394 #define SPIM_INTENSET_END_Enabled (0x1UL) /*!< Read: Enabled */ 14395 #define SPIM_INTENSET_END_Set (0x1UL) /*!< Enable */ 14396 14397 /* Bit 4 : Write '1' to enable interrupt for event ENDRX */ 14398 #define SPIM_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 14399 #define SPIM_INTENSET_ENDRX_Msk (0x1UL << SPIM_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 14400 #define SPIM_INTENSET_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 14401 #define SPIM_INTENSET_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 14402 #define SPIM_INTENSET_ENDRX_Set (0x1UL) /*!< Enable */ 14403 14404 /* Bit 1 : Write '1' to enable interrupt for event STOPPED */ 14405 #define SPIM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 14406 #define SPIM_INTENSET_STOPPED_Msk (0x1UL << SPIM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 14407 #define SPIM_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 14408 #define SPIM_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 14409 #define SPIM_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 14410 14411 /* Register: SPIM_INTENCLR */ 14412 /* Description: Disable interrupt */ 14413 14414 /* Bit 19 : Write '1' to disable interrupt for event STARTED */ 14415 #define SPIM_INTENCLR_STARTED_Pos (19UL) /*!< Position of STARTED field. */ 14416 #define SPIM_INTENCLR_STARTED_Msk (0x1UL << SPIM_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */ 14417 #define SPIM_INTENCLR_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 14418 #define SPIM_INTENCLR_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 14419 #define SPIM_INTENCLR_STARTED_Clear (0x1UL) /*!< Disable */ 14420 14421 /* Bit 8 : Write '1' to disable interrupt for event ENDTX */ 14422 #define SPIM_INTENCLR_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */ 14423 #define SPIM_INTENCLR_ENDTX_Msk (0x1UL << SPIM_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 14424 #define SPIM_INTENCLR_ENDTX_Disabled (0x0UL) /*!< Read: Disabled */ 14425 #define SPIM_INTENCLR_ENDTX_Enabled (0x1UL) /*!< Read: Enabled */ 14426 #define SPIM_INTENCLR_ENDTX_Clear (0x1UL) /*!< Disable */ 14427 14428 /* Bit 6 : Write '1' to disable interrupt for event END */ 14429 #define SPIM_INTENCLR_END_Pos (6UL) /*!< Position of END field. */ 14430 #define SPIM_INTENCLR_END_Msk (0x1UL << SPIM_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 14431 #define SPIM_INTENCLR_END_Disabled (0x0UL) /*!< Read: Disabled */ 14432 #define SPIM_INTENCLR_END_Enabled (0x1UL) /*!< Read: Enabled */ 14433 #define SPIM_INTENCLR_END_Clear (0x1UL) /*!< Disable */ 14434 14435 /* Bit 4 : Write '1' to disable interrupt for event ENDRX */ 14436 #define SPIM_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 14437 #define SPIM_INTENCLR_ENDRX_Msk (0x1UL << SPIM_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 14438 #define SPIM_INTENCLR_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 14439 #define SPIM_INTENCLR_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 14440 #define SPIM_INTENCLR_ENDRX_Clear (0x1UL) /*!< Disable */ 14441 14442 /* Bit 1 : Write '1' to disable interrupt for event STOPPED */ 14443 #define SPIM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 14444 #define SPIM_INTENCLR_STOPPED_Msk (0x1UL << SPIM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 14445 #define SPIM_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 14446 #define SPIM_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 14447 #define SPIM_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 14448 14449 /* Register: SPIM_STALLSTAT */ 14450 /* Description: Stall status for EasyDMA RAM accesses. The fields in this register are set to STALL by hardware whenever a stall occurres and can be cleared (set to NOSTALL) by the CPU. */ 14451 14452 /* Bit 1 : Stall status for EasyDMA RAM writes */ 14453 #define SPIM_STALLSTAT_RX_Pos (1UL) /*!< Position of RX field. */ 14454 #define SPIM_STALLSTAT_RX_Msk (0x1UL << SPIM_STALLSTAT_RX_Pos) /*!< Bit mask of RX field. */ 14455 #define SPIM_STALLSTAT_RX_NOSTALL (0x0UL) /*!< No stall */ 14456 #define SPIM_STALLSTAT_RX_STALL (0x1UL) /*!< A stall has occurred */ 14457 14458 /* Bit 0 : Stall status for EasyDMA RAM reads */ 14459 #define SPIM_STALLSTAT_TX_Pos (0UL) /*!< Position of TX field. */ 14460 #define SPIM_STALLSTAT_TX_Msk (0x1UL << SPIM_STALLSTAT_TX_Pos) /*!< Bit mask of TX field. */ 14461 #define SPIM_STALLSTAT_TX_NOSTALL (0x0UL) /*!< No stall */ 14462 #define SPIM_STALLSTAT_TX_STALL (0x1UL) /*!< A stall has occurred */ 14463 14464 /* Register: SPIM_ENABLE */ 14465 /* Description: Enable SPIM */ 14466 14467 /* Bits 3..0 : Enable or disable SPIM */ 14468 #define SPIM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 14469 #define SPIM_ENABLE_ENABLE_Msk (0xFUL << SPIM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 14470 #define SPIM_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable SPIM */ 14471 #define SPIM_ENABLE_ENABLE_Enabled (0x7UL) /*!< Enable SPIM */ 14472 14473 /* Register: SPIM_PSEL_SCK */ 14474 /* Description: Pin select for SCK */ 14475 14476 /* Bit 31 : Connection */ 14477 #define SPIM_PSEL_SCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14478 #define SPIM_PSEL_SCK_CONNECT_Msk (0x1UL << SPIM_PSEL_SCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14479 #define SPIM_PSEL_SCK_CONNECT_Connected (0x0UL) /*!< Connect */ 14480 #define SPIM_PSEL_SCK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14481 14482 /* Bit 5 : Port number */ 14483 #define SPIM_PSEL_SCK_PORT_Pos (5UL) /*!< Position of PORT field. */ 14484 #define SPIM_PSEL_SCK_PORT_Msk (0x1UL << SPIM_PSEL_SCK_PORT_Pos) /*!< Bit mask of PORT field. */ 14485 14486 /* Bits 4..0 : Pin number */ 14487 #define SPIM_PSEL_SCK_PIN_Pos (0UL) /*!< Position of PIN field. */ 14488 #define SPIM_PSEL_SCK_PIN_Msk (0x1FUL << SPIM_PSEL_SCK_PIN_Pos) /*!< Bit mask of PIN field. */ 14489 14490 /* Register: SPIM_PSEL_MOSI */ 14491 /* Description: Pin select for MOSI signal */ 14492 14493 /* Bit 31 : Connection */ 14494 #define SPIM_PSEL_MOSI_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14495 #define SPIM_PSEL_MOSI_CONNECT_Msk (0x1UL << SPIM_PSEL_MOSI_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14496 #define SPIM_PSEL_MOSI_CONNECT_Connected (0x0UL) /*!< Connect */ 14497 #define SPIM_PSEL_MOSI_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14498 14499 /* Bit 5 : Port number */ 14500 #define SPIM_PSEL_MOSI_PORT_Pos (5UL) /*!< Position of PORT field. */ 14501 #define SPIM_PSEL_MOSI_PORT_Msk (0x1UL << SPIM_PSEL_MOSI_PORT_Pos) /*!< Bit mask of PORT field. */ 14502 14503 /* Bits 4..0 : Pin number */ 14504 #define SPIM_PSEL_MOSI_PIN_Pos (0UL) /*!< Position of PIN field. */ 14505 #define SPIM_PSEL_MOSI_PIN_Msk (0x1FUL << SPIM_PSEL_MOSI_PIN_Pos) /*!< Bit mask of PIN field. */ 14506 14507 /* Register: SPIM_PSEL_MISO */ 14508 /* Description: Pin select for MISO signal */ 14509 14510 /* Bit 31 : Connection */ 14511 #define SPIM_PSEL_MISO_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14512 #define SPIM_PSEL_MISO_CONNECT_Msk (0x1UL << SPIM_PSEL_MISO_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14513 #define SPIM_PSEL_MISO_CONNECT_Connected (0x0UL) /*!< Connect */ 14514 #define SPIM_PSEL_MISO_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14515 14516 /* Bit 5 : Port number */ 14517 #define SPIM_PSEL_MISO_PORT_Pos (5UL) /*!< Position of PORT field. */ 14518 #define SPIM_PSEL_MISO_PORT_Msk (0x1UL << SPIM_PSEL_MISO_PORT_Pos) /*!< Bit mask of PORT field. */ 14519 14520 /* Bits 4..0 : Pin number */ 14521 #define SPIM_PSEL_MISO_PIN_Pos (0UL) /*!< Position of PIN field. */ 14522 #define SPIM_PSEL_MISO_PIN_Msk (0x1FUL << SPIM_PSEL_MISO_PIN_Pos) /*!< Bit mask of PIN field. */ 14523 14524 /* Register: SPIM_PSEL_CSN */ 14525 /* Description: Pin select for CSN */ 14526 14527 /* Bit 31 : Connection */ 14528 #define SPIM_PSEL_CSN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14529 #define SPIM_PSEL_CSN_CONNECT_Msk (0x1UL << SPIM_PSEL_CSN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14530 #define SPIM_PSEL_CSN_CONNECT_Connected (0x0UL) /*!< Connect */ 14531 #define SPIM_PSEL_CSN_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14532 14533 /* Bit 5 : Port number */ 14534 #define SPIM_PSEL_CSN_PORT_Pos (5UL) /*!< Position of PORT field. */ 14535 #define SPIM_PSEL_CSN_PORT_Msk (0x1UL << SPIM_PSEL_CSN_PORT_Pos) /*!< Bit mask of PORT field. */ 14536 14537 /* Bits 4..0 : Pin number */ 14538 #define SPIM_PSEL_CSN_PIN_Pos (0UL) /*!< Position of PIN field. */ 14539 #define SPIM_PSEL_CSN_PIN_Msk (0x1FUL << SPIM_PSEL_CSN_PIN_Pos) /*!< Bit mask of PIN field. */ 14540 14541 /* Register: SPIM_FREQUENCY */ 14542 /* Description: SPI frequency. Accuracy depends on the HFCLK source selected. */ 14543 14544 /* Bits 31..0 : SPI master data rate */ 14545 #define SPIM_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 14546 #define SPIM_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPIM_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 14547 #define SPIM_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125 kbps */ 14548 #define SPIM_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps */ 14549 #define SPIM_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500 kbps */ 14550 #define SPIM_FREQUENCY_FREQUENCY_M16 (0x0A000000UL) /*!< 16 Mbps */ 14551 #define SPIM_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1 Mbps */ 14552 #define SPIM_FREQUENCY_FREQUENCY_M32 (0x14000000UL) /*!< 32 Mbps */ 14553 #define SPIM_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2 Mbps */ 14554 #define SPIM_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4 Mbps */ 14555 #define SPIM_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8 Mbps */ 14556 14557 /* Register: SPIM_RXD_PTR */ 14558 /* Description: Data pointer */ 14559 14560 /* Bits 31..0 : Data pointer */ 14561 #define SPIM_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 14562 #define SPIM_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 14563 14564 /* Register: SPIM_RXD_MAXCNT */ 14565 /* Description: Maximum number of bytes in receive buffer */ 14566 14567 /* Bits 15..0 : Maximum number of bytes in receive buffer */ 14568 #define SPIM_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 14569 #define SPIM_RXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << SPIM_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 14570 14571 /* Register: SPIM_RXD_AMOUNT */ 14572 /* Description: Number of bytes transferred in the last transaction */ 14573 14574 /* Bits 15..0 : Number of bytes transferred in the last transaction */ 14575 #define SPIM_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 14576 #define SPIM_RXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << SPIM_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 14577 14578 /* Register: SPIM_RXD_LIST */ 14579 /* Description: EasyDMA list type */ 14580 14581 /* Bits 1..0 : List type */ 14582 #define SPIM_RXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 14583 #define SPIM_RXD_LIST_LIST_Msk (0x3UL << SPIM_RXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 14584 #define SPIM_RXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 14585 #define SPIM_RXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 14586 14587 /* Register: SPIM_TXD_PTR */ 14588 /* Description: Data pointer */ 14589 14590 /* Bits 31..0 : Data pointer */ 14591 #define SPIM_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 14592 #define SPIM_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 14593 14594 /* Register: SPIM_TXD_MAXCNT */ 14595 /* Description: Number of bytes in transmit buffer */ 14596 14597 /* Bits 15..0 : Maximum number of bytes in transmit buffer */ 14598 #define SPIM_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 14599 #define SPIM_TXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << SPIM_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 14600 14601 /* Register: SPIM_TXD_AMOUNT */ 14602 /* Description: Number of bytes transferred in the last transaction */ 14603 14604 /* Bits 15..0 : Number of bytes transferred in the last transaction */ 14605 #define SPIM_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 14606 #define SPIM_TXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << SPIM_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 14607 14608 /* Register: SPIM_TXD_LIST */ 14609 /* Description: EasyDMA list type */ 14610 14611 /* Bits 1..0 : List type */ 14612 #define SPIM_TXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 14613 #define SPIM_TXD_LIST_LIST_Msk (0x3UL << SPIM_TXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 14614 #define SPIM_TXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 14615 #define SPIM_TXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 14616 14617 /* Register: SPIM_CONFIG */ 14618 /* Description: Configuration register */ 14619 14620 /* Bit 2 : Serial clock (SCK) polarity */ 14621 #define SPIM_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */ 14622 #define SPIM_CONFIG_CPOL_Msk (0x1UL << SPIM_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */ 14623 #define SPIM_CONFIG_CPOL_ActiveHigh (0x0UL) /*!< Active high */ 14624 #define SPIM_CONFIG_CPOL_ActiveLow (0x1UL) /*!< Active low */ 14625 14626 /* Bit 1 : Serial clock (SCK) phase */ 14627 #define SPIM_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */ 14628 #define SPIM_CONFIG_CPHA_Msk (0x1UL << SPIM_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */ 14629 #define SPIM_CONFIG_CPHA_Leading (0x0UL) /*!< Sample on leading edge of clock, shift serial data on trailing edge */ 14630 #define SPIM_CONFIG_CPHA_Trailing (0x1UL) /*!< Sample on trailing edge of clock, shift serial data on leading edge */ 14631 14632 /* Bit 0 : Bit order */ 14633 #define SPIM_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */ 14634 #define SPIM_CONFIG_ORDER_Msk (0x1UL << SPIM_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */ 14635 #define SPIM_CONFIG_ORDER_MsbFirst (0x0UL) /*!< Most significant bit shifted out first */ 14636 #define SPIM_CONFIG_ORDER_LsbFirst (0x1UL) /*!< Least significant bit shifted out first */ 14637 14638 /* Register: SPIM_IFTIMING_RXDELAY */ 14639 /* Description: Sample delay for input serial data on MISO */ 14640 14641 /* Bits 2..0 : Sample delay for input serial data on MISO. The value specifies the number of 64 MHz clock cycles (15.625 ns) delay from the the sampling edge of SCK (leading edge for CONFIG.CPHA = 0, trailing edge for CONFIG.CPHA = 1) until the input serial data is sampled. As en example, if RXDELAY = 0 and CONFIG.CPHA = 0, the input serial data is sampled on the rising edge of SCK. */ 14642 #define SPIM_IFTIMING_RXDELAY_RXDELAY_Pos (0UL) /*!< Position of RXDELAY field. */ 14643 #define SPIM_IFTIMING_RXDELAY_RXDELAY_Msk (0x7UL << SPIM_IFTIMING_RXDELAY_RXDELAY_Pos) /*!< Bit mask of RXDELAY field. */ 14644 14645 /* Register: SPIM_IFTIMING_CSNDUR */ 14646 /* Description: Minimum duration between edge of CSN and edge of SCK. When SHORTS.END_START is used, this is also the minimum duration CSN must stay high between transactions. */ 14647 14648 /* Bits 7..0 : Minimum duration between edge of CSN and edge of SCK. When SHORTS.END_START is used, this is the minimum duration CSN must stay high between transactions. The value is specified in number of 64 MHz clock cycles (15.625 ns). */ 14649 #define SPIM_IFTIMING_CSNDUR_CSNDUR_Pos (0UL) /*!< Position of CSNDUR field. */ 14650 #define SPIM_IFTIMING_CSNDUR_CSNDUR_Msk (0xFFUL << SPIM_IFTIMING_CSNDUR_CSNDUR_Pos) /*!< Bit mask of CSNDUR field. */ 14651 14652 /* Register: SPIM_CSNPOL */ 14653 /* Description: Polarity of CSN output */ 14654 14655 /* Bit 0 : Polarity of CSN output */ 14656 #define SPIM_CSNPOL_CSNPOL_Pos (0UL) /*!< Position of CSNPOL field. */ 14657 #define SPIM_CSNPOL_CSNPOL_Msk (0x1UL << SPIM_CSNPOL_CSNPOL_Pos) /*!< Bit mask of CSNPOL field. */ 14658 #define SPIM_CSNPOL_CSNPOL_LOW (0x0UL) /*!< Active low (idle state high) */ 14659 #define SPIM_CSNPOL_CSNPOL_HIGH (0x1UL) /*!< Active high (idle state low) */ 14660 14661 /* Register: SPIM_PSELDCX */ 14662 /* Description: Pin select for DCX signal */ 14663 14664 /* Bit 31 : Connection */ 14665 #define SPIM_PSELDCX_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14666 #define SPIM_PSELDCX_CONNECT_Msk (0x1UL << SPIM_PSELDCX_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14667 #define SPIM_PSELDCX_CONNECT_Connected (0x0UL) /*!< Connect */ 14668 #define SPIM_PSELDCX_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14669 14670 /* Bit 5 : Port number */ 14671 #define SPIM_PSELDCX_PORT_Pos (5UL) /*!< Position of PORT field. */ 14672 #define SPIM_PSELDCX_PORT_Msk (0x1UL << SPIM_PSELDCX_PORT_Pos) /*!< Bit mask of PORT field. */ 14673 14674 /* Bits 4..0 : Pin number */ 14675 #define SPIM_PSELDCX_PIN_Pos (0UL) /*!< Position of PIN field. */ 14676 #define SPIM_PSELDCX_PIN_Msk (0x1FUL << SPIM_PSELDCX_PIN_Pos) /*!< Bit mask of PIN field. */ 14677 14678 /* Register: SPIM_DCXCNT */ 14679 /* Description: DCX configuration */ 14680 14681 /* Bits 3..0 : This register specifies the number of command bytes preceding the data bytes. The PSEL.DCX line will be low during transmission of command bytes and high during transmission of data bytes. Value 0xF indicates that all bytes are command bytes. */ 14682 #define SPIM_DCXCNT_DCXCNT_Pos (0UL) /*!< Position of DCXCNT field. */ 14683 #define SPIM_DCXCNT_DCXCNT_Msk (0xFUL << SPIM_DCXCNT_DCXCNT_Pos) /*!< Bit mask of DCXCNT field. */ 14684 14685 /* Register: SPIM_ORC */ 14686 /* Description: Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is greater than TXD.MAXCNT */ 14687 14688 /* Bits 7..0 : Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is greater than TXD.MAXCNT. */ 14689 #define SPIM_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */ 14690 #define SPIM_ORC_ORC_Msk (0xFFUL << SPIM_ORC_ORC_Pos) /*!< Bit mask of ORC field. */ 14691 14692 14693 /* Peripheral: SPIS */ 14694 /* Description: SPI Slave 0 */ 14695 14696 /* Register: SPIS_TASKS_ACQUIRE */ 14697 /* Description: Acquire SPI semaphore */ 14698 14699 /* Bit 0 : Acquire SPI semaphore */ 14700 #define SPIS_TASKS_ACQUIRE_TASKS_ACQUIRE_Pos (0UL) /*!< Position of TASKS_ACQUIRE field. */ 14701 #define SPIS_TASKS_ACQUIRE_TASKS_ACQUIRE_Msk (0x1UL << SPIS_TASKS_ACQUIRE_TASKS_ACQUIRE_Pos) /*!< Bit mask of TASKS_ACQUIRE field. */ 14702 #define SPIS_TASKS_ACQUIRE_TASKS_ACQUIRE_Trigger (0x1UL) /*!< Trigger task */ 14703 14704 /* Register: SPIS_TASKS_RELEASE */ 14705 /* Description: Release SPI semaphore, enabling the SPI slave to acquire it */ 14706 14707 /* Bit 0 : Release SPI semaphore, enabling the SPI slave to acquire it */ 14708 #define SPIS_TASKS_RELEASE_TASKS_RELEASE_Pos (0UL) /*!< Position of TASKS_RELEASE field. */ 14709 #define SPIS_TASKS_RELEASE_TASKS_RELEASE_Msk (0x1UL << SPIS_TASKS_RELEASE_TASKS_RELEASE_Pos) /*!< Bit mask of TASKS_RELEASE field. */ 14710 #define SPIS_TASKS_RELEASE_TASKS_RELEASE_Trigger (0x1UL) /*!< Trigger task */ 14711 14712 /* Register: SPIS_SUBSCRIBE_ACQUIRE */ 14713 /* Description: Subscribe configuration for task ACQUIRE */ 14714 14715 /* Bit 31 : */ 14716 #define SPIS_SUBSCRIBE_ACQUIRE_EN_Pos (31UL) /*!< Position of EN field. */ 14717 #define SPIS_SUBSCRIBE_ACQUIRE_EN_Msk (0x1UL << SPIS_SUBSCRIBE_ACQUIRE_EN_Pos) /*!< Bit mask of EN field. */ 14718 #define SPIS_SUBSCRIBE_ACQUIRE_EN_Disabled (0x0UL) /*!< Disable subscription */ 14719 #define SPIS_SUBSCRIBE_ACQUIRE_EN_Enabled (0x1UL) /*!< Enable subscription */ 14720 14721 /* Bits 7..0 : DPPI channel that task ACQUIRE will subscribe to */ 14722 #define SPIS_SUBSCRIBE_ACQUIRE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14723 #define SPIS_SUBSCRIBE_ACQUIRE_CHIDX_Msk (0xFFUL << SPIS_SUBSCRIBE_ACQUIRE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14724 14725 /* Register: SPIS_SUBSCRIBE_RELEASE */ 14726 /* Description: Subscribe configuration for task RELEASE */ 14727 14728 /* Bit 31 : */ 14729 #define SPIS_SUBSCRIBE_RELEASE_EN_Pos (31UL) /*!< Position of EN field. */ 14730 #define SPIS_SUBSCRIBE_RELEASE_EN_Msk (0x1UL << SPIS_SUBSCRIBE_RELEASE_EN_Pos) /*!< Bit mask of EN field. */ 14731 #define SPIS_SUBSCRIBE_RELEASE_EN_Disabled (0x0UL) /*!< Disable subscription */ 14732 #define SPIS_SUBSCRIBE_RELEASE_EN_Enabled (0x1UL) /*!< Enable subscription */ 14733 14734 /* Bits 7..0 : DPPI channel that task RELEASE will subscribe to */ 14735 #define SPIS_SUBSCRIBE_RELEASE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14736 #define SPIS_SUBSCRIBE_RELEASE_CHIDX_Msk (0xFFUL << SPIS_SUBSCRIBE_RELEASE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14737 14738 /* Register: SPIS_EVENTS_END */ 14739 /* Description: Granted transaction completed */ 14740 14741 /* Bit 0 : Granted transaction completed */ 14742 #define SPIS_EVENTS_END_EVENTS_END_Pos (0UL) /*!< Position of EVENTS_END field. */ 14743 #define SPIS_EVENTS_END_EVENTS_END_Msk (0x1UL << SPIS_EVENTS_END_EVENTS_END_Pos) /*!< Bit mask of EVENTS_END field. */ 14744 #define SPIS_EVENTS_END_EVENTS_END_NotGenerated (0x0UL) /*!< Event not generated */ 14745 #define SPIS_EVENTS_END_EVENTS_END_Generated (0x1UL) /*!< Event generated */ 14746 14747 /* Register: SPIS_EVENTS_ENDRX */ 14748 /* Description: End of RXD buffer reached */ 14749 14750 /* Bit 0 : End of RXD buffer reached */ 14751 #define SPIS_EVENTS_ENDRX_EVENTS_ENDRX_Pos (0UL) /*!< Position of EVENTS_ENDRX field. */ 14752 #define SPIS_EVENTS_ENDRX_EVENTS_ENDRX_Msk (0x1UL << SPIS_EVENTS_ENDRX_EVENTS_ENDRX_Pos) /*!< Bit mask of EVENTS_ENDRX field. */ 14753 #define SPIS_EVENTS_ENDRX_EVENTS_ENDRX_NotGenerated (0x0UL) /*!< Event not generated */ 14754 #define SPIS_EVENTS_ENDRX_EVENTS_ENDRX_Generated (0x1UL) /*!< Event generated */ 14755 14756 /* Register: SPIS_EVENTS_ACQUIRED */ 14757 /* Description: Semaphore acquired */ 14758 14759 /* Bit 0 : Semaphore acquired */ 14760 #define SPIS_EVENTS_ACQUIRED_EVENTS_ACQUIRED_Pos (0UL) /*!< Position of EVENTS_ACQUIRED field. */ 14761 #define SPIS_EVENTS_ACQUIRED_EVENTS_ACQUIRED_Msk (0x1UL << SPIS_EVENTS_ACQUIRED_EVENTS_ACQUIRED_Pos) /*!< Bit mask of EVENTS_ACQUIRED field. */ 14762 #define SPIS_EVENTS_ACQUIRED_EVENTS_ACQUIRED_NotGenerated (0x0UL) /*!< Event not generated */ 14763 #define SPIS_EVENTS_ACQUIRED_EVENTS_ACQUIRED_Generated (0x1UL) /*!< Event generated */ 14764 14765 /* Register: SPIS_PUBLISH_END */ 14766 /* Description: Publish configuration for event END */ 14767 14768 /* Bit 31 : */ 14769 #define SPIS_PUBLISH_END_EN_Pos (31UL) /*!< Position of EN field. */ 14770 #define SPIS_PUBLISH_END_EN_Msk (0x1UL << SPIS_PUBLISH_END_EN_Pos) /*!< Bit mask of EN field. */ 14771 #define SPIS_PUBLISH_END_EN_Disabled (0x0UL) /*!< Disable publishing */ 14772 #define SPIS_PUBLISH_END_EN_Enabled (0x1UL) /*!< Enable publishing */ 14773 14774 /* Bits 7..0 : DPPI channel that event END will publish to */ 14775 #define SPIS_PUBLISH_END_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14776 #define SPIS_PUBLISH_END_CHIDX_Msk (0xFFUL << SPIS_PUBLISH_END_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14777 14778 /* Register: SPIS_PUBLISH_ENDRX */ 14779 /* Description: Publish configuration for event ENDRX */ 14780 14781 /* Bit 31 : */ 14782 #define SPIS_PUBLISH_ENDRX_EN_Pos (31UL) /*!< Position of EN field. */ 14783 #define SPIS_PUBLISH_ENDRX_EN_Msk (0x1UL << SPIS_PUBLISH_ENDRX_EN_Pos) /*!< Bit mask of EN field. */ 14784 #define SPIS_PUBLISH_ENDRX_EN_Disabled (0x0UL) /*!< Disable publishing */ 14785 #define SPIS_PUBLISH_ENDRX_EN_Enabled (0x1UL) /*!< Enable publishing */ 14786 14787 /* Bits 7..0 : DPPI channel that event ENDRX will publish to */ 14788 #define SPIS_PUBLISH_ENDRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14789 #define SPIS_PUBLISH_ENDRX_CHIDX_Msk (0xFFUL << SPIS_PUBLISH_ENDRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14790 14791 /* Register: SPIS_PUBLISH_ACQUIRED */ 14792 /* Description: Publish configuration for event ACQUIRED */ 14793 14794 /* Bit 31 : */ 14795 #define SPIS_PUBLISH_ACQUIRED_EN_Pos (31UL) /*!< Position of EN field. */ 14796 #define SPIS_PUBLISH_ACQUIRED_EN_Msk (0x1UL << SPIS_PUBLISH_ACQUIRED_EN_Pos) /*!< Bit mask of EN field. */ 14797 #define SPIS_PUBLISH_ACQUIRED_EN_Disabled (0x0UL) /*!< Disable publishing */ 14798 #define SPIS_PUBLISH_ACQUIRED_EN_Enabled (0x1UL) /*!< Enable publishing */ 14799 14800 /* Bits 7..0 : DPPI channel that event ACQUIRED will publish to */ 14801 #define SPIS_PUBLISH_ACQUIRED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 14802 #define SPIS_PUBLISH_ACQUIRED_CHIDX_Msk (0xFFUL << SPIS_PUBLISH_ACQUIRED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 14803 14804 /* Register: SPIS_SHORTS */ 14805 /* Description: Shortcuts between local events and tasks */ 14806 14807 /* Bit 2 : Shortcut between event END and task ACQUIRE */ 14808 #define SPIS_SHORTS_END_ACQUIRE_Pos (2UL) /*!< Position of END_ACQUIRE field. */ 14809 #define SPIS_SHORTS_END_ACQUIRE_Msk (0x1UL << SPIS_SHORTS_END_ACQUIRE_Pos) /*!< Bit mask of END_ACQUIRE field. */ 14810 #define SPIS_SHORTS_END_ACQUIRE_Disabled (0x0UL) /*!< Disable shortcut */ 14811 #define SPIS_SHORTS_END_ACQUIRE_Enabled (0x1UL) /*!< Enable shortcut */ 14812 14813 /* Register: SPIS_INTENSET */ 14814 /* Description: Enable interrupt */ 14815 14816 /* Bit 10 : Write '1' to enable interrupt for event ACQUIRED */ 14817 #define SPIS_INTENSET_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */ 14818 #define SPIS_INTENSET_ACQUIRED_Msk (0x1UL << SPIS_INTENSET_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */ 14819 #define SPIS_INTENSET_ACQUIRED_Disabled (0x0UL) /*!< Read: Disabled */ 14820 #define SPIS_INTENSET_ACQUIRED_Enabled (0x1UL) /*!< Read: Enabled */ 14821 #define SPIS_INTENSET_ACQUIRED_Set (0x1UL) /*!< Enable */ 14822 14823 /* Bit 4 : Write '1' to enable interrupt for event ENDRX */ 14824 #define SPIS_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 14825 #define SPIS_INTENSET_ENDRX_Msk (0x1UL << SPIS_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 14826 #define SPIS_INTENSET_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 14827 #define SPIS_INTENSET_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 14828 #define SPIS_INTENSET_ENDRX_Set (0x1UL) /*!< Enable */ 14829 14830 /* Bit 1 : Write '1' to enable interrupt for event END */ 14831 #define SPIS_INTENSET_END_Pos (1UL) /*!< Position of END field. */ 14832 #define SPIS_INTENSET_END_Msk (0x1UL << SPIS_INTENSET_END_Pos) /*!< Bit mask of END field. */ 14833 #define SPIS_INTENSET_END_Disabled (0x0UL) /*!< Read: Disabled */ 14834 #define SPIS_INTENSET_END_Enabled (0x1UL) /*!< Read: Enabled */ 14835 #define SPIS_INTENSET_END_Set (0x1UL) /*!< Enable */ 14836 14837 /* Register: SPIS_INTENCLR */ 14838 /* Description: Disable interrupt */ 14839 14840 /* Bit 10 : Write '1' to disable interrupt for event ACQUIRED */ 14841 #define SPIS_INTENCLR_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */ 14842 #define SPIS_INTENCLR_ACQUIRED_Msk (0x1UL << SPIS_INTENCLR_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */ 14843 #define SPIS_INTENCLR_ACQUIRED_Disabled (0x0UL) /*!< Read: Disabled */ 14844 #define SPIS_INTENCLR_ACQUIRED_Enabled (0x1UL) /*!< Read: Enabled */ 14845 #define SPIS_INTENCLR_ACQUIRED_Clear (0x1UL) /*!< Disable */ 14846 14847 /* Bit 4 : Write '1' to disable interrupt for event ENDRX */ 14848 #define SPIS_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 14849 #define SPIS_INTENCLR_ENDRX_Msk (0x1UL << SPIS_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 14850 #define SPIS_INTENCLR_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 14851 #define SPIS_INTENCLR_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 14852 #define SPIS_INTENCLR_ENDRX_Clear (0x1UL) /*!< Disable */ 14853 14854 /* Bit 1 : Write '1' to disable interrupt for event END */ 14855 #define SPIS_INTENCLR_END_Pos (1UL) /*!< Position of END field. */ 14856 #define SPIS_INTENCLR_END_Msk (0x1UL << SPIS_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 14857 #define SPIS_INTENCLR_END_Disabled (0x0UL) /*!< Read: Disabled */ 14858 #define SPIS_INTENCLR_END_Enabled (0x1UL) /*!< Read: Enabled */ 14859 #define SPIS_INTENCLR_END_Clear (0x1UL) /*!< Disable */ 14860 14861 /* Register: SPIS_SEMSTAT */ 14862 /* Description: Semaphore status register */ 14863 14864 /* Bits 1..0 : Semaphore status */ 14865 #define SPIS_SEMSTAT_SEMSTAT_Pos (0UL) /*!< Position of SEMSTAT field. */ 14866 #define SPIS_SEMSTAT_SEMSTAT_Msk (0x3UL << SPIS_SEMSTAT_SEMSTAT_Pos) /*!< Bit mask of SEMSTAT field. */ 14867 #define SPIS_SEMSTAT_SEMSTAT_Free (0x0UL) /*!< Semaphore is free */ 14868 #define SPIS_SEMSTAT_SEMSTAT_CPU (0x1UL) /*!< Semaphore is assigned to CPU */ 14869 #define SPIS_SEMSTAT_SEMSTAT_SPIS (0x2UL) /*!< Semaphore is assigned to SPI slave */ 14870 #define SPIS_SEMSTAT_SEMSTAT_CPUPending (0x3UL) /*!< Semaphore is assigned to SPI but a handover to the CPU is pending */ 14871 14872 /* Register: SPIS_STATUS */ 14873 /* Description: Status from last transaction */ 14874 14875 /* Bit 1 : RX buffer overflow detected, and prevented */ 14876 #define SPIS_STATUS_OVERFLOW_Pos (1UL) /*!< Position of OVERFLOW field. */ 14877 #define SPIS_STATUS_OVERFLOW_Msk (0x1UL << SPIS_STATUS_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */ 14878 #define SPIS_STATUS_OVERFLOW_NotPresent (0x0UL) /*!< Read: error not present */ 14879 #define SPIS_STATUS_OVERFLOW_Present (0x1UL) /*!< Read: error present */ 14880 #define SPIS_STATUS_OVERFLOW_Clear (0x1UL) /*!< Write: clear error on writing '1' */ 14881 14882 /* Bit 0 : TX buffer over-read detected, and prevented */ 14883 #define SPIS_STATUS_OVERREAD_Pos (0UL) /*!< Position of OVERREAD field. */ 14884 #define SPIS_STATUS_OVERREAD_Msk (0x1UL << SPIS_STATUS_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */ 14885 #define SPIS_STATUS_OVERREAD_NotPresent (0x0UL) /*!< Read: error not present */ 14886 #define SPIS_STATUS_OVERREAD_Present (0x1UL) /*!< Read: error present */ 14887 #define SPIS_STATUS_OVERREAD_Clear (0x1UL) /*!< Write: clear error on writing '1' */ 14888 14889 /* Register: SPIS_ENABLE */ 14890 /* Description: Enable SPI slave */ 14891 14892 /* Bits 3..0 : Enable or disable SPI slave */ 14893 #define SPIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 14894 #define SPIS_ENABLE_ENABLE_Msk (0xFUL << SPIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 14895 #define SPIS_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable SPI slave */ 14896 #define SPIS_ENABLE_ENABLE_Enabled (0x2UL) /*!< Enable SPI slave */ 14897 14898 /* Register: SPIS_PSEL_SCK */ 14899 /* Description: Pin select for SCK */ 14900 14901 /* Bit 31 : Connection */ 14902 #define SPIS_PSEL_SCK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14903 #define SPIS_PSEL_SCK_CONNECT_Msk (0x1UL << SPIS_PSEL_SCK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14904 #define SPIS_PSEL_SCK_CONNECT_Connected (0x0UL) /*!< Connect */ 14905 #define SPIS_PSEL_SCK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14906 14907 /* Bit 5 : Port number */ 14908 #define SPIS_PSEL_SCK_PORT_Pos (5UL) /*!< Position of PORT field. */ 14909 #define SPIS_PSEL_SCK_PORT_Msk (0x1UL << SPIS_PSEL_SCK_PORT_Pos) /*!< Bit mask of PORT field. */ 14910 14911 /* Bits 4..0 : Pin number */ 14912 #define SPIS_PSEL_SCK_PIN_Pos (0UL) /*!< Position of PIN field. */ 14913 #define SPIS_PSEL_SCK_PIN_Msk (0x1FUL << SPIS_PSEL_SCK_PIN_Pos) /*!< Bit mask of PIN field. */ 14914 14915 /* Register: SPIS_PSEL_MISO */ 14916 /* Description: Pin select for MISO signal */ 14917 14918 /* Bit 31 : Connection */ 14919 #define SPIS_PSEL_MISO_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14920 #define SPIS_PSEL_MISO_CONNECT_Msk (0x1UL << SPIS_PSEL_MISO_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14921 #define SPIS_PSEL_MISO_CONNECT_Connected (0x0UL) /*!< Connect */ 14922 #define SPIS_PSEL_MISO_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14923 14924 /* Bit 5 : Port number */ 14925 #define SPIS_PSEL_MISO_PORT_Pos (5UL) /*!< Position of PORT field. */ 14926 #define SPIS_PSEL_MISO_PORT_Msk (0x1UL << SPIS_PSEL_MISO_PORT_Pos) /*!< Bit mask of PORT field. */ 14927 14928 /* Bits 4..0 : Pin number */ 14929 #define SPIS_PSEL_MISO_PIN_Pos (0UL) /*!< Position of PIN field. */ 14930 #define SPIS_PSEL_MISO_PIN_Msk (0x1FUL << SPIS_PSEL_MISO_PIN_Pos) /*!< Bit mask of PIN field. */ 14931 14932 /* Register: SPIS_PSEL_MOSI */ 14933 /* Description: Pin select for MOSI signal */ 14934 14935 /* Bit 31 : Connection */ 14936 #define SPIS_PSEL_MOSI_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14937 #define SPIS_PSEL_MOSI_CONNECT_Msk (0x1UL << SPIS_PSEL_MOSI_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14938 #define SPIS_PSEL_MOSI_CONNECT_Connected (0x0UL) /*!< Connect */ 14939 #define SPIS_PSEL_MOSI_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14940 14941 /* Bit 5 : Port number */ 14942 #define SPIS_PSEL_MOSI_PORT_Pos (5UL) /*!< Position of PORT field. */ 14943 #define SPIS_PSEL_MOSI_PORT_Msk (0x1UL << SPIS_PSEL_MOSI_PORT_Pos) /*!< Bit mask of PORT field. */ 14944 14945 /* Bits 4..0 : Pin number */ 14946 #define SPIS_PSEL_MOSI_PIN_Pos (0UL) /*!< Position of PIN field. */ 14947 #define SPIS_PSEL_MOSI_PIN_Msk (0x1FUL << SPIS_PSEL_MOSI_PIN_Pos) /*!< Bit mask of PIN field. */ 14948 14949 /* Register: SPIS_PSEL_CSN */ 14950 /* Description: Pin select for CSN signal */ 14951 14952 /* Bit 31 : Connection */ 14953 #define SPIS_PSEL_CSN_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 14954 #define SPIS_PSEL_CSN_CONNECT_Msk (0x1UL << SPIS_PSEL_CSN_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 14955 #define SPIS_PSEL_CSN_CONNECT_Connected (0x0UL) /*!< Connect */ 14956 #define SPIS_PSEL_CSN_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 14957 14958 /* Bit 5 : Port number */ 14959 #define SPIS_PSEL_CSN_PORT_Pos (5UL) /*!< Position of PORT field. */ 14960 #define SPIS_PSEL_CSN_PORT_Msk (0x1UL << SPIS_PSEL_CSN_PORT_Pos) /*!< Bit mask of PORT field. */ 14961 14962 /* Bits 4..0 : Pin number */ 14963 #define SPIS_PSEL_CSN_PIN_Pos (0UL) /*!< Position of PIN field. */ 14964 #define SPIS_PSEL_CSN_PIN_Msk (0x1FUL << SPIS_PSEL_CSN_PIN_Pos) /*!< Bit mask of PIN field. */ 14965 14966 /* Register: SPIS_RXD_PTR */ 14967 /* Description: RXD data pointer */ 14968 14969 /* Bits 31..0 : RXD data pointer */ 14970 #define SPIS_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 14971 #define SPIS_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIS_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 14972 14973 /* Register: SPIS_RXD_MAXCNT */ 14974 /* Description: Maximum number of bytes in receive buffer */ 14975 14976 /* Bits 15..0 : Maximum number of bytes in receive buffer */ 14977 #define SPIS_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 14978 #define SPIS_RXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << SPIS_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 14979 14980 /* Register: SPIS_RXD_AMOUNT */ 14981 /* Description: Number of bytes received in last granted transaction */ 14982 14983 /* Bits 15..0 : Number of bytes received in the last granted transaction */ 14984 #define SPIS_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 14985 #define SPIS_RXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << SPIS_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 14986 14987 /* Register: SPIS_RXD_LIST */ 14988 /* Description: EasyDMA list type */ 14989 14990 /* Bits 1..0 : List type */ 14991 #define SPIS_RXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 14992 #define SPIS_RXD_LIST_LIST_Msk (0x3UL << SPIS_RXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 14993 #define SPIS_RXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 14994 #define SPIS_RXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 14995 14996 /* Register: SPIS_TXD_PTR */ 14997 /* Description: TXD data pointer */ 14998 14999 /* Bits 31..0 : TXD data pointer */ 15000 #define SPIS_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 15001 #define SPIS_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIS_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 15002 15003 /* Register: SPIS_TXD_MAXCNT */ 15004 /* Description: Maximum number of bytes in transmit buffer */ 15005 15006 /* Bits 15..0 : Maximum number of bytes in transmit buffer */ 15007 #define SPIS_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 15008 #define SPIS_TXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << SPIS_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 15009 15010 /* Register: SPIS_TXD_AMOUNT */ 15011 /* Description: Number of bytes transmitted in last granted transaction */ 15012 15013 /* Bits 15..0 : Number of bytes transmitted in last granted transaction */ 15014 #define SPIS_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 15015 #define SPIS_TXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << SPIS_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 15016 15017 /* Register: SPIS_TXD_LIST */ 15018 /* Description: EasyDMA list type */ 15019 15020 /* Bits 1..0 : List type */ 15021 #define SPIS_TXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 15022 #define SPIS_TXD_LIST_LIST_Msk (0x3UL << SPIS_TXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 15023 #define SPIS_TXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 15024 #define SPIS_TXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 15025 15026 /* Register: SPIS_CONFIG */ 15027 /* Description: Configuration register */ 15028 15029 /* Bit 2 : Serial clock (SCK) polarity */ 15030 #define SPIS_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */ 15031 #define SPIS_CONFIG_CPOL_Msk (0x1UL << SPIS_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */ 15032 #define SPIS_CONFIG_CPOL_ActiveHigh (0x0UL) /*!< Active high */ 15033 #define SPIS_CONFIG_CPOL_ActiveLow (0x1UL) /*!< Active low */ 15034 15035 /* Bit 1 : Serial clock (SCK) phase */ 15036 #define SPIS_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */ 15037 #define SPIS_CONFIG_CPHA_Msk (0x1UL << SPIS_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */ 15038 #define SPIS_CONFIG_CPHA_Leading (0x0UL) /*!< Sample on leading edge of clock, shift serial data on trailing edge */ 15039 #define SPIS_CONFIG_CPHA_Trailing (0x1UL) /*!< Sample on trailing edge of clock, shift serial data on leading edge */ 15040 15041 /* Bit 0 : Bit order */ 15042 #define SPIS_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */ 15043 #define SPIS_CONFIG_ORDER_Msk (0x1UL << SPIS_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */ 15044 #define SPIS_CONFIG_ORDER_MsbFirst (0x0UL) /*!< Most significant bit shifted out first */ 15045 #define SPIS_CONFIG_ORDER_LsbFirst (0x1UL) /*!< Least significant bit shifted out first */ 15046 15047 /* Register: SPIS_DEF */ 15048 /* Description: Default character. Character clocked out in case of an ignored transaction. */ 15049 15050 /* Bits 7..0 : Default character. Character clocked out in case of an ignored transaction. */ 15051 #define SPIS_DEF_DEF_Pos (0UL) /*!< Position of DEF field. */ 15052 #define SPIS_DEF_DEF_Msk (0xFFUL << SPIS_DEF_DEF_Pos) /*!< Bit mask of DEF field. */ 15053 15054 /* Register: SPIS_ORC */ 15055 /* Description: Over-read character */ 15056 15057 /* Bits 7..0 : Over-read character. Character clocked out after an over-read of the transmit buffer. */ 15058 #define SPIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */ 15059 #define SPIS_ORC_ORC_Msk (0xFFUL << SPIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */ 15060 15061 15062 /* Peripheral: SPU */ 15063 /* Description: System protection unit */ 15064 15065 /* Register: SPU_EVENTS_RAMACCERR */ 15066 /* Description: A security violation has been detected for the RAM memory space */ 15067 15068 /* Bit 0 : A security violation has been detected for the RAM memory space */ 15069 #define SPU_EVENTS_RAMACCERR_EVENTS_RAMACCERR_Pos (0UL) /*!< Position of EVENTS_RAMACCERR field. */ 15070 #define SPU_EVENTS_RAMACCERR_EVENTS_RAMACCERR_Msk (0x1UL << SPU_EVENTS_RAMACCERR_EVENTS_RAMACCERR_Pos) /*!< Bit mask of EVENTS_RAMACCERR field. */ 15071 #define SPU_EVENTS_RAMACCERR_EVENTS_RAMACCERR_NotGenerated (0x0UL) /*!< Event not generated */ 15072 #define SPU_EVENTS_RAMACCERR_EVENTS_RAMACCERR_Generated (0x1UL) /*!< Event generated */ 15073 15074 /* Register: SPU_EVENTS_FLASHACCERR */ 15075 /* Description: A security violation has been detected for the flash memory space */ 15076 15077 /* Bit 0 : A security violation has been detected for the flash memory space */ 15078 #define SPU_EVENTS_FLASHACCERR_EVENTS_FLASHACCERR_Pos (0UL) /*!< Position of EVENTS_FLASHACCERR field. */ 15079 #define SPU_EVENTS_FLASHACCERR_EVENTS_FLASHACCERR_Msk (0x1UL << SPU_EVENTS_FLASHACCERR_EVENTS_FLASHACCERR_Pos) /*!< Bit mask of EVENTS_FLASHACCERR field. */ 15080 #define SPU_EVENTS_FLASHACCERR_EVENTS_FLASHACCERR_NotGenerated (0x0UL) /*!< Event not generated */ 15081 #define SPU_EVENTS_FLASHACCERR_EVENTS_FLASHACCERR_Generated (0x1UL) /*!< Event generated */ 15082 15083 /* Register: SPU_EVENTS_PERIPHACCERR */ 15084 /* Description: A security violation has been detected on one or several peripherals */ 15085 15086 /* Bit 0 : A security violation has been detected on one or several peripherals */ 15087 #define SPU_EVENTS_PERIPHACCERR_EVENTS_PERIPHACCERR_Pos (0UL) /*!< Position of EVENTS_PERIPHACCERR field. */ 15088 #define SPU_EVENTS_PERIPHACCERR_EVENTS_PERIPHACCERR_Msk (0x1UL << SPU_EVENTS_PERIPHACCERR_EVENTS_PERIPHACCERR_Pos) /*!< Bit mask of EVENTS_PERIPHACCERR field. */ 15089 #define SPU_EVENTS_PERIPHACCERR_EVENTS_PERIPHACCERR_NotGenerated (0x0UL) /*!< Event not generated */ 15090 #define SPU_EVENTS_PERIPHACCERR_EVENTS_PERIPHACCERR_Generated (0x1UL) /*!< Event generated */ 15091 15092 /* Register: SPU_PUBLISH_RAMACCERR */ 15093 /* Description: Publish configuration for event RAMACCERR */ 15094 15095 /* Bit 31 : */ 15096 #define SPU_PUBLISH_RAMACCERR_EN_Pos (31UL) /*!< Position of EN field. */ 15097 #define SPU_PUBLISH_RAMACCERR_EN_Msk (0x1UL << SPU_PUBLISH_RAMACCERR_EN_Pos) /*!< Bit mask of EN field. */ 15098 #define SPU_PUBLISH_RAMACCERR_EN_Disabled (0x0UL) /*!< Disable publishing */ 15099 #define SPU_PUBLISH_RAMACCERR_EN_Enabled (0x1UL) /*!< Enable publishing */ 15100 15101 /* Bits 7..0 : DPPI channel that event RAMACCERR will publish to */ 15102 #define SPU_PUBLISH_RAMACCERR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 15103 #define SPU_PUBLISH_RAMACCERR_CHIDX_Msk (0xFFUL << SPU_PUBLISH_RAMACCERR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 15104 15105 /* Register: SPU_PUBLISH_FLASHACCERR */ 15106 /* Description: Publish configuration for event FLASHACCERR */ 15107 15108 /* Bit 31 : */ 15109 #define SPU_PUBLISH_FLASHACCERR_EN_Pos (31UL) /*!< Position of EN field. */ 15110 #define SPU_PUBLISH_FLASHACCERR_EN_Msk (0x1UL << SPU_PUBLISH_FLASHACCERR_EN_Pos) /*!< Bit mask of EN field. */ 15111 #define SPU_PUBLISH_FLASHACCERR_EN_Disabled (0x0UL) /*!< Disable publishing */ 15112 #define SPU_PUBLISH_FLASHACCERR_EN_Enabled (0x1UL) /*!< Enable publishing */ 15113 15114 /* Bits 7..0 : DPPI channel that event FLASHACCERR will publish to */ 15115 #define SPU_PUBLISH_FLASHACCERR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 15116 #define SPU_PUBLISH_FLASHACCERR_CHIDX_Msk (0xFFUL << SPU_PUBLISH_FLASHACCERR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 15117 15118 /* Register: SPU_PUBLISH_PERIPHACCERR */ 15119 /* Description: Publish configuration for event PERIPHACCERR */ 15120 15121 /* Bit 31 : */ 15122 #define SPU_PUBLISH_PERIPHACCERR_EN_Pos (31UL) /*!< Position of EN field. */ 15123 #define SPU_PUBLISH_PERIPHACCERR_EN_Msk (0x1UL << SPU_PUBLISH_PERIPHACCERR_EN_Pos) /*!< Bit mask of EN field. */ 15124 #define SPU_PUBLISH_PERIPHACCERR_EN_Disabled (0x0UL) /*!< Disable publishing */ 15125 #define SPU_PUBLISH_PERIPHACCERR_EN_Enabled (0x1UL) /*!< Enable publishing */ 15126 15127 /* Bits 7..0 : DPPI channel that event PERIPHACCERR will publish to */ 15128 #define SPU_PUBLISH_PERIPHACCERR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 15129 #define SPU_PUBLISH_PERIPHACCERR_CHIDX_Msk (0xFFUL << SPU_PUBLISH_PERIPHACCERR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 15130 15131 /* Register: SPU_INTEN */ 15132 /* Description: Enable or disable interrupt */ 15133 15134 /* Bit 2 : Enable or disable interrupt for event PERIPHACCERR */ 15135 #define SPU_INTEN_PERIPHACCERR_Pos (2UL) /*!< Position of PERIPHACCERR field. */ 15136 #define SPU_INTEN_PERIPHACCERR_Msk (0x1UL << SPU_INTEN_PERIPHACCERR_Pos) /*!< Bit mask of PERIPHACCERR field. */ 15137 #define SPU_INTEN_PERIPHACCERR_Disabled (0x0UL) /*!< Disable */ 15138 #define SPU_INTEN_PERIPHACCERR_Enabled (0x1UL) /*!< Enable */ 15139 15140 /* Bit 1 : Enable or disable interrupt for event FLASHACCERR */ 15141 #define SPU_INTEN_FLASHACCERR_Pos (1UL) /*!< Position of FLASHACCERR field. */ 15142 #define SPU_INTEN_FLASHACCERR_Msk (0x1UL << SPU_INTEN_FLASHACCERR_Pos) /*!< Bit mask of FLASHACCERR field. */ 15143 #define SPU_INTEN_FLASHACCERR_Disabled (0x0UL) /*!< Disable */ 15144 #define SPU_INTEN_FLASHACCERR_Enabled (0x1UL) /*!< Enable */ 15145 15146 /* Bit 0 : Enable or disable interrupt for event RAMACCERR */ 15147 #define SPU_INTEN_RAMACCERR_Pos (0UL) /*!< Position of RAMACCERR field. */ 15148 #define SPU_INTEN_RAMACCERR_Msk (0x1UL << SPU_INTEN_RAMACCERR_Pos) /*!< Bit mask of RAMACCERR field. */ 15149 #define SPU_INTEN_RAMACCERR_Disabled (0x0UL) /*!< Disable */ 15150 #define SPU_INTEN_RAMACCERR_Enabled (0x1UL) /*!< Enable */ 15151 15152 /* Register: SPU_INTENSET */ 15153 /* Description: Enable interrupt */ 15154 15155 /* Bit 2 : Write '1' to enable interrupt for event PERIPHACCERR */ 15156 #define SPU_INTENSET_PERIPHACCERR_Pos (2UL) /*!< Position of PERIPHACCERR field. */ 15157 #define SPU_INTENSET_PERIPHACCERR_Msk (0x1UL << SPU_INTENSET_PERIPHACCERR_Pos) /*!< Bit mask of PERIPHACCERR field. */ 15158 #define SPU_INTENSET_PERIPHACCERR_Disabled (0x0UL) /*!< Read: Disabled */ 15159 #define SPU_INTENSET_PERIPHACCERR_Enabled (0x1UL) /*!< Read: Enabled */ 15160 #define SPU_INTENSET_PERIPHACCERR_Set (0x1UL) /*!< Enable */ 15161 15162 /* Bit 1 : Write '1' to enable interrupt for event FLASHACCERR */ 15163 #define SPU_INTENSET_FLASHACCERR_Pos (1UL) /*!< Position of FLASHACCERR field. */ 15164 #define SPU_INTENSET_FLASHACCERR_Msk (0x1UL << SPU_INTENSET_FLASHACCERR_Pos) /*!< Bit mask of FLASHACCERR field. */ 15165 #define SPU_INTENSET_FLASHACCERR_Disabled (0x0UL) /*!< Read: Disabled */ 15166 #define SPU_INTENSET_FLASHACCERR_Enabled (0x1UL) /*!< Read: Enabled */ 15167 #define SPU_INTENSET_FLASHACCERR_Set (0x1UL) /*!< Enable */ 15168 15169 /* Bit 0 : Write '1' to enable interrupt for event RAMACCERR */ 15170 #define SPU_INTENSET_RAMACCERR_Pos (0UL) /*!< Position of RAMACCERR field. */ 15171 #define SPU_INTENSET_RAMACCERR_Msk (0x1UL << SPU_INTENSET_RAMACCERR_Pos) /*!< Bit mask of RAMACCERR field. */ 15172 #define SPU_INTENSET_RAMACCERR_Disabled (0x0UL) /*!< Read: Disabled */ 15173 #define SPU_INTENSET_RAMACCERR_Enabled (0x1UL) /*!< Read: Enabled */ 15174 #define SPU_INTENSET_RAMACCERR_Set (0x1UL) /*!< Enable */ 15175 15176 /* Register: SPU_INTENCLR */ 15177 /* Description: Disable interrupt */ 15178 15179 /* Bit 2 : Write '1' to disable interrupt for event PERIPHACCERR */ 15180 #define SPU_INTENCLR_PERIPHACCERR_Pos (2UL) /*!< Position of PERIPHACCERR field. */ 15181 #define SPU_INTENCLR_PERIPHACCERR_Msk (0x1UL << SPU_INTENCLR_PERIPHACCERR_Pos) /*!< Bit mask of PERIPHACCERR field. */ 15182 #define SPU_INTENCLR_PERIPHACCERR_Disabled (0x0UL) /*!< Read: Disabled */ 15183 #define SPU_INTENCLR_PERIPHACCERR_Enabled (0x1UL) /*!< Read: Enabled */ 15184 #define SPU_INTENCLR_PERIPHACCERR_Clear (0x1UL) /*!< Disable */ 15185 15186 /* Bit 1 : Write '1' to disable interrupt for event FLASHACCERR */ 15187 #define SPU_INTENCLR_FLASHACCERR_Pos (1UL) /*!< Position of FLASHACCERR field. */ 15188 #define SPU_INTENCLR_FLASHACCERR_Msk (0x1UL << SPU_INTENCLR_FLASHACCERR_Pos) /*!< Bit mask of FLASHACCERR field. */ 15189 #define SPU_INTENCLR_FLASHACCERR_Disabled (0x0UL) /*!< Read: Disabled */ 15190 #define SPU_INTENCLR_FLASHACCERR_Enabled (0x1UL) /*!< Read: Enabled */ 15191 #define SPU_INTENCLR_FLASHACCERR_Clear (0x1UL) /*!< Disable */ 15192 15193 /* Bit 0 : Write '1' to disable interrupt for event RAMACCERR */ 15194 #define SPU_INTENCLR_RAMACCERR_Pos (0UL) /*!< Position of RAMACCERR field. */ 15195 #define SPU_INTENCLR_RAMACCERR_Msk (0x1UL << SPU_INTENCLR_RAMACCERR_Pos) /*!< Bit mask of RAMACCERR field. */ 15196 #define SPU_INTENCLR_RAMACCERR_Disabled (0x0UL) /*!< Read: Disabled */ 15197 #define SPU_INTENCLR_RAMACCERR_Enabled (0x1UL) /*!< Read: Enabled */ 15198 #define SPU_INTENCLR_RAMACCERR_Clear (0x1UL) /*!< Disable */ 15199 15200 /* Register: SPU_CAP */ 15201 /* Description: Show implemented features for the current device */ 15202 15203 /* Bit 0 : Show Arm TrustZone status */ 15204 #define SPU_CAP_TZM_Pos (0UL) /*!< Position of TZM field. */ 15205 #define SPU_CAP_TZM_Msk (0x1UL << SPU_CAP_TZM_Pos) /*!< Bit mask of TZM field. */ 15206 #define SPU_CAP_TZM_NotAvailable (0x0UL) /*!< Arm TrustZone support not available */ 15207 #define SPU_CAP_TZM_Enabled (0x1UL) /*!< Arm TrustZone support is available */ 15208 15209 /* Register: SPU_CPULOCK */ 15210 /* Description: Configure bits to lock down CPU features at runtime */ 15211 15212 /* Bit 4 : Write '1' to prevent updating the secure SAU regions until the next reset */ 15213 #define SPU_CPULOCK_LOCKSAU_Pos (4UL) /*!< Position of LOCKSAU field. */ 15214 #define SPU_CPULOCK_LOCKSAU_Msk (0x1UL << SPU_CPULOCK_LOCKSAU_Pos) /*!< Bit mask of LOCKSAU field. */ 15215 #define SPU_CPULOCK_LOCKSAU_Unlocked (0x0UL) /*!< These registers can be updated */ 15216 #define SPU_CPULOCK_LOCKSAU_Locked (0x1UL) /*!< Disables writes to the SAU_CTRL, SAU_RNR, SAU_RBAR and SAU_RLAR registers from software or from a debug agent connected to the processor */ 15217 15218 /* Bit 3 : Write '1' to prevent updating the Non-secure MPU regions until the next reset */ 15219 #define SPU_CPULOCK_LOCKNSMPU_Pos (3UL) /*!< Position of LOCKNSMPU field. */ 15220 #define SPU_CPULOCK_LOCKNSMPU_Msk (0x1UL << SPU_CPULOCK_LOCKNSMPU_Pos) /*!< Bit mask of LOCKNSMPU field. */ 15221 #define SPU_CPULOCK_LOCKNSMPU_Unlocked (0x0UL) /*!< These registers can be updated */ 15222 #define SPU_CPULOCK_LOCKNSMPU_Locked (0x1UL) /*!< Disables writes to the MPU_CTRL_NS, MPU_RNR_NS, MPU_RBAR_NS, MPU_RLAR_NS, MPU_RBAR_A_NSn and MPU_RLAR_A_NSn from software or from a debug agent connected to the processor */ 15223 15224 /* Bit 2 : Write '1' to prevent updating the secure MPU regions until the next reset */ 15225 #define SPU_CPULOCK_LOCKSMPU_Pos (2UL) /*!< Position of LOCKSMPU field. */ 15226 #define SPU_CPULOCK_LOCKSMPU_Msk (0x1UL << SPU_CPULOCK_LOCKSMPU_Pos) /*!< Bit mask of LOCKSMPU field. */ 15227 #define SPU_CPULOCK_LOCKSMPU_Unlocked (0x0UL) /*!< These registers can be updated */ 15228 #define SPU_CPULOCK_LOCKSMPU_Locked (0x1UL) /*!< Disables writes to the MPU_CTRL, MPU_RNR, MPU_RBAR, MPU_RLAR, MPU_RBAR_An and MPU_RLAR_An from software or from a debug agent connected to the processor in Secure state */ 15229 15230 /* Bit 1 : Write '1' to prevent updating the non-secure vector table base address until the next reset */ 15231 #define SPU_CPULOCK_LOCKNSVTOR_Pos (1UL) /*!< Position of LOCKNSVTOR field. */ 15232 #define SPU_CPULOCK_LOCKNSVTOR_Msk (0x1UL << SPU_CPULOCK_LOCKNSVTOR_Pos) /*!< Bit mask of LOCKNSVTOR field. */ 15233 #define SPU_CPULOCK_LOCKNSVTOR_Unlocked (0x0UL) /*!< The address of the non-secure vector table can be updated */ 15234 #define SPU_CPULOCK_LOCKNSVTOR_Locked (0x1UL) /*!< The address of the non-secure vector table is locked */ 15235 15236 /* Bit 0 : Write '1' to prevent updating the secure interrupt configuration until the next reset */ 15237 #define SPU_CPULOCK_LOCKSVTAIRCR_Pos (0UL) /*!< Position of LOCKSVTAIRCR field. */ 15238 #define SPU_CPULOCK_LOCKSVTAIRCR_Msk (0x1UL << SPU_CPULOCK_LOCKSVTAIRCR_Pos) /*!< Bit mask of LOCKSVTAIRCR field. */ 15239 #define SPU_CPULOCK_LOCKSVTAIRCR_Unlocked (0x0UL) /*!< These registers can be updated */ 15240 #define SPU_CPULOCK_LOCKSVTAIRCR_Locked (0x1UL) /*!< Disables writes to the VTOR_S, AIRCR.PRIS, and AIRCR.BFHFNMINS registers */ 15241 15242 /* Register: SPU_EXTDOMAIN_PERM */ 15243 /* Description: Description cluster: Access for bus access generated from the external domain n List capabilities of the external domain n */ 15244 15245 /* Bit 8 : */ 15246 #define SPU_EXTDOMAIN_PERM_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15247 #define SPU_EXTDOMAIN_PERM_LOCK_Msk (0x1UL << SPU_EXTDOMAIN_PERM_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15248 #define SPU_EXTDOMAIN_PERM_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15249 #define SPU_EXTDOMAIN_PERM_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15250 15251 /* Bit 4 : Peripheral security mapping */ 15252 #define SPU_EXTDOMAIN_PERM_SECATTR_Pos (4UL) /*!< Position of SECATTR field. */ 15253 #define SPU_EXTDOMAIN_PERM_SECATTR_Msk (0x1UL << SPU_EXTDOMAIN_PERM_SECATTR_Pos) /*!< Bit mask of SECATTR field. */ 15254 #define SPU_EXTDOMAIN_PERM_SECATTR_NonSecure (0x0UL) /*!< Bus accesses from this domain have the non-secure attribute set */ 15255 #define SPU_EXTDOMAIN_PERM_SECATTR_Secure (0x1UL) /*!< Bus accesses from this domain have secure attribute set */ 15256 15257 /* Bits 1..0 : Define configuration capabilities for TrustZone Cortex-M secure attribute */ 15258 #define SPU_EXTDOMAIN_PERM_SECUREMAPPING_Pos (0UL) /*!< Position of SECUREMAPPING field. */ 15259 #define SPU_EXTDOMAIN_PERM_SECUREMAPPING_Msk (0x3UL << SPU_EXTDOMAIN_PERM_SECUREMAPPING_Pos) /*!< Bit mask of SECUREMAPPING field. */ 15260 #define SPU_EXTDOMAIN_PERM_SECUREMAPPING_NonSecure (0x0UL) /*!< The bus access from this external domain always have the non-secure attribute set */ 15261 #define SPU_EXTDOMAIN_PERM_SECUREMAPPING_Secure (0x1UL) /*!< The bus access from this external domain always have the secure attribute set */ 15262 #define SPU_EXTDOMAIN_PERM_SECUREMAPPING_UserSelectable (0x2UL) /*!< Non-secure or secure attribute for bus access from this domain is defined by the EXTDOMAIN[n].PERM register */ 15263 15264 /* Register: SPU_DPPI_PERM */ 15265 /* Description: Description cluster: Select between secure and non-secure attribute for the DPPI channels */ 15266 15267 /* Bit 31 : Select secure attribute */ 15268 #define SPU_DPPI_PERM_CHANNEL31_Pos (31UL) /*!< Position of CHANNEL31 field. */ 15269 #define SPU_DPPI_PERM_CHANNEL31_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL31_Pos) /*!< Bit mask of CHANNEL31 field. */ 15270 #define SPU_DPPI_PERM_CHANNEL31_NonSecure (0x0UL) /*!< Channel 31 has its non-secure attribute set */ 15271 #define SPU_DPPI_PERM_CHANNEL31_Secure (0x1UL) /*!< Channel 31 has its secure attribute set */ 15272 15273 /* Bit 30 : Select secure attribute */ 15274 #define SPU_DPPI_PERM_CHANNEL30_Pos (30UL) /*!< Position of CHANNEL30 field. */ 15275 #define SPU_DPPI_PERM_CHANNEL30_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL30_Pos) /*!< Bit mask of CHANNEL30 field. */ 15276 #define SPU_DPPI_PERM_CHANNEL30_NonSecure (0x0UL) /*!< Channel 30 has its non-secure attribute set */ 15277 #define SPU_DPPI_PERM_CHANNEL30_Secure (0x1UL) /*!< Channel 30 has its secure attribute set */ 15278 15279 /* Bit 29 : Select secure attribute */ 15280 #define SPU_DPPI_PERM_CHANNEL29_Pos (29UL) /*!< Position of CHANNEL29 field. */ 15281 #define SPU_DPPI_PERM_CHANNEL29_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL29_Pos) /*!< Bit mask of CHANNEL29 field. */ 15282 #define SPU_DPPI_PERM_CHANNEL29_NonSecure (0x0UL) /*!< Channel 29 has its non-secure attribute set */ 15283 #define SPU_DPPI_PERM_CHANNEL29_Secure (0x1UL) /*!< Channel 29 has its secure attribute set */ 15284 15285 /* Bit 28 : Select secure attribute */ 15286 #define SPU_DPPI_PERM_CHANNEL28_Pos (28UL) /*!< Position of CHANNEL28 field. */ 15287 #define SPU_DPPI_PERM_CHANNEL28_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL28_Pos) /*!< Bit mask of CHANNEL28 field. */ 15288 #define SPU_DPPI_PERM_CHANNEL28_NonSecure (0x0UL) /*!< Channel 28 has its non-secure attribute set */ 15289 #define SPU_DPPI_PERM_CHANNEL28_Secure (0x1UL) /*!< Channel 28 has its secure attribute set */ 15290 15291 /* Bit 27 : Select secure attribute */ 15292 #define SPU_DPPI_PERM_CHANNEL27_Pos (27UL) /*!< Position of CHANNEL27 field. */ 15293 #define SPU_DPPI_PERM_CHANNEL27_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL27_Pos) /*!< Bit mask of CHANNEL27 field. */ 15294 #define SPU_DPPI_PERM_CHANNEL27_NonSecure (0x0UL) /*!< Channel 27 has its non-secure attribute set */ 15295 #define SPU_DPPI_PERM_CHANNEL27_Secure (0x1UL) /*!< Channel 27 has its secure attribute set */ 15296 15297 /* Bit 26 : Select secure attribute */ 15298 #define SPU_DPPI_PERM_CHANNEL26_Pos (26UL) /*!< Position of CHANNEL26 field. */ 15299 #define SPU_DPPI_PERM_CHANNEL26_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL26_Pos) /*!< Bit mask of CHANNEL26 field. */ 15300 #define SPU_DPPI_PERM_CHANNEL26_NonSecure (0x0UL) /*!< Channel 26 has its non-secure attribute set */ 15301 #define SPU_DPPI_PERM_CHANNEL26_Secure (0x1UL) /*!< Channel 26 has its secure attribute set */ 15302 15303 /* Bit 25 : Select secure attribute */ 15304 #define SPU_DPPI_PERM_CHANNEL25_Pos (25UL) /*!< Position of CHANNEL25 field. */ 15305 #define SPU_DPPI_PERM_CHANNEL25_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL25_Pos) /*!< Bit mask of CHANNEL25 field. */ 15306 #define SPU_DPPI_PERM_CHANNEL25_NonSecure (0x0UL) /*!< Channel 25 has its non-secure attribute set */ 15307 #define SPU_DPPI_PERM_CHANNEL25_Secure (0x1UL) /*!< Channel 25 has its secure attribute set */ 15308 15309 /* Bit 24 : Select secure attribute */ 15310 #define SPU_DPPI_PERM_CHANNEL24_Pos (24UL) /*!< Position of CHANNEL24 field. */ 15311 #define SPU_DPPI_PERM_CHANNEL24_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL24_Pos) /*!< Bit mask of CHANNEL24 field. */ 15312 #define SPU_DPPI_PERM_CHANNEL24_NonSecure (0x0UL) /*!< Channel 24 has its non-secure attribute set */ 15313 #define SPU_DPPI_PERM_CHANNEL24_Secure (0x1UL) /*!< Channel 24 has its secure attribute set */ 15314 15315 /* Bit 23 : Select secure attribute */ 15316 #define SPU_DPPI_PERM_CHANNEL23_Pos (23UL) /*!< Position of CHANNEL23 field. */ 15317 #define SPU_DPPI_PERM_CHANNEL23_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL23_Pos) /*!< Bit mask of CHANNEL23 field. */ 15318 #define SPU_DPPI_PERM_CHANNEL23_NonSecure (0x0UL) /*!< Channel 23 has its non-secure attribute set */ 15319 #define SPU_DPPI_PERM_CHANNEL23_Secure (0x1UL) /*!< Channel 23 has its secure attribute set */ 15320 15321 /* Bit 22 : Select secure attribute */ 15322 #define SPU_DPPI_PERM_CHANNEL22_Pos (22UL) /*!< Position of CHANNEL22 field. */ 15323 #define SPU_DPPI_PERM_CHANNEL22_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL22_Pos) /*!< Bit mask of CHANNEL22 field. */ 15324 #define SPU_DPPI_PERM_CHANNEL22_NonSecure (0x0UL) /*!< Channel 22 has its non-secure attribute set */ 15325 #define SPU_DPPI_PERM_CHANNEL22_Secure (0x1UL) /*!< Channel 22 has its secure attribute set */ 15326 15327 /* Bit 21 : Select secure attribute */ 15328 #define SPU_DPPI_PERM_CHANNEL21_Pos (21UL) /*!< Position of CHANNEL21 field. */ 15329 #define SPU_DPPI_PERM_CHANNEL21_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL21_Pos) /*!< Bit mask of CHANNEL21 field. */ 15330 #define SPU_DPPI_PERM_CHANNEL21_NonSecure (0x0UL) /*!< Channel 21 has its non-secure attribute set */ 15331 #define SPU_DPPI_PERM_CHANNEL21_Secure (0x1UL) /*!< Channel 21 has its secure attribute set */ 15332 15333 /* Bit 20 : Select secure attribute */ 15334 #define SPU_DPPI_PERM_CHANNEL20_Pos (20UL) /*!< Position of CHANNEL20 field. */ 15335 #define SPU_DPPI_PERM_CHANNEL20_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL20_Pos) /*!< Bit mask of CHANNEL20 field. */ 15336 #define SPU_DPPI_PERM_CHANNEL20_NonSecure (0x0UL) /*!< Channel 20 has its non-secure attribute set */ 15337 #define SPU_DPPI_PERM_CHANNEL20_Secure (0x1UL) /*!< Channel 20 has its secure attribute set */ 15338 15339 /* Bit 19 : Select secure attribute */ 15340 #define SPU_DPPI_PERM_CHANNEL19_Pos (19UL) /*!< Position of CHANNEL19 field. */ 15341 #define SPU_DPPI_PERM_CHANNEL19_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL19_Pos) /*!< Bit mask of CHANNEL19 field. */ 15342 #define SPU_DPPI_PERM_CHANNEL19_NonSecure (0x0UL) /*!< Channel 19 has its non-secure attribute set */ 15343 #define SPU_DPPI_PERM_CHANNEL19_Secure (0x1UL) /*!< Channel 19 has its secure attribute set */ 15344 15345 /* Bit 18 : Select secure attribute */ 15346 #define SPU_DPPI_PERM_CHANNEL18_Pos (18UL) /*!< Position of CHANNEL18 field. */ 15347 #define SPU_DPPI_PERM_CHANNEL18_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL18_Pos) /*!< Bit mask of CHANNEL18 field. */ 15348 #define SPU_DPPI_PERM_CHANNEL18_NonSecure (0x0UL) /*!< Channel 18 has its non-secure attribute set */ 15349 #define SPU_DPPI_PERM_CHANNEL18_Secure (0x1UL) /*!< Channel 18 has its secure attribute set */ 15350 15351 /* Bit 17 : Select secure attribute */ 15352 #define SPU_DPPI_PERM_CHANNEL17_Pos (17UL) /*!< Position of CHANNEL17 field. */ 15353 #define SPU_DPPI_PERM_CHANNEL17_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL17_Pos) /*!< Bit mask of CHANNEL17 field. */ 15354 #define SPU_DPPI_PERM_CHANNEL17_NonSecure (0x0UL) /*!< Channel 17 has its non-secure attribute set */ 15355 #define SPU_DPPI_PERM_CHANNEL17_Secure (0x1UL) /*!< Channel 17 has its secure attribute set */ 15356 15357 /* Bit 16 : Select secure attribute */ 15358 #define SPU_DPPI_PERM_CHANNEL16_Pos (16UL) /*!< Position of CHANNEL16 field. */ 15359 #define SPU_DPPI_PERM_CHANNEL16_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL16_Pos) /*!< Bit mask of CHANNEL16 field. */ 15360 #define SPU_DPPI_PERM_CHANNEL16_NonSecure (0x0UL) /*!< Channel 16 has its non-secure attribute set */ 15361 #define SPU_DPPI_PERM_CHANNEL16_Secure (0x1UL) /*!< Channel 16 has its secure attribute set */ 15362 15363 /* Bit 15 : Select secure attribute */ 15364 #define SPU_DPPI_PERM_CHANNEL15_Pos (15UL) /*!< Position of CHANNEL15 field. */ 15365 #define SPU_DPPI_PERM_CHANNEL15_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL15_Pos) /*!< Bit mask of CHANNEL15 field. */ 15366 #define SPU_DPPI_PERM_CHANNEL15_NonSecure (0x0UL) /*!< Channel 15 has its non-secure attribute set */ 15367 #define SPU_DPPI_PERM_CHANNEL15_Secure (0x1UL) /*!< Channel 15 has its secure attribute set */ 15368 15369 /* Bit 14 : Select secure attribute */ 15370 #define SPU_DPPI_PERM_CHANNEL14_Pos (14UL) /*!< Position of CHANNEL14 field. */ 15371 #define SPU_DPPI_PERM_CHANNEL14_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL14_Pos) /*!< Bit mask of CHANNEL14 field. */ 15372 #define SPU_DPPI_PERM_CHANNEL14_NonSecure (0x0UL) /*!< Channel 14 has its non-secure attribute set */ 15373 #define SPU_DPPI_PERM_CHANNEL14_Secure (0x1UL) /*!< Channel 14 has its secure attribute set */ 15374 15375 /* Bit 13 : Select secure attribute */ 15376 #define SPU_DPPI_PERM_CHANNEL13_Pos (13UL) /*!< Position of CHANNEL13 field. */ 15377 #define SPU_DPPI_PERM_CHANNEL13_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL13_Pos) /*!< Bit mask of CHANNEL13 field. */ 15378 #define SPU_DPPI_PERM_CHANNEL13_NonSecure (0x0UL) /*!< Channel 13 has its non-secure attribute set */ 15379 #define SPU_DPPI_PERM_CHANNEL13_Secure (0x1UL) /*!< Channel 13 has its secure attribute set */ 15380 15381 /* Bit 12 : Select secure attribute */ 15382 #define SPU_DPPI_PERM_CHANNEL12_Pos (12UL) /*!< Position of CHANNEL12 field. */ 15383 #define SPU_DPPI_PERM_CHANNEL12_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL12_Pos) /*!< Bit mask of CHANNEL12 field. */ 15384 #define SPU_DPPI_PERM_CHANNEL12_NonSecure (0x0UL) /*!< Channel 12 has its non-secure attribute set */ 15385 #define SPU_DPPI_PERM_CHANNEL12_Secure (0x1UL) /*!< Channel 12 has its secure attribute set */ 15386 15387 /* Bit 11 : Select secure attribute */ 15388 #define SPU_DPPI_PERM_CHANNEL11_Pos (11UL) /*!< Position of CHANNEL11 field. */ 15389 #define SPU_DPPI_PERM_CHANNEL11_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL11_Pos) /*!< Bit mask of CHANNEL11 field. */ 15390 #define SPU_DPPI_PERM_CHANNEL11_NonSecure (0x0UL) /*!< Channel 11 has its non-secure attribute set */ 15391 #define SPU_DPPI_PERM_CHANNEL11_Secure (0x1UL) /*!< Channel 11 has its secure attribute set */ 15392 15393 /* Bit 10 : Select secure attribute */ 15394 #define SPU_DPPI_PERM_CHANNEL10_Pos (10UL) /*!< Position of CHANNEL10 field. */ 15395 #define SPU_DPPI_PERM_CHANNEL10_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL10_Pos) /*!< Bit mask of CHANNEL10 field. */ 15396 #define SPU_DPPI_PERM_CHANNEL10_NonSecure (0x0UL) /*!< Channel 10 has its non-secure attribute set */ 15397 #define SPU_DPPI_PERM_CHANNEL10_Secure (0x1UL) /*!< Channel 10 has its secure attribute set */ 15398 15399 /* Bit 9 : Select secure attribute */ 15400 #define SPU_DPPI_PERM_CHANNEL9_Pos (9UL) /*!< Position of CHANNEL9 field. */ 15401 #define SPU_DPPI_PERM_CHANNEL9_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL9_Pos) /*!< Bit mask of CHANNEL9 field. */ 15402 #define SPU_DPPI_PERM_CHANNEL9_NonSecure (0x0UL) /*!< Channel 9 has its non-secure attribute set */ 15403 #define SPU_DPPI_PERM_CHANNEL9_Secure (0x1UL) /*!< Channel 9 has its secure attribute set */ 15404 15405 /* Bit 8 : Select secure attribute */ 15406 #define SPU_DPPI_PERM_CHANNEL8_Pos (8UL) /*!< Position of CHANNEL8 field. */ 15407 #define SPU_DPPI_PERM_CHANNEL8_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL8_Pos) /*!< Bit mask of CHANNEL8 field. */ 15408 #define SPU_DPPI_PERM_CHANNEL8_NonSecure (0x0UL) /*!< Channel 8 has its non-secure attribute set */ 15409 #define SPU_DPPI_PERM_CHANNEL8_Secure (0x1UL) /*!< Channel 8 has its secure attribute set */ 15410 15411 /* Bit 7 : Select secure attribute */ 15412 #define SPU_DPPI_PERM_CHANNEL7_Pos (7UL) /*!< Position of CHANNEL7 field. */ 15413 #define SPU_DPPI_PERM_CHANNEL7_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL7_Pos) /*!< Bit mask of CHANNEL7 field. */ 15414 #define SPU_DPPI_PERM_CHANNEL7_NonSecure (0x0UL) /*!< Channel 7 has its non-secure attribute set */ 15415 #define SPU_DPPI_PERM_CHANNEL7_Secure (0x1UL) /*!< Channel 7 has its secure attribute set */ 15416 15417 /* Bit 6 : Select secure attribute */ 15418 #define SPU_DPPI_PERM_CHANNEL6_Pos (6UL) /*!< Position of CHANNEL6 field. */ 15419 #define SPU_DPPI_PERM_CHANNEL6_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL6_Pos) /*!< Bit mask of CHANNEL6 field. */ 15420 #define SPU_DPPI_PERM_CHANNEL6_NonSecure (0x0UL) /*!< Channel 6 has its non-secure attribute set */ 15421 #define SPU_DPPI_PERM_CHANNEL6_Secure (0x1UL) /*!< Channel 6 has its secure attribute set */ 15422 15423 /* Bit 5 : Select secure attribute */ 15424 #define SPU_DPPI_PERM_CHANNEL5_Pos (5UL) /*!< Position of CHANNEL5 field. */ 15425 #define SPU_DPPI_PERM_CHANNEL5_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL5_Pos) /*!< Bit mask of CHANNEL5 field. */ 15426 #define SPU_DPPI_PERM_CHANNEL5_NonSecure (0x0UL) /*!< Channel 5 has its non-secure attribute set */ 15427 #define SPU_DPPI_PERM_CHANNEL5_Secure (0x1UL) /*!< Channel 5 has its secure attribute set */ 15428 15429 /* Bit 4 : Select secure attribute */ 15430 #define SPU_DPPI_PERM_CHANNEL4_Pos (4UL) /*!< Position of CHANNEL4 field. */ 15431 #define SPU_DPPI_PERM_CHANNEL4_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL4_Pos) /*!< Bit mask of CHANNEL4 field. */ 15432 #define SPU_DPPI_PERM_CHANNEL4_NonSecure (0x0UL) /*!< Channel 4 has its non-secure attribute set */ 15433 #define SPU_DPPI_PERM_CHANNEL4_Secure (0x1UL) /*!< Channel 4 has its secure attribute set */ 15434 15435 /* Bit 3 : Select secure attribute */ 15436 #define SPU_DPPI_PERM_CHANNEL3_Pos (3UL) /*!< Position of CHANNEL3 field. */ 15437 #define SPU_DPPI_PERM_CHANNEL3_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL3_Pos) /*!< Bit mask of CHANNEL3 field. */ 15438 #define SPU_DPPI_PERM_CHANNEL3_NonSecure (0x0UL) /*!< Channel 3 has its non-secure attribute set */ 15439 #define SPU_DPPI_PERM_CHANNEL3_Secure (0x1UL) /*!< Channel 3 has its secure attribute set */ 15440 15441 /* Bit 2 : Select secure attribute */ 15442 #define SPU_DPPI_PERM_CHANNEL2_Pos (2UL) /*!< Position of CHANNEL2 field. */ 15443 #define SPU_DPPI_PERM_CHANNEL2_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL2_Pos) /*!< Bit mask of CHANNEL2 field. */ 15444 #define SPU_DPPI_PERM_CHANNEL2_NonSecure (0x0UL) /*!< Channel 2 has its non-secure attribute set */ 15445 #define SPU_DPPI_PERM_CHANNEL2_Secure (0x1UL) /*!< Channel 2 has its secure attribute set */ 15446 15447 /* Bit 1 : Select secure attribute */ 15448 #define SPU_DPPI_PERM_CHANNEL1_Pos (1UL) /*!< Position of CHANNEL1 field. */ 15449 #define SPU_DPPI_PERM_CHANNEL1_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL1_Pos) /*!< Bit mask of CHANNEL1 field. */ 15450 #define SPU_DPPI_PERM_CHANNEL1_NonSecure (0x0UL) /*!< Channel 1 has its non-secure attribute set */ 15451 #define SPU_DPPI_PERM_CHANNEL1_Secure (0x1UL) /*!< Channel 1 has its secure attribute set */ 15452 15453 /* Bit 0 : Select secure attribute */ 15454 #define SPU_DPPI_PERM_CHANNEL0_Pos (0UL) /*!< Position of CHANNEL0 field. */ 15455 #define SPU_DPPI_PERM_CHANNEL0_Msk (0x1UL << SPU_DPPI_PERM_CHANNEL0_Pos) /*!< Bit mask of CHANNEL0 field. */ 15456 #define SPU_DPPI_PERM_CHANNEL0_NonSecure (0x0UL) /*!< Channel 0 has its non-secure attribute set */ 15457 #define SPU_DPPI_PERM_CHANNEL0_Secure (0x1UL) /*!< Channel 0 has its secure attribute set */ 15458 15459 /* Register: SPU_DPPI_LOCK */ 15460 /* Description: Description cluster: Prevent further modification of the corresponding PERM register */ 15461 15462 /* Bit 0 : */ 15463 #define SPU_DPPI_LOCK_LOCK_Pos (0UL) /*!< Position of LOCK field. */ 15464 #define SPU_DPPI_LOCK_LOCK_Msk (0x1UL << SPU_DPPI_LOCK_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15465 #define SPU_DPPI_LOCK_LOCK_Unlocked (0x0UL) /*!< DPPI[n].PERM register content can be changed */ 15466 #define SPU_DPPI_LOCK_LOCK_Locked (0x1UL) /*!< DPPI[n].PERM register can't be changed until next reset */ 15467 15468 /* Register: SPU_GPIOPORT_PERM */ 15469 /* Description: Description cluster: Select between secure and non-secure attribute for pins 0 to 31 of port n */ 15470 15471 /* Bit 31 : Select secure attribute attribute for PIN 31. */ 15472 #define SPU_GPIOPORT_PERM_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 15473 #define SPU_GPIOPORT_PERM_PIN31_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 15474 #define SPU_GPIOPORT_PERM_PIN31_NonSecure (0x0UL) /*!< Pin 31 has its non-secure attribute set */ 15475 #define SPU_GPIOPORT_PERM_PIN31_Secure (0x1UL) /*!< Pin 31 has its secure attribute set */ 15476 15477 /* Bit 30 : Select secure attribute attribute for PIN 30. */ 15478 #define SPU_GPIOPORT_PERM_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 15479 #define SPU_GPIOPORT_PERM_PIN30_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 15480 #define SPU_GPIOPORT_PERM_PIN30_NonSecure (0x0UL) /*!< Pin 30 has its non-secure attribute set */ 15481 #define SPU_GPIOPORT_PERM_PIN30_Secure (0x1UL) /*!< Pin 30 has its secure attribute set */ 15482 15483 /* Bit 29 : Select secure attribute attribute for PIN 29. */ 15484 #define SPU_GPIOPORT_PERM_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 15485 #define SPU_GPIOPORT_PERM_PIN29_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 15486 #define SPU_GPIOPORT_PERM_PIN29_NonSecure (0x0UL) /*!< Pin 29 has its non-secure attribute set */ 15487 #define SPU_GPIOPORT_PERM_PIN29_Secure (0x1UL) /*!< Pin 29 has its secure attribute set */ 15488 15489 /* Bit 28 : Select secure attribute attribute for PIN 28. */ 15490 #define SPU_GPIOPORT_PERM_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 15491 #define SPU_GPIOPORT_PERM_PIN28_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 15492 #define SPU_GPIOPORT_PERM_PIN28_NonSecure (0x0UL) /*!< Pin 28 has its non-secure attribute set */ 15493 #define SPU_GPIOPORT_PERM_PIN28_Secure (0x1UL) /*!< Pin 28 has its secure attribute set */ 15494 15495 /* Bit 27 : Select secure attribute attribute for PIN 27. */ 15496 #define SPU_GPIOPORT_PERM_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 15497 #define SPU_GPIOPORT_PERM_PIN27_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 15498 #define SPU_GPIOPORT_PERM_PIN27_NonSecure (0x0UL) /*!< Pin 27 has its non-secure attribute set */ 15499 #define SPU_GPIOPORT_PERM_PIN27_Secure (0x1UL) /*!< Pin 27 has its secure attribute set */ 15500 15501 /* Bit 26 : Select secure attribute attribute for PIN 26. */ 15502 #define SPU_GPIOPORT_PERM_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 15503 #define SPU_GPIOPORT_PERM_PIN26_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 15504 #define SPU_GPIOPORT_PERM_PIN26_NonSecure (0x0UL) /*!< Pin 26 has its non-secure attribute set */ 15505 #define SPU_GPIOPORT_PERM_PIN26_Secure (0x1UL) /*!< Pin 26 has its secure attribute set */ 15506 15507 /* Bit 25 : Select secure attribute attribute for PIN 25. */ 15508 #define SPU_GPIOPORT_PERM_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 15509 #define SPU_GPIOPORT_PERM_PIN25_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 15510 #define SPU_GPIOPORT_PERM_PIN25_NonSecure (0x0UL) /*!< Pin 25 has its non-secure attribute set */ 15511 #define SPU_GPIOPORT_PERM_PIN25_Secure (0x1UL) /*!< Pin 25 has its secure attribute set */ 15512 15513 /* Bit 24 : Select secure attribute attribute for PIN 24. */ 15514 #define SPU_GPIOPORT_PERM_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 15515 #define SPU_GPIOPORT_PERM_PIN24_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 15516 #define SPU_GPIOPORT_PERM_PIN24_NonSecure (0x0UL) /*!< Pin 24 has its non-secure attribute set */ 15517 #define SPU_GPIOPORT_PERM_PIN24_Secure (0x1UL) /*!< Pin 24 has its secure attribute set */ 15518 15519 /* Bit 23 : Select secure attribute attribute for PIN 23. */ 15520 #define SPU_GPIOPORT_PERM_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 15521 #define SPU_GPIOPORT_PERM_PIN23_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 15522 #define SPU_GPIOPORT_PERM_PIN23_NonSecure (0x0UL) /*!< Pin 23 has its non-secure attribute set */ 15523 #define SPU_GPIOPORT_PERM_PIN23_Secure (0x1UL) /*!< Pin 23 has its secure attribute set */ 15524 15525 /* Bit 22 : Select secure attribute attribute for PIN 22. */ 15526 #define SPU_GPIOPORT_PERM_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 15527 #define SPU_GPIOPORT_PERM_PIN22_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 15528 #define SPU_GPIOPORT_PERM_PIN22_NonSecure (0x0UL) /*!< Pin 22 has its non-secure attribute set */ 15529 #define SPU_GPIOPORT_PERM_PIN22_Secure (0x1UL) /*!< Pin 22 has its secure attribute set */ 15530 15531 /* Bit 21 : Select secure attribute attribute for PIN 21. */ 15532 #define SPU_GPIOPORT_PERM_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 15533 #define SPU_GPIOPORT_PERM_PIN21_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 15534 #define SPU_GPIOPORT_PERM_PIN21_NonSecure (0x0UL) /*!< Pin 21 has its non-secure attribute set */ 15535 #define SPU_GPIOPORT_PERM_PIN21_Secure (0x1UL) /*!< Pin 21 has its secure attribute set */ 15536 15537 /* Bit 20 : Select secure attribute attribute for PIN 20. */ 15538 #define SPU_GPIOPORT_PERM_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 15539 #define SPU_GPIOPORT_PERM_PIN20_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 15540 #define SPU_GPIOPORT_PERM_PIN20_NonSecure (0x0UL) /*!< Pin 20 has its non-secure attribute set */ 15541 #define SPU_GPIOPORT_PERM_PIN20_Secure (0x1UL) /*!< Pin 20 has its secure attribute set */ 15542 15543 /* Bit 19 : Select secure attribute attribute for PIN 19. */ 15544 #define SPU_GPIOPORT_PERM_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 15545 #define SPU_GPIOPORT_PERM_PIN19_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 15546 #define SPU_GPIOPORT_PERM_PIN19_NonSecure (0x0UL) /*!< Pin 19 has its non-secure attribute set */ 15547 #define SPU_GPIOPORT_PERM_PIN19_Secure (0x1UL) /*!< Pin 19 has its secure attribute set */ 15548 15549 /* Bit 18 : Select secure attribute attribute for PIN 18. */ 15550 #define SPU_GPIOPORT_PERM_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 15551 #define SPU_GPIOPORT_PERM_PIN18_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 15552 #define SPU_GPIOPORT_PERM_PIN18_NonSecure (0x0UL) /*!< Pin 18 has its non-secure attribute set */ 15553 #define SPU_GPIOPORT_PERM_PIN18_Secure (0x1UL) /*!< Pin 18 has its secure attribute set */ 15554 15555 /* Bit 17 : Select secure attribute attribute for PIN 17. */ 15556 #define SPU_GPIOPORT_PERM_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 15557 #define SPU_GPIOPORT_PERM_PIN17_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 15558 #define SPU_GPIOPORT_PERM_PIN17_NonSecure (0x0UL) /*!< Pin 17 has its non-secure attribute set */ 15559 #define SPU_GPIOPORT_PERM_PIN17_Secure (0x1UL) /*!< Pin 17 has its secure attribute set */ 15560 15561 /* Bit 16 : Select secure attribute attribute for PIN 16. */ 15562 #define SPU_GPIOPORT_PERM_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 15563 #define SPU_GPIOPORT_PERM_PIN16_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 15564 #define SPU_GPIOPORT_PERM_PIN16_NonSecure (0x0UL) /*!< Pin 16 has its non-secure attribute set */ 15565 #define SPU_GPIOPORT_PERM_PIN16_Secure (0x1UL) /*!< Pin 16 has its secure attribute set */ 15566 15567 /* Bit 15 : Select secure attribute attribute for PIN 15. */ 15568 #define SPU_GPIOPORT_PERM_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 15569 #define SPU_GPIOPORT_PERM_PIN15_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 15570 #define SPU_GPIOPORT_PERM_PIN15_NonSecure (0x0UL) /*!< Pin 15 has its non-secure attribute set */ 15571 #define SPU_GPIOPORT_PERM_PIN15_Secure (0x1UL) /*!< Pin 15 has its secure attribute set */ 15572 15573 /* Bit 14 : Select secure attribute attribute for PIN 14. */ 15574 #define SPU_GPIOPORT_PERM_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 15575 #define SPU_GPIOPORT_PERM_PIN14_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 15576 #define SPU_GPIOPORT_PERM_PIN14_NonSecure (0x0UL) /*!< Pin 14 has its non-secure attribute set */ 15577 #define SPU_GPIOPORT_PERM_PIN14_Secure (0x1UL) /*!< Pin 14 has its secure attribute set */ 15578 15579 /* Bit 13 : Select secure attribute attribute for PIN 13. */ 15580 #define SPU_GPIOPORT_PERM_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 15581 #define SPU_GPIOPORT_PERM_PIN13_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 15582 #define SPU_GPIOPORT_PERM_PIN13_NonSecure (0x0UL) /*!< Pin 13 has its non-secure attribute set */ 15583 #define SPU_GPIOPORT_PERM_PIN13_Secure (0x1UL) /*!< Pin 13 has its secure attribute set */ 15584 15585 /* Bit 12 : Select secure attribute attribute for PIN 12. */ 15586 #define SPU_GPIOPORT_PERM_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 15587 #define SPU_GPIOPORT_PERM_PIN12_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 15588 #define SPU_GPIOPORT_PERM_PIN12_NonSecure (0x0UL) /*!< Pin 12 has its non-secure attribute set */ 15589 #define SPU_GPIOPORT_PERM_PIN12_Secure (0x1UL) /*!< Pin 12 has its secure attribute set */ 15590 15591 /* Bit 11 : Select secure attribute attribute for PIN 11. */ 15592 #define SPU_GPIOPORT_PERM_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 15593 #define SPU_GPIOPORT_PERM_PIN11_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 15594 #define SPU_GPIOPORT_PERM_PIN11_NonSecure (0x0UL) /*!< Pin 11 has its non-secure attribute set */ 15595 #define SPU_GPIOPORT_PERM_PIN11_Secure (0x1UL) /*!< Pin 11 has its secure attribute set */ 15596 15597 /* Bit 10 : Select secure attribute attribute for PIN 10. */ 15598 #define SPU_GPIOPORT_PERM_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 15599 #define SPU_GPIOPORT_PERM_PIN10_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 15600 #define SPU_GPIOPORT_PERM_PIN10_NonSecure (0x0UL) /*!< Pin 10 has its non-secure attribute set */ 15601 #define SPU_GPIOPORT_PERM_PIN10_Secure (0x1UL) /*!< Pin 10 has its secure attribute set */ 15602 15603 /* Bit 9 : Select secure attribute attribute for PIN 9. */ 15604 #define SPU_GPIOPORT_PERM_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 15605 #define SPU_GPIOPORT_PERM_PIN9_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 15606 #define SPU_GPIOPORT_PERM_PIN9_NonSecure (0x0UL) /*!< Pin 9 has its non-secure attribute set */ 15607 #define SPU_GPIOPORT_PERM_PIN9_Secure (0x1UL) /*!< Pin 9 has its secure attribute set */ 15608 15609 /* Bit 8 : Select secure attribute attribute for PIN 8. */ 15610 #define SPU_GPIOPORT_PERM_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 15611 #define SPU_GPIOPORT_PERM_PIN8_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 15612 #define SPU_GPIOPORT_PERM_PIN8_NonSecure (0x0UL) /*!< Pin 8 has its non-secure attribute set */ 15613 #define SPU_GPIOPORT_PERM_PIN8_Secure (0x1UL) /*!< Pin 8 has its secure attribute set */ 15614 15615 /* Bit 7 : Select secure attribute attribute for PIN 7. */ 15616 #define SPU_GPIOPORT_PERM_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 15617 #define SPU_GPIOPORT_PERM_PIN7_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 15618 #define SPU_GPIOPORT_PERM_PIN7_NonSecure (0x0UL) /*!< Pin 7 has its non-secure attribute set */ 15619 #define SPU_GPIOPORT_PERM_PIN7_Secure (0x1UL) /*!< Pin 7 has its secure attribute set */ 15620 15621 /* Bit 6 : Select secure attribute attribute for PIN 6. */ 15622 #define SPU_GPIOPORT_PERM_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 15623 #define SPU_GPIOPORT_PERM_PIN6_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 15624 #define SPU_GPIOPORT_PERM_PIN6_NonSecure (0x0UL) /*!< Pin 6 has its non-secure attribute set */ 15625 #define SPU_GPIOPORT_PERM_PIN6_Secure (0x1UL) /*!< Pin 6 has its secure attribute set */ 15626 15627 /* Bit 5 : Select secure attribute attribute for PIN 5. */ 15628 #define SPU_GPIOPORT_PERM_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 15629 #define SPU_GPIOPORT_PERM_PIN5_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 15630 #define SPU_GPIOPORT_PERM_PIN5_NonSecure (0x0UL) /*!< Pin 5 has its non-secure attribute set */ 15631 #define SPU_GPIOPORT_PERM_PIN5_Secure (0x1UL) /*!< Pin 5 has its secure attribute set */ 15632 15633 /* Bit 4 : Select secure attribute attribute for PIN 4. */ 15634 #define SPU_GPIOPORT_PERM_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 15635 #define SPU_GPIOPORT_PERM_PIN4_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 15636 #define SPU_GPIOPORT_PERM_PIN4_NonSecure (0x0UL) /*!< Pin 4 has its non-secure attribute set */ 15637 #define SPU_GPIOPORT_PERM_PIN4_Secure (0x1UL) /*!< Pin 4 has its secure attribute set */ 15638 15639 /* Bit 3 : Select secure attribute attribute for PIN 3. */ 15640 #define SPU_GPIOPORT_PERM_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 15641 #define SPU_GPIOPORT_PERM_PIN3_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 15642 #define SPU_GPIOPORT_PERM_PIN3_NonSecure (0x0UL) /*!< Pin 3 has its non-secure attribute set */ 15643 #define SPU_GPIOPORT_PERM_PIN3_Secure (0x1UL) /*!< Pin 3 has its secure attribute set */ 15644 15645 /* Bit 2 : Select secure attribute attribute for PIN 2. */ 15646 #define SPU_GPIOPORT_PERM_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 15647 #define SPU_GPIOPORT_PERM_PIN2_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 15648 #define SPU_GPIOPORT_PERM_PIN2_NonSecure (0x0UL) /*!< Pin 2 has its non-secure attribute set */ 15649 #define SPU_GPIOPORT_PERM_PIN2_Secure (0x1UL) /*!< Pin 2 has its secure attribute set */ 15650 15651 /* Bit 1 : Select secure attribute attribute for PIN 1. */ 15652 #define SPU_GPIOPORT_PERM_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 15653 #define SPU_GPIOPORT_PERM_PIN1_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 15654 #define SPU_GPIOPORT_PERM_PIN1_NonSecure (0x0UL) /*!< Pin 1 has its non-secure attribute set */ 15655 #define SPU_GPIOPORT_PERM_PIN1_Secure (0x1UL) /*!< Pin 1 has its secure attribute set */ 15656 15657 /* Bit 0 : Select secure attribute attribute for PIN 0. */ 15658 #define SPU_GPIOPORT_PERM_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 15659 #define SPU_GPIOPORT_PERM_PIN0_Msk (0x1UL << SPU_GPIOPORT_PERM_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 15660 #define SPU_GPIOPORT_PERM_PIN0_NonSecure (0x0UL) /*!< Pin 0 has its non-secure attribute set */ 15661 #define SPU_GPIOPORT_PERM_PIN0_Secure (0x1UL) /*!< Pin 0 has its secure attribute set */ 15662 15663 /* Register: SPU_GPIOPORT_LOCK */ 15664 /* Description: Description cluster: Prevent further modification of the corresponding PERM register */ 15665 15666 /* Bit 0 : */ 15667 #define SPU_GPIOPORT_LOCK_LOCK_Pos (0UL) /*!< Position of LOCK field. */ 15668 #define SPU_GPIOPORT_LOCK_LOCK_Msk (0x1UL << SPU_GPIOPORT_LOCK_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15669 #define SPU_GPIOPORT_LOCK_LOCK_Unlocked (0x0UL) /*!< GPIOPORT[n].PERM register content can be changed */ 15670 #define SPU_GPIOPORT_LOCK_LOCK_Locked (0x1UL) /*!< GPIOPORT[n].PERM register can't be changed until next reset */ 15671 15672 /* Register: SPU_FLASHNSC_REGION */ 15673 /* Description: Description cluster: Define which flash region can contain the non-secure callable (NSC) region n */ 15674 15675 /* Bit 8 : */ 15676 #define SPU_FLASHNSC_REGION_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15677 #define SPU_FLASHNSC_REGION_LOCK_Msk (0x1UL << SPU_FLASHNSC_REGION_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15678 #define SPU_FLASHNSC_REGION_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15679 #define SPU_FLASHNSC_REGION_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15680 15681 /* Bits 5..0 : Region number */ 15682 #define SPU_FLASHNSC_REGION_REGION_Pos (0UL) /*!< Position of REGION field. */ 15683 #define SPU_FLASHNSC_REGION_REGION_Msk (0x3FUL << SPU_FLASHNSC_REGION_REGION_Pos) /*!< Bit mask of REGION field. */ 15684 15685 /* Register: SPU_FLASHNSC_SIZE */ 15686 /* Description: Description cluster: Define the size of the non-secure callable (NSC) region n */ 15687 15688 /* Bit 8 : */ 15689 #define SPU_FLASHNSC_SIZE_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15690 #define SPU_FLASHNSC_SIZE_LOCK_Msk (0x1UL << SPU_FLASHNSC_SIZE_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15691 #define SPU_FLASHNSC_SIZE_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15692 #define SPU_FLASHNSC_SIZE_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15693 15694 /* Bits 3..0 : Size of the non-secure callable (NSC) region n */ 15695 #define SPU_FLASHNSC_SIZE_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 15696 #define SPU_FLASHNSC_SIZE_SIZE_Msk (0xFUL << SPU_FLASHNSC_SIZE_SIZE_Pos) /*!< Bit mask of SIZE field. */ 15697 #define SPU_FLASHNSC_SIZE_SIZE_Disabled (0x0UL) /*!< The region n is not defined as a non-secure callable region. Normal security attributes (secure or non-secure) are enforced. */ 15698 #define SPU_FLASHNSC_SIZE_SIZE_32 (0x1UL) /*!< The region n is defined as non-secure callable with size 32 bytes */ 15699 #define SPU_FLASHNSC_SIZE_SIZE_64 (0x2UL) /*!< The region n is defined as non-secure callable with size 64 bytes */ 15700 #define SPU_FLASHNSC_SIZE_SIZE_128 (0x3UL) /*!< The region n is defined as non-secure callable with size 128 bytes */ 15701 #define SPU_FLASHNSC_SIZE_SIZE_256 (0x4UL) /*!< The region n is defined as non-secure callable with size 256 bytes */ 15702 #define SPU_FLASHNSC_SIZE_SIZE_512 (0x5UL) /*!< The region n is defined as non-secure callable with size 512 bytes */ 15703 #define SPU_FLASHNSC_SIZE_SIZE_1024 (0x6UL) /*!< The region n is defined as non-secure callable with size 1024 bytes */ 15704 #define SPU_FLASHNSC_SIZE_SIZE_2048 (0x7UL) /*!< The region n is defined as non-secure callable with size 2048 bytes */ 15705 #define SPU_FLASHNSC_SIZE_SIZE_4096 (0x8UL) /*!< The region n is defined as non-secure callable with size 4096 bytes */ 15706 15707 /* Register: SPU_RAMNSC_REGION */ 15708 /* Description: Description cluster: Define which RAM region can contain the non-secure callable (NSC) region n */ 15709 15710 /* Bit 8 : */ 15711 #define SPU_RAMNSC_REGION_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15712 #define SPU_RAMNSC_REGION_LOCK_Msk (0x1UL << SPU_RAMNSC_REGION_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15713 #define SPU_RAMNSC_REGION_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15714 #define SPU_RAMNSC_REGION_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15715 15716 /* Bits 5..0 : Region number */ 15717 #define SPU_RAMNSC_REGION_REGION_Pos (0UL) /*!< Position of REGION field. */ 15718 #define SPU_RAMNSC_REGION_REGION_Msk (0x3FUL << SPU_RAMNSC_REGION_REGION_Pos) /*!< Bit mask of REGION field. */ 15719 15720 /* Register: SPU_RAMNSC_SIZE */ 15721 /* Description: Description cluster: Define the size of the non-secure callable (NSC) region n */ 15722 15723 /* Bit 8 : */ 15724 #define SPU_RAMNSC_SIZE_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15725 #define SPU_RAMNSC_SIZE_LOCK_Msk (0x1UL << SPU_RAMNSC_SIZE_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15726 #define SPU_RAMNSC_SIZE_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15727 #define SPU_RAMNSC_SIZE_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15728 15729 /* Bits 3..0 : Size of the non-secure callable (NSC) region n */ 15730 #define SPU_RAMNSC_SIZE_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 15731 #define SPU_RAMNSC_SIZE_SIZE_Msk (0xFUL << SPU_RAMNSC_SIZE_SIZE_Pos) /*!< Bit mask of SIZE field. */ 15732 #define SPU_RAMNSC_SIZE_SIZE_Disabled (0x0UL) /*!< The region n is not defined as a non-secure callable region. Normal security attributes (secure or non-secure) are enforced. */ 15733 #define SPU_RAMNSC_SIZE_SIZE_32 (0x1UL) /*!< The region n is defined as non-secure callable with size 32 bytes */ 15734 #define SPU_RAMNSC_SIZE_SIZE_64 (0x2UL) /*!< The region n is defined as non-secure callable with size 64 bytes */ 15735 #define SPU_RAMNSC_SIZE_SIZE_128 (0x3UL) /*!< The region n is defined as non-secure callable with size 128 bytes */ 15736 #define SPU_RAMNSC_SIZE_SIZE_256 (0x4UL) /*!< The region n is defined as non-secure callable with size 256 bytes */ 15737 #define SPU_RAMNSC_SIZE_SIZE_512 (0x5UL) /*!< The region n is defined as non-secure callable with size 512 bytes */ 15738 #define SPU_RAMNSC_SIZE_SIZE_1024 (0x6UL) /*!< The region n is defined as non-secure callable with size 1024 bytes */ 15739 #define SPU_RAMNSC_SIZE_SIZE_2048 (0x7UL) /*!< The region n is defined as non-secure callable with size 2048 bytes */ 15740 #define SPU_RAMNSC_SIZE_SIZE_4096 (0x8UL) /*!< The region n is defined as non-secure callable with size 4096 bytes */ 15741 15742 /* Register: SPU_FLASHREGION_PERM */ 15743 /* Description: Description cluster: Access permissions for flash region n */ 15744 15745 /* Bit 8 : */ 15746 #define SPU_FLASHREGION_PERM_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15747 #define SPU_FLASHREGION_PERM_LOCK_Msk (0x1UL << SPU_FLASHREGION_PERM_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15748 #define SPU_FLASHREGION_PERM_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15749 #define SPU_FLASHREGION_PERM_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15750 15751 /* Bit 4 : Security attribute for flash region n */ 15752 #define SPU_FLASHREGION_PERM_SECATTR_Pos (4UL) /*!< Position of SECATTR field. */ 15753 #define SPU_FLASHREGION_PERM_SECATTR_Msk (0x1UL << SPU_FLASHREGION_PERM_SECATTR_Pos) /*!< Bit mask of SECATTR field. */ 15754 #define SPU_FLASHREGION_PERM_SECATTR_Non_Secure (0x0UL) /*!< Flash region n security attribute is non-secure */ 15755 #define SPU_FLASHREGION_PERM_SECATTR_Secure (0x1UL) /*!< Flash region n security attribute is secure */ 15756 15757 /* Bit 2 : Configure read permissions for flash region n */ 15758 #define SPU_FLASHREGION_PERM_READ_Pos (2UL) /*!< Position of READ field. */ 15759 #define SPU_FLASHREGION_PERM_READ_Msk (0x1UL << SPU_FLASHREGION_PERM_READ_Pos) /*!< Bit mask of READ field. */ 15760 #define SPU_FLASHREGION_PERM_READ_Disable (0x0UL) /*!< Block read operation from flash region n */ 15761 #define SPU_FLASHREGION_PERM_READ_Enable (0x1UL) /*!< Allow read operation from flash region n */ 15762 15763 /* Bit 1 : Configure write permission for flash region n */ 15764 #define SPU_FLASHREGION_PERM_WRITE_Pos (1UL) /*!< Position of WRITE field. */ 15765 #define SPU_FLASHREGION_PERM_WRITE_Msk (0x1UL << SPU_FLASHREGION_PERM_WRITE_Pos) /*!< Bit mask of WRITE field. */ 15766 #define SPU_FLASHREGION_PERM_WRITE_Disable (0x0UL) /*!< Block write operation to region n */ 15767 #define SPU_FLASHREGION_PERM_WRITE_Enable (0x1UL) /*!< Allow write operation to region n */ 15768 15769 /* Bit 0 : Configure instruction fetch permissions from flash region n */ 15770 #define SPU_FLASHREGION_PERM_EXECUTE_Pos (0UL) /*!< Position of EXECUTE field. */ 15771 #define SPU_FLASHREGION_PERM_EXECUTE_Msk (0x1UL << SPU_FLASHREGION_PERM_EXECUTE_Pos) /*!< Bit mask of EXECUTE field. */ 15772 #define SPU_FLASHREGION_PERM_EXECUTE_Disable (0x0UL) /*!< Block instruction fetches from flash region n */ 15773 #define SPU_FLASHREGION_PERM_EXECUTE_Enable (0x1UL) /*!< Allow instruction fetches from flash region n */ 15774 15775 /* Register: SPU_RAMREGION_PERM */ 15776 /* Description: Description cluster: Access permissions for RAM region n */ 15777 15778 /* Bit 8 : */ 15779 #define SPU_RAMREGION_PERM_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15780 #define SPU_RAMREGION_PERM_LOCK_Msk (0x1UL << SPU_RAMREGION_PERM_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15781 #define SPU_RAMREGION_PERM_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15782 #define SPU_RAMREGION_PERM_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15783 15784 /* Bit 4 : Security attribute for RAM region n */ 15785 #define SPU_RAMREGION_PERM_SECATTR_Pos (4UL) /*!< Position of SECATTR field. */ 15786 #define SPU_RAMREGION_PERM_SECATTR_Msk (0x1UL << SPU_RAMREGION_PERM_SECATTR_Pos) /*!< Bit mask of SECATTR field. */ 15787 #define SPU_RAMREGION_PERM_SECATTR_Non_Secure (0x0UL) /*!< RAM region n security attribute is non-secure */ 15788 #define SPU_RAMREGION_PERM_SECATTR_Secure (0x1UL) /*!< RAM region n security attribute is secure */ 15789 15790 /* Bit 2 : Configure read permissions for RAM region n */ 15791 #define SPU_RAMREGION_PERM_READ_Pos (2UL) /*!< Position of READ field. */ 15792 #define SPU_RAMREGION_PERM_READ_Msk (0x1UL << SPU_RAMREGION_PERM_READ_Pos) /*!< Bit mask of READ field. */ 15793 #define SPU_RAMREGION_PERM_READ_Disable (0x0UL) /*!< Block read operation from RAM region n */ 15794 #define SPU_RAMREGION_PERM_READ_Enable (0x1UL) /*!< Allow read operation from RAM region n */ 15795 15796 /* Bit 1 : Configure write permission for RAM region n */ 15797 #define SPU_RAMREGION_PERM_WRITE_Pos (1UL) /*!< Position of WRITE field. */ 15798 #define SPU_RAMREGION_PERM_WRITE_Msk (0x1UL << SPU_RAMREGION_PERM_WRITE_Pos) /*!< Bit mask of WRITE field. */ 15799 #define SPU_RAMREGION_PERM_WRITE_Disable (0x0UL) /*!< Block write operation to RAM region n */ 15800 #define SPU_RAMREGION_PERM_WRITE_Enable (0x1UL) /*!< Allow write operation to RAM region n */ 15801 15802 /* Bit 0 : Configure instruction fetch permissions from RAM region n */ 15803 #define SPU_RAMREGION_PERM_EXECUTE_Pos (0UL) /*!< Position of EXECUTE field. */ 15804 #define SPU_RAMREGION_PERM_EXECUTE_Msk (0x1UL << SPU_RAMREGION_PERM_EXECUTE_Pos) /*!< Bit mask of EXECUTE field. */ 15805 #define SPU_RAMREGION_PERM_EXECUTE_Disable (0x0UL) /*!< Block instruction fetches from RAM region n */ 15806 #define SPU_RAMREGION_PERM_EXECUTE_Enable (0x1UL) /*!< Allow instruction fetches from RAM region n */ 15807 15808 /* Register: SPU_PERIPHID_PERM */ 15809 /* Description: Description cluster: List capabilities and access permissions for the peripheral with ID n */ 15810 15811 /* Bit 31 : Indicate if a peripheral is present with ID n */ 15812 #define SPU_PERIPHID_PERM_PRESENT_Pos (31UL) /*!< Position of PRESENT field. */ 15813 #define SPU_PERIPHID_PERM_PRESENT_Msk (0x1UL << SPU_PERIPHID_PERM_PRESENT_Pos) /*!< Bit mask of PRESENT field. */ 15814 #define SPU_PERIPHID_PERM_PRESENT_NotPresent (0x0UL) /*!< Peripheral is not present */ 15815 #define SPU_PERIPHID_PERM_PRESENT_IsPresent (0x1UL) /*!< Peripheral is present */ 15816 15817 /* Bit 8 : */ 15818 #define SPU_PERIPHID_PERM_LOCK_Pos (8UL) /*!< Position of LOCK field. */ 15819 #define SPU_PERIPHID_PERM_LOCK_Msk (0x1UL << SPU_PERIPHID_PERM_LOCK_Pos) /*!< Bit mask of LOCK field. */ 15820 #define SPU_PERIPHID_PERM_LOCK_Unlocked (0x0UL) /*!< This register can be updated */ 15821 #define SPU_PERIPHID_PERM_LOCK_Locked (0x1UL) /*!< The content of this register can't be changed until the next reset */ 15822 15823 /* Bit 5 : Security attribution for the DMA transfer */ 15824 #define SPU_PERIPHID_PERM_DMASEC_Pos (5UL) /*!< Position of DMASEC field. */ 15825 #define SPU_PERIPHID_PERM_DMASEC_Msk (0x1UL << SPU_PERIPHID_PERM_DMASEC_Pos) /*!< Bit mask of DMASEC field. */ 15826 #define SPU_PERIPHID_PERM_DMASEC_NonSecure (0x0UL) /*!< DMA transfers initiated by this peripheral have the non-secure attribute set */ 15827 #define SPU_PERIPHID_PERM_DMASEC_Secure (0x1UL) /*!< DMA transfers initiated by this peripheral have the secure attribute set */ 15828 15829 /* Bit 4 : Peripheral security mapping */ 15830 #define SPU_PERIPHID_PERM_SECATTR_Pos (4UL) /*!< Position of SECATTR field. */ 15831 #define SPU_PERIPHID_PERM_SECATTR_Msk (0x1UL << SPU_PERIPHID_PERM_SECATTR_Pos) /*!< Bit mask of SECATTR field. */ 15832 #define SPU_PERIPHID_PERM_SECATTR_NonSecure (0x0UL) /*!< If SECUREMAPPING == UserSelectable: Peripheral is mapped in non-secure peripheral address space. If SECUREMAPPING == Split: Peripheral is mapped in non-secure and secure peripheral address space. */ 15833 #define SPU_PERIPHID_PERM_SECATTR_Secure (0x1UL) /*!< Peripheral is mapped in secure peripheral address space */ 15834 15835 /* Bits 3..2 : Indicates if the peripheral has DMA capabilities and if DMA transfer can be assigned to a different security attribute than the peripheral itself */ 15836 #define SPU_PERIPHID_PERM_DMA_Pos (2UL) /*!< Position of DMA field. */ 15837 #define SPU_PERIPHID_PERM_DMA_Msk (0x3UL << SPU_PERIPHID_PERM_DMA_Pos) /*!< Bit mask of DMA field. */ 15838 #define SPU_PERIPHID_PERM_DMA_NoDMA (0x0UL) /*!< Peripheral has no DMA capability */ 15839 #define SPU_PERIPHID_PERM_DMA_NoSeparateAttribute (0x1UL) /*!< Peripheral has DMA and DMA transfers always have the same security attribute as assigned to the peripheral */ 15840 #define SPU_PERIPHID_PERM_DMA_SeparateAttribute (0x2UL) /*!< Peripheral has DMA and DMA transfers can have a different security attribute than the one assigned to the peripheral */ 15841 15842 /* Bits 1..0 : Define configuration capabilities for Arm TrustZone Cortex-M secure attribute */ 15843 #define SPU_PERIPHID_PERM_SECUREMAPPING_Pos (0UL) /*!< Position of SECUREMAPPING field. */ 15844 #define SPU_PERIPHID_PERM_SECUREMAPPING_Msk (0x3UL << SPU_PERIPHID_PERM_SECUREMAPPING_Pos) /*!< Bit mask of SECUREMAPPING field. */ 15845 #define SPU_PERIPHID_PERM_SECUREMAPPING_NonSecure (0x0UL) /*!< This peripheral is always accessible as a non-secure peripheral */ 15846 #define SPU_PERIPHID_PERM_SECUREMAPPING_Secure (0x1UL) /*!< This peripheral is always accessible as a secure peripheral */ 15847 #define SPU_PERIPHID_PERM_SECUREMAPPING_UserSelectable (0x2UL) /*!< Non-secure or secure attribute for this peripheral is defined by the PERIPHID[n].PERM register */ 15848 #define SPU_PERIPHID_PERM_SECUREMAPPING_Split (0x3UL) /*!< This peripheral implements the split security mechanism. Non-secure or secure attribute for this peripheral is defined by the PERIPHID[n].PERM register. */ 15849 15850 15851 /* Peripheral: TAD */ 15852 /* Description: Trace and debug control */ 15853 15854 /* Register: TAD_CLOCKSTART */ 15855 /* Description: Start all trace and debug clocks. */ 15856 15857 /* Bit 0 : */ 15858 #define TAD_CLOCKSTART_START_Pos (0UL) /*!< Position of START field. */ 15859 #define TAD_CLOCKSTART_START_Msk (0x1UL << TAD_CLOCKSTART_START_Pos) /*!< Bit mask of START field. */ 15860 #define TAD_CLOCKSTART_START_Start (0x1UL) /*!< Start all trace and debug clocks. */ 15861 15862 /* Register: TAD_CLOCKSTOP */ 15863 /* Description: Stop all trace and debug clocks. */ 15864 15865 /* Bit 0 : */ 15866 #define TAD_CLOCKSTOP_STOP_Pos (0UL) /*!< Position of STOP field. */ 15867 #define TAD_CLOCKSTOP_STOP_Msk (0x1UL << TAD_CLOCKSTOP_STOP_Pos) /*!< Bit mask of STOP field. */ 15868 #define TAD_CLOCKSTOP_STOP_Stop (0x1UL) /*!< Stop all trace and debug clocks. */ 15869 15870 /* Register: TAD_ENABLE */ 15871 /* Description: Enable debug domain and aquire selected GPIOs */ 15872 15873 /* Bit 0 : */ 15874 #define TAD_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 15875 #define TAD_ENABLE_ENABLE_Msk (0x1UL << TAD_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 15876 #define TAD_ENABLE_ENABLE_DISABLED (0x0UL) /*!< Disable debug domain and release selected GPIOs */ 15877 #define TAD_ENABLE_ENABLE_ENABLED (0x1UL) /*!< Enable debug domain and aquire selected GPIOs */ 15878 15879 /* Register: TAD_PSEL_TRACECLK */ 15880 /* Description: Pin configuration for TRACECLK */ 15881 15882 /* Bit 31 : Connection */ 15883 #define TAD_PSEL_TRACECLK_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 15884 #define TAD_PSEL_TRACECLK_CONNECT_Msk (0x1UL << TAD_PSEL_TRACECLK_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 15885 #define TAD_PSEL_TRACECLK_CONNECT_Connected (0x0UL) /*!< Connect */ 15886 #define TAD_PSEL_TRACECLK_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 15887 15888 /* Bits 4..0 : Pin number */ 15889 #define TAD_PSEL_TRACECLK_PIN_Pos (0UL) /*!< Position of PIN field. */ 15890 #define TAD_PSEL_TRACECLK_PIN_Msk (0x1FUL << TAD_PSEL_TRACECLK_PIN_Pos) /*!< Bit mask of PIN field. */ 15891 #define TAD_PSEL_TRACECLK_PIN_Traceclk (0x0CUL) /*!< TRACECLK pin */ 15892 15893 /* Register: TAD_PSEL_TRACEDATA0 */ 15894 /* Description: Pin configuration for TRACEDATA[0] */ 15895 15896 /* Bit 31 : Connection */ 15897 #define TAD_PSEL_TRACEDATA0_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 15898 #define TAD_PSEL_TRACEDATA0_CONNECT_Msk (0x1UL << TAD_PSEL_TRACEDATA0_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 15899 #define TAD_PSEL_TRACEDATA0_CONNECT_Connected (0x0UL) /*!< Connect */ 15900 #define TAD_PSEL_TRACEDATA0_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 15901 15902 /* Bits 4..0 : Pin number */ 15903 #define TAD_PSEL_TRACEDATA0_PIN_Pos (0UL) /*!< Position of PIN field. */ 15904 #define TAD_PSEL_TRACEDATA0_PIN_Msk (0x1FUL << TAD_PSEL_TRACEDATA0_PIN_Pos) /*!< Bit mask of PIN field. */ 15905 #define TAD_PSEL_TRACEDATA0_PIN_Tracedata0 (0x0BUL) /*!< TRACEDATA0 pin */ 15906 15907 /* Register: TAD_PSEL_TRACEDATA1 */ 15908 /* Description: Pin configuration for TRACEDATA[1] */ 15909 15910 /* Bit 31 : Connection */ 15911 #define TAD_PSEL_TRACEDATA1_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 15912 #define TAD_PSEL_TRACEDATA1_CONNECT_Msk (0x1UL << TAD_PSEL_TRACEDATA1_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 15913 #define TAD_PSEL_TRACEDATA1_CONNECT_Connected (0x0UL) /*!< Connect */ 15914 #define TAD_PSEL_TRACEDATA1_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 15915 15916 /* Bits 4..0 : Pin number */ 15917 #define TAD_PSEL_TRACEDATA1_PIN_Pos (0UL) /*!< Position of PIN field. */ 15918 #define TAD_PSEL_TRACEDATA1_PIN_Msk (0x1FUL << TAD_PSEL_TRACEDATA1_PIN_Pos) /*!< Bit mask of PIN field. */ 15919 #define TAD_PSEL_TRACEDATA1_PIN_Tracedata1 (0x0AUL) /*!< TRACEDATA1 pin */ 15920 15921 /* Register: TAD_PSEL_TRACEDATA2 */ 15922 /* Description: Pin configuration for TRACEDATA[2] */ 15923 15924 /* Bit 31 : Connection */ 15925 #define TAD_PSEL_TRACEDATA2_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 15926 #define TAD_PSEL_TRACEDATA2_CONNECT_Msk (0x1UL << TAD_PSEL_TRACEDATA2_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 15927 #define TAD_PSEL_TRACEDATA2_CONNECT_Connected (0x0UL) /*!< Connect */ 15928 #define TAD_PSEL_TRACEDATA2_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 15929 15930 /* Bits 4..0 : Pin number */ 15931 #define TAD_PSEL_TRACEDATA2_PIN_Pos (0UL) /*!< Position of PIN field. */ 15932 #define TAD_PSEL_TRACEDATA2_PIN_Msk (0x1FUL << TAD_PSEL_TRACEDATA2_PIN_Pos) /*!< Bit mask of PIN field. */ 15933 #define TAD_PSEL_TRACEDATA2_PIN_Tracedata2 (0x09UL) /*!< TRACEDATA2 pin */ 15934 15935 /* Register: TAD_PSEL_TRACEDATA3 */ 15936 /* Description: Pin configuration for TRACEDATA[3] */ 15937 15938 /* Bit 31 : Connection */ 15939 #define TAD_PSEL_TRACEDATA3_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 15940 #define TAD_PSEL_TRACEDATA3_CONNECT_Msk (0x1UL << TAD_PSEL_TRACEDATA3_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 15941 #define TAD_PSEL_TRACEDATA3_CONNECT_Connected (0x0UL) /*!< Connect */ 15942 #define TAD_PSEL_TRACEDATA3_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 15943 15944 /* Bits 4..0 : Pin number */ 15945 #define TAD_PSEL_TRACEDATA3_PIN_Pos (0UL) /*!< Position of PIN field. */ 15946 #define TAD_PSEL_TRACEDATA3_PIN_Msk (0x1FUL << TAD_PSEL_TRACEDATA3_PIN_Pos) /*!< Bit mask of PIN field. */ 15947 #define TAD_PSEL_TRACEDATA3_PIN_Tracedata3 (0x08UL) /*!< TRACEDATA3 pin */ 15948 15949 /* Register: TAD_TRACEPORTSPEED */ 15950 /* Description: Clocking options for the Trace Port debug interface Reset behavior is the same as debug components */ 15951 15952 /* Bits 1..0 : Speed of Trace Port clock. Note that the TRACECLK pin output will be divided again by two from the Trace Port clock. */ 15953 #define TAD_TRACEPORTSPEED_TRACEPORTSPEED_Pos (0UL) /*!< Position of TRACEPORTSPEED field. */ 15954 #define TAD_TRACEPORTSPEED_TRACEPORTSPEED_Msk (0x3UL << TAD_TRACEPORTSPEED_TRACEPORTSPEED_Pos) /*!< Bit mask of TRACEPORTSPEED field. */ 15955 #define TAD_TRACEPORTSPEED_TRACEPORTSPEED_64MHz (0x0UL) /*!< Trace Port clock is: 64MHz */ 15956 #define TAD_TRACEPORTSPEED_TRACEPORTSPEED_32MHz (0x1UL) /*!< Trace Port clock is: 32MHz */ 15957 #define TAD_TRACEPORTSPEED_TRACEPORTSPEED_16MHz (0x2UL) /*!< Trace Port clock is: 16MHz */ 15958 #define TAD_TRACEPORTSPEED_TRACEPORTSPEED_8MHz (0x3UL) /*!< Trace Port clock is: 8MHz */ 15959 15960 15961 /* Peripheral: TIMER */ 15962 /* Description: Timer/Counter 0 */ 15963 15964 /* Register: TIMER_TASKS_START */ 15965 /* Description: Start Timer */ 15966 15967 /* Bit 0 : Start Timer */ 15968 #define TIMER_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 15969 #define TIMER_TASKS_START_TASKS_START_Msk (0x1UL << TIMER_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 15970 #define TIMER_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 15971 15972 /* Register: TIMER_TASKS_STOP */ 15973 /* Description: Stop Timer */ 15974 15975 /* Bit 0 : Stop Timer */ 15976 #define TIMER_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 15977 #define TIMER_TASKS_STOP_TASKS_STOP_Msk (0x1UL << TIMER_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 15978 #define TIMER_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 15979 15980 /* Register: TIMER_TASKS_COUNT */ 15981 /* Description: Increment Timer (Counter mode only) */ 15982 15983 /* Bit 0 : Increment Timer (Counter mode only) */ 15984 #define TIMER_TASKS_COUNT_TASKS_COUNT_Pos (0UL) /*!< Position of TASKS_COUNT field. */ 15985 #define TIMER_TASKS_COUNT_TASKS_COUNT_Msk (0x1UL << TIMER_TASKS_COUNT_TASKS_COUNT_Pos) /*!< Bit mask of TASKS_COUNT field. */ 15986 #define TIMER_TASKS_COUNT_TASKS_COUNT_Trigger (0x1UL) /*!< Trigger task */ 15987 15988 /* Register: TIMER_TASKS_CLEAR */ 15989 /* Description: Clear time */ 15990 15991 /* Bit 0 : Clear time */ 15992 #define TIMER_TASKS_CLEAR_TASKS_CLEAR_Pos (0UL) /*!< Position of TASKS_CLEAR field. */ 15993 #define TIMER_TASKS_CLEAR_TASKS_CLEAR_Msk (0x1UL << TIMER_TASKS_CLEAR_TASKS_CLEAR_Pos) /*!< Bit mask of TASKS_CLEAR field. */ 15994 #define TIMER_TASKS_CLEAR_TASKS_CLEAR_Trigger (0x1UL) /*!< Trigger task */ 15995 15996 /* Register: TIMER_TASKS_SHUTDOWN */ 15997 /* Description: Deprecated register - Shut down timer */ 15998 15999 /* Bit 0 : Deprecated field - Shut down timer */ 16000 #define TIMER_TASKS_SHUTDOWN_TASKS_SHUTDOWN_Pos (0UL) /*!< Position of TASKS_SHUTDOWN field. */ 16001 #define TIMER_TASKS_SHUTDOWN_TASKS_SHUTDOWN_Msk (0x1UL << TIMER_TASKS_SHUTDOWN_TASKS_SHUTDOWN_Pos) /*!< Bit mask of TASKS_SHUTDOWN field. */ 16002 #define TIMER_TASKS_SHUTDOWN_TASKS_SHUTDOWN_Trigger (0x1UL) /*!< Trigger task */ 16003 16004 /* Register: TIMER_TASKS_CAPTURE */ 16005 /* Description: Description collection: Capture Timer value to CC[n] register */ 16006 16007 /* Bit 0 : Capture Timer value to CC[n] register */ 16008 #define TIMER_TASKS_CAPTURE_TASKS_CAPTURE_Pos (0UL) /*!< Position of TASKS_CAPTURE field. */ 16009 #define TIMER_TASKS_CAPTURE_TASKS_CAPTURE_Msk (0x1UL << TIMER_TASKS_CAPTURE_TASKS_CAPTURE_Pos) /*!< Bit mask of TASKS_CAPTURE field. */ 16010 #define TIMER_TASKS_CAPTURE_TASKS_CAPTURE_Trigger (0x1UL) /*!< Trigger task */ 16011 16012 /* Register: TIMER_SUBSCRIBE_START */ 16013 /* Description: Subscribe configuration for task START */ 16014 16015 /* Bit 31 : */ 16016 #define TIMER_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 16017 #define TIMER_SUBSCRIBE_START_EN_Msk (0x1UL << TIMER_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 16018 #define TIMER_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 16019 #define TIMER_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 16020 16021 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 16022 #define TIMER_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16023 #define TIMER_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << TIMER_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16024 16025 /* Register: TIMER_SUBSCRIBE_STOP */ 16026 /* Description: Subscribe configuration for task STOP */ 16027 16028 /* Bit 31 : */ 16029 #define TIMER_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 16030 #define TIMER_SUBSCRIBE_STOP_EN_Msk (0x1UL << TIMER_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 16031 #define TIMER_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 16032 #define TIMER_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 16033 16034 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 16035 #define TIMER_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16036 #define TIMER_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << TIMER_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16037 16038 /* Register: TIMER_SUBSCRIBE_COUNT */ 16039 /* Description: Subscribe configuration for task COUNT */ 16040 16041 /* Bit 31 : */ 16042 #define TIMER_SUBSCRIBE_COUNT_EN_Pos (31UL) /*!< Position of EN field. */ 16043 #define TIMER_SUBSCRIBE_COUNT_EN_Msk (0x1UL << TIMER_SUBSCRIBE_COUNT_EN_Pos) /*!< Bit mask of EN field. */ 16044 #define TIMER_SUBSCRIBE_COUNT_EN_Disabled (0x0UL) /*!< Disable subscription */ 16045 #define TIMER_SUBSCRIBE_COUNT_EN_Enabled (0x1UL) /*!< Enable subscription */ 16046 16047 /* Bits 7..0 : DPPI channel that task COUNT will subscribe to */ 16048 #define TIMER_SUBSCRIBE_COUNT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16049 #define TIMER_SUBSCRIBE_COUNT_CHIDX_Msk (0xFFUL << TIMER_SUBSCRIBE_COUNT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16050 16051 /* Register: TIMER_SUBSCRIBE_CLEAR */ 16052 /* Description: Subscribe configuration for task CLEAR */ 16053 16054 /* Bit 31 : */ 16055 #define TIMER_SUBSCRIBE_CLEAR_EN_Pos (31UL) /*!< Position of EN field. */ 16056 #define TIMER_SUBSCRIBE_CLEAR_EN_Msk (0x1UL << TIMER_SUBSCRIBE_CLEAR_EN_Pos) /*!< Bit mask of EN field. */ 16057 #define TIMER_SUBSCRIBE_CLEAR_EN_Disabled (0x0UL) /*!< Disable subscription */ 16058 #define TIMER_SUBSCRIBE_CLEAR_EN_Enabled (0x1UL) /*!< Enable subscription */ 16059 16060 /* Bits 7..0 : DPPI channel that task CLEAR will subscribe to */ 16061 #define TIMER_SUBSCRIBE_CLEAR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16062 #define TIMER_SUBSCRIBE_CLEAR_CHIDX_Msk (0xFFUL << TIMER_SUBSCRIBE_CLEAR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16063 16064 /* Register: TIMER_SUBSCRIBE_SHUTDOWN */ 16065 /* Description: Deprecated register - Subscribe configuration for task SHUTDOWN */ 16066 16067 /* Bit 31 : */ 16068 #define TIMER_SUBSCRIBE_SHUTDOWN_EN_Pos (31UL) /*!< Position of EN field. */ 16069 #define TIMER_SUBSCRIBE_SHUTDOWN_EN_Msk (0x1UL << TIMER_SUBSCRIBE_SHUTDOWN_EN_Pos) /*!< Bit mask of EN field. */ 16070 #define TIMER_SUBSCRIBE_SHUTDOWN_EN_Disabled (0x0UL) /*!< Disable subscription */ 16071 #define TIMER_SUBSCRIBE_SHUTDOWN_EN_Enabled (0x1UL) /*!< Enable subscription */ 16072 16073 /* Bits 7..0 : DPPI channel that task SHUTDOWN will subscribe to */ 16074 #define TIMER_SUBSCRIBE_SHUTDOWN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16075 #define TIMER_SUBSCRIBE_SHUTDOWN_CHIDX_Msk (0xFFUL << TIMER_SUBSCRIBE_SHUTDOWN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16076 16077 /* Register: TIMER_SUBSCRIBE_CAPTURE */ 16078 /* Description: Description collection: Subscribe configuration for task CAPTURE[n] */ 16079 16080 /* Bit 31 : */ 16081 #define TIMER_SUBSCRIBE_CAPTURE_EN_Pos (31UL) /*!< Position of EN field. */ 16082 #define TIMER_SUBSCRIBE_CAPTURE_EN_Msk (0x1UL << TIMER_SUBSCRIBE_CAPTURE_EN_Pos) /*!< Bit mask of EN field. */ 16083 #define TIMER_SUBSCRIBE_CAPTURE_EN_Disabled (0x0UL) /*!< Disable subscription */ 16084 #define TIMER_SUBSCRIBE_CAPTURE_EN_Enabled (0x1UL) /*!< Enable subscription */ 16085 16086 /* Bits 7..0 : DPPI channel that task CAPTURE[n] will subscribe to */ 16087 #define TIMER_SUBSCRIBE_CAPTURE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16088 #define TIMER_SUBSCRIBE_CAPTURE_CHIDX_Msk (0xFFUL << TIMER_SUBSCRIBE_CAPTURE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16089 16090 /* Register: TIMER_EVENTS_COMPARE */ 16091 /* Description: Description collection: Compare event on CC[n] match */ 16092 16093 /* Bit 0 : Compare event on CC[n] match */ 16094 #define TIMER_EVENTS_COMPARE_EVENTS_COMPARE_Pos (0UL) /*!< Position of EVENTS_COMPARE field. */ 16095 #define TIMER_EVENTS_COMPARE_EVENTS_COMPARE_Msk (0x1UL << TIMER_EVENTS_COMPARE_EVENTS_COMPARE_Pos) /*!< Bit mask of EVENTS_COMPARE field. */ 16096 #define TIMER_EVENTS_COMPARE_EVENTS_COMPARE_NotGenerated (0x0UL) /*!< Event not generated */ 16097 #define TIMER_EVENTS_COMPARE_EVENTS_COMPARE_Generated (0x1UL) /*!< Event generated */ 16098 16099 /* Register: TIMER_PUBLISH_COMPARE */ 16100 /* Description: Description collection: Publish configuration for event COMPARE[n] */ 16101 16102 /* Bit 31 : */ 16103 #define TIMER_PUBLISH_COMPARE_EN_Pos (31UL) /*!< Position of EN field. */ 16104 #define TIMER_PUBLISH_COMPARE_EN_Msk (0x1UL << TIMER_PUBLISH_COMPARE_EN_Pos) /*!< Bit mask of EN field. */ 16105 #define TIMER_PUBLISH_COMPARE_EN_Disabled (0x0UL) /*!< Disable publishing */ 16106 #define TIMER_PUBLISH_COMPARE_EN_Enabled (0x1UL) /*!< Enable publishing */ 16107 16108 /* Bits 7..0 : DPPI channel that event COMPARE[n] will publish to */ 16109 #define TIMER_PUBLISH_COMPARE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16110 #define TIMER_PUBLISH_COMPARE_CHIDX_Msk (0xFFUL << TIMER_PUBLISH_COMPARE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16111 16112 /* Register: TIMER_SHORTS */ 16113 /* Description: Shortcuts between local events and tasks */ 16114 16115 /* Bit 21 : Shortcut between event COMPARE[5] and task STOP */ 16116 #define TIMER_SHORTS_COMPARE5_STOP_Pos (21UL) /*!< Position of COMPARE5_STOP field. */ 16117 #define TIMER_SHORTS_COMPARE5_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE5_STOP_Pos) /*!< Bit mask of COMPARE5_STOP field. */ 16118 #define TIMER_SHORTS_COMPARE5_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16119 #define TIMER_SHORTS_COMPARE5_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16120 16121 /* Bit 20 : Shortcut between event COMPARE[4] and task STOP */ 16122 #define TIMER_SHORTS_COMPARE4_STOP_Pos (20UL) /*!< Position of COMPARE4_STOP field. */ 16123 #define TIMER_SHORTS_COMPARE4_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE4_STOP_Pos) /*!< Bit mask of COMPARE4_STOP field. */ 16124 #define TIMER_SHORTS_COMPARE4_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16125 #define TIMER_SHORTS_COMPARE4_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16126 16127 /* Bit 19 : Shortcut between event COMPARE[3] and task STOP */ 16128 #define TIMER_SHORTS_COMPARE3_STOP_Pos (19UL) /*!< Position of COMPARE3_STOP field. */ 16129 #define TIMER_SHORTS_COMPARE3_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE3_STOP_Pos) /*!< Bit mask of COMPARE3_STOP field. */ 16130 #define TIMER_SHORTS_COMPARE3_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16131 #define TIMER_SHORTS_COMPARE3_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16132 16133 /* Bit 18 : Shortcut between event COMPARE[2] and task STOP */ 16134 #define TIMER_SHORTS_COMPARE2_STOP_Pos (18UL) /*!< Position of COMPARE2_STOP field. */ 16135 #define TIMER_SHORTS_COMPARE2_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE2_STOP_Pos) /*!< Bit mask of COMPARE2_STOP field. */ 16136 #define TIMER_SHORTS_COMPARE2_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16137 #define TIMER_SHORTS_COMPARE2_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16138 16139 /* Bit 17 : Shortcut between event COMPARE[1] and task STOP */ 16140 #define TIMER_SHORTS_COMPARE1_STOP_Pos (17UL) /*!< Position of COMPARE1_STOP field. */ 16141 #define TIMER_SHORTS_COMPARE1_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE1_STOP_Pos) /*!< Bit mask of COMPARE1_STOP field. */ 16142 #define TIMER_SHORTS_COMPARE1_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16143 #define TIMER_SHORTS_COMPARE1_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16144 16145 /* Bit 16 : Shortcut between event COMPARE[0] and task STOP */ 16146 #define TIMER_SHORTS_COMPARE0_STOP_Pos (16UL) /*!< Position of COMPARE0_STOP field. */ 16147 #define TIMER_SHORTS_COMPARE0_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE0_STOP_Pos) /*!< Bit mask of COMPARE0_STOP field. */ 16148 #define TIMER_SHORTS_COMPARE0_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16149 #define TIMER_SHORTS_COMPARE0_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16150 16151 /* Bit 5 : Shortcut between event COMPARE[5] and task CLEAR */ 16152 #define TIMER_SHORTS_COMPARE5_CLEAR_Pos (5UL) /*!< Position of COMPARE5_CLEAR field. */ 16153 #define TIMER_SHORTS_COMPARE5_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE5_CLEAR_Pos) /*!< Bit mask of COMPARE5_CLEAR field. */ 16154 #define TIMER_SHORTS_COMPARE5_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 16155 #define TIMER_SHORTS_COMPARE5_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 16156 16157 /* Bit 4 : Shortcut between event COMPARE[4] and task CLEAR */ 16158 #define TIMER_SHORTS_COMPARE4_CLEAR_Pos (4UL) /*!< Position of COMPARE4_CLEAR field. */ 16159 #define TIMER_SHORTS_COMPARE4_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE4_CLEAR_Pos) /*!< Bit mask of COMPARE4_CLEAR field. */ 16160 #define TIMER_SHORTS_COMPARE4_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 16161 #define TIMER_SHORTS_COMPARE4_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 16162 16163 /* Bit 3 : Shortcut between event COMPARE[3] and task CLEAR */ 16164 #define TIMER_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */ 16165 #define TIMER_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */ 16166 #define TIMER_SHORTS_COMPARE3_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 16167 #define TIMER_SHORTS_COMPARE3_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 16168 16169 /* Bit 2 : Shortcut between event COMPARE[2] and task CLEAR */ 16170 #define TIMER_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */ 16171 #define TIMER_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */ 16172 #define TIMER_SHORTS_COMPARE2_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 16173 #define TIMER_SHORTS_COMPARE2_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 16174 16175 /* Bit 1 : Shortcut between event COMPARE[1] and task CLEAR */ 16176 #define TIMER_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */ 16177 #define TIMER_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */ 16178 #define TIMER_SHORTS_COMPARE1_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 16179 #define TIMER_SHORTS_COMPARE1_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 16180 16181 /* Bit 0 : Shortcut between event COMPARE[0] and task CLEAR */ 16182 #define TIMER_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */ 16183 #define TIMER_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */ 16184 #define TIMER_SHORTS_COMPARE0_CLEAR_Disabled (0x0UL) /*!< Disable shortcut */ 16185 #define TIMER_SHORTS_COMPARE0_CLEAR_Enabled (0x1UL) /*!< Enable shortcut */ 16186 16187 /* Register: TIMER_INTEN */ 16188 /* Description: Enable or disable interrupt */ 16189 16190 /* Bit 21 : Enable or disable interrupt for event COMPARE[5] */ 16191 #define TIMER_INTEN_COMPARE5_Pos (21UL) /*!< Position of COMPARE5 field. */ 16192 #define TIMER_INTEN_COMPARE5_Msk (0x1UL << TIMER_INTEN_COMPARE5_Pos) /*!< Bit mask of COMPARE5 field. */ 16193 #define TIMER_INTEN_COMPARE5_Disabled (0x0UL) /*!< Disable */ 16194 #define TIMER_INTEN_COMPARE5_Enabled (0x1UL) /*!< Enable */ 16195 16196 /* Bit 20 : Enable or disable interrupt for event COMPARE[4] */ 16197 #define TIMER_INTEN_COMPARE4_Pos (20UL) /*!< Position of COMPARE4 field. */ 16198 #define TIMER_INTEN_COMPARE4_Msk (0x1UL << TIMER_INTEN_COMPARE4_Pos) /*!< Bit mask of COMPARE4 field. */ 16199 #define TIMER_INTEN_COMPARE4_Disabled (0x0UL) /*!< Disable */ 16200 #define TIMER_INTEN_COMPARE4_Enabled (0x1UL) /*!< Enable */ 16201 16202 /* Bit 19 : Enable or disable interrupt for event COMPARE[3] */ 16203 #define TIMER_INTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 16204 #define TIMER_INTEN_COMPARE3_Msk (0x1UL << TIMER_INTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 16205 #define TIMER_INTEN_COMPARE3_Disabled (0x0UL) /*!< Disable */ 16206 #define TIMER_INTEN_COMPARE3_Enabled (0x1UL) /*!< Enable */ 16207 16208 /* Bit 18 : Enable or disable interrupt for event COMPARE[2] */ 16209 #define TIMER_INTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 16210 #define TIMER_INTEN_COMPARE2_Msk (0x1UL << TIMER_INTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 16211 #define TIMER_INTEN_COMPARE2_Disabled (0x0UL) /*!< Disable */ 16212 #define TIMER_INTEN_COMPARE2_Enabled (0x1UL) /*!< Enable */ 16213 16214 /* Bit 17 : Enable or disable interrupt for event COMPARE[1] */ 16215 #define TIMER_INTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 16216 #define TIMER_INTEN_COMPARE1_Msk (0x1UL << TIMER_INTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 16217 #define TIMER_INTEN_COMPARE1_Disabled (0x0UL) /*!< Disable */ 16218 #define TIMER_INTEN_COMPARE1_Enabled (0x1UL) /*!< Enable */ 16219 16220 /* Bit 16 : Enable or disable interrupt for event COMPARE[0] */ 16221 #define TIMER_INTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 16222 #define TIMER_INTEN_COMPARE0_Msk (0x1UL << TIMER_INTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 16223 #define TIMER_INTEN_COMPARE0_Disabled (0x0UL) /*!< Disable */ 16224 #define TIMER_INTEN_COMPARE0_Enabled (0x1UL) /*!< Enable */ 16225 16226 /* Register: TIMER_INTENSET */ 16227 /* Description: Enable interrupt */ 16228 16229 /* Bit 21 : Write '1' to enable interrupt for event COMPARE[5] */ 16230 #define TIMER_INTENSET_COMPARE5_Pos (21UL) /*!< Position of COMPARE5 field. */ 16231 #define TIMER_INTENSET_COMPARE5_Msk (0x1UL << TIMER_INTENSET_COMPARE5_Pos) /*!< Bit mask of COMPARE5 field. */ 16232 #define TIMER_INTENSET_COMPARE5_Disabled (0x0UL) /*!< Read: Disabled */ 16233 #define TIMER_INTENSET_COMPARE5_Enabled (0x1UL) /*!< Read: Enabled */ 16234 #define TIMER_INTENSET_COMPARE5_Set (0x1UL) /*!< Enable */ 16235 16236 /* Bit 20 : Write '1' to enable interrupt for event COMPARE[4] */ 16237 #define TIMER_INTENSET_COMPARE4_Pos (20UL) /*!< Position of COMPARE4 field. */ 16238 #define TIMER_INTENSET_COMPARE4_Msk (0x1UL << TIMER_INTENSET_COMPARE4_Pos) /*!< Bit mask of COMPARE4 field. */ 16239 #define TIMER_INTENSET_COMPARE4_Disabled (0x0UL) /*!< Read: Disabled */ 16240 #define TIMER_INTENSET_COMPARE4_Enabled (0x1UL) /*!< Read: Enabled */ 16241 #define TIMER_INTENSET_COMPARE4_Set (0x1UL) /*!< Enable */ 16242 16243 /* Bit 19 : Write '1' to enable interrupt for event COMPARE[3] */ 16244 #define TIMER_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 16245 #define TIMER_INTENSET_COMPARE3_Msk (0x1UL << TIMER_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 16246 #define TIMER_INTENSET_COMPARE3_Disabled (0x0UL) /*!< Read: Disabled */ 16247 #define TIMER_INTENSET_COMPARE3_Enabled (0x1UL) /*!< Read: Enabled */ 16248 #define TIMER_INTENSET_COMPARE3_Set (0x1UL) /*!< Enable */ 16249 16250 /* Bit 18 : Write '1' to enable interrupt for event COMPARE[2] */ 16251 #define TIMER_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 16252 #define TIMER_INTENSET_COMPARE2_Msk (0x1UL << TIMER_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 16253 #define TIMER_INTENSET_COMPARE2_Disabled (0x0UL) /*!< Read: Disabled */ 16254 #define TIMER_INTENSET_COMPARE2_Enabled (0x1UL) /*!< Read: Enabled */ 16255 #define TIMER_INTENSET_COMPARE2_Set (0x1UL) /*!< Enable */ 16256 16257 /* Bit 17 : Write '1' to enable interrupt for event COMPARE[1] */ 16258 #define TIMER_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 16259 #define TIMER_INTENSET_COMPARE1_Msk (0x1UL << TIMER_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 16260 #define TIMER_INTENSET_COMPARE1_Disabled (0x0UL) /*!< Read: Disabled */ 16261 #define TIMER_INTENSET_COMPARE1_Enabled (0x1UL) /*!< Read: Enabled */ 16262 #define TIMER_INTENSET_COMPARE1_Set (0x1UL) /*!< Enable */ 16263 16264 /* Bit 16 : Write '1' to enable interrupt for event COMPARE[0] */ 16265 #define TIMER_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 16266 #define TIMER_INTENSET_COMPARE0_Msk (0x1UL << TIMER_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 16267 #define TIMER_INTENSET_COMPARE0_Disabled (0x0UL) /*!< Read: Disabled */ 16268 #define TIMER_INTENSET_COMPARE0_Enabled (0x1UL) /*!< Read: Enabled */ 16269 #define TIMER_INTENSET_COMPARE0_Set (0x1UL) /*!< Enable */ 16270 16271 /* Register: TIMER_INTENCLR */ 16272 /* Description: Disable interrupt */ 16273 16274 /* Bit 21 : Write '1' to disable interrupt for event COMPARE[5] */ 16275 #define TIMER_INTENCLR_COMPARE5_Pos (21UL) /*!< Position of COMPARE5 field. */ 16276 #define TIMER_INTENCLR_COMPARE5_Msk (0x1UL << TIMER_INTENCLR_COMPARE5_Pos) /*!< Bit mask of COMPARE5 field. */ 16277 #define TIMER_INTENCLR_COMPARE5_Disabled (0x0UL) /*!< Read: Disabled */ 16278 #define TIMER_INTENCLR_COMPARE5_Enabled (0x1UL) /*!< Read: Enabled */ 16279 #define TIMER_INTENCLR_COMPARE5_Clear (0x1UL) /*!< Disable */ 16280 16281 /* Bit 20 : Write '1' to disable interrupt for event COMPARE[4] */ 16282 #define TIMER_INTENCLR_COMPARE4_Pos (20UL) /*!< Position of COMPARE4 field. */ 16283 #define TIMER_INTENCLR_COMPARE4_Msk (0x1UL << TIMER_INTENCLR_COMPARE4_Pos) /*!< Bit mask of COMPARE4 field. */ 16284 #define TIMER_INTENCLR_COMPARE4_Disabled (0x0UL) /*!< Read: Disabled */ 16285 #define TIMER_INTENCLR_COMPARE4_Enabled (0x1UL) /*!< Read: Enabled */ 16286 #define TIMER_INTENCLR_COMPARE4_Clear (0x1UL) /*!< Disable */ 16287 16288 /* Bit 19 : Write '1' to disable interrupt for event COMPARE[3] */ 16289 #define TIMER_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 16290 #define TIMER_INTENCLR_COMPARE3_Msk (0x1UL << TIMER_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 16291 #define TIMER_INTENCLR_COMPARE3_Disabled (0x0UL) /*!< Read: Disabled */ 16292 #define TIMER_INTENCLR_COMPARE3_Enabled (0x1UL) /*!< Read: Enabled */ 16293 #define TIMER_INTENCLR_COMPARE3_Clear (0x1UL) /*!< Disable */ 16294 16295 /* Bit 18 : Write '1' to disable interrupt for event COMPARE[2] */ 16296 #define TIMER_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 16297 #define TIMER_INTENCLR_COMPARE2_Msk (0x1UL << TIMER_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 16298 #define TIMER_INTENCLR_COMPARE2_Disabled (0x0UL) /*!< Read: Disabled */ 16299 #define TIMER_INTENCLR_COMPARE2_Enabled (0x1UL) /*!< Read: Enabled */ 16300 #define TIMER_INTENCLR_COMPARE2_Clear (0x1UL) /*!< Disable */ 16301 16302 /* Bit 17 : Write '1' to disable interrupt for event COMPARE[1] */ 16303 #define TIMER_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 16304 #define TIMER_INTENCLR_COMPARE1_Msk (0x1UL << TIMER_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 16305 #define TIMER_INTENCLR_COMPARE1_Disabled (0x0UL) /*!< Read: Disabled */ 16306 #define TIMER_INTENCLR_COMPARE1_Enabled (0x1UL) /*!< Read: Enabled */ 16307 #define TIMER_INTENCLR_COMPARE1_Clear (0x1UL) /*!< Disable */ 16308 16309 /* Bit 16 : Write '1' to disable interrupt for event COMPARE[0] */ 16310 #define TIMER_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 16311 #define TIMER_INTENCLR_COMPARE0_Msk (0x1UL << TIMER_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 16312 #define TIMER_INTENCLR_COMPARE0_Disabled (0x0UL) /*!< Read: Disabled */ 16313 #define TIMER_INTENCLR_COMPARE0_Enabled (0x1UL) /*!< Read: Enabled */ 16314 #define TIMER_INTENCLR_COMPARE0_Clear (0x1UL) /*!< Disable */ 16315 16316 /* Register: TIMER_MODE */ 16317 /* Description: Timer mode selection */ 16318 16319 /* Bits 1..0 : Timer mode */ 16320 #define TIMER_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 16321 #define TIMER_MODE_MODE_Msk (0x3UL << TIMER_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 16322 #define TIMER_MODE_MODE_Timer (0x0UL) /*!< Select Timer mode */ 16323 #define TIMER_MODE_MODE_Counter (0x1UL) /*!< Deprecated enumerator - Select Counter mode */ 16324 #define TIMER_MODE_MODE_LowPowerCounter (0x2UL) /*!< Select Low Power Counter mode */ 16325 16326 /* Register: TIMER_BITMODE */ 16327 /* Description: Configure the number of bits used by the TIMER */ 16328 16329 /* Bits 1..0 : Timer bit width */ 16330 #define TIMER_BITMODE_BITMODE_Pos (0UL) /*!< Position of BITMODE field. */ 16331 #define TIMER_BITMODE_BITMODE_Msk (0x3UL << TIMER_BITMODE_BITMODE_Pos) /*!< Bit mask of BITMODE field. */ 16332 #define TIMER_BITMODE_BITMODE_16Bit (0x0UL) /*!< 16 bit timer bit width */ 16333 #define TIMER_BITMODE_BITMODE_08Bit (0x1UL) /*!< 8 bit timer bit width */ 16334 #define TIMER_BITMODE_BITMODE_24Bit (0x2UL) /*!< 24 bit timer bit width */ 16335 #define TIMER_BITMODE_BITMODE_32Bit (0x3UL) /*!< 32 bit timer bit width */ 16336 16337 /* Register: TIMER_PRESCALER */ 16338 /* Description: Timer prescaler register */ 16339 16340 /* Bits 3..0 : Prescaler value */ 16341 #define TIMER_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */ 16342 #define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */ 16343 16344 /* Register: TIMER_CC */ 16345 /* Description: Description collection: Capture/Compare register n */ 16346 16347 /* Bits 31..0 : Capture/Compare value */ 16348 #define TIMER_CC_CC_Pos (0UL) /*!< Position of CC field. */ 16349 #define TIMER_CC_CC_Msk (0xFFFFFFFFUL << TIMER_CC_CC_Pos) /*!< Bit mask of CC field. */ 16350 16351 /* Register: TIMER_ONESHOTEN */ 16352 /* Description: Description collection: Enable one-shot operation for Capture/Compare channel n */ 16353 16354 /* Bit 0 : Enable one-shot operation */ 16355 #define TIMER_ONESHOTEN_ONESHOTEN_Pos (0UL) /*!< Position of ONESHOTEN field. */ 16356 #define TIMER_ONESHOTEN_ONESHOTEN_Msk (0x1UL << TIMER_ONESHOTEN_ONESHOTEN_Pos) /*!< Bit mask of ONESHOTEN field. */ 16357 #define TIMER_ONESHOTEN_ONESHOTEN_Disable (0x0UL) /*!< Disable one-shot operation */ 16358 #define TIMER_ONESHOTEN_ONESHOTEN_Enable (0x1UL) /*!< Enable one-shot operation */ 16359 16360 16361 /* Peripheral: TWIM */ 16362 /* Description: I2C compatible Two-Wire Master Interface with EasyDMA 0 */ 16363 16364 /* Register: TWIM_TASKS_STARTRX */ 16365 /* Description: Start TWI receive sequence */ 16366 16367 /* Bit 0 : Start TWI receive sequence */ 16368 #define TWIM_TASKS_STARTRX_TASKS_STARTRX_Pos (0UL) /*!< Position of TASKS_STARTRX field. */ 16369 #define TWIM_TASKS_STARTRX_TASKS_STARTRX_Msk (0x1UL << TWIM_TASKS_STARTRX_TASKS_STARTRX_Pos) /*!< Bit mask of TASKS_STARTRX field. */ 16370 #define TWIM_TASKS_STARTRX_TASKS_STARTRX_Trigger (0x1UL) /*!< Trigger task */ 16371 16372 /* Register: TWIM_TASKS_STARTTX */ 16373 /* Description: Start TWI transmit sequence */ 16374 16375 /* Bit 0 : Start TWI transmit sequence */ 16376 #define TWIM_TASKS_STARTTX_TASKS_STARTTX_Pos (0UL) /*!< Position of TASKS_STARTTX field. */ 16377 #define TWIM_TASKS_STARTTX_TASKS_STARTTX_Msk (0x1UL << TWIM_TASKS_STARTTX_TASKS_STARTTX_Pos) /*!< Bit mask of TASKS_STARTTX field. */ 16378 #define TWIM_TASKS_STARTTX_TASKS_STARTTX_Trigger (0x1UL) /*!< Trigger task */ 16379 16380 /* Register: TWIM_TASKS_STOP */ 16381 /* Description: Stop TWI transaction. Must be issued while the TWI master is not suspended. */ 16382 16383 /* Bit 0 : Stop TWI transaction. Must be issued while the TWI master is not suspended. */ 16384 #define TWIM_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 16385 #define TWIM_TASKS_STOP_TASKS_STOP_Msk (0x1UL << TWIM_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 16386 #define TWIM_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 16387 16388 /* Register: TWIM_TASKS_SUSPEND */ 16389 /* Description: Suspend TWI transaction */ 16390 16391 /* Bit 0 : Suspend TWI transaction */ 16392 #define TWIM_TASKS_SUSPEND_TASKS_SUSPEND_Pos (0UL) /*!< Position of TASKS_SUSPEND field. */ 16393 #define TWIM_TASKS_SUSPEND_TASKS_SUSPEND_Msk (0x1UL << TWIM_TASKS_SUSPEND_TASKS_SUSPEND_Pos) /*!< Bit mask of TASKS_SUSPEND field. */ 16394 #define TWIM_TASKS_SUSPEND_TASKS_SUSPEND_Trigger (0x1UL) /*!< Trigger task */ 16395 16396 /* Register: TWIM_TASKS_RESUME */ 16397 /* Description: Resume TWI transaction */ 16398 16399 /* Bit 0 : Resume TWI transaction */ 16400 #define TWIM_TASKS_RESUME_TASKS_RESUME_Pos (0UL) /*!< Position of TASKS_RESUME field. */ 16401 #define TWIM_TASKS_RESUME_TASKS_RESUME_Msk (0x1UL << TWIM_TASKS_RESUME_TASKS_RESUME_Pos) /*!< Bit mask of TASKS_RESUME field. */ 16402 #define TWIM_TASKS_RESUME_TASKS_RESUME_Trigger (0x1UL) /*!< Trigger task */ 16403 16404 /* Register: TWIM_SUBSCRIBE_STARTRX */ 16405 /* Description: Subscribe configuration for task STARTRX */ 16406 16407 /* Bit 31 : */ 16408 #define TWIM_SUBSCRIBE_STARTRX_EN_Pos (31UL) /*!< Position of EN field. */ 16409 #define TWIM_SUBSCRIBE_STARTRX_EN_Msk (0x1UL << TWIM_SUBSCRIBE_STARTRX_EN_Pos) /*!< Bit mask of EN field. */ 16410 #define TWIM_SUBSCRIBE_STARTRX_EN_Disabled (0x0UL) /*!< Disable subscription */ 16411 #define TWIM_SUBSCRIBE_STARTRX_EN_Enabled (0x1UL) /*!< Enable subscription */ 16412 16413 /* Bits 7..0 : DPPI channel that task STARTRX will subscribe to */ 16414 #define TWIM_SUBSCRIBE_STARTRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16415 #define TWIM_SUBSCRIBE_STARTRX_CHIDX_Msk (0xFFUL << TWIM_SUBSCRIBE_STARTRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16416 16417 /* Register: TWIM_SUBSCRIBE_STARTTX */ 16418 /* Description: Subscribe configuration for task STARTTX */ 16419 16420 /* Bit 31 : */ 16421 #define TWIM_SUBSCRIBE_STARTTX_EN_Pos (31UL) /*!< Position of EN field. */ 16422 #define TWIM_SUBSCRIBE_STARTTX_EN_Msk (0x1UL << TWIM_SUBSCRIBE_STARTTX_EN_Pos) /*!< Bit mask of EN field. */ 16423 #define TWIM_SUBSCRIBE_STARTTX_EN_Disabled (0x0UL) /*!< Disable subscription */ 16424 #define TWIM_SUBSCRIBE_STARTTX_EN_Enabled (0x1UL) /*!< Enable subscription */ 16425 16426 /* Bits 7..0 : DPPI channel that task STARTTX will subscribe to */ 16427 #define TWIM_SUBSCRIBE_STARTTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16428 #define TWIM_SUBSCRIBE_STARTTX_CHIDX_Msk (0xFFUL << TWIM_SUBSCRIBE_STARTTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16429 16430 /* Register: TWIM_SUBSCRIBE_STOP */ 16431 /* Description: Subscribe configuration for task STOP */ 16432 16433 /* Bit 31 : */ 16434 #define TWIM_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 16435 #define TWIM_SUBSCRIBE_STOP_EN_Msk (0x1UL << TWIM_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 16436 #define TWIM_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 16437 #define TWIM_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 16438 16439 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 16440 #define TWIM_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16441 #define TWIM_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << TWIM_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16442 16443 /* Register: TWIM_SUBSCRIBE_SUSPEND */ 16444 /* Description: Subscribe configuration for task SUSPEND */ 16445 16446 /* Bit 31 : */ 16447 #define TWIM_SUBSCRIBE_SUSPEND_EN_Pos (31UL) /*!< Position of EN field. */ 16448 #define TWIM_SUBSCRIBE_SUSPEND_EN_Msk (0x1UL << TWIM_SUBSCRIBE_SUSPEND_EN_Pos) /*!< Bit mask of EN field. */ 16449 #define TWIM_SUBSCRIBE_SUSPEND_EN_Disabled (0x0UL) /*!< Disable subscription */ 16450 #define TWIM_SUBSCRIBE_SUSPEND_EN_Enabled (0x1UL) /*!< Enable subscription */ 16451 16452 /* Bits 7..0 : DPPI channel that task SUSPEND will subscribe to */ 16453 #define TWIM_SUBSCRIBE_SUSPEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16454 #define TWIM_SUBSCRIBE_SUSPEND_CHIDX_Msk (0xFFUL << TWIM_SUBSCRIBE_SUSPEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16455 16456 /* Register: TWIM_SUBSCRIBE_RESUME */ 16457 /* Description: Subscribe configuration for task RESUME */ 16458 16459 /* Bit 31 : */ 16460 #define TWIM_SUBSCRIBE_RESUME_EN_Pos (31UL) /*!< Position of EN field. */ 16461 #define TWIM_SUBSCRIBE_RESUME_EN_Msk (0x1UL << TWIM_SUBSCRIBE_RESUME_EN_Pos) /*!< Bit mask of EN field. */ 16462 #define TWIM_SUBSCRIBE_RESUME_EN_Disabled (0x0UL) /*!< Disable subscription */ 16463 #define TWIM_SUBSCRIBE_RESUME_EN_Enabled (0x1UL) /*!< Enable subscription */ 16464 16465 /* Bits 7..0 : DPPI channel that task RESUME will subscribe to */ 16466 #define TWIM_SUBSCRIBE_RESUME_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16467 #define TWIM_SUBSCRIBE_RESUME_CHIDX_Msk (0xFFUL << TWIM_SUBSCRIBE_RESUME_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16468 16469 /* Register: TWIM_EVENTS_STOPPED */ 16470 /* Description: TWI stopped */ 16471 16472 /* Bit 0 : TWI stopped */ 16473 #define TWIM_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 16474 #define TWIM_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << TWIM_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 16475 #define TWIM_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 16476 #define TWIM_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 16477 16478 /* Register: TWIM_EVENTS_ERROR */ 16479 /* Description: TWI error */ 16480 16481 /* Bit 0 : TWI error */ 16482 #define TWIM_EVENTS_ERROR_EVENTS_ERROR_Pos (0UL) /*!< Position of EVENTS_ERROR field. */ 16483 #define TWIM_EVENTS_ERROR_EVENTS_ERROR_Msk (0x1UL << TWIM_EVENTS_ERROR_EVENTS_ERROR_Pos) /*!< Bit mask of EVENTS_ERROR field. */ 16484 #define TWIM_EVENTS_ERROR_EVENTS_ERROR_NotGenerated (0x0UL) /*!< Event not generated */ 16485 #define TWIM_EVENTS_ERROR_EVENTS_ERROR_Generated (0x1UL) /*!< Event generated */ 16486 16487 /* Register: TWIM_EVENTS_SUSPENDED */ 16488 /* Description: SUSPEND task has been issued, TWI traffic is now suspended. */ 16489 16490 /* Bit 0 : SUSPEND task has been issued, TWI traffic is now suspended. */ 16491 #define TWIM_EVENTS_SUSPENDED_EVENTS_SUSPENDED_Pos (0UL) /*!< Position of EVENTS_SUSPENDED field. */ 16492 #define TWIM_EVENTS_SUSPENDED_EVENTS_SUSPENDED_Msk (0x1UL << TWIM_EVENTS_SUSPENDED_EVENTS_SUSPENDED_Pos) /*!< Bit mask of EVENTS_SUSPENDED field. */ 16493 #define TWIM_EVENTS_SUSPENDED_EVENTS_SUSPENDED_NotGenerated (0x0UL) /*!< Event not generated */ 16494 #define TWIM_EVENTS_SUSPENDED_EVENTS_SUSPENDED_Generated (0x1UL) /*!< Event generated */ 16495 16496 /* Register: TWIM_EVENTS_RXSTARTED */ 16497 /* Description: Receive sequence started */ 16498 16499 /* Bit 0 : Receive sequence started */ 16500 #define TWIM_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Pos (0UL) /*!< Position of EVENTS_RXSTARTED field. */ 16501 #define TWIM_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Msk (0x1UL << TWIM_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Pos) /*!< Bit mask of EVENTS_RXSTARTED field. */ 16502 #define TWIM_EVENTS_RXSTARTED_EVENTS_RXSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 16503 #define TWIM_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Generated (0x1UL) /*!< Event generated */ 16504 16505 /* Register: TWIM_EVENTS_TXSTARTED */ 16506 /* Description: Transmit sequence started */ 16507 16508 /* Bit 0 : Transmit sequence started */ 16509 #define TWIM_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Pos (0UL) /*!< Position of EVENTS_TXSTARTED field. */ 16510 #define TWIM_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Msk (0x1UL << TWIM_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Pos) /*!< Bit mask of EVENTS_TXSTARTED field. */ 16511 #define TWIM_EVENTS_TXSTARTED_EVENTS_TXSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 16512 #define TWIM_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Generated (0x1UL) /*!< Event generated */ 16513 16514 /* Register: TWIM_EVENTS_LASTRX */ 16515 /* Description: Byte boundary, starting to receive the last byte */ 16516 16517 /* Bit 0 : Byte boundary, starting to receive the last byte */ 16518 #define TWIM_EVENTS_LASTRX_EVENTS_LASTRX_Pos (0UL) /*!< Position of EVENTS_LASTRX field. */ 16519 #define TWIM_EVENTS_LASTRX_EVENTS_LASTRX_Msk (0x1UL << TWIM_EVENTS_LASTRX_EVENTS_LASTRX_Pos) /*!< Bit mask of EVENTS_LASTRX field. */ 16520 #define TWIM_EVENTS_LASTRX_EVENTS_LASTRX_NotGenerated (0x0UL) /*!< Event not generated */ 16521 #define TWIM_EVENTS_LASTRX_EVENTS_LASTRX_Generated (0x1UL) /*!< Event generated */ 16522 16523 /* Register: TWIM_EVENTS_LASTTX */ 16524 /* Description: Byte boundary, starting to transmit the last byte */ 16525 16526 /* Bit 0 : Byte boundary, starting to transmit the last byte */ 16527 #define TWIM_EVENTS_LASTTX_EVENTS_LASTTX_Pos (0UL) /*!< Position of EVENTS_LASTTX field. */ 16528 #define TWIM_EVENTS_LASTTX_EVENTS_LASTTX_Msk (0x1UL << TWIM_EVENTS_LASTTX_EVENTS_LASTTX_Pos) /*!< Bit mask of EVENTS_LASTTX field. */ 16529 #define TWIM_EVENTS_LASTTX_EVENTS_LASTTX_NotGenerated (0x0UL) /*!< Event not generated */ 16530 #define TWIM_EVENTS_LASTTX_EVENTS_LASTTX_Generated (0x1UL) /*!< Event generated */ 16531 16532 /* Register: TWIM_PUBLISH_STOPPED */ 16533 /* Description: Publish configuration for event STOPPED */ 16534 16535 /* Bit 31 : */ 16536 #define TWIM_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 16537 #define TWIM_PUBLISH_STOPPED_EN_Msk (0x1UL << TWIM_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 16538 #define TWIM_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 16539 #define TWIM_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 16540 16541 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 16542 #define TWIM_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16543 #define TWIM_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << TWIM_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16544 16545 /* Register: TWIM_PUBLISH_ERROR */ 16546 /* Description: Publish configuration for event ERROR */ 16547 16548 /* Bit 31 : */ 16549 #define TWIM_PUBLISH_ERROR_EN_Pos (31UL) /*!< Position of EN field. */ 16550 #define TWIM_PUBLISH_ERROR_EN_Msk (0x1UL << TWIM_PUBLISH_ERROR_EN_Pos) /*!< Bit mask of EN field. */ 16551 #define TWIM_PUBLISH_ERROR_EN_Disabled (0x0UL) /*!< Disable publishing */ 16552 #define TWIM_PUBLISH_ERROR_EN_Enabled (0x1UL) /*!< Enable publishing */ 16553 16554 /* Bits 7..0 : DPPI channel that event ERROR will publish to */ 16555 #define TWIM_PUBLISH_ERROR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16556 #define TWIM_PUBLISH_ERROR_CHIDX_Msk (0xFFUL << TWIM_PUBLISH_ERROR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16557 16558 /* Register: TWIM_PUBLISH_SUSPENDED */ 16559 /* Description: Publish configuration for event SUSPENDED */ 16560 16561 /* Bit 31 : */ 16562 #define TWIM_PUBLISH_SUSPENDED_EN_Pos (31UL) /*!< Position of EN field. */ 16563 #define TWIM_PUBLISH_SUSPENDED_EN_Msk (0x1UL << TWIM_PUBLISH_SUSPENDED_EN_Pos) /*!< Bit mask of EN field. */ 16564 #define TWIM_PUBLISH_SUSPENDED_EN_Disabled (0x0UL) /*!< Disable publishing */ 16565 #define TWIM_PUBLISH_SUSPENDED_EN_Enabled (0x1UL) /*!< Enable publishing */ 16566 16567 /* Bits 7..0 : DPPI channel that event SUSPENDED will publish to */ 16568 #define TWIM_PUBLISH_SUSPENDED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16569 #define TWIM_PUBLISH_SUSPENDED_CHIDX_Msk (0xFFUL << TWIM_PUBLISH_SUSPENDED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16570 16571 /* Register: TWIM_PUBLISH_RXSTARTED */ 16572 /* Description: Publish configuration for event RXSTARTED */ 16573 16574 /* Bit 31 : */ 16575 #define TWIM_PUBLISH_RXSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 16576 #define TWIM_PUBLISH_RXSTARTED_EN_Msk (0x1UL << TWIM_PUBLISH_RXSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 16577 #define TWIM_PUBLISH_RXSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 16578 #define TWIM_PUBLISH_RXSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 16579 16580 /* Bits 7..0 : DPPI channel that event RXSTARTED will publish to */ 16581 #define TWIM_PUBLISH_RXSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16582 #define TWIM_PUBLISH_RXSTARTED_CHIDX_Msk (0xFFUL << TWIM_PUBLISH_RXSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16583 16584 /* Register: TWIM_PUBLISH_TXSTARTED */ 16585 /* Description: Publish configuration for event TXSTARTED */ 16586 16587 /* Bit 31 : */ 16588 #define TWIM_PUBLISH_TXSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 16589 #define TWIM_PUBLISH_TXSTARTED_EN_Msk (0x1UL << TWIM_PUBLISH_TXSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 16590 #define TWIM_PUBLISH_TXSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 16591 #define TWIM_PUBLISH_TXSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 16592 16593 /* Bits 7..0 : DPPI channel that event TXSTARTED will publish to */ 16594 #define TWIM_PUBLISH_TXSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16595 #define TWIM_PUBLISH_TXSTARTED_CHIDX_Msk (0xFFUL << TWIM_PUBLISH_TXSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16596 16597 /* Register: TWIM_PUBLISH_LASTRX */ 16598 /* Description: Publish configuration for event LASTRX */ 16599 16600 /* Bit 31 : */ 16601 #define TWIM_PUBLISH_LASTRX_EN_Pos (31UL) /*!< Position of EN field. */ 16602 #define TWIM_PUBLISH_LASTRX_EN_Msk (0x1UL << TWIM_PUBLISH_LASTRX_EN_Pos) /*!< Bit mask of EN field. */ 16603 #define TWIM_PUBLISH_LASTRX_EN_Disabled (0x0UL) /*!< Disable publishing */ 16604 #define TWIM_PUBLISH_LASTRX_EN_Enabled (0x1UL) /*!< Enable publishing */ 16605 16606 /* Bits 7..0 : DPPI channel that event LASTRX will publish to */ 16607 #define TWIM_PUBLISH_LASTRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16608 #define TWIM_PUBLISH_LASTRX_CHIDX_Msk (0xFFUL << TWIM_PUBLISH_LASTRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16609 16610 /* Register: TWIM_PUBLISH_LASTTX */ 16611 /* Description: Publish configuration for event LASTTX */ 16612 16613 /* Bit 31 : */ 16614 #define TWIM_PUBLISH_LASTTX_EN_Pos (31UL) /*!< Position of EN field. */ 16615 #define TWIM_PUBLISH_LASTTX_EN_Msk (0x1UL << TWIM_PUBLISH_LASTTX_EN_Pos) /*!< Bit mask of EN field. */ 16616 #define TWIM_PUBLISH_LASTTX_EN_Disabled (0x0UL) /*!< Disable publishing */ 16617 #define TWIM_PUBLISH_LASTTX_EN_Enabled (0x1UL) /*!< Enable publishing */ 16618 16619 /* Bits 7..0 : DPPI channel that event LASTTX will publish to */ 16620 #define TWIM_PUBLISH_LASTTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 16621 #define TWIM_PUBLISH_LASTTX_CHIDX_Msk (0xFFUL << TWIM_PUBLISH_LASTTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 16622 16623 /* Register: TWIM_SHORTS */ 16624 /* Description: Shortcuts between local events and tasks */ 16625 16626 /* Bit 12 : Shortcut between event LASTRX and task STOP */ 16627 #define TWIM_SHORTS_LASTRX_STOP_Pos (12UL) /*!< Position of LASTRX_STOP field. */ 16628 #define TWIM_SHORTS_LASTRX_STOP_Msk (0x1UL << TWIM_SHORTS_LASTRX_STOP_Pos) /*!< Bit mask of LASTRX_STOP field. */ 16629 #define TWIM_SHORTS_LASTRX_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16630 #define TWIM_SHORTS_LASTRX_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16631 16632 /* Bit 10 : Shortcut between event LASTRX and task STARTTX */ 16633 #define TWIM_SHORTS_LASTRX_STARTTX_Pos (10UL) /*!< Position of LASTRX_STARTTX field. */ 16634 #define TWIM_SHORTS_LASTRX_STARTTX_Msk (0x1UL << TWIM_SHORTS_LASTRX_STARTTX_Pos) /*!< Bit mask of LASTRX_STARTTX field. */ 16635 #define TWIM_SHORTS_LASTRX_STARTTX_Disabled (0x0UL) /*!< Disable shortcut */ 16636 #define TWIM_SHORTS_LASTRX_STARTTX_Enabled (0x1UL) /*!< Enable shortcut */ 16637 16638 /* Bit 9 : Shortcut between event LASTTX and task STOP */ 16639 #define TWIM_SHORTS_LASTTX_STOP_Pos (9UL) /*!< Position of LASTTX_STOP field. */ 16640 #define TWIM_SHORTS_LASTTX_STOP_Msk (0x1UL << TWIM_SHORTS_LASTTX_STOP_Pos) /*!< Bit mask of LASTTX_STOP field. */ 16641 #define TWIM_SHORTS_LASTTX_STOP_Disabled (0x0UL) /*!< Disable shortcut */ 16642 #define TWIM_SHORTS_LASTTX_STOP_Enabled (0x1UL) /*!< Enable shortcut */ 16643 16644 /* Bit 8 : Shortcut between event LASTTX and task SUSPEND */ 16645 #define TWIM_SHORTS_LASTTX_SUSPEND_Pos (8UL) /*!< Position of LASTTX_SUSPEND field. */ 16646 #define TWIM_SHORTS_LASTTX_SUSPEND_Msk (0x1UL << TWIM_SHORTS_LASTTX_SUSPEND_Pos) /*!< Bit mask of LASTTX_SUSPEND field. */ 16647 #define TWIM_SHORTS_LASTTX_SUSPEND_Disabled (0x0UL) /*!< Disable shortcut */ 16648 #define TWIM_SHORTS_LASTTX_SUSPEND_Enabled (0x1UL) /*!< Enable shortcut */ 16649 16650 /* Bit 7 : Shortcut between event LASTTX and task STARTRX */ 16651 #define TWIM_SHORTS_LASTTX_STARTRX_Pos (7UL) /*!< Position of LASTTX_STARTRX field. */ 16652 #define TWIM_SHORTS_LASTTX_STARTRX_Msk (0x1UL << TWIM_SHORTS_LASTTX_STARTRX_Pos) /*!< Bit mask of LASTTX_STARTRX field. */ 16653 #define TWIM_SHORTS_LASTTX_STARTRX_Disabled (0x0UL) /*!< Disable shortcut */ 16654 #define TWIM_SHORTS_LASTTX_STARTRX_Enabled (0x1UL) /*!< Enable shortcut */ 16655 16656 /* Register: TWIM_INTEN */ 16657 /* Description: Enable or disable interrupt */ 16658 16659 /* Bit 24 : Enable or disable interrupt for event LASTTX */ 16660 #define TWIM_INTEN_LASTTX_Pos (24UL) /*!< Position of LASTTX field. */ 16661 #define TWIM_INTEN_LASTTX_Msk (0x1UL << TWIM_INTEN_LASTTX_Pos) /*!< Bit mask of LASTTX field. */ 16662 #define TWIM_INTEN_LASTTX_Disabled (0x0UL) /*!< Disable */ 16663 #define TWIM_INTEN_LASTTX_Enabled (0x1UL) /*!< Enable */ 16664 16665 /* Bit 23 : Enable or disable interrupt for event LASTRX */ 16666 #define TWIM_INTEN_LASTRX_Pos (23UL) /*!< Position of LASTRX field. */ 16667 #define TWIM_INTEN_LASTRX_Msk (0x1UL << TWIM_INTEN_LASTRX_Pos) /*!< Bit mask of LASTRX field. */ 16668 #define TWIM_INTEN_LASTRX_Disabled (0x0UL) /*!< Disable */ 16669 #define TWIM_INTEN_LASTRX_Enabled (0x1UL) /*!< Enable */ 16670 16671 /* Bit 20 : Enable or disable interrupt for event TXSTARTED */ 16672 #define TWIM_INTEN_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 16673 #define TWIM_INTEN_TXSTARTED_Msk (0x1UL << TWIM_INTEN_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 16674 #define TWIM_INTEN_TXSTARTED_Disabled (0x0UL) /*!< Disable */ 16675 #define TWIM_INTEN_TXSTARTED_Enabled (0x1UL) /*!< Enable */ 16676 16677 /* Bit 19 : Enable or disable interrupt for event RXSTARTED */ 16678 #define TWIM_INTEN_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 16679 #define TWIM_INTEN_RXSTARTED_Msk (0x1UL << TWIM_INTEN_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 16680 #define TWIM_INTEN_RXSTARTED_Disabled (0x0UL) /*!< Disable */ 16681 #define TWIM_INTEN_RXSTARTED_Enabled (0x1UL) /*!< Enable */ 16682 16683 /* Bit 18 : Enable or disable interrupt for event SUSPENDED */ 16684 #define TWIM_INTEN_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */ 16685 #define TWIM_INTEN_SUSPENDED_Msk (0x1UL << TWIM_INTEN_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */ 16686 #define TWIM_INTEN_SUSPENDED_Disabled (0x0UL) /*!< Disable */ 16687 #define TWIM_INTEN_SUSPENDED_Enabled (0x1UL) /*!< Enable */ 16688 16689 /* Bit 9 : Enable or disable interrupt for event ERROR */ 16690 #define TWIM_INTEN_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 16691 #define TWIM_INTEN_ERROR_Msk (0x1UL << TWIM_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */ 16692 #define TWIM_INTEN_ERROR_Disabled (0x0UL) /*!< Disable */ 16693 #define TWIM_INTEN_ERROR_Enabled (0x1UL) /*!< Enable */ 16694 16695 /* Bit 1 : Enable or disable interrupt for event STOPPED */ 16696 #define TWIM_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 16697 #define TWIM_INTEN_STOPPED_Msk (0x1UL << TWIM_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 16698 #define TWIM_INTEN_STOPPED_Disabled (0x0UL) /*!< Disable */ 16699 #define TWIM_INTEN_STOPPED_Enabled (0x1UL) /*!< Enable */ 16700 16701 /* Register: TWIM_INTENSET */ 16702 /* Description: Enable interrupt */ 16703 16704 /* Bit 24 : Write '1' to enable interrupt for event LASTTX */ 16705 #define TWIM_INTENSET_LASTTX_Pos (24UL) /*!< Position of LASTTX field. */ 16706 #define TWIM_INTENSET_LASTTX_Msk (0x1UL << TWIM_INTENSET_LASTTX_Pos) /*!< Bit mask of LASTTX field. */ 16707 #define TWIM_INTENSET_LASTTX_Disabled (0x0UL) /*!< Read: Disabled */ 16708 #define TWIM_INTENSET_LASTTX_Enabled (0x1UL) /*!< Read: Enabled */ 16709 #define TWIM_INTENSET_LASTTX_Set (0x1UL) /*!< Enable */ 16710 16711 /* Bit 23 : Write '1' to enable interrupt for event LASTRX */ 16712 #define TWIM_INTENSET_LASTRX_Pos (23UL) /*!< Position of LASTRX field. */ 16713 #define TWIM_INTENSET_LASTRX_Msk (0x1UL << TWIM_INTENSET_LASTRX_Pos) /*!< Bit mask of LASTRX field. */ 16714 #define TWIM_INTENSET_LASTRX_Disabled (0x0UL) /*!< Read: Disabled */ 16715 #define TWIM_INTENSET_LASTRX_Enabled (0x1UL) /*!< Read: Enabled */ 16716 #define TWIM_INTENSET_LASTRX_Set (0x1UL) /*!< Enable */ 16717 16718 /* Bit 20 : Write '1' to enable interrupt for event TXSTARTED */ 16719 #define TWIM_INTENSET_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 16720 #define TWIM_INTENSET_TXSTARTED_Msk (0x1UL << TWIM_INTENSET_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 16721 #define TWIM_INTENSET_TXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 16722 #define TWIM_INTENSET_TXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 16723 #define TWIM_INTENSET_TXSTARTED_Set (0x1UL) /*!< Enable */ 16724 16725 /* Bit 19 : Write '1' to enable interrupt for event RXSTARTED */ 16726 #define TWIM_INTENSET_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 16727 #define TWIM_INTENSET_RXSTARTED_Msk (0x1UL << TWIM_INTENSET_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 16728 #define TWIM_INTENSET_RXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 16729 #define TWIM_INTENSET_RXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 16730 #define TWIM_INTENSET_RXSTARTED_Set (0x1UL) /*!< Enable */ 16731 16732 /* Bit 18 : Write '1' to enable interrupt for event SUSPENDED */ 16733 #define TWIM_INTENSET_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */ 16734 #define TWIM_INTENSET_SUSPENDED_Msk (0x1UL << TWIM_INTENSET_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */ 16735 #define TWIM_INTENSET_SUSPENDED_Disabled (0x0UL) /*!< Read: Disabled */ 16736 #define TWIM_INTENSET_SUSPENDED_Enabled (0x1UL) /*!< Read: Enabled */ 16737 #define TWIM_INTENSET_SUSPENDED_Set (0x1UL) /*!< Enable */ 16738 16739 /* Bit 9 : Write '1' to enable interrupt for event ERROR */ 16740 #define TWIM_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 16741 #define TWIM_INTENSET_ERROR_Msk (0x1UL << TWIM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 16742 #define TWIM_INTENSET_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 16743 #define TWIM_INTENSET_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 16744 #define TWIM_INTENSET_ERROR_Set (0x1UL) /*!< Enable */ 16745 16746 /* Bit 1 : Write '1' to enable interrupt for event STOPPED */ 16747 #define TWIM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 16748 #define TWIM_INTENSET_STOPPED_Msk (0x1UL << TWIM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 16749 #define TWIM_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 16750 #define TWIM_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 16751 #define TWIM_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 16752 16753 /* Register: TWIM_INTENCLR */ 16754 /* Description: Disable interrupt */ 16755 16756 /* Bit 24 : Write '1' to disable interrupt for event LASTTX */ 16757 #define TWIM_INTENCLR_LASTTX_Pos (24UL) /*!< Position of LASTTX field. */ 16758 #define TWIM_INTENCLR_LASTTX_Msk (0x1UL << TWIM_INTENCLR_LASTTX_Pos) /*!< Bit mask of LASTTX field. */ 16759 #define TWIM_INTENCLR_LASTTX_Disabled (0x0UL) /*!< Read: Disabled */ 16760 #define TWIM_INTENCLR_LASTTX_Enabled (0x1UL) /*!< Read: Enabled */ 16761 #define TWIM_INTENCLR_LASTTX_Clear (0x1UL) /*!< Disable */ 16762 16763 /* Bit 23 : Write '1' to disable interrupt for event LASTRX */ 16764 #define TWIM_INTENCLR_LASTRX_Pos (23UL) /*!< Position of LASTRX field. */ 16765 #define TWIM_INTENCLR_LASTRX_Msk (0x1UL << TWIM_INTENCLR_LASTRX_Pos) /*!< Bit mask of LASTRX field. */ 16766 #define TWIM_INTENCLR_LASTRX_Disabled (0x0UL) /*!< Read: Disabled */ 16767 #define TWIM_INTENCLR_LASTRX_Enabled (0x1UL) /*!< Read: Enabled */ 16768 #define TWIM_INTENCLR_LASTRX_Clear (0x1UL) /*!< Disable */ 16769 16770 /* Bit 20 : Write '1' to disable interrupt for event TXSTARTED */ 16771 #define TWIM_INTENCLR_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 16772 #define TWIM_INTENCLR_TXSTARTED_Msk (0x1UL << TWIM_INTENCLR_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 16773 #define TWIM_INTENCLR_TXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 16774 #define TWIM_INTENCLR_TXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 16775 #define TWIM_INTENCLR_TXSTARTED_Clear (0x1UL) /*!< Disable */ 16776 16777 /* Bit 19 : Write '1' to disable interrupt for event RXSTARTED */ 16778 #define TWIM_INTENCLR_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 16779 #define TWIM_INTENCLR_RXSTARTED_Msk (0x1UL << TWIM_INTENCLR_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 16780 #define TWIM_INTENCLR_RXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 16781 #define TWIM_INTENCLR_RXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 16782 #define TWIM_INTENCLR_RXSTARTED_Clear (0x1UL) /*!< Disable */ 16783 16784 /* Bit 18 : Write '1' to disable interrupt for event SUSPENDED */ 16785 #define TWIM_INTENCLR_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */ 16786 #define TWIM_INTENCLR_SUSPENDED_Msk (0x1UL << TWIM_INTENCLR_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */ 16787 #define TWIM_INTENCLR_SUSPENDED_Disabled (0x0UL) /*!< Read: Disabled */ 16788 #define TWIM_INTENCLR_SUSPENDED_Enabled (0x1UL) /*!< Read: Enabled */ 16789 #define TWIM_INTENCLR_SUSPENDED_Clear (0x1UL) /*!< Disable */ 16790 16791 /* Bit 9 : Write '1' to disable interrupt for event ERROR */ 16792 #define TWIM_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 16793 #define TWIM_INTENCLR_ERROR_Msk (0x1UL << TWIM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 16794 #define TWIM_INTENCLR_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 16795 #define TWIM_INTENCLR_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 16796 #define TWIM_INTENCLR_ERROR_Clear (0x1UL) /*!< Disable */ 16797 16798 /* Bit 1 : Write '1' to disable interrupt for event STOPPED */ 16799 #define TWIM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 16800 #define TWIM_INTENCLR_STOPPED_Msk (0x1UL << TWIM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 16801 #define TWIM_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 16802 #define TWIM_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 16803 #define TWIM_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 16804 16805 /* Register: TWIM_ERRORSRC */ 16806 /* Description: Error source */ 16807 16808 /* Bit 2 : NACK received after sending a data byte (write '1' to clear) */ 16809 #define TWIM_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */ 16810 #define TWIM_ERRORSRC_DNACK_Msk (0x1UL << TWIM_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */ 16811 #define TWIM_ERRORSRC_DNACK_NotReceived (0x0UL) /*!< Error did not occur */ 16812 #define TWIM_ERRORSRC_DNACK_Received (0x1UL) /*!< Error occurred */ 16813 16814 /* Bit 1 : NACK received after sending the address (write '1' to clear) */ 16815 #define TWIM_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */ 16816 #define TWIM_ERRORSRC_ANACK_Msk (0x1UL << TWIM_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */ 16817 #define TWIM_ERRORSRC_ANACK_NotReceived (0x0UL) /*!< Error did not occur */ 16818 #define TWIM_ERRORSRC_ANACK_Received (0x1UL) /*!< Error occurred */ 16819 16820 /* Bit 0 : Overrun error */ 16821 #define TWIM_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */ 16822 #define TWIM_ERRORSRC_OVERRUN_Msk (0x1UL << TWIM_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */ 16823 #define TWIM_ERRORSRC_OVERRUN_NotReceived (0x0UL) /*!< Error did not occur */ 16824 #define TWIM_ERRORSRC_OVERRUN_Received (0x1UL) /*!< Error occurred */ 16825 16826 /* Register: TWIM_ENABLE */ 16827 /* Description: Enable TWIM */ 16828 16829 /* Bits 3..0 : Enable or disable TWIM */ 16830 #define TWIM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 16831 #define TWIM_ENABLE_ENABLE_Msk (0xFUL << TWIM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 16832 #define TWIM_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable TWIM */ 16833 #define TWIM_ENABLE_ENABLE_Enabled (0x6UL) /*!< Enable TWIM */ 16834 16835 /* Register: TWIM_PSEL_SCL */ 16836 /* Description: Pin select for SCL signal */ 16837 16838 /* Bit 31 : Connection */ 16839 #define TWIM_PSEL_SCL_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 16840 #define TWIM_PSEL_SCL_CONNECT_Msk (0x1UL << TWIM_PSEL_SCL_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 16841 #define TWIM_PSEL_SCL_CONNECT_Connected (0x0UL) /*!< Connect */ 16842 #define TWIM_PSEL_SCL_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 16843 16844 /* Bit 5 : Port number */ 16845 #define TWIM_PSEL_SCL_PORT_Pos (5UL) /*!< Position of PORT field. */ 16846 #define TWIM_PSEL_SCL_PORT_Msk (0x1UL << TWIM_PSEL_SCL_PORT_Pos) /*!< Bit mask of PORT field. */ 16847 16848 /* Bits 4..0 : Pin number */ 16849 #define TWIM_PSEL_SCL_PIN_Pos (0UL) /*!< Position of PIN field. */ 16850 #define TWIM_PSEL_SCL_PIN_Msk (0x1FUL << TWIM_PSEL_SCL_PIN_Pos) /*!< Bit mask of PIN field. */ 16851 16852 /* Register: TWIM_PSEL_SDA */ 16853 /* Description: Pin select for SDA signal */ 16854 16855 /* Bit 31 : Connection */ 16856 #define TWIM_PSEL_SDA_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 16857 #define TWIM_PSEL_SDA_CONNECT_Msk (0x1UL << TWIM_PSEL_SDA_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 16858 #define TWIM_PSEL_SDA_CONNECT_Connected (0x0UL) /*!< Connect */ 16859 #define TWIM_PSEL_SDA_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 16860 16861 /* Bit 5 : Port number */ 16862 #define TWIM_PSEL_SDA_PORT_Pos (5UL) /*!< Position of PORT field. */ 16863 #define TWIM_PSEL_SDA_PORT_Msk (0x1UL << TWIM_PSEL_SDA_PORT_Pos) /*!< Bit mask of PORT field. */ 16864 16865 /* Bits 4..0 : Pin number */ 16866 #define TWIM_PSEL_SDA_PIN_Pos (0UL) /*!< Position of PIN field. */ 16867 #define TWIM_PSEL_SDA_PIN_Msk (0x1FUL << TWIM_PSEL_SDA_PIN_Pos) /*!< Bit mask of PIN field. */ 16868 16869 /* Register: TWIM_FREQUENCY */ 16870 /* Description: TWI frequency. Accuracy depends on the HFCLK source selected. */ 16871 16872 /* Bits 31..0 : TWI master clock frequency */ 16873 #define TWIM_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 16874 #define TWIM_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWIM_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 16875 #define TWIM_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps */ 16876 #define TWIM_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps */ 16877 #define TWIM_FREQUENCY_FREQUENCY_K400 (0x06400000UL) /*!< 400 kbps */ 16878 #define TWIM_FREQUENCY_FREQUENCY_K1000 (0x0FF00000UL) /*!< 1000 kbps */ 16879 16880 /* Register: TWIM_RXD_PTR */ 16881 /* Description: Data pointer */ 16882 16883 /* Bits 31..0 : Data pointer */ 16884 #define TWIM_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 16885 #define TWIM_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIM_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 16886 16887 /* Register: TWIM_RXD_MAXCNT */ 16888 /* Description: Maximum number of bytes in receive buffer */ 16889 16890 /* Bits 15..0 : Maximum number of bytes in receive buffer */ 16891 #define TWIM_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 16892 #define TWIM_RXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << TWIM_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 16893 16894 /* Register: TWIM_RXD_AMOUNT */ 16895 /* Description: Number of bytes transferred in the last transaction */ 16896 16897 /* Bits 15..0 : Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. */ 16898 #define TWIM_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 16899 #define TWIM_RXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << TWIM_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 16900 16901 /* Register: TWIM_RXD_LIST */ 16902 /* Description: EasyDMA list type */ 16903 16904 /* Bits 2..0 : List type */ 16905 #define TWIM_RXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 16906 #define TWIM_RXD_LIST_LIST_Msk (0x7UL << TWIM_RXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 16907 #define TWIM_RXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 16908 #define TWIM_RXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 16909 16910 /* Register: TWIM_TXD_PTR */ 16911 /* Description: Data pointer */ 16912 16913 /* Bits 31..0 : Data pointer */ 16914 #define TWIM_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 16915 #define TWIM_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIM_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 16916 16917 /* Register: TWIM_TXD_MAXCNT */ 16918 /* Description: Maximum number of bytes in transmit buffer */ 16919 16920 /* Bits 15..0 : Maximum number of bytes in transmit buffer */ 16921 #define TWIM_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 16922 #define TWIM_TXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << TWIM_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 16923 16924 /* Register: TWIM_TXD_AMOUNT */ 16925 /* Description: Number of bytes transferred in the last transaction */ 16926 16927 /* Bits 15..0 : Number of bytes transferred in the last transaction. In case of NACK error, includes the NACK'ed byte. */ 16928 #define TWIM_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 16929 #define TWIM_TXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << TWIM_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 16930 16931 /* Register: TWIM_TXD_LIST */ 16932 /* Description: EasyDMA list type */ 16933 16934 /* Bits 2..0 : List type */ 16935 #define TWIM_TXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 16936 #define TWIM_TXD_LIST_LIST_Msk (0x7UL << TWIM_TXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 16937 #define TWIM_TXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 16938 #define TWIM_TXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 16939 16940 /* Register: TWIM_ADDRESS */ 16941 /* Description: Address used in the TWI transfer */ 16942 16943 /* Bits 6..0 : Address used in the TWI transfer */ 16944 #define TWIM_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */ 16945 #define TWIM_ADDRESS_ADDRESS_Msk (0x7FUL << TWIM_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 16946 16947 16948 /* Peripheral: TWIS */ 16949 /* Description: I2C compatible Two-Wire Slave Interface with EasyDMA 0 */ 16950 16951 /* Register: TWIS_TASKS_STOP */ 16952 /* Description: Stop TWI transaction */ 16953 16954 /* Bit 0 : Stop TWI transaction */ 16955 #define TWIS_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 16956 #define TWIS_TASKS_STOP_TASKS_STOP_Msk (0x1UL << TWIS_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 16957 #define TWIS_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 16958 16959 /* Register: TWIS_TASKS_SUSPEND */ 16960 /* Description: Suspend TWI transaction */ 16961 16962 /* Bit 0 : Suspend TWI transaction */ 16963 #define TWIS_TASKS_SUSPEND_TASKS_SUSPEND_Pos (0UL) /*!< Position of TASKS_SUSPEND field. */ 16964 #define TWIS_TASKS_SUSPEND_TASKS_SUSPEND_Msk (0x1UL << TWIS_TASKS_SUSPEND_TASKS_SUSPEND_Pos) /*!< Bit mask of TASKS_SUSPEND field. */ 16965 #define TWIS_TASKS_SUSPEND_TASKS_SUSPEND_Trigger (0x1UL) /*!< Trigger task */ 16966 16967 /* Register: TWIS_TASKS_RESUME */ 16968 /* Description: Resume TWI transaction */ 16969 16970 /* Bit 0 : Resume TWI transaction */ 16971 #define TWIS_TASKS_RESUME_TASKS_RESUME_Pos (0UL) /*!< Position of TASKS_RESUME field. */ 16972 #define TWIS_TASKS_RESUME_TASKS_RESUME_Msk (0x1UL << TWIS_TASKS_RESUME_TASKS_RESUME_Pos) /*!< Bit mask of TASKS_RESUME field. */ 16973 #define TWIS_TASKS_RESUME_TASKS_RESUME_Trigger (0x1UL) /*!< Trigger task */ 16974 16975 /* Register: TWIS_TASKS_PREPARERX */ 16976 /* Description: Prepare the TWI slave to respond to a write command */ 16977 16978 /* Bit 0 : Prepare the TWI slave to respond to a write command */ 16979 #define TWIS_TASKS_PREPARERX_TASKS_PREPARERX_Pos (0UL) /*!< Position of TASKS_PREPARERX field. */ 16980 #define TWIS_TASKS_PREPARERX_TASKS_PREPARERX_Msk (0x1UL << TWIS_TASKS_PREPARERX_TASKS_PREPARERX_Pos) /*!< Bit mask of TASKS_PREPARERX field. */ 16981 #define TWIS_TASKS_PREPARERX_TASKS_PREPARERX_Trigger (0x1UL) /*!< Trigger task */ 16982 16983 /* Register: TWIS_TASKS_PREPARETX */ 16984 /* Description: Prepare the TWI slave to respond to a read command */ 16985 16986 /* Bit 0 : Prepare the TWI slave to respond to a read command */ 16987 #define TWIS_TASKS_PREPARETX_TASKS_PREPARETX_Pos (0UL) /*!< Position of TASKS_PREPARETX field. */ 16988 #define TWIS_TASKS_PREPARETX_TASKS_PREPARETX_Msk (0x1UL << TWIS_TASKS_PREPARETX_TASKS_PREPARETX_Pos) /*!< Bit mask of TASKS_PREPARETX field. */ 16989 #define TWIS_TASKS_PREPARETX_TASKS_PREPARETX_Trigger (0x1UL) /*!< Trigger task */ 16990 16991 /* Register: TWIS_SUBSCRIBE_STOP */ 16992 /* Description: Subscribe configuration for task STOP */ 16993 16994 /* Bit 31 : */ 16995 #define TWIS_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 16996 #define TWIS_SUBSCRIBE_STOP_EN_Msk (0x1UL << TWIS_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 16997 #define TWIS_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 16998 #define TWIS_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 16999 17000 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 17001 #define TWIS_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17002 #define TWIS_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << TWIS_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17003 17004 /* Register: TWIS_SUBSCRIBE_SUSPEND */ 17005 /* Description: Subscribe configuration for task SUSPEND */ 17006 17007 /* Bit 31 : */ 17008 #define TWIS_SUBSCRIBE_SUSPEND_EN_Pos (31UL) /*!< Position of EN field. */ 17009 #define TWIS_SUBSCRIBE_SUSPEND_EN_Msk (0x1UL << TWIS_SUBSCRIBE_SUSPEND_EN_Pos) /*!< Bit mask of EN field. */ 17010 #define TWIS_SUBSCRIBE_SUSPEND_EN_Disabled (0x0UL) /*!< Disable subscription */ 17011 #define TWIS_SUBSCRIBE_SUSPEND_EN_Enabled (0x1UL) /*!< Enable subscription */ 17012 17013 /* Bits 7..0 : DPPI channel that task SUSPEND will subscribe to */ 17014 #define TWIS_SUBSCRIBE_SUSPEND_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17015 #define TWIS_SUBSCRIBE_SUSPEND_CHIDX_Msk (0xFFUL << TWIS_SUBSCRIBE_SUSPEND_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17016 17017 /* Register: TWIS_SUBSCRIBE_RESUME */ 17018 /* Description: Subscribe configuration for task RESUME */ 17019 17020 /* Bit 31 : */ 17021 #define TWIS_SUBSCRIBE_RESUME_EN_Pos (31UL) /*!< Position of EN field. */ 17022 #define TWIS_SUBSCRIBE_RESUME_EN_Msk (0x1UL << TWIS_SUBSCRIBE_RESUME_EN_Pos) /*!< Bit mask of EN field. */ 17023 #define TWIS_SUBSCRIBE_RESUME_EN_Disabled (0x0UL) /*!< Disable subscription */ 17024 #define TWIS_SUBSCRIBE_RESUME_EN_Enabled (0x1UL) /*!< Enable subscription */ 17025 17026 /* Bits 7..0 : DPPI channel that task RESUME will subscribe to */ 17027 #define TWIS_SUBSCRIBE_RESUME_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17028 #define TWIS_SUBSCRIBE_RESUME_CHIDX_Msk (0xFFUL << TWIS_SUBSCRIBE_RESUME_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17029 17030 /* Register: TWIS_SUBSCRIBE_PREPARERX */ 17031 /* Description: Subscribe configuration for task PREPARERX */ 17032 17033 /* Bit 31 : */ 17034 #define TWIS_SUBSCRIBE_PREPARERX_EN_Pos (31UL) /*!< Position of EN field. */ 17035 #define TWIS_SUBSCRIBE_PREPARERX_EN_Msk (0x1UL << TWIS_SUBSCRIBE_PREPARERX_EN_Pos) /*!< Bit mask of EN field. */ 17036 #define TWIS_SUBSCRIBE_PREPARERX_EN_Disabled (0x0UL) /*!< Disable subscription */ 17037 #define TWIS_SUBSCRIBE_PREPARERX_EN_Enabled (0x1UL) /*!< Enable subscription */ 17038 17039 /* Bits 7..0 : DPPI channel that task PREPARERX will subscribe to */ 17040 #define TWIS_SUBSCRIBE_PREPARERX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17041 #define TWIS_SUBSCRIBE_PREPARERX_CHIDX_Msk (0xFFUL << TWIS_SUBSCRIBE_PREPARERX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17042 17043 /* Register: TWIS_SUBSCRIBE_PREPARETX */ 17044 /* Description: Subscribe configuration for task PREPARETX */ 17045 17046 /* Bit 31 : */ 17047 #define TWIS_SUBSCRIBE_PREPARETX_EN_Pos (31UL) /*!< Position of EN field. */ 17048 #define TWIS_SUBSCRIBE_PREPARETX_EN_Msk (0x1UL << TWIS_SUBSCRIBE_PREPARETX_EN_Pos) /*!< Bit mask of EN field. */ 17049 #define TWIS_SUBSCRIBE_PREPARETX_EN_Disabled (0x0UL) /*!< Disable subscription */ 17050 #define TWIS_SUBSCRIBE_PREPARETX_EN_Enabled (0x1UL) /*!< Enable subscription */ 17051 17052 /* Bits 7..0 : DPPI channel that task PREPARETX will subscribe to */ 17053 #define TWIS_SUBSCRIBE_PREPARETX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17054 #define TWIS_SUBSCRIBE_PREPARETX_CHIDX_Msk (0xFFUL << TWIS_SUBSCRIBE_PREPARETX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17055 17056 /* Register: TWIS_EVENTS_STOPPED */ 17057 /* Description: TWI stopped */ 17058 17059 /* Bit 0 : TWI stopped */ 17060 #define TWIS_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 17061 #define TWIS_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << TWIS_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 17062 #define TWIS_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 17063 #define TWIS_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 17064 17065 /* Register: TWIS_EVENTS_ERROR */ 17066 /* Description: TWI error */ 17067 17068 /* Bit 0 : TWI error */ 17069 #define TWIS_EVENTS_ERROR_EVENTS_ERROR_Pos (0UL) /*!< Position of EVENTS_ERROR field. */ 17070 #define TWIS_EVENTS_ERROR_EVENTS_ERROR_Msk (0x1UL << TWIS_EVENTS_ERROR_EVENTS_ERROR_Pos) /*!< Bit mask of EVENTS_ERROR field. */ 17071 #define TWIS_EVENTS_ERROR_EVENTS_ERROR_NotGenerated (0x0UL) /*!< Event not generated */ 17072 #define TWIS_EVENTS_ERROR_EVENTS_ERROR_Generated (0x1UL) /*!< Event generated */ 17073 17074 /* Register: TWIS_EVENTS_RXSTARTED */ 17075 /* Description: Receive sequence started */ 17076 17077 /* Bit 0 : Receive sequence started */ 17078 #define TWIS_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Pos (0UL) /*!< Position of EVENTS_RXSTARTED field. */ 17079 #define TWIS_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Msk (0x1UL << TWIS_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Pos) /*!< Bit mask of EVENTS_RXSTARTED field. */ 17080 #define TWIS_EVENTS_RXSTARTED_EVENTS_RXSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 17081 #define TWIS_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Generated (0x1UL) /*!< Event generated */ 17082 17083 /* Register: TWIS_EVENTS_TXSTARTED */ 17084 /* Description: Transmit sequence started */ 17085 17086 /* Bit 0 : Transmit sequence started */ 17087 #define TWIS_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Pos (0UL) /*!< Position of EVENTS_TXSTARTED field. */ 17088 #define TWIS_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Msk (0x1UL << TWIS_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Pos) /*!< Bit mask of EVENTS_TXSTARTED field. */ 17089 #define TWIS_EVENTS_TXSTARTED_EVENTS_TXSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 17090 #define TWIS_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Generated (0x1UL) /*!< Event generated */ 17091 17092 /* Register: TWIS_EVENTS_WRITE */ 17093 /* Description: Write command received */ 17094 17095 /* Bit 0 : Write command received */ 17096 #define TWIS_EVENTS_WRITE_EVENTS_WRITE_Pos (0UL) /*!< Position of EVENTS_WRITE field. */ 17097 #define TWIS_EVENTS_WRITE_EVENTS_WRITE_Msk (0x1UL << TWIS_EVENTS_WRITE_EVENTS_WRITE_Pos) /*!< Bit mask of EVENTS_WRITE field. */ 17098 #define TWIS_EVENTS_WRITE_EVENTS_WRITE_NotGenerated (0x0UL) /*!< Event not generated */ 17099 #define TWIS_EVENTS_WRITE_EVENTS_WRITE_Generated (0x1UL) /*!< Event generated */ 17100 17101 /* Register: TWIS_EVENTS_READ */ 17102 /* Description: Read command received */ 17103 17104 /* Bit 0 : Read command received */ 17105 #define TWIS_EVENTS_READ_EVENTS_READ_Pos (0UL) /*!< Position of EVENTS_READ field. */ 17106 #define TWIS_EVENTS_READ_EVENTS_READ_Msk (0x1UL << TWIS_EVENTS_READ_EVENTS_READ_Pos) /*!< Bit mask of EVENTS_READ field. */ 17107 #define TWIS_EVENTS_READ_EVENTS_READ_NotGenerated (0x0UL) /*!< Event not generated */ 17108 #define TWIS_EVENTS_READ_EVENTS_READ_Generated (0x1UL) /*!< Event generated */ 17109 17110 /* Register: TWIS_PUBLISH_STOPPED */ 17111 /* Description: Publish configuration for event STOPPED */ 17112 17113 /* Bit 31 : */ 17114 #define TWIS_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 17115 #define TWIS_PUBLISH_STOPPED_EN_Msk (0x1UL << TWIS_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 17116 #define TWIS_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 17117 #define TWIS_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 17118 17119 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 17120 #define TWIS_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17121 #define TWIS_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << TWIS_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17122 17123 /* Register: TWIS_PUBLISH_ERROR */ 17124 /* Description: Publish configuration for event ERROR */ 17125 17126 /* Bit 31 : */ 17127 #define TWIS_PUBLISH_ERROR_EN_Pos (31UL) /*!< Position of EN field. */ 17128 #define TWIS_PUBLISH_ERROR_EN_Msk (0x1UL << TWIS_PUBLISH_ERROR_EN_Pos) /*!< Bit mask of EN field. */ 17129 #define TWIS_PUBLISH_ERROR_EN_Disabled (0x0UL) /*!< Disable publishing */ 17130 #define TWIS_PUBLISH_ERROR_EN_Enabled (0x1UL) /*!< Enable publishing */ 17131 17132 /* Bits 7..0 : DPPI channel that event ERROR will publish to */ 17133 #define TWIS_PUBLISH_ERROR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17134 #define TWIS_PUBLISH_ERROR_CHIDX_Msk (0xFFUL << TWIS_PUBLISH_ERROR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17135 17136 /* Register: TWIS_PUBLISH_RXSTARTED */ 17137 /* Description: Publish configuration for event RXSTARTED */ 17138 17139 /* Bit 31 : */ 17140 #define TWIS_PUBLISH_RXSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 17141 #define TWIS_PUBLISH_RXSTARTED_EN_Msk (0x1UL << TWIS_PUBLISH_RXSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 17142 #define TWIS_PUBLISH_RXSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 17143 #define TWIS_PUBLISH_RXSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 17144 17145 /* Bits 7..0 : DPPI channel that event RXSTARTED will publish to */ 17146 #define TWIS_PUBLISH_RXSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17147 #define TWIS_PUBLISH_RXSTARTED_CHIDX_Msk (0xFFUL << TWIS_PUBLISH_RXSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17148 17149 /* Register: TWIS_PUBLISH_TXSTARTED */ 17150 /* Description: Publish configuration for event TXSTARTED */ 17151 17152 /* Bit 31 : */ 17153 #define TWIS_PUBLISH_TXSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 17154 #define TWIS_PUBLISH_TXSTARTED_EN_Msk (0x1UL << TWIS_PUBLISH_TXSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 17155 #define TWIS_PUBLISH_TXSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 17156 #define TWIS_PUBLISH_TXSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 17157 17158 /* Bits 7..0 : DPPI channel that event TXSTARTED will publish to */ 17159 #define TWIS_PUBLISH_TXSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17160 #define TWIS_PUBLISH_TXSTARTED_CHIDX_Msk (0xFFUL << TWIS_PUBLISH_TXSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17161 17162 /* Register: TWIS_PUBLISH_WRITE */ 17163 /* Description: Publish configuration for event WRITE */ 17164 17165 /* Bit 31 : */ 17166 #define TWIS_PUBLISH_WRITE_EN_Pos (31UL) /*!< Position of EN field. */ 17167 #define TWIS_PUBLISH_WRITE_EN_Msk (0x1UL << TWIS_PUBLISH_WRITE_EN_Pos) /*!< Bit mask of EN field. */ 17168 #define TWIS_PUBLISH_WRITE_EN_Disabled (0x0UL) /*!< Disable publishing */ 17169 #define TWIS_PUBLISH_WRITE_EN_Enabled (0x1UL) /*!< Enable publishing */ 17170 17171 /* Bits 7..0 : DPPI channel that event WRITE will publish to */ 17172 #define TWIS_PUBLISH_WRITE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17173 #define TWIS_PUBLISH_WRITE_CHIDX_Msk (0xFFUL << TWIS_PUBLISH_WRITE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17174 17175 /* Register: TWIS_PUBLISH_READ */ 17176 /* Description: Publish configuration for event READ */ 17177 17178 /* Bit 31 : */ 17179 #define TWIS_PUBLISH_READ_EN_Pos (31UL) /*!< Position of EN field. */ 17180 #define TWIS_PUBLISH_READ_EN_Msk (0x1UL << TWIS_PUBLISH_READ_EN_Pos) /*!< Bit mask of EN field. */ 17181 #define TWIS_PUBLISH_READ_EN_Disabled (0x0UL) /*!< Disable publishing */ 17182 #define TWIS_PUBLISH_READ_EN_Enabled (0x1UL) /*!< Enable publishing */ 17183 17184 /* Bits 7..0 : DPPI channel that event READ will publish to */ 17185 #define TWIS_PUBLISH_READ_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17186 #define TWIS_PUBLISH_READ_CHIDX_Msk (0xFFUL << TWIS_PUBLISH_READ_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17187 17188 /* Register: TWIS_SHORTS */ 17189 /* Description: Shortcuts between local events and tasks */ 17190 17191 /* Bit 14 : Shortcut between event READ and task SUSPEND */ 17192 #define TWIS_SHORTS_READ_SUSPEND_Pos (14UL) /*!< Position of READ_SUSPEND field. */ 17193 #define TWIS_SHORTS_READ_SUSPEND_Msk (0x1UL << TWIS_SHORTS_READ_SUSPEND_Pos) /*!< Bit mask of READ_SUSPEND field. */ 17194 #define TWIS_SHORTS_READ_SUSPEND_Disabled (0x0UL) /*!< Disable shortcut */ 17195 #define TWIS_SHORTS_READ_SUSPEND_Enabled (0x1UL) /*!< Enable shortcut */ 17196 17197 /* Bit 13 : Shortcut between event WRITE and task SUSPEND */ 17198 #define TWIS_SHORTS_WRITE_SUSPEND_Pos (13UL) /*!< Position of WRITE_SUSPEND field. */ 17199 #define TWIS_SHORTS_WRITE_SUSPEND_Msk (0x1UL << TWIS_SHORTS_WRITE_SUSPEND_Pos) /*!< Bit mask of WRITE_SUSPEND field. */ 17200 #define TWIS_SHORTS_WRITE_SUSPEND_Disabled (0x0UL) /*!< Disable shortcut */ 17201 #define TWIS_SHORTS_WRITE_SUSPEND_Enabled (0x1UL) /*!< Enable shortcut */ 17202 17203 /* Register: TWIS_INTEN */ 17204 /* Description: Enable or disable interrupt */ 17205 17206 /* Bit 26 : Enable or disable interrupt for event READ */ 17207 #define TWIS_INTEN_READ_Pos (26UL) /*!< Position of READ field. */ 17208 #define TWIS_INTEN_READ_Msk (0x1UL << TWIS_INTEN_READ_Pos) /*!< Bit mask of READ field. */ 17209 #define TWIS_INTEN_READ_Disabled (0x0UL) /*!< Disable */ 17210 #define TWIS_INTEN_READ_Enabled (0x1UL) /*!< Enable */ 17211 17212 /* Bit 25 : Enable or disable interrupt for event WRITE */ 17213 #define TWIS_INTEN_WRITE_Pos (25UL) /*!< Position of WRITE field. */ 17214 #define TWIS_INTEN_WRITE_Msk (0x1UL << TWIS_INTEN_WRITE_Pos) /*!< Bit mask of WRITE field. */ 17215 #define TWIS_INTEN_WRITE_Disabled (0x0UL) /*!< Disable */ 17216 #define TWIS_INTEN_WRITE_Enabled (0x1UL) /*!< Enable */ 17217 17218 /* Bit 20 : Enable or disable interrupt for event TXSTARTED */ 17219 #define TWIS_INTEN_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 17220 #define TWIS_INTEN_TXSTARTED_Msk (0x1UL << TWIS_INTEN_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 17221 #define TWIS_INTEN_TXSTARTED_Disabled (0x0UL) /*!< Disable */ 17222 #define TWIS_INTEN_TXSTARTED_Enabled (0x1UL) /*!< Enable */ 17223 17224 /* Bit 19 : Enable or disable interrupt for event RXSTARTED */ 17225 #define TWIS_INTEN_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 17226 #define TWIS_INTEN_RXSTARTED_Msk (0x1UL << TWIS_INTEN_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 17227 #define TWIS_INTEN_RXSTARTED_Disabled (0x0UL) /*!< Disable */ 17228 #define TWIS_INTEN_RXSTARTED_Enabled (0x1UL) /*!< Enable */ 17229 17230 /* Bit 9 : Enable or disable interrupt for event ERROR */ 17231 #define TWIS_INTEN_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 17232 #define TWIS_INTEN_ERROR_Msk (0x1UL << TWIS_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */ 17233 #define TWIS_INTEN_ERROR_Disabled (0x0UL) /*!< Disable */ 17234 #define TWIS_INTEN_ERROR_Enabled (0x1UL) /*!< Enable */ 17235 17236 /* Bit 1 : Enable or disable interrupt for event STOPPED */ 17237 #define TWIS_INTEN_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 17238 #define TWIS_INTEN_STOPPED_Msk (0x1UL << TWIS_INTEN_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 17239 #define TWIS_INTEN_STOPPED_Disabled (0x0UL) /*!< Disable */ 17240 #define TWIS_INTEN_STOPPED_Enabled (0x1UL) /*!< Enable */ 17241 17242 /* Register: TWIS_INTENSET */ 17243 /* Description: Enable interrupt */ 17244 17245 /* Bit 26 : Write '1' to enable interrupt for event READ */ 17246 #define TWIS_INTENSET_READ_Pos (26UL) /*!< Position of READ field. */ 17247 #define TWIS_INTENSET_READ_Msk (0x1UL << TWIS_INTENSET_READ_Pos) /*!< Bit mask of READ field. */ 17248 #define TWIS_INTENSET_READ_Disabled (0x0UL) /*!< Read: Disabled */ 17249 #define TWIS_INTENSET_READ_Enabled (0x1UL) /*!< Read: Enabled */ 17250 #define TWIS_INTENSET_READ_Set (0x1UL) /*!< Enable */ 17251 17252 /* Bit 25 : Write '1' to enable interrupt for event WRITE */ 17253 #define TWIS_INTENSET_WRITE_Pos (25UL) /*!< Position of WRITE field. */ 17254 #define TWIS_INTENSET_WRITE_Msk (0x1UL << TWIS_INTENSET_WRITE_Pos) /*!< Bit mask of WRITE field. */ 17255 #define TWIS_INTENSET_WRITE_Disabled (0x0UL) /*!< Read: Disabled */ 17256 #define TWIS_INTENSET_WRITE_Enabled (0x1UL) /*!< Read: Enabled */ 17257 #define TWIS_INTENSET_WRITE_Set (0x1UL) /*!< Enable */ 17258 17259 /* Bit 20 : Write '1' to enable interrupt for event TXSTARTED */ 17260 #define TWIS_INTENSET_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 17261 #define TWIS_INTENSET_TXSTARTED_Msk (0x1UL << TWIS_INTENSET_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 17262 #define TWIS_INTENSET_TXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 17263 #define TWIS_INTENSET_TXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 17264 #define TWIS_INTENSET_TXSTARTED_Set (0x1UL) /*!< Enable */ 17265 17266 /* Bit 19 : Write '1' to enable interrupt for event RXSTARTED */ 17267 #define TWIS_INTENSET_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 17268 #define TWIS_INTENSET_RXSTARTED_Msk (0x1UL << TWIS_INTENSET_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 17269 #define TWIS_INTENSET_RXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 17270 #define TWIS_INTENSET_RXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 17271 #define TWIS_INTENSET_RXSTARTED_Set (0x1UL) /*!< Enable */ 17272 17273 /* Bit 9 : Write '1' to enable interrupt for event ERROR */ 17274 #define TWIS_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 17275 #define TWIS_INTENSET_ERROR_Msk (0x1UL << TWIS_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 17276 #define TWIS_INTENSET_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 17277 #define TWIS_INTENSET_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 17278 #define TWIS_INTENSET_ERROR_Set (0x1UL) /*!< Enable */ 17279 17280 /* Bit 1 : Write '1' to enable interrupt for event STOPPED */ 17281 #define TWIS_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 17282 #define TWIS_INTENSET_STOPPED_Msk (0x1UL << TWIS_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 17283 #define TWIS_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 17284 #define TWIS_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 17285 #define TWIS_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 17286 17287 /* Register: TWIS_INTENCLR */ 17288 /* Description: Disable interrupt */ 17289 17290 /* Bit 26 : Write '1' to disable interrupt for event READ */ 17291 #define TWIS_INTENCLR_READ_Pos (26UL) /*!< Position of READ field. */ 17292 #define TWIS_INTENCLR_READ_Msk (0x1UL << TWIS_INTENCLR_READ_Pos) /*!< Bit mask of READ field. */ 17293 #define TWIS_INTENCLR_READ_Disabled (0x0UL) /*!< Read: Disabled */ 17294 #define TWIS_INTENCLR_READ_Enabled (0x1UL) /*!< Read: Enabled */ 17295 #define TWIS_INTENCLR_READ_Clear (0x1UL) /*!< Disable */ 17296 17297 /* Bit 25 : Write '1' to disable interrupt for event WRITE */ 17298 #define TWIS_INTENCLR_WRITE_Pos (25UL) /*!< Position of WRITE field. */ 17299 #define TWIS_INTENCLR_WRITE_Msk (0x1UL << TWIS_INTENCLR_WRITE_Pos) /*!< Bit mask of WRITE field. */ 17300 #define TWIS_INTENCLR_WRITE_Disabled (0x0UL) /*!< Read: Disabled */ 17301 #define TWIS_INTENCLR_WRITE_Enabled (0x1UL) /*!< Read: Enabled */ 17302 #define TWIS_INTENCLR_WRITE_Clear (0x1UL) /*!< Disable */ 17303 17304 /* Bit 20 : Write '1' to disable interrupt for event TXSTARTED */ 17305 #define TWIS_INTENCLR_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 17306 #define TWIS_INTENCLR_TXSTARTED_Msk (0x1UL << TWIS_INTENCLR_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 17307 #define TWIS_INTENCLR_TXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 17308 #define TWIS_INTENCLR_TXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 17309 #define TWIS_INTENCLR_TXSTARTED_Clear (0x1UL) /*!< Disable */ 17310 17311 /* Bit 19 : Write '1' to disable interrupt for event RXSTARTED */ 17312 #define TWIS_INTENCLR_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 17313 #define TWIS_INTENCLR_RXSTARTED_Msk (0x1UL << TWIS_INTENCLR_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 17314 #define TWIS_INTENCLR_RXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 17315 #define TWIS_INTENCLR_RXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 17316 #define TWIS_INTENCLR_RXSTARTED_Clear (0x1UL) /*!< Disable */ 17317 17318 /* Bit 9 : Write '1' to disable interrupt for event ERROR */ 17319 #define TWIS_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 17320 #define TWIS_INTENCLR_ERROR_Msk (0x1UL << TWIS_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 17321 #define TWIS_INTENCLR_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 17322 #define TWIS_INTENCLR_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 17323 #define TWIS_INTENCLR_ERROR_Clear (0x1UL) /*!< Disable */ 17324 17325 /* Bit 1 : Write '1' to disable interrupt for event STOPPED */ 17326 #define TWIS_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 17327 #define TWIS_INTENCLR_STOPPED_Msk (0x1UL << TWIS_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 17328 #define TWIS_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 17329 #define TWIS_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 17330 #define TWIS_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 17331 17332 /* Register: TWIS_ERRORSRC */ 17333 /* Description: Error source */ 17334 17335 /* Bit 3 : TX buffer over-read detected, and prevented */ 17336 #define TWIS_ERRORSRC_OVERREAD_Pos (3UL) /*!< Position of OVERREAD field. */ 17337 #define TWIS_ERRORSRC_OVERREAD_Msk (0x1UL << TWIS_ERRORSRC_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */ 17338 #define TWIS_ERRORSRC_OVERREAD_NotDetected (0x0UL) /*!< Error did not occur */ 17339 #define TWIS_ERRORSRC_OVERREAD_Detected (0x1UL) /*!< Error occurred */ 17340 17341 /* Bit 2 : NACK sent after receiving a data byte */ 17342 #define TWIS_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */ 17343 #define TWIS_ERRORSRC_DNACK_Msk (0x1UL << TWIS_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */ 17344 #define TWIS_ERRORSRC_DNACK_NotReceived (0x0UL) /*!< Error did not occur */ 17345 #define TWIS_ERRORSRC_DNACK_Received (0x1UL) /*!< Error occurred */ 17346 17347 /* Bit 0 : RX buffer overflow detected, and prevented */ 17348 #define TWIS_ERRORSRC_OVERFLOW_Pos (0UL) /*!< Position of OVERFLOW field. */ 17349 #define TWIS_ERRORSRC_OVERFLOW_Msk (0x1UL << TWIS_ERRORSRC_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */ 17350 #define TWIS_ERRORSRC_OVERFLOW_NotDetected (0x0UL) /*!< Error did not occur */ 17351 #define TWIS_ERRORSRC_OVERFLOW_Detected (0x1UL) /*!< Error occurred */ 17352 17353 /* Register: TWIS_MATCH */ 17354 /* Description: Status register indicating which address had a match */ 17355 17356 /* Bit 0 : Indication of which address in ADDRESS that matched the incoming address */ 17357 #define TWIS_MATCH_MATCH_Pos (0UL) /*!< Position of MATCH field. */ 17358 #define TWIS_MATCH_MATCH_Msk (0x1UL << TWIS_MATCH_MATCH_Pos) /*!< Bit mask of MATCH field. */ 17359 17360 /* Register: TWIS_ENABLE */ 17361 /* Description: Enable TWIS */ 17362 17363 /* Bits 3..0 : Enable or disable TWIS */ 17364 #define TWIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 17365 #define TWIS_ENABLE_ENABLE_Msk (0xFUL << TWIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 17366 #define TWIS_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable TWIS */ 17367 #define TWIS_ENABLE_ENABLE_Enabled (0x9UL) /*!< Enable TWIS */ 17368 17369 /* Register: TWIS_PSEL_SCL */ 17370 /* Description: Pin select for SCL signal */ 17371 17372 /* Bit 31 : Connection */ 17373 #define TWIS_PSEL_SCL_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 17374 #define TWIS_PSEL_SCL_CONNECT_Msk (0x1UL << TWIS_PSEL_SCL_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 17375 #define TWIS_PSEL_SCL_CONNECT_Connected (0x0UL) /*!< Connect */ 17376 #define TWIS_PSEL_SCL_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 17377 17378 /* Bit 5 : Port number */ 17379 #define TWIS_PSEL_SCL_PORT_Pos (5UL) /*!< Position of PORT field. */ 17380 #define TWIS_PSEL_SCL_PORT_Msk (0x1UL << TWIS_PSEL_SCL_PORT_Pos) /*!< Bit mask of PORT field. */ 17381 17382 /* Bits 4..0 : Pin number */ 17383 #define TWIS_PSEL_SCL_PIN_Pos (0UL) /*!< Position of PIN field. */ 17384 #define TWIS_PSEL_SCL_PIN_Msk (0x1FUL << TWIS_PSEL_SCL_PIN_Pos) /*!< Bit mask of PIN field. */ 17385 17386 /* Register: TWIS_PSEL_SDA */ 17387 /* Description: Pin select for SDA signal */ 17388 17389 /* Bit 31 : Connection */ 17390 #define TWIS_PSEL_SDA_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 17391 #define TWIS_PSEL_SDA_CONNECT_Msk (0x1UL << TWIS_PSEL_SDA_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 17392 #define TWIS_PSEL_SDA_CONNECT_Connected (0x0UL) /*!< Connect */ 17393 #define TWIS_PSEL_SDA_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 17394 17395 /* Bit 5 : Port number */ 17396 #define TWIS_PSEL_SDA_PORT_Pos (5UL) /*!< Position of PORT field. */ 17397 #define TWIS_PSEL_SDA_PORT_Msk (0x1UL << TWIS_PSEL_SDA_PORT_Pos) /*!< Bit mask of PORT field. */ 17398 17399 /* Bits 4..0 : Pin number */ 17400 #define TWIS_PSEL_SDA_PIN_Pos (0UL) /*!< Position of PIN field. */ 17401 #define TWIS_PSEL_SDA_PIN_Msk (0x1FUL << TWIS_PSEL_SDA_PIN_Pos) /*!< Bit mask of PIN field. */ 17402 17403 /* Register: TWIS_RXD_PTR */ 17404 /* Description: RXD Data pointer */ 17405 17406 /* Bits 31..0 : RXD Data pointer */ 17407 #define TWIS_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 17408 #define TWIS_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIS_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 17409 17410 /* Register: TWIS_RXD_MAXCNT */ 17411 /* Description: Maximum number of bytes in RXD buffer */ 17412 17413 /* Bits 15..0 : Maximum number of bytes in RXD buffer */ 17414 #define TWIS_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 17415 #define TWIS_RXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << TWIS_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 17416 17417 /* Register: TWIS_RXD_AMOUNT */ 17418 /* Description: Number of bytes transferred in the last RXD transaction */ 17419 17420 /* Bits 15..0 : Number of bytes transferred in the last RXD transaction */ 17421 #define TWIS_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 17422 #define TWIS_RXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << TWIS_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 17423 17424 /* Register: TWIS_RXD_LIST */ 17425 /* Description: EasyDMA list type */ 17426 17427 /* Bits 1..0 : List type */ 17428 #define TWIS_RXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 17429 #define TWIS_RXD_LIST_LIST_Msk (0x3UL << TWIS_RXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 17430 #define TWIS_RXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 17431 #define TWIS_RXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 17432 17433 /* Register: TWIS_TXD_PTR */ 17434 /* Description: TXD Data pointer */ 17435 17436 /* Bits 31..0 : TXD Data pointer */ 17437 #define TWIS_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 17438 #define TWIS_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << TWIS_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 17439 17440 /* Register: TWIS_TXD_MAXCNT */ 17441 /* Description: Maximum number of bytes in TXD buffer */ 17442 17443 /* Bits 15..0 : Maximum number of bytes in TXD buffer */ 17444 #define TWIS_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 17445 #define TWIS_TXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << TWIS_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 17446 17447 /* Register: TWIS_TXD_AMOUNT */ 17448 /* Description: Number of bytes transferred in the last TXD transaction */ 17449 17450 /* Bits 15..0 : Number of bytes transferred in the last TXD transaction */ 17451 #define TWIS_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 17452 #define TWIS_TXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << TWIS_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 17453 17454 /* Register: TWIS_TXD_LIST */ 17455 /* Description: EasyDMA list type */ 17456 17457 /* Bits 1..0 : List type */ 17458 #define TWIS_TXD_LIST_LIST_Pos (0UL) /*!< Position of LIST field. */ 17459 #define TWIS_TXD_LIST_LIST_Msk (0x3UL << TWIS_TXD_LIST_LIST_Pos) /*!< Bit mask of LIST field. */ 17460 #define TWIS_TXD_LIST_LIST_Disabled (0x0UL) /*!< Disable EasyDMA list */ 17461 #define TWIS_TXD_LIST_LIST_ArrayList (0x1UL) /*!< Use array list */ 17462 17463 /* Register: TWIS_ADDRESS */ 17464 /* Description: Description collection: TWI slave address n */ 17465 17466 /* Bits 6..0 : TWI slave address */ 17467 #define TWIS_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */ 17468 #define TWIS_ADDRESS_ADDRESS_Msk (0x7FUL << TWIS_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 17469 17470 /* Register: TWIS_CONFIG */ 17471 /* Description: Configuration register for the address match mechanism */ 17472 17473 /* Bit 1 : Enable or disable address matching on ADDRESS[1] */ 17474 #define TWIS_CONFIG_ADDRESS1_Pos (1UL) /*!< Position of ADDRESS1 field. */ 17475 #define TWIS_CONFIG_ADDRESS1_Msk (0x1UL << TWIS_CONFIG_ADDRESS1_Pos) /*!< Bit mask of ADDRESS1 field. */ 17476 #define TWIS_CONFIG_ADDRESS1_Disabled (0x0UL) /*!< Disabled */ 17477 #define TWIS_CONFIG_ADDRESS1_Enabled (0x1UL) /*!< Enabled */ 17478 17479 /* Bit 0 : Enable or disable address matching on ADDRESS[0] */ 17480 #define TWIS_CONFIG_ADDRESS0_Pos (0UL) /*!< Position of ADDRESS0 field. */ 17481 #define TWIS_CONFIG_ADDRESS0_Msk (0x1UL << TWIS_CONFIG_ADDRESS0_Pos) /*!< Bit mask of ADDRESS0 field. */ 17482 #define TWIS_CONFIG_ADDRESS0_Disabled (0x0UL) /*!< Disabled */ 17483 #define TWIS_CONFIG_ADDRESS0_Enabled (0x1UL) /*!< Enabled */ 17484 17485 /* Register: TWIS_ORC */ 17486 /* Description: Over-read character. Character sent out in case of an over-read of the transmit buffer. */ 17487 17488 /* Bits 7..0 : Over-read character. Character sent out in case of an over-read of the transmit buffer. */ 17489 #define TWIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */ 17490 #define TWIS_ORC_ORC_Msk (0xFFUL << TWIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */ 17491 17492 17493 /* Peripheral: UARTE */ 17494 /* Description: UART with EasyDMA 0 */ 17495 17496 /* Register: UARTE_TASKS_STARTRX */ 17497 /* Description: Start UART receiver */ 17498 17499 /* Bit 0 : Start UART receiver */ 17500 #define UARTE_TASKS_STARTRX_TASKS_STARTRX_Pos (0UL) /*!< Position of TASKS_STARTRX field. */ 17501 #define UARTE_TASKS_STARTRX_TASKS_STARTRX_Msk (0x1UL << UARTE_TASKS_STARTRX_TASKS_STARTRX_Pos) /*!< Bit mask of TASKS_STARTRX field. */ 17502 #define UARTE_TASKS_STARTRX_TASKS_STARTRX_Trigger (0x1UL) /*!< Trigger task */ 17503 17504 /* Register: UARTE_TASKS_STOPRX */ 17505 /* Description: Stop UART receiver */ 17506 17507 /* Bit 0 : Stop UART receiver */ 17508 #define UARTE_TASKS_STOPRX_TASKS_STOPRX_Pos (0UL) /*!< Position of TASKS_STOPRX field. */ 17509 #define UARTE_TASKS_STOPRX_TASKS_STOPRX_Msk (0x1UL << UARTE_TASKS_STOPRX_TASKS_STOPRX_Pos) /*!< Bit mask of TASKS_STOPRX field. */ 17510 #define UARTE_TASKS_STOPRX_TASKS_STOPRX_Trigger (0x1UL) /*!< Trigger task */ 17511 17512 /* Register: UARTE_TASKS_STARTTX */ 17513 /* Description: Start UART transmitter */ 17514 17515 /* Bit 0 : Start UART transmitter */ 17516 #define UARTE_TASKS_STARTTX_TASKS_STARTTX_Pos (0UL) /*!< Position of TASKS_STARTTX field. */ 17517 #define UARTE_TASKS_STARTTX_TASKS_STARTTX_Msk (0x1UL << UARTE_TASKS_STARTTX_TASKS_STARTTX_Pos) /*!< Bit mask of TASKS_STARTTX field. */ 17518 #define UARTE_TASKS_STARTTX_TASKS_STARTTX_Trigger (0x1UL) /*!< Trigger task */ 17519 17520 /* Register: UARTE_TASKS_STOPTX */ 17521 /* Description: Stop UART transmitter */ 17522 17523 /* Bit 0 : Stop UART transmitter */ 17524 #define UARTE_TASKS_STOPTX_TASKS_STOPTX_Pos (0UL) /*!< Position of TASKS_STOPTX field. */ 17525 #define UARTE_TASKS_STOPTX_TASKS_STOPTX_Msk (0x1UL << UARTE_TASKS_STOPTX_TASKS_STOPTX_Pos) /*!< Bit mask of TASKS_STOPTX field. */ 17526 #define UARTE_TASKS_STOPTX_TASKS_STOPTX_Trigger (0x1UL) /*!< Trigger task */ 17527 17528 /* Register: UARTE_TASKS_FLUSHRX */ 17529 /* Description: Flush RX FIFO into RX buffer */ 17530 17531 /* Bit 0 : Flush RX FIFO into RX buffer */ 17532 #define UARTE_TASKS_FLUSHRX_TASKS_FLUSHRX_Pos (0UL) /*!< Position of TASKS_FLUSHRX field. */ 17533 #define UARTE_TASKS_FLUSHRX_TASKS_FLUSHRX_Msk (0x1UL << UARTE_TASKS_FLUSHRX_TASKS_FLUSHRX_Pos) /*!< Bit mask of TASKS_FLUSHRX field. */ 17534 #define UARTE_TASKS_FLUSHRX_TASKS_FLUSHRX_Trigger (0x1UL) /*!< Trigger task */ 17535 17536 /* Register: UARTE_SUBSCRIBE_STARTRX */ 17537 /* Description: Subscribe configuration for task STARTRX */ 17538 17539 /* Bit 31 : */ 17540 #define UARTE_SUBSCRIBE_STARTRX_EN_Pos (31UL) /*!< Position of EN field. */ 17541 #define UARTE_SUBSCRIBE_STARTRX_EN_Msk (0x1UL << UARTE_SUBSCRIBE_STARTRX_EN_Pos) /*!< Bit mask of EN field. */ 17542 #define UARTE_SUBSCRIBE_STARTRX_EN_Disabled (0x0UL) /*!< Disable subscription */ 17543 #define UARTE_SUBSCRIBE_STARTRX_EN_Enabled (0x1UL) /*!< Enable subscription */ 17544 17545 /* Bits 7..0 : DPPI channel that task STARTRX will subscribe to */ 17546 #define UARTE_SUBSCRIBE_STARTRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17547 #define UARTE_SUBSCRIBE_STARTRX_CHIDX_Msk (0xFFUL << UARTE_SUBSCRIBE_STARTRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17548 17549 /* Register: UARTE_SUBSCRIBE_STOPRX */ 17550 /* Description: Subscribe configuration for task STOPRX */ 17551 17552 /* Bit 31 : */ 17553 #define UARTE_SUBSCRIBE_STOPRX_EN_Pos (31UL) /*!< Position of EN field. */ 17554 #define UARTE_SUBSCRIBE_STOPRX_EN_Msk (0x1UL << UARTE_SUBSCRIBE_STOPRX_EN_Pos) /*!< Bit mask of EN field. */ 17555 #define UARTE_SUBSCRIBE_STOPRX_EN_Disabled (0x0UL) /*!< Disable subscription */ 17556 #define UARTE_SUBSCRIBE_STOPRX_EN_Enabled (0x1UL) /*!< Enable subscription */ 17557 17558 /* Bits 7..0 : DPPI channel that task STOPRX will subscribe to */ 17559 #define UARTE_SUBSCRIBE_STOPRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17560 #define UARTE_SUBSCRIBE_STOPRX_CHIDX_Msk (0xFFUL << UARTE_SUBSCRIBE_STOPRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17561 17562 /* Register: UARTE_SUBSCRIBE_STARTTX */ 17563 /* Description: Subscribe configuration for task STARTTX */ 17564 17565 /* Bit 31 : */ 17566 #define UARTE_SUBSCRIBE_STARTTX_EN_Pos (31UL) /*!< Position of EN field. */ 17567 #define UARTE_SUBSCRIBE_STARTTX_EN_Msk (0x1UL << UARTE_SUBSCRIBE_STARTTX_EN_Pos) /*!< Bit mask of EN field. */ 17568 #define UARTE_SUBSCRIBE_STARTTX_EN_Disabled (0x0UL) /*!< Disable subscription */ 17569 #define UARTE_SUBSCRIBE_STARTTX_EN_Enabled (0x1UL) /*!< Enable subscription */ 17570 17571 /* Bits 7..0 : DPPI channel that task STARTTX will subscribe to */ 17572 #define UARTE_SUBSCRIBE_STARTTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17573 #define UARTE_SUBSCRIBE_STARTTX_CHIDX_Msk (0xFFUL << UARTE_SUBSCRIBE_STARTTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17574 17575 /* Register: UARTE_SUBSCRIBE_STOPTX */ 17576 /* Description: Subscribe configuration for task STOPTX */ 17577 17578 /* Bit 31 : */ 17579 #define UARTE_SUBSCRIBE_STOPTX_EN_Pos (31UL) /*!< Position of EN field. */ 17580 #define UARTE_SUBSCRIBE_STOPTX_EN_Msk (0x1UL << UARTE_SUBSCRIBE_STOPTX_EN_Pos) /*!< Bit mask of EN field. */ 17581 #define UARTE_SUBSCRIBE_STOPTX_EN_Disabled (0x0UL) /*!< Disable subscription */ 17582 #define UARTE_SUBSCRIBE_STOPTX_EN_Enabled (0x1UL) /*!< Enable subscription */ 17583 17584 /* Bits 7..0 : DPPI channel that task STOPTX will subscribe to */ 17585 #define UARTE_SUBSCRIBE_STOPTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17586 #define UARTE_SUBSCRIBE_STOPTX_CHIDX_Msk (0xFFUL << UARTE_SUBSCRIBE_STOPTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17587 17588 /* Register: UARTE_SUBSCRIBE_FLUSHRX */ 17589 /* Description: Subscribe configuration for task FLUSHRX */ 17590 17591 /* Bit 31 : */ 17592 #define UARTE_SUBSCRIBE_FLUSHRX_EN_Pos (31UL) /*!< Position of EN field. */ 17593 #define UARTE_SUBSCRIBE_FLUSHRX_EN_Msk (0x1UL << UARTE_SUBSCRIBE_FLUSHRX_EN_Pos) /*!< Bit mask of EN field. */ 17594 #define UARTE_SUBSCRIBE_FLUSHRX_EN_Disabled (0x0UL) /*!< Disable subscription */ 17595 #define UARTE_SUBSCRIBE_FLUSHRX_EN_Enabled (0x1UL) /*!< Enable subscription */ 17596 17597 /* Bits 7..0 : DPPI channel that task FLUSHRX will subscribe to */ 17598 #define UARTE_SUBSCRIBE_FLUSHRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17599 #define UARTE_SUBSCRIBE_FLUSHRX_CHIDX_Msk (0xFFUL << UARTE_SUBSCRIBE_FLUSHRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17600 17601 /* Register: UARTE_EVENTS_CTS */ 17602 /* Description: CTS is activated (set low). Clear To Send. */ 17603 17604 /* Bit 0 : CTS is activated (set low). Clear To Send. */ 17605 #define UARTE_EVENTS_CTS_EVENTS_CTS_Pos (0UL) /*!< Position of EVENTS_CTS field. */ 17606 #define UARTE_EVENTS_CTS_EVENTS_CTS_Msk (0x1UL << UARTE_EVENTS_CTS_EVENTS_CTS_Pos) /*!< Bit mask of EVENTS_CTS field. */ 17607 #define UARTE_EVENTS_CTS_EVENTS_CTS_NotGenerated (0x0UL) /*!< Event not generated */ 17608 #define UARTE_EVENTS_CTS_EVENTS_CTS_Generated (0x1UL) /*!< Event generated */ 17609 17610 /* Register: UARTE_EVENTS_NCTS */ 17611 /* Description: CTS is deactivated (set high). Not Clear To Send. */ 17612 17613 /* Bit 0 : CTS is deactivated (set high). Not Clear To Send. */ 17614 #define UARTE_EVENTS_NCTS_EVENTS_NCTS_Pos (0UL) /*!< Position of EVENTS_NCTS field. */ 17615 #define UARTE_EVENTS_NCTS_EVENTS_NCTS_Msk (0x1UL << UARTE_EVENTS_NCTS_EVENTS_NCTS_Pos) /*!< Bit mask of EVENTS_NCTS field. */ 17616 #define UARTE_EVENTS_NCTS_EVENTS_NCTS_NotGenerated (0x0UL) /*!< Event not generated */ 17617 #define UARTE_EVENTS_NCTS_EVENTS_NCTS_Generated (0x1UL) /*!< Event generated */ 17618 17619 /* Register: UARTE_EVENTS_RXDRDY */ 17620 /* Description: Data received in RXD (but potentially not yet transferred to Data RAM) */ 17621 17622 /* Bit 0 : Data received in RXD (but potentially not yet transferred to Data RAM) */ 17623 #define UARTE_EVENTS_RXDRDY_EVENTS_RXDRDY_Pos (0UL) /*!< Position of EVENTS_RXDRDY field. */ 17624 #define UARTE_EVENTS_RXDRDY_EVENTS_RXDRDY_Msk (0x1UL << UARTE_EVENTS_RXDRDY_EVENTS_RXDRDY_Pos) /*!< Bit mask of EVENTS_RXDRDY field. */ 17625 #define UARTE_EVENTS_RXDRDY_EVENTS_RXDRDY_NotGenerated (0x0UL) /*!< Event not generated */ 17626 #define UARTE_EVENTS_RXDRDY_EVENTS_RXDRDY_Generated (0x1UL) /*!< Event generated */ 17627 17628 /* Register: UARTE_EVENTS_ENDRX */ 17629 /* Description: Receive buffer is filled up */ 17630 17631 /* Bit 0 : Receive buffer is filled up */ 17632 #define UARTE_EVENTS_ENDRX_EVENTS_ENDRX_Pos (0UL) /*!< Position of EVENTS_ENDRX field. */ 17633 #define UARTE_EVENTS_ENDRX_EVENTS_ENDRX_Msk (0x1UL << UARTE_EVENTS_ENDRX_EVENTS_ENDRX_Pos) /*!< Bit mask of EVENTS_ENDRX field. */ 17634 #define UARTE_EVENTS_ENDRX_EVENTS_ENDRX_NotGenerated (0x0UL) /*!< Event not generated */ 17635 #define UARTE_EVENTS_ENDRX_EVENTS_ENDRX_Generated (0x1UL) /*!< Event generated */ 17636 17637 /* Register: UARTE_EVENTS_TXDRDY */ 17638 /* Description: Data sent from TXD */ 17639 17640 /* Bit 0 : Data sent from TXD */ 17641 #define UARTE_EVENTS_TXDRDY_EVENTS_TXDRDY_Pos (0UL) /*!< Position of EVENTS_TXDRDY field. */ 17642 #define UARTE_EVENTS_TXDRDY_EVENTS_TXDRDY_Msk (0x1UL << UARTE_EVENTS_TXDRDY_EVENTS_TXDRDY_Pos) /*!< Bit mask of EVENTS_TXDRDY field. */ 17643 #define UARTE_EVENTS_TXDRDY_EVENTS_TXDRDY_NotGenerated (0x0UL) /*!< Event not generated */ 17644 #define UARTE_EVENTS_TXDRDY_EVENTS_TXDRDY_Generated (0x1UL) /*!< Event generated */ 17645 17646 /* Register: UARTE_EVENTS_ENDTX */ 17647 /* Description: Last TX byte transmitted */ 17648 17649 /* Bit 0 : Last TX byte transmitted */ 17650 #define UARTE_EVENTS_ENDTX_EVENTS_ENDTX_Pos (0UL) /*!< Position of EVENTS_ENDTX field. */ 17651 #define UARTE_EVENTS_ENDTX_EVENTS_ENDTX_Msk (0x1UL << UARTE_EVENTS_ENDTX_EVENTS_ENDTX_Pos) /*!< Bit mask of EVENTS_ENDTX field. */ 17652 #define UARTE_EVENTS_ENDTX_EVENTS_ENDTX_NotGenerated (0x0UL) /*!< Event not generated */ 17653 #define UARTE_EVENTS_ENDTX_EVENTS_ENDTX_Generated (0x1UL) /*!< Event generated */ 17654 17655 /* Register: UARTE_EVENTS_ERROR */ 17656 /* Description: Error detected */ 17657 17658 /* Bit 0 : Error detected */ 17659 #define UARTE_EVENTS_ERROR_EVENTS_ERROR_Pos (0UL) /*!< Position of EVENTS_ERROR field. */ 17660 #define UARTE_EVENTS_ERROR_EVENTS_ERROR_Msk (0x1UL << UARTE_EVENTS_ERROR_EVENTS_ERROR_Pos) /*!< Bit mask of EVENTS_ERROR field. */ 17661 #define UARTE_EVENTS_ERROR_EVENTS_ERROR_NotGenerated (0x0UL) /*!< Event not generated */ 17662 #define UARTE_EVENTS_ERROR_EVENTS_ERROR_Generated (0x1UL) /*!< Event generated */ 17663 17664 /* Register: UARTE_EVENTS_RXTO */ 17665 /* Description: Receiver timeout */ 17666 17667 /* Bit 0 : Receiver timeout */ 17668 #define UARTE_EVENTS_RXTO_EVENTS_RXTO_Pos (0UL) /*!< Position of EVENTS_RXTO field. */ 17669 #define UARTE_EVENTS_RXTO_EVENTS_RXTO_Msk (0x1UL << UARTE_EVENTS_RXTO_EVENTS_RXTO_Pos) /*!< Bit mask of EVENTS_RXTO field. */ 17670 #define UARTE_EVENTS_RXTO_EVENTS_RXTO_NotGenerated (0x0UL) /*!< Event not generated */ 17671 #define UARTE_EVENTS_RXTO_EVENTS_RXTO_Generated (0x1UL) /*!< Event generated */ 17672 17673 /* Register: UARTE_EVENTS_RXSTARTED */ 17674 /* Description: UART receiver has started */ 17675 17676 /* Bit 0 : UART receiver has started */ 17677 #define UARTE_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Pos (0UL) /*!< Position of EVENTS_RXSTARTED field. */ 17678 #define UARTE_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Msk (0x1UL << UARTE_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Pos) /*!< Bit mask of EVENTS_RXSTARTED field. */ 17679 #define UARTE_EVENTS_RXSTARTED_EVENTS_RXSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 17680 #define UARTE_EVENTS_RXSTARTED_EVENTS_RXSTARTED_Generated (0x1UL) /*!< Event generated */ 17681 17682 /* Register: UARTE_EVENTS_TXSTARTED */ 17683 /* Description: UART transmitter has started */ 17684 17685 /* Bit 0 : UART transmitter has started */ 17686 #define UARTE_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Pos (0UL) /*!< Position of EVENTS_TXSTARTED field. */ 17687 #define UARTE_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Msk (0x1UL << UARTE_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Pos) /*!< Bit mask of EVENTS_TXSTARTED field. */ 17688 #define UARTE_EVENTS_TXSTARTED_EVENTS_TXSTARTED_NotGenerated (0x0UL) /*!< Event not generated */ 17689 #define UARTE_EVENTS_TXSTARTED_EVENTS_TXSTARTED_Generated (0x1UL) /*!< Event generated */ 17690 17691 /* Register: UARTE_EVENTS_TXSTOPPED */ 17692 /* Description: Transmitter stopped */ 17693 17694 /* Bit 0 : Transmitter stopped */ 17695 #define UARTE_EVENTS_TXSTOPPED_EVENTS_TXSTOPPED_Pos (0UL) /*!< Position of EVENTS_TXSTOPPED field. */ 17696 #define UARTE_EVENTS_TXSTOPPED_EVENTS_TXSTOPPED_Msk (0x1UL << UARTE_EVENTS_TXSTOPPED_EVENTS_TXSTOPPED_Pos) /*!< Bit mask of EVENTS_TXSTOPPED field. */ 17697 #define UARTE_EVENTS_TXSTOPPED_EVENTS_TXSTOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 17698 #define UARTE_EVENTS_TXSTOPPED_EVENTS_TXSTOPPED_Generated (0x1UL) /*!< Event generated */ 17699 17700 /* Register: UARTE_PUBLISH_CTS */ 17701 /* Description: Publish configuration for event CTS */ 17702 17703 /* Bit 31 : */ 17704 #define UARTE_PUBLISH_CTS_EN_Pos (31UL) /*!< Position of EN field. */ 17705 #define UARTE_PUBLISH_CTS_EN_Msk (0x1UL << UARTE_PUBLISH_CTS_EN_Pos) /*!< Bit mask of EN field. */ 17706 #define UARTE_PUBLISH_CTS_EN_Disabled (0x0UL) /*!< Disable publishing */ 17707 #define UARTE_PUBLISH_CTS_EN_Enabled (0x1UL) /*!< Enable publishing */ 17708 17709 /* Bits 7..0 : DPPI channel that event CTS will publish to */ 17710 #define UARTE_PUBLISH_CTS_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17711 #define UARTE_PUBLISH_CTS_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_CTS_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17712 17713 /* Register: UARTE_PUBLISH_NCTS */ 17714 /* Description: Publish configuration for event NCTS */ 17715 17716 /* Bit 31 : */ 17717 #define UARTE_PUBLISH_NCTS_EN_Pos (31UL) /*!< Position of EN field. */ 17718 #define UARTE_PUBLISH_NCTS_EN_Msk (0x1UL << UARTE_PUBLISH_NCTS_EN_Pos) /*!< Bit mask of EN field. */ 17719 #define UARTE_PUBLISH_NCTS_EN_Disabled (0x0UL) /*!< Disable publishing */ 17720 #define UARTE_PUBLISH_NCTS_EN_Enabled (0x1UL) /*!< Enable publishing */ 17721 17722 /* Bits 7..0 : DPPI channel that event NCTS will publish to */ 17723 #define UARTE_PUBLISH_NCTS_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17724 #define UARTE_PUBLISH_NCTS_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_NCTS_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17725 17726 /* Register: UARTE_PUBLISH_RXDRDY */ 17727 /* Description: Publish configuration for event RXDRDY */ 17728 17729 /* Bit 31 : */ 17730 #define UARTE_PUBLISH_RXDRDY_EN_Pos (31UL) /*!< Position of EN field. */ 17731 #define UARTE_PUBLISH_RXDRDY_EN_Msk (0x1UL << UARTE_PUBLISH_RXDRDY_EN_Pos) /*!< Bit mask of EN field. */ 17732 #define UARTE_PUBLISH_RXDRDY_EN_Disabled (0x0UL) /*!< Disable publishing */ 17733 #define UARTE_PUBLISH_RXDRDY_EN_Enabled (0x1UL) /*!< Enable publishing */ 17734 17735 /* Bits 7..0 : DPPI channel that event RXDRDY will publish to */ 17736 #define UARTE_PUBLISH_RXDRDY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17737 #define UARTE_PUBLISH_RXDRDY_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_RXDRDY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17738 17739 /* Register: UARTE_PUBLISH_ENDRX */ 17740 /* Description: Publish configuration for event ENDRX */ 17741 17742 /* Bit 31 : */ 17743 #define UARTE_PUBLISH_ENDRX_EN_Pos (31UL) /*!< Position of EN field. */ 17744 #define UARTE_PUBLISH_ENDRX_EN_Msk (0x1UL << UARTE_PUBLISH_ENDRX_EN_Pos) /*!< Bit mask of EN field. */ 17745 #define UARTE_PUBLISH_ENDRX_EN_Disabled (0x0UL) /*!< Disable publishing */ 17746 #define UARTE_PUBLISH_ENDRX_EN_Enabled (0x1UL) /*!< Enable publishing */ 17747 17748 /* Bits 7..0 : DPPI channel that event ENDRX will publish to */ 17749 #define UARTE_PUBLISH_ENDRX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17750 #define UARTE_PUBLISH_ENDRX_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_ENDRX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17751 17752 /* Register: UARTE_PUBLISH_TXDRDY */ 17753 /* Description: Publish configuration for event TXDRDY */ 17754 17755 /* Bit 31 : */ 17756 #define UARTE_PUBLISH_TXDRDY_EN_Pos (31UL) /*!< Position of EN field. */ 17757 #define UARTE_PUBLISH_TXDRDY_EN_Msk (0x1UL << UARTE_PUBLISH_TXDRDY_EN_Pos) /*!< Bit mask of EN field. */ 17758 #define UARTE_PUBLISH_TXDRDY_EN_Disabled (0x0UL) /*!< Disable publishing */ 17759 #define UARTE_PUBLISH_TXDRDY_EN_Enabled (0x1UL) /*!< Enable publishing */ 17760 17761 /* Bits 7..0 : DPPI channel that event TXDRDY will publish to */ 17762 #define UARTE_PUBLISH_TXDRDY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17763 #define UARTE_PUBLISH_TXDRDY_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_TXDRDY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17764 17765 /* Register: UARTE_PUBLISH_ENDTX */ 17766 /* Description: Publish configuration for event ENDTX */ 17767 17768 /* Bit 31 : */ 17769 #define UARTE_PUBLISH_ENDTX_EN_Pos (31UL) /*!< Position of EN field. */ 17770 #define UARTE_PUBLISH_ENDTX_EN_Msk (0x1UL << UARTE_PUBLISH_ENDTX_EN_Pos) /*!< Bit mask of EN field. */ 17771 #define UARTE_PUBLISH_ENDTX_EN_Disabled (0x0UL) /*!< Disable publishing */ 17772 #define UARTE_PUBLISH_ENDTX_EN_Enabled (0x1UL) /*!< Enable publishing */ 17773 17774 /* Bits 7..0 : DPPI channel that event ENDTX will publish to */ 17775 #define UARTE_PUBLISH_ENDTX_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17776 #define UARTE_PUBLISH_ENDTX_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_ENDTX_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17777 17778 /* Register: UARTE_PUBLISH_ERROR */ 17779 /* Description: Publish configuration for event ERROR */ 17780 17781 /* Bit 31 : */ 17782 #define UARTE_PUBLISH_ERROR_EN_Pos (31UL) /*!< Position of EN field. */ 17783 #define UARTE_PUBLISH_ERROR_EN_Msk (0x1UL << UARTE_PUBLISH_ERROR_EN_Pos) /*!< Bit mask of EN field. */ 17784 #define UARTE_PUBLISH_ERROR_EN_Disabled (0x0UL) /*!< Disable publishing */ 17785 #define UARTE_PUBLISH_ERROR_EN_Enabled (0x1UL) /*!< Enable publishing */ 17786 17787 /* Bits 7..0 : DPPI channel that event ERROR will publish to */ 17788 #define UARTE_PUBLISH_ERROR_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17789 #define UARTE_PUBLISH_ERROR_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_ERROR_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17790 17791 /* Register: UARTE_PUBLISH_RXTO */ 17792 /* Description: Publish configuration for event RXTO */ 17793 17794 /* Bit 31 : */ 17795 #define UARTE_PUBLISH_RXTO_EN_Pos (31UL) /*!< Position of EN field. */ 17796 #define UARTE_PUBLISH_RXTO_EN_Msk (0x1UL << UARTE_PUBLISH_RXTO_EN_Pos) /*!< Bit mask of EN field. */ 17797 #define UARTE_PUBLISH_RXTO_EN_Disabled (0x0UL) /*!< Disable publishing */ 17798 #define UARTE_PUBLISH_RXTO_EN_Enabled (0x1UL) /*!< Enable publishing */ 17799 17800 /* Bits 7..0 : DPPI channel that event RXTO will publish to */ 17801 #define UARTE_PUBLISH_RXTO_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17802 #define UARTE_PUBLISH_RXTO_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_RXTO_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17803 17804 /* Register: UARTE_PUBLISH_RXSTARTED */ 17805 /* Description: Publish configuration for event RXSTARTED */ 17806 17807 /* Bit 31 : */ 17808 #define UARTE_PUBLISH_RXSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 17809 #define UARTE_PUBLISH_RXSTARTED_EN_Msk (0x1UL << UARTE_PUBLISH_RXSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 17810 #define UARTE_PUBLISH_RXSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 17811 #define UARTE_PUBLISH_RXSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 17812 17813 /* Bits 7..0 : DPPI channel that event RXSTARTED will publish to */ 17814 #define UARTE_PUBLISH_RXSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17815 #define UARTE_PUBLISH_RXSTARTED_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_RXSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17816 17817 /* Register: UARTE_PUBLISH_TXSTARTED */ 17818 /* Description: Publish configuration for event TXSTARTED */ 17819 17820 /* Bit 31 : */ 17821 #define UARTE_PUBLISH_TXSTARTED_EN_Pos (31UL) /*!< Position of EN field. */ 17822 #define UARTE_PUBLISH_TXSTARTED_EN_Msk (0x1UL << UARTE_PUBLISH_TXSTARTED_EN_Pos) /*!< Bit mask of EN field. */ 17823 #define UARTE_PUBLISH_TXSTARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 17824 #define UARTE_PUBLISH_TXSTARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 17825 17826 /* Bits 7..0 : DPPI channel that event TXSTARTED will publish to */ 17827 #define UARTE_PUBLISH_TXSTARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17828 #define UARTE_PUBLISH_TXSTARTED_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_TXSTARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17829 17830 /* Register: UARTE_PUBLISH_TXSTOPPED */ 17831 /* Description: Publish configuration for event TXSTOPPED */ 17832 17833 /* Bit 31 : */ 17834 #define UARTE_PUBLISH_TXSTOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 17835 #define UARTE_PUBLISH_TXSTOPPED_EN_Msk (0x1UL << UARTE_PUBLISH_TXSTOPPED_EN_Pos) /*!< Bit mask of EN field. */ 17836 #define UARTE_PUBLISH_TXSTOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 17837 #define UARTE_PUBLISH_TXSTOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 17838 17839 /* Bits 7..0 : DPPI channel that event TXSTOPPED will publish to */ 17840 #define UARTE_PUBLISH_TXSTOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 17841 #define UARTE_PUBLISH_TXSTOPPED_CHIDX_Msk (0xFFUL << UARTE_PUBLISH_TXSTOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 17842 17843 /* Register: UARTE_SHORTS */ 17844 /* Description: Shortcuts between local events and tasks */ 17845 17846 /* Bit 6 : Shortcut between event ENDRX and task STOPRX */ 17847 #define UARTE_SHORTS_ENDRX_STOPRX_Pos (6UL) /*!< Position of ENDRX_STOPRX field. */ 17848 #define UARTE_SHORTS_ENDRX_STOPRX_Msk (0x1UL << UARTE_SHORTS_ENDRX_STOPRX_Pos) /*!< Bit mask of ENDRX_STOPRX field. */ 17849 #define UARTE_SHORTS_ENDRX_STOPRX_Disabled (0x0UL) /*!< Disable shortcut */ 17850 #define UARTE_SHORTS_ENDRX_STOPRX_Enabled (0x1UL) /*!< Enable shortcut */ 17851 17852 /* Bit 5 : Shortcut between event ENDRX and task STARTRX */ 17853 #define UARTE_SHORTS_ENDRX_STARTRX_Pos (5UL) /*!< Position of ENDRX_STARTRX field. */ 17854 #define UARTE_SHORTS_ENDRX_STARTRX_Msk (0x1UL << UARTE_SHORTS_ENDRX_STARTRX_Pos) /*!< Bit mask of ENDRX_STARTRX field. */ 17855 #define UARTE_SHORTS_ENDRX_STARTRX_Disabled (0x0UL) /*!< Disable shortcut */ 17856 #define UARTE_SHORTS_ENDRX_STARTRX_Enabled (0x1UL) /*!< Enable shortcut */ 17857 17858 /* Register: UARTE_INTEN */ 17859 /* Description: Enable or disable interrupt */ 17860 17861 /* Bit 22 : Enable or disable interrupt for event TXSTOPPED */ 17862 #define UARTE_INTEN_TXSTOPPED_Pos (22UL) /*!< Position of TXSTOPPED field. */ 17863 #define UARTE_INTEN_TXSTOPPED_Msk (0x1UL << UARTE_INTEN_TXSTOPPED_Pos) /*!< Bit mask of TXSTOPPED field. */ 17864 #define UARTE_INTEN_TXSTOPPED_Disabled (0x0UL) /*!< Disable */ 17865 #define UARTE_INTEN_TXSTOPPED_Enabled (0x1UL) /*!< Enable */ 17866 17867 /* Bit 20 : Enable or disable interrupt for event TXSTARTED */ 17868 #define UARTE_INTEN_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 17869 #define UARTE_INTEN_TXSTARTED_Msk (0x1UL << UARTE_INTEN_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 17870 #define UARTE_INTEN_TXSTARTED_Disabled (0x0UL) /*!< Disable */ 17871 #define UARTE_INTEN_TXSTARTED_Enabled (0x1UL) /*!< Enable */ 17872 17873 /* Bit 19 : Enable or disable interrupt for event RXSTARTED */ 17874 #define UARTE_INTEN_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 17875 #define UARTE_INTEN_RXSTARTED_Msk (0x1UL << UARTE_INTEN_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 17876 #define UARTE_INTEN_RXSTARTED_Disabled (0x0UL) /*!< Disable */ 17877 #define UARTE_INTEN_RXSTARTED_Enabled (0x1UL) /*!< Enable */ 17878 17879 /* Bit 17 : Enable or disable interrupt for event RXTO */ 17880 #define UARTE_INTEN_RXTO_Pos (17UL) /*!< Position of RXTO field. */ 17881 #define UARTE_INTEN_RXTO_Msk (0x1UL << UARTE_INTEN_RXTO_Pos) /*!< Bit mask of RXTO field. */ 17882 #define UARTE_INTEN_RXTO_Disabled (0x0UL) /*!< Disable */ 17883 #define UARTE_INTEN_RXTO_Enabled (0x1UL) /*!< Enable */ 17884 17885 /* Bit 9 : Enable or disable interrupt for event ERROR */ 17886 #define UARTE_INTEN_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 17887 #define UARTE_INTEN_ERROR_Msk (0x1UL << UARTE_INTEN_ERROR_Pos) /*!< Bit mask of ERROR field. */ 17888 #define UARTE_INTEN_ERROR_Disabled (0x0UL) /*!< Disable */ 17889 #define UARTE_INTEN_ERROR_Enabled (0x1UL) /*!< Enable */ 17890 17891 /* Bit 8 : Enable or disable interrupt for event ENDTX */ 17892 #define UARTE_INTEN_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */ 17893 #define UARTE_INTEN_ENDTX_Msk (0x1UL << UARTE_INTEN_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 17894 #define UARTE_INTEN_ENDTX_Disabled (0x0UL) /*!< Disable */ 17895 #define UARTE_INTEN_ENDTX_Enabled (0x1UL) /*!< Enable */ 17896 17897 /* Bit 7 : Enable or disable interrupt for event TXDRDY */ 17898 #define UARTE_INTEN_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */ 17899 #define UARTE_INTEN_TXDRDY_Msk (0x1UL << UARTE_INTEN_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */ 17900 #define UARTE_INTEN_TXDRDY_Disabled (0x0UL) /*!< Disable */ 17901 #define UARTE_INTEN_TXDRDY_Enabled (0x1UL) /*!< Enable */ 17902 17903 /* Bit 4 : Enable or disable interrupt for event ENDRX */ 17904 #define UARTE_INTEN_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 17905 #define UARTE_INTEN_ENDRX_Msk (0x1UL << UARTE_INTEN_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 17906 #define UARTE_INTEN_ENDRX_Disabled (0x0UL) /*!< Disable */ 17907 #define UARTE_INTEN_ENDRX_Enabled (0x1UL) /*!< Enable */ 17908 17909 /* Bit 2 : Enable or disable interrupt for event RXDRDY */ 17910 #define UARTE_INTEN_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */ 17911 #define UARTE_INTEN_RXDRDY_Msk (0x1UL << UARTE_INTEN_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */ 17912 #define UARTE_INTEN_RXDRDY_Disabled (0x0UL) /*!< Disable */ 17913 #define UARTE_INTEN_RXDRDY_Enabled (0x1UL) /*!< Enable */ 17914 17915 /* Bit 1 : Enable or disable interrupt for event NCTS */ 17916 #define UARTE_INTEN_NCTS_Pos (1UL) /*!< Position of NCTS field. */ 17917 #define UARTE_INTEN_NCTS_Msk (0x1UL << UARTE_INTEN_NCTS_Pos) /*!< Bit mask of NCTS field. */ 17918 #define UARTE_INTEN_NCTS_Disabled (0x0UL) /*!< Disable */ 17919 #define UARTE_INTEN_NCTS_Enabled (0x1UL) /*!< Enable */ 17920 17921 /* Bit 0 : Enable or disable interrupt for event CTS */ 17922 #define UARTE_INTEN_CTS_Pos (0UL) /*!< Position of CTS field. */ 17923 #define UARTE_INTEN_CTS_Msk (0x1UL << UARTE_INTEN_CTS_Pos) /*!< Bit mask of CTS field. */ 17924 #define UARTE_INTEN_CTS_Disabled (0x0UL) /*!< Disable */ 17925 #define UARTE_INTEN_CTS_Enabled (0x1UL) /*!< Enable */ 17926 17927 /* Register: UARTE_INTENSET */ 17928 /* Description: Enable interrupt */ 17929 17930 /* Bit 22 : Write '1' to enable interrupt for event TXSTOPPED */ 17931 #define UARTE_INTENSET_TXSTOPPED_Pos (22UL) /*!< Position of TXSTOPPED field. */ 17932 #define UARTE_INTENSET_TXSTOPPED_Msk (0x1UL << UARTE_INTENSET_TXSTOPPED_Pos) /*!< Bit mask of TXSTOPPED field. */ 17933 #define UARTE_INTENSET_TXSTOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 17934 #define UARTE_INTENSET_TXSTOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 17935 #define UARTE_INTENSET_TXSTOPPED_Set (0x1UL) /*!< Enable */ 17936 17937 /* Bit 20 : Write '1' to enable interrupt for event TXSTARTED */ 17938 #define UARTE_INTENSET_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 17939 #define UARTE_INTENSET_TXSTARTED_Msk (0x1UL << UARTE_INTENSET_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 17940 #define UARTE_INTENSET_TXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 17941 #define UARTE_INTENSET_TXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 17942 #define UARTE_INTENSET_TXSTARTED_Set (0x1UL) /*!< Enable */ 17943 17944 /* Bit 19 : Write '1' to enable interrupt for event RXSTARTED */ 17945 #define UARTE_INTENSET_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 17946 #define UARTE_INTENSET_RXSTARTED_Msk (0x1UL << UARTE_INTENSET_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 17947 #define UARTE_INTENSET_RXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 17948 #define UARTE_INTENSET_RXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 17949 #define UARTE_INTENSET_RXSTARTED_Set (0x1UL) /*!< Enable */ 17950 17951 /* Bit 17 : Write '1' to enable interrupt for event RXTO */ 17952 #define UARTE_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */ 17953 #define UARTE_INTENSET_RXTO_Msk (0x1UL << UARTE_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */ 17954 #define UARTE_INTENSET_RXTO_Disabled (0x0UL) /*!< Read: Disabled */ 17955 #define UARTE_INTENSET_RXTO_Enabled (0x1UL) /*!< Read: Enabled */ 17956 #define UARTE_INTENSET_RXTO_Set (0x1UL) /*!< Enable */ 17957 17958 /* Bit 9 : Write '1' to enable interrupt for event ERROR */ 17959 #define UARTE_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 17960 #define UARTE_INTENSET_ERROR_Msk (0x1UL << UARTE_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 17961 #define UARTE_INTENSET_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 17962 #define UARTE_INTENSET_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 17963 #define UARTE_INTENSET_ERROR_Set (0x1UL) /*!< Enable */ 17964 17965 /* Bit 8 : Write '1' to enable interrupt for event ENDTX */ 17966 #define UARTE_INTENSET_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */ 17967 #define UARTE_INTENSET_ENDTX_Msk (0x1UL << UARTE_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 17968 #define UARTE_INTENSET_ENDTX_Disabled (0x0UL) /*!< Read: Disabled */ 17969 #define UARTE_INTENSET_ENDTX_Enabled (0x1UL) /*!< Read: Enabled */ 17970 #define UARTE_INTENSET_ENDTX_Set (0x1UL) /*!< Enable */ 17971 17972 /* Bit 7 : Write '1' to enable interrupt for event TXDRDY */ 17973 #define UARTE_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */ 17974 #define UARTE_INTENSET_TXDRDY_Msk (0x1UL << UARTE_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */ 17975 #define UARTE_INTENSET_TXDRDY_Disabled (0x0UL) /*!< Read: Disabled */ 17976 #define UARTE_INTENSET_TXDRDY_Enabled (0x1UL) /*!< Read: Enabled */ 17977 #define UARTE_INTENSET_TXDRDY_Set (0x1UL) /*!< Enable */ 17978 17979 /* Bit 4 : Write '1' to enable interrupt for event ENDRX */ 17980 #define UARTE_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 17981 #define UARTE_INTENSET_ENDRX_Msk (0x1UL << UARTE_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 17982 #define UARTE_INTENSET_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 17983 #define UARTE_INTENSET_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 17984 #define UARTE_INTENSET_ENDRX_Set (0x1UL) /*!< Enable */ 17985 17986 /* Bit 2 : Write '1' to enable interrupt for event RXDRDY */ 17987 #define UARTE_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */ 17988 #define UARTE_INTENSET_RXDRDY_Msk (0x1UL << UARTE_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */ 17989 #define UARTE_INTENSET_RXDRDY_Disabled (0x0UL) /*!< Read: Disabled */ 17990 #define UARTE_INTENSET_RXDRDY_Enabled (0x1UL) /*!< Read: Enabled */ 17991 #define UARTE_INTENSET_RXDRDY_Set (0x1UL) /*!< Enable */ 17992 17993 /* Bit 1 : Write '1' to enable interrupt for event NCTS */ 17994 #define UARTE_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */ 17995 #define UARTE_INTENSET_NCTS_Msk (0x1UL << UARTE_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */ 17996 #define UARTE_INTENSET_NCTS_Disabled (0x0UL) /*!< Read: Disabled */ 17997 #define UARTE_INTENSET_NCTS_Enabled (0x1UL) /*!< Read: Enabled */ 17998 #define UARTE_INTENSET_NCTS_Set (0x1UL) /*!< Enable */ 17999 18000 /* Bit 0 : Write '1' to enable interrupt for event CTS */ 18001 #define UARTE_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */ 18002 #define UARTE_INTENSET_CTS_Msk (0x1UL << UARTE_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */ 18003 #define UARTE_INTENSET_CTS_Disabled (0x0UL) /*!< Read: Disabled */ 18004 #define UARTE_INTENSET_CTS_Enabled (0x1UL) /*!< Read: Enabled */ 18005 #define UARTE_INTENSET_CTS_Set (0x1UL) /*!< Enable */ 18006 18007 /* Register: UARTE_INTENCLR */ 18008 /* Description: Disable interrupt */ 18009 18010 /* Bit 22 : Write '1' to disable interrupt for event TXSTOPPED */ 18011 #define UARTE_INTENCLR_TXSTOPPED_Pos (22UL) /*!< Position of TXSTOPPED field. */ 18012 #define UARTE_INTENCLR_TXSTOPPED_Msk (0x1UL << UARTE_INTENCLR_TXSTOPPED_Pos) /*!< Bit mask of TXSTOPPED field. */ 18013 #define UARTE_INTENCLR_TXSTOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 18014 #define UARTE_INTENCLR_TXSTOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 18015 #define UARTE_INTENCLR_TXSTOPPED_Clear (0x1UL) /*!< Disable */ 18016 18017 /* Bit 20 : Write '1' to disable interrupt for event TXSTARTED */ 18018 #define UARTE_INTENCLR_TXSTARTED_Pos (20UL) /*!< Position of TXSTARTED field. */ 18019 #define UARTE_INTENCLR_TXSTARTED_Msk (0x1UL << UARTE_INTENCLR_TXSTARTED_Pos) /*!< Bit mask of TXSTARTED field. */ 18020 #define UARTE_INTENCLR_TXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 18021 #define UARTE_INTENCLR_TXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 18022 #define UARTE_INTENCLR_TXSTARTED_Clear (0x1UL) /*!< Disable */ 18023 18024 /* Bit 19 : Write '1' to disable interrupt for event RXSTARTED */ 18025 #define UARTE_INTENCLR_RXSTARTED_Pos (19UL) /*!< Position of RXSTARTED field. */ 18026 #define UARTE_INTENCLR_RXSTARTED_Msk (0x1UL << UARTE_INTENCLR_RXSTARTED_Pos) /*!< Bit mask of RXSTARTED field. */ 18027 #define UARTE_INTENCLR_RXSTARTED_Disabled (0x0UL) /*!< Read: Disabled */ 18028 #define UARTE_INTENCLR_RXSTARTED_Enabled (0x1UL) /*!< Read: Enabled */ 18029 #define UARTE_INTENCLR_RXSTARTED_Clear (0x1UL) /*!< Disable */ 18030 18031 /* Bit 17 : Write '1' to disable interrupt for event RXTO */ 18032 #define UARTE_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */ 18033 #define UARTE_INTENCLR_RXTO_Msk (0x1UL << UARTE_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */ 18034 #define UARTE_INTENCLR_RXTO_Disabled (0x0UL) /*!< Read: Disabled */ 18035 #define UARTE_INTENCLR_RXTO_Enabled (0x1UL) /*!< Read: Enabled */ 18036 #define UARTE_INTENCLR_RXTO_Clear (0x1UL) /*!< Disable */ 18037 18038 /* Bit 9 : Write '1' to disable interrupt for event ERROR */ 18039 #define UARTE_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 18040 #define UARTE_INTENCLR_ERROR_Msk (0x1UL << UARTE_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 18041 #define UARTE_INTENCLR_ERROR_Disabled (0x0UL) /*!< Read: Disabled */ 18042 #define UARTE_INTENCLR_ERROR_Enabled (0x1UL) /*!< Read: Enabled */ 18043 #define UARTE_INTENCLR_ERROR_Clear (0x1UL) /*!< Disable */ 18044 18045 /* Bit 8 : Write '1' to disable interrupt for event ENDTX */ 18046 #define UARTE_INTENCLR_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */ 18047 #define UARTE_INTENCLR_ENDTX_Msk (0x1UL << UARTE_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 18048 #define UARTE_INTENCLR_ENDTX_Disabled (0x0UL) /*!< Read: Disabled */ 18049 #define UARTE_INTENCLR_ENDTX_Enabled (0x1UL) /*!< Read: Enabled */ 18050 #define UARTE_INTENCLR_ENDTX_Clear (0x1UL) /*!< Disable */ 18051 18052 /* Bit 7 : Write '1' to disable interrupt for event TXDRDY */ 18053 #define UARTE_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */ 18054 #define UARTE_INTENCLR_TXDRDY_Msk (0x1UL << UARTE_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */ 18055 #define UARTE_INTENCLR_TXDRDY_Disabled (0x0UL) /*!< Read: Disabled */ 18056 #define UARTE_INTENCLR_TXDRDY_Enabled (0x1UL) /*!< Read: Enabled */ 18057 #define UARTE_INTENCLR_TXDRDY_Clear (0x1UL) /*!< Disable */ 18058 18059 /* Bit 4 : Write '1' to disable interrupt for event ENDRX */ 18060 #define UARTE_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 18061 #define UARTE_INTENCLR_ENDRX_Msk (0x1UL << UARTE_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 18062 #define UARTE_INTENCLR_ENDRX_Disabled (0x0UL) /*!< Read: Disabled */ 18063 #define UARTE_INTENCLR_ENDRX_Enabled (0x1UL) /*!< Read: Enabled */ 18064 #define UARTE_INTENCLR_ENDRX_Clear (0x1UL) /*!< Disable */ 18065 18066 /* Bit 2 : Write '1' to disable interrupt for event RXDRDY */ 18067 #define UARTE_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */ 18068 #define UARTE_INTENCLR_RXDRDY_Msk (0x1UL << UARTE_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */ 18069 #define UARTE_INTENCLR_RXDRDY_Disabled (0x0UL) /*!< Read: Disabled */ 18070 #define UARTE_INTENCLR_RXDRDY_Enabled (0x1UL) /*!< Read: Enabled */ 18071 #define UARTE_INTENCLR_RXDRDY_Clear (0x1UL) /*!< Disable */ 18072 18073 /* Bit 1 : Write '1' to disable interrupt for event NCTS */ 18074 #define UARTE_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */ 18075 #define UARTE_INTENCLR_NCTS_Msk (0x1UL << UARTE_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */ 18076 #define UARTE_INTENCLR_NCTS_Disabled (0x0UL) /*!< Read: Disabled */ 18077 #define UARTE_INTENCLR_NCTS_Enabled (0x1UL) /*!< Read: Enabled */ 18078 #define UARTE_INTENCLR_NCTS_Clear (0x1UL) /*!< Disable */ 18079 18080 /* Bit 0 : Write '1' to disable interrupt for event CTS */ 18081 #define UARTE_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */ 18082 #define UARTE_INTENCLR_CTS_Msk (0x1UL << UARTE_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */ 18083 #define UARTE_INTENCLR_CTS_Disabled (0x0UL) /*!< Read: Disabled */ 18084 #define UARTE_INTENCLR_CTS_Enabled (0x1UL) /*!< Read: Enabled */ 18085 #define UARTE_INTENCLR_CTS_Clear (0x1UL) /*!< Disable */ 18086 18087 /* Register: UARTE_ERRORSRC */ 18088 /* Description: Error source */ 18089 18090 /* Bit 3 : Break condition */ 18091 #define UARTE_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */ 18092 #define UARTE_ERRORSRC_BREAK_Msk (0x1UL << UARTE_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */ 18093 #define UARTE_ERRORSRC_BREAK_NotPresent (0x0UL) /*!< Read: error not present */ 18094 #define UARTE_ERRORSRC_BREAK_Present (0x1UL) /*!< Read: error present */ 18095 18096 /* Bit 2 : Framing error occurred */ 18097 #define UARTE_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */ 18098 #define UARTE_ERRORSRC_FRAMING_Msk (0x1UL << UARTE_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */ 18099 #define UARTE_ERRORSRC_FRAMING_NotPresent (0x0UL) /*!< Read: error not present */ 18100 #define UARTE_ERRORSRC_FRAMING_Present (0x1UL) /*!< Read: error present */ 18101 18102 /* Bit 1 : Parity error */ 18103 #define UARTE_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */ 18104 #define UARTE_ERRORSRC_PARITY_Msk (0x1UL << UARTE_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */ 18105 #define UARTE_ERRORSRC_PARITY_NotPresent (0x0UL) /*!< Read: error not present */ 18106 #define UARTE_ERRORSRC_PARITY_Present (0x1UL) /*!< Read: error present */ 18107 18108 /* Bit 0 : Overrun error */ 18109 #define UARTE_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */ 18110 #define UARTE_ERRORSRC_OVERRUN_Msk (0x1UL << UARTE_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */ 18111 #define UARTE_ERRORSRC_OVERRUN_NotPresent (0x0UL) /*!< Read: error not present */ 18112 #define UARTE_ERRORSRC_OVERRUN_Present (0x1UL) /*!< Read: error present */ 18113 18114 /* Register: UARTE_ENABLE */ 18115 /* Description: Enable UART */ 18116 18117 /* Bits 3..0 : Enable or disable UARTE */ 18118 #define UARTE_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 18119 #define UARTE_ENABLE_ENABLE_Msk (0xFUL << UARTE_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 18120 #define UARTE_ENABLE_ENABLE_Disabled (0x0UL) /*!< Disable UARTE */ 18121 #define UARTE_ENABLE_ENABLE_Enabled (0x8UL) /*!< Enable UARTE */ 18122 18123 /* Register: UARTE_PSEL_RTS */ 18124 /* Description: Pin select for RTS signal */ 18125 18126 /* Bit 31 : Connection */ 18127 #define UARTE_PSEL_RTS_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 18128 #define UARTE_PSEL_RTS_CONNECT_Msk (0x1UL << UARTE_PSEL_RTS_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 18129 #define UARTE_PSEL_RTS_CONNECT_Connected (0x0UL) /*!< Connect */ 18130 #define UARTE_PSEL_RTS_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 18131 18132 /* Bit 5 : Port number */ 18133 #define UARTE_PSEL_RTS_PORT_Pos (5UL) /*!< Position of PORT field. */ 18134 #define UARTE_PSEL_RTS_PORT_Msk (0x1UL << UARTE_PSEL_RTS_PORT_Pos) /*!< Bit mask of PORT field. */ 18135 18136 /* Bits 4..0 : Pin number */ 18137 #define UARTE_PSEL_RTS_PIN_Pos (0UL) /*!< Position of PIN field. */ 18138 #define UARTE_PSEL_RTS_PIN_Msk (0x1FUL << UARTE_PSEL_RTS_PIN_Pos) /*!< Bit mask of PIN field. */ 18139 18140 /* Register: UARTE_PSEL_TXD */ 18141 /* Description: Pin select for TXD signal */ 18142 18143 /* Bit 31 : Connection */ 18144 #define UARTE_PSEL_TXD_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 18145 #define UARTE_PSEL_TXD_CONNECT_Msk (0x1UL << UARTE_PSEL_TXD_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 18146 #define UARTE_PSEL_TXD_CONNECT_Connected (0x0UL) /*!< Connect */ 18147 #define UARTE_PSEL_TXD_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 18148 18149 /* Bit 5 : Port number */ 18150 #define UARTE_PSEL_TXD_PORT_Pos (5UL) /*!< Position of PORT field. */ 18151 #define UARTE_PSEL_TXD_PORT_Msk (0x1UL << UARTE_PSEL_TXD_PORT_Pos) /*!< Bit mask of PORT field. */ 18152 18153 /* Bits 4..0 : Pin number */ 18154 #define UARTE_PSEL_TXD_PIN_Pos (0UL) /*!< Position of PIN field. */ 18155 #define UARTE_PSEL_TXD_PIN_Msk (0x1FUL << UARTE_PSEL_TXD_PIN_Pos) /*!< Bit mask of PIN field. */ 18156 18157 /* Register: UARTE_PSEL_CTS */ 18158 /* Description: Pin select for CTS signal */ 18159 18160 /* Bit 31 : Connection */ 18161 #define UARTE_PSEL_CTS_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 18162 #define UARTE_PSEL_CTS_CONNECT_Msk (0x1UL << UARTE_PSEL_CTS_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 18163 #define UARTE_PSEL_CTS_CONNECT_Connected (0x0UL) /*!< Connect */ 18164 #define UARTE_PSEL_CTS_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 18165 18166 /* Bit 5 : Port number */ 18167 #define UARTE_PSEL_CTS_PORT_Pos (5UL) /*!< Position of PORT field. */ 18168 #define UARTE_PSEL_CTS_PORT_Msk (0x1UL << UARTE_PSEL_CTS_PORT_Pos) /*!< Bit mask of PORT field. */ 18169 18170 /* Bits 4..0 : Pin number */ 18171 #define UARTE_PSEL_CTS_PIN_Pos (0UL) /*!< Position of PIN field. */ 18172 #define UARTE_PSEL_CTS_PIN_Msk (0x1FUL << UARTE_PSEL_CTS_PIN_Pos) /*!< Bit mask of PIN field. */ 18173 18174 /* Register: UARTE_PSEL_RXD */ 18175 /* Description: Pin select for RXD signal */ 18176 18177 /* Bit 31 : Connection */ 18178 #define UARTE_PSEL_RXD_CONNECT_Pos (31UL) /*!< Position of CONNECT field. */ 18179 #define UARTE_PSEL_RXD_CONNECT_Msk (0x1UL << UARTE_PSEL_RXD_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 18180 #define UARTE_PSEL_RXD_CONNECT_Connected (0x0UL) /*!< Connect */ 18181 #define UARTE_PSEL_RXD_CONNECT_Disconnected (0x1UL) /*!< Disconnect */ 18182 18183 /* Bit 5 : Port number */ 18184 #define UARTE_PSEL_RXD_PORT_Pos (5UL) /*!< Position of PORT field. */ 18185 #define UARTE_PSEL_RXD_PORT_Msk (0x1UL << UARTE_PSEL_RXD_PORT_Pos) /*!< Bit mask of PORT field. */ 18186 18187 /* Bits 4..0 : Pin number */ 18188 #define UARTE_PSEL_RXD_PIN_Pos (0UL) /*!< Position of PIN field. */ 18189 #define UARTE_PSEL_RXD_PIN_Msk (0x1FUL << UARTE_PSEL_RXD_PIN_Pos) /*!< Bit mask of PIN field. */ 18190 18191 /* Register: UARTE_BAUDRATE */ 18192 /* Description: Baud rate. Accuracy depends on the HFCLK source selected. */ 18193 18194 /* Bits 31..0 : Baud rate */ 18195 #define UARTE_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */ 18196 #define UARTE_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UARTE_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */ 18197 #define UARTE_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud (actual rate: 1205) */ 18198 #define UARTE_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud (actual rate: 2396) */ 18199 #define UARTE_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud (actual rate: 4808) */ 18200 #define UARTE_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud (actual rate: 9598) */ 18201 #define UARTE_BAUDRATE_BAUDRATE_Baud14400 (0x003AF000UL) /*!< 14400 baud (actual rate: 14401) */ 18202 #define UARTE_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud (actual rate: 19208) */ 18203 #define UARTE_BAUDRATE_BAUDRATE_Baud28800 (0x0075C000UL) /*!< 28800 baud (actual rate: 28777) */ 18204 #define UARTE_BAUDRATE_BAUDRATE_Baud31250 (0x00800000UL) /*!< 31250 baud */ 18205 #define UARTE_BAUDRATE_BAUDRATE_Baud38400 (0x009D0000UL) /*!< 38400 baud (actual rate: 38369) */ 18206 #define UARTE_BAUDRATE_BAUDRATE_Baud56000 (0x00E50000UL) /*!< 56000 baud (actual rate: 55944) */ 18207 #define UARTE_BAUDRATE_BAUDRATE_Baud57600 (0x00EB0000UL) /*!< 57600 baud (actual rate: 57554) */ 18208 #define UARTE_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud (actual rate: 76923) */ 18209 #define UARTE_BAUDRATE_BAUDRATE_Baud115200 (0x01D60000UL) /*!< 115200 baud (actual rate: 115108) */ 18210 #define UARTE_BAUDRATE_BAUDRATE_Baud230400 (0x03B00000UL) /*!< 230400 baud (actual rate: 231884) */ 18211 #define UARTE_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud */ 18212 #define UARTE_BAUDRATE_BAUDRATE_Baud460800 (0x07400000UL) /*!< 460800 baud (actual rate: 457143) */ 18213 #define UARTE_BAUDRATE_BAUDRATE_Baud921600 (0x0F000000UL) /*!< 921600 baud (actual rate: 941176) */ 18214 #define UARTE_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1 megabaud */ 18215 18216 /* Register: UARTE_RXD_PTR */ 18217 /* Description: Data pointer */ 18218 18219 /* Bits 31..0 : Data pointer */ 18220 #define UARTE_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 18221 #define UARTE_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << UARTE_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 18222 18223 /* Register: UARTE_RXD_MAXCNT */ 18224 /* Description: Maximum number of bytes in receive buffer */ 18225 18226 /* Bits 15..0 : Maximum number of bytes in receive buffer */ 18227 #define UARTE_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 18228 #define UARTE_RXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << UARTE_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 18229 18230 /* Register: UARTE_RXD_AMOUNT */ 18231 /* Description: Number of bytes transferred in the last transaction */ 18232 18233 /* Bits 15..0 : Number of bytes transferred in the last transaction */ 18234 #define UARTE_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 18235 #define UARTE_RXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << UARTE_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 18236 18237 /* Register: UARTE_TXD_PTR */ 18238 /* Description: Data pointer */ 18239 18240 /* Bits 31..0 : Data pointer */ 18241 #define UARTE_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 18242 #define UARTE_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << UARTE_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 18243 18244 /* Register: UARTE_TXD_MAXCNT */ 18245 /* Description: Maximum number of bytes in transmit buffer */ 18246 18247 /* Bits 15..0 : Maximum number of bytes in transmit buffer */ 18248 #define UARTE_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 18249 #define UARTE_TXD_MAXCNT_MAXCNT_Msk (0xFFFFUL << UARTE_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 18250 18251 /* Register: UARTE_TXD_AMOUNT */ 18252 /* Description: Number of bytes transferred in the last transaction */ 18253 18254 /* Bits 15..0 : Number of bytes transferred in the last transaction */ 18255 #define UARTE_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 18256 #define UARTE_TXD_AMOUNT_AMOUNT_Msk (0xFFFFUL << UARTE_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 18257 18258 /* Register: UARTE_CONFIG */ 18259 /* Description: Configuration of parity and hardware flow control */ 18260 18261 /* Bit 8 : Even or odd parity type */ 18262 #define UARTE_CONFIG_PARITYTYPE_Pos (8UL) /*!< Position of PARITYTYPE field. */ 18263 #define UARTE_CONFIG_PARITYTYPE_Msk (0x1UL << UARTE_CONFIG_PARITYTYPE_Pos) /*!< Bit mask of PARITYTYPE field. */ 18264 #define UARTE_CONFIG_PARITYTYPE_Even (0x0UL) /*!< Even parity */ 18265 #define UARTE_CONFIG_PARITYTYPE_Odd (0x1UL) /*!< Odd parity */ 18266 18267 /* Bit 4 : Stop bits */ 18268 #define UARTE_CONFIG_STOP_Pos (4UL) /*!< Position of STOP field. */ 18269 #define UARTE_CONFIG_STOP_Msk (0x1UL << UARTE_CONFIG_STOP_Pos) /*!< Bit mask of STOP field. */ 18270 #define UARTE_CONFIG_STOP_One (0x0UL) /*!< One stop bit */ 18271 #define UARTE_CONFIG_STOP_Two (0x1UL) /*!< Two stop bits */ 18272 18273 /* Bits 3..1 : Parity */ 18274 #define UARTE_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */ 18275 #define UARTE_CONFIG_PARITY_Msk (0x7UL << UARTE_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */ 18276 #define UARTE_CONFIG_PARITY_Excluded (0x0UL) /*!< Exclude parity bit */ 18277 #define UARTE_CONFIG_PARITY_Included (0x7UL) /*!< Include even parity bit */ 18278 18279 /* Bit 0 : Hardware flow control */ 18280 #define UARTE_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */ 18281 #define UARTE_CONFIG_HWFC_Msk (0x1UL << UARTE_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */ 18282 #define UARTE_CONFIG_HWFC_Disabled (0x0UL) /*!< Disabled */ 18283 #define UARTE_CONFIG_HWFC_Enabled (0x1UL) /*!< Enabled */ 18284 18285 18286 /* Peripheral: UICR */ 18287 /* Description: User Information Configuration Registers User information configuration registers */ 18288 18289 /* Register: UICR_APPROTECT */ 18290 /* Description: Access port protection */ 18291 18292 /* Bits 31..0 : Blocks debugger read/write access to all CPU registers and 18293 memory mapped addresses. */ 18294 #define UICR_APPROTECT_PALL_Pos (0UL) /*!< Position of PALL field. */ 18295 #define UICR_APPROTECT_PALL_Msk (0xFFFFFFFFUL << UICR_APPROTECT_PALL_Pos) /*!< Bit mask of PALL field. */ 18296 #define UICR_APPROTECT_PALL_Protected (0x00000000UL) /*!< Protected */ 18297 #define UICR_APPROTECT_PALL_Unprotected (0x50FA50FAUL) /*!< Unprotected */ 18298 18299 /* Register: UICR_VREGHVOUT */ 18300 /* Description: Output voltage from the high voltage (VREGH) regulator stage. The maximum output voltage from this stage is given as VDDH - VREGHDROP. */ 18301 18302 /* Bits 2..0 : VREGH regulator output voltage. */ 18303 #define UICR_VREGHVOUT_VREGHVOUT_Pos (0UL) /*!< Position of VREGHVOUT field. */ 18304 #define UICR_VREGHVOUT_VREGHVOUT_Msk (0x7UL << UICR_VREGHVOUT_VREGHVOUT_Pos) /*!< Bit mask of VREGHVOUT field. */ 18305 #define UICR_VREGHVOUT_VREGHVOUT_1V8 (0x0UL) /*!< 1.8 V */ 18306 #define UICR_VREGHVOUT_VREGHVOUT_2V1 (0x1UL) /*!< 2.1 V */ 18307 #define UICR_VREGHVOUT_VREGHVOUT_2V4 (0x2UL) /*!< 2.4 V */ 18308 #define UICR_VREGHVOUT_VREGHVOUT_2V7 (0x3UL) /*!< 2.7 V */ 18309 #define UICR_VREGHVOUT_VREGHVOUT_3V0 (0x4UL) /*!< 3.0 V */ 18310 #define UICR_VREGHVOUT_VREGHVOUT_3V3 (0x5UL) /*!< 3.3 V */ 18311 #define UICR_VREGHVOUT_VREGHVOUT_DEFAULT (0x7UL) /*!< Default voltage: 1.8 V */ 18312 18313 /* Register: UICR_HFXOCNT */ 18314 /* Description: HFXO startup counter */ 18315 18316 /* Bits 7..0 : HFXO startup counter. Total debounce time = HFXOCNT*64 us + 0.5 us */ 18317 #define UICR_HFXOCNT_HFXOCNT_Pos (0UL) /*!< Position of HFXOCNT field. */ 18318 #define UICR_HFXOCNT_HFXOCNT_Msk (0xFFUL << UICR_HFXOCNT_HFXOCNT_Pos) /*!< Bit mask of HFXOCNT field. */ 18319 #define UICR_HFXOCNT_HFXOCNT_MinDebounceTime (0x00UL) /*!< Min debounce time = (0*64 us + 0.5 us) */ 18320 #define UICR_HFXOCNT_HFXOCNT_MaxDebounceTime (0xFEUL) /*!< Max debounce time = (254*64 us + 0.5 us) */ 18321 #define UICR_HFXOCNT_HFXOCNT_DefaultDebounceTime (0xFFUL) /*!< Default debounce time for erased UICR = 4*64 us + 0.5 us */ 18322 18323 /* Register: UICR_SECUREAPPROTECT */ 18324 /* Description: Secure access port protection */ 18325 18326 /* Bits 31..0 : Blocks debugger read/write access to all secure CPU registers and secure memory 18327 mapped addresses. */ 18328 #define UICR_SECUREAPPROTECT_PALL_Pos (0UL) /*!< Position of PALL field. */ 18329 #define UICR_SECUREAPPROTECT_PALL_Msk (0xFFFFFFFFUL << UICR_SECUREAPPROTECT_PALL_Pos) /*!< Bit mask of PALL field. */ 18330 #define UICR_SECUREAPPROTECT_PALL_Protected (0x00000000UL) /*!< Protected */ 18331 #define UICR_SECUREAPPROTECT_PALL_Unprotected (0x50FA50FAUL) /*!< Unprotected */ 18332 18333 /* Register: UICR_ERASEPROTECT */ 18334 /* Description: Erase protection */ 18335 18336 /* Bits 31..0 : Blocks NVMC ERASEALL and CTRLAP ERASEALL functionality. Using any value except Unprotected will lead to the protection being enabled. */ 18337 #define UICR_ERASEPROTECT_PALL_Pos (0UL) /*!< Position of PALL field. */ 18338 #define UICR_ERASEPROTECT_PALL_Msk (0xFFFFFFFFUL << UICR_ERASEPROTECT_PALL_Pos) /*!< Bit mask of PALL field. */ 18339 #define UICR_ERASEPROTECT_PALL_Protected (0x00000000UL) /*!< Protected */ 18340 #define UICR_ERASEPROTECT_PALL_Unprotected (0xFFFFFFFFUL) /*!< Unprotected */ 18341 18342 /* Register: UICR_TINSTANCE */ 18343 /* Description: SW-DP Target instance */ 18344 18345 /* Bits 31..28 : TINSTANCE bits are negated and used in the SW-DP DLPIDR.TINSTANCE field. E.g. 0xF in this field is translated to 0x0 in DLPIDR.TINSTANCE field. */ 18346 #define UICR_TINSTANCE_TINSTANCE_Pos (28UL) /*!< Position of TINSTANCE field. */ 18347 #define UICR_TINSTANCE_TINSTANCE_Msk (0xFUL << UICR_TINSTANCE_TINSTANCE_Pos) /*!< Bit mask of TINSTANCE field. */ 18348 18349 /* Register: UICR_NFCPINS */ 18350 /* Description: Setting of pins dedicated to NFC functionality: NFC antenna or GPIO */ 18351 18352 /* Bit 0 : Setting of pins dedicated to NFC functionality */ 18353 #define UICR_NFCPINS_PROTECT_Pos (0UL) /*!< Position of PROTECT field. */ 18354 #define UICR_NFCPINS_PROTECT_Msk (0x1UL << UICR_NFCPINS_PROTECT_Pos) /*!< Bit mask of PROTECT field. */ 18355 #define UICR_NFCPINS_PROTECT_Disabled (0x0UL) /*!< Operation as GPIO pins. Same protection as normal GPIO pins */ 18356 #define UICR_NFCPINS_PROTECT_NFC (0x1UL) /*!< Operation as NFC antenna pins. Configures the protection for NFC operation */ 18357 18358 /* Register: UICR_OTP */ 18359 /* Description: Description collection: One time programmable memory */ 18360 18361 /* Bits 31..16 : Upper half word */ 18362 #define UICR_OTP_UPPER_Pos (16UL) /*!< Position of UPPER field. */ 18363 #define UICR_OTP_UPPER_Msk (0xFFFFUL << UICR_OTP_UPPER_Pos) /*!< Bit mask of UPPER field. */ 18364 18365 /* Bits 15..0 : Lower half word */ 18366 #define UICR_OTP_LOWER_Pos (0UL) /*!< Position of LOWER field. */ 18367 #define UICR_OTP_LOWER_Msk (0xFFFFUL << UICR_OTP_LOWER_Pos) /*!< Bit mask of LOWER field. */ 18368 18369 /* Register: UICR_KEYSLOT_CONFIG_DEST */ 18370 /* Description: Description cluster: Destination address where content of the key value registers (KEYSLOT.KEYn.VALUE[0-3]) 18371 will be pushed by KMU. Note that this address must match that of a peripherals 18372 APB mapped write-only key registers, else the KMU can push this key value into 18373 an address range which the CPU can potentially read. */ 18374 18375 /* Bits 31..0 : Secure APB destination address */ 18376 #define UICR_KEYSLOT_CONFIG_DEST_DEST_Pos (0UL) /*!< Position of DEST field. */ 18377 #define UICR_KEYSLOT_CONFIG_DEST_DEST_Msk (0xFFFFFFFFUL << UICR_KEYSLOT_CONFIG_DEST_DEST_Pos) /*!< Bit mask of DEST field. */ 18378 18379 /* Register: UICR_KEYSLOT_CONFIG_PERM */ 18380 /* Description: Description cluster: Define permissions for the key slot. Bits 0-15 and 16-31 can only be written when equal to 0xFFFF. */ 18381 18382 /* Bit 16 : Revocation state for the key slot */ 18383 #define UICR_KEYSLOT_CONFIG_PERM_STATE_Pos (16UL) /*!< Position of STATE field. */ 18384 #define UICR_KEYSLOT_CONFIG_PERM_STATE_Msk (0x1UL << UICR_KEYSLOT_CONFIG_PERM_STATE_Pos) /*!< Bit mask of STATE field. */ 18385 #define UICR_KEYSLOT_CONFIG_PERM_STATE_Revoked (0x0UL) /*!< Key value registers can no longer be read or pushed */ 18386 #define UICR_KEYSLOT_CONFIG_PERM_STATE_Active (0x1UL) /*!< Key value registers are readable (if enabled) and can be pushed (if enabled) */ 18387 18388 /* Bit 2 : Push permission for key slot */ 18389 #define UICR_KEYSLOT_CONFIG_PERM_PUSH_Pos (2UL) /*!< Position of PUSH field. */ 18390 #define UICR_KEYSLOT_CONFIG_PERM_PUSH_Msk (0x1UL << UICR_KEYSLOT_CONFIG_PERM_PUSH_Pos) /*!< Bit mask of PUSH field. */ 18391 #define UICR_KEYSLOT_CONFIG_PERM_PUSH_Disabled (0x0UL) /*!< Disable pushing of key value registers over secure APB, but can be read if field READ is Enabled */ 18392 #define UICR_KEYSLOT_CONFIG_PERM_PUSH_Enabled (0x1UL) /*!< Enable pushing of key value registers over secure APB. Register KEYSLOT.CONFIGn.DEST must contain a valid destination address! */ 18393 18394 /* Bit 1 : Read permission for key slot */ 18395 #define UICR_KEYSLOT_CONFIG_PERM_READ_Pos (1UL) /*!< Position of READ field. */ 18396 #define UICR_KEYSLOT_CONFIG_PERM_READ_Msk (0x1UL << UICR_KEYSLOT_CONFIG_PERM_READ_Pos) /*!< Bit mask of READ field. */ 18397 #define UICR_KEYSLOT_CONFIG_PERM_READ_Disabled (0x0UL) /*!< Disable read from key value registers */ 18398 #define UICR_KEYSLOT_CONFIG_PERM_READ_Enabled (0x1UL) /*!< Enable read from key value registers */ 18399 18400 /* Bit 0 : Write permission for key slot */ 18401 #define UICR_KEYSLOT_CONFIG_PERM_WRITE_Pos (0UL) /*!< Position of WRITE field. */ 18402 #define UICR_KEYSLOT_CONFIG_PERM_WRITE_Msk (0x1UL << UICR_KEYSLOT_CONFIG_PERM_WRITE_Pos) /*!< Bit mask of WRITE field. */ 18403 #define UICR_KEYSLOT_CONFIG_PERM_WRITE_Disabled (0x0UL) /*!< Disable write to the key value registers */ 18404 #define UICR_KEYSLOT_CONFIG_PERM_WRITE_Enabled (0x1UL) /*!< Enable write to the key value registers */ 18405 18406 /* Register: UICR_KEYSLOT_KEY_VALUE */ 18407 /* Description: Description collection: Define bits [31+o*32:0+o*32] of value assigned to KMU key slot. */ 18408 18409 /* Bits 31..0 : Define bits [31+o*32:0+o*32] of value assigned to KMU key slot */ 18410 #define UICR_KEYSLOT_KEY_VALUE_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 18411 #define UICR_KEYSLOT_KEY_VALUE_VALUE_Msk (0xFFFFFFFFUL << UICR_KEYSLOT_KEY_VALUE_VALUE_Pos) /*!< Bit mask of VALUE field. */ 18412 18413 18414 /* Peripheral: USBD */ 18415 /* Description: Universal serial bus device 0 */ 18416 18417 /* Register: USBD_TASKS_STARTEPIN */ 18418 /* Description: Description collection: Captures the EPIN[n].PTR and EPIN[n].MAXCNT registers values, and enables endpoint IN n to respond to traffic from host */ 18419 18420 /* Bit 0 : Captures the EPIN[n].PTR and EPIN[n].MAXCNT registers values, and enables endpoint IN n to respond to traffic from host */ 18421 #define USBD_TASKS_STARTEPIN_TASKS_STARTEPIN_Pos (0UL) /*!< Position of TASKS_STARTEPIN field. */ 18422 #define USBD_TASKS_STARTEPIN_TASKS_STARTEPIN_Msk (0x1UL << USBD_TASKS_STARTEPIN_TASKS_STARTEPIN_Pos) /*!< Bit mask of TASKS_STARTEPIN field. */ 18423 #define USBD_TASKS_STARTEPIN_TASKS_STARTEPIN_Trigger (0x1UL) /*!< Trigger task */ 18424 18425 /* Register: USBD_TASKS_STARTISOIN */ 18426 /* Description: Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables sending data on ISO endpoint */ 18427 18428 /* Bit 0 : Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables sending data on ISO endpoint */ 18429 #define USBD_TASKS_STARTISOIN_TASKS_STARTISOIN_Pos (0UL) /*!< Position of TASKS_STARTISOIN field. */ 18430 #define USBD_TASKS_STARTISOIN_TASKS_STARTISOIN_Msk (0x1UL << USBD_TASKS_STARTISOIN_TASKS_STARTISOIN_Pos) /*!< Bit mask of TASKS_STARTISOIN field. */ 18431 #define USBD_TASKS_STARTISOIN_TASKS_STARTISOIN_Trigger (0x1UL) /*!< Trigger task */ 18432 18433 /* Register: USBD_TASKS_STARTEPOUT */ 18434 /* Description: Description collection: Captures the EPOUT[n].PTR and EPOUT[n].MAXCNT registers values, and enables endpoint n to respond to traffic from host */ 18435 18436 /* Bit 0 : Captures the EPOUT[n].PTR and EPOUT[n].MAXCNT registers values, and enables endpoint n to respond to traffic from host */ 18437 #define USBD_TASKS_STARTEPOUT_TASKS_STARTEPOUT_Pos (0UL) /*!< Position of TASKS_STARTEPOUT field. */ 18438 #define USBD_TASKS_STARTEPOUT_TASKS_STARTEPOUT_Msk (0x1UL << USBD_TASKS_STARTEPOUT_TASKS_STARTEPOUT_Pos) /*!< Bit mask of TASKS_STARTEPOUT field. */ 18439 #define USBD_TASKS_STARTEPOUT_TASKS_STARTEPOUT_Trigger (0x1UL) /*!< Trigger task */ 18440 18441 /* Register: USBD_TASKS_STARTISOOUT */ 18442 /* Description: Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and enables receiving of data on ISO endpoint */ 18443 18444 /* Bit 0 : Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and enables receiving of data on ISO endpoint */ 18445 #define USBD_TASKS_STARTISOOUT_TASKS_STARTISOOUT_Pos (0UL) /*!< Position of TASKS_STARTISOOUT field. */ 18446 #define USBD_TASKS_STARTISOOUT_TASKS_STARTISOOUT_Msk (0x1UL << USBD_TASKS_STARTISOOUT_TASKS_STARTISOOUT_Pos) /*!< Bit mask of TASKS_STARTISOOUT field. */ 18447 #define USBD_TASKS_STARTISOOUT_TASKS_STARTISOOUT_Trigger (0x1UL) /*!< Trigger task */ 18448 18449 /* Register: USBD_TASKS_EP0RCVOUT */ 18450 /* Description: Allows OUT data stage on control endpoint 0 */ 18451 18452 /* Bit 0 : Allows OUT data stage on control endpoint 0 */ 18453 #define USBD_TASKS_EP0RCVOUT_TASKS_EP0RCVOUT_Pos (0UL) /*!< Position of TASKS_EP0RCVOUT field. */ 18454 #define USBD_TASKS_EP0RCVOUT_TASKS_EP0RCVOUT_Msk (0x1UL << USBD_TASKS_EP0RCVOUT_TASKS_EP0RCVOUT_Pos) /*!< Bit mask of TASKS_EP0RCVOUT field. */ 18455 #define USBD_TASKS_EP0RCVOUT_TASKS_EP0RCVOUT_Trigger (0x1UL) /*!< Trigger task */ 18456 18457 /* Register: USBD_TASKS_EP0STATUS */ 18458 /* Description: Allows status stage on control endpoint 0 */ 18459 18460 /* Bit 0 : Allows status stage on control endpoint 0 */ 18461 #define USBD_TASKS_EP0STATUS_TASKS_EP0STATUS_Pos (0UL) /*!< Position of TASKS_EP0STATUS field. */ 18462 #define USBD_TASKS_EP0STATUS_TASKS_EP0STATUS_Msk (0x1UL << USBD_TASKS_EP0STATUS_TASKS_EP0STATUS_Pos) /*!< Bit mask of TASKS_EP0STATUS field. */ 18463 #define USBD_TASKS_EP0STATUS_TASKS_EP0STATUS_Trigger (0x1UL) /*!< Trigger task */ 18464 18465 /* Register: USBD_TASKS_EP0STALL */ 18466 /* Description: Stalls data and status stage on control endpoint 0 */ 18467 18468 /* Bit 0 : Stalls data and status stage on control endpoint 0 */ 18469 #define USBD_TASKS_EP0STALL_TASKS_EP0STALL_Pos (0UL) /*!< Position of TASKS_EP0STALL field. */ 18470 #define USBD_TASKS_EP0STALL_TASKS_EP0STALL_Msk (0x1UL << USBD_TASKS_EP0STALL_TASKS_EP0STALL_Pos) /*!< Bit mask of TASKS_EP0STALL field. */ 18471 #define USBD_TASKS_EP0STALL_TASKS_EP0STALL_Trigger (0x1UL) /*!< Trigger task */ 18472 18473 /* Register: USBD_TASKS_DPDMDRIVE */ 18474 /* Description: Forces D+ and D- lines into the state defined in the DPDMVALUE register */ 18475 18476 /* Bit 0 : Forces D+ and D- lines into the state defined in the DPDMVALUE register */ 18477 #define USBD_TASKS_DPDMDRIVE_TASKS_DPDMDRIVE_Pos (0UL) /*!< Position of TASKS_DPDMDRIVE field. */ 18478 #define USBD_TASKS_DPDMDRIVE_TASKS_DPDMDRIVE_Msk (0x1UL << USBD_TASKS_DPDMDRIVE_TASKS_DPDMDRIVE_Pos) /*!< Bit mask of TASKS_DPDMDRIVE field. */ 18479 #define USBD_TASKS_DPDMDRIVE_TASKS_DPDMDRIVE_Trigger (0x1UL) /*!< Trigger task */ 18480 18481 /* Register: USBD_TASKS_DPDMNODRIVE */ 18482 /* Description: Stops forcing D+ and D- lines into any state (USB engine takes control) */ 18483 18484 /* Bit 0 : Stops forcing D+ and D- lines into any state (USB engine takes control) */ 18485 #define USBD_TASKS_DPDMNODRIVE_TASKS_DPDMNODRIVE_Pos (0UL) /*!< Position of TASKS_DPDMNODRIVE field. */ 18486 #define USBD_TASKS_DPDMNODRIVE_TASKS_DPDMNODRIVE_Msk (0x1UL << USBD_TASKS_DPDMNODRIVE_TASKS_DPDMNODRIVE_Pos) /*!< Bit mask of TASKS_DPDMNODRIVE field. */ 18487 #define USBD_TASKS_DPDMNODRIVE_TASKS_DPDMNODRIVE_Trigger (0x1UL) /*!< Trigger task */ 18488 18489 /* Register: USBD_SUBSCRIBE_STARTEPIN */ 18490 /* Description: Description collection: Subscribe configuration for task STARTEPIN[n] */ 18491 18492 /* Bit 31 : */ 18493 #define USBD_SUBSCRIBE_STARTEPIN_EN_Pos (31UL) /*!< Position of EN field. */ 18494 #define USBD_SUBSCRIBE_STARTEPIN_EN_Msk (0x1UL << USBD_SUBSCRIBE_STARTEPIN_EN_Pos) /*!< Bit mask of EN field. */ 18495 #define USBD_SUBSCRIBE_STARTEPIN_EN_Disabled (0x0UL) /*!< Disable subscription */ 18496 #define USBD_SUBSCRIBE_STARTEPIN_EN_Enabled (0x1UL) /*!< Enable subscription */ 18497 18498 /* Bits 7..0 : DPPI channel that task STARTEPIN[n] will subscribe to */ 18499 #define USBD_SUBSCRIBE_STARTEPIN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18500 #define USBD_SUBSCRIBE_STARTEPIN_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_STARTEPIN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18501 18502 /* Register: USBD_SUBSCRIBE_STARTISOIN */ 18503 /* Description: Subscribe configuration for task STARTISOIN */ 18504 18505 /* Bit 31 : */ 18506 #define USBD_SUBSCRIBE_STARTISOIN_EN_Pos (31UL) /*!< Position of EN field. */ 18507 #define USBD_SUBSCRIBE_STARTISOIN_EN_Msk (0x1UL << USBD_SUBSCRIBE_STARTISOIN_EN_Pos) /*!< Bit mask of EN field. */ 18508 #define USBD_SUBSCRIBE_STARTISOIN_EN_Disabled (0x0UL) /*!< Disable subscription */ 18509 #define USBD_SUBSCRIBE_STARTISOIN_EN_Enabled (0x1UL) /*!< Enable subscription */ 18510 18511 /* Bits 7..0 : DPPI channel that task STARTISOIN will subscribe to */ 18512 #define USBD_SUBSCRIBE_STARTISOIN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18513 #define USBD_SUBSCRIBE_STARTISOIN_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_STARTISOIN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18514 18515 /* Register: USBD_SUBSCRIBE_STARTEPOUT */ 18516 /* Description: Description collection: Subscribe configuration for task STARTEPOUT[n] */ 18517 18518 /* Bit 31 : */ 18519 #define USBD_SUBSCRIBE_STARTEPOUT_EN_Pos (31UL) /*!< Position of EN field. */ 18520 #define USBD_SUBSCRIBE_STARTEPOUT_EN_Msk (0x1UL << USBD_SUBSCRIBE_STARTEPOUT_EN_Pos) /*!< Bit mask of EN field. */ 18521 #define USBD_SUBSCRIBE_STARTEPOUT_EN_Disabled (0x0UL) /*!< Disable subscription */ 18522 #define USBD_SUBSCRIBE_STARTEPOUT_EN_Enabled (0x1UL) /*!< Enable subscription */ 18523 18524 /* Bits 7..0 : DPPI channel that task STARTEPOUT[n] will subscribe to */ 18525 #define USBD_SUBSCRIBE_STARTEPOUT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18526 #define USBD_SUBSCRIBE_STARTEPOUT_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_STARTEPOUT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18527 18528 /* Register: USBD_SUBSCRIBE_STARTISOOUT */ 18529 /* Description: Subscribe configuration for task STARTISOOUT */ 18530 18531 /* Bit 31 : */ 18532 #define USBD_SUBSCRIBE_STARTISOOUT_EN_Pos (31UL) /*!< Position of EN field. */ 18533 #define USBD_SUBSCRIBE_STARTISOOUT_EN_Msk (0x1UL << USBD_SUBSCRIBE_STARTISOOUT_EN_Pos) /*!< Bit mask of EN field. */ 18534 #define USBD_SUBSCRIBE_STARTISOOUT_EN_Disabled (0x0UL) /*!< Disable subscription */ 18535 #define USBD_SUBSCRIBE_STARTISOOUT_EN_Enabled (0x1UL) /*!< Enable subscription */ 18536 18537 /* Bits 7..0 : DPPI channel that task STARTISOOUT will subscribe to */ 18538 #define USBD_SUBSCRIBE_STARTISOOUT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18539 #define USBD_SUBSCRIBE_STARTISOOUT_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_STARTISOOUT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18540 18541 /* Register: USBD_SUBSCRIBE_EP0RCVOUT */ 18542 /* Description: Subscribe configuration for task EP0RCVOUT */ 18543 18544 /* Bit 31 : */ 18545 #define USBD_SUBSCRIBE_EP0RCVOUT_EN_Pos (31UL) /*!< Position of EN field. */ 18546 #define USBD_SUBSCRIBE_EP0RCVOUT_EN_Msk (0x1UL << USBD_SUBSCRIBE_EP0RCVOUT_EN_Pos) /*!< Bit mask of EN field. */ 18547 #define USBD_SUBSCRIBE_EP0RCVOUT_EN_Disabled (0x0UL) /*!< Disable subscription */ 18548 #define USBD_SUBSCRIBE_EP0RCVOUT_EN_Enabled (0x1UL) /*!< Enable subscription */ 18549 18550 /* Bits 7..0 : DPPI channel that task EP0RCVOUT will subscribe to */ 18551 #define USBD_SUBSCRIBE_EP0RCVOUT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18552 #define USBD_SUBSCRIBE_EP0RCVOUT_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_EP0RCVOUT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18553 18554 /* Register: USBD_SUBSCRIBE_EP0STATUS */ 18555 /* Description: Subscribe configuration for task EP0STATUS */ 18556 18557 /* Bit 31 : */ 18558 #define USBD_SUBSCRIBE_EP0STATUS_EN_Pos (31UL) /*!< Position of EN field. */ 18559 #define USBD_SUBSCRIBE_EP0STATUS_EN_Msk (0x1UL << USBD_SUBSCRIBE_EP0STATUS_EN_Pos) /*!< Bit mask of EN field. */ 18560 #define USBD_SUBSCRIBE_EP0STATUS_EN_Disabled (0x0UL) /*!< Disable subscription */ 18561 #define USBD_SUBSCRIBE_EP0STATUS_EN_Enabled (0x1UL) /*!< Enable subscription */ 18562 18563 /* Bits 7..0 : DPPI channel that task EP0STATUS will subscribe to */ 18564 #define USBD_SUBSCRIBE_EP0STATUS_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18565 #define USBD_SUBSCRIBE_EP0STATUS_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_EP0STATUS_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18566 18567 /* Register: USBD_SUBSCRIBE_EP0STALL */ 18568 /* Description: Subscribe configuration for task EP0STALL */ 18569 18570 /* Bit 31 : */ 18571 #define USBD_SUBSCRIBE_EP0STALL_EN_Pos (31UL) /*!< Position of EN field. */ 18572 #define USBD_SUBSCRIBE_EP0STALL_EN_Msk (0x1UL << USBD_SUBSCRIBE_EP0STALL_EN_Pos) /*!< Bit mask of EN field. */ 18573 #define USBD_SUBSCRIBE_EP0STALL_EN_Disabled (0x0UL) /*!< Disable subscription */ 18574 #define USBD_SUBSCRIBE_EP0STALL_EN_Enabled (0x1UL) /*!< Enable subscription */ 18575 18576 /* Bits 7..0 : DPPI channel that task EP0STALL will subscribe to */ 18577 #define USBD_SUBSCRIBE_EP0STALL_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18578 #define USBD_SUBSCRIBE_EP0STALL_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_EP0STALL_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18579 18580 /* Register: USBD_SUBSCRIBE_DPDMDRIVE */ 18581 /* Description: Subscribe configuration for task DPDMDRIVE */ 18582 18583 /* Bit 31 : */ 18584 #define USBD_SUBSCRIBE_DPDMDRIVE_EN_Pos (31UL) /*!< Position of EN field. */ 18585 #define USBD_SUBSCRIBE_DPDMDRIVE_EN_Msk (0x1UL << USBD_SUBSCRIBE_DPDMDRIVE_EN_Pos) /*!< Bit mask of EN field. */ 18586 #define USBD_SUBSCRIBE_DPDMDRIVE_EN_Disabled (0x0UL) /*!< Disable subscription */ 18587 #define USBD_SUBSCRIBE_DPDMDRIVE_EN_Enabled (0x1UL) /*!< Enable subscription */ 18588 18589 /* Bits 7..0 : DPPI channel that task DPDMDRIVE will subscribe to */ 18590 #define USBD_SUBSCRIBE_DPDMDRIVE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18591 #define USBD_SUBSCRIBE_DPDMDRIVE_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_DPDMDRIVE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18592 18593 /* Register: USBD_SUBSCRIBE_DPDMNODRIVE */ 18594 /* Description: Subscribe configuration for task DPDMNODRIVE */ 18595 18596 /* Bit 31 : */ 18597 #define USBD_SUBSCRIBE_DPDMNODRIVE_EN_Pos (31UL) /*!< Position of EN field. */ 18598 #define USBD_SUBSCRIBE_DPDMNODRIVE_EN_Msk (0x1UL << USBD_SUBSCRIBE_DPDMNODRIVE_EN_Pos) /*!< Bit mask of EN field. */ 18599 #define USBD_SUBSCRIBE_DPDMNODRIVE_EN_Disabled (0x0UL) /*!< Disable subscription */ 18600 #define USBD_SUBSCRIBE_DPDMNODRIVE_EN_Enabled (0x1UL) /*!< Enable subscription */ 18601 18602 /* Bits 7..0 : DPPI channel that task DPDMNODRIVE will subscribe to */ 18603 #define USBD_SUBSCRIBE_DPDMNODRIVE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18604 #define USBD_SUBSCRIBE_DPDMNODRIVE_CHIDX_Msk (0xFFUL << USBD_SUBSCRIBE_DPDMNODRIVE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18605 18606 /* Register: USBD_EVENTS_USBRESET */ 18607 /* Description: Signals that a USB reset condition has been detected on USB lines */ 18608 18609 /* Bit 0 : Signals that a USB reset condition has been detected on USB lines */ 18610 #define USBD_EVENTS_USBRESET_EVENTS_USBRESET_Pos (0UL) /*!< Position of EVENTS_USBRESET field. */ 18611 #define USBD_EVENTS_USBRESET_EVENTS_USBRESET_Msk (0x1UL << USBD_EVENTS_USBRESET_EVENTS_USBRESET_Pos) /*!< Bit mask of EVENTS_USBRESET field. */ 18612 #define USBD_EVENTS_USBRESET_EVENTS_USBRESET_NotGenerated (0x0UL) /*!< Event not generated */ 18613 #define USBD_EVENTS_USBRESET_EVENTS_USBRESET_Generated (0x1UL) /*!< Event generated */ 18614 18615 /* Register: USBD_EVENTS_STARTED */ 18616 /* Description: Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and EPOUT[n].MAXCNT registers have been captured on all endpoints reported in the EPSTATUS register */ 18617 18618 /* Bit 0 : Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and EPOUT[n].MAXCNT registers have been captured on all endpoints reported in the EPSTATUS register */ 18619 #define USBD_EVENTS_STARTED_EVENTS_STARTED_Pos (0UL) /*!< Position of EVENTS_STARTED field. */ 18620 #define USBD_EVENTS_STARTED_EVENTS_STARTED_Msk (0x1UL << USBD_EVENTS_STARTED_EVENTS_STARTED_Pos) /*!< Bit mask of EVENTS_STARTED field. */ 18621 #define USBD_EVENTS_STARTED_EVENTS_STARTED_NotGenerated (0x0UL) /*!< Event not generated */ 18622 #define USBD_EVENTS_STARTED_EVENTS_STARTED_Generated (0x1UL) /*!< Event generated */ 18623 18624 /* Register: USBD_EVENTS_ENDEPIN */ 18625 /* Description: Description collection: The whole EPIN[n] buffer has been consumed. The buffer can be accessed safely by software. */ 18626 18627 /* Bit 0 : The whole EPIN[n] buffer has been consumed. The buffer can be accessed safely by software. */ 18628 #define USBD_EVENTS_ENDEPIN_EVENTS_ENDEPIN_Pos (0UL) /*!< Position of EVENTS_ENDEPIN field. */ 18629 #define USBD_EVENTS_ENDEPIN_EVENTS_ENDEPIN_Msk (0x1UL << USBD_EVENTS_ENDEPIN_EVENTS_ENDEPIN_Pos) /*!< Bit mask of EVENTS_ENDEPIN field. */ 18630 #define USBD_EVENTS_ENDEPIN_EVENTS_ENDEPIN_NotGenerated (0x0UL) /*!< Event not generated */ 18631 #define USBD_EVENTS_ENDEPIN_EVENTS_ENDEPIN_Generated (0x1UL) /*!< Event generated */ 18632 18633 /* Register: USBD_EVENTS_EP0DATADONE */ 18634 /* Description: An acknowledged data transfer has taken place on the control endpoint */ 18635 18636 /* Bit 0 : An acknowledged data transfer has taken place on the control endpoint */ 18637 #define USBD_EVENTS_EP0DATADONE_EVENTS_EP0DATADONE_Pos (0UL) /*!< Position of EVENTS_EP0DATADONE field. */ 18638 #define USBD_EVENTS_EP0DATADONE_EVENTS_EP0DATADONE_Msk (0x1UL << USBD_EVENTS_EP0DATADONE_EVENTS_EP0DATADONE_Pos) /*!< Bit mask of EVENTS_EP0DATADONE field. */ 18639 #define USBD_EVENTS_EP0DATADONE_EVENTS_EP0DATADONE_NotGenerated (0x0UL) /*!< Event not generated */ 18640 #define USBD_EVENTS_EP0DATADONE_EVENTS_EP0DATADONE_Generated (0x1UL) /*!< Event generated */ 18641 18642 /* Register: USBD_EVENTS_ENDISOIN */ 18643 /* Description: The whole ISOIN buffer has been consumed. The buffer can be accessed safely by software. */ 18644 18645 /* Bit 0 : The whole ISOIN buffer has been consumed. The buffer can be accessed safely by software. */ 18646 #define USBD_EVENTS_ENDISOIN_EVENTS_ENDISOIN_Pos (0UL) /*!< Position of EVENTS_ENDISOIN field. */ 18647 #define USBD_EVENTS_ENDISOIN_EVENTS_ENDISOIN_Msk (0x1UL << USBD_EVENTS_ENDISOIN_EVENTS_ENDISOIN_Pos) /*!< Bit mask of EVENTS_ENDISOIN field. */ 18648 #define USBD_EVENTS_ENDISOIN_EVENTS_ENDISOIN_NotGenerated (0x0UL) /*!< Event not generated */ 18649 #define USBD_EVENTS_ENDISOIN_EVENTS_ENDISOIN_Generated (0x1UL) /*!< Event generated */ 18650 18651 /* Register: USBD_EVENTS_ENDEPOUT */ 18652 /* Description: Description collection: The whole EPOUT[n] buffer has been consumed. The buffer can be accessed safely by software. */ 18653 18654 /* Bit 0 : The whole EPOUT[n] buffer has been consumed. The buffer can be accessed safely by software. */ 18655 #define USBD_EVENTS_ENDEPOUT_EVENTS_ENDEPOUT_Pos (0UL) /*!< Position of EVENTS_ENDEPOUT field. */ 18656 #define USBD_EVENTS_ENDEPOUT_EVENTS_ENDEPOUT_Msk (0x1UL << USBD_EVENTS_ENDEPOUT_EVENTS_ENDEPOUT_Pos) /*!< Bit mask of EVENTS_ENDEPOUT field. */ 18657 #define USBD_EVENTS_ENDEPOUT_EVENTS_ENDEPOUT_NotGenerated (0x0UL) /*!< Event not generated */ 18658 #define USBD_EVENTS_ENDEPOUT_EVENTS_ENDEPOUT_Generated (0x1UL) /*!< Event generated */ 18659 18660 /* Register: USBD_EVENTS_ENDISOOUT */ 18661 /* Description: The whole ISOOUT buffer has been consumed. The buffer can be accessed safely by software. */ 18662 18663 /* Bit 0 : The whole ISOOUT buffer has been consumed. The buffer can be accessed safely by software. */ 18664 #define USBD_EVENTS_ENDISOOUT_EVENTS_ENDISOOUT_Pos (0UL) /*!< Position of EVENTS_ENDISOOUT field. */ 18665 #define USBD_EVENTS_ENDISOOUT_EVENTS_ENDISOOUT_Msk (0x1UL << USBD_EVENTS_ENDISOOUT_EVENTS_ENDISOOUT_Pos) /*!< Bit mask of EVENTS_ENDISOOUT field. */ 18666 #define USBD_EVENTS_ENDISOOUT_EVENTS_ENDISOOUT_NotGenerated (0x0UL) /*!< Event not generated */ 18667 #define USBD_EVENTS_ENDISOOUT_EVENTS_ENDISOOUT_Generated (0x1UL) /*!< Event generated */ 18668 18669 /* Register: USBD_EVENTS_SOF */ 18670 /* Description: Signals that a SOF (start of frame) condition has been detected on USB lines */ 18671 18672 /* Bit 0 : Signals that a SOF (start of frame) condition has been detected on USB lines */ 18673 #define USBD_EVENTS_SOF_EVENTS_SOF_Pos (0UL) /*!< Position of EVENTS_SOF field. */ 18674 #define USBD_EVENTS_SOF_EVENTS_SOF_Msk (0x1UL << USBD_EVENTS_SOF_EVENTS_SOF_Pos) /*!< Bit mask of EVENTS_SOF field. */ 18675 #define USBD_EVENTS_SOF_EVENTS_SOF_NotGenerated (0x0UL) /*!< Event not generated */ 18676 #define USBD_EVENTS_SOF_EVENTS_SOF_Generated (0x1UL) /*!< Event generated */ 18677 18678 /* Register: USBD_EVENTS_USBEVENT */ 18679 /* Description: An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the cause. */ 18680 18681 /* Bit 0 : An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the cause. */ 18682 #define USBD_EVENTS_USBEVENT_EVENTS_USBEVENT_Pos (0UL) /*!< Position of EVENTS_USBEVENT field. */ 18683 #define USBD_EVENTS_USBEVENT_EVENTS_USBEVENT_Msk (0x1UL << USBD_EVENTS_USBEVENT_EVENTS_USBEVENT_Pos) /*!< Bit mask of EVENTS_USBEVENT field. */ 18684 #define USBD_EVENTS_USBEVENT_EVENTS_USBEVENT_NotGenerated (0x0UL) /*!< Event not generated */ 18685 #define USBD_EVENTS_USBEVENT_EVENTS_USBEVENT_Generated (0x1UL) /*!< Event generated */ 18686 18687 /* Register: USBD_EVENTS_EP0SETUP */ 18688 /* Description: A valid SETUP token has been received (and acknowledged) on the control endpoint */ 18689 18690 /* Bit 0 : A valid SETUP token has been received (and acknowledged) on the control endpoint */ 18691 #define USBD_EVENTS_EP0SETUP_EVENTS_EP0SETUP_Pos (0UL) /*!< Position of EVENTS_EP0SETUP field. */ 18692 #define USBD_EVENTS_EP0SETUP_EVENTS_EP0SETUP_Msk (0x1UL << USBD_EVENTS_EP0SETUP_EVENTS_EP0SETUP_Pos) /*!< Bit mask of EVENTS_EP0SETUP field. */ 18693 #define USBD_EVENTS_EP0SETUP_EVENTS_EP0SETUP_NotGenerated (0x0UL) /*!< Event not generated */ 18694 #define USBD_EVENTS_EP0SETUP_EVENTS_EP0SETUP_Generated (0x1UL) /*!< Event generated */ 18695 18696 /* Register: USBD_EVENTS_EPDATA */ 18697 /* Description: A data transfer has occurred on a data endpoint, indicated by the EPDATASTATUS register */ 18698 18699 /* Bit 0 : A data transfer has occurred on a data endpoint, indicated by the EPDATASTATUS register */ 18700 #define USBD_EVENTS_EPDATA_EVENTS_EPDATA_Pos (0UL) /*!< Position of EVENTS_EPDATA field. */ 18701 #define USBD_EVENTS_EPDATA_EVENTS_EPDATA_Msk (0x1UL << USBD_EVENTS_EPDATA_EVENTS_EPDATA_Pos) /*!< Bit mask of EVENTS_EPDATA field. */ 18702 #define USBD_EVENTS_EPDATA_EVENTS_EPDATA_NotGenerated (0x0UL) /*!< Event not generated */ 18703 #define USBD_EVENTS_EPDATA_EVENTS_EPDATA_Generated (0x1UL) /*!< Event generated */ 18704 18705 /* Register: USBD_PUBLISH_USBRESET */ 18706 /* Description: Publish configuration for event USBRESET */ 18707 18708 /* Bit 31 : */ 18709 #define USBD_PUBLISH_USBRESET_EN_Pos (31UL) /*!< Position of EN field. */ 18710 #define USBD_PUBLISH_USBRESET_EN_Msk (0x1UL << USBD_PUBLISH_USBRESET_EN_Pos) /*!< Bit mask of EN field. */ 18711 #define USBD_PUBLISH_USBRESET_EN_Disabled (0x0UL) /*!< Disable publishing */ 18712 #define USBD_PUBLISH_USBRESET_EN_Enabled (0x1UL) /*!< Enable publishing */ 18713 18714 /* Bits 7..0 : DPPI channel that event USBRESET will publish to */ 18715 #define USBD_PUBLISH_USBRESET_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18716 #define USBD_PUBLISH_USBRESET_CHIDX_Msk (0xFFUL << USBD_PUBLISH_USBRESET_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18717 18718 /* Register: USBD_PUBLISH_STARTED */ 18719 /* Description: Publish configuration for event STARTED */ 18720 18721 /* Bit 31 : */ 18722 #define USBD_PUBLISH_STARTED_EN_Pos (31UL) /*!< Position of EN field. */ 18723 #define USBD_PUBLISH_STARTED_EN_Msk (0x1UL << USBD_PUBLISH_STARTED_EN_Pos) /*!< Bit mask of EN field. */ 18724 #define USBD_PUBLISH_STARTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 18725 #define USBD_PUBLISH_STARTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 18726 18727 /* Bits 7..0 : DPPI channel that event STARTED will publish to */ 18728 #define USBD_PUBLISH_STARTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18729 #define USBD_PUBLISH_STARTED_CHIDX_Msk (0xFFUL << USBD_PUBLISH_STARTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18730 18731 /* Register: USBD_PUBLISH_ENDEPIN */ 18732 /* Description: Description collection: Publish configuration for event ENDEPIN[n] */ 18733 18734 /* Bit 31 : */ 18735 #define USBD_PUBLISH_ENDEPIN_EN_Pos (31UL) /*!< Position of EN field. */ 18736 #define USBD_PUBLISH_ENDEPIN_EN_Msk (0x1UL << USBD_PUBLISH_ENDEPIN_EN_Pos) /*!< Bit mask of EN field. */ 18737 #define USBD_PUBLISH_ENDEPIN_EN_Disabled (0x0UL) /*!< Disable publishing */ 18738 #define USBD_PUBLISH_ENDEPIN_EN_Enabled (0x1UL) /*!< Enable publishing */ 18739 18740 /* Bits 7..0 : DPPI channel that event ENDEPIN[n] will publish to */ 18741 #define USBD_PUBLISH_ENDEPIN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18742 #define USBD_PUBLISH_ENDEPIN_CHIDX_Msk (0xFFUL << USBD_PUBLISH_ENDEPIN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18743 18744 /* Register: USBD_PUBLISH_EP0DATADONE */ 18745 /* Description: Publish configuration for event EP0DATADONE */ 18746 18747 /* Bit 31 : */ 18748 #define USBD_PUBLISH_EP0DATADONE_EN_Pos (31UL) /*!< Position of EN field. */ 18749 #define USBD_PUBLISH_EP0DATADONE_EN_Msk (0x1UL << USBD_PUBLISH_EP0DATADONE_EN_Pos) /*!< Bit mask of EN field. */ 18750 #define USBD_PUBLISH_EP0DATADONE_EN_Disabled (0x0UL) /*!< Disable publishing */ 18751 #define USBD_PUBLISH_EP0DATADONE_EN_Enabled (0x1UL) /*!< Enable publishing */ 18752 18753 /* Bits 7..0 : DPPI channel that event EP0DATADONE will publish to */ 18754 #define USBD_PUBLISH_EP0DATADONE_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18755 #define USBD_PUBLISH_EP0DATADONE_CHIDX_Msk (0xFFUL << USBD_PUBLISH_EP0DATADONE_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18756 18757 /* Register: USBD_PUBLISH_ENDISOIN */ 18758 /* Description: Publish configuration for event ENDISOIN */ 18759 18760 /* Bit 31 : */ 18761 #define USBD_PUBLISH_ENDISOIN_EN_Pos (31UL) /*!< Position of EN field. */ 18762 #define USBD_PUBLISH_ENDISOIN_EN_Msk (0x1UL << USBD_PUBLISH_ENDISOIN_EN_Pos) /*!< Bit mask of EN field. */ 18763 #define USBD_PUBLISH_ENDISOIN_EN_Disabled (0x0UL) /*!< Disable publishing */ 18764 #define USBD_PUBLISH_ENDISOIN_EN_Enabled (0x1UL) /*!< Enable publishing */ 18765 18766 /* Bits 7..0 : DPPI channel that event ENDISOIN will publish to */ 18767 #define USBD_PUBLISH_ENDISOIN_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18768 #define USBD_PUBLISH_ENDISOIN_CHIDX_Msk (0xFFUL << USBD_PUBLISH_ENDISOIN_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18769 18770 /* Register: USBD_PUBLISH_ENDEPOUT */ 18771 /* Description: Description collection: Publish configuration for event ENDEPOUT[n] */ 18772 18773 /* Bit 31 : */ 18774 #define USBD_PUBLISH_ENDEPOUT_EN_Pos (31UL) /*!< Position of EN field. */ 18775 #define USBD_PUBLISH_ENDEPOUT_EN_Msk (0x1UL << USBD_PUBLISH_ENDEPOUT_EN_Pos) /*!< Bit mask of EN field. */ 18776 #define USBD_PUBLISH_ENDEPOUT_EN_Disabled (0x0UL) /*!< Disable publishing */ 18777 #define USBD_PUBLISH_ENDEPOUT_EN_Enabled (0x1UL) /*!< Enable publishing */ 18778 18779 /* Bits 7..0 : DPPI channel that event ENDEPOUT[n] will publish to */ 18780 #define USBD_PUBLISH_ENDEPOUT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18781 #define USBD_PUBLISH_ENDEPOUT_CHIDX_Msk (0xFFUL << USBD_PUBLISH_ENDEPOUT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18782 18783 /* Register: USBD_PUBLISH_ENDISOOUT */ 18784 /* Description: Publish configuration for event ENDISOOUT */ 18785 18786 /* Bit 31 : */ 18787 #define USBD_PUBLISH_ENDISOOUT_EN_Pos (31UL) /*!< Position of EN field. */ 18788 #define USBD_PUBLISH_ENDISOOUT_EN_Msk (0x1UL << USBD_PUBLISH_ENDISOOUT_EN_Pos) /*!< Bit mask of EN field. */ 18789 #define USBD_PUBLISH_ENDISOOUT_EN_Disabled (0x0UL) /*!< Disable publishing */ 18790 #define USBD_PUBLISH_ENDISOOUT_EN_Enabled (0x1UL) /*!< Enable publishing */ 18791 18792 /* Bits 7..0 : DPPI channel that event ENDISOOUT will publish to */ 18793 #define USBD_PUBLISH_ENDISOOUT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18794 #define USBD_PUBLISH_ENDISOOUT_CHIDX_Msk (0xFFUL << USBD_PUBLISH_ENDISOOUT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18795 18796 /* Register: USBD_PUBLISH_SOF */ 18797 /* Description: Publish configuration for event SOF */ 18798 18799 /* Bit 31 : */ 18800 #define USBD_PUBLISH_SOF_EN_Pos (31UL) /*!< Position of EN field. */ 18801 #define USBD_PUBLISH_SOF_EN_Msk (0x1UL << USBD_PUBLISH_SOF_EN_Pos) /*!< Bit mask of EN field. */ 18802 #define USBD_PUBLISH_SOF_EN_Disabled (0x0UL) /*!< Disable publishing */ 18803 #define USBD_PUBLISH_SOF_EN_Enabled (0x1UL) /*!< Enable publishing */ 18804 18805 /* Bits 7..0 : DPPI channel that event SOF will publish to */ 18806 #define USBD_PUBLISH_SOF_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18807 #define USBD_PUBLISH_SOF_CHIDX_Msk (0xFFUL << USBD_PUBLISH_SOF_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18808 18809 /* Register: USBD_PUBLISH_USBEVENT */ 18810 /* Description: Publish configuration for event USBEVENT */ 18811 18812 /* Bit 31 : */ 18813 #define USBD_PUBLISH_USBEVENT_EN_Pos (31UL) /*!< Position of EN field. */ 18814 #define USBD_PUBLISH_USBEVENT_EN_Msk (0x1UL << USBD_PUBLISH_USBEVENT_EN_Pos) /*!< Bit mask of EN field. */ 18815 #define USBD_PUBLISH_USBEVENT_EN_Disabled (0x0UL) /*!< Disable publishing */ 18816 #define USBD_PUBLISH_USBEVENT_EN_Enabled (0x1UL) /*!< Enable publishing */ 18817 18818 /* Bits 7..0 : DPPI channel that event USBEVENT will publish to */ 18819 #define USBD_PUBLISH_USBEVENT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18820 #define USBD_PUBLISH_USBEVENT_CHIDX_Msk (0xFFUL << USBD_PUBLISH_USBEVENT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18821 18822 /* Register: USBD_PUBLISH_EP0SETUP */ 18823 /* Description: Publish configuration for event EP0SETUP */ 18824 18825 /* Bit 31 : */ 18826 #define USBD_PUBLISH_EP0SETUP_EN_Pos (31UL) /*!< Position of EN field. */ 18827 #define USBD_PUBLISH_EP0SETUP_EN_Msk (0x1UL << USBD_PUBLISH_EP0SETUP_EN_Pos) /*!< Bit mask of EN field. */ 18828 #define USBD_PUBLISH_EP0SETUP_EN_Disabled (0x0UL) /*!< Disable publishing */ 18829 #define USBD_PUBLISH_EP0SETUP_EN_Enabled (0x1UL) /*!< Enable publishing */ 18830 18831 /* Bits 7..0 : DPPI channel that event EP0SETUP will publish to */ 18832 #define USBD_PUBLISH_EP0SETUP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18833 #define USBD_PUBLISH_EP0SETUP_CHIDX_Msk (0xFFUL << USBD_PUBLISH_EP0SETUP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18834 18835 /* Register: USBD_PUBLISH_EPDATA */ 18836 /* Description: Publish configuration for event EPDATA */ 18837 18838 /* Bit 31 : */ 18839 #define USBD_PUBLISH_EPDATA_EN_Pos (31UL) /*!< Position of EN field. */ 18840 #define USBD_PUBLISH_EPDATA_EN_Msk (0x1UL << USBD_PUBLISH_EPDATA_EN_Pos) /*!< Bit mask of EN field. */ 18841 #define USBD_PUBLISH_EPDATA_EN_Disabled (0x0UL) /*!< Disable publishing */ 18842 #define USBD_PUBLISH_EPDATA_EN_Enabled (0x1UL) /*!< Enable publishing */ 18843 18844 /* Bits 7..0 : DPPI channel that event EPDATA will publish to */ 18845 #define USBD_PUBLISH_EPDATA_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 18846 #define USBD_PUBLISH_EPDATA_CHIDX_Msk (0xFFUL << USBD_PUBLISH_EPDATA_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 18847 18848 /* Register: USBD_SHORTS */ 18849 /* Description: Shortcuts between local events and tasks */ 18850 18851 /* Bit 4 : Shortcut between event ENDEPOUT[0] and task EP0RCVOUT */ 18852 #define USBD_SHORTS_ENDEPOUT0_EP0RCVOUT_Pos (4UL) /*!< Position of ENDEPOUT0_EP0RCVOUT field. */ 18853 #define USBD_SHORTS_ENDEPOUT0_EP0RCVOUT_Msk (0x1UL << USBD_SHORTS_ENDEPOUT0_EP0RCVOUT_Pos) /*!< Bit mask of ENDEPOUT0_EP0RCVOUT field. */ 18854 #define USBD_SHORTS_ENDEPOUT0_EP0RCVOUT_Disabled (0x0UL) /*!< Disable shortcut */ 18855 #define USBD_SHORTS_ENDEPOUT0_EP0RCVOUT_Enabled (0x1UL) /*!< Enable shortcut */ 18856 18857 /* Bit 3 : Shortcut between event ENDEPOUT[0] and task EP0STATUS */ 18858 #define USBD_SHORTS_ENDEPOUT0_EP0STATUS_Pos (3UL) /*!< Position of ENDEPOUT0_EP0STATUS field. */ 18859 #define USBD_SHORTS_ENDEPOUT0_EP0STATUS_Msk (0x1UL << USBD_SHORTS_ENDEPOUT0_EP0STATUS_Pos) /*!< Bit mask of ENDEPOUT0_EP0STATUS field. */ 18860 #define USBD_SHORTS_ENDEPOUT0_EP0STATUS_Disabled (0x0UL) /*!< Disable shortcut */ 18861 #define USBD_SHORTS_ENDEPOUT0_EP0STATUS_Enabled (0x1UL) /*!< Enable shortcut */ 18862 18863 /* Bit 2 : Shortcut between event EP0DATADONE and task EP0STATUS */ 18864 #define USBD_SHORTS_EP0DATADONE_EP0STATUS_Pos (2UL) /*!< Position of EP0DATADONE_EP0STATUS field. */ 18865 #define USBD_SHORTS_EP0DATADONE_EP0STATUS_Msk (0x1UL << USBD_SHORTS_EP0DATADONE_EP0STATUS_Pos) /*!< Bit mask of EP0DATADONE_EP0STATUS field. */ 18866 #define USBD_SHORTS_EP0DATADONE_EP0STATUS_Disabled (0x0UL) /*!< Disable shortcut */ 18867 #define USBD_SHORTS_EP0DATADONE_EP0STATUS_Enabled (0x1UL) /*!< Enable shortcut */ 18868 18869 /* Bit 1 : Shortcut between event EP0DATADONE and task STARTEPOUT[0] */ 18870 #define USBD_SHORTS_EP0DATADONE_STARTEPOUT0_Pos (1UL) /*!< Position of EP0DATADONE_STARTEPOUT0 field. */ 18871 #define USBD_SHORTS_EP0DATADONE_STARTEPOUT0_Msk (0x1UL << USBD_SHORTS_EP0DATADONE_STARTEPOUT0_Pos) /*!< Bit mask of EP0DATADONE_STARTEPOUT0 field. */ 18872 #define USBD_SHORTS_EP0DATADONE_STARTEPOUT0_Disabled (0x0UL) /*!< Disable shortcut */ 18873 #define USBD_SHORTS_EP0DATADONE_STARTEPOUT0_Enabled (0x1UL) /*!< Enable shortcut */ 18874 18875 /* Bit 0 : Shortcut between event EP0DATADONE and task STARTEPIN[0] */ 18876 #define USBD_SHORTS_EP0DATADONE_STARTEPIN0_Pos (0UL) /*!< Position of EP0DATADONE_STARTEPIN0 field. */ 18877 #define USBD_SHORTS_EP0DATADONE_STARTEPIN0_Msk (0x1UL << USBD_SHORTS_EP0DATADONE_STARTEPIN0_Pos) /*!< Bit mask of EP0DATADONE_STARTEPIN0 field. */ 18878 #define USBD_SHORTS_EP0DATADONE_STARTEPIN0_Disabled (0x0UL) /*!< Disable shortcut */ 18879 #define USBD_SHORTS_EP0DATADONE_STARTEPIN0_Enabled (0x1UL) /*!< Enable shortcut */ 18880 18881 /* Register: USBD_INTEN */ 18882 /* Description: Enable or disable interrupt */ 18883 18884 /* Bit 24 : Enable or disable interrupt for event EPDATA */ 18885 #define USBD_INTEN_EPDATA_Pos (24UL) /*!< Position of EPDATA field. */ 18886 #define USBD_INTEN_EPDATA_Msk (0x1UL << USBD_INTEN_EPDATA_Pos) /*!< Bit mask of EPDATA field. */ 18887 #define USBD_INTEN_EPDATA_Disabled (0x0UL) /*!< Disable */ 18888 #define USBD_INTEN_EPDATA_Enabled (0x1UL) /*!< Enable */ 18889 18890 /* Bit 23 : Enable or disable interrupt for event EP0SETUP */ 18891 #define USBD_INTEN_EP0SETUP_Pos (23UL) /*!< Position of EP0SETUP field. */ 18892 #define USBD_INTEN_EP0SETUP_Msk (0x1UL << USBD_INTEN_EP0SETUP_Pos) /*!< Bit mask of EP0SETUP field. */ 18893 #define USBD_INTEN_EP0SETUP_Disabled (0x0UL) /*!< Disable */ 18894 #define USBD_INTEN_EP0SETUP_Enabled (0x1UL) /*!< Enable */ 18895 18896 /* Bit 22 : Enable or disable interrupt for event USBEVENT */ 18897 #define USBD_INTEN_USBEVENT_Pos (22UL) /*!< Position of USBEVENT field. */ 18898 #define USBD_INTEN_USBEVENT_Msk (0x1UL << USBD_INTEN_USBEVENT_Pos) /*!< Bit mask of USBEVENT field. */ 18899 #define USBD_INTEN_USBEVENT_Disabled (0x0UL) /*!< Disable */ 18900 #define USBD_INTEN_USBEVENT_Enabled (0x1UL) /*!< Enable */ 18901 18902 /* Bit 21 : Enable or disable interrupt for event SOF */ 18903 #define USBD_INTEN_SOF_Pos (21UL) /*!< Position of SOF field. */ 18904 #define USBD_INTEN_SOF_Msk (0x1UL << USBD_INTEN_SOF_Pos) /*!< Bit mask of SOF field. */ 18905 #define USBD_INTEN_SOF_Disabled (0x0UL) /*!< Disable */ 18906 #define USBD_INTEN_SOF_Enabled (0x1UL) /*!< Enable */ 18907 18908 /* Bit 20 : Enable or disable interrupt for event ENDISOOUT */ 18909 #define USBD_INTEN_ENDISOOUT_Pos (20UL) /*!< Position of ENDISOOUT field. */ 18910 #define USBD_INTEN_ENDISOOUT_Msk (0x1UL << USBD_INTEN_ENDISOOUT_Pos) /*!< Bit mask of ENDISOOUT field. */ 18911 #define USBD_INTEN_ENDISOOUT_Disabled (0x0UL) /*!< Disable */ 18912 #define USBD_INTEN_ENDISOOUT_Enabled (0x1UL) /*!< Enable */ 18913 18914 /* Bit 19 : Enable or disable interrupt for event ENDEPOUT[7] */ 18915 #define USBD_INTEN_ENDEPOUT7_Pos (19UL) /*!< Position of ENDEPOUT7 field. */ 18916 #define USBD_INTEN_ENDEPOUT7_Msk (0x1UL << USBD_INTEN_ENDEPOUT7_Pos) /*!< Bit mask of ENDEPOUT7 field. */ 18917 #define USBD_INTEN_ENDEPOUT7_Disabled (0x0UL) /*!< Disable */ 18918 #define USBD_INTEN_ENDEPOUT7_Enabled (0x1UL) /*!< Enable */ 18919 18920 /* Bit 18 : Enable or disable interrupt for event ENDEPOUT[6] */ 18921 #define USBD_INTEN_ENDEPOUT6_Pos (18UL) /*!< Position of ENDEPOUT6 field. */ 18922 #define USBD_INTEN_ENDEPOUT6_Msk (0x1UL << USBD_INTEN_ENDEPOUT6_Pos) /*!< Bit mask of ENDEPOUT6 field. */ 18923 #define USBD_INTEN_ENDEPOUT6_Disabled (0x0UL) /*!< Disable */ 18924 #define USBD_INTEN_ENDEPOUT6_Enabled (0x1UL) /*!< Enable */ 18925 18926 /* Bit 17 : Enable or disable interrupt for event ENDEPOUT[5] */ 18927 #define USBD_INTEN_ENDEPOUT5_Pos (17UL) /*!< Position of ENDEPOUT5 field. */ 18928 #define USBD_INTEN_ENDEPOUT5_Msk (0x1UL << USBD_INTEN_ENDEPOUT5_Pos) /*!< Bit mask of ENDEPOUT5 field. */ 18929 #define USBD_INTEN_ENDEPOUT5_Disabled (0x0UL) /*!< Disable */ 18930 #define USBD_INTEN_ENDEPOUT5_Enabled (0x1UL) /*!< Enable */ 18931 18932 /* Bit 16 : Enable or disable interrupt for event ENDEPOUT[4] */ 18933 #define USBD_INTEN_ENDEPOUT4_Pos (16UL) /*!< Position of ENDEPOUT4 field. */ 18934 #define USBD_INTEN_ENDEPOUT4_Msk (0x1UL << USBD_INTEN_ENDEPOUT4_Pos) /*!< Bit mask of ENDEPOUT4 field. */ 18935 #define USBD_INTEN_ENDEPOUT4_Disabled (0x0UL) /*!< Disable */ 18936 #define USBD_INTEN_ENDEPOUT4_Enabled (0x1UL) /*!< Enable */ 18937 18938 /* Bit 15 : Enable or disable interrupt for event ENDEPOUT[3] */ 18939 #define USBD_INTEN_ENDEPOUT3_Pos (15UL) /*!< Position of ENDEPOUT3 field. */ 18940 #define USBD_INTEN_ENDEPOUT3_Msk (0x1UL << USBD_INTEN_ENDEPOUT3_Pos) /*!< Bit mask of ENDEPOUT3 field. */ 18941 #define USBD_INTEN_ENDEPOUT3_Disabled (0x0UL) /*!< Disable */ 18942 #define USBD_INTEN_ENDEPOUT3_Enabled (0x1UL) /*!< Enable */ 18943 18944 /* Bit 14 : Enable or disable interrupt for event ENDEPOUT[2] */ 18945 #define USBD_INTEN_ENDEPOUT2_Pos (14UL) /*!< Position of ENDEPOUT2 field. */ 18946 #define USBD_INTEN_ENDEPOUT2_Msk (0x1UL << USBD_INTEN_ENDEPOUT2_Pos) /*!< Bit mask of ENDEPOUT2 field. */ 18947 #define USBD_INTEN_ENDEPOUT2_Disabled (0x0UL) /*!< Disable */ 18948 #define USBD_INTEN_ENDEPOUT2_Enabled (0x1UL) /*!< Enable */ 18949 18950 /* Bit 13 : Enable or disable interrupt for event ENDEPOUT[1] */ 18951 #define USBD_INTEN_ENDEPOUT1_Pos (13UL) /*!< Position of ENDEPOUT1 field. */ 18952 #define USBD_INTEN_ENDEPOUT1_Msk (0x1UL << USBD_INTEN_ENDEPOUT1_Pos) /*!< Bit mask of ENDEPOUT1 field. */ 18953 #define USBD_INTEN_ENDEPOUT1_Disabled (0x0UL) /*!< Disable */ 18954 #define USBD_INTEN_ENDEPOUT1_Enabled (0x1UL) /*!< Enable */ 18955 18956 /* Bit 12 : Enable or disable interrupt for event ENDEPOUT[0] */ 18957 #define USBD_INTEN_ENDEPOUT0_Pos (12UL) /*!< Position of ENDEPOUT0 field. */ 18958 #define USBD_INTEN_ENDEPOUT0_Msk (0x1UL << USBD_INTEN_ENDEPOUT0_Pos) /*!< Bit mask of ENDEPOUT0 field. */ 18959 #define USBD_INTEN_ENDEPOUT0_Disabled (0x0UL) /*!< Disable */ 18960 #define USBD_INTEN_ENDEPOUT0_Enabled (0x1UL) /*!< Enable */ 18961 18962 /* Bit 11 : Enable or disable interrupt for event ENDISOIN */ 18963 #define USBD_INTEN_ENDISOIN_Pos (11UL) /*!< Position of ENDISOIN field. */ 18964 #define USBD_INTEN_ENDISOIN_Msk (0x1UL << USBD_INTEN_ENDISOIN_Pos) /*!< Bit mask of ENDISOIN field. */ 18965 #define USBD_INTEN_ENDISOIN_Disabled (0x0UL) /*!< Disable */ 18966 #define USBD_INTEN_ENDISOIN_Enabled (0x1UL) /*!< Enable */ 18967 18968 /* Bit 10 : Enable or disable interrupt for event EP0DATADONE */ 18969 #define USBD_INTEN_EP0DATADONE_Pos (10UL) /*!< Position of EP0DATADONE field. */ 18970 #define USBD_INTEN_EP0DATADONE_Msk (0x1UL << USBD_INTEN_EP0DATADONE_Pos) /*!< Bit mask of EP0DATADONE field. */ 18971 #define USBD_INTEN_EP0DATADONE_Disabled (0x0UL) /*!< Disable */ 18972 #define USBD_INTEN_EP0DATADONE_Enabled (0x1UL) /*!< Enable */ 18973 18974 /* Bit 9 : Enable or disable interrupt for event ENDEPIN[7] */ 18975 #define USBD_INTEN_ENDEPIN7_Pos (9UL) /*!< Position of ENDEPIN7 field. */ 18976 #define USBD_INTEN_ENDEPIN7_Msk (0x1UL << USBD_INTEN_ENDEPIN7_Pos) /*!< Bit mask of ENDEPIN7 field. */ 18977 #define USBD_INTEN_ENDEPIN7_Disabled (0x0UL) /*!< Disable */ 18978 #define USBD_INTEN_ENDEPIN7_Enabled (0x1UL) /*!< Enable */ 18979 18980 /* Bit 8 : Enable or disable interrupt for event ENDEPIN[6] */ 18981 #define USBD_INTEN_ENDEPIN6_Pos (8UL) /*!< Position of ENDEPIN6 field. */ 18982 #define USBD_INTEN_ENDEPIN6_Msk (0x1UL << USBD_INTEN_ENDEPIN6_Pos) /*!< Bit mask of ENDEPIN6 field. */ 18983 #define USBD_INTEN_ENDEPIN6_Disabled (0x0UL) /*!< Disable */ 18984 #define USBD_INTEN_ENDEPIN6_Enabled (0x1UL) /*!< Enable */ 18985 18986 /* Bit 7 : Enable or disable interrupt for event ENDEPIN[5] */ 18987 #define USBD_INTEN_ENDEPIN5_Pos (7UL) /*!< Position of ENDEPIN5 field. */ 18988 #define USBD_INTEN_ENDEPIN5_Msk (0x1UL << USBD_INTEN_ENDEPIN5_Pos) /*!< Bit mask of ENDEPIN5 field. */ 18989 #define USBD_INTEN_ENDEPIN5_Disabled (0x0UL) /*!< Disable */ 18990 #define USBD_INTEN_ENDEPIN5_Enabled (0x1UL) /*!< Enable */ 18991 18992 /* Bit 6 : Enable or disable interrupt for event ENDEPIN[4] */ 18993 #define USBD_INTEN_ENDEPIN4_Pos (6UL) /*!< Position of ENDEPIN4 field. */ 18994 #define USBD_INTEN_ENDEPIN4_Msk (0x1UL << USBD_INTEN_ENDEPIN4_Pos) /*!< Bit mask of ENDEPIN4 field. */ 18995 #define USBD_INTEN_ENDEPIN4_Disabled (0x0UL) /*!< Disable */ 18996 #define USBD_INTEN_ENDEPIN4_Enabled (0x1UL) /*!< Enable */ 18997 18998 /* Bit 5 : Enable or disable interrupt for event ENDEPIN[3] */ 18999 #define USBD_INTEN_ENDEPIN3_Pos (5UL) /*!< Position of ENDEPIN3 field. */ 19000 #define USBD_INTEN_ENDEPIN3_Msk (0x1UL << USBD_INTEN_ENDEPIN3_Pos) /*!< Bit mask of ENDEPIN3 field. */ 19001 #define USBD_INTEN_ENDEPIN3_Disabled (0x0UL) /*!< Disable */ 19002 #define USBD_INTEN_ENDEPIN3_Enabled (0x1UL) /*!< Enable */ 19003 19004 /* Bit 4 : Enable or disable interrupt for event ENDEPIN[2] */ 19005 #define USBD_INTEN_ENDEPIN2_Pos (4UL) /*!< Position of ENDEPIN2 field. */ 19006 #define USBD_INTEN_ENDEPIN2_Msk (0x1UL << USBD_INTEN_ENDEPIN2_Pos) /*!< Bit mask of ENDEPIN2 field. */ 19007 #define USBD_INTEN_ENDEPIN2_Disabled (0x0UL) /*!< Disable */ 19008 #define USBD_INTEN_ENDEPIN2_Enabled (0x1UL) /*!< Enable */ 19009 19010 /* Bit 3 : Enable or disable interrupt for event ENDEPIN[1] */ 19011 #define USBD_INTEN_ENDEPIN1_Pos (3UL) /*!< Position of ENDEPIN1 field. */ 19012 #define USBD_INTEN_ENDEPIN1_Msk (0x1UL << USBD_INTEN_ENDEPIN1_Pos) /*!< Bit mask of ENDEPIN1 field. */ 19013 #define USBD_INTEN_ENDEPIN1_Disabled (0x0UL) /*!< Disable */ 19014 #define USBD_INTEN_ENDEPIN1_Enabled (0x1UL) /*!< Enable */ 19015 19016 /* Bit 2 : Enable or disable interrupt for event ENDEPIN[0] */ 19017 #define USBD_INTEN_ENDEPIN0_Pos (2UL) /*!< Position of ENDEPIN0 field. */ 19018 #define USBD_INTEN_ENDEPIN0_Msk (0x1UL << USBD_INTEN_ENDEPIN0_Pos) /*!< Bit mask of ENDEPIN0 field. */ 19019 #define USBD_INTEN_ENDEPIN0_Disabled (0x0UL) /*!< Disable */ 19020 #define USBD_INTEN_ENDEPIN0_Enabled (0x1UL) /*!< Enable */ 19021 19022 /* Bit 1 : Enable or disable interrupt for event STARTED */ 19023 #define USBD_INTEN_STARTED_Pos (1UL) /*!< Position of STARTED field. */ 19024 #define USBD_INTEN_STARTED_Msk (0x1UL << USBD_INTEN_STARTED_Pos) /*!< Bit mask of STARTED field. */ 19025 #define USBD_INTEN_STARTED_Disabled (0x0UL) /*!< Disable */ 19026 #define USBD_INTEN_STARTED_Enabled (0x1UL) /*!< Enable */ 19027 19028 /* Bit 0 : Enable or disable interrupt for event USBRESET */ 19029 #define USBD_INTEN_USBRESET_Pos (0UL) /*!< Position of USBRESET field. */ 19030 #define USBD_INTEN_USBRESET_Msk (0x1UL << USBD_INTEN_USBRESET_Pos) /*!< Bit mask of USBRESET field. */ 19031 #define USBD_INTEN_USBRESET_Disabled (0x0UL) /*!< Disable */ 19032 #define USBD_INTEN_USBRESET_Enabled (0x1UL) /*!< Enable */ 19033 19034 /* Register: USBD_INTENSET */ 19035 /* Description: Enable interrupt */ 19036 19037 /* Bit 24 : Write '1' to enable interrupt for event EPDATA */ 19038 #define USBD_INTENSET_EPDATA_Pos (24UL) /*!< Position of EPDATA field. */ 19039 #define USBD_INTENSET_EPDATA_Msk (0x1UL << USBD_INTENSET_EPDATA_Pos) /*!< Bit mask of EPDATA field. */ 19040 #define USBD_INTENSET_EPDATA_Disabled (0x0UL) /*!< Read: Disabled */ 19041 #define USBD_INTENSET_EPDATA_Enabled (0x1UL) /*!< Read: Enabled */ 19042 #define USBD_INTENSET_EPDATA_Set (0x1UL) /*!< Enable */ 19043 19044 /* Bit 23 : Write '1' to enable interrupt for event EP0SETUP */ 19045 #define USBD_INTENSET_EP0SETUP_Pos (23UL) /*!< Position of EP0SETUP field. */ 19046 #define USBD_INTENSET_EP0SETUP_Msk (0x1UL << USBD_INTENSET_EP0SETUP_Pos) /*!< Bit mask of EP0SETUP field. */ 19047 #define USBD_INTENSET_EP0SETUP_Disabled (0x0UL) /*!< Read: Disabled */ 19048 #define USBD_INTENSET_EP0SETUP_Enabled (0x1UL) /*!< Read: Enabled */ 19049 #define USBD_INTENSET_EP0SETUP_Set (0x1UL) /*!< Enable */ 19050 19051 /* Bit 22 : Write '1' to enable interrupt for event USBEVENT */ 19052 #define USBD_INTENSET_USBEVENT_Pos (22UL) /*!< Position of USBEVENT field. */ 19053 #define USBD_INTENSET_USBEVENT_Msk (0x1UL << USBD_INTENSET_USBEVENT_Pos) /*!< Bit mask of USBEVENT field. */ 19054 #define USBD_INTENSET_USBEVENT_Disabled (0x0UL) /*!< Read: Disabled */ 19055 #define USBD_INTENSET_USBEVENT_Enabled (0x1UL) /*!< Read: Enabled */ 19056 #define USBD_INTENSET_USBEVENT_Set (0x1UL) /*!< Enable */ 19057 19058 /* Bit 21 : Write '1' to enable interrupt for event SOF */ 19059 #define USBD_INTENSET_SOF_Pos (21UL) /*!< Position of SOF field. */ 19060 #define USBD_INTENSET_SOF_Msk (0x1UL << USBD_INTENSET_SOF_Pos) /*!< Bit mask of SOF field. */ 19061 #define USBD_INTENSET_SOF_Disabled (0x0UL) /*!< Read: Disabled */ 19062 #define USBD_INTENSET_SOF_Enabled (0x1UL) /*!< Read: Enabled */ 19063 #define USBD_INTENSET_SOF_Set (0x1UL) /*!< Enable */ 19064 19065 /* Bit 20 : Write '1' to enable interrupt for event ENDISOOUT */ 19066 #define USBD_INTENSET_ENDISOOUT_Pos (20UL) /*!< Position of ENDISOOUT field. */ 19067 #define USBD_INTENSET_ENDISOOUT_Msk (0x1UL << USBD_INTENSET_ENDISOOUT_Pos) /*!< Bit mask of ENDISOOUT field. */ 19068 #define USBD_INTENSET_ENDISOOUT_Disabled (0x0UL) /*!< Read: Disabled */ 19069 #define USBD_INTENSET_ENDISOOUT_Enabled (0x1UL) /*!< Read: Enabled */ 19070 #define USBD_INTENSET_ENDISOOUT_Set (0x1UL) /*!< Enable */ 19071 19072 /* Bit 19 : Write '1' to enable interrupt for event ENDEPOUT[7] */ 19073 #define USBD_INTENSET_ENDEPOUT7_Pos (19UL) /*!< Position of ENDEPOUT7 field. */ 19074 #define USBD_INTENSET_ENDEPOUT7_Msk (0x1UL << USBD_INTENSET_ENDEPOUT7_Pos) /*!< Bit mask of ENDEPOUT7 field. */ 19075 #define USBD_INTENSET_ENDEPOUT7_Disabled (0x0UL) /*!< Read: Disabled */ 19076 #define USBD_INTENSET_ENDEPOUT7_Enabled (0x1UL) /*!< Read: Enabled */ 19077 #define USBD_INTENSET_ENDEPOUT7_Set (0x1UL) /*!< Enable */ 19078 19079 /* Bit 18 : Write '1' to enable interrupt for event ENDEPOUT[6] */ 19080 #define USBD_INTENSET_ENDEPOUT6_Pos (18UL) /*!< Position of ENDEPOUT6 field. */ 19081 #define USBD_INTENSET_ENDEPOUT6_Msk (0x1UL << USBD_INTENSET_ENDEPOUT6_Pos) /*!< Bit mask of ENDEPOUT6 field. */ 19082 #define USBD_INTENSET_ENDEPOUT6_Disabled (0x0UL) /*!< Read: Disabled */ 19083 #define USBD_INTENSET_ENDEPOUT6_Enabled (0x1UL) /*!< Read: Enabled */ 19084 #define USBD_INTENSET_ENDEPOUT6_Set (0x1UL) /*!< Enable */ 19085 19086 /* Bit 17 : Write '1' to enable interrupt for event ENDEPOUT[5] */ 19087 #define USBD_INTENSET_ENDEPOUT5_Pos (17UL) /*!< Position of ENDEPOUT5 field. */ 19088 #define USBD_INTENSET_ENDEPOUT5_Msk (0x1UL << USBD_INTENSET_ENDEPOUT5_Pos) /*!< Bit mask of ENDEPOUT5 field. */ 19089 #define USBD_INTENSET_ENDEPOUT5_Disabled (0x0UL) /*!< Read: Disabled */ 19090 #define USBD_INTENSET_ENDEPOUT5_Enabled (0x1UL) /*!< Read: Enabled */ 19091 #define USBD_INTENSET_ENDEPOUT5_Set (0x1UL) /*!< Enable */ 19092 19093 /* Bit 16 : Write '1' to enable interrupt for event ENDEPOUT[4] */ 19094 #define USBD_INTENSET_ENDEPOUT4_Pos (16UL) /*!< Position of ENDEPOUT4 field. */ 19095 #define USBD_INTENSET_ENDEPOUT4_Msk (0x1UL << USBD_INTENSET_ENDEPOUT4_Pos) /*!< Bit mask of ENDEPOUT4 field. */ 19096 #define USBD_INTENSET_ENDEPOUT4_Disabled (0x0UL) /*!< Read: Disabled */ 19097 #define USBD_INTENSET_ENDEPOUT4_Enabled (0x1UL) /*!< Read: Enabled */ 19098 #define USBD_INTENSET_ENDEPOUT4_Set (0x1UL) /*!< Enable */ 19099 19100 /* Bit 15 : Write '1' to enable interrupt for event ENDEPOUT[3] */ 19101 #define USBD_INTENSET_ENDEPOUT3_Pos (15UL) /*!< Position of ENDEPOUT3 field. */ 19102 #define USBD_INTENSET_ENDEPOUT3_Msk (0x1UL << USBD_INTENSET_ENDEPOUT3_Pos) /*!< Bit mask of ENDEPOUT3 field. */ 19103 #define USBD_INTENSET_ENDEPOUT3_Disabled (0x0UL) /*!< Read: Disabled */ 19104 #define USBD_INTENSET_ENDEPOUT3_Enabled (0x1UL) /*!< Read: Enabled */ 19105 #define USBD_INTENSET_ENDEPOUT3_Set (0x1UL) /*!< Enable */ 19106 19107 /* Bit 14 : Write '1' to enable interrupt for event ENDEPOUT[2] */ 19108 #define USBD_INTENSET_ENDEPOUT2_Pos (14UL) /*!< Position of ENDEPOUT2 field. */ 19109 #define USBD_INTENSET_ENDEPOUT2_Msk (0x1UL << USBD_INTENSET_ENDEPOUT2_Pos) /*!< Bit mask of ENDEPOUT2 field. */ 19110 #define USBD_INTENSET_ENDEPOUT2_Disabled (0x0UL) /*!< Read: Disabled */ 19111 #define USBD_INTENSET_ENDEPOUT2_Enabled (0x1UL) /*!< Read: Enabled */ 19112 #define USBD_INTENSET_ENDEPOUT2_Set (0x1UL) /*!< Enable */ 19113 19114 /* Bit 13 : Write '1' to enable interrupt for event ENDEPOUT[1] */ 19115 #define USBD_INTENSET_ENDEPOUT1_Pos (13UL) /*!< Position of ENDEPOUT1 field. */ 19116 #define USBD_INTENSET_ENDEPOUT1_Msk (0x1UL << USBD_INTENSET_ENDEPOUT1_Pos) /*!< Bit mask of ENDEPOUT1 field. */ 19117 #define USBD_INTENSET_ENDEPOUT1_Disabled (0x0UL) /*!< Read: Disabled */ 19118 #define USBD_INTENSET_ENDEPOUT1_Enabled (0x1UL) /*!< Read: Enabled */ 19119 #define USBD_INTENSET_ENDEPOUT1_Set (0x1UL) /*!< Enable */ 19120 19121 /* Bit 12 : Write '1' to enable interrupt for event ENDEPOUT[0] */ 19122 #define USBD_INTENSET_ENDEPOUT0_Pos (12UL) /*!< Position of ENDEPOUT0 field. */ 19123 #define USBD_INTENSET_ENDEPOUT0_Msk (0x1UL << USBD_INTENSET_ENDEPOUT0_Pos) /*!< Bit mask of ENDEPOUT0 field. */ 19124 #define USBD_INTENSET_ENDEPOUT0_Disabled (0x0UL) /*!< Read: Disabled */ 19125 #define USBD_INTENSET_ENDEPOUT0_Enabled (0x1UL) /*!< Read: Enabled */ 19126 #define USBD_INTENSET_ENDEPOUT0_Set (0x1UL) /*!< Enable */ 19127 19128 /* Bit 11 : Write '1' to enable interrupt for event ENDISOIN */ 19129 #define USBD_INTENSET_ENDISOIN_Pos (11UL) /*!< Position of ENDISOIN field. */ 19130 #define USBD_INTENSET_ENDISOIN_Msk (0x1UL << USBD_INTENSET_ENDISOIN_Pos) /*!< Bit mask of ENDISOIN field. */ 19131 #define USBD_INTENSET_ENDISOIN_Disabled (0x0UL) /*!< Read: Disabled */ 19132 #define USBD_INTENSET_ENDISOIN_Enabled (0x1UL) /*!< Read: Enabled */ 19133 #define USBD_INTENSET_ENDISOIN_Set (0x1UL) /*!< Enable */ 19134 19135 /* Bit 10 : Write '1' to enable interrupt for event EP0DATADONE */ 19136 #define USBD_INTENSET_EP0DATADONE_Pos (10UL) /*!< Position of EP0DATADONE field. */ 19137 #define USBD_INTENSET_EP0DATADONE_Msk (0x1UL << USBD_INTENSET_EP0DATADONE_Pos) /*!< Bit mask of EP0DATADONE field. */ 19138 #define USBD_INTENSET_EP0DATADONE_Disabled (0x0UL) /*!< Read: Disabled */ 19139 #define USBD_INTENSET_EP0DATADONE_Enabled (0x1UL) /*!< Read: Enabled */ 19140 #define USBD_INTENSET_EP0DATADONE_Set (0x1UL) /*!< Enable */ 19141 19142 /* Bit 9 : Write '1' to enable interrupt for event ENDEPIN[7] */ 19143 #define USBD_INTENSET_ENDEPIN7_Pos (9UL) /*!< Position of ENDEPIN7 field. */ 19144 #define USBD_INTENSET_ENDEPIN7_Msk (0x1UL << USBD_INTENSET_ENDEPIN7_Pos) /*!< Bit mask of ENDEPIN7 field. */ 19145 #define USBD_INTENSET_ENDEPIN7_Disabled (0x0UL) /*!< Read: Disabled */ 19146 #define USBD_INTENSET_ENDEPIN7_Enabled (0x1UL) /*!< Read: Enabled */ 19147 #define USBD_INTENSET_ENDEPIN7_Set (0x1UL) /*!< Enable */ 19148 19149 /* Bit 8 : Write '1' to enable interrupt for event ENDEPIN[6] */ 19150 #define USBD_INTENSET_ENDEPIN6_Pos (8UL) /*!< Position of ENDEPIN6 field. */ 19151 #define USBD_INTENSET_ENDEPIN6_Msk (0x1UL << USBD_INTENSET_ENDEPIN6_Pos) /*!< Bit mask of ENDEPIN6 field. */ 19152 #define USBD_INTENSET_ENDEPIN6_Disabled (0x0UL) /*!< Read: Disabled */ 19153 #define USBD_INTENSET_ENDEPIN6_Enabled (0x1UL) /*!< Read: Enabled */ 19154 #define USBD_INTENSET_ENDEPIN6_Set (0x1UL) /*!< Enable */ 19155 19156 /* Bit 7 : Write '1' to enable interrupt for event ENDEPIN[5] */ 19157 #define USBD_INTENSET_ENDEPIN5_Pos (7UL) /*!< Position of ENDEPIN5 field. */ 19158 #define USBD_INTENSET_ENDEPIN5_Msk (0x1UL << USBD_INTENSET_ENDEPIN5_Pos) /*!< Bit mask of ENDEPIN5 field. */ 19159 #define USBD_INTENSET_ENDEPIN5_Disabled (0x0UL) /*!< Read: Disabled */ 19160 #define USBD_INTENSET_ENDEPIN5_Enabled (0x1UL) /*!< Read: Enabled */ 19161 #define USBD_INTENSET_ENDEPIN5_Set (0x1UL) /*!< Enable */ 19162 19163 /* Bit 6 : Write '1' to enable interrupt for event ENDEPIN[4] */ 19164 #define USBD_INTENSET_ENDEPIN4_Pos (6UL) /*!< Position of ENDEPIN4 field. */ 19165 #define USBD_INTENSET_ENDEPIN4_Msk (0x1UL << USBD_INTENSET_ENDEPIN4_Pos) /*!< Bit mask of ENDEPIN4 field. */ 19166 #define USBD_INTENSET_ENDEPIN4_Disabled (0x0UL) /*!< Read: Disabled */ 19167 #define USBD_INTENSET_ENDEPIN4_Enabled (0x1UL) /*!< Read: Enabled */ 19168 #define USBD_INTENSET_ENDEPIN4_Set (0x1UL) /*!< Enable */ 19169 19170 /* Bit 5 : Write '1' to enable interrupt for event ENDEPIN[3] */ 19171 #define USBD_INTENSET_ENDEPIN3_Pos (5UL) /*!< Position of ENDEPIN3 field. */ 19172 #define USBD_INTENSET_ENDEPIN3_Msk (0x1UL << USBD_INTENSET_ENDEPIN3_Pos) /*!< Bit mask of ENDEPIN3 field. */ 19173 #define USBD_INTENSET_ENDEPIN3_Disabled (0x0UL) /*!< Read: Disabled */ 19174 #define USBD_INTENSET_ENDEPIN3_Enabled (0x1UL) /*!< Read: Enabled */ 19175 #define USBD_INTENSET_ENDEPIN3_Set (0x1UL) /*!< Enable */ 19176 19177 /* Bit 4 : Write '1' to enable interrupt for event ENDEPIN[2] */ 19178 #define USBD_INTENSET_ENDEPIN2_Pos (4UL) /*!< Position of ENDEPIN2 field. */ 19179 #define USBD_INTENSET_ENDEPIN2_Msk (0x1UL << USBD_INTENSET_ENDEPIN2_Pos) /*!< Bit mask of ENDEPIN2 field. */ 19180 #define USBD_INTENSET_ENDEPIN2_Disabled (0x0UL) /*!< Read: Disabled */ 19181 #define USBD_INTENSET_ENDEPIN2_Enabled (0x1UL) /*!< Read: Enabled */ 19182 #define USBD_INTENSET_ENDEPIN2_Set (0x1UL) /*!< Enable */ 19183 19184 /* Bit 3 : Write '1' to enable interrupt for event ENDEPIN[1] */ 19185 #define USBD_INTENSET_ENDEPIN1_Pos (3UL) /*!< Position of ENDEPIN1 field. */ 19186 #define USBD_INTENSET_ENDEPIN1_Msk (0x1UL << USBD_INTENSET_ENDEPIN1_Pos) /*!< Bit mask of ENDEPIN1 field. */ 19187 #define USBD_INTENSET_ENDEPIN1_Disabled (0x0UL) /*!< Read: Disabled */ 19188 #define USBD_INTENSET_ENDEPIN1_Enabled (0x1UL) /*!< Read: Enabled */ 19189 #define USBD_INTENSET_ENDEPIN1_Set (0x1UL) /*!< Enable */ 19190 19191 /* Bit 2 : Write '1' to enable interrupt for event ENDEPIN[0] */ 19192 #define USBD_INTENSET_ENDEPIN0_Pos (2UL) /*!< Position of ENDEPIN0 field. */ 19193 #define USBD_INTENSET_ENDEPIN0_Msk (0x1UL << USBD_INTENSET_ENDEPIN0_Pos) /*!< Bit mask of ENDEPIN0 field. */ 19194 #define USBD_INTENSET_ENDEPIN0_Disabled (0x0UL) /*!< Read: Disabled */ 19195 #define USBD_INTENSET_ENDEPIN0_Enabled (0x1UL) /*!< Read: Enabled */ 19196 #define USBD_INTENSET_ENDEPIN0_Set (0x1UL) /*!< Enable */ 19197 19198 /* Bit 1 : Write '1' to enable interrupt for event STARTED */ 19199 #define USBD_INTENSET_STARTED_Pos (1UL) /*!< Position of STARTED field. */ 19200 #define USBD_INTENSET_STARTED_Msk (0x1UL << USBD_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */ 19201 #define USBD_INTENSET_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 19202 #define USBD_INTENSET_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 19203 #define USBD_INTENSET_STARTED_Set (0x1UL) /*!< Enable */ 19204 19205 /* Bit 0 : Write '1' to enable interrupt for event USBRESET */ 19206 #define USBD_INTENSET_USBRESET_Pos (0UL) /*!< Position of USBRESET field. */ 19207 #define USBD_INTENSET_USBRESET_Msk (0x1UL << USBD_INTENSET_USBRESET_Pos) /*!< Bit mask of USBRESET field. */ 19208 #define USBD_INTENSET_USBRESET_Disabled (0x0UL) /*!< Read: Disabled */ 19209 #define USBD_INTENSET_USBRESET_Enabled (0x1UL) /*!< Read: Enabled */ 19210 #define USBD_INTENSET_USBRESET_Set (0x1UL) /*!< Enable */ 19211 19212 /* Register: USBD_INTENCLR */ 19213 /* Description: Disable interrupt */ 19214 19215 /* Bit 24 : Write '1' to disable interrupt for event EPDATA */ 19216 #define USBD_INTENCLR_EPDATA_Pos (24UL) /*!< Position of EPDATA field. */ 19217 #define USBD_INTENCLR_EPDATA_Msk (0x1UL << USBD_INTENCLR_EPDATA_Pos) /*!< Bit mask of EPDATA field. */ 19218 #define USBD_INTENCLR_EPDATA_Disabled (0x0UL) /*!< Read: Disabled */ 19219 #define USBD_INTENCLR_EPDATA_Enabled (0x1UL) /*!< Read: Enabled */ 19220 #define USBD_INTENCLR_EPDATA_Clear (0x1UL) /*!< Disable */ 19221 19222 /* Bit 23 : Write '1' to disable interrupt for event EP0SETUP */ 19223 #define USBD_INTENCLR_EP0SETUP_Pos (23UL) /*!< Position of EP0SETUP field. */ 19224 #define USBD_INTENCLR_EP0SETUP_Msk (0x1UL << USBD_INTENCLR_EP0SETUP_Pos) /*!< Bit mask of EP0SETUP field. */ 19225 #define USBD_INTENCLR_EP0SETUP_Disabled (0x0UL) /*!< Read: Disabled */ 19226 #define USBD_INTENCLR_EP0SETUP_Enabled (0x1UL) /*!< Read: Enabled */ 19227 #define USBD_INTENCLR_EP0SETUP_Clear (0x1UL) /*!< Disable */ 19228 19229 /* Bit 22 : Write '1' to disable interrupt for event USBEVENT */ 19230 #define USBD_INTENCLR_USBEVENT_Pos (22UL) /*!< Position of USBEVENT field. */ 19231 #define USBD_INTENCLR_USBEVENT_Msk (0x1UL << USBD_INTENCLR_USBEVENT_Pos) /*!< Bit mask of USBEVENT field. */ 19232 #define USBD_INTENCLR_USBEVENT_Disabled (0x0UL) /*!< Read: Disabled */ 19233 #define USBD_INTENCLR_USBEVENT_Enabled (0x1UL) /*!< Read: Enabled */ 19234 #define USBD_INTENCLR_USBEVENT_Clear (0x1UL) /*!< Disable */ 19235 19236 /* Bit 21 : Write '1' to disable interrupt for event SOF */ 19237 #define USBD_INTENCLR_SOF_Pos (21UL) /*!< Position of SOF field. */ 19238 #define USBD_INTENCLR_SOF_Msk (0x1UL << USBD_INTENCLR_SOF_Pos) /*!< Bit mask of SOF field. */ 19239 #define USBD_INTENCLR_SOF_Disabled (0x0UL) /*!< Read: Disabled */ 19240 #define USBD_INTENCLR_SOF_Enabled (0x1UL) /*!< Read: Enabled */ 19241 #define USBD_INTENCLR_SOF_Clear (0x1UL) /*!< Disable */ 19242 19243 /* Bit 20 : Write '1' to disable interrupt for event ENDISOOUT */ 19244 #define USBD_INTENCLR_ENDISOOUT_Pos (20UL) /*!< Position of ENDISOOUT field. */ 19245 #define USBD_INTENCLR_ENDISOOUT_Msk (0x1UL << USBD_INTENCLR_ENDISOOUT_Pos) /*!< Bit mask of ENDISOOUT field. */ 19246 #define USBD_INTENCLR_ENDISOOUT_Disabled (0x0UL) /*!< Read: Disabled */ 19247 #define USBD_INTENCLR_ENDISOOUT_Enabled (0x1UL) /*!< Read: Enabled */ 19248 #define USBD_INTENCLR_ENDISOOUT_Clear (0x1UL) /*!< Disable */ 19249 19250 /* Bit 19 : Write '1' to disable interrupt for event ENDEPOUT[7] */ 19251 #define USBD_INTENCLR_ENDEPOUT7_Pos (19UL) /*!< Position of ENDEPOUT7 field. */ 19252 #define USBD_INTENCLR_ENDEPOUT7_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT7_Pos) /*!< Bit mask of ENDEPOUT7 field. */ 19253 #define USBD_INTENCLR_ENDEPOUT7_Disabled (0x0UL) /*!< Read: Disabled */ 19254 #define USBD_INTENCLR_ENDEPOUT7_Enabled (0x1UL) /*!< Read: Enabled */ 19255 #define USBD_INTENCLR_ENDEPOUT7_Clear (0x1UL) /*!< Disable */ 19256 19257 /* Bit 18 : Write '1' to disable interrupt for event ENDEPOUT[6] */ 19258 #define USBD_INTENCLR_ENDEPOUT6_Pos (18UL) /*!< Position of ENDEPOUT6 field. */ 19259 #define USBD_INTENCLR_ENDEPOUT6_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT6_Pos) /*!< Bit mask of ENDEPOUT6 field. */ 19260 #define USBD_INTENCLR_ENDEPOUT6_Disabled (0x0UL) /*!< Read: Disabled */ 19261 #define USBD_INTENCLR_ENDEPOUT6_Enabled (0x1UL) /*!< Read: Enabled */ 19262 #define USBD_INTENCLR_ENDEPOUT6_Clear (0x1UL) /*!< Disable */ 19263 19264 /* Bit 17 : Write '1' to disable interrupt for event ENDEPOUT[5] */ 19265 #define USBD_INTENCLR_ENDEPOUT5_Pos (17UL) /*!< Position of ENDEPOUT5 field. */ 19266 #define USBD_INTENCLR_ENDEPOUT5_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT5_Pos) /*!< Bit mask of ENDEPOUT5 field. */ 19267 #define USBD_INTENCLR_ENDEPOUT5_Disabled (0x0UL) /*!< Read: Disabled */ 19268 #define USBD_INTENCLR_ENDEPOUT5_Enabled (0x1UL) /*!< Read: Enabled */ 19269 #define USBD_INTENCLR_ENDEPOUT5_Clear (0x1UL) /*!< Disable */ 19270 19271 /* Bit 16 : Write '1' to disable interrupt for event ENDEPOUT[4] */ 19272 #define USBD_INTENCLR_ENDEPOUT4_Pos (16UL) /*!< Position of ENDEPOUT4 field. */ 19273 #define USBD_INTENCLR_ENDEPOUT4_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT4_Pos) /*!< Bit mask of ENDEPOUT4 field. */ 19274 #define USBD_INTENCLR_ENDEPOUT4_Disabled (0x0UL) /*!< Read: Disabled */ 19275 #define USBD_INTENCLR_ENDEPOUT4_Enabled (0x1UL) /*!< Read: Enabled */ 19276 #define USBD_INTENCLR_ENDEPOUT4_Clear (0x1UL) /*!< Disable */ 19277 19278 /* Bit 15 : Write '1' to disable interrupt for event ENDEPOUT[3] */ 19279 #define USBD_INTENCLR_ENDEPOUT3_Pos (15UL) /*!< Position of ENDEPOUT3 field. */ 19280 #define USBD_INTENCLR_ENDEPOUT3_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT3_Pos) /*!< Bit mask of ENDEPOUT3 field. */ 19281 #define USBD_INTENCLR_ENDEPOUT3_Disabled (0x0UL) /*!< Read: Disabled */ 19282 #define USBD_INTENCLR_ENDEPOUT3_Enabled (0x1UL) /*!< Read: Enabled */ 19283 #define USBD_INTENCLR_ENDEPOUT3_Clear (0x1UL) /*!< Disable */ 19284 19285 /* Bit 14 : Write '1' to disable interrupt for event ENDEPOUT[2] */ 19286 #define USBD_INTENCLR_ENDEPOUT2_Pos (14UL) /*!< Position of ENDEPOUT2 field. */ 19287 #define USBD_INTENCLR_ENDEPOUT2_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT2_Pos) /*!< Bit mask of ENDEPOUT2 field. */ 19288 #define USBD_INTENCLR_ENDEPOUT2_Disabled (0x0UL) /*!< Read: Disabled */ 19289 #define USBD_INTENCLR_ENDEPOUT2_Enabled (0x1UL) /*!< Read: Enabled */ 19290 #define USBD_INTENCLR_ENDEPOUT2_Clear (0x1UL) /*!< Disable */ 19291 19292 /* Bit 13 : Write '1' to disable interrupt for event ENDEPOUT[1] */ 19293 #define USBD_INTENCLR_ENDEPOUT1_Pos (13UL) /*!< Position of ENDEPOUT1 field. */ 19294 #define USBD_INTENCLR_ENDEPOUT1_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT1_Pos) /*!< Bit mask of ENDEPOUT1 field. */ 19295 #define USBD_INTENCLR_ENDEPOUT1_Disabled (0x0UL) /*!< Read: Disabled */ 19296 #define USBD_INTENCLR_ENDEPOUT1_Enabled (0x1UL) /*!< Read: Enabled */ 19297 #define USBD_INTENCLR_ENDEPOUT1_Clear (0x1UL) /*!< Disable */ 19298 19299 /* Bit 12 : Write '1' to disable interrupt for event ENDEPOUT[0] */ 19300 #define USBD_INTENCLR_ENDEPOUT0_Pos (12UL) /*!< Position of ENDEPOUT0 field. */ 19301 #define USBD_INTENCLR_ENDEPOUT0_Msk (0x1UL << USBD_INTENCLR_ENDEPOUT0_Pos) /*!< Bit mask of ENDEPOUT0 field. */ 19302 #define USBD_INTENCLR_ENDEPOUT0_Disabled (0x0UL) /*!< Read: Disabled */ 19303 #define USBD_INTENCLR_ENDEPOUT0_Enabled (0x1UL) /*!< Read: Enabled */ 19304 #define USBD_INTENCLR_ENDEPOUT0_Clear (0x1UL) /*!< Disable */ 19305 19306 /* Bit 11 : Write '1' to disable interrupt for event ENDISOIN */ 19307 #define USBD_INTENCLR_ENDISOIN_Pos (11UL) /*!< Position of ENDISOIN field. */ 19308 #define USBD_INTENCLR_ENDISOIN_Msk (0x1UL << USBD_INTENCLR_ENDISOIN_Pos) /*!< Bit mask of ENDISOIN field. */ 19309 #define USBD_INTENCLR_ENDISOIN_Disabled (0x0UL) /*!< Read: Disabled */ 19310 #define USBD_INTENCLR_ENDISOIN_Enabled (0x1UL) /*!< Read: Enabled */ 19311 #define USBD_INTENCLR_ENDISOIN_Clear (0x1UL) /*!< Disable */ 19312 19313 /* Bit 10 : Write '1' to disable interrupt for event EP0DATADONE */ 19314 #define USBD_INTENCLR_EP0DATADONE_Pos (10UL) /*!< Position of EP0DATADONE field. */ 19315 #define USBD_INTENCLR_EP0DATADONE_Msk (0x1UL << USBD_INTENCLR_EP0DATADONE_Pos) /*!< Bit mask of EP0DATADONE field. */ 19316 #define USBD_INTENCLR_EP0DATADONE_Disabled (0x0UL) /*!< Read: Disabled */ 19317 #define USBD_INTENCLR_EP0DATADONE_Enabled (0x1UL) /*!< Read: Enabled */ 19318 #define USBD_INTENCLR_EP0DATADONE_Clear (0x1UL) /*!< Disable */ 19319 19320 /* Bit 9 : Write '1' to disable interrupt for event ENDEPIN[7] */ 19321 #define USBD_INTENCLR_ENDEPIN7_Pos (9UL) /*!< Position of ENDEPIN7 field. */ 19322 #define USBD_INTENCLR_ENDEPIN7_Msk (0x1UL << USBD_INTENCLR_ENDEPIN7_Pos) /*!< Bit mask of ENDEPIN7 field. */ 19323 #define USBD_INTENCLR_ENDEPIN7_Disabled (0x0UL) /*!< Read: Disabled */ 19324 #define USBD_INTENCLR_ENDEPIN7_Enabled (0x1UL) /*!< Read: Enabled */ 19325 #define USBD_INTENCLR_ENDEPIN7_Clear (0x1UL) /*!< Disable */ 19326 19327 /* Bit 8 : Write '1' to disable interrupt for event ENDEPIN[6] */ 19328 #define USBD_INTENCLR_ENDEPIN6_Pos (8UL) /*!< Position of ENDEPIN6 field. */ 19329 #define USBD_INTENCLR_ENDEPIN6_Msk (0x1UL << USBD_INTENCLR_ENDEPIN6_Pos) /*!< Bit mask of ENDEPIN6 field. */ 19330 #define USBD_INTENCLR_ENDEPIN6_Disabled (0x0UL) /*!< Read: Disabled */ 19331 #define USBD_INTENCLR_ENDEPIN6_Enabled (0x1UL) /*!< Read: Enabled */ 19332 #define USBD_INTENCLR_ENDEPIN6_Clear (0x1UL) /*!< Disable */ 19333 19334 /* Bit 7 : Write '1' to disable interrupt for event ENDEPIN[5] */ 19335 #define USBD_INTENCLR_ENDEPIN5_Pos (7UL) /*!< Position of ENDEPIN5 field. */ 19336 #define USBD_INTENCLR_ENDEPIN5_Msk (0x1UL << USBD_INTENCLR_ENDEPIN5_Pos) /*!< Bit mask of ENDEPIN5 field. */ 19337 #define USBD_INTENCLR_ENDEPIN5_Disabled (0x0UL) /*!< Read: Disabled */ 19338 #define USBD_INTENCLR_ENDEPIN5_Enabled (0x1UL) /*!< Read: Enabled */ 19339 #define USBD_INTENCLR_ENDEPIN5_Clear (0x1UL) /*!< Disable */ 19340 19341 /* Bit 6 : Write '1' to disable interrupt for event ENDEPIN[4] */ 19342 #define USBD_INTENCLR_ENDEPIN4_Pos (6UL) /*!< Position of ENDEPIN4 field. */ 19343 #define USBD_INTENCLR_ENDEPIN4_Msk (0x1UL << USBD_INTENCLR_ENDEPIN4_Pos) /*!< Bit mask of ENDEPIN4 field. */ 19344 #define USBD_INTENCLR_ENDEPIN4_Disabled (0x0UL) /*!< Read: Disabled */ 19345 #define USBD_INTENCLR_ENDEPIN4_Enabled (0x1UL) /*!< Read: Enabled */ 19346 #define USBD_INTENCLR_ENDEPIN4_Clear (0x1UL) /*!< Disable */ 19347 19348 /* Bit 5 : Write '1' to disable interrupt for event ENDEPIN[3] */ 19349 #define USBD_INTENCLR_ENDEPIN3_Pos (5UL) /*!< Position of ENDEPIN3 field. */ 19350 #define USBD_INTENCLR_ENDEPIN3_Msk (0x1UL << USBD_INTENCLR_ENDEPIN3_Pos) /*!< Bit mask of ENDEPIN3 field. */ 19351 #define USBD_INTENCLR_ENDEPIN3_Disabled (0x0UL) /*!< Read: Disabled */ 19352 #define USBD_INTENCLR_ENDEPIN3_Enabled (0x1UL) /*!< Read: Enabled */ 19353 #define USBD_INTENCLR_ENDEPIN3_Clear (0x1UL) /*!< Disable */ 19354 19355 /* Bit 4 : Write '1' to disable interrupt for event ENDEPIN[2] */ 19356 #define USBD_INTENCLR_ENDEPIN2_Pos (4UL) /*!< Position of ENDEPIN2 field. */ 19357 #define USBD_INTENCLR_ENDEPIN2_Msk (0x1UL << USBD_INTENCLR_ENDEPIN2_Pos) /*!< Bit mask of ENDEPIN2 field. */ 19358 #define USBD_INTENCLR_ENDEPIN2_Disabled (0x0UL) /*!< Read: Disabled */ 19359 #define USBD_INTENCLR_ENDEPIN2_Enabled (0x1UL) /*!< Read: Enabled */ 19360 #define USBD_INTENCLR_ENDEPIN2_Clear (0x1UL) /*!< Disable */ 19361 19362 /* Bit 3 : Write '1' to disable interrupt for event ENDEPIN[1] */ 19363 #define USBD_INTENCLR_ENDEPIN1_Pos (3UL) /*!< Position of ENDEPIN1 field. */ 19364 #define USBD_INTENCLR_ENDEPIN1_Msk (0x1UL << USBD_INTENCLR_ENDEPIN1_Pos) /*!< Bit mask of ENDEPIN1 field. */ 19365 #define USBD_INTENCLR_ENDEPIN1_Disabled (0x0UL) /*!< Read: Disabled */ 19366 #define USBD_INTENCLR_ENDEPIN1_Enabled (0x1UL) /*!< Read: Enabled */ 19367 #define USBD_INTENCLR_ENDEPIN1_Clear (0x1UL) /*!< Disable */ 19368 19369 /* Bit 2 : Write '1' to disable interrupt for event ENDEPIN[0] */ 19370 #define USBD_INTENCLR_ENDEPIN0_Pos (2UL) /*!< Position of ENDEPIN0 field. */ 19371 #define USBD_INTENCLR_ENDEPIN0_Msk (0x1UL << USBD_INTENCLR_ENDEPIN0_Pos) /*!< Bit mask of ENDEPIN0 field. */ 19372 #define USBD_INTENCLR_ENDEPIN0_Disabled (0x0UL) /*!< Read: Disabled */ 19373 #define USBD_INTENCLR_ENDEPIN0_Enabled (0x1UL) /*!< Read: Enabled */ 19374 #define USBD_INTENCLR_ENDEPIN0_Clear (0x1UL) /*!< Disable */ 19375 19376 /* Bit 1 : Write '1' to disable interrupt for event STARTED */ 19377 #define USBD_INTENCLR_STARTED_Pos (1UL) /*!< Position of STARTED field. */ 19378 #define USBD_INTENCLR_STARTED_Msk (0x1UL << USBD_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */ 19379 #define USBD_INTENCLR_STARTED_Disabled (0x0UL) /*!< Read: Disabled */ 19380 #define USBD_INTENCLR_STARTED_Enabled (0x1UL) /*!< Read: Enabled */ 19381 #define USBD_INTENCLR_STARTED_Clear (0x1UL) /*!< Disable */ 19382 19383 /* Bit 0 : Write '1' to disable interrupt for event USBRESET */ 19384 #define USBD_INTENCLR_USBRESET_Pos (0UL) /*!< Position of USBRESET field. */ 19385 #define USBD_INTENCLR_USBRESET_Msk (0x1UL << USBD_INTENCLR_USBRESET_Pos) /*!< Bit mask of USBRESET field. */ 19386 #define USBD_INTENCLR_USBRESET_Disabled (0x0UL) /*!< Read: Disabled */ 19387 #define USBD_INTENCLR_USBRESET_Enabled (0x1UL) /*!< Read: Enabled */ 19388 #define USBD_INTENCLR_USBRESET_Clear (0x1UL) /*!< Disable */ 19389 19390 /* Register: USBD_EVENTCAUSE */ 19391 /* Description: Details on what caused the USBEVENT event */ 19392 19393 /* Bit 11 : USB device is ready for normal operation. Write '1' to clear. */ 19394 #define USBD_EVENTCAUSE_READY_Pos (11UL) /*!< Position of READY field. */ 19395 #define USBD_EVENTCAUSE_READY_Msk (0x1UL << USBD_EVENTCAUSE_READY_Pos) /*!< Bit mask of READY field. */ 19396 #define USBD_EVENTCAUSE_READY_NotDetected (0x0UL) /*!< USBEVENT was not issued due to USBD peripheral ready */ 19397 #define USBD_EVENTCAUSE_READY_Ready (0x1UL) /*!< USBD peripheral is ready */ 19398 19399 /* Bit 10 : USB MAC has been woken up and operational. Write '1' to clear. */ 19400 #define USBD_EVENTCAUSE_USBWUALLOWED_Pos (10UL) /*!< Position of USBWUALLOWED field. */ 19401 #define USBD_EVENTCAUSE_USBWUALLOWED_Msk (0x1UL << USBD_EVENTCAUSE_USBWUALLOWED_Pos) /*!< Bit mask of USBWUALLOWED field. */ 19402 #define USBD_EVENTCAUSE_USBWUALLOWED_NotAllowed (0x0UL) /*!< Wake up not allowed */ 19403 #define USBD_EVENTCAUSE_USBWUALLOWED_Allowed (0x1UL) /*!< Wake up allowed */ 19404 19405 /* Bit 9 : Signals that a RESUME condition (K state or activity restart) has been detected on USB lines. Write '1' to clear. */ 19406 #define USBD_EVENTCAUSE_RESUME_Pos (9UL) /*!< Position of RESUME field. */ 19407 #define USBD_EVENTCAUSE_RESUME_Msk (0x1UL << USBD_EVENTCAUSE_RESUME_Pos) /*!< Bit mask of RESUME field. */ 19408 #define USBD_EVENTCAUSE_RESUME_NotDetected (0x0UL) /*!< Resume not detected */ 19409 #define USBD_EVENTCAUSE_RESUME_Detected (0x1UL) /*!< Resume detected */ 19410 19411 /* Bit 8 : Signals that USB lines have been idle long enough for the device to enter suspend. Write '1' to clear. */ 19412 #define USBD_EVENTCAUSE_SUSPEND_Pos (8UL) /*!< Position of SUSPEND field. */ 19413 #define USBD_EVENTCAUSE_SUSPEND_Msk (0x1UL << USBD_EVENTCAUSE_SUSPEND_Pos) /*!< Bit mask of SUSPEND field. */ 19414 #define USBD_EVENTCAUSE_SUSPEND_NotDetected (0x0UL) /*!< Suspend not detected */ 19415 #define USBD_EVENTCAUSE_SUSPEND_Detected (0x1UL) /*!< Suspend detected */ 19416 19417 /* Bit 0 : CRC error was detected on isochronous OUT endpoint 8. Write '1' to clear. */ 19418 #define USBD_EVENTCAUSE_ISOOUTCRC_Pos (0UL) /*!< Position of ISOOUTCRC field. */ 19419 #define USBD_EVENTCAUSE_ISOOUTCRC_Msk (0x1UL << USBD_EVENTCAUSE_ISOOUTCRC_Pos) /*!< Bit mask of ISOOUTCRC field. */ 19420 #define USBD_EVENTCAUSE_ISOOUTCRC_NotDetected (0x0UL) /*!< No error detected */ 19421 #define USBD_EVENTCAUSE_ISOOUTCRC_Detected (0x1UL) /*!< Error detected */ 19422 19423 /* Register: USBD_HALTED_EPIN */ 19424 /* Description: Description collection: IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. */ 19425 19426 /* Bits 15..0 : IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. */ 19427 #define USBD_HALTED_EPIN_GETSTATUS_Pos (0UL) /*!< Position of GETSTATUS field. */ 19428 #define USBD_HALTED_EPIN_GETSTATUS_Msk (0xFFFFUL << USBD_HALTED_EPIN_GETSTATUS_Pos) /*!< Bit mask of GETSTATUS field. */ 19429 #define USBD_HALTED_EPIN_GETSTATUS_NotHalted (0x0000UL) /*!< Endpoint is not halted */ 19430 #define USBD_HALTED_EPIN_GETSTATUS_Halted (0x0001UL) /*!< Endpoint is halted */ 19431 19432 /* Register: USBD_HALTED_EPOUT */ 19433 /* Description: Description collection: OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. */ 19434 19435 /* Bits 15..0 : OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint. */ 19436 #define USBD_HALTED_EPOUT_GETSTATUS_Pos (0UL) /*!< Position of GETSTATUS field. */ 19437 #define USBD_HALTED_EPOUT_GETSTATUS_Msk (0xFFFFUL << USBD_HALTED_EPOUT_GETSTATUS_Pos) /*!< Bit mask of GETSTATUS field. */ 19438 #define USBD_HALTED_EPOUT_GETSTATUS_NotHalted (0x0000UL) /*!< Endpoint is not halted */ 19439 #define USBD_HALTED_EPOUT_GETSTATUS_Halted (0x0001UL) /*!< Endpoint is halted */ 19440 19441 /* Register: USBD_EPSTATUS */ 19442 /* Description: Provides information on which endpoint's EasyDMA registers have been captured */ 19443 19444 /* Bit 24 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19445 #define USBD_EPSTATUS_EPOUT8_Pos (24UL) /*!< Position of EPOUT8 field. */ 19446 #define USBD_EPSTATUS_EPOUT8_Msk (0x1UL << USBD_EPSTATUS_EPOUT8_Pos) /*!< Bit mask of EPOUT8 field. */ 19447 #define USBD_EPSTATUS_EPOUT8_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19448 #define USBD_EPSTATUS_EPOUT8_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19449 19450 /* Bit 23 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19451 #define USBD_EPSTATUS_EPOUT7_Pos (23UL) /*!< Position of EPOUT7 field. */ 19452 #define USBD_EPSTATUS_EPOUT7_Msk (0x1UL << USBD_EPSTATUS_EPOUT7_Pos) /*!< Bit mask of EPOUT7 field. */ 19453 #define USBD_EPSTATUS_EPOUT7_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19454 #define USBD_EPSTATUS_EPOUT7_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19455 19456 /* Bit 22 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19457 #define USBD_EPSTATUS_EPOUT6_Pos (22UL) /*!< Position of EPOUT6 field. */ 19458 #define USBD_EPSTATUS_EPOUT6_Msk (0x1UL << USBD_EPSTATUS_EPOUT6_Pos) /*!< Bit mask of EPOUT6 field. */ 19459 #define USBD_EPSTATUS_EPOUT6_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19460 #define USBD_EPSTATUS_EPOUT6_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19461 19462 /* Bit 21 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19463 #define USBD_EPSTATUS_EPOUT5_Pos (21UL) /*!< Position of EPOUT5 field. */ 19464 #define USBD_EPSTATUS_EPOUT5_Msk (0x1UL << USBD_EPSTATUS_EPOUT5_Pos) /*!< Bit mask of EPOUT5 field. */ 19465 #define USBD_EPSTATUS_EPOUT5_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19466 #define USBD_EPSTATUS_EPOUT5_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19467 19468 /* Bit 20 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19469 #define USBD_EPSTATUS_EPOUT4_Pos (20UL) /*!< Position of EPOUT4 field. */ 19470 #define USBD_EPSTATUS_EPOUT4_Msk (0x1UL << USBD_EPSTATUS_EPOUT4_Pos) /*!< Bit mask of EPOUT4 field. */ 19471 #define USBD_EPSTATUS_EPOUT4_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19472 #define USBD_EPSTATUS_EPOUT4_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19473 19474 /* Bit 19 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19475 #define USBD_EPSTATUS_EPOUT3_Pos (19UL) /*!< Position of EPOUT3 field. */ 19476 #define USBD_EPSTATUS_EPOUT3_Msk (0x1UL << USBD_EPSTATUS_EPOUT3_Pos) /*!< Bit mask of EPOUT3 field. */ 19477 #define USBD_EPSTATUS_EPOUT3_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19478 #define USBD_EPSTATUS_EPOUT3_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19479 19480 /* Bit 18 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19481 #define USBD_EPSTATUS_EPOUT2_Pos (18UL) /*!< Position of EPOUT2 field. */ 19482 #define USBD_EPSTATUS_EPOUT2_Msk (0x1UL << USBD_EPSTATUS_EPOUT2_Pos) /*!< Bit mask of EPOUT2 field. */ 19483 #define USBD_EPSTATUS_EPOUT2_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19484 #define USBD_EPSTATUS_EPOUT2_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19485 19486 /* Bit 17 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19487 #define USBD_EPSTATUS_EPOUT1_Pos (17UL) /*!< Position of EPOUT1 field. */ 19488 #define USBD_EPSTATUS_EPOUT1_Msk (0x1UL << USBD_EPSTATUS_EPOUT1_Pos) /*!< Bit mask of EPOUT1 field. */ 19489 #define USBD_EPSTATUS_EPOUT1_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19490 #define USBD_EPSTATUS_EPOUT1_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19491 19492 /* Bit 16 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19493 #define USBD_EPSTATUS_EPOUT0_Pos (16UL) /*!< Position of EPOUT0 field. */ 19494 #define USBD_EPSTATUS_EPOUT0_Msk (0x1UL << USBD_EPSTATUS_EPOUT0_Pos) /*!< Bit mask of EPOUT0 field. */ 19495 #define USBD_EPSTATUS_EPOUT0_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19496 #define USBD_EPSTATUS_EPOUT0_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19497 19498 /* Bit 8 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19499 #define USBD_EPSTATUS_EPIN8_Pos (8UL) /*!< Position of EPIN8 field. */ 19500 #define USBD_EPSTATUS_EPIN8_Msk (0x1UL << USBD_EPSTATUS_EPIN8_Pos) /*!< Bit mask of EPIN8 field. */ 19501 #define USBD_EPSTATUS_EPIN8_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19502 #define USBD_EPSTATUS_EPIN8_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19503 19504 /* Bit 7 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19505 #define USBD_EPSTATUS_EPIN7_Pos (7UL) /*!< Position of EPIN7 field. */ 19506 #define USBD_EPSTATUS_EPIN7_Msk (0x1UL << USBD_EPSTATUS_EPIN7_Pos) /*!< Bit mask of EPIN7 field. */ 19507 #define USBD_EPSTATUS_EPIN7_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19508 #define USBD_EPSTATUS_EPIN7_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19509 19510 /* Bit 6 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19511 #define USBD_EPSTATUS_EPIN6_Pos (6UL) /*!< Position of EPIN6 field. */ 19512 #define USBD_EPSTATUS_EPIN6_Msk (0x1UL << USBD_EPSTATUS_EPIN6_Pos) /*!< Bit mask of EPIN6 field. */ 19513 #define USBD_EPSTATUS_EPIN6_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19514 #define USBD_EPSTATUS_EPIN6_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19515 19516 /* Bit 5 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19517 #define USBD_EPSTATUS_EPIN5_Pos (5UL) /*!< Position of EPIN5 field. */ 19518 #define USBD_EPSTATUS_EPIN5_Msk (0x1UL << USBD_EPSTATUS_EPIN5_Pos) /*!< Bit mask of EPIN5 field. */ 19519 #define USBD_EPSTATUS_EPIN5_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19520 #define USBD_EPSTATUS_EPIN5_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19521 19522 /* Bit 4 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19523 #define USBD_EPSTATUS_EPIN4_Pos (4UL) /*!< Position of EPIN4 field. */ 19524 #define USBD_EPSTATUS_EPIN4_Msk (0x1UL << USBD_EPSTATUS_EPIN4_Pos) /*!< Bit mask of EPIN4 field. */ 19525 #define USBD_EPSTATUS_EPIN4_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19526 #define USBD_EPSTATUS_EPIN4_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19527 19528 /* Bit 3 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19529 #define USBD_EPSTATUS_EPIN3_Pos (3UL) /*!< Position of EPIN3 field. */ 19530 #define USBD_EPSTATUS_EPIN3_Msk (0x1UL << USBD_EPSTATUS_EPIN3_Pos) /*!< Bit mask of EPIN3 field. */ 19531 #define USBD_EPSTATUS_EPIN3_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19532 #define USBD_EPSTATUS_EPIN3_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19533 19534 /* Bit 2 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19535 #define USBD_EPSTATUS_EPIN2_Pos (2UL) /*!< Position of EPIN2 field. */ 19536 #define USBD_EPSTATUS_EPIN2_Msk (0x1UL << USBD_EPSTATUS_EPIN2_Pos) /*!< Bit mask of EPIN2 field. */ 19537 #define USBD_EPSTATUS_EPIN2_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19538 #define USBD_EPSTATUS_EPIN2_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19539 19540 /* Bit 1 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19541 #define USBD_EPSTATUS_EPIN1_Pos (1UL) /*!< Position of EPIN1 field. */ 19542 #define USBD_EPSTATUS_EPIN1_Msk (0x1UL << USBD_EPSTATUS_EPIN1_Pos) /*!< Bit mask of EPIN1 field. */ 19543 #define USBD_EPSTATUS_EPIN1_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19544 #define USBD_EPSTATUS_EPIN1_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19545 19546 /* Bit 0 : Captured state of endpoint's EasyDMA registers. Write '1' to clear. */ 19547 #define USBD_EPSTATUS_EPIN0_Pos (0UL) /*!< Position of EPIN0 field. */ 19548 #define USBD_EPSTATUS_EPIN0_Msk (0x1UL << USBD_EPSTATUS_EPIN0_Pos) /*!< Bit mask of EPIN0 field. */ 19549 #define USBD_EPSTATUS_EPIN0_NoData (0x0UL) /*!< EasyDMA registers have not been captured for this endpoint */ 19550 #define USBD_EPSTATUS_EPIN0_DataDone (0x1UL) /*!< EasyDMA registers have been captured for this endpoint */ 19551 19552 /* Register: USBD_EPDATASTATUS */ 19553 /* Description: Provides information on which endpoint(s) an acknowledged data transfer has occurred (EPDATA event) */ 19554 19555 /* Bit 23 : Acknowledged data transfer on this OUT endpoint. Write '1' to clear. */ 19556 #define USBD_EPDATASTATUS_EPOUT7_Pos (23UL) /*!< Position of EPOUT7 field. */ 19557 #define USBD_EPDATASTATUS_EPOUT7_Msk (0x1UL << USBD_EPDATASTATUS_EPOUT7_Pos) /*!< Bit mask of EPOUT7 field. */ 19558 #define USBD_EPDATASTATUS_EPOUT7_NotStarted (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19559 #define USBD_EPDATASTATUS_EPOUT7_Started (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19560 19561 /* Bit 22 : Acknowledged data transfer on this OUT endpoint. Write '1' to clear. */ 19562 #define USBD_EPDATASTATUS_EPOUT6_Pos (22UL) /*!< Position of EPOUT6 field. */ 19563 #define USBD_EPDATASTATUS_EPOUT6_Msk (0x1UL << USBD_EPDATASTATUS_EPOUT6_Pos) /*!< Bit mask of EPOUT6 field. */ 19564 #define USBD_EPDATASTATUS_EPOUT6_NotStarted (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19565 #define USBD_EPDATASTATUS_EPOUT6_Started (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19566 19567 /* Bit 21 : Acknowledged data transfer on this OUT endpoint. Write '1' to clear. */ 19568 #define USBD_EPDATASTATUS_EPOUT5_Pos (21UL) /*!< Position of EPOUT5 field. */ 19569 #define USBD_EPDATASTATUS_EPOUT5_Msk (0x1UL << USBD_EPDATASTATUS_EPOUT5_Pos) /*!< Bit mask of EPOUT5 field. */ 19570 #define USBD_EPDATASTATUS_EPOUT5_NotStarted (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19571 #define USBD_EPDATASTATUS_EPOUT5_Started (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19572 19573 /* Bit 20 : Acknowledged data transfer on this OUT endpoint. Write '1' to clear. */ 19574 #define USBD_EPDATASTATUS_EPOUT4_Pos (20UL) /*!< Position of EPOUT4 field. */ 19575 #define USBD_EPDATASTATUS_EPOUT4_Msk (0x1UL << USBD_EPDATASTATUS_EPOUT4_Pos) /*!< Bit mask of EPOUT4 field. */ 19576 #define USBD_EPDATASTATUS_EPOUT4_NotStarted (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19577 #define USBD_EPDATASTATUS_EPOUT4_Started (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19578 19579 /* Bit 19 : Acknowledged data transfer on this OUT endpoint. Write '1' to clear. */ 19580 #define USBD_EPDATASTATUS_EPOUT3_Pos (19UL) /*!< Position of EPOUT3 field. */ 19581 #define USBD_EPDATASTATUS_EPOUT3_Msk (0x1UL << USBD_EPDATASTATUS_EPOUT3_Pos) /*!< Bit mask of EPOUT3 field. */ 19582 #define USBD_EPDATASTATUS_EPOUT3_NotStarted (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19583 #define USBD_EPDATASTATUS_EPOUT3_Started (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19584 19585 /* Bit 18 : Acknowledged data transfer on this OUT endpoint. Write '1' to clear. */ 19586 #define USBD_EPDATASTATUS_EPOUT2_Pos (18UL) /*!< Position of EPOUT2 field. */ 19587 #define USBD_EPDATASTATUS_EPOUT2_Msk (0x1UL << USBD_EPDATASTATUS_EPOUT2_Pos) /*!< Bit mask of EPOUT2 field. */ 19588 #define USBD_EPDATASTATUS_EPOUT2_NotStarted (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19589 #define USBD_EPDATASTATUS_EPOUT2_Started (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19590 19591 /* Bit 17 : Acknowledged data transfer on this OUT endpoint. Write '1' to clear. */ 19592 #define USBD_EPDATASTATUS_EPOUT1_Pos (17UL) /*!< Position of EPOUT1 field. */ 19593 #define USBD_EPDATASTATUS_EPOUT1_Msk (0x1UL << USBD_EPDATASTATUS_EPOUT1_Pos) /*!< Bit mask of EPOUT1 field. */ 19594 #define USBD_EPDATASTATUS_EPOUT1_NotStarted (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19595 #define USBD_EPDATASTATUS_EPOUT1_Started (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19596 19597 /* Bit 7 : Acknowledged data transfer on this IN endpoint. Write '1' to clear. */ 19598 #define USBD_EPDATASTATUS_EPIN7_Pos (7UL) /*!< Position of EPIN7 field. */ 19599 #define USBD_EPDATASTATUS_EPIN7_Msk (0x1UL << USBD_EPDATASTATUS_EPIN7_Pos) /*!< Bit mask of EPIN7 field. */ 19600 #define USBD_EPDATASTATUS_EPIN7_NotDone (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19601 #define USBD_EPDATASTATUS_EPIN7_DataDone (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19602 19603 /* Bit 6 : Acknowledged data transfer on this IN endpoint. Write '1' to clear. */ 19604 #define USBD_EPDATASTATUS_EPIN6_Pos (6UL) /*!< Position of EPIN6 field. */ 19605 #define USBD_EPDATASTATUS_EPIN6_Msk (0x1UL << USBD_EPDATASTATUS_EPIN6_Pos) /*!< Bit mask of EPIN6 field. */ 19606 #define USBD_EPDATASTATUS_EPIN6_NotDone (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19607 #define USBD_EPDATASTATUS_EPIN6_DataDone (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19608 19609 /* Bit 5 : Acknowledged data transfer on this IN endpoint. Write '1' to clear. */ 19610 #define USBD_EPDATASTATUS_EPIN5_Pos (5UL) /*!< Position of EPIN5 field. */ 19611 #define USBD_EPDATASTATUS_EPIN5_Msk (0x1UL << USBD_EPDATASTATUS_EPIN5_Pos) /*!< Bit mask of EPIN5 field. */ 19612 #define USBD_EPDATASTATUS_EPIN5_NotDone (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19613 #define USBD_EPDATASTATUS_EPIN5_DataDone (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19614 19615 /* Bit 4 : Acknowledged data transfer on this IN endpoint. Write '1' to clear. */ 19616 #define USBD_EPDATASTATUS_EPIN4_Pos (4UL) /*!< Position of EPIN4 field. */ 19617 #define USBD_EPDATASTATUS_EPIN4_Msk (0x1UL << USBD_EPDATASTATUS_EPIN4_Pos) /*!< Bit mask of EPIN4 field. */ 19618 #define USBD_EPDATASTATUS_EPIN4_NotDone (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19619 #define USBD_EPDATASTATUS_EPIN4_DataDone (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19620 19621 /* Bit 3 : Acknowledged data transfer on this IN endpoint. Write '1' to clear. */ 19622 #define USBD_EPDATASTATUS_EPIN3_Pos (3UL) /*!< Position of EPIN3 field. */ 19623 #define USBD_EPDATASTATUS_EPIN3_Msk (0x1UL << USBD_EPDATASTATUS_EPIN3_Pos) /*!< Bit mask of EPIN3 field. */ 19624 #define USBD_EPDATASTATUS_EPIN3_NotDone (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19625 #define USBD_EPDATASTATUS_EPIN3_DataDone (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19626 19627 /* Bit 2 : Acknowledged data transfer on this IN endpoint. Write '1' to clear. */ 19628 #define USBD_EPDATASTATUS_EPIN2_Pos (2UL) /*!< Position of EPIN2 field. */ 19629 #define USBD_EPDATASTATUS_EPIN2_Msk (0x1UL << USBD_EPDATASTATUS_EPIN2_Pos) /*!< Bit mask of EPIN2 field. */ 19630 #define USBD_EPDATASTATUS_EPIN2_NotDone (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19631 #define USBD_EPDATASTATUS_EPIN2_DataDone (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19632 19633 /* Bit 1 : Acknowledged data transfer on this IN endpoint. Write '1' to clear. */ 19634 #define USBD_EPDATASTATUS_EPIN1_Pos (1UL) /*!< Position of EPIN1 field. */ 19635 #define USBD_EPDATASTATUS_EPIN1_Msk (0x1UL << USBD_EPDATASTATUS_EPIN1_Pos) /*!< Bit mask of EPIN1 field. */ 19636 #define USBD_EPDATASTATUS_EPIN1_NotDone (0x0UL) /*!< No acknowledged data transfer on this endpoint */ 19637 #define USBD_EPDATASTATUS_EPIN1_DataDone (0x1UL) /*!< Acknowledged data transfer on this endpoint has occurred */ 19638 19639 /* Register: USBD_USBADDR */ 19640 /* Description: Device USB address */ 19641 19642 /* Bits 6..0 : Device USB address */ 19643 #define USBD_USBADDR_ADDR_Pos (0UL) /*!< Position of ADDR field. */ 19644 #define USBD_USBADDR_ADDR_Msk (0x7FUL << USBD_USBADDR_ADDR_Pos) /*!< Bit mask of ADDR field. */ 19645 19646 /* Register: USBD_BMREQUESTTYPE */ 19647 /* Description: SETUP data, byte 0, bmRequestType */ 19648 19649 /* Bit 7 : Data transfer direction */ 19650 #define USBD_BMREQUESTTYPE_DIRECTION_Pos (7UL) /*!< Position of DIRECTION field. */ 19651 #define USBD_BMREQUESTTYPE_DIRECTION_Msk (0x1UL << USBD_BMREQUESTTYPE_DIRECTION_Pos) /*!< Bit mask of DIRECTION field. */ 19652 #define USBD_BMREQUESTTYPE_DIRECTION_HostToDevice (0x0UL) /*!< Host-to-device */ 19653 #define USBD_BMREQUESTTYPE_DIRECTION_DeviceToHost (0x1UL) /*!< Device-to-host */ 19654 19655 /* Bits 6..5 : Data transfer type */ 19656 #define USBD_BMREQUESTTYPE_TYPE_Pos (5UL) /*!< Position of TYPE field. */ 19657 #define USBD_BMREQUESTTYPE_TYPE_Msk (0x3UL << USBD_BMREQUESTTYPE_TYPE_Pos) /*!< Bit mask of TYPE field. */ 19658 #define USBD_BMREQUESTTYPE_TYPE_Standard (0x0UL) /*!< Standard */ 19659 #define USBD_BMREQUESTTYPE_TYPE_Class (0x1UL) /*!< Class */ 19660 #define USBD_BMREQUESTTYPE_TYPE_Vendor (0x2UL) /*!< Vendor */ 19661 19662 /* Bits 4..0 : Data transfer type */ 19663 #define USBD_BMREQUESTTYPE_RECIPIENT_Pos (0UL) /*!< Position of RECIPIENT field. */ 19664 #define USBD_BMREQUESTTYPE_RECIPIENT_Msk (0x1FUL << USBD_BMREQUESTTYPE_RECIPIENT_Pos) /*!< Bit mask of RECIPIENT field. */ 19665 #define USBD_BMREQUESTTYPE_RECIPIENT_Device (0x00UL) /*!< Device */ 19666 #define USBD_BMREQUESTTYPE_RECIPIENT_Interface (0x01UL) /*!< Interface */ 19667 #define USBD_BMREQUESTTYPE_RECIPIENT_Endpoint (0x02UL) /*!< Endpoint */ 19668 #define USBD_BMREQUESTTYPE_RECIPIENT_Other (0x03UL) /*!< Other */ 19669 19670 /* Register: USBD_BREQUEST */ 19671 /* Description: SETUP data, byte 1, bRequest */ 19672 19673 /* Bits 7..0 : SETUP data, byte 1, bRequest. Values provided for standard requests only, user must implement class and vendor values. */ 19674 #define USBD_BREQUEST_BREQUEST_Pos (0UL) /*!< Position of BREQUEST field. */ 19675 #define USBD_BREQUEST_BREQUEST_Msk (0xFFUL << USBD_BREQUEST_BREQUEST_Pos) /*!< Bit mask of BREQUEST field. */ 19676 #define USBD_BREQUEST_BREQUEST_STD_GET_STATUS (0x00UL) /*!< Standard request GET_STATUS */ 19677 #define USBD_BREQUEST_BREQUEST_STD_CLEAR_FEATURE (0x01UL) /*!< Standard request CLEAR_FEATURE */ 19678 #define USBD_BREQUEST_BREQUEST_STD_SET_FEATURE (0x03UL) /*!< Standard request SET_FEATURE */ 19679 #define USBD_BREQUEST_BREQUEST_STD_SET_ADDRESS (0x05UL) /*!< Standard request SET_ADDRESS */ 19680 #define USBD_BREQUEST_BREQUEST_STD_GET_DESCRIPTOR (0x06UL) /*!< Standard request GET_DESCRIPTOR */ 19681 #define USBD_BREQUEST_BREQUEST_STD_SET_DESCRIPTOR (0x07UL) /*!< Standard request SET_DESCRIPTOR */ 19682 #define USBD_BREQUEST_BREQUEST_STD_GET_CONFIGURATION (0x08UL) /*!< Standard request GET_CONFIGURATION */ 19683 #define USBD_BREQUEST_BREQUEST_STD_SET_CONFIGURATION (0x09UL) /*!< Standard request SET_CONFIGURATION */ 19684 #define USBD_BREQUEST_BREQUEST_STD_GET_INTERFACE (0x0AUL) /*!< Standard request GET_INTERFACE */ 19685 #define USBD_BREQUEST_BREQUEST_STD_SET_INTERFACE (0x0BUL) /*!< Standard request SET_INTERFACE */ 19686 #define USBD_BREQUEST_BREQUEST_STD_SYNCH_FRAME (0x0CUL) /*!< Standard request SYNCH_FRAME */ 19687 19688 /* Register: USBD_WVALUEL */ 19689 /* Description: SETUP data, byte 2, LSB of wValue */ 19690 19691 /* Bits 7..0 : SETUP data, byte 2, LSB of wValue */ 19692 #define USBD_WVALUEL_WVALUEL_Pos (0UL) /*!< Position of WVALUEL field. */ 19693 #define USBD_WVALUEL_WVALUEL_Msk (0xFFUL << USBD_WVALUEL_WVALUEL_Pos) /*!< Bit mask of WVALUEL field. */ 19694 19695 /* Register: USBD_WVALUEH */ 19696 /* Description: SETUP data, byte 3, MSB of wValue */ 19697 19698 /* Bits 7..0 : SETUP data, byte 3, MSB of wValue */ 19699 #define USBD_WVALUEH_WVALUEH_Pos (0UL) /*!< Position of WVALUEH field. */ 19700 #define USBD_WVALUEH_WVALUEH_Msk (0xFFUL << USBD_WVALUEH_WVALUEH_Pos) /*!< Bit mask of WVALUEH field. */ 19701 19702 /* Register: USBD_WINDEXL */ 19703 /* Description: SETUP data, byte 4, LSB of wIndex */ 19704 19705 /* Bits 7..0 : SETUP data, byte 4, LSB of wIndex */ 19706 #define USBD_WINDEXL_WINDEXL_Pos (0UL) /*!< Position of WINDEXL field. */ 19707 #define USBD_WINDEXL_WINDEXL_Msk (0xFFUL << USBD_WINDEXL_WINDEXL_Pos) /*!< Bit mask of WINDEXL field. */ 19708 19709 /* Register: USBD_WINDEXH */ 19710 /* Description: SETUP data, byte 5, MSB of wIndex */ 19711 19712 /* Bits 7..0 : SETUP data, byte 5, MSB of wIndex */ 19713 #define USBD_WINDEXH_WINDEXH_Pos (0UL) /*!< Position of WINDEXH field. */ 19714 #define USBD_WINDEXH_WINDEXH_Msk (0xFFUL << USBD_WINDEXH_WINDEXH_Pos) /*!< Bit mask of WINDEXH field. */ 19715 19716 /* Register: USBD_WLENGTHL */ 19717 /* Description: SETUP data, byte 6, LSB of wLength */ 19718 19719 /* Bits 7..0 : SETUP data, byte 6, LSB of wLength */ 19720 #define USBD_WLENGTHL_WLENGTHL_Pos (0UL) /*!< Position of WLENGTHL field. */ 19721 #define USBD_WLENGTHL_WLENGTHL_Msk (0xFFUL << USBD_WLENGTHL_WLENGTHL_Pos) /*!< Bit mask of WLENGTHL field. */ 19722 19723 /* Register: USBD_WLENGTHH */ 19724 /* Description: SETUP data, byte 7, MSB of wLength */ 19725 19726 /* Bits 7..0 : SETUP data, byte 7, MSB of wLength */ 19727 #define USBD_WLENGTHH_WLENGTHH_Pos (0UL) /*!< Position of WLENGTHH field. */ 19728 #define USBD_WLENGTHH_WLENGTHH_Msk (0xFFUL << USBD_WLENGTHH_WLENGTHH_Pos) /*!< Bit mask of WLENGTHH field. */ 19729 19730 /* Register: USBD_SIZE_EPOUT */ 19731 /* Description: Description collection: Number of bytes received last in the data stage of this OUT endpoint */ 19732 19733 /* Bits 6..0 : Number of bytes received last in the data stage of this OUT endpoint */ 19734 #define USBD_SIZE_EPOUT_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 19735 #define USBD_SIZE_EPOUT_SIZE_Msk (0x7FUL << USBD_SIZE_EPOUT_SIZE_Pos) /*!< Bit mask of SIZE field. */ 19736 19737 /* Register: USBD_SIZE_ISOOUT */ 19738 /* Description: Number of bytes received last on this ISO OUT data endpoint */ 19739 19740 /* Bit 16 : Zero-length data packet received */ 19741 #define USBD_SIZE_ISOOUT_ZERO_Pos (16UL) /*!< Position of ZERO field. */ 19742 #define USBD_SIZE_ISOOUT_ZERO_Msk (0x1UL << USBD_SIZE_ISOOUT_ZERO_Pos) /*!< Bit mask of ZERO field. */ 19743 #define USBD_SIZE_ISOOUT_ZERO_Normal (0x0UL) /*!< No zero-length data received, use value in SIZE */ 19744 #define USBD_SIZE_ISOOUT_ZERO_ZeroData (0x1UL) /*!< Zero-length data received, ignore value in SIZE */ 19745 19746 /* Bits 9..0 : Number of bytes received last on this ISO OUT data endpoint */ 19747 #define USBD_SIZE_ISOOUT_SIZE_Pos (0UL) /*!< Position of SIZE field. */ 19748 #define USBD_SIZE_ISOOUT_SIZE_Msk (0x3FFUL << USBD_SIZE_ISOOUT_SIZE_Pos) /*!< Bit mask of SIZE field. */ 19749 19750 /* Register: USBD_ENABLE */ 19751 /* Description: Enable USB */ 19752 19753 /* Bit 0 : Enable USB */ 19754 #define USBD_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 19755 #define USBD_ENABLE_ENABLE_Msk (0x1UL << USBD_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 19756 #define USBD_ENABLE_ENABLE_Disabled (0x0UL) /*!< USB peripheral is disabled */ 19757 #define USBD_ENABLE_ENABLE_Enabled (0x1UL) /*!< USB peripheral is enabled */ 19758 19759 /* Register: USBD_USBPULLUP */ 19760 /* Description: Control of the USB pull-up */ 19761 19762 /* Bit 0 : Control of the USB pull-up on the D+ line */ 19763 #define USBD_USBPULLUP_CONNECT_Pos (0UL) /*!< Position of CONNECT field. */ 19764 #define USBD_USBPULLUP_CONNECT_Msk (0x1UL << USBD_USBPULLUP_CONNECT_Pos) /*!< Bit mask of CONNECT field. */ 19765 #define USBD_USBPULLUP_CONNECT_Disabled (0x0UL) /*!< Pull-up is disconnected */ 19766 #define USBD_USBPULLUP_CONNECT_Enabled (0x1UL) /*!< Pull-up is connected to D+ */ 19767 19768 /* Register: USBD_DPDMVALUE */ 19769 /* Description: State D+ and D- lines will be forced into by the DPDMDRIVE task. The DPDMNODRIVE task reverts the control of the lines to MAC IP (no forcing). */ 19770 19771 /* Bits 4..0 : State D+ and D- lines will be forced into by the DPDMDRIVE task */ 19772 #define USBD_DPDMVALUE_STATE_Pos (0UL) /*!< Position of STATE field. */ 19773 #define USBD_DPDMVALUE_STATE_Msk (0x1FUL << USBD_DPDMVALUE_STATE_Pos) /*!< Bit mask of STATE field. */ 19774 #define USBD_DPDMVALUE_STATE_Resume (0x01UL) /*!< D+ forced low, D- forced high (K state) for a timing preset in hardware (50 us or 5 ms, depending on bus state) */ 19775 #define USBD_DPDMVALUE_STATE_J (0x02UL) /*!< D+ forced high, D- forced low (J state) */ 19776 #define USBD_DPDMVALUE_STATE_K (0x04UL) /*!< D+ forced low, D- forced high (K state) */ 19777 19778 /* Register: USBD_DTOGGLE */ 19779 /* Description: Data toggle control and status */ 19780 19781 /* Bits 9..8 : Data toggle value */ 19782 #define USBD_DTOGGLE_VALUE_Pos (8UL) /*!< Position of VALUE field. */ 19783 #define USBD_DTOGGLE_VALUE_Msk (0x3UL << USBD_DTOGGLE_VALUE_Pos) /*!< Bit mask of VALUE field. */ 19784 #define USBD_DTOGGLE_VALUE_Nop (0x0UL) /*!< No action on data toggle when writing the register with this value */ 19785 #define USBD_DTOGGLE_VALUE_Data0 (0x1UL) /*!< Data toggle is DATA0 on endpoint set by EP and IO */ 19786 #define USBD_DTOGGLE_VALUE_Data1 (0x2UL) /*!< Data toggle is DATA1 on endpoint set by EP and IO */ 19787 19788 /* Bit 7 : Selects IN or OUT endpoint */ 19789 #define USBD_DTOGGLE_IO_Pos (7UL) /*!< Position of IO field. */ 19790 #define USBD_DTOGGLE_IO_Msk (0x1UL << USBD_DTOGGLE_IO_Pos) /*!< Bit mask of IO field. */ 19791 #define USBD_DTOGGLE_IO_Out (0x0UL) /*!< Selects OUT endpoint */ 19792 #define USBD_DTOGGLE_IO_In (0x1UL) /*!< Selects IN endpoint */ 19793 19794 /* Bits 2..0 : Select bulk endpoint number */ 19795 #define USBD_DTOGGLE_EP_Pos (0UL) /*!< Position of EP field. */ 19796 #define USBD_DTOGGLE_EP_Msk (0x7UL << USBD_DTOGGLE_EP_Pos) /*!< Bit mask of EP field. */ 19797 19798 /* Register: USBD_EPINEN */ 19799 /* Description: Endpoint IN enable */ 19800 19801 /* Bit 8 : Enable ISO IN endpoint */ 19802 #define USBD_EPINEN_ISOIN_Pos (8UL) /*!< Position of ISOIN field. */ 19803 #define USBD_EPINEN_ISOIN_Msk (0x1UL << USBD_EPINEN_ISOIN_Pos) /*!< Bit mask of ISOIN field. */ 19804 #define USBD_EPINEN_ISOIN_Disable (0x0UL) /*!< Disable ISO IN endpoint 8 */ 19805 #define USBD_EPINEN_ISOIN_Enable (0x1UL) /*!< Enable ISO IN endpoint 8 */ 19806 19807 /* Bit 7 : Enable IN endpoint 7 */ 19808 #define USBD_EPINEN_IN7_Pos (7UL) /*!< Position of IN7 field. */ 19809 #define USBD_EPINEN_IN7_Msk (0x1UL << USBD_EPINEN_IN7_Pos) /*!< Bit mask of IN7 field. */ 19810 #define USBD_EPINEN_IN7_Disable (0x0UL) /*!< Disable endpoint IN 7 (no response to IN tokens) */ 19811 #define USBD_EPINEN_IN7_Enable (0x1UL) /*!< Enable endpoint IN 7 (response to IN tokens) */ 19812 19813 /* Bit 6 : Enable IN endpoint 6 */ 19814 #define USBD_EPINEN_IN6_Pos (6UL) /*!< Position of IN6 field. */ 19815 #define USBD_EPINEN_IN6_Msk (0x1UL << USBD_EPINEN_IN6_Pos) /*!< Bit mask of IN6 field. */ 19816 #define USBD_EPINEN_IN6_Disable (0x0UL) /*!< Disable endpoint IN 6 (no response to IN tokens) */ 19817 #define USBD_EPINEN_IN6_Enable (0x1UL) /*!< Enable endpoint IN 6 (response to IN tokens) */ 19818 19819 /* Bit 5 : Enable IN endpoint 5 */ 19820 #define USBD_EPINEN_IN5_Pos (5UL) /*!< Position of IN5 field. */ 19821 #define USBD_EPINEN_IN5_Msk (0x1UL << USBD_EPINEN_IN5_Pos) /*!< Bit mask of IN5 field. */ 19822 #define USBD_EPINEN_IN5_Disable (0x0UL) /*!< Disable endpoint IN 5 (no response to IN tokens) */ 19823 #define USBD_EPINEN_IN5_Enable (0x1UL) /*!< Enable endpoint IN 5 (response to IN tokens) */ 19824 19825 /* Bit 4 : Enable IN endpoint 4 */ 19826 #define USBD_EPINEN_IN4_Pos (4UL) /*!< Position of IN4 field. */ 19827 #define USBD_EPINEN_IN4_Msk (0x1UL << USBD_EPINEN_IN4_Pos) /*!< Bit mask of IN4 field. */ 19828 #define USBD_EPINEN_IN4_Disable (0x0UL) /*!< Disable endpoint IN 4 (no response to IN tokens) */ 19829 #define USBD_EPINEN_IN4_Enable (0x1UL) /*!< Enable endpoint IN 4 (response to IN tokens) */ 19830 19831 /* Bit 3 : Enable IN endpoint 3 */ 19832 #define USBD_EPINEN_IN3_Pos (3UL) /*!< Position of IN3 field. */ 19833 #define USBD_EPINEN_IN3_Msk (0x1UL << USBD_EPINEN_IN3_Pos) /*!< Bit mask of IN3 field. */ 19834 #define USBD_EPINEN_IN3_Disable (0x0UL) /*!< Disable endpoint IN 3 (no response to IN tokens) */ 19835 #define USBD_EPINEN_IN3_Enable (0x1UL) /*!< Enable endpoint IN 3 (response to IN tokens) */ 19836 19837 /* Bit 2 : Enable IN endpoint 2 */ 19838 #define USBD_EPINEN_IN2_Pos (2UL) /*!< Position of IN2 field. */ 19839 #define USBD_EPINEN_IN2_Msk (0x1UL << USBD_EPINEN_IN2_Pos) /*!< Bit mask of IN2 field. */ 19840 #define USBD_EPINEN_IN2_Disable (0x0UL) /*!< Disable endpoint IN 2 (no response to IN tokens) */ 19841 #define USBD_EPINEN_IN2_Enable (0x1UL) /*!< Enable endpoint IN 2 (response to IN tokens) */ 19842 19843 /* Bit 1 : Enable IN endpoint 1 */ 19844 #define USBD_EPINEN_IN1_Pos (1UL) /*!< Position of IN1 field. */ 19845 #define USBD_EPINEN_IN1_Msk (0x1UL << USBD_EPINEN_IN1_Pos) /*!< Bit mask of IN1 field. */ 19846 #define USBD_EPINEN_IN1_Disable (0x0UL) /*!< Disable endpoint IN 1 (no response to IN tokens) */ 19847 #define USBD_EPINEN_IN1_Enable (0x1UL) /*!< Enable endpoint IN 1 (response to IN tokens) */ 19848 19849 /* Bit 0 : Enable IN endpoint 0 */ 19850 #define USBD_EPINEN_IN0_Pos (0UL) /*!< Position of IN0 field. */ 19851 #define USBD_EPINEN_IN0_Msk (0x1UL << USBD_EPINEN_IN0_Pos) /*!< Bit mask of IN0 field. */ 19852 #define USBD_EPINEN_IN0_Disable (0x0UL) /*!< Disable endpoint IN 0 (no response to IN tokens) */ 19853 #define USBD_EPINEN_IN0_Enable (0x1UL) /*!< Enable endpoint IN 0 (response to IN tokens) */ 19854 19855 /* Register: USBD_EPOUTEN */ 19856 /* Description: Endpoint OUT enable */ 19857 19858 /* Bit 8 : Enable ISO OUT endpoint 8 */ 19859 #define USBD_EPOUTEN_ISOOUT_Pos (8UL) /*!< Position of ISOOUT field. */ 19860 #define USBD_EPOUTEN_ISOOUT_Msk (0x1UL << USBD_EPOUTEN_ISOOUT_Pos) /*!< Bit mask of ISOOUT field. */ 19861 #define USBD_EPOUTEN_ISOOUT_Disable (0x0UL) /*!< Disable ISO OUT endpoint 8 */ 19862 #define USBD_EPOUTEN_ISOOUT_Enable (0x1UL) /*!< Enable ISO OUT endpoint 8 */ 19863 19864 /* Bit 7 : Enable OUT endpoint 7 */ 19865 #define USBD_EPOUTEN_OUT7_Pos (7UL) /*!< Position of OUT7 field. */ 19866 #define USBD_EPOUTEN_OUT7_Msk (0x1UL << USBD_EPOUTEN_OUT7_Pos) /*!< Bit mask of OUT7 field. */ 19867 #define USBD_EPOUTEN_OUT7_Disable (0x0UL) /*!< Disable endpoint OUT 7 (no response to OUT tokens) */ 19868 #define USBD_EPOUTEN_OUT7_Enable (0x1UL) /*!< Enable endpoint OUT 7 (response to OUT tokens) */ 19869 19870 /* Bit 6 : Enable OUT endpoint 6 */ 19871 #define USBD_EPOUTEN_OUT6_Pos (6UL) /*!< Position of OUT6 field. */ 19872 #define USBD_EPOUTEN_OUT6_Msk (0x1UL << USBD_EPOUTEN_OUT6_Pos) /*!< Bit mask of OUT6 field. */ 19873 #define USBD_EPOUTEN_OUT6_Disable (0x0UL) /*!< Disable endpoint OUT 6 (no response to OUT tokens) */ 19874 #define USBD_EPOUTEN_OUT6_Enable (0x1UL) /*!< Enable endpoint OUT 6 (response to OUT tokens) */ 19875 19876 /* Bit 5 : Enable OUT endpoint 5 */ 19877 #define USBD_EPOUTEN_OUT5_Pos (5UL) /*!< Position of OUT5 field. */ 19878 #define USBD_EPOUTEN_OUT5_Msk (0x1UL << USBD_EPOUTEN_OUT5_Pos) /*!< Bit mask of OUT5 field. */ 19879 #define USBD_EPOUTEN_OUT5_Disable (0x0UL) /*!< Disable endpoint OUT 5 (no response to OUT tokens) */ 19880 #define USBD_EPOUTEN_OUT5_Enable (0x1UL) /*!< Enable endpoint OUT 5 (response to OUT tokens) */ 19881 19882 /* Bit 4 : Enable OUT endpoint 4 */ 19883 #define USBD_EPOUTEN_OUT4_Pos (4UL) /*!< Position of OUT4 field. */ 19884 #define USBD_EPOUTEN_OUT4_Msk (0x1UL << USBD_EPOUTEN_OUT4_Pos) /*!< Bit mask of OUT4 field. */ 19885 #define USBD_EPOUTEN_OUT4_Disable (0x0UL) /*!< Disable endpoint OUT 4 (no response to OUT tokens) */ 19886 #define USBD_EPOUTEN_OUT4_Enable (0x1UL) /*!< Enable endpoint OUT 4 (response to OUT tokens) */ 19887 19888 /* Bit 3 : Enable OUT endpoint 3 */ 19889 #define USBD_EPOUTEN_OUT3_Pos (3UL) /*!< Position of OUT3 field. */ 19890 #define USBD_EPOUTEN_OUT3_Msk (0x1UL << USBD_EPOUTEN_OUT3_Pos) /*!< Bit mask of OUT3 field. */ 19891 #define USBD_EPOUTEN_OUT3_Disable (0x0UL) /*!< Disable endpoint OUT 3 (no response to OUT tokens) */ 19892 #define USBD_EPOUTEN_OUT3_Enable (0x1UL) /*!< Enable endpoint OUT 3 (response to OUT tokens) */ 19893 19894 /* Bit 2 : Enable OUT endpoint 2 */ 19895 #define USBD_EPOUTEN_OUT2_Pos (2UL) /*!< Position of OUT2 field. */ 19896 #define USBD_EPOUTEN_OUT2_Msk (0x1UL << USBD_EPOUTEN_OUT2_Pos) /*!< Bit mask of OUT2 field. */ 19897 #define USBD_EPOUTEN_OUT2_Disable (0x0UL) /*!< Disable endpoint OUT 2 (no response to OUT tokens) */ 19898 #define USBD_EPOUTEN_OUT2_Enable (0x1UL) /*!< Enable endpoint OUT 2 (response to OUT tokens) */ 19899 19900 /* Bit 1 : Enable OUT endpoint 1 */ 19901 #define USBD_EPOUTEN_OUT1_Pos (1UL) /*!< Position of OUT1 field. */ 19902 #define USBD_EPOUTEN_OUT1_Msk (0x1UL << USBD_EPOUTEN_OUT1_Pos) /*!< Bit mask of OUT1 field. */ 19903 #define USBD_EPOUTEN_OUT1_Disable (0x0UL) /*!< Disable endpoint OUT 1 (no response to OUT tokens) */ 19904 #define USBD_EPOUTEN_OUT1_Enable (0x1UL) /*!< Enable endpoint OUT 1 (response to OUT tokens) */ 19905 19906 /* Bit 0 : Enable OUT endpoint 0 */ 19907 #define USBD_EPOUTEN_OUT0_Pos (0UL) /*!< Position of OUT0 field. */ 19908 #define USBD_EPOUTEN_OUT0_Msk (0x1UL << USBD_EPOUTEN_OUT0_Pos) /*!< Bit mask of OUT0 field. */ 19909 #define USBD_EPOUTEN_OUT0_Disable (0x0UL) /*!< Disable endpoint OUT 0 (no response to OUT tokens) */ 19910 #define USBD_EPOUTEN_OUT0_Enable (0x1UL) /*!< Enable endpoint OUT 0 (response to OUT tokens) */ 19911 19912 /* Register: USBD_EPSTALL */ 19913 /* Description: STALL endpoints */ 19914 19915 /* Bit 8 : Stall selected endpoint */ 19916 #define USBD_EPSTALL_STALL_Pos (8UL) /*!< Position of STALL field. */ 19917 #define USBD_EPSTALL_STALL_Msk (0x1UL << USBD_EPSTALL_STALL_Pos) /*!< Bit mask of STALL field. */ 19918 #define USBD_EPSTALL_STALL_UnStall (0x0UL) /*!< Don't stall selected endpoint */ 19919 #define USBD_EPSTALL_STALL_Stall (0x1UL) /*!< Stall selected endpoint */ 19920 19921 /* Bit 7 : Selects IN or OUT endpoint */ 19922 #define USBD_EPSTALL_IO_Pos (7UL) /*!< Position of IO field. */ 19923 #define USBD_EPSTALL_IO_Msk (0x1UL << USBD_EPSTALL_IO_Pos) /*!< Bit mask of IO field. */ 19924 #define USBD_EPSTALL_IO_Out (0x0UL) /*!< Selects OUT endpoint */ 19925 #define USBD_EPSTALL_IO_In (0x1UL) /*!< Selects IN endpoint */ 19926 19927 /* Bits 2..0 : Select endpoint number */ 19928 #define USBD_EPSTALL_EP_Pos (0UL) /*!< Position of EP field. */ 19929 #define USBD_EPSTALL_EP_Msk (0x7UL << USBD_EPSTALL_EP_Pos) /*!< Bit mask of EP field. */ 19930 19931 /* Register: USBD_ISOSPLIT */ 19932 /* Description: Controls the split of ISO buffers */ 19933 19934 /* Bits 15..0 : Controls the split of ISO buffers */ 19935 #define USBD_ISOSPLIT_SPLIT_Pos (0UL) /*!< Position of SPLIT field. */ 19936 #define USBD_ISOSPLIT_SPLIT_Msk (0xFFFFUL << USBD_ISOSPLIT_SPLIT_Pos) /*!< Bit mask of SPLIT field. */ 19937 #define USBD_ISOSPLIT_SPLIT_OneDir (0x0000UL) /*!< Full buffer dedicated to either ISO IN or OUT */ 19938 #define USBD_ISOSPLIT_SPLIT_HalfIN (0x0080UL) /*!< Lower half for IN, upper half for OUT */ 19939 19940 /* Register: USBD_FRAMECNTR */ 19941 /* Description: Returns the current value of the start of frame counter */ 19942 19943 /* Bits 10..0 : Returns the current value of the start of frame counter */ 19944 #define USBD_FRAMECNTR_FRAMECNTR_Pos (0UL) /*!< Position of FRAMECNTR field. */ 19945 #define USBD_FRAMECNTR_FRAMECNTR_Msk (0x7FFUL << USBD_FRAMECNTR_FRAMECNTR_Pos) /*!< Bit mask of FRAMECNTR field. */ 19946 19947 /* Register: USBD_LOWPOWER */ 19948 /* Description: Controls USBD peripheral Low-power mode during USB suspend */ 19949 19950 /* Bit 0 : Controls USBD peripheral Low-power mode during USB suspend */ 19951 #define USBD_LOWPOWER_LOWPOWER_Pos (0UL) /*!< Position of LOWPOWER field. */ 19952 #define USBD_LOWPOWER_LOWPOWER_Msk (0x1UL << USBD_LOWPOWER_LOWPOWER_Pos) /*!< Bit mask of LOWPOWER field. */ 19953 #define USBD_LOWPOWER_LOWPOWER_ForceNormal (0x0UL) /*!< Software must write this value to exit Low-power mode and before performing a remote wake-up */ 19954 #define USBD_LOWPOWER_LOWPOWER_LowPower (0x1UL) /*!< Software must write this value to enter Low-power mode after DMA and software have finished interacting with the USB peripheral */ 19955 19956 /* Register: USBD_ISOINCONFIG */ 19957 /* Description: Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent */ 19958 19959 /* Bit 0 : Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent */ 19960 #define USBD_ISOINCONFIG_RESPONSE_Pos (0UL) /*!< Position of RESPONSE field. */ 19961 #define USBD_ISOINCONFIG_RESPONSE_Msk (0x1UL << USBD_ISOINCONFIG_RESPONSE_Pos) /*!< Bit mask of RESPONSE field. */ 19962 #define USBD_ISOINCONFIG_RESPONSE_NoResp (0x0UL) /*!< Endpoint does not respond in that case */ 19963 #define USBD_ISOINCONFIG_RESPONSE_ZeroData (0x1UL) /*!< Endpoint responds with a zero-length data packet in that case */ 19964 19965 /* Register: USBD_EPIN_PTR */ 19966 /* Description: Description cluster: Data pointer */ 19967 19968 /* Bits 31..0 : Data pointer */ 19969 #define USBD_EPIN_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 19970 #define USBD_EPIN_PTR_PTR_Msk (0xFFFFFFFFUL << USBD_EPIN_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 19971 19972 /* Register: USBD_EPIN_MAXCNT */ 19973 /* Description: Description cluster: Maximum number of bytes to transfer */ 19974 19975 /* Bits 6..0 : Maximum number of bytes to transfer */ 19976 #define USBD_EPIN_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 19977 #define USBD_EPIN_MAXCNT_MAXCNT_Msk (0x7FUL << USBD_EPIN_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 19978 19979 /* Register: USBD_EPIN_AMOUNT */ 19980 /* Description: Description cluster: Number of bytes transferred in the last transaction */ 19981 19982 /* Bits 6..0 : Number of bytes transferred in the last transaction */ 19983 #define USBD_EPIN_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 19984 #define USBD_EPIN_AMOUNT_AMOUNT_Msk (0x7FUL << USBD_EPIN_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 19985 19986 /* Register: USBD_ISOIN_PTR */ 19987 /* Description: Data pointer */ 19988 19989 /* Bits 31..0 : Data pointer */ 19990 #define USBD_ISOIN_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 19991 #define USBD_ISOIN_PTR_PTR_Msk (0xFFFFFFFFUL << USBD_ISOIN_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 19992 19993 /* Register: USBD_ISOIN_MAXCNT */ 19994 /* Description: Maximum number of bytes to transfer */ 19995 19996 /* Bits 9..0 : Maximum number of bytes to transfer */ 19997 #define USBD_ISOIN_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 19998 #define USBD_ISOIN_MAXCNT_MAXCNT_Msk (0x3FFUL << USBD_ISOIN_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 19999 20000 /* Register: USBD_ISOIN_AMOUNT */ 20001 /* Description: Number of bytes transferred in the last transaction */ 20002 20003 /* Bits 9..0 : Number of bytes transferred in the last transaction */ 20004 #define USBD_ISOIN_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 20005 #define USBD_ISOIN_AMOUNT_AMOUNT_Msk (0x3FFUL << USBD_ISOIN_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 20006 20007 /* Register: USBD_EPOUT_PTR */ 20008 /* Description: Description cluster: Data pointer */ 20009 20010 /* Bits 31..0 : Data pointer */ 20011 #define USBD_EPOUT_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 20012 #define USBD_EPOUT_PTR_PTR_Msk (0xFFFFFFFFUL << USBD_EPOUT_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 20013 20014 /* Register: USBD_EPOUT_MAXCNT */ 20015 /* Description: Description cluster: Maximum number of bytes to transfer */ 20016 20017 /* Bits 6..0 : Maximum number of bytes to transfer */ 20018 #define USBD_EPOUT_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 20019 #define USBD_EPOUT_MAXCNT_MAXCNT_Msk (0x7FUL << USBD_EPOUT_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 20020 20021 /* Register: USBD_EPOUT_AMOUNT */ 20022 /* Description: Description cluster: Number of bytes transferred in the last transaction */ 20023 20024 /* Bits 6..0 : Number of bytes transferred in the last transaction */ 20025 #define USBD_EPOUT_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 20026 #define USBD_EPOUT_AMOUNT_AMOUNT_Msk (0x7FUL << USBD_EPOUT_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 20027 20028 /* Register: USBD_ISOOUT_PTR */ 20029 /* Description: Data pointer */ 20030 20031 /* Bits 31..0 : Data pointer */ 20032 #define USBD_ISOOUT_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 20033 #define USBD_ISOOUT_PTR_PTR_Msk (0xFFFFFFFFUL << USBD_ISOOUT_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 20034 20035 /* Register: USBD_ISOOUT_MAXCNT */ 20036 /* Description: Maximum number of bytes to transfer */ 20037 20038 /* Bits 9..0 : Maximum number of bytes to transfer */ 20039 #define USBD_ISOOUT_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 20040 #define USBD_ISOOUT_MAXCNT_MAXCNT_Msk (0x3FFUL << USBD_ISOOUT_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 20041 20042 /* Register: USBD_ISOOUT_AMOUNT */ 20043 /* Description: Number of bytes transferred in the last transaction */ 20044 20045 /* Bits 9..0 : Number of bytes transferred in the last transaction */ 20046 #define USBD_ISOOUT_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 20047 #define USBD_ISOOUT_AMOUNT_AMOUNT_Msk (0x3FFUL << USBD_ISOOUT_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 20048 20049 20050 /* Peripheral: USBREG */ 20051 /* Description: USB Regulator 0 */ 20052 20053 /* Register: USBREG_EVENTS_USBDETECTED */ 20054 /* Description: Voltage supply detected on VBUS */ 20055 20056 /* Bit 0 : Voltage supply detected on VBUS */ 20057 #define USBREG_EVENTS_USBDETECTED_EVENTS_USBDETECTED_Pos (0UL) /*!< Position of EVENTS_USBDETECTED field. */ 20058 #define USBREG_EVENTS_USBDETECTED_EVENTS_USBDETECTED_Msk (0x1UL << USBREG_EVENTS_USBDETECTED_EVENTS_USBDETECTED_Pos) /*!< Bit mask of EVENTS_USBDETECTED field. */ 20059 #define USBREG_EVENTS_USBDETECTED_EVENTS_USBDETECTED_NotGenerated (0x0UL) /*!< Event not generated */ 20060 #define USBREG_EVENTS_USBDETECTED_EVENTS_USBDETECTED_Generated (0x1UL) /*!< Event generated */ 20061 20062 /* Register: USBREG_EVENTS_USBREMOVED */ 20063 /* Description: Voltage supply removed from VBUS */ 20064 20065 /* Bit 0 : Voltage supply removed from VBUS */ 20066 #define USBREG_EVENTS_USBREMOVED_EVENTS_USBREMOVED_Pos (0UL) /*!< Position of EVENTS_USBREMOVED field. */ 20067 #define USBREG_EVENTS_USBREMOVED_EVENTS_USBREMOVED_Msk (0x1UL << USBREG_EVENTS_USBREMOVED_EVENTS_USBREMOVED_Pos) /*!< Bit mask of EVENTS_USBREMOVED field. */ 20068 #define USBREG_EVENTS_USBREMOVED_EVENTS_USBREMOVED_NotGenerated (0x0UL) /*!< Event not generated */ 20069 #define USBREG_EVENTS_USBREMOVED_EVENTS_USBREMOVED_Generated (0x1UL) /*!< Event generated */ 20070 20071 /* Register: USBREG_EVENTS_USBPWRRDY */ 20072 /* Description: USB 3.3 V supply ready */ 20073 20074 /* Bit 0 : USB 3.3 V supply ready */ 20075 #define USBREG_EVENTS_USBPWRRDY_EVENTS_USBPWRRDY_Pos (0UL) /*!< Position of EVENTS_USBPWRRDY field. */ 20076 #define USBREG_EVENTS_USBPWRRDY_EVENTS_USBPWRRDY_Msk (0x1UL << USBREG_EVENTS_USBPWRRDY_EVENTS_USBPWRRDY_Pos) /*!< Bit mask of EVENTS_USBPWRRDY field. */ 20077 #define USBREG_EVENTS_USBPWRRDY_EVENTS_USBPWRRDY_NotGenerated (0x0UL) /*!< Event not generated */ 20078 #define USBREG_EVENTS_USBPWRRDY_EVENTS_USBPWRRDY_Generated (0x1UL) /*!< Event generated */ 20079 20080 /* Register: USBREG_PUBLISH_USBDETECTED */ 20081 /* Description: Publish configuration for event USBDETECTED */ 20082 20083 /* Bit 31 : */ 20084 #define USBREG_PUBLISH_USBDETECTED_EN_Pos (31UL) /*!< Position of EN field. */ 20085 #define USBREG_PUBLISH_USBDETECTED_EN_Msk (0x1UL << USBREG_PUBLISH_USBDETECTED_EN_Pos) /*!< Bit mask of EN field. */ 20086 #define USBREG_PUBLISH_USBDETECTED_EN_Disabled (0x0UL) /*!< Disable publishing */ 20087 #define USBREG_PUBLISH_USBDETECTED_EN_Enabled (0x1UL) /*!< Enable publishing */ 20088 20089 /* Bits 7..0 : DPPI channel that event USBDETECTED will publish to */ 20090 #define USBREG_PUBLISH_USBDETECTED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 20091 #define USBREG_PUBLISH_USBDETECTED_CHIDX_Msk (0xFFUL << USBREG_PUBLISH_USBDETECTED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 20092 20093 /* Register: USBREG_PUBLISH_USBREMOVED */ 20094 /* Description: Publish configuration for event USBREMOVED */ 20095 20096 /* Bit 31 : */ 20097 #define USBREG_PUBLISH_USBREMOVED_EN_Pos (31UL) /*!< Position of EN field. */ 20098 #define USBREG_PUBLISH_USBREMOVED_EN_Msk (0x1UL << USBREG_PUBLISH_USBREMOVED_EN_Pos) /*!< Bit mask of EN field. */ 20099 #define USBREG_PUBLISH_USBREMOVED_EN_Disabled (0x0UL) /*!< Disable publishing */ 20100 #define USBREG_PUBLISH_USBREMOVED_EN_Enabled (0x1UL) /*!< Enable publishing */ 20101 20102 /* Bits 7..0 : DPPI channel that event USBREMOVED will publish to */ 20103 #define USBREG_PUBLISH_USBREMOVED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 20104 #define USBREG_PUBLISH_USBREMOVED_CHIDX_Msk (0xFFUL << USBREG_PUBLISH_USBREMOVED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 20105 20106 /* Register: USBREG_PUBLISH_USBPWRRDY */ 20107 /* Description: Publish configuration for event USBPWRRDY */ 20108 20109 /* Bit 31 : */ 20110 #define USBREG_PUBLISH_USBPWRRDY_EN_Pos (31UL) /*!< Position of EN field. */ 20111 #define USBREG_PUBLISH_USBPWRRDY_EN_Msk (0x1UL << USBREG_PUBLISH_USBPWRRDY_EN_Pos) /*!< Bit mask of EN field. */ 20112 #define USBREG_PUBLISH_USBPWRRDY_EN_Disabled (0x0UL) /*!< Disable publishing */ 20113 #define USBREG_PUBLISH_USBPWRRDY_EN_Enabled (0x1UL) /*!< Enable publishing */ 20114 20115 /* Bits 7..0 : DPPI channel that event USBPWRRDY will publish to */ 20116 #define USBREG_PUBLISH_USBPWRRDY_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 20117 #define USBREG_PUBLISH_USBPWRRDY_CHIDX_Msk (0xFFUL << USBREG_PUBLISH_USBPWRRDY_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 20118 20119 /* Register: USBREG_INTEN */ 20120 /* Description: Enable or disable interrupt */ 20121 20122 /* Bit 2 : Enable or disable interrupt for event USBPWRRDY */ 20123 #define USBREG_INTEN_USBPWRRDY_Pos (2UL) /*!< Position of USBPWRRDY field. */ 20124 #define USBREG_INTEN_USBPWRRDY_Msk (0x1UL << USBREG_INTEN_USBPWRRDY_Pos) /*!< Bit mask of USBPWRRDY field. */ 20125 #define USBREG_INTEN_USBPWRRDY_Disabled (0x0UL) /*!< Disable */ 20126 #define USBREG_INTEN_USBPWRRDY_Enabled (0x1UL) /*!< Enable */ 20127 20128 /* Bit 1 : Enable or disable interrupt for event USBREMOVED */ 20129 #define USBREG_INTEN_USBREMOVED_Pos (1UL) /*!< Position of USBREMOVED field. */ 20130 #define USBREG_INTEN_USBREMOVED_Msk (0x1UL << USBREG_INTEN_USBREMOVED_Pos) /*!< Bit mask of USBREMOVED field. */ 20131 #define USBREG_INTEN_USBREMOVED_Disabled (0x0UL) /*!< Disable */ 20132 #define USBREG_INTEN_USBREMOVED_Enabled (0x1UL) /*!< Enable */ 20133 20134 /* Bit 0 : Enable or disable interrupt for event USBDETECTED */ 20135 #define USBREG_INTEN_USBDETECTED_Pos (0UL) /*!< Position of USBDETECTED field. */ 20136 #define USBREG_INTEN_USBDETECTED_Msk (0x1UL << USBREG_INTEN_USBDETECTED_Pos) /*!< Bit mask of USBDETECTED field. */ 20137 #define USBREG_INTEN_USBDETECTED_Disabled (0x0UL) /*!< Disable */ 20138 #define USBREG_INTEN_USBDETECTED_Enabled (0x1UL) /*!< Enable */ 20139 20140 /* Register: USBREG_INTENSET */ 20141 /* Description: Enable interrupt */ 20142 20143 /* Bit 2 : Write '1' to enable interrupt for event USBPWRRDY */ 20144 #define USBREG_INTENSET_USBPWRRDY_Pos (2UL) /*!< Position of USBPWRRDY field. */ 20145 #define USBREG_INTENSET_USBPWRRDY_Msk (0x1UL << USBREG_INTENSET_USBPWRRDY_Pos) /*!< Bit mask of USBPWRRDY field. */ 20146 #define USBREG_INTENSET_USBPWRRDY_Disabled (0x0UL) /*!< Read: Disabled */ 20147 #define USBREG_INTENSET_USBPWRRDY_Enabled (0x1UL) /*!< Read: Enabled */ 20148 #define USBREG_INTENSET_USBPWRRDY_Set (0x1UL) /*!< Enable */ 20149 20150 /* Bit 1 : Write '1' to enable interrupt for event USBREMOVED */ 20151 #define USBREG_INTENSET_USBREMOVED_Pos (1UL) /*!< Position of USBREMOVED field. */ 20152 #define USBREG_INTENSET_USBREMOVED_Msk (0x1UL << USBREG_INTENSET_USBREMOVED_Pos) /*!< Bit mask of USBREMOVED field. */ 20153 #define USBREG_INTENSET_USBREMOVED_Disabled (0x0UL) /*!< Read: Disabled */ 20154 #define USBREG_INTENSET_USBREMOVED_Enabled (0x1UL) /*!< Read: Enabled */ 20155 #define USBREG_INTENSET_USBREMOVED_Set (0x1UL) /*!< Enable */ 20156 20157 /* Bit 0 : Write '1' to enable interrupt for event USBDETECTED */ 20158 #define USBREG_INTENSET_USBDETECTED_Pos (0UL) /*!< Position of USBDETECTED field. */ 20159 #define USBREG_INTENSET_USBDETECTED_Msk (0x1UL << USBREG_INTENSET_USBDETECTED_Pos) /*!< Bit mask of USBDETECTED field. */ 20160 #define USBREG_INTENSET_USBDETECTED_Disabled (0x0UL) /*!< Read: Disabled */ 20161 #define USBREG_INTENSET_USBDETECTED_Enabled (0x1UL) /*!< Read: Enabled */ 20162 #define USBREG_INTENSET_USBDETECTED_Set (0x1UL) /*!< Enable */ 20163 20164 /* Register: USBREG_INTENCLR */ 20165 /* Description: Disable interrupt */ 20166 20167 /* Bit 2 : Write '1' to disable interrupt for event USBPWRRDY */ 20168 #define USBREG_INTENCLR_USBPWRRDY_Pos (2UL) /*!< Position of USBPWRRDY field. */ 20169 #define USBREG_INTENCLR_USBPWRRDY_Msk (0x1UL << USBREG_INTENCLR_USBPWRRDY_Pos) /*!< Bit mask of USBPWRRDY field. */ 20170 #define USBREG_INTENCLR_USBPWRRDY_Disabled (0x0UL) /*!< Read: Disabled */ 20171 #define USBREG_INTENCLR_USBPWRRDY_Enabled (0x1UL) /*!< Read: Enabled */ 20172 #define USBREG_INTENCLR_USBPWRRDY_Clear (0x1UL) /*!< Disable */ 20173 20174 /* Bit 1 : Write '1' to disable interrupt for event USBREMOVED */ 20175 #define USBREG_INTENCLR_USBREMOVED_Pos (1UL) /*!< Position of USBREMOVED field. */ 20176 #define USBREG_INTENCLR_USBREMOVED_Msk (0x1UL << USBREG_INTENCLR_USBREMOVED_Pos) /*!< Bit mask of USBREMOVED field. */ 20177 #define USBREG_INTENCLR_USBREMOVED_Disabled (0x0UL) /*!< Read: Disabled */ 20178 #define USBREG_INTENCLR_USBREMOVED_Enabled (0x1UL) /*!< Read: Enabled */ 20179 #define USBREG_INTENCLR_USBREMOVED_Clear (0x1UL) /*!< Disable */ 20180 20181 /* Bit 0 : Write '1' to disable interrupt for event USBDETECTED */ 20182 #define USBREG_INTENCLR_USBDETECTED_Pos (0UL) /*!< Position of USBDETECTED field. */ 20183 #define USBREG_INTENCLR_USBDETECTED_Msk (0x1UL << USBREG_INTENCLR_USBDETECTED_Pos) /*!< Bit mask of USBDETECTED field. */ 20184 #define USBREG_INTENCLR_USBDETECTED_Disabled (0x0UL) /*!< Read: Disabled */ 20185 #define USBREG_INTENCLR_USBDETECTED_Enabled (0x1UL) /*!< Read: Enabled */ 20186 #define USBREG_INTENCLR_USBDETECTED_Clear (0x1UL) /*!< Disable */ 20187 20188 /* Register: USBREG_USBREGSTATUS */ 20189 /* Description: USB supply status */ 20190 20191 /* Bit 1 : USB supply output settling time elapsed */ 20192 #define USBREG_USBREGSTATUS_OUTPUTRDY_Pos (1UL) /*!< Position of OUTPUTRDY field. */ 20193 #define USBREG_USBREGSTATUS_OUTPUTRDY_Msk (0x1UL << USBREG_USBREGSTATUS_OUTPUTRDY_Pos) /*!< Bit mask of OUTPUTRDY field. */ 20194 #define USBREG_USBREGSTATUS_OUTPUTRDY_NotReady (0x0UL) /*!< USBREG output settling time not elapsed */ 20195 #define USBREG_USBREGSTATUS_OUTPUTRDY_Ready (0x1UL) /*!< USBREG output settling time elapsed (same information as USBPWRRDY event) */ 20196 20197 /* Bit 0 : VBUS input detection status (USBDETECTED and USBREMOVED events are derived from this information) */ 20198 #define USBREG_USBREGSTATUS_VBUSDETECT_Pos (0UL) /*!< Position of VBUSDETECT field. */ 20199 #define USBREG_USBREGSTATUS_VBUSDETECT_Msk (0x1UL << USBREG_USBREGSTATUS_VBUSDETECT_Pos) /*!< Bit mask of VBUSDETECT field. */ 20200 #define USBREG_USBREGSTATUS_VBUSDETECT_NoVbus (0x0UL) /*!< VBUS voltage below valid threshold */ 20201 #define USBREG_USBREGSTATUS_VBUSDETECT_VbusPresent (0x1UL) /*!< VBUS voltage above valid threshold */ 20202 20203 20204 /* Peripheral: VMC */ 20205 /* Description: Volatile Memory controller 0 */ 20206 20207 /* Register: VMC_RAM_POWER */ 20208 /* Description: Description cluster: RAM[n] power control register */ 20209 20210 /* Bit 31 : Keep retention on RAM section S15 of RAM[n] when RAM section is switched off */ 20211 #define VMC_RAM_POWER_S15RETENTION_Pos (31UL) /*!< Position of S15RETENTION field. */ 20212 #define VMC_RAM_POWER_S15RETENTION_Msk (0x1UL << VMC_RAM_POWER_S15RETENTION_Pos) /*!< Bit mask of S15RETENTION field. */ 20213 #define VMC_RAM_POWER_S15RETENTION_Off (0x0UL) /*!< Off */ 20214 #define VMC_RAM_POWER_S15RETENTION_On (0x1UL) /*!< On */ 20215 20216 /* Bit 30 : Keep retention on RAM section S14 of RAM[n] when RAM section is switched off */ 20217 #define VMC_RAM_POWER_S14RETENTION_Pos (30UL) /*!< Position of S14RETENTION field. */ 20218 #define VMC_RAM_POWER_S14RETENTION_Msk (0x1UL << VMC_RAM_POWER_S14RETENTION_Pos) /*!< Bit mask of S14RETENTION field. */ 20219 #define VMC_RAM_POWER_S14RETENTION_Off (0x0UL) /*!< Off */ 20220 #define VMC_RAM_POWER_S14RETENTION_On (0x1UL) /*!< On */ 20221 20222 /* Bit 29 : Keep retention on RAM section S13 of RAM[n] when RAM section is switched off */ 20223 #define VMC_RAM_POWER_S13RETENTION_Pos (29UL) /*!< Position of S13RETENTION field. */ 20224 #define VMC_RAM_POWER_S13RETENTION_Msk (0x1UL << VMC_RAM_POWER_S13RETENTION_Pos) /*!< Bit mask of S13RETENTION field. */ 20225 #define VMC_RAM_POWER_S13RETENTION_Off (0x0UL) /*!< Off */ 20226 #define VMC_RAM_POWER_S13RETENTION_On (0x1UL) /*!< On */ 20227 20228 /* Bit 28 : Keep retention on RAM section S12 of RAM[n] when RAM section is switched off */ 20229 #define VMC_RAM_POWER_S12RETENTION_Pos (28UL) /*!< Position of S12RETENTION field. */ 20230 #define VMC_RAM_POWER_S12RETENTION_Msk (0x1UL << VMC_RAM_POWER_S12RETENTION_Pos) /*!< Bit mask of S12RETENTION field. */ 20231 #define VMC_RAM_POWER_S12RETENTION_Off (0x0UL) /*!< Off */ 20232 #define VMC_RAM_POWER_S12RETENTION_On (0x1UL) /*!< On */ 20233 20234 /* Bit 27 : Keep retention on RAM section S11 of RAM[n] when RAM section is switched off */ 20235 #define VMC_RAM_POWER_S11RETENTION_Pos (27UL) /*!< Position of S11RETENTION field. */ 20236 #define VMC_RAM_POWER_S11RETENTION_Msk (0x1UL << VMC_RAM_POWER_S11RETENTION_Pos) /*!< Bit mask of S11RETENTION field. */ 20237 #define VMC_RAM_POWER_S11RETENTION_Off (0x0UL) /*!< Off */ 20238 #define VMC_RAM_POWER_S11RETENTION_On (0x1UL) /*!< On */ 20239 20240 /* Bit 26 : Keep retention on RAM section S10 of RAM[n] when RAM section is switched off */ 20241 #define VMC_RAM_POWER_S10RETENTION_Pos (26UL) /*!< Position of S10RETENTION field. */ 20242 #define VMC_RAM_POWER_S10RETENTION_Msk (0x1UL << VMC_RAM_POWER_S10RETENTION_Pos) /*!< Bit mask of S10RETENTION field. */ 20243 #define VMC_RAM_POWER_S10RETENTION_Off (0x0UL) /*!< Off */ 20244 #define VMC_RAM_POWER_S10RETENTION_On (0x1UL) /*!< On */ 20245 20246 /* Bit 25 : Keep retention on RAM section S9 of RAM[n] when RAM section is switched off */ 20247 #define VMC_RAM_POWER_S9RETENTION_Pos (25UL) /*!< Position of S9RETENTION field. */ 20248 #define VMC_RAM_POWER_S9RETENTION_Msk (0x1UL << VMC_RAM_POWER_S9RETENTION_Pos) /*!< Bit mask of S9RETENTION field. */ 20249 #define VMC_RAM_POWER_S9RETENTION_Off (0x0UL) /*!< Off */ 20250 #define VMC_RAM_POWER_S9RETENTION_On (0x1UL) /*!< On */ 20251 20252 /* Bit 24 : Keep retention on RAM section S8 of RAM[n] when RAM section is switched off */ 20253 #define VMC_RAM_POWER_S8RETENTION_Pos (24UL) /*!< Position of S8RETENTION field. */ 20254 #define VMC_RAM_POWER_S8RETENTION_Msk (0x1UL << VMC_RAM_POWER_S8RETENTION_Pos) /*!< Bit mask of S8RETENTION field. */ 20255 #define VMC_RAM_POWER_S8RETENTION_Off (0x0UL) /*!< Off */ 20256 #define VMC_RAM_POWER_S8RETENTION_On (0x1UL) /*!< On */ 20257 20258 /* Bit 23 : Keep retention on RAM section S7 of RAM[n] when RAM section is switched off */ 20259 #define VMC_RAM_POWER_S7RETENTION_Pos (23UL) /*!< Position of S7RETENTION field. */ 20260 #define VMC_RAM_POWER_S7RETENTION_Msk (0x1UL << VMC_RAM_POWER_S7RETENTION_Pos) /*!< Bit mask of S7RETENTION field. */ 20261 #define VMC_RAM_POWER_S7RETENTION_Off (0x0UL) /*!< Off */ 20262 #define VMC_RAM_POWER_S7RETENTION_On (0x1UL) /*!< On */ 20263 20264 /* Bit 22 : Keep retention on RAM section S6 of RAM[n] when RAM section is switched off */ 20265 #define VMC_RAM_POWER_S6RETENTION_Pos (22UL) /*!< Position of S6RETENTION field. */ 20266 #define VMC_RAM_POWER_S6RETENTION_Msk (0x1UL << VMC_RAM_POWER_S6RETENTION_Pos) /*!< Bit mask of S6RETENTION field. */ 20267 #define VMC_RAM_POWER_S6RETENTION_Off (0x0UL) /*!< Off */ 20268 #define VMC_RAM_POWER_S6RETENTION_On (0x1UL) /*!< On */ 20269 20270 /* Bit 21 : Keep retention on RAM section S5 of RAM[n] when RAM section is switched off */ 20271 #define VMC_RAM_POWER_S5RETENTION_Pos (21UL) /*!< Position of S5RETENTION field. */ 20272 #define VMC_RAM_POWER_S5RETENTION_Msk (0x1UL << VMC_RAM_POWER_S5RETENTION_Pos) /*!< Bit mask of S5RETENTION field. */ 20273 #define VMC_RAM_POWER_S5RETENTION_Off (0x0UL) /*!< Off */ 20274 #define VMC_RAM_POWER_S5RETENTION_On (0x1UL) /*!< On */ 20275 20276 /* Bit 20 : Keep retention on RAM section S4 of RAM[n] when RAM section is switched off */ 20277 #define VMC_RAM_POWER_S4RETENTION_Pos (20UL) /*!< Position of S4RETENTION field. */ 20278 #define VMC_RAM_POWER_S4RETENTION_Msk (0x1UL << VMC_RAM_POWER_S4RETENTION_Pos) /*!< Bit mask of S4RETENTION field. */ 20279 #define VMC_RAM_POWER_S4RETENTION_Off (0x0UL) /*!< Off */ 20280 #define VMC_RAM_POWER_S4RETENTION_On (0x1UL) /*!< On */ 20281 20282 /* Bit 19 : Keep retention on RAM section S3 of RAM[n] when RAM section is switched off */ 20283 #define VMC_RAM_POWER_S3RETENTION_Pos (19UL) /*!< Position of S3RETENTION field. */ 20284 #define VMC_RAM_POWER_S3RETENTION_Msk (0x1UL << VMC_RAM_POWER_S3RETENTION_Pos) /*!< Bit mask of S3RETENTION field. */ 20285 #define VMC_RAM_POWER_S3RETENTION_Off (0x0UL) /*!< Off */ 20286 #define VMC_RAM_POWER_S3RETENTION_On (0x1UL) /*!< On */ 20287 20288 /* Bit 18 : Keep retention on RAM section S2 of RAM[n] when RAM section is switched off */ 20289 #define VMC_RAM_POWER_S2RETENTION_Pos (18UL) /*!< Position of S2RETENTION field. */ 20290 #define VMC_RAM_POWER_S2RETENTION_Msk (0x1UL << VMC_RAM_POWER_S2RETENTION_Pos) /*!< Bit mask of S2RETENTION field. */ 20291 #define VMC_RAM_POWER_S2RETENTION_Off (0x0UL) /*!< Off */ 20292 #define VMC_RAM_POWER_S2RETENTION_On (0x1UL) /*!< On */ 20293 20294 /* Bit 17 : Keep retention on RAM section S1 of RAM[n] when RAM section is switched off */ 20295 #define VMC_RAM_POWER_S1RETENTION_Pos (17UL) /*!< Position of S1RETENTION field. */ 20296 #define VMC_RAM_POWER_S1RETENTION_Msk (0x1UL << VMC_RAM_POWER_S1RETENTION_Pos) /*!< Bit mask of S1RETENTION field. */ 20297 #define VMC_RAM_POWER_S1RETENTION_Off (0x0UL) /*!< Off */ 20298 #define VMC_RAM_POWER_S1RETENTION_On (0x1UL) /*!< On */ 20299 20300 /* Bit 16 : Keep retention on RAM section S0 of RAM[n] when RAM section is switched off */ 20301 #define VMC_RAM_POWER_S0RETENTION_Pos (16UL) /*!< Position of S0RETENTION field. */ 20302 #define VMC_RAM_POWER_S0RETENTION_Msk (0x1UL << VMC_RAM_POWER_S0RETENTION_Pos) /*!< Bit mask of S0RETENTION field. */ 20303 #define VMC_RAM_POWER_S0RETENTION_Off (0x0UL) /*!< Off */ 20304 #define VMC_RAM_POWER_S0RETENTION_On (0x1UL) /*!< On */ 20305 20306 /* Bit 15 : Keep RAM section S15 of RAM[n] on or off in System ON mode */ 20307 #define VMC_RAM_POWER_S15POWER_Pos (15UL) /*!< Position of S15POWER field. */ 20308 #define VMC_RAM_POWER_S15POWER_Msk (0x1UL << VMC_RAM_POWER_S15POWER_Pos) /*!< Bit mask of S15POWER field. */ 20309 #define VMC_RAM_POWER_S15POWER_Off (0x0UL) /*!< Off */ 20310 #define VMC_RAM_POWER_S15POWER_On (0x1UL) /*!< On */ 20311 20312 /* Bit 14 : Keep RAM section S14 of RAM[n] on or off in System ON mode */ 20313 #define VMC_RAM_POWER_S14POWER_Pos (14UL) /*!< Position of S14POWER field. */ 20314 #define VMC_RAM_POWER_S14POWER_Msk (0x1UL << VMC_RAM_POWER_S14POWER_Pos) /*!< Bit mask of S14POWER field. */ 20315 #define VMC_RAM_POWER_S14POWER_Off (0x0UL) /*!< Off */ 20316 #define VMC_RAM_POWER_S14POWER_On (0x1UL) /*!< On */ 20317 20318 /* Bit 13 : Keep RAM section S13 of RAM[n] on or off in System ON mode */ 20319 #define VMC_RAM_POWER_S13POWER_Pos (13UL) /*!< Position of S13POWER field. */ 20320 #define VMC_RAM_POWER_S13POWER_Msk (0x1UL << VMC_RAM_POWER_S13POWER_Pos) /*!< Bit mask of S13POWER field. */ 20321 #define VMC_RAM_POWER_S13POWER_Off (0x0UL) /*!< Off */ 20322 #define VMC_RAM_POWER_S13POWER_On (0x1UL) /*!< On */ 20323 20324 /* Bit 12 : Keep RAM section S12 of RAM[n] on or off in System ON mode */ 20325 #define VMC_RAM_POWER_S12POWER_Pos (12UL) /*!< Position of S12POWER field. */ 20326 #define VMC_RAM_POWER_S12POWER_Msk (0x1UL << VMC_RAM_POWER_S12POWER_Pos) /*!< Bit mask of S12POWER field. */ 20327 #define VMC_RAM_POWER_S12POWER_Off (0x0UL) /*!< Off */ 20328 #define VMC_RAM_POWER_S12POWER_On (0x1UL) /*!< On */ 20329 20330 /* Bit 11 : Keep RAM section S11 of RAM[n] on or off in System ON mode */ 20331 #define VMC_RAM_POWER_S11POWER_Pos (11UL) /*!< Position of S11POWER field. */ 20332 #define VMC_RAM_POWER_S11POWER_Msk (0x1UL << VMC_RAM_POWER_S11POWER_Pos) /*!< Bit mask of S11POWER field. */ 20333 #define VMC_RAM_POWER_S11POWER_Off (0x0UL) /*!< Off */ 20334 #define VMC_RAM_POWER_S11POWER_On (0x1UL) /*!< On */ 20335 20336 /* Bit 10 : Keep RAM section S10 of RAM[n] on or off in System ON mode */ 20337 #define VMC_RAM_POWER_S10POWER_Pos (10UL) /*!< Position of S10POWER field. */ 20338 #define VMC_RAM_POWER_S10POWER_Msk (0x1UL << VMC_RAM_POWER_S10POWER_Pos) /*!< Bit mask of S10POWER field. */ 20339 #define VMC_RAM_POWER_S10POWER_Off (0x0UL) /*!< Off */ 20340 #define VMC_RAM_POWER_S10POWER_On (0x1UL) /*!< On */ 20341 20342 /* Bit 9 : Keep RAM section S9 of RAM[n] on or off in System ON mode */ 20343 #define VMC_RAM_POWER_S9POWER_Pos (9UL) /*!< Position of S9POWER field. */ 20344 #define VMC_RAM_POWER_S9POWER_Msk (0x1UL << VMC_RAM_POWER_S9POWER_Pos) /*!< Bit mask of S9POWER field. */ 20345 #define VMC_RAM_POWER_S9POWER_Off (0x0UL) /*!< Off */ 20346 #define VMC_RAM_POWER_S9POWER_On (0x1UL) /*!< On */ 20347 20348 /* Bit 8 : Keep RAM section S8 of RAM[n] on or off in System ON mode */ 20349 #define VMC_RAM_POWER_S8POWER_Pos (8UL) /*!< Position of S8POWER field. */ 20350 #define VMC_RAM_POWER_S8POWER_Msk (0x1UL << VMC_RAM_POWER_S8POWER_Pos) /*!< Bit mask of S8POWER field. */ 20351 #define VMC_RAM_POWER_S8POWER_Off (0x0UL) /*!< Off */ 20352 #define VMC_RAM_POWER_S8POWER_On (0x1UL) /*!< On */ 20353 20354 /* Bit 7 : Keep RAM section S7 of RAM[n] on or off in System ON mode */ 20355 #define VMC_RAM_POWER_S7POWER_Pos (7UL) /*!< Position of S7POWER field. */ 20356 #define VMC_RAM_POWER_S7POWER_Msk (0x1UL << VMC_RAM_POWER_S7POWER_Pos) /*!< Bit mask of S7POWER field. */ 20357 #define VMC_RAM_POWER_S7POWER_Off (0x0UL) /*!< Off */ 20358 #define VMC_RAM_POWER_S7POWER_On (0x1UL) /*!< On */ 20359 20360 /* Bit 6 : Keep RAM section S6 of RAM[n] on or off in System ON mode */ 20361 #define VMC_RAM_POWER_S6POWER_Pos (6UL) /*!< Position of S6POWER field. */ 20362 #define VMC_RAM_POWER_S6POWER_Msk (0x1UL << VMC_RAM_POWER_S6POWER_Pos) /*!< Bit mask of S6POWER field. */ 20363 #define VMC_RAM_POWER_S6POWER_Off (0x0UL) /*!< Off */ 20364 #define VMC_RAM_POWER_S6POWER_On (0x1UL) /*!< On */ 20365 20366 /* Bit 5 : Keep RAM section S5 of RAM[n] on or off in System ON mode */ 20367 #define VMC_RAM_POWER_S5POWER_Pos (5UL) /*!< Position of S5POWER field. */ 20368 #define VMC_RAM_POWER_S5POWER_Msk (0x1UL << VMC_RAM_POWER_S5POWER_Pos) /*!< Bit mask of S5POWER field. */ 20369 #define VMC_RAM_POWER_S5POWER_Off (0x0UL) /*!< Off */ 20370 #define VMC_RAM_POWER_S5POWER_On (0x1UL) /*!< On */ 20371 20372 /* Bit 4 : Keep RAM section S4 of RAM[n] on or off in System ON mode */ 20373 #define VMC_RAM_POWER_S4POWER_Pos (4UL) /*!< Position of S4POWER field. */ 20374 #define VMC_RAM_POWER_S4POWER_Msk (0x1UL << VMC_RAM_POWER_S4POWER_Pos) /*!< Bit mask of S4POWER field. */ 20375 #define VMC_RAM_POWER_S4POWER_Off (0x0UL) /*!< Off */ 20376 #define VMC_RAM_POWER_S4POWER_On (0x1UL) /*!< On */ 20377 20378 /* Bit 3 : Keep RAM section S3 of RAM[n] on or off in System ON mode */ 20379 #define VMC_RAM_POWER_S3POWER_Pos (3UL) /*!< Position of S3POWER field. */ 20380 #define VMC_RAM_POWER_S3POWER_Msk (0x1UL << VMC_RAM_POWER_S3POWER_Pos) /*!< Bit mask of S3POWER field. */ 20381 #define VMC_RAM_POWER_S3POWER_Off (0x0UL) /*!< Off */ 20382 #define VMC_RAM_POWER_S3POWER_On (0x1UL) /*!< On */ 20383 20384 /* Bit 2 : Keep RAM section S2 of RAM[n] on or off in System ON mode */ 20385 #define VMC_RAM_POWER_S2POWER_Pos (2UL) /*!< Position of S2POWER field. */ 20386 #define VMC_RAM_POWER_S2POWER_Msk (0x1UL << VMC_RAM_POWER_S2POWER_Pos) /*!< Bit mask of S2POWER field. */ 20387 #define VMC_RAM_POWER_S2POWER_Off (0x0UL) /*!< Off */ 20388 #define VMC_RAM_POWER_S2POWER_On (0x1UL) /*!< On */ 20389 20390 /* Bit 1 : Keep RAM section S1 of RAM[n] on or off in System ON mode */ 20391 #define VMC_RAM_POWER_S1POWER_Pos (1UL) /*!< Position of S1POWER field. */ 20392 #define VMC_RAM_POWER_S1POWER_Msk (0x1UL << VMC_RAM_POWER_S1POWER_Pos) /*!< Bit mask of S1POWER field. */ 20393 #define VMC_RAM_POWER_S1POWER_Off (0x0UL) /*!< Off */ 20394 #define VMC_RAM_POWER_S1POWER_On (0x1UL) /*!< On */ 20395 20396 /* Bit 0 : Keep RAM section S0 of RAM[n] on or off in System ON mode */ 20397 #define VMC_RAM_POWER_S0POWER_Pos (0UL) /*!< Position of S0POWER field. */ 20398 #define VMC_RAM_POWER_S0POWER_Msk (0x1UL << VMC_RAM_POWER_S0POWER_Pos) /*!< Bit mask of S0POWER field. */ 20399 #define VMC_RAM_POWER_S0POWER_Off (0x0UL) /*!< Off */ 20400 #define VMC_RAM_POWER_S0POWER_On (0x1UL) /*!< On */ 20401 20402 /* Register: VMC_RAM_POWERSET */ 20403 /* Description: Description cluster: RAM[n] power control set register */ 20404 20405 /* Bit 31 : Keep retention on RAM section S15 of RAM[n] when RAM section is switched off */ 20406 #define VMC_RAM_POWERSET_S15RETENTION_Pos (31UL) /*!< Position of S15RETENTION field. */ 20407 #define VMC_RAM_POWERSET_S15RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S15RETENTION_Pos) /*!< Bit mask of S15RETENTION field. */ 20408 #define VMC_RAM_POWERSET_S15RETENTION_On (0x1UL) /*!< On */ 20409 20410 /* Bit 30 : Keep retention on RAM section S14 of RAM[n] when RAM section is switched off */ 20411 #define VMC_RAM_POWERSET_S14RETENTION_Pos (30UL) /*!< Position of S14RETENTION field. */ 20412 #define VMC_RAM_POWERSET_S14RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S14RETENTION_Pos) /*!< Bit mask of S14RETENTION field. */ 20413 #define VMC_RAM_POWERSET_S14RETENTION_On (0x1UL) /*!< On */ 20414 20415 /* Bit 29 : Keep retention on RAM section S13 of RAM[n] when RAM section is switched off */ 20416 #define VMC_RAM_POWERSET_S13RETENTION_Pos (29UL) /*!< Position of S13RETENTION field. */ 20417 #define VMC_RAM_POWERSET_S13RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S13RETENTION_Pos) /*!< Bit mask of S13RETENTION field. */ 20418 #define VMC_RAM_POWERSET_S13RETENTION_On (0x1UL) /*!< On */ 20419 20420 /* Bit 28 : Keep retention on RAM section S12 of RAM[n] when RAM section is switched off */ 20421 #define VMC_RAM_POWERSET_S12RETENTION_Pos (28UL) /*!< Position of S12RETENTION field. */ 20422 #define VMC_RAM_POWERSET_S12RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S12RETENTION_Pos) /*!< Bit mask of S12RETENTION field. */ 20423 #define VMC_RAM_POWERSET_S12RETENTION_On (0x1UL) /*!< On */ 20424 20425 /* Bit 27 : Keep retention on RAM section S11 of RAM[n] when RAM section is switched off */ 20426 #define VMC_RAM_POWERSET_S11RETENTION_Pos (27UL) /*!< Position of S11RETENTION field. */ 20427 #define VMC_RAM_POWERSET_S11RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S11RETENTION_Pos) /*!< Bit mask of S11RETENTION field. */ 20428 #define VMC_RAM_POWERSET_S11RETENTION_On (0x1UL) /*!< On */ 20429 20430 /* Bit 26 : Keep retention on RAM section S10 of RAM[n] when RAM section is switched off */ 20431 #define VMC_RAM_POWERSET_S10RETENTION_Pos (26UL) /*!< Position of S10RETENTION field. */ 20432 #define VMC_RAM_POWERSET_S10RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S10RETENTION_Pos) /*!< Bit mask of S10RETENTION field. */ 20433 #define VMC_RAM_POWERSET_S10RETENTION_On (0x1UL) /*!< On */ 20434 20435 /* Bit 25 : Keep retention on RAM section S9 of RAM[n] when RAM section is switched off */ 20436 #define VMC_RAM_POWERSET_S9RETENTION_Pos (25UL) /*!< Position of S9RETENTION field. */ 20437 #define VMC_RAM_POWERSET_S9RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S9RETENTION_Pos) /*!< Bit mask of S9RETENTION field. */ 20438 #define VMC_RAM_POWERSET_S9RETENTION_On (0x1UL) /*!< On */ 20439 20440 /* Bit 24 : Keep retention on RAM section S8 of RAM[n] when RAM section is switched off */ 20441 #define VMC_RAM_POWERSET_S8RETENTION_Pos (24UL) /*!< Position of S8RETENTION field. */ 20442 #define VMC_RAM_POWERSET_S8RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S8RETENTION_Pos) /*!< Bit mask of S8RETENTION field. */ 20443 #define VMC_RAM_POWERSET_S8RETENTION_On (0x1UL) /*!< On */ 20444 20445 /* Bit 23 : Keep retention on RAM section S7 of RAM[n] when RAM section is switched off */ 20446 #define VMC_RAM_POWERSET_S7RETENTION_Pos (23UL) /*!< Position of S7RETENTION field. */ 20447 #define VMC_RAM_POWERSET_S7RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S7RETENTION_Pos) /*!< Bit mask of S7RETENTION field. */ 20448 #define VMC_RAM_POWERSET_S7RETENTION_On (0x1UL) /*!< On */ 20449 20450 /* Bit 22 : Keep retention on RAM section S6 of RAM[n] when RAM section is switched off */ 20451 #define VMC_RAM_POWERSET_S6RETENTION_Pos (22UL) /*!< Position of S6RETENTION field. */ 20452 #define VMC_RAM_POWERSET_S6RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S6RETENTION_Pos) /*!< Bit mask of S6RETENTION field. */ 20453 #define VMC_RAM_POWERSET_S6RETENTION_On (0x1UL) /*!< On */ 20454 20455 /* Bit 21 : Keep retention on RAM section S5 of RAM[n] when RAM section is switched off */ 20456 #define VMC_RAM_POWERSET_S5RETENTION_Pos (21UL) /*!< Position of S5RETENTION field. */ 20457 #define VMC_RAM_POWERSET_S5RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S5RETENTION_Pos) /*!< Bit mask of S5RETENTION field. */ 20458 #define VMC_RAM_POWERSET_S5RETENTION_On (0x1UL) /*!< On */ 20459 20460 /* Bit 20 : Keep retention on RAM section S4 of RAM[n] when RAM section is switched off */ 20461 #define VMC_RAM_POWERSET_S4RETENTION_Pos (20UL) /*!< Position of S4RETENTION field. */ 20462 #define VMC_RAM_POWERSET_S4RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S4RETENTION_Pos) /*!< Bit mask of S4RETENTION field. */ 20463 #define VMC_RAM_POWERSET_S4RETENTION_On (0x1UL) /*!< On */ 20464 20465 /* Bit 19 : Keep retention on RAM section S3 of RAM[n] when RAM section is switched off */ 20466 #define VMC_RAM_POWERSET_S3RETENTION_Pos (19UL) /*!< Position of S3RETENTION field. */ 20467 #define VMC_RAM_POWERSET_S3RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S3RETENTION_Pos) /*!< Bit mask of S3RETENTION field. */ 20468 #define VMC_RAM_POWERSET_S3RETENTION_On (0x1UL) /*!< On */ 20469 20470 /* Bit 18 : Keep retention on RAM section S2 of RAM[n] when RAM section is switched off */ 20471 #define VMC_RAM_POWERSET_S2RETENTION_Pos (18UL) /*!< Position of S2RETENTION field. */ 20472 #define VMC_RAM_POWERSET_S2RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S2RETENTION_Pos) /*!< Bit mask of S2RETENTION field. */ 20473 #define VMC_RAM_POWERSET_S2RETENTION_On (0x1UL) /*!< On */ 20474 20475 /* Bit 17 : Keep retention on RAM section S1 of RAM[n] when RAM section is switched off */ 20476 #define VMC_RAM_POWERSET_S1RETENTION_Pos (17UL) /*!< Position of S1RETENTION field. */ 20477 #define VMC_RAM_POWERSET_S1RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S1RETENTION_Pos) /*!< Bit mask of S1RETENTION field. */ 20478 #define VMC_RAM_POWERSET_S1RETENTION_On (0x1UL) /*!< On */ 20479 20480 /* Bit 16 : Keep retention on RAM section S0 of RAM[n] when RAM section is switched off */ 20481 #define VMC_RAM_POWERSET_S0RETENTION_Pos (16UL) /*!< Position of S0RETENTION field. */ 20482 #define VMC_RAM_POWERSET_S0RETENTION_Msk (0x1UL << VMC_RAM_POWERSET_S0RETENTION_Pos) /*!< Bit mask of S0RETENTION field. */ 20483 #define VMC_RAM_POWERSET_S0RETENTION_On (0x1UL) /*!< On */ 20484 20485 /* Bit 15 : Keep RAM section S15 of RAM[n] on or off in System ON mode */ 20486 #define VMC_RAM_POWERSET_S15POWER_Pos (15UL) /*!< Position of S15POWER field. */ 20487 #define VMC_RAM_POWERSET_S15POWER_Msk (0x1UL << VMC_RAM_POWERSET_S15POWER_Pos) /*!< Bit mask of S15POWER field. */ 20488 #define VMC_RAM_POWERSET_S15POWER_On (0x1UL) /*!< On */ 20489 20490 /* Bit 14 : Keep RAM section S14 of RAM[n] on or off in System ON mode */ 20491 #define VMC_RAM_POWERSET_S14POWER_Pos (14UL) /*!< Position of S14POWER field. */ 20492 #define VMC_RAM_POWERSET_S14POWER_Msk (0x1UL << VMC_RAM_POWERSET_S14POWER_Pos) /*!< Bit mask of S14POWER field. */ 20493 #define VMC_RAM_POWERSET_S14POWER_On (0x1UL) /*!< On */ 20494 20495 /* Bit 13 : Keep RAM section S13 of RAM[n] on or off in System ON mode */ 20496 #define VMC_RAM_POWERSET_S13POWER_Pos (13UL) /*!< Position of S13POWER field. */ 20497 #define VMC_RAM_POWERSET_S13POWER_Msk (0x1UL << VMC_RAM_POWERSET_S13POWER_Pos) /*!< Bit mask of S13POWER field. */ 20498 #define VMC_RAM_POWERSET_S13POWER_On (0x1UL) /*!< On */ 20499 20500 /* Bit 12 : Keep RAM section S12 of RAM[n] on or off in System ON mode */ 20501 #define VMC_RAM_POWERSET_S12POWER_Pos (12UL) /*!< Position of S12POWER field. */ 20502 #define VMC_RAM_POWERSET_S12POWER_Msk (0x1UL << VMC_RAM_POWERSET_S12POWER_Pos) /*!< Bit mask of S12POWER field. */ 20503 #define VMC_RAM_POWERSET_S12POWER_On (0x1UL) /*!< On */ 20504 20505 /* Bit 11 : Keep RAM section S11 of RAM[n] on or off in System ON mode */ 20506 #define VMC_RAM_POWERSET_S11POWER_Pos (11UL) /*!< Position of S11POWER field. */ 20507 #define VMC_RAM_POWERSET_S11POWER_Msk (0x1UL << VMC_RAM_POWERSET_S11POWER_Pos) /*!< Bit mask of S11POWER field. */ 20508 #define VMC_RAM_POWERSET_S11POWER_On (0x1UL) /*!< On */ 20509 20510 /* Bit 10 : Keep RAM section S10 of RAM[n] on or off in System ON mode */ 20511 #define VMC_RAM_POWERSET_S10POWER_Pos (10UL) /*!< Position of S10POWER field. */ 20512 #define VMC_RAM_POWERSET_S10POWER_Msk (0x1UL << VMC_RAM_POWERSET_S10POWER_Pos) /*!< Bit mask of S10POWER field. */ 20513 #define VMC_RAM_POWERSET_S10POWER_On (0x1UL) /*!< On */ 20514 20515 /* Bit 9 : Keep RAM section S9 of RAM[n] on or off in System ON mode */ 20516 #define VMC_RAM_POWERSET_S9POWER_Pos (9UL) /*!< Position of S9POWER field. */ 20517 #define VMC_RAM_POWERSET_S9POWER_Msk (0x1UL << VMC_RAM_POWERSET_S9POWER_Pos) /*!< Bit mask of S9POWER field. */ 20518 #define VMC_RAM_POWERSET_S9POWER_On (0x1UL) /*!< On */ 20519 20520 /* Bit 8 : Keep RAM section S8 of RAM[n] on or off in System ON mode */ 20521 #define VMC_RAM_POWERSET_S8POWER_Pos (8UL) /*!< Position of S8POWER field. */ 20522 #define VMC_RAM_POWERSET_S8POWER_Msk (0x1UL << VMC_RAM_POWERSET_S8POWER_Pos) /*!< Bit mask of S8POWER field. */ 20523 #define VMC_RAM_POWERSET_S8POWER_On (0x1UL) /*!< On */ 20524 20525 /* Bit 7 : Keep RAM section S7 of RAM[n] on or off in System ON mode */ 20526 #define VMC_RAM_POWERSET_S7POWER_Pos (7UL) /*!< Position of S7POWER field. */ 20527 #define VMC_RAM_POWERSET_S7POWER_Msk (0x1UL << VMC_RAM_POWERSET_S7POWER_Pos) /*!< Bit mask of S7POWER field. */ 20528 #define VMC_RAM_POWERSET_S7POWER_On (0x1UL) /*!< On */ 20529 20530 /* Bit 6 : Keep RAM section S6 of RAM[n] on or off in System ON mode */ 20531 #define VMC_RAM_POWERSET_S6POWER_Pos (6UL) /*!< Position of S6POWER field. */ 20532 #define VMC_RAM_POWERSET_S6POWER_Msk (0x1UL << VMC_RAM_POWERSET_S6POWER_Pos) /*!< Bit mask of S6POWER field. */ 20533 #define VMC_RAM_POWERSET_S6POWER_On (0x1UL) /*!< On */ 20534 20535 /* Bit 5 : Keep RAM section S5 of RAM[n] on or off in System ON mode */ 20536 #define VMC_RAM_POWERSET_S5POWER_Pos (5UL) /*!< Position of S5POWER field. */ 20537 #define VMC_RAM_POWERSET_S5POWER_Msk (0x1UL << VMC_RAM_POWERSET_S5POWER_Pos) /*!< Bit mask of S5POWER field. */ 20538 #define VMC_RAM_POWERSET_S5POWER_On (0x1UL) /*!< On */ 20539 20540 /* Bit 4 : Keep RAM section S4 of RAM[n] on or off in System ON mode */ 20541 #define VMC_RAM_POWERSET_S4POWER_Pos (4UL) /*!< Position of S4POWER field. */ 20542 #define VMC_RAM_POWERSET_S4POWER_Msk (0x1UL << VMC_RAM_POWERSET_S4POWER_Pos) /*!< Bit mask of S4POWER field. */ 20543 #define VMC_RAM_POWERSET_S4POWER_On (0x1UL) /*!< On */ 20544 20545 /* Bit 3 : Keep RAM section S3 of RAM[n] on or off in System ON mode */ 20546 #define VMC_RAM_POWERSET_S3POWER_Pos (3UL) /*!< Position of S3POWER field. */ 20547 #define VMC_RAM_POWERSET_S3POWER_Msk (0x1UL << VMC_RAM_POWERSET_S3POWER_Pos) /*!< Bit mask of S3POWER field. */ 20548 #define VMC_RAM_POWERSET_S3POWER_On (0x1UL) /*!< On */ 20549 20550 /* Bit 2 : Keep RAM section S2 of RAM[n] on or off in System ON mode */ 20551 #define VMC_RAM_POWERSET_S2POWER_Pos (2UL) /*!< Position of S2POWER field. */ 20552 #define VMC_RAM_POWERSET_S2POWER_Msk (0x1UL << VMC_RAM_POWERSET_S2POWER_Pos) /*!< Bit mask of S2POWER field. */ 20553 #define VMC_RAM_POWERSET_S2POWER_On (0x1UL) /*!< On */ 20554 20555 /* Bit 1 : Keep RAM section S1 of RAM[n] on or off in System ON mode */ 20556 #define VMC_RAM_POWERSET_S1POWER_Pos (1UL) /*!< Position of S1POWER field. */ 20557 #define VMC_RAM_POWERSET_S1POWER_Msk (0x1UL << VMC_RAM_POWERSET_S1POWER_Pos) /*!< Bit mask of S1POWER field. */ 20558 #define VMC_RAM_POWERSET_S1POWER_On (0x1UL) /*!< On */ 20559 20560 /* Bit 0 : Keep RAM section S0 of RAM[n] on or off in System ON mode */ 20561 #define VMC_RAM_POWERSET_S0POWER_Pos (0UL) /*!< Position of S0POWER field. */ 20562 #define VMC_RAM_POWERSET_S0POWER_Msk (0x1UL << VMC_RAM_POWERSET_S0POWER_Pos) /*!< Bit mask of S0POWER field. */ 20563 #define VMC_RAM_POWERSET_S0POWER_On (0x1UL) /*!< On */ 20564 20565 /* Register: VMC_RAM_POWERCLR */ 20566 /* Description: Description cluster: RAM[n] power control clear register */ 20567 20568 /* Bit 31 : Keep retention on RAM section S15 of RAM[n] when RAM section is switched off */ 20569 #define VMC_RAM_POWERCLR_S15RETENTION_Pos (31UL) /*!< Position of S15RETENTION field. */ 20570 #define VMC_RAM_POWERCLR_S15RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S15RETENTION_Pos) /*!< Bit mask of S15RETENTION field. */ 20571 #define VMC_RAM_POWERCLR_S15RETENTION_Off (0x1UL) /*!< Off */ 20572 20573 /* Bit 30 : Keep retention on RAM section S14 of RAM[n] when RAM section is switched off */ 20574 #define VMC_RAM_POWERCLR_S14RETENTION_Pos (30UL) /*!< Position of S14RETENTION field. */ 20575 #define VMC_RAM_POWERCLR_S14RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S14RETENTION_Pos) /*!< Bit mask of S14RETENTION field. */ 20576 #define VMC_RAM_POWERCLR_S14RETENTION_Off (0x1UL) /*!< Off */ 20577 20578 /* Bit 29 : Keep retention on RAM section S13 of RAM[n] when RAM section is switched off */ 20579 #define VMC_RAM_POWERCLR_S13RETENTION_Pos (29UL) /*!< Position of S13RETENTION field. */ 20580 #define VMC_RAM_POWERCLR_S13RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S13RETENTION_Pos) /*!< Bit mask of S13RETENTION field. */ 20581 #define VMC_RAM_POWERCLR_S13RETENTION_Off (0x1UL) /*!< Off */ 20582 20583 /* Bit 28 : Keep retention on RAM section S12 of RAM[n] when RAM section is switched off */ 20584 #define VMC_RAM_POWERCLR_S12RETENTION_Pos (28UL) /*!< Position of S12RETENTION field. */ 20585 #define VMC_RAM_POWERCLR_S12RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S12RETENTION_Pos) /*!< Bit mask of S12RETENTION field. */ 20586 #define VMC_RAM_POWERCLR_S12RETENTION_Off (0x1UL) /*!< Off */ 20587 20588 /* Bit 27 : Keep retention on RAM section S11 of RAM[n] when RAM section is switched off */ 20589 #define VMC_RAM_POWERCLR_S11RETENTION_Pos (27UL) /*!< Position of S11RETENTION field. */ 20590 #define VMC_RAM_POWERCLR_S11RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S11RETENTION_Pos) /*!< Bit mask of S11RETENTION field. */ 20591 #define VMC_RAM_POWERCLR_S11RETENTION_Off (0x1UL) /*!< Off */ 20592 20593 /* Bit 26 : Keep retention on RAM section S10 of RAM[n] when RAM section is switched off */ 20594 #define VMC_RAM_POWERCLR_S10RETENTION_Pos (26UL) /*!< Position of S10RETENTION field. */ 20595 #define VMC_RAM_POWERCLR_S10RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S10RETENTION_Pos) /*!< Bit mask of S10RETENTION field. */ 20596 #define VMC_RAM_POWERCLR_S10RETENTION_Off (0x1UL) /*!< Off */ 20597 20598 /* Bit 25 : Keep retention on RAM section S9 of RAM[n] when RAM section is switched off */ 20599 #define VMC_RAM_POWERCLR_S9RETENTION_Pos (25UL) /*!< Position of S9RETENTION field. */ 20600 #define VMC_RAM_POWERCLR_S9RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S9RETENTION_Pos) /*!< Bit mask of S9RETENTION field. */ 20601 #define VMC_RAM_POWERCLR_S9RETENTION_Off (0x1UL) /*!< Off */ 20602 20603 /* Bit 24 : Keep retention on RAM section S8 of RAM[n] when RAM section is switched off */ 20604 #define VMC_RAM_POWERCLR_S8RETENTION_Pos (24UL) /*!< Position of S8RETENTION field. */ 20605 #define VMC_RAM_POWERCLR_S8RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S8RETENTION_Pos) /*!< Bit mask of S8RETENTION field. */ 20606 #define VMC_RAM_POWERCLR_S8RETENTION_Off (0x1UL) /*!< Off */ 20607 20608 /* Bit 23 : Keep retention on RAM section S7 of RAM[n] when RAM section is switched off */ 20609 #define VMC_RAM_POWERCLR_S7RETENTION_Pos (23UL) /*!< Position of S7RETENTION field. */ 20610 #define VMC_RAM_POWERCLR_S7RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S7RETENTION_Pos) /*!< Bit mask of S7RETENTION field. */ 20611 #define VMC_RAM_POWERCLR_S7RETENTION_Off (0x1UL) /*!< Off */ 20612 20613 /* Bit 22 : Keep retention on RAM section S6 of RAM[n] when RAM section is switched off */ 20614 #define VMC_RAM_POWERCLR_S6RETENTION_Pos (22UL) /*!< Position of S6RETENTION field. */ 20615 #define VMC_RAM_POWERCLR_S6RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S6RETENTION_Pos) /*!< Bit mask of S6RETENTION field. */ 20616 #define VMC_RAM_POWERCLR_S6RETENTION_Off (0x1UL) /*!< Off */ 20617 20618 /* Bit 21 : Keep retention on RAM section S5 of RAM[n] when RAM section is switched off */ 20619 #define VMC_RAM_POWERCLR_S5RETENTION_Pos (21UL) /*!< Position of S5RETENTION field. */ 20620 #define VMC_RAM_POWERCLR_S5RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S5RETENTION_Pos) /*!< Bit mask of S5RETENTION field. */ 20621 #define VMC_RAM_POWERCLR_S5RETENTION_Off (0x1UL) /*!< Off */ 20622 20623 /* Bit 20 : Keep retention on RAM section S4 of RAM[n] when RAM section is switched off */ 20624 #define VMC_RAM_POWERCLR_S4RETENTION_Pos (20UL) /*!< Position of S4RETENTION field. */ 20625 #define VMC_RAM_POWERCLR_S4RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S4RETENTION_Pos) /*!< Bit mask of S4RETENTION field. */ 20626 #define VMC_RAM_POWERCLR_S4RETENTION_Off (0x1UL) /*!< Off */ 20627 20628 /* Bit 19 : Keep retention on RAM section S3 of RAM[n] when RAM section is switched off */ 20629 #define VMC_RAM_POWERCLR_S3RETENTION_Pos (19UL) /*!< Position of S3RETENTION field. */ 20630 #define VMC_RAM_POWERCLR_S3RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S3RETENTION_Pos) /*!< Bit mask of S3RETENTION field. */ 20631 #define VMC_RAM_POWERCLR_S3RETENTION_Off (0x1UL) /*!< Off */ 20632 20633 /* Bit 18 : Keep retention on RAM section S2 of RAM[n] when RAM section is switched off */ 20634 #define VMC_RAM_POWERCLR_S2RETENTION_Pos (18UL) /*!< Position of S2RETENTION field. */ 20635 #define VMC_RAM_POWERCLR_S2RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S2RETENTION_Pos) /*!< Bit mask of S2RETENTION field. */ 20636 #define VMC_RAM_POWERCLR_S2RETENTION_Off (0x1UL) /*!< Off */ 20637 20638 /* Bit 17 : Keep retention on RAM section S1 of RAM[n] when RAM section is switched off */ 20639 #define VMC_RAM_POWERCLR_S1RETENTION_Pos (17UL) /*!< Position of S1RETENTION field. */ 20640 #define VMC_RAM_POWERCLR_S1RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S1RETENTION_Pos) /*!< Bit mask of S1RETENTION field. */ 20641 #define VMC_RAM_POWERCLR_S1RETENTION_Off (0x1UL) /*!< Off */ 20642 20643 /* Bit 16 : Keep retention on RAM section S0 of RAM[n] when RAM section is switched off */ 20644 #define VMC_RAM_POWERCLR_S0RETENTION_Pos (16UL) /*!< Position of S0RETENTION field. */ 20645 #define VMC_RAM_POWERCLR_S0RETENTION_Msk (0x1UL << VMC_RAM_POWERCLR_S0RETENTION_Pos) /*!< Bit mask of S0RETENTION field. */ 20646 #define VMC_RAM_POWERCLR_S0RETENTION_Off (0x1UL) /*!< Off */ 20647 20648 /* Bit 15 : Keep RAM section S15 of RAM[n] on or off in System ON mode */ 20649 #define VMC_RAM_POWERCLR_S15POWER_Pos (15UL) /*!< Position of S15POWER field. */ 20650 #define VMC_RAM_POWERCLR_S15POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S15POWER_Pos) /*!< Bit mask of S15POWER field. */ 20651 #define VMC_RAM_POWERCLR_S15POWER_Off (0x1UL) /*!< Off */ 20652 20653 /* Bit 14 : Keep RAM section S14 of RAM[n] on or off in System ON mode */ 20654 #define VMC_RAM_POWERCLR_S14POWER_Pos (14UL) /*!< Position of S14POWER field. */ 20655 #define VMC_RAM_POWERCLR_S14POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S14POWER_Pos) /*!< Bit mask of S14POWER field. */ 20656 #define VMC_RAM_POWERCLR_S14POWER_Off (0x1UL) /*!< Off */ 20657 20658 /* Bit 13 : Keep RAM section S13 of RAM[n] on or off in System ON mode */ 20659 #define VMC_RAM_POWERCLR_S13POWER_Pos (13UL) /*!< Position of S13POWER field. */ 20660 #define VMC_RAM_POWERCLR_S13POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S13POWER_Pos) /*!< Bit mask of S13POWER field. */ 20661 #define VMC_RAM_POWERCLR_S13POWER_Off (0x1UL) /*!< Off */ 20662 20663 /* Bit 12 : Keep RAM section S12 of RAM[n] on or off in System ON mode */ 20664 #define VMC_RAM_POWERCLR_S12POWER_Pos (12UL) /*!< Position of S12POWER field. */ 20665 #define VMC_RAM_POWERCLR_S12POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S12POWER_Pos) /*!< Bit mask of S12POWER field. */ 20666 #define VMC_RAM_POWERCLR_S12POWER_Off (0x1UL) /*!< Off */ 20667 20668 /* Bit 11 : Keep RAM section S11 of RAM[n] on or off in System ON mode */ 20669 #define VMC_RAM_POWERCLR_S11POWER_Pos (11UL) /*!< Position of S11POWER field. */ 20670 #define VMC_RAM_POWERCLR_S11POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S11POWER_Pos) /*!< Bit mask of S11POWER field. */ 20671 #define VMC_RAM_POWERCLR_S11POWER_Off (0x1UL) /*!< Off */ 20672 20673 /* Bit 10 : Keep RAM section S10 of RAM[n] on or off in System ON mode */ 20674 #define VMC_RAM_POWERCLR_S10POWER_Pos (10UL) /*!< Position of S10POWER field. */ 20675 #define VMC_RAM_POWERCLR_S10POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S10POWER_Pos) /*!< Bit mask of S10POWER field. */ 20676 #define VMC_RAM_POWERCLR_S10POWER_Off (0x1UL) /*!< Off */ 20677 20678 /* Bit 9 : Keep RAM section S9 of RAM[n] on or off in System ON mode */ 20679 #define VMC_RAM_POWERCLR_S9POWER_Pos (9UL) /*!< Position of S9POWER field. */ 20680 #define VMC_RAM_POWERCLR_S9POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S9POWER_Pos) /*!< Bit mask of S9POWER field. */ 20681 #define VMC_RAM_POWERCLR_S9POWER_Off (0x1UL) /*!< Off */ 20682 20683 /* Bit 8 : Keep RAM section S8 of RAM[n] on or off in System ON mode */ 20684 #define VMC_RAM_POWERCLR_S8POWER_Pos (8UL) /*!< Position of S8POWER field. */ 20685 #define VMC_RAM_POWERCLR_S8POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S8POWER_Pos) /*!< Bit mask of S8POWER field. */ 20686 #define VMC_RAM_POWERCLR_S8POWER_Off (0x1UL) /*!< Off */ 20687 20688 /* Bit 7 : Keep RAM section S7 of RAM[n] on or off in System ON mode */ 20689 #define VMC_RAM_POWERCLR_S7POWER_Pos (7UL) /*!< Position of S7POWER field. */ 20690 #define VMC_RAM_POWERCLR_S7POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S7POWER_Pos) /*!< Bit mask of S7POWER field. */ 20691 #define VMC_RAM_POWERCLR_S7POWER_Off (0x1UL) /*!< Off */ 20692 20693 /* Bit 6 : Keep RAM section S6 of RAM[n] on or off in System ON mode */ 20694 #define VMC_RAM_POWERCLR_S6POWER_Pos (6UL) /*!< Position of S6POWER field. */ 20695 #define VMC_RAM_POWERCLR_S6POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S6POWER_Pos) /*!< Bit mask of S6POWER field. */ 20696 #define VMC_RAM_POWERCLR_S6POWER_Off (0x1UL) /*!< Off */ 20697 20698 /* Bit 5 : Keep RAM section S5 of RAM[n] on or off in System ON mode */ 20699 #define VMC_RAM_POWERCLR_S5POWER_Pos (5UL) /*!< Position of S5POWER field. */ 20700 #define VMC_RAM_POWERCLR_S5POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S5POWER_Pos) /*!< Bit mask of S5POWER field. */ 20701 #define VMC_RAM_POWERCLR_S5POWER_Off (0x1UL) /*!< Off */ 20702 20703 /* Bit 4 : Keep RAM section S4 of RAM[n] on or off in System ON mode */ 20704 #define VMC_RAM_POWERCLR_S4POWER_Pos (4UL) /*!< Position of S4POWER field. */ 20705 #define VMC_RAM_POWERCLR_S4POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S4POWER_Pos) /*!< Bit mask of S4POWER field. */ 20706 #define VMC_RAM_POWERCLR_S4POWER_Off (0x1UL) /*!< Off */ 20707 20708 /* Bit 3 : Keep RAM section S3 of RAM[n] on or off in System ON mode */ 20709 #define VMC_RAM_POWERCLR_S3POWER_Pos (3UL) /*!< Position of S3POWER field. */ 20710 #define VMC_RAM_POWERCLR_S3POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S3POWER_Pos) /*!< Bit mask of S3POWER field. */ 20711 #define VMC_RAM_POWERCLR_S3POWER_Off (0x1UL) /*!< Off */ 20712 20713 /* Bit 2 : Keep RAM section S2 of RAM[n] on or off in System ON mode */ 20714 #define VMC_RAM_POWERCLR_S2POWER_Pos (2UL) /*!< Position of S2POWER field. */ 20715 #define VMC_RAM_POWERCLR_S2POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S2POWER_Pos) /*!< Bit mask of S2POWER field. */ 20716 #define VMC_RAM_POWERCLR_S2POWER_Off (0x1UL) /*!< Off */ 20717 20718 /* Bit 1 : Keep RAM section S1 of RAM[n] on or off in System ON mode */ 20719 #define VMC_RAM_POWERCLR_S1POWER_Pos (1UL) /*!< Position of S1POWER field. */ 20720 #define VMC_RAM_POWERCLR_S1POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S1POWER_Pos) /*!< Bit mask of S1POWER field. */ 20721 #define VMC_RAM_POWERCLR_S1POWER_Off (0x1UL) /*!< Off */ 20722 20723 /* Bit 0 : Keep RAM section S0 of RAM[n] on or off in System ON mode */ 20724 #define VMC_RAM_POWERCLR_S0POWER_Pos (0UL) /*!< Position of S0POWER field. */ 20725 #define VMC_RAM_POWERCLR_S0POWER_Msk (0x1UL << VMC_RAM_POWERCLR_S0POWER_Pos) /*!< Bit mask of S0POWER field. */ 20726 #define VMC_RAM_POWERCLR_S0POWER_Off (0x1UL) /*!< Off */ 20727 20728 20729 /* Peripheral: WDT */ 20730 /* Description: Watchdog Timer 0 */ 20731 20732 /* Register: WDT_TASKS_START */ 20733 /* Description: Start WDT */ 20734 20735 /* Bit 0 : Start WDT */ 20736 #define WDT_TASKS_START_TASKS_START_Pos (0UL) /*!< Position of TASKS_START field. */ 20737 #define WDT_TASKS_START_TASKS_START_Msk (0x1UL << WDT_TASKS_START_TASKS_START_Pos) /*!< Bit mask of TASKS_START field. */ 20738 #define WDT_TASKS_START_TASKS_START_Trigger (0x1UL) /*!< Trigger task */ 20739 20740 /* Register: WDT_TASKS_STOP */ 20741 /* Description: Stop WDT */ 20742 20743 /* Bit 0 : Stop WDT */ 20744 #define WDT_TASKS_STOP_TASKS_STOP_Pos (0UL) /*!< Position of TASKS_STOP field. */ 20745 #define WDT_TASKS_STOP_TASKS_STOP_Msk (0x1UL << WDT_TASKS_STOP_TASKS_STOP_Pos) /*!< Bit mask of TASKS_STOP field. */ 20746 #define WDT_TASKS_STOP_TASKS_STOP_Trigger (0x1UL) /*!< Trigger task */ 20747 20748 /* Register: WDT_SUBSCRIBE_START */ 20749 /* Description: Subscribe configuration for task START */ 20750 20751 /* Bit 31 : */ 20752 #define WDT_SUBSCRIBE_START_EN_Pos (31UL) /*!< Position of EN field. */ 20753 #define WDT_SUBSCRIBE_START_EN_Msk (0x1UL << WDT_SUBSCRIBE_START_EN_Pos) /*!< Bit mask of EN field. */ 20754 #define WDT_SUBSCRIBE_START_EN_Disabled (0x0UL) /*!< Disable subscription */ 20755 #define WDT_SUBSCRIBE_START_EN_Enabled (0x1UL) /*!< Enable subscription */ 20756 20757 /* Bits 7..0 : DPPI channel that task START will subscribe to */ 20758 #define WDT_SUBSCRIBE_START_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 20759 #define WDT_SUBSCRIBE_START_CHIDX_Msk (0xFFUL << WDT_SUBSCRIBE_START_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 20760 20761 /* Register: WDT_SUBSCRIBE_STOP */ 20762 /* Description: Subscribe configuration for task STOP */ 20763 20764 /* Bit 31 : */ 20765 #define WDT_SUBSCRIBE_STOP_EN_Pos (31UL) /*!< Position of EN field. */ 20766 #define WDT_SUBSCRIBE_STOP_EN_Msk (0x1UL << WDT_SUBSCRIBE_STOP_EN_Pos) /*!< Bit mask of EN field. */ 20767 #define WDT_SUBSCRIBE_STOP_EN_Disabled (0x0UL) /*!< Disable subscription */ 20768 #define WDT_SUBSCRIBE_STOP_EN_Enabled (0x1UL) /*!< Enable subscription */ 20769 20770 /* Bits 7..0 : DPPI channel that task STOP will subscribe to */ 20771 #define WDT_SUBSCRIBE_STOP_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 20772 #define WDT_SUBSCRIBE_STOP_CHIDX_Msk (0xFFUL << WDT_SUBSCRIBE_STOP_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 20773 20774 /* Register: WDT_EVENTS_TIMEOUT */ 20775 /* Description: Watchdog timeout */ 20776 20777 /* Bit 0 : Watchdog timeout */ 20778 #define WDT_EVENTS_TIMEOUT_EVENTS_TIMEOUT_Pos (0UL) /*!< Position of EVENTS_TIMEOUT field. */ 20779 #define WDT_EVENTS_TIMEOUT_EVENTS_TIMEOUT_Msk (0x1UL << WDT_EVENTS_TIMEOUT_EVENTS_TIMEOUT_Pos) /*!< Bit mask of EVENTS_TIMEOUT field. */ 20780 #define WDT_EVENTS_TIMEOUT_EVENTS_TIMEOUT_NotGenerated (0x0UL) /*!< Event not generated */ 20781 #define WDT_EVENTS_TIMEOUT_EVENTS_TIMEOUT_Generated (0x1UL) /*!< Event generated */ 20782 20783 /* Register: WDT_EVENTS_STOPPED */ 20784 /* Description: Watchdog stopped */ 20785 20786 /* Bit 0 : Watchdog stopped */ 20787 #define WDT_EVENTS_STOPPED_EVENTS_STOPPED_Pos (0UL) /*!< Position of EVENTS_STOPPED field. */ 20788 #define WDT_EVENTS_STOPPED_EVENTS_STOPPED_Msk (0x1UL << WDT_EVENTS_STOPPED_EVENTS_STOPPED_Pos) /*!< Bit mask of EVENTS_STOPPED field. */ 20789 #define WDT_EVENTS_STOPPED_EVENTS_STOPPED_NotGenerated (0x0UL) /*!< Event not generated */ 20790 #define WDT_EVENTS_STOPPED_EVENTS_STOPPED_Generated (0x1UL) /*!< Event generated */ 20791 20792 /* Register: WDT_PUBLISH_TIMEOUT */ 20793 /* Description: Publish configuration for event TIMEOUT */ 20794 20795 /* Bit 31 : */ 20796 #define WDT_PUBLISH_TIMEOUT_EN_Pos (31UL) /*!< Position of EN field. */ 20797 #define WDT_PUBLISH_TIMEOUT_EN_Msk (0x1UL << WDT_PUBLISH_TIMEOUT_EN_Pos) /*!< Bit mask of EN field. */ 20798 #define WDT_PUBLISH_TIMEOUT_EN_Disabled (0x0UL) /*!< Disable publishing */ 20799 #define WDT_PUBLISH_TIMEOUT_EN_Enabled (0x1UL) /*!< Enable publishing */ 20800 20801 /* Bits 7..0 : DPPI channel that event TIMEOUT will publish to */ 20802 #define WDT_PUBLISH_TIMEOUT_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 20803 #define WDT_PUBLISH_TIMEOUT_CHIDX_Msk (0xFFUL << WDT_PUBLISH_TIMEOUT_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 20804 20805 /* Register: WDT_PUBLISH_STOPPED */ 20806 /* Description: Publish configuration for event STOPPED */ 20807 20808 /* Bit 31 : */ 20809 #define WDT_PUBLISH_STOPPED_EN_Pos (31UL) /*!< Position of EN field. */ 20810 #define WDT_PUBLISH_STOPPED_EN_Msk (0x1UL << WDT_PUBLISH_STOPPED_EN_Pos) /*!< Bit mask of EN field. */ 20811 #define WDT_PUBLISH_STOPPED_EN_Disabled (0x0UL) /*!< Disable publishing */ 20812 #define WDT_PUBLISH_STOPPED_EN_Enabled (0x1UL) /*!< Enable publishing */ 20813 20814 /* Bits 7..0 : DPPI channel that event STOPPED will publish to */ 20815 #define WDT_PUBLISH_STOPPED_CHIDX_Pos (0UL) /*!< Position of CHIDX field. */ 20816 #define WDT_PUBLISH_STOPPED_CHIDX_Msk (0xFFUL << WDT_PUBLISH_STOPPED_CHIDX_Pos) /*!< Bit mask of CHIDX field. */ 20817 20818 /* Register: WDT_INTENSET */ 20819 /* Description: Enable interrupt */ 20820 20821 /* Bit 1 : Write '1' to enable interrupt for event STOPPED */ 20822 #define WDT_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 20823 #define WDT_INTENSET_STOPPED_Msk (0x1UL << WDT_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 20824 #define WDT_INTENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 20825 #define WDT_INTENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 20826 #define WDT_INTENSET_STOPPED_Set (0x1UL) /*!< Enable */ 20827 20828 /* Bit 0 : Write '1' to enable interrupt for event TIMEOUT */ 20829 #define WDT_INTENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 20830 #define WDT_INTENSET_TIMEOUT_Msk (0x1UL << WDT_INTENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 20831 #define WDT_INTENSET_TIMEOUT_Disabled (0x0UL) /*!< Read: Disabled */ 20832 #define WDT_INTENSET_TIMEOUT_Enabled (0x1UL) /*!< Read: Enabled */ 20833 #define WDT_INTENSET_TIMEOUT_Set (0x1UL) /*!< Enable */ 20834 20835 /* Register: WDT_INTENCLR */ 20836 /* Description: Disable interrupt */ 20837 20838 /* Bit 1 : Write '1' to disable interrupt for event STOPPED */ 20839 #define WDT_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 20840 #define WDT_INTENCLR_STOPPED_Msk (0x1UL << WDT_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 20841 #define WDT_INTENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 20842 #define WDT_INTENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 20843 #define WDT_INTENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 20844 20845 /* Bit 0 : Write '1' to disable interrupt for event TIMEOUT */ 20846 #define WDT_INTENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 20847 #define WDT_INTENCLR_TIMEOUT_Msk (0x1UL << WDT_INTENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 20848 #define WDT_INTENCLR_TIMEOUT_Disabled (0x0UL) /*!< Read: Disabled */ 20849 #define WDT_INTENCLR_TIMEOUT_Enabled (0x1UL) /*!< Read: Enabled */ 20850 #define WDT_INTENCLR_TIMEOUT_Clear (0x1UL) /*!< Disable */ 20851 20852 /* Register: WDT_NMIENSET */ 20853 /* Description: Enable interrupt */ 20854 20855 /* Bit 1 : Write '1' to enable interrupt for event STOPPED */ 20856 #define WDT_NMIENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 20857 #define WDT_NMIENSET_STOPPED_Msk (0x1UL << WDT_NMIENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 20858 #define WDT_NMIENSET_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 20859 #define WDT_NMIENSET_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 20860 #define WDT_NMIENSET_STOPPED_Set (0x1UL) /*!< Enable */ 20861 20862 /* Bit 0 : Write '1' to enable interrupt for event TIMEOUT */ 20863 #define WDT_NMIENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 20864 #define WDT_NMIENSET_TIMEOUT_Msk (0x1UL << WDT_NMIENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 20865 #define WDT_NMIENSET_TIMEOUT_Disabled (0x0UL) /*!< Read: Disabled */ 20866 #define WDT_NMIENSET_TIMEOUT_Enabled (0x1UL) /*!< Read: Enabled */ 20867 #define WDT_NMIENSET_TIMEOUT_Set (0x1UL) /*!< Enable */ 20868 20869 /* Register: WDT_NMIENCLR */ 20870 /* Description: Disable interrupt */ 20871 20872 /* Bit 1 : Write '1' to disable interrupt for event STOPPED */ 20873 #define WDT_NMIENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 20874 #define WDT_NMIENCLR_STOPPED_Msk (0x1UL << WDT_NMIENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 20875 #define WDT_NMIENCLR_STOPPED_Disabled (0x0UL) /*!< Read: Disabled */ 20876 #define WDT_NMIENCLR_STOPPED_Enabled (0x1UL) /*!< Read: Enabled */ 20877 #define WDT_NMIENCLR_STOPPED_Clear (0x1UL) /*!< Disable */ 20878 20879 /* Bit 0 : Write '1' to disable interrupt for event TIMEOUT */ 20880 #define WDT_NMIENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 20881 #define WDT_NMIENCLR_TIMEOUT_Msk (0x1UL << WDT_NMIENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 20882 #define WDT_NMIENCLR_TIMEOUT_Disabled (0x0UL) /*!< Read: Disabled */ 20883 #define WDT_NMIENCLR_TIMEOUT_Enabled (0x1UL) /*!< Read: Enabled */ 20884 #define WDT_NMIENCLR_TIMEOUT_Clear (0x1UL) /*!< Disable */ 20885 20886 /* Register: WDT_RUNSTATUS */ 20887 /* Description: Run status */ 20888 20889 /* Bit 0 : Indicates whether or not WDT is running */ 20890 #define WDT_RUNSTATUS_RUNSTATUSWDT_Pos (0UL) /*!< Position of RUNSTATUSWDT field. */ 20891 #define WDT_RUNSTATUS_RUNSTATUSWDT_Msk (0x1UL << WDT_RUNSTATUS_RUNSTATUSWDT_Pos) /*!< Bit mask of RUNSTATUSWDT field. */ 20892 #define WDT_RUNSTATUS_RUNSTATUSWDT_NotRunning (0x0UL) /*!< Watchdog is not running */ 20893 #define WDT_RUNSTATUS_RUNSTATUSWDT_Running (0x1UL) /*!< Watchdog is running */ 20894 20895 /* Register: WDT_REQSTATUS */ 20896 /* Description: Request status */ 20897 20898 /* Bit 7 : Request status for RR[7] register */ 20899 #define WDT_REQSTATUS_RR7_Pos (7UL) /*!< Position of RR7 field. */ 20900 #define WDT_REQSTATUS_RR7_Msk (0x1UL << WDT_REQSTATUS_RR7_Pos) /*!< Bit mask of RR7 field. */ 20901 #define WDT_REQSTATUS_RR7_DisabledOrRequested (0x0UL) /*!< RR[7] register is not enabled, or are already requesting reload */ 20902 #define WDT_REQSTATUS_RR7_EnabledAndUnrequested (0x1UL) /*!< RR[7] register is enabled, and are not yet requesting reload */ 20903 20904 /* Bit 6 : Request status for RR[6] register */ 20905 #define WDT_REQSTATUS_RR6_Pos (6UL) /*!< Position of RR6 field. */ 20906 #define WDT_REQSTATUS_RR6_Msk (0x1UL << WDT_REQSTATUS_RR6_Pos) /*!< Bit mask of RR6 field. */ 20907 #define WDT_REQSTATUS_RR6_DisabledOrRequested (0x0UL) /*!< RR[6] register is not enabled, or are already requesting reload */ 20908 #define WDT_REQSTATUS_RR6_EnabledAndUnrequested (0x1UL) /*!< RR[6] register is enabled, and are not yet requesting reload */ 20909 20910 /* Bit 5 : Request status for RR[5] register */ 20911 #define WDT_REQSTATUS_RR5_Pos (5UL) /*!< Position of RR5 field. */ 20912 #define WDT_REQSTATUS_RR5_Msk (0x1UL << WDT_REQSTATUS_RR5_Pos) /*!< Bit mask of RR5 field. */ 20913 #define WDT_REQSTATUS_RR5_DisabledOrRequested (0x0UL) /*!< RR[5] register is not enabled, or are already requesting reload */ 20914 #define WDT_REQSTATUS_RR5_EnabledAndUnrequested (0x1UL) /*!< RR[5] register is enabled, and are not yet requesting reload */ 20915 20916 /* Bit 4 : Request status for RR[4] register */ 20917 #define WDT_REQSTATUS_RR4_Pos (4UL) /*!< Position of RR4 field. */ 20918 #define WDT_REQSTATUS_RR4_Msk (0x1UL << WDT_REQSTATUS_RR4_Pos) /*!< Bit mask of RR4 field. */ 20919 #define WDT_REQSTATUS_RR4_DisabledOrRequested (0x0UL) /*!< RR[4] register is not enabled, or are already requesting reload */ 20920 #define WDT_REQSTATUS_RR4_EnabledAndUnrequested (0x1UL) /*!< RR[4] register is enabled, and are not yet requesting reload */ 20921 20922 /* Bit 3 : Request status for RR[3] register */ 20923 #define WDT_REQSTATUS_RR3_Pos (3UL) /*!< Position of RR3 field. */ 20924 #define WDT_REQSTATUS_RR3_Msk (0x1UL << WDT_REQSTATUS_RR3_Pos) /*!< Bit mask of RR3 field. */ 20925 #define WDT_REQSTATUS_RR3_DisabledOrRequested (0x0UL) /*!< RR[3] register is not enabled, or are already requesting reload */ 20926 #define WDT_REQSTATUS_RR3_EnabledAndUnrequested (0x1UL) /*!< RR[3] register is enabled, and are not yet requesting reload */ 20927 20928 /* Bit 2 : Request status for RR[2] register */ 20929 #define WDT_REQSTATUS_RR2_Pos (2UL) /*!< Position of RR2 field. */ 20930 #define WDT_REQSTATUS_RR2_Msk (0x1UL << WDT_REQSTATUS_RR2_Pos) /*!< Bit mask of RR2 field. */ 20931 #define WDT_REQSTATUS_RR2_DisabledOrRequested (0x0UL) /*!< RR[2] register is not enabled, or are already requesting reload */ 20932 #define WDT_REQSTATUS_RR2_EnabledAndUnrequested (0x1UL) /*!< RR[2] register is enabled, and are not yet requesting reload */ 20933 20934 /* Bit 1 : Request status for RR[1] register */ 20935 #define WDT_REQSTATUS_RR1_Pos (1UL) /*!< Position of RR1 field. */ 20936 #define WDT_REQSTATUS_RR1_Msk (0x1UL << WDT_REQSTATUS_RR1_Pos) /*!< Bit mask of RR1 field. */ 20937 #define WDT_REQSTATUS_RR1_DisabledOrRequested (0x0UL) /*!< RR[1] register is not enabled, or are already requesting reload */ 20938 #define WDT_REQSTATUS_RR1_EnabledAndUnrequested (0x1UL) /*!< RR[1] register is enabled, and are not yet requesting reload */ 20939 20940 /* Bit 0 : Request status for RR[0] register */ 20941 #define WDT_REQSTATUS_RR0_Pos (0UL) /*!< Position of RR0 field. */ 20942 #define WDT_REQSTATUS_RR0_Msk (0x1UL << WDT_REQSTATUS_RR0_Pos) /*!< Bit mask of RR0 field. */ 20943 #define WDT_REQSTATUS_RR0_DisabledOrRequested (0x0UL) /*!< RR[0] register is not enabled, or are already requesting reload */ 20944 #define WDT_REQSTATUS_RR0_EnabledAndUnrequested (0x1UL) /*!< RR[0] register is enabled, and are not yet requesting reload */ 20945 20946 /* Register: WDT_CRV */ 20947 /* Description: Counter reload value */ 20948 20949 /* Bits 31..0 : Counter reload value in number of cycles of the 32.768 kHz clock */ 20950 #define WDT_CRV_CRV_Pos (0UL) /*!< Position of CRV field. */ 20951 #define WDT_CRV_CRV_Msk (0xFFFFFFFFUL << WDT_CRV_CRV_Pos) /*!< Bit mask of CRV field. */ 20952 20953 /* Register: WDT_RREN */ 20954 /* Description: Enable register for reload request registers */ 20955 20956 /* Bit 7 : Enable or disable RR[7] register */ 20957 #define WDT_RREN_RR7_Pos (7UL) /*!< Position of RR7 field. */ 20958 #define WDT_RREN_RR7_Msk (0x1UL << WDT_RREN_RR7_Pos) /*!< Bit mask of RR7 field. */ 20959 #define WDT_RREN_RR7_Disabled (0x0UL) /*!< Disable RR[7] register */ 20960 #define WDT_RREN_RR7_Enabled (0x1UL) /*!< Enable RR[7] register */ 20961 20962 /* Bit 6 : Enable or disable RR[6] register */ 20963 #define WDT_RREN_RR6_Pos (6UL) /*!< Position of RR6 field. */ 20964 #define WDT_RREN_RR6_Msk (0x1UL << WDT_RREN_RR6_Pos) /*!< Bit mask of RR6 field. */ 20965 #define WDT_RREN_RR6_Disabled (0x0UL) /*!< Disable RR[6] register */ 20966 #define WDT_RREN_RR6_Enabled (0x1UL) /*!< Enable RR[6] register */ 20967 20968 /* Bit 5 : Enable or disable RR[5] register */ 20969 #define WDT_RREN_RR5_Pos (5UL) /*!< Position of RR5 field. */ 20970 #define WDT_RREN_RR5_Msk (0x1UL << WDT_RREN_RR5_Pos) /*!< Bit mask of RR5 field. */ 20971 #define WDT_RREN_RR5_Disabled (0x0UL) /*!< Disable RR[5] register */ 20972 #define WDT_RREN_RR5_Enabled (0x1UL) /*!< Enable RR[5] register */ 20973 20974 /* Bit 4 : Enable or disable RR[4] register */ 20975 #define WDT_RREN_RR4_Pos (4UL) /*!< Position of RR4 field. */ 20976 #define WDT_RREN_RR4_Msk (0x1UL << WDT_RREN_RR4_Pos) /*!< Bit mask of RR4 field. */ 20977 #define WDT_RREN_RR4_Disabled (0x0UL) /*!< Disable RR[4] register */ 20978 #define WDT_RREN_RR4_Enabled (0x1UL) /*!< Enable RR[4] register */ 20979 20980 /* Bit 3 : Enable or disable RR[3] register */ 20981 #define WDT_RREN_RR3_Pos (3UL) /*!< Position of RR3 field. */ 20982 #define WDT_RREN_RR3_Msk (0x1UL << WDT_RREN_RR3_Pos) /*!< Bit mask of RR3 field. */ 20983 #define WDT_RREN_RR3_Disabled (0x0UL) /*!< Disable RR[3] register */ 20984 #define WDT_RREN_RR3_Enabled (0x1UL) /*!< Enable RR[3] register */ 20985 20986 /* Bit 2 : Enable or disable RR[2] register */ 20987 #define WDT_RREN_RR2_Pos (2UL) /*!< Position of RR2 field. */ 20988 #define WDT_RREN_RR2_Msk (0x1UL << WDT_RREN_RR2_Pos) /*!< Bit mask of RR2 field. */ 20989 #define WDT_RREN_RR2_Disabled (0x0UL) /*!< Disable RR[2] register */ 20990 #define WDT_RREN_RR2_Enabled (0x1UL) /*!< Enable RR[2] register */ 20991 20992 /* Bit 1 : Enable or disable RR[1] register */ 20993 #define WDT_RREN_RR1_Pos (1UL) /*!< Position of RR1 field. */ 20994 #define WDT_RREN_RR1_Msk (0x1UL << WDT_RREN_RR1_Pos) /*!< Bit mask of RR1 field. */ 20995 #define WDT_RREN_RR1_Disabled (0x0UL) /*!< Disable RR[1] register */ 20996 #define WDT_RREN_RR1_Enabled (0x1UL) /*!< Enable RR[1] register */ 20997 20998 /* Bit 0 : Enable or disable RR[0] register */ 20999 #define WDT_RREN_RR0_Pos (0UL) /*!< Position of RR0 field. */ 21000 #define WDT_RREN_RR0_Msk (0x1UL << WDT_RREN_RR0_Pos) /*!< Bit mask of RR0 field. */ 21001 #define WDT_RREN_RR0_Disabled (0x0UL) /*!< Disable RR[0] register */ 21002 #define WDT_RREN_RR0_Enabled (0x1UL) /*!< Enable RR[0] register */ 21003 21004 /* Register: WDT_CONFIG */ 21005 /* Description: Configuration register */ 21006 21007 /* Bit 6 : Allow stopping WDT */ 21008 #define WDT_CONFIG_STOPEN_Pos (6UL) /*!< Position of STOPEN field. */ 21009 #define WDT_CONFIG_STOPEN_Msk (0x1UL << WDT_CONFIG_STOPEN_Pos) /*!< Bit mask of STOPEN field. */ 21010 #define WDT_CONFIG_STOPEN_Disable (0x0UL) /*!< Do not allow stopping WDT */ 21011 #define WDT_CONFIG_STOPEN_Enable (0x1UL) /*!< Allow stopping WDT */ 21012 21013 /* Bit 3 : Configure WDT to either be paused, or kept running, while the CPU is halted by the debugger */ 21014 #define WDT_CONFIG_HALT_Pos (3UL) /*!< Position of HALT field. */ 21015 #define WDT_CONFIG_HALT_Msk (0x1UL << WDT_CONFIG_HALT_Pos) /*!< Bit mask of HALT field. */ 21016 #define WDT_CONFIG_HALT_Pause (0x0UL) /*!< Pause WDT while the CPU is halted by the debugger */ 21017 #define WDT_CONFIG_HALT_Run (0x1UL) /*!< Keep WDT running while the CPU is halted by the debugger */ 21018 21019 /* Bit 0 : Configure WDT to either be paused, or kept running, while the CPU is sleeping */ 21020 #define WDT_CONFIG_SLEEP_Pos (0UL) /*!< Position of SLEEP field. */ 21021 #define WDT_CONFIG_SLEEP_Msk (0x1UL << WDT_CONFIG_SLEEP_Pos) /*!< Bit mask of SLEEP field. */ 21022 #define WDT_CONFIG_SLEEP_Pause (0x0UL) /*!< Pause WDT while the CPU is sleeping */ 21023 #define WDT_CONFIG_SLEEP_Run (0x1UL) /*!< Keep WDT running while the CPU is sleeping */ 21024 21025 /* Register: WDT_TSEN */ 21026 /* Description: Task stop enable */ 21027 21028 /* Bits 31..0 : Allow stopping WDT */ 21029 #define WDT_TSEN_TSEN_Pos (0UL) /*!< Position of TSEN field. */ 21030 #define WDT_TSEN_TSEN_Msk (0xFFFFFFFFUL << WDT_TSEN_TSEN_Pos) /*!< Bit mask of TSEN field. */ 21031 #define WDT_TSEN_TSEN_Enable (0x6E524635UL) /*!< Value to allow stopping WDT */ 21032 21033 /* Register: WDT_RR */ 21034 /* Description: Description collection: Reload request n */ 21035 21036 /* Bits 31..0 : Reload request register */ 21037 #define WDT_RR_RR_Pos (0UL) /*!< Position of RR field. */ 21038 #define WDT_RR_RR_Msk (0xFFFFFFFFUL << WDT_RR_RR_Pos) /*!< Bit mask of RR field. */ 21039 #define WDT_RR_RR_Reload (0x6E524635UL) /*!< Value to request a reload of the watchdog timer */ 21040 21041 21042 /*lint --flb "Leave library region" */ 21043 #endif 21044