1 /* 2 3 Copyright (c) 2010 - 2024, 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 __NRF51_BITS_H 36 #define __NRF51_BITS_H 37 38 /*lint ++flb "Enter library region" */ 39 40 /* Peripheral: AAR */ 41 /* Description: Accelerated Address Resolver. */ 42 43 /* Register: AAR_INTENSET */ 44 /* Description: Interrupt enable set register. */ 45 46 /* Bit 2 : Enable interrupt on NOTRESOLVED event. */ 47 #define AAR_INTENSET_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */ 48 #define AAR_INTENSET_NOTRESOLVED_Msk (0x1UL << AAR_INTENSET_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */ 49 #define AAR_INTENSET_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 50 #define AAR_INTENSET_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 51 #define AAR_INTENSET_NOTRESOLVED_Set (1UL) /*!< Enable interrupt on write. */ 52 53 /* Bit 1 : Enable interrupt on RESOLVED event. */ 54 #define AAR_INTENSET_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */ 55 #define AAR_INTENSET_RESOLVED_Msk (0x1UL << AAR_INTENSET_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */ 56 #define AAR_INTENSET_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 57 #define AAR_INTENSET_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 58 #define AAR_INTENSET_RESOLVED_Set (1UL) /*!< Enable interrupt on write. */ 59 60 /* Bit 0 : Enable interrupt on END event. */ 61 #define AAR_INTENSET_END_Pos (0UL) /*!< Position of END field. */ 62 #define AAR_INTENSET_END_Msk (0x1UL << AAR_INTENSET_END_Pos) /*!< Bit mask of END field. */ 63 #define AAR_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 64 #define AAR_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 65 #define AAR_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 66 67 /* Register: AAR_INTENCLR */ 68 /* Description: Interrupt enable clear register. */ 69 70 /* Bit 2 : Disable interrupt on NOTRESOLVED event. */ 71 #define AAR_INTENCLR_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */ 72 #define AAR_INTENCLR_NOTRESOLVED_Msk (0x1UL << AAR_INTENCLR_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */ 73 #define AAR_INTENCLR_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 74 #define AAR_INTENCLR_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 75 #define AAR_INTENCLR_NOTRESOLVED_Clear (1UL) /*!< Disable interrupt on write. */ 76 77 /* Bit 1 : Disable interrupt on RESOLVED event. */ 78 #define AAR_INTENCLR_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */ 79 #define AAR_INTENCLR_RESOLVED_Msk (0x1UL << AAR_INTENCLR_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */ 80 #define AAR_INTENCLR_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 81 #define AAR_INTENCLR_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 82 #define AAR_INTENCLR_RESOLVED_Clear (1UL) /*!< Disable interrupt on write. */ 83 84 /* Bit 0 : Disable interrupt on ENDKSGEN event. */ 85 #define AAR_INTENCLR_END_Pos (0UL) /*!< Position of END field. */ 86 #define AAR_INTENCLR_END_Msk (0x1UL << AAR_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 87 #define AAR_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 88 #define AAR_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 89 #define AAR_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 90 91 /* Register: AAR_STATUS */ 92 /* Description: Resolution status. */ 93 94 /* Bits 3..0 : The IRK used last time an address was resolved. */ 95 #define AAR_STATUS_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 96 #define AAR_STATUS_STATUS_Msk (0xFUL << AAR_STATUS_STATUS_Pos) /*!< Bit mask of STATUS field. */ 97 98 /* Register: AAR_ENABLE */ 99 /* Description: Enable AAR. */ 100 101 /* Bits 1..0 : Enable AAR. */ 102 #define AAR_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 103 #define AAR_ENABLE_ENABLE_Msk (0x3UL << AAR_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 104 #define AAR_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled AAR. */ 105 #define AAR_ENABLE_ENABLE_Enabled (0x03UL) /*!< Enable AAR. */ 106 107 /* Register: AAR_NIRK */ 108 /* Description: Number of Identity root Keys in the IRK data structure. */ 109 110 /* Bits 4..0 : Number of Identity root Keys in the IRK data structure. */ 111 #define AAR_NIRK_NIRK_Pos (0UL) /*!< Position of NIRK field. */ 112 #define AAR_NIRK_NIRK_Msk (0x1FUL << AAR_NIRK_NIRK_Pos) /*!< Bit mask of NIRK field. */ 113 114 /* Register: AAR_POWER */ 115 /* Description: Peripheral power control. */ 116 117 /* Bit 0 : Peripheral power control. */ 118 #define AAR_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 119 #define AAR_POWER_POWER_Msk (0x1UL << AAR_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 120 #define AAR_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 121 #define AAR_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 122 123 124 /* Peripheral: ADC */ 125 /* Description: Analog to digital converter. */ 126 127 /* Register: ADC_INTENSET */ 128 /* Description: Interrupt enable set register. */ 129 130 /* Bit 0 : Enable interrupt on END event. */ 131 #define ADC_INTENSET_END_Pos (0UL) /*!< Position of END field. */ 132 #define ADC_INTENSET_END_Msk (0x1UL << ADC_INTENSET_END_Pos) /*!< Bit mask of END field. */ 133 #define ADC_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 134 #define ADC_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 135 #define ADC_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 136 137 /* Register: ADC_INTENCLR */ 138 /* Description: Interrupt enable clear register. */ 139 140 /* Bit 0 : Disable interrupt on END event. */ 141 #define ADC_INTENCLR_END_Pos (0UL) /*!< Position of END field. */ 142 #define ADC_INTENCLR_END_Msk (0x1UL << ADC_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 143 #define ADC_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 144 #define ADC_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 145 #define ADC_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 146 147 /* Register: ADC_BUSY */ 148 /* Description: ADC busy register. */ 149 150 /* Bit 0 : ADC busy register. */ 151 #define ADC_BUSY_BUSY_Pos (0UL) /*!< Position of BUSY field. */ 152 #define ADC_BUSY_BUSY_Msk (0x1UL << ADC_BUSY_BUSY_Pos) /*!< Bit mask of BUSY field. */ 153 #define ADC_BUSY_BUSY_Ready (0UL) /*!< No ongoing ADC conversion is taking place. ADC is ready. */ 154 #define ADC_BUSY_BUSY_Busy (1UL) /*!< An ADC conversion is taking place. ADC is busy. */ 155 156 /* Register: ADC_ENABLE */ 157 /* Description: ADC enable. */ 158 159 /* Bits 1..0 : ADC enable. */ 160 #define ADC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 161 #define ADC_ENABLE_ENABLE_Msk (0x3UL << ADC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 162 #define ADC_ENABLE_ENABLE_Disabled (0x00UL) /*!< ADC is disabled. */ 163 #define ADC_ENABLE_ENABLE_Enabled (0x01UL) /*!< ADC is enabled. If an analog input pin is selected as source of the conversion, the selected pin is configured as an analog input. */ 164 165 /* Register: ADC_CONFIG */ 166 /* Description: ADC configuration register. */ 167 168 /* Bits 17..16 : ADC external reference pin selection. */ 169 #define ADC_CONFIG_EXTREFSEL_Pos (16UL) /*!< Position of EXTREFSEL field. */ 170 #define ADC_CONFIG_EXTREFSEL_Msk (0x3UL << ADC_CONFIG_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */ 171 #define ADC_CONFIG_EXTREFSEL_None (0UL) /*!< Analog external reference inputs disabled. */ 172 #define ADC_CONFIG_EXTREFSEL_AnalogReference0 (1UL) /*!< Use analog reference 0 as reference. */ 173 #define ADC_CONFIG_EXTREFSEL_AnalogReference1 (2UL) /*!< Use analog reference 1 as reference. */ 174 175 /* Bits 15..8 : ADC analog pin selection. */ 176 #define ADC_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */ 177 #define ADC_CONFIG_PSEL_Msk (0xFFUL << ADC_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */ 178 #define ADC_CONFIG_PSEL_Disabled (0UL) /*!< Analog input pins disabled. */ 179 #define ADC_CONFIG_PSEL_AnalogInput0 (1UL) /*!< Use analog input 0 as analog input. */ 180 #define ADC_CONFIG_PSEL_AnalogInput1 (2UL) /*!< Use analog input 1 as analog input. */ 181 #define ADC_CONFIG_PSEL_AnalogInput2 (4UL) /*!< Use analog input 2 as analog input. */ 182 #define ADC_CONFIG_PSEL_AnalogInput3 (8UL) /*!< Use analog input 3 as analog input. */ 183 #define ADC_CONFIG_PSEL_AnalogInput4 (16UL) /*!< Use analog input 4 as analog input. */ 184 #define ADC_CONFIG_PSEL_AnalogInput5 (32UL) /*!< Use analog input 5 as analog input. */ 185 #define ADC_CONFIG_PSEL_AnalogInput6 (64UL) /*!< Use analog input 6 as analog input. */ 186 #define ADC_CONFIG_PSEL_AnalogInput7 (128UL) /*!< Use analog input 7 as analog input. */ 187 188 /* Bits 6..5 : ADC reference selection. */ 189 #define ADC_CONFIG_REFSEL_Pos (5UL) /*!< Position of REFSEL field. */ 190 #define ADC_CONFIG_REFSEL_Msk (0x3UL << ADC_CONFIG_REFSEL_Pos) /*!< Bit mask of REFSEL field. */ 191 #define ADC_CONFIG_REFSEL_VBG (0x00UL) /*!< Use internal 1.2V bandgap voltage as reference for conversion. */ 192 #define ADC_CONFIG_REFSEL_External (0x01UL) /*!< Use external source configured by EXTREFSEL as reference for conversion. */ 193 #define ADC_CONFIG_REFSEL_SupplyOneHalfPrescaling (0x02UL) /*!< Use supply voltage with 1/2 prescaling as reference for conversion. Only usable when supply voltage is between 1.7V and 2.6V. */ 194 #define ADC_CONFIG_REFSEL_SupplyOneThirdPrescaling (0x03UL) /*!< Use supply voltage with 1/3 prescaling as reference for conversion. Only usable when supply voltage is between 2.5V and 3.6V. */ 195 196 /* Bits 4..2 : ADC input selection. */ 197 #define ADC_CONFIG_INPSEL_Pos (2UL) /*!< Position of INPSEL field. */ 198 #define ADC_CONFIG_INPSEL_Msk (0x7UL << ADC_CONFIG_INPSEL_Pos) /*!< Bit mask of INPSEL field. */ 199 #define ADC_CONFIG_INPSEL_AnalogInputNoPrescaling (0x00UL) /*!< Analog input specified by PSEL with no prescaling used as input for the conversion. */ 200 #define ADC_CONFIG_INPSEL_AnalogInputTwoThirdsPrescaling (0x01UL) /*!< Analog input specified by PSEL with 2/3 prescaling used as input for the conversion. */ 201 #define ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling (0x02UL) /*!< Analog input specified by PSEL with 1/3 prescaling used as input for the conversion. */ 202 #define ADC_CONFIG_INPSEL_SupplyTwoThirdsPrescaling (0x05UL) /*!< Supply voltage with 2/3 prescaling used as input for the conversion. */ 203 #define ADC_CONFIG_INPSEL_SupplyOneThirdPrescaling (0x06UL) /*!< Supply voltage with 1/3 prescaling used as input for the conversion. */ 204 205 /* Bits 1..0 : ADC resolution. */ 206 #define ADC_CONFIG_RES_Pos (0UL) /*!< Position of RES field. */ 207 #define ADC_CONFIG_RES_Msk (0x3UL << ADC_CONFIG_RES_Pos) /*!< Bit mask of RES field. */ 208 #define ADC_CONFIG_RES_8bit (0x00UL) /*!< 8bit ADC resolution. */ 209 #define ADC_CONFIG_RES_9bit (0x01UL) /*!< 9bit ADC resolution. */ 210 #define ADC_CONFIG_RES_10bit (0x02UL) /*!< 10bit ADC resolution. */ 211 212 /* Register: ADC_RESULT */ 213 /* Description: Result of ADC conversion. */ 214 215 /* Bits 9..0 : Result of ADC conversion. */ 216 #define ADC_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */ 217 #define ADC_RESULT_RESULT_Msk (0x3FFUL << ADC_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */ 218 219 /* Register: ADC_POWER */ 220 /* Description: Peripheral power control. */ 221 222 /* Bit 0 : Peripheral power control. */ 223 #define ADC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 224 #define ADC_POWER_POWER_Msk (0x1UL << ADC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 225 #define ADC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 226 #define ADC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 227 228 229 /* Peripheral: CCM */ 230 /* Description: AES CCM Mode Encryption. */ 231 232 /* Register: CCM_SHORTS */ 233 /* Description: Shortcuts for the CCM. */ 234 235 /* Bit 0 : Shortcut between ENDKSGEN event and CRYPT task. */ 236 #define CCM_SHORTS_ENDKSGEN_CRYPT_Pos (0UL) /*!< Position of ENDKSGEN_CRYPT field. */ 237 #define CCM_SHORTS_ENDKSGEN_CRYPT_Msk (0x1UL << CCM_SHORTS_ENDKSGEN_CRYPT_Pos) /*!< Bit mask of ENDKSGEN_CRYPT field. */ 238 #define CCM_SHORTS_ENDKSGEN_CRYPT_Disabled (0UL) /*!< Shortcut disabled. */ 239 #define CCM_SHORTS_ENDKSGEN_CRYPT_Enabled (1UL) /*!< Shortcut enabled. */ 240 241 /* Register: CCM_INTENSET */ 242 /* Description: Interrupt enable set register. */ 243 244 /* Bit 2 : Enable interrupt on ERROR event. */ 245 #define CCM_INTENSET_ERROR_Pos (2UL) /*!< Position of ERROR field. */ 246 #define CCM_INTENSET_ERROR_Msk (0x1UL << CCM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 247 #define CCM_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 248 #define CCM_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 249 #define CCM_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */ 250 251 /* Bit 1 : Enable interrupt on ENDCRYPT event. */ 252 #define CCM_INTENSET_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */ 253 #define CCM_INTENSET_ENDCRYPT_Msk (0x1UL << CCM_INTENSET_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */ 254 #define CCM_INTENSET_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */ 255 #define CCM_INTENSET_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */ 256 #define CCM_INTENSET_ENDCRYPT_Set (1UL) /*!< Enable interrupt on write. */ 257 258 /* Bit 0 : Enable interrupt on ENDKSGEN event. */ 259 #define CCM_INTENSET_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */ 260 #define CCM_INTENSET_ENDKSGEN_Msk (0x1UL << CCM_INTENSET_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */ 261 #define CCM_INTENSET_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */ 262 #define CCM_INTENSET_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */ 263 #define CCM_INTENSET_ENDKSGEN_Set (1UL) /*!< Enable interrupt on write. */ 264 265 /* Register: CCM_INTENCLR */ 266 /* Description: Interrupt enable clear register. */ 267 268 /* Bit 2 : Disable interrupt on ERROR event. */ 269 #define CCM_INTENCLR_ERROR_Pos (2UL) /*!< Position of ERROR field. */ 270 #define CCM_INTENCLR_ERROR_Msk (0x1UL << CCM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 271 #define CCM_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 272 #define CCM_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 273 #define CCM_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */ 274 275 /* Bit 1 : Disable interrupt on ENDCRYPT event. */ 276 #define CCM_INTENCLR_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */ 277 #define CCM_INTENCLR_ENDCRYPT_Msk (0x1UL << CCM_INTENCLR_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */ 278 #define CCM_INTENCLR_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */ 279 #define CCM_INTENCLR_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */ 280 #define CCM_INTENCLR_ENDCRYPT_Clear (1UL) /*!< Disable interrupt on write. */ 281 282 /* Bit 0 : Disable interrupt on ENDKSGEN event. */ 283 #define CCM_INTENCLR_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */ 284 #define CCM_INTENCLR_ENDKSGEN_Msk (0x1UL << CCM_INTENCLR_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */ 285 #define CCM_INTENCLR_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */ 286 #define CCM_INTENCLR_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */ 287 #define CCM_INTENCLR_ENDKSGEN_Clear (1UL) /*!< Disable interrupt on write. */ 288 289 /* Register: CCM_MICSTATUS */ 290 /* Description: CCM RX MIC check result. */ 291 292 /* Bit 0 : Result of the MIC check performed during the previous CCM RX STARTCRYPT */ 293 #define CCM_MICSTATUS_MICSTATUS_Pos (0UL) /*!< Position of MICSTATUS field. */ 294 #define CCM_MICSTATUS_MICSTATUS_Msk (0x1UL << CCM_MICSTATUS_MICSTATUS_Pos) /*!< Bit mask of MICSTATUS field. */ 295 #define CCM_MICSTATUS_MICSTATUS_CheckFailed (0UL) /*!< MIC check failed. */ 296 #define CCM_MICSTATUS_MICSTATUS_CheckPassed (1UL) /*!< MIC check passed. */ 297 298 /* Register: CCM_ENABLE */ 299 /* Description: CCM enable. */ 300 301 /* Bits 1..0 : CCM enable. */ 302 #define CCM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 303 #define CCM_ENABLE_ENABLE_Msk (0x3UL << CCM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 304 #define CCM_ENABLE_ENABLE_Disabled (0x00UL) /*!< CCM is disabled. */ 305 #define CCM_ENABLE_ENABLE_Enabled (0x02UL) /*!< CCM is enabled. */ 306 307 /* Register: CCM_MODE */ 308 /* Description: Operation mode. */ 309 310 /* Bit 0 : CCM mode operation. */ 311 #define CCM_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 312 #define CCM_MODE_MODE_Msk (0x1UL << CCM_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 313 #define CCM_MODE_MODE_Encryption (0UL) /*!< CCM mode TX */ 314 #define CCM_MODE_MODE_Decryption (1UL) /*!< CCM mode TX */ 315 316 /* Register: CCM_POWER */ 317 /* Description: Peripheral power control. */ 318 319 /* Bit 0 : Peripheral power control. */ 320 #define CCM_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 321 #define CCM_POWER_POWER_Msk (0x1UL << CCM_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 322 #define CCM_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 323 #define CCM_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 324 325 326 /* Peripheral: CLOCK */ 327 /* Description: Clock control. */ 328 329 /* Register: CLOCK_INTENSET */ 330 /* Description: Interrupt enable set register. */ 331 332 /* Bit 4 : Enable interrupt on CTTO event. */ 333 #define CLOCK_INTENSET_CTTO_Pos (4UL) /*!< Position of CTTO field. */ 334 #define CLOCK_INTENSET_CTTO_Msk (0x1UL << CLOCK_INTENSET_CTTO_Pos) /*!< Bit mask of CTTO field. */ 335 #define CLOCK_INTENSET_CTTO_Disabled (0UL) /*!< Interrupt disabled. */ 336 #define CLOCK_INTENSET_CTTO_Enabled (1UL) /*!< Interrupt enabled. */ 337 #define CLOCK_INTENSET_CTTO_Set (1UL) /*!< Enable interrupt on write. */ 338 339 /* Bit 3 : Enable interrupt on DONE event. */ 340 #define CLOCK_INTENSET_DONE_Pos (3UL) /*!< Position of DONE field. */ 341 #define CLOCK_INTENSET_DONE_Msk (0x1UL << CLOCK_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */ 342 #define CLOCK_INTENSET_DONE_Disabled (0UL) /*!< Interrupt disabled. */ 343 #define CLOCK_INTENSET_DONE_Enabled (1UL) /*!< Interrupt enabled. */ 344 #define CLOCK_INTENSET_DONE_Set (1UL) /*!< Enable interrupt on write. */ 345 346 /* Bit 1 : Enable interrupt on LFCLKSTARTED event. */ 347 #define CLOCK_INTENSET_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 348 #define CLOCK_INTENSET_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 349 #define CLOCK_INTENSET_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 350 #define CLOCK_INTENSET_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 351 #define CLOCK_INTENSET_LFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */ 352 353 /* Bit 0 : Enable interrupt on HFCLKSTARTED event. */ 354 #define CLOCK_INTENSET_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 355 #define CLOCK_INTENSET_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 356 #define CLOCK_INTENSET_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 357 #define CLOCK_INTENSET_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 358 #define CLOCK_INTENSET_HFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */ 359 360 /* Register: CLOCK_INTENCLR */ 361 /* Description: Interrupt enable clear register. */ 362 363 /* Bit 4 : Disable interrupt on CTTO event. */ 364 #define CLOCK_INTENCLR_CTTO_Pos (4UL) /*!< Position of CTTO field. */ 365 #define CLOCK_INTENCLR_CTTO_Msk (0x1UL << CLOCK_INTENCLR_CTTO_Pos) /*!< Bit mask of CTTO field. */ 366 #define CLOCK_INTENCLR_CTTO_Disabled (0UL) /*!< Interrupt disabled. */ 367 #define CLOCK_INTENCLR_CTTO_Enabled (1UL) /*!< Interrupt enabled. */ 368 #define CLOCK_INTENCLR_CTTO_Clear (1UL) /*!< Disable interrupt on write. */ 369 370 /* Bit 3 : Disable interrupt on DONE event. */ 371 #define CLOCK_INTENCLR_DONE_Pos (3UL) /*!< Position of DONE field. */ 372 #define CLOCK_INTENCLR_DONE_Msk (0x1UL << CLOCK_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */ 373 #define CLOCK_INTENCLR_DONE_Disabled (0UL) /*!< Interrupt disabled. */ 374 #define CLOCK_INTENCLR_DONE_Enabled (1UL) /*!< Interrupt enabled. */ 375 #define CLOCK_INTENCLR_DONE_Clear (1UL) /*!< Disable interrupt on write. */ 376 377 /* Bit 1 : Disable interrupt on LFCLKSTARTED event. */ 378 #define CLOCK_INTENCLR_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 379 #define CLOCK_INTENCLR_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 380 #define CLOCK_INTENCLR_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 381 #define CLOCK_INTENCLR_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 382 #define CLOCK_INTENCLR_LFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */ 383 384 /* Bit 0 : Disable interrupt on HFCLKSTARTED event. */ 385 #define CLOCK_INTENCLR_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 386 #define CLOCK_INTENCLR_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 387 #define CLOCK_INTENCLR_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 388 #define CLOCK_INTENCLR_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 389 #define CLOCK_INTENCLR_HFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */ 390 391 /* Register: CLOCK_HFCLKRUN */ 392 /* Description: Task HFCLKSTART trigger status. */ 393 394 /* Bit 0 : Task HFCLKSTART trigger status. */ 395 #define CLOCK_HFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 396 #define CLOCK_HFCLKRUN_STATUS_Msk (0x1UL << CLOCK_HFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 397 #define CLOCK_HFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task HFCLKSTART has not been triggered. */ 398 #define CLOCK_HFCLKRUN_STATUS_Triggered (1UL) /*!< Task HFCLKSTART has been triggered. */ 399 400 /* Register: CLOCK_HFCLKSTAT */ 401 /* Description: High frequency clock status. */ 402 403 /* Bit 16 : State for the HFCLK. */ 404 #define CLOCK_HFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 405 #define CLOCK_HFCLKSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 406 #define CLOCK_HFCLKSTAT_STATE_NotRunning (0UL) /*!< HFCLK clock not running. */ 407 #define CLOCK_HFCLKSTAT_STATE_Running (1UL) /*!< HFCLK clock running. */ 408 409 /* Bit 0 : Active clock source for the HF clock. */ 410 #define CLOCK_HFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */ 411 #define CLOCK_HFCLKSTAT_SRC_Msk (0x1UL << CLOCK_HFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */ 412 #define CLOCK_HFCLKSTAT_SRC_RC (0UL) /*!< Internal 16MHz RC oscillator running and generating the HFCLK clock. */ 413 #define CLOCK_HFCLKSTAT_SRC_Xtal (1UL) /*!< External 16MHz/32MHz crystal oscillator running and generating the HFCLK clock. */ 414 415 /* Register: CLOCK_LFCLKRUN */ 416 /* Description: Task LFCLKSTART triggered status. */ 417 418 /* Bit 0 : Task LFCLKSTART triggered status. */ 419 #define CLOCK_LFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 420 #define CLOCK_LFCLKRUN_STATUS_Msk (0x1UL << CLOCK_LFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 421 #define CLOCK_LFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task LFCLKSTART has not been triggered. */ 422 #define CLOCK_LFCLKRUN_STATUS_Triggered (1UL) /*!< Task LFCLKSTART has been triggered. */ 423 424 /* Register: CLOCK_LFCLKSTAT */ 425 /* Description: Low frequency clock status. */ 426 427 /* Bit 16 : State for the LF clock. */ 428 #define CLOCK_LFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 429 #define CLOCK_LFCLKSTAT_STATE_Msk (0x1UL << CLOCK_LFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 430 #define CLOCK_LFCLKSTAT_STATE_NotRunning (0UL) /*!< LFCLK clock not running. */ 431 #define CLOCK_LFCLKSTAT_STATE_Running (1UL) /*!< LFCLK clock running. */ 432 433 /* Bits 1..0 : Active clock source for the LF clock. */ 434 #define CLOCK_LFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */ 435 #define CLOCK_LFCLKSTAT_SRC_Msk (0x3UL << CLOCK_LFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */ 436 #define CLOCK_LFCLKSTAT_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator running and generating the LFCLK clock. */ 437 #define CLOCK_LFCLKSTAT_SRC_Xtal (1UL) /*!< External 32KiHz crystal oscillator running and generating the LFCLK clock. */ 438 #define CLOCK_LFCLKSTAT_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from the HFCLK running and generating the LFCLK clock. */ 439 440 /* Register: CLOCK_LFCLKSRCCOPY */ 441 /* Description: Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */ 442 443 /* Bits 1..0 : Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */ 444 #define CLOCK_LFCLKSRCCOPY_SRC_Pos (0UL) /*!< Position of SRC field. */ 445 #define CLOCK_LFCLKSRCCOPY_SRC_Msk (0x3UL << CLOCK_LFCLKSRCCOPY_SRC_Pos) /*!< Bit mask of SRC field. */ 446 #define CLOCK_LFCLKSRCCOPY_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */ 447 #define CLOCK_LFCLKSRCCOPY_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */ 448 #define CLOCK_LFCLKSRCCOPY_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */ 449 450 /* Register: CLOCK_LFCLKSRC */ 451 /* Description: Clock source for the LFCLK clock. */ 452 453 /* Bits 1..0 : Clock source. */ 454 #define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */ 455 #define CLOCK_LFCLKSRC_SRC_Msk (0x3UL << CLOCK_LFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */ 456 #define CLOCK_LFCLKSRC_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */ 457 #define CLOCK_LFCLKSRC_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */ 458 #define CLOCK_LFCLKSRC_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */ 459 460 /* Register: CLOCK_CTIV */ 461 /* Description: Calibration timer interval. */ 462 463 /* Bits 6..0 : Calibration timer interval in 0.25s resolution. */ 464 #define CLOCK_CTIV_CTIV_Pos (0UL) /*!< Position of CTIV field. */ 465 #define CLOCK_CTIV_CTIV_Msk (0x7FUL << CLOCK_CTIV_CTIV_Pos) /*!< Bit mask of CTIV field. */ 466 467 /* Register: CLOCK_XTALFREQ */ 468 /* Description: Crystal frequency. */ 469 470 /* Bits 7..0 : External Xtal frequency selection. */ 471 #define CLOCK_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */ 472 #define CLOCK_XTALFREQ_XTALFREQ_Msk (0xFFUL << CLOCK_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */ 473 #define CLOCK_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz xtal is used as source for the HFCLK oscillator. */ 474 #define CLOCK_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz xtal is used as source for the HFCLK oscillator. */ 475 476 477 /* Peripheral: ECB */ 478 /* Description: AES ECB Mode Encryption. */ 479 480 /* Register: ECB_INTENSET */ 481 /* Description: Interrupt enable set register. */ 482 483 /* Bit 1 : Enable interrupt on ERRORECB event. */ 484 #define ECB_INTENSET_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */ 485 #define ECB_INTENSET_ERRORECB_Msk (0x1UL << ECB_INTENSET_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */ 486 #define ECB_INTENSET_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */ 487 #define ECB_INTENSET_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */ 488 #define ECB_INTENSET_ERRORECB_Set (1UL) /*!< Enable interrupt on write. */ 489 490 /* Bit 0 : Enable interrupt on ENDECB event. */ 491 #define ECB_INTENSET_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */ 492 #define ECB_INTENSET_ENDECB_Msk (0x1UL << ECB_INTENSET_ENDECB_Pos) /*!< Bit mask of ENDECB field. */ 493 #define ECB_INTENSET_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */ 494 #define ECB_INTENSET_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */ 495 #define ECB_INTENSET_ENDECB_Set (1UL) /*!< Enable interrupt on write. */ 496 497 /* Register: ECB_INTENCLR */ 498 /* Description: Interrupt enable clear register. */ 499 500 /* Bit 1 : Disable interrupt on ERRORECB event. */ 501 #define ECB_INTENCLR_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */ 502 #define ECB_INTENCLR_ERRORECB_Msk (0x1UL << ECB_INTENCLR_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */ 503 #define ECB_INTENCLR_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */ 504 #define ECB_INTENCLR_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */ 505 #define ECB_INTENCLR_ERRORECB_Clear (1UL) /*!< Disable interrupt on write. */ 506 507 /* Bit 0 : Disable interrupt on ENDECB event. */ 508 #define ECB_INTENCLR_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */ 509 #define ECB_INTENCLR_ENDECB_Msk (0x1UL << ECB_INTENCLR_ENDECB_Pos) /*!< Bit mask of ENDECB field. */ 510 #define ECB_INTENCLR_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */ 511 #define ECB_INTENCLR_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */ 512 #define ECB_INTENCLR_ENDECB_Clear (1UL) /*!< Disable interrupt on write. */ 513 514 /* Register: ECB_POWER */ 515 /* Description: Peripheral power control. */ 516 517 /* Bit 0 : Peripheral power control. */ 518 #define ECB_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 519 #define ECB_POWER_POWER_Msk (0x1UL << ECB_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 520 #define ECB_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 521 #define ECB_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 522 523 524 /* Peripheral: FICR */ 525 /* Description: Factory Information Configuration. */ 526 527 /* Register: FICR_PPFC */ 528 /* Description: Pre-programmed factory code present. */ 529 530 /* Bits 7..0 : Pre-programmed factory code present. */ 531 #define FICR_PPFC_PPFC_Pos (0UL) /*!< Position of PPFC field. */ 532 #define FICR_PPFC_PPFC_Msk (0xFFUL << FICR_PPFC_PPFC_Pos) /*!< Bit mask of PPFC field. */ 533 #define FICR_PPFC_PPFC_Present (0x00UL) /*!< Present. */ 534 #define FICR_PPFC_PPFC_NotPresent (0xFFUL) /*!< Not present. */ 535 536 /* Register: FICR_CONFIGID */ 537 /* Description: Configuration identifier. */ 538 539 /* Bits 31..16 : Firmware Identification Number pre-loaded into the flash. */ 540 #define FICR_CONFIGID_FWID_Pos (16UL) /*!< Position of FWID field. */ 541 #define FICR_CONFIGID_FWID_Msk (0xFFFFUL << FICR_CONFIGID_FWID_Pos) /*!< Bit mask of FWID field. */ 542 543 /* Bits 15..0 : Hardware Identification Number. */ 544 #define FICR_CONFIGID_HWID_Pos (0UL) /*!< Position of HWID field. */ 545 #define FICR_CONFIGID_HWID_Msk (0xFFFFUL << FICR_CONFIGID_HWID_Pos) /*!< Bit mask of HWID field. */ 546 547 /* Register: FICR_DEVICEADDRTYPE */ 548 /* Description: Device address type. */ 549 550 /* Bit 0 : Device address type. */ 551 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos (0UL) /*!< Position of DEVICEADDRTYPE field. */ 552 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Msk (0x1UL << FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos) /*!< Bit mask of DEVICEADDRTYPE field. */ 553 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Public (0UL) /*!< Public address. */ 554 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Random (1UL) /*!< Random address. */ 555 556 /* Register: FICR_OVERRIDEEN */ 557 /* Description: Radio calibration override enable. */ 558 559 /* Bit 3 : Override default values for BLE_1Mbit mode. */ 560 #define FICR_OVERRIDEEN_BLE_1MBIT_Pos (3UL) /*!< Position of BLE_1MBIT field. */ 561 #define FICR_OVERRIDEEN_BLE_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_BLE_1MBIT_Pos) /*!< Bit mask of BLE_1MBIT field. */ 562 #define FICR_OVERRIDEEN_BLE_1MBIT_Override (0UL) /*!< Override the default values for BLE_1Mbit mode. */ 563 #define FICR_OVERRIDEEN_BLE_1MBIT_NotOverride (1UL) /*!< Do not override the default values for BLE_1Mbit mode. */ 564 565 /* Bit 0 : Override default values for NRF_1Mbit mode. */ 566 #define FICR_OVERRIDEEN_NRF_1MBIT_Pos (0UL) /*!< Position of NRF_1MBIT field. */ 567 #define FICR_OVERRIDEEN_NRF_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_NRF_1MBIT_Pos) /*!< Bit mask of NRF_1MBIT field. */ 568 #define FICR_OVERRIDEEN_NRF_1MBIT_Override (0UL) /*!< Override the default values for NRF_1Mbit mode. */ 569 #define FICR_OVERRIDEEN_NRF_1MBIT_NotOverride (1UL) /*!< Do not override the default values for NRF_1Mbit mode. */ 570 571 572 /* Peripheral: GPIO */ 573 /* Description: General purpose input and output. */ 574 575 /* Register: GPIO_OUT */ 576 /* Description: Write GPIO port. */ 577 578 /* Bit 31 : Pin 31. */ 579 #define GPIO_OUT_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 580 #define GPIO_OUT_PIN31_Msk (0x1UL << GPIO_OUT_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 581 #define GPIO_OUT_PIN31_Low (0UL) /*!< Pin driver is low. */ 582 #define GPIO_OUT_PIN31_High (1UL) /*!< Pin driver is high. */ 583 584 /* Bit 30 : Pin 30. */ 585 #define GPIO_OUT_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 586 #define GPIO_OUT_PIN30_Msk (0x1UL << GPIO_OUT_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 587 #define GPIO_OUT_PIN30_Low (0UL) /*!< Pin driver is low. */ 588 #define GPIO_OUT_PIN30_High (1UL) /*!< Pin driver is high. */ 589 590 /* Bit 29 : Pin 29. */ 591 #define GPIO_OUT_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 592 #define GPIO_OUT_PIN29_Msk (0x1UL << GPIO_OUT_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 593 #define GPIO_OUT_PIN29_Low (0UL) /*!< Pin driver is low. */ 594 #define GPIO_OUT_PIN29_High (1UL) /*!< Pin driver is high. */ 595 596 /* Bit 28 : Pin 28. */ 597 #define GPIO_OUT_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 598 #define GPIO_OUT_PIN28_Msk (0x1UL << GPIO_OUT_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 599 #define GPIO_OUT_PIN28_Low (0UL) /*!< Pin driver is low. */ 600 #define GPIO_OUT_PIN28_High (1UL) /*!< Pin driver is high. */ 601 602 /* Bit 27 : Pin 27. */ 603 #define GPIO_OUT_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 604 #define GPIO_OUT_PIN27_Msk (0x1UL << GPIO_OUT_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 605 #define GPIO_OUT_PIN27_Low (0UL) /*!< Pin driver is low. */ 606 #define GPIO_OUT_PIN27_High (1UL) /*!< Pin driver is high. */ 607 608 /* Bit 26 : Pin 26. */ 609 #define GPIO_OUT_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 610 #define GPIO_OUT_PIN26_Msk (0x1UL << GPIO_OUT_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 611 #define GPIO_OUT_PIN26_Low (0UL) /*!< Pin driver is low. */ 612 #define GPIO_OUT_PIN26_High (1UL) /*!< Pin driver is high. */ 613 614 /* Bit 25 : Pin 25. */ 615 #define GPIO_OUT_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 616 #define GPIO_OUT_PIN25_Msk (0x1UL << GPIO_OUT_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 617 #define GPIO_OUT_PIN25_Low (0UL) /*!< Pin driver is low. */ 618 #define GPIO_OUT_PIN25_High (1UL) /*!< Pin driver is high. */ 619 620 /* Bit 24 : Pin 24. */ 621 #define GPIO_OUT_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 622 #define GPIO_OUT_PIN24_Msk (0x1UL << GPIO_OUT_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 623 #define GPIO_OUT_PIN24_Low (0UL) /*!< Pin driver is low. */ 624 #define GPIO_OUT_PIN24_High (1UL) /*!< Pin driver is high. */ 625 626 /* Bit 23 : Pin 23. */ 627 #define GPIO_OUT_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 628 #define GPIO_OUT_PIN23_Msk (0x1UL << GPIO_OUT_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 629 #define GPIO_OUT_PIN23_Low (0UL) /*!< Pin driver is low. */ 630 #define GPIO_OUT_PIN23_High (1UL) /*!< Pin driver is high. */ 631 632 /* Bit 22 : Pin 22. */ 633 #define GPIO_OUT_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 634 #define GPIO_OUT_PIN22_Msk (0x1UL << GPIO_OUT_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 635 #define GPIO_OUT_PIN22_Low (0UL) /*!< Pin driver is low. */ 636 #define GPIO_OUT_PIN22_High (1UL) /*!< Pin driver is high. */ 637 638 /* Bit 21 : Pin 21. */ 639 #define GPIO_OUT_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 640 #define GPIO_OUT_PIN21_Msk (0x1UL << GPIO_OUT_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 641 #define GPIO_OUT_PIN21_Low (0UL) /*!< Pin driver is low. */ 642 #define GPIO_OUT_PIN21_High (1UL) /*!< Pin driver is high. */ 643 644 /* Bit 20 : Pin 20. */ 645 #define GPIO_OUT_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 646 #define GPIO_OUT_PIN20_Msk (0x1UL << GPIO_OUT_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 647 #define GPIO_OUT_PIN20_Low (0UL) /*!< Pin driver is low. */ 648 #define GPIO_OUT_PIN20_High (1UL) /*!< Pin driver is high. */ 649 650 /* Bit 19 : Pin 19. */ 651 #define GPIO_OUT_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 652 #define GPIO_OUT_PIN19_Msk (0x1UL << GPIO_OUT_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 653 #define GPIO_OUT_PIN19_Low (0UL) /*!< Pin driver is low. */ 654 #define GPIO_OUT_PIN19_High (1UL) /*!< Pin driver is high. */ 655 656 /* Bit 18 : Pin 18. */ 657 #define GPIO_OUT_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 658 #define GPIO_OUT_PIN18_Msk (0x1UL << GPIO_OUT_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 659 #define GPIO_OUT_PIN18_Low (0UL) /*!< Pin driver is low. */ 660 #define GPIO_OUT_PIN18_High (1UL) /*!< Pin driver is high. */ 661 662 /* Bit 17 : Pin 17. */ 663 #define GPIO_OUT_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 664 #define GPIO_OUT_PIN17_Msk (0x1UL << GPIO_OUT_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 665 #define GPIO_OUT_PIN17_Low (0UL) /*!< Pin driver is low. */ 666 #define GPIO_OUT_PIN17_High (1UL) /*!< Pin driver is high. */ 667 668 /* Bit 16 : Pin 16. */ 669 #define GPIO_OUT_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 670 #define GPIO_OUT_PIN16_Msk (0x1UL << GPIO_OUT_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 671 #define GPIO_OUT_PIN16_Low (0UL) /*!< Pin driver is low. */ 672 #define GPIO_OUT_PIN16_High (1UL) /*!< Pin driver is high. */ 673 674 /* Bit 15 : Pin 15. */ 675 #define GPIO_OUT_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 676 #define GPIO_OUT_PIN15_Msk (0x1UL << GPIO_OUT_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 677 #define GPIO_OUT_PIN15_Low (0UL) /*!< Pin driver is low. */ 678 #define GPIO_OUT_PIN15_High (1UL) /*!< Pin driver is high. */ 679 680 /* Bit 14 : Pin 14. */ 681 #define GPIO_OUT_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 682 #define GPIO_OUT_PIN14_Msk (0x1UL << GPIO_OUT_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 683 #define GPIO_OUT_PIN14_Low (0UL) /*!< Pin driver is low. */ 684 #define GPIO_OUT_PIN14_High (1UL) /*!< Pin driver is high. */ 685 686 /* Bit 13 : Pin 13. */ 687 #define GPIO_OUT_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 688 #define GPIO_OUT_PIN13_Msk (0x1UL << GPIO_OUT_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 689 #define GPIO_OUT_PIN13_Low (0UL) /*!< Pin driver is low. */ 690 #define GPIO_OUT_PIN13_High (1UL) /*!< Pin driver is high. */ 691 692 /* Bit 12 : Pin 12. */ 693 #define GPIO_OUT_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 694 #define GPIO_OUT_PIN12_Msk (0x1UL << GPIO_OUT_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 695 #define GPIO_OUT_PIN12_Low (0UL) /*!< Pin driver is low. */ 696 #define GPIO_OUT_PIN12_High (1UL) /*!< Pin driver is high. */ 697 698 /* Bit 11 : Pin 11. */ 699 #define GPIO_OUT_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 700 #define GPIO_OUT_PIN11_Msk (0x1UL << GPIO_OUT_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 701 #define GPIO_OUT_PIN11_Low (0UL) /*!< Pin driver is low. */ 702 #define GPIO_OUT_PIN11_High (1UL) /*!< Pin driver is high. */ 703 704 /* Bit 10 : Pin 10. */ 705 #define GPIO_OUT_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 706 #define GPIO_OUT_PIN10_Msk (0x1UL << GPIO_OUT_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 707 #define GPIO_OUT_PIN10_Low (0UL) /*!< Pin driver is low. */ 708 #define GPIO_OUT_PIN10_High (1UL) /*!< Pin driver is high. */ 709 710 /* Bit 9 : Pin 9. */ 711 #define GPIO_OUT_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 712 #define GPIO_OUT_PIN9_Msk (0x1UL << GPIO_OUT_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 713 #define GPIO_OUT_PIN9_Low (0UL) /*!< Pin driver is low. */ 714 #define GPIO_OUT_PIN9_High (1UL) /*!< Pin driver is high. */ 715 716 /* Bit 8 : Pin 8. */ 717 #define GPIO_OUT_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 718 #define GPIO_OUT_PIN8_Msk (0x1UL << GPIO_OUT_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 719 #define GPIO_OUT_PIN8_Low (0UL) /*!< Pin driver is low. */ 720 #define GPIO_OUT_PIN8_High (1UL) /*!< Pin driver is high. */ 721 722 /* Bit 7 : Pin 7. */ 723 #define GPIO_OUT_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 724 #define GPIO_OUT_PIN7_Msk (0x1UL << GPIO_OUT_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 725 #define GPIO_OUT_PIN7_Low (0UL) /*!< Pin driver is low. */ 726 #define GPIO_OUT_PIN7_High (1UL) /*!< Pin driver is high. */ 727 728 /* Bit 6 : Pin 6. */ 729 #define GPIO_OUT_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 730 #define GPIO_OUT_PIN6_Msk (0x1UL << GPIO_OUT_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 731 #define GPIO_OUT_PIN6_Low (0UL) /*!< Pin driver is low. */ 732 #define GPIO_OUT_PIN6_High (1UL) /*!< Pin driver is high. */ 733 734 /* Bit 5 : Pin 5. */ 735 #define GPIO_OUT_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 736 #define GPIO_OUT_PIN5_Msk (0x1UL << GPIO_OUT_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 737 #define GPIO_OUT_PIN5_Low (0UL) /*!< Pin driver is low. */ 738 #define GPIO_OUT_PIN5_High (1UL) /*!< Pin driver is high. */ 739 740 /* Bit 4 : Pin 4. */ 741 #define GPIO_OUT_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 742 #define GPIO_OUT_PIN4_Msk (0x1UL << GPIO_OUT_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 743 #define GPIO_OUT_PIN4_Low (0UL) /*!< Pin driver is low. */ 744 #define GPIO_OUT_PIN4_High (1UL) /*!< Pin driver is high. */ 745 746 /* Bit 3 : Pin 3. */ 747 #define GPIO_OUT_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 748 #define GPIO_OUT_PIN3_Msk (0x1UL << GPIO_OUT_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 749 #define GPIO_OUT_PIN3_Low (0UL) /*!< Pin driver is low. */ 750 #define GPIO_OUT_PIN3_High (1UL) /*!< Pin driver is high. */ 751 752 /* Bit 2 : Pin 2. */ 753 #define GPIO_OUT_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 754 #define GPIO_OUT_PIN2_Msk (0x1UL << GPIO_OUT_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 755 #define GPIO_OUT_PIN2_Low (0UL) /*!< Pin driver is low. */ 756 #define GPIO_OUT_PIN2_High (1UL) /*!< Pin driver is high. */ 757 758 /* Bit 1 : Pin 1. */ 759 #define GPIO_OUT_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 760 #define GPIO_OUT_PIN1_Msk (0x1UL << GPIO_OUT_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 761 #define GPIO_OUT_PIN1_Low (0UL) /*!< Pin driver is low. */ 762 #define GPIO_OUT_PIN1_High (1UL) /*!< Pin driver is high. */ 763 764 /* Bit 0 : Pin 0. */ 765 #define GPIO_OUT_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 766 #define GPIO_OUT_PIN0_Msk (0x1UL << GPIO_OUT_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 767 #define GPIO_OUT_PIN0_Low (0UL) /*!< Pin driver is low. */ 768 #define GPIO_OUT_PIN0_High (1UL) /*!< Pin driver is high. */ 769 770 /* Register: GPIO_OUTSET */ 771 /* Description: Set individual bits in GPIO port. */ 772 773 /* Bit 31 : Pin 31. */ 774 #define GPIO_OUTSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 775 #define GPIO_OUTSET_PIN31_Msk (0x1UL << GPIO_OUTSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 776 #define GPIO_OUTSET_PIN31_Low (0UL) /*!< Pin driver is low. */ 777 #define GPIO_OUTSET_PIN31_High (1UL) /*!< Pin driver is high. */ 778 #define GPIO_OUTSET_PIN31_Set (1UL) /*!< Set pin driver high. */ 779 780 /* Bit 30 : Pin 30. */ 781 #define GPIO_OUTSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 782 #define GPIO_OUTSET_PIN30_Msk (0x1UL << GPIO_OUTSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 783 #define GPIO_OUTSET_PIN30_Low (0UL) /*!< Pin driver is low. */ 784 #define GPIO_OUTSET_PIN30_High (1UL) /*!< Pin driver is high. */ 785 #define GPIO_OUTSET_PIN30_Set (1UL) /*!< Set pin driver high. */ 786 787 /* Bit 29 : Pin 29. */ 788 #define GPIO_OUTSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 789 #define GPIO_OUTSET_PIN29_Msk (0x1UL << GPIO_OUTSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 790 #define GPIO_OUTSET_PIN29_Low (0UL) /*!< Pin driver is low. */ 791 #define GPIO_OUTSET_PIN29_High (1UL) /*!< Pin driver is high. */ 792 #define GPIO_OUTSET_PIN29_Set (1UL) /*!< Set pin driver high. */ 793 794 /* Bit 28 : Pin 28. */ 795 #define GPIO_OUTSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 796 #define GPIO_OUTSET_PIN28_Msk (0x1UL << GPIO_OUTSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 797 #define GPIO_OUTSET_PIN28_Low (0UL) /*!< Pin driver is low. */ 798 #define GPIO_OUTSET_PIN28_High (1UL) /*!< Pin driver is high. */ 799 #define GPIO_OUTSET_PIN28_Set (1UL) /*!< Set pin driver high. */ 800 801 /* Bit 27 : Pin 27. */ 802 #define GPIO_OUTSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 803 #define GPIO_OUTSET_PIN27_Msk (0x1UL << GPIO_OUTSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 804 #define GPIO_OUTSET_PIN27_Low (0UL) /*!< Pin driver is low. */ 805 #define GPIO_OUTSET_PIN27_High (1UL) /*!< Pin driver is high. */ 806 #define GPIO_OUTSET_PIN27_Set (1UL) /*!< Set pin driver high. */ 807 808 /* Bit 26 : Pin 26. */ 809 #define GPIO_OUTSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 810 #define GPIO_OUTSET_PIN26_Msk (0x1UL << GPIO_OUTSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 811 #define GPIO_OUTSET_PIN26_Low (0UL) /*!< Pin driver is low. */ 812 #define GPIO_OUTSET_PIN26_High (1UL) /*!< Pin driver is high. */ 813 #define GPIO_OUTSET_PIN26_Set (1UL) /*!< Set pin driver high. */ 814 815 /* Bit 25 : Pin 25. */ 816 #define GPIO_OUTSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 817 #define GPIO_OUTSET_PIN25_Msk (0x1UL << GPIO_OUTSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 818 #define GPIO_OUTSET_PIN25_Low (0UL) /*!< Pin driver is low. */ 819 #define GPIO_OUTSET_PIN25_High (1UL) /*!< Pin driver is high. */ 820 #define GPIO_OUTSET_PIN25_Set (1UL) /*!< Set pin driver high. */ 821 822 /* Bit 24 : Pin 24. */ 823 #define GPIO_OUTSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 824 #define GPIO_OUTSET_PIN24_Msk (0x1UL << GPIO_OUTSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 825 #define GPIO_OUTSET_PIN24_Low (0UL) /*!< Pin driver is low. */ 826 #define GPIO_OUTSET_PIN24_High (1UL) /*!< Pin driver is high. */ 827 #define GPIO_OUTSET_PIN24_Set (1UL) /*!< Set pin driver high. */ 828 829 /* Bit 23 : Pin 23. */ 830 #define GPIO_OUTSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 831 #define GPIO_OUTSET_PIN23_Msk (0x1UL << GPIO_OUTSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 832 #define GPIO_OUTSET_PIN23_Low (0UL) /*!< Pin driver is low. */ 833 #define GPIO_OUTSET_PIN23_High (1UL) /*!< Pin driver is high. */ 834 #define GPIO_OUTSET_PIN23_Set (1UL) /*!< Set pin driver high. */ 835 836 /* Bit 22 : Pin 22. */ 837 #define GPIO_OUTSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 838 #define GPIO_OUTSET_PIN22_Msk (0x1UL << GPIO_OUTSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 839 #define GPIO_OUTSET_PIN22_Low (0UL) /*!< Pin driver is low. */ 840 #define GPIO_OUTSET_PIN22_High (1UL) /*!< Pin driver is high. */ 841 #define GPIO_OUTSET_PIN22_Set (1UL) /*!< Set pin driver high. */ 842 843 /* Bit 21 : Pin 21. */ 844 #define GPIO_OUTSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 845 #define GPIO_OUTSET_PIN21_Msk (0x1UL << GPIO_OUTSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 846 #define GPIO_OUTSET_PIN21_Low (0UL) /*!< Pin driver is low. */ 847 #define GPIO_OUTSET_PIN21_High (1UL) /*!< Pin driver is high. */ 848 #define GPIO_OUTSET_PIN21_Set (1UL) /*!< Set pin driver high. */ 849 850 /* Bit 20 : Pin 20. */ 851 #define GPIO_OUTSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 852 #define GPIO_OUTSET_PIN20_Msk (0x1UL << GPIO_OUTSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 853 #define GPIO_OUTSET_PIN20_Low (0UL) /*!< Pin driver is low. */ 854 #define GPIO_OUTSET_PIN20_High (1UL) /*!< Pin driver is high. */ 855 #define GPIO_OUTSET_PIN20_Set (1UL) /*!< Set pin driver high. */ 856 857 /* Bit 19 : Pin 19. */ 858 #define GPIO_OUTSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 859 #define GPIO_OUTSET_PIN19_Msk (0x1UL << GPIO_OUTSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 860 #define GPIO_OUTSET_PIN19_Low (0UL) /*!< Pin driver is low. */ 861 #define GPIO_OUTSET_PIN19_High (1UL) /*!< Pin driver is high. */ 862 #define GPIO_OUTSET_PIN19_Set (1UL) /*!< Set pin driver high. */ 863 864 /* Bit 18 : Pin 18. */ 865 #define GPIO_OUTSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 866 #define GPIO_OUTSET_PIN18_Msk (0x1UL << GPIO_OUTSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 867 #define GPIO_OUTSET_PIN18_Low (0UL) /*!< Pin driver is low. */ 868 #define GPIO_OUTSET_PIN18_High (1UL) /*!< Pin driver is high. */ 869 #define GPIO_OUTSET_PIN18_Set (1UL) /*!< Set pin driver high. */ 870 871 /* Bit 17 : Pin 17. */ 872 #define GPIO_OUTSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 873 #define GPIO_OUTSET_PIN17_Msk (0x1UL << GPIO_OUTSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 874 #define GPIO_OUTSET_PIN17_Low (0UL) /*!< Pin driver is low. */ 875 #define GPIO_OUTSET_PIN17_High (1UL) /*!< Pin driver is high. */ 876 #define GPIO_OUTSET_PIN17_Set (1UL) /*!< Set pin driver high. */ 877 878 /* Bit 16 : Pin 16. */ 879 #define GPIO_OUTSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 880 #define GPIO_OUTSET_PIN16_Msk (0x1UL << GPIO_OUTSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 881 #define GPIO_OUTSET_PIN16_Low (0UL) /*!< Pin driver is low. */ 882 #define GPIO_OUTSET_PIN16_High (1UL) /*!< Pin driver is high. */ 883 #define GPIO_OUTSET_PIN16_Set (1UL) /*!< Set pin driver high. */ 884 885 /* Bit 15 : Pin 15. */ 886 #define GPIO_OUTSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 887 #define GPIO_OUTSET_PIN15_Msk (0x1UL << GPIO_OUTSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 888 #define GPIO_OUTSET_PIN15_Low (0UL) /*!< Pin driver is low. */ 889 #define GPIO_OUTSET_PIN15_High (1UL) /*!< Pin driver is high. */ 890 #define GPIO_OUTSET_PIN15_Set (1UL) /*!< Set pin driver high. */ 891 892 /* Bit 14 : Pin 14. */ 893 #define GPIO_OUTSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 894 #define GPIO_OUTSET_PIN14_Msk (0x1UL << GPIO_OUTSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 895 #define GPIO_OUTSET_PIN14_Low (0UL) /*!< Pin driver is low. */ 896 #define GPIO_OUTSET_PIN14_High (1UL) /*!< Pin driver is high. */ 897 #define GPIO_OUTSET_PIN14_Set (1UL) /*!< Set pin driver high. */ 898 899 /* Bit 13 : Pin 13. */ 900 #define GPIO_OUTSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 901 #define GPIO_OUTSET_PIN13_Msk (0x1UL << GPIO_OUTSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 902 #define GPIO_OUTSET_PIN13_Low (0UL) /*!< Pin driver is low. */ 903 #define GPIO_OUTSET_PIN13_High (1UL) /*!< Pin driver is high. */ 904 #define GPIO_OUTSET_PIN13_Set (1UL) /*!< Set pin driver high. */ 905 906 /* Bit 12 : Pin 12. */ 907 #define GPIO_OUTSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 908 #define GPIO_OUTSET_PIN12_Msk (0x1UL << GPIO_OUTSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 909 #define GPIO_OUTSET_PIN12_Low (0UL) /*!< Pin driver is low. */ 910 #define GPIO_OUTSET_PIN12_High (1UL) /*!< Pin driver is high. */ 911 #define GPIO_OUTSET_PIN12_Set (1UL) /*!< Set pin driver high. */ 912 913 /* Bit 11 : Pin 11. */ 914 #define GPIO_OUTSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 915 #define GPIO_OUTSET_PIN11_Msk (0x1UL << GPIO_OUTSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 916 #define GPIO_OUTSET_PIN11_Low (0UL) /*!< Pin driver is low. */ 917 #define GPIO_OUTSET_PIN11_High (1UL) /*!< Pin driver is high. */ 918 #define GPIO_OUTSET_PIN11_Set (1UL) /*!< Set pin driver high. */ 919 920 /* Bit 10 : Pin 10. */ 921 #define GPIO_OUTSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 922 #define GPIO_OUTSET_PIN10_Msk (0x1UL << GPIO_OUTSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 923 #define GPIO_OUTSET_PIN10_Low (0UL) /*!< Pin driver is low. */ 924 #define GPIO_OUTSET_PIN10_High (1UL) /*!< Pin driver is high. */ 925 #define GPIO_OUTSET_PIN10_Set (1UL) /*!< Set pin driver high. */ 926 927 /* Bit 9 : Pin 9. */ 928 #define GPIO_OUTSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 929 #define GPIO_OUTSET_PIN9_Msk (0x1UL << GPIO_OUTSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 930 #define GPIO_OUTSET_PIN9_Low (0UL) /*!< Pin driver is low. */ 931 #define GPIO_OUTSET_PIN9_High (1UL) /*!< Pin driver is high. */ 932 #define GPIO_OUTSET_PIN9_Set (1UL) /*!< Set pin driver high. */ 933 934 /* Bit 8 : Pin 8. */ 935 #define GPIO_OUTSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 936 #define GPIO_OUTSET_PIN8_Msk (0x1UL << GPIO_OUTSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 937 #define GPIO_OUTSET_PIN8_Low (0UL) /*!< Pin driver is low. */ 938 #define GPIO_OUTSET_PIN8_High (1UL) /*!< Pin driver is high. */ 939 #define GPIO_OUTSET_PIN8_Set (1UL) /*!< Set pin driver high. */ 940 941 /* Bit 7 : Pin 7. */ 942 #define GPIO_OUTSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 943 #define GPIO_OUTSET_PIN7_Msk (0x1UL << GPIO_OUTSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 944 #define GPIO_OUTSET_PIN7_Low (0UL) /*!< Pin driver is low. */ 945 #define GPIO_OUTSET_PIN7_High (1UL) /*!< Pin driver is high. */ 946 #define GPIO_OUTSET_PIN7_Set (1UL) /*!< Set pin driver high. */ 947 948 /* Bit 6 : Pin 6. */ 949 #define GPIO_OUTSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 950 #define GPIO_OUTSET_PIN6_Msk (0x1UL << GPIO_OUTSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 951 #define GPIO_OUTSET_PIN6_Low (0UL) /*!< Pin driver is low. */ 952 #define GPIO_OUTSET_PIN6_High (1UL) /*!< Pin driver is high. */ 953 #define GPIO_OUTSET_PIN6_Set (1UL) /*!< Set pin driver high. */ 954 955 /* Bit 5 : Pin 5. */ 956 #define GPIO_OUTSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 957 #define GPIO_OUTSET_PIN5_Msk (0x1UL << GPIO_OUTSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 958 #define GPIO_OUTSET_PIN5_Low (0UL) /*!< Pin driver is low. */ 959 #define GPIO_OUTSET_PIN5_High (1UL) /*!< Pin driver is high. */ 960 #define GPIO_OUTSET_PIN5_Set (1UL) /*!< Set pin driver high. */ 961 962 /* Bit 4 : Pin 4. */ 963 #define GPIO_OUTSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 964 #define GPIO_OUTSET_PIN4_Msk (0x1UL << GPIO_OUTSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 965 #define GPIO_OUTSET_PIN4_Low (0UL) /*!< Pin driver is low. */ 966 #define GPIO_OUTSET_PIN4_High (1UL) /*!< Pin driver is high. */ 967 #define GPIO_OUTSET_PIN4_Set (1UL) /*!< Set pin driver high. */ 968 969 /* Bit 3 : Pin 3. */ 970 #define GPIO_OUTSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 971 #define GPIO_OUTSET_PIN3_Msk (0x1UL << GPIO_OUTSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 972 #define GPIO_OUTSET_PIN3_Low (0UL) /*!< Pin driver is low. */ 973 #define GPIO_OUTSET_PIN3_High (1UL) /*!< Pin driver is high. */ 974 #define GPIO_OUTSET_PIN3_Set (1UL) /*!< Set pin driver high. */ 975 976 /* Bit 2 : Pin 2. */ 977 #define GPIO_OUTSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 978 #define GPIO_OUTSET_PIN2_Msk (0x1UL << GPIO_OUTSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 979 #define GPIO_OUTSET_PIN2_Low (0UL) /*!< Pin driver is low. */ 980 #define GPIO_OUTSET_PIN2_High (1UL) /*!< Pin driver is high. */ 981 #define GPIO_OUTSET_PIN2_Set (1UL) /*!< Set pin driver high. */ 982 983 /* Bit 1 : Pin 1. */ 984 #define GPIO_OUTSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 985 #define GPIO_OUTSET_PIN1_Msk (0x1UL << GPIO_OUTSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 986 #define GPIO_OUTSET_PIN1_Low (0UL) /*!< Pin driver is low. */ 987 #define GPIO_OUTSET_PIN1_High (1UL) /*!< Pin driver is high. */ 988 #define GPIO_OUTSET_PIN1_Set (1UL) /*!< Set pin driver high. */ 989 990 /* Bit 0 : Pin 0. */ 991 #define GPIO_OUTSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 992 #define GPIO_OUTSET_PIN0_Msk (0x1UL << GPIO_OUTSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 993 #define GPIO_OUTSET_PIN0_Low (0UL) /*!< Pin driver is low. */ 994 #define GPIO_OUTSET_PIN0_High (1UL) /*!< Pin driver is high. */ 995 #define GPIO_OUTSET_PIN0_Set (1UL) /*!< Set pin driver high. */ 996 997 /* Register: GPIO_OUTCLR */ 998 /* Description: Clear individual bits in GPIO port. */ 999 1000 /* Bit 31 : Pin 31. */ 1001 #define GPIO_OUTCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 1002 #define GPIO_OUTCLR_PIN31_Msk (0x1UL << GPIO_OUTCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 1003 #define GPIO_OUTCLR_PIN31_Low (0UL) /*!< Pin driver is low. */ 1004 #define GPIO_OUTCLR_PIN31_High (1UL) /*!< Pin driver is high. */ 1005 #define GPIO_OUTCLR_PIN31_Clear (1UL) /*!< Set pin driver low. */ 1006 1007 /* Bit 30 : Pin 30. */ 1008 #define GPIO_OUTCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 1009 #define GPIO_OUTCLR_PIN30_Msk (0x1UL << GPIO_OUTCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 1010 #define GPIO_OUTCLR_PIN30_Low (0UL) /*!< Pin driver is low. */ 1011 #define GPIO_OUTCLR_PIN30_High (1UL) /*!< Pin driver is high. */ 1012 #define GPIO_OUTCLR_PIN30_Clear (1UL) /*!< Set pin driver low. */ 1013 1014 /* Bit 29 : Pin 29. */ 1015 #define GPIO_OUTCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 1016 #define GPIO_OUTCLR_PIN29_Msk (0x1UL << GPIO_OUTCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 1017 #define GPIO_OUTCLR_PIN29_Low (0UL) /*!< Pin driver is low. */ 1018 #define GPIO_OUTCLR_PIN29_High (1UL) /*!< Pin driver is high. */ 1019 #define GPIO_OUTCLR_PIN29_Clear (1UL) /*!< Set pin driver low. */ 1020 1021 /* Bit 28 : Pin 28. */ 1022 #define GPIO_OUTCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 1023 #define GPIO_OUTCLR_PIN28_Msk (0x1UL << GPIO_OUTCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 1024 #define GPIO_OUTCLR_PIN28_Low (0UL) /*!< Pin driver is low. */ 1025 #define GPIO_OUTCLR_PIN28_High (1UL) /*!< Pin driver is high. */ 1026 #define GPIO_OUTCLR_PIN28_Clear (1UL) /*!< Set pin driver low. */ 1027 1028 /* Bit 27 : Pin 27. */ 1029 #define GPIO_OUTCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 1030 #define GPIO_OUTCLR_PIN27_Msk (0x1UL << GPIO_OUTCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 1031 #define GPIO_OUTCLR_PIN27_Low (0UL) /*!< Pin driver is low. */ 1032 #define GPIO_OUTCLR_PIN27_High (1UL) /*!< Pin driver is high. */ 1033 #define GPIO_OUTCLR_PIN27_Clear (1UL) /*!< Set pin driver low. */ 1034 1035 /* Bit 26 : Pin 26. */ 1036 #define GPIO_OUTCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 1037 #define GPIO_OUTCLR_PIN26_Msk (0x1UL << GPIO_OUTCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 1038 #define GPIO_OUTCLR_PIN26_Low (0UL) /*!< Pin driver is low. */ 1039 #define GPIO_OUTCLR_PIN26_High (1UL) /*!< Pin driver is high. */ 1040 #define GPIO_OUTCLR_PIN26_Clear (1UL) /*!< Set pin driver low. */ 1041 1042 /* Bit 25 : Pin 25. */ 1043 #define GPIO_OUTCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 1044 #define GPIO_OUTCLR_PIN25_Msk (0x1UL << GPIO_OUTCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 1045 #define GPIO_OUTCLR_PIN25_Low (0UL) /*!< Pin driver is low. */ 1046 #define GPIO_OUTCLR_PIN25_High (1UL) /*!< Pin driver is high. */ 1047 #define GPIO_OUTCLR_PIN25_Clear (1UL) /*!< Set pin driver low. */ 1048 1049 /* Bit 24 : Pin 24. */ 1050 #define GPIO_OUTCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 1051 #define GPIO_OUTCLR_PIN24_Msk (0x1UL << GPIO_OUTCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 1052 #define GPIO_OUTCLR_PIN24_Low (0UL) /*!< Pin driver is low. */ 1053 #define GPIO_OUTCLR_PIN24_High (1UL) /*!< Pin driver is high. */ 1054 #define GPIO_OUTCLR_PIN24_Clear (1UL) /*!< Set pin driver low. */ 1055 1056 /* Bit 23 : Pin 23. */ 1057 #define GPIO_OUTCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 1058 #define GPIO_OUTCLR_PIN23_Msk (0x1UL << GPIO_OUTCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 1059 #define GPIO_OUTCLR_PIN23_Low (0UL) /*!< Pin driver is low. */ 1060 #define GPIO_OUTCLR_PIN23_High (1UL) /*!< Pin driver is high. */ 1061 #define GPIO_OUTCLR_PIN23_Clear (1UL) /*!< Set pin driver low. */ 1062 1063 /* Bit 22 : Pin 22. */ 1064 #define GPIO_OUTCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 1065 #define GPIO_OUTCLR_PIN22_Msk (0x1UL << GPIO_OUTCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 1066 #define GPIO_OUTCLR_PIN22_Low (0UL) /*!< Pin driver is low. */ 1067 #define GPIO_OUTCLR_PIN22_High (1UL) /*!< Pin driver is high. */ 1068 #define GPIO_OUTCLR_PIN22_Clear (1UL) /*!< Set pin driver low. */ 1069 1070 /* Bit 21 : Pin 21. */ 1071 #define GPIO_OUTCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 1072 #define GPIO_OUTCLR_PIN21_Msk (0x1UL << GPIO_OUTCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 1073 #define GPIO_OUTCLR_PIN21_Low (0UL) /*!< Pin driver is low. */ 1074 #define GPIO_OUTCLR_PIN21_High (1UL) /*!< Pin driver is high. */ 1075 #define GPIO_OUTCLR_PIN21_Clear (1UL) /*!< Set pin driver low. */ 1076 1077 /* Bit 20 : Pin 20. */ 1078 #define GPIO_OUTCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 1079 #define GPIO_OUTCLR_PIN20_Msk (0x1UL << GPIO_OUTCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 1080 #define GPIO_OUTCLR_PIN20_Low (0UL) /*!< Pin driver is low. */ 1081 #define GPIO_OUTCLR_PIN20_High (1UL) /*!< Pin driver is high. */ 1082 #define GPIO_OUTCLR_PIN20_Clear (1UL) /*!< Set pin driver low. */ 1083 1084 /* Bit 19 : Pin 19. */ 1085 #define GPIO_OUTCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 1086 #define GPIO_OUTCLR_PIN19_Msk (0x1UL << GPIO_OUTCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 1087 #define GPIO_OUTCLR_PIN19_Low (0UL) /*!< Pin driver is low. */ 1088 #define GPIO_OUTCLR_PIN19_High (1UL) /*!< Pin driver is high. */ 1089 #define GPIO_OUTCLR_PIN19_Clear (1UL) /*!< Set pin driver low. */ 1090 1091 /* Bit 18 : Pin 18. */ 1092 #define GPIO_OUTCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 1093 #define GPIO_OUTCLR_PIN18_Msk (0x1UL << GPIO_OUTCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 1094 #define GPIO_OUTCLR_PIN18_Low (0UL) /*!< Pin driver is low. */ 1095 #define GPIO_OUTCLR_PIN18_High (1UL) /*!< Pin driver is high. */ 1096 #define GPIO_OUTCLR_PIN18_Clear (1UL) /*!< Set pin driver low. */ 1097 1098 /* Bit 17 : Pin 17. */ 1099 #define GPIO_OUTCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 1100 #define GPIO_OUTCLR_PIN17_Msk (0x1UL << GPIO_OUTCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 1101 #define GPIO_OUTCLR_PIN17_Low (0UL) /*!< Pin driver is low. */ 1102 #define GPIO_OUTCLR_PIN17_High (1UL) /*!< Pin driver is high. */ 1103 #define GPIO_OUTCLR_PIN17_Clear (1UL) /*!< Set pin driver low. */ 1104 1105 /* Bit 16 : Pin 16. */ 1106 #define GPIO_OUTCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 1107 #define GPIO_OUTCLR_PIN16_Msk (0x1UL << GPIO_OUTCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 1108 #define GPIO_OUTCLR_PIN16_Low (0UL) /*!< Pin driver is low. */ 1109 #define GPIO_OUTCLR_PIN16_High (1UL) /*!< Pin driver is high. */ 1110 #define GPIO_OUTCLR_PIN16_Clear (1UL) /*!< Set pin driver low. */ 1111 1112 /* Bit 15 : Pin 15. */ 1113 #define GPIO_OUTCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 1114 #define GPIO_OUTCLR_PIN15_Msk (0x1UL << GPIO_OUTCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 1115 #define GPIO_OUTCLR_PIN15_Low (0UL) /*!< Pin driver is low. */ 1116 #define GPIO_OUTCLR_PIN15_High (1UL) /*!< Pin driver is high. */ 1117 #define GPIO_OUTCLR_PIN15_Clear (1UL) /*!< Set pin driver low. */ 1118 1119 /* Bit 14 : Pin 14. */ 1120 #define GPIO_OUTCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 1121 #define GPIO_OUTCLR_PIN14_Msk (0x1UL << GPIO_OUTCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 1122 #define GPIO_OUTCLR_PIN14_Low (0UL) /*!< Pin driver is low. */ 1123 #define GPIO_OUTCLR_PIN14_High (1UL) /*!< Pin driver is high. */ 1124 #define GPIO_OUTCLR_PIN14_Clear (1UL) /*!< Set pin driver low. */ 1125 1126 /* Bit 13 : Pin 13. */ 1127 #define GPIO_OUTCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 1128 #define GPIO_OUTCLR_PIN13_Msk (0x1UL << GPIO_OUTCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 1129 #define GPIO_OUTCLR_PIN13_Low (0UL) /*!< Pin driver is low. */ 1130 #define GPIO_OUTCLR_PIN13_High (1UL) /*!< Pin driver is high. */ 1131 #define GPIO_OUTCLR_PIN13_Clear (1UL) /*!< Set pin driver low. */ 1132 1133 /* Bit 12 : Pin 12. */ 1134 #define GPIO_OUTCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 1135 #define GPIO_OUTCLR_PIN12_Msk (0x1UL << GPIO_OUTCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 1136 #define GPIO_OUTCLR_PIN12_Low (0UL) /*!< Pin driver is low. */ 1137 #define GPIO_OUTCLR_PIN12_High (1UL) /*!< Pin driver is high. */ 1138 #define GPIO_OUTCLR_PIN12_Clear (1UL) /*!< Set pin driver low. */ 1139 1140 /* Bit 11 : Pin 11. */ 1141 #define GPIO_OUTCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 1142 #define GPIO_OUTCLR_PIN11_Msk (0x1UL << GPIO_OUTCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 1143 #define GPIO_OUTCLR_PIN11_Low (0UL) /*!< Pin driver is low. */ 1144 #define GPIO_OUTCLR_PIN11_High (1UL) /*!< Pin driver is high. */ 1145 #define GPIO_OUTCLR_PIN11_Clear (1UL) /*!< Set pin driver low. */ 1146 1147 /* Bit 10 : Pin 10. */ 1148 #define GPIO_OUTCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 1149 #define GPIO_OUTCLR_PIN10_Msk (0x1UL << GPIO_OUTCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 1150 #define GPIO_OUTCLR_PIN10_Low (0UL) /*!< Pin driver is low. */ 1151 #define GPIO_OUTCLR_PIN10_High (1UL) /*!< Pin driver is high. */ 1152 #define GPIO_OUTCLR_PIN10_Clear (1UL) /*!< Set pin driver low. */ 1153 1154 /* Bit 9 : Pin 9. */ 1155 #define GPIO_OUTCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 1156 #define GPIO_OUTCLR_PIN9_Msk (0x1UL << GPIO_OUTCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 1157 #define GPIO_OUTCLR_PIN9_Low (0UL) /*!< Pin driver is low. */ 1158 #define GPIO_OUTCLR_PIN9_High (1UL) /*!< Pin driver is high. */ 1159 #define GPIO_OUTCLR_PIN9_Clear (1UL) /*!< Set pin driver low. */ 1160 1161 /* Bit 8 : Pin 8. */ 1162 #define GPIO_OUTCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 1163 #define GPIO_OUTCLR_PIN8_Msk (0x1UL << GPIO_OUTCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 1164 #define GPIO_OUTCLR_PIN8_Low (0UL) /*!< Pin driver is low. */ 1165 #define GPIO_OUTCLR_PIN8_High (1UL) /*!< Pin driver is high. */ 1166 #define GPIO_OUTCLR_PIN8_Clear (1UL) /*!< Set pin driver low. */ 1167 1168 /* Bit 7 : Pin 7. */ 1169 #define GPIO_OUTCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 1170 #define GPIO_OUTCLR_PIN7_Msk (0x1UL << GPIO_OUTCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 1171 #define GPIO_OUTCLR_PIN7_Low (0UL) /*!< Pin driver is low. */ 1172 #define GPIO_OUTCLR_PIN7_High (1UL) /*!< Pin driver is high. */ 1173 #define GPIO_OUTCLR_PIN7_Clear (1UL) /*!< Set pin driver low. */ 1174 1175 /* Bit 6 : Pin 6. */ 1176 #define GPIO_OUTCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 1177 #define GPIO_OUTCLR_PIN6_Msk (0x1UL << GPIO_OUTCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 1178 #define GPIO_OUTCLR_PIN6_Low (0UL) /*!< Pin driver is low. */ 1179 #define GPIO_OUTCLR_PIN6_High (1UL) /*!< Pin driver is high. */ 1180 #define GPIO_OUTCLR_PIN6_Clear (1UL) /*!< Set pin driver low. */ 1181 1182 /* Bit 5 : Pin 5. */ 1183 #define GPIO_OUTCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 1184 #define GPIO_OUTCLR_PIN5_Msk (0x1UL << GPIO_OUTCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 1185 #define GPIO_OUTCLR_PIN5_Low (0UL) /*!< Pin driver is low. */ 1186 #define GPIO_OUTCLR_PIN5_High (1UL) /*!< Pin driver is high. */ 1187 #define GPIO_OUTCLR_PIN5_Clear (1UL) /*!< Set pin driver low. */ 1188 1189 /* Bit 4 : Pin 4. */ 1190 #define GPIO_OUTCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 1191 #define GPIO_OUTCLR_PIN4_Msk (0x1UL << GPIO_OUTCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 1192 #define GPIO_OUTCLR_PIN4_Low (0UL) /*!< Pin driver is low. */ 1193 #define GPIO_OUTCLR_PIN4_High (1UL) /*!< Pin driver is high. */ 1194 #define GPIO_OUTCLR_PIN4_Clear (1UL) /*!< Set pin driver low. */ 1195 1196 /* Bit 3 : Pin 3. */ 1197 #define GPIO_OUTCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 1198 #define GPIO_OUTCLR_PIN3_Msk (0x1UL << GPIO_OUTCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 1199 #define GPIO_OUTCLR_PIN3_Low (0UL) /*!< Pin driver is low. */ 1200 #define GPIO_OUTCLR_PIN3_High (1UL) /*!< Pin driver is high. */ 1201 #define GPIO_OUTCLR_PIN3_Clear (1UL) /*!< Set pin driver low. */ 1202 1203 /* Bit 2 : Pin 2. */ 1204 #define GPIO_OUTCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 1205 #define GPIO_OUTCLR_PIN2_Msk (0x1UL << GPIO_OUTCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 1206 #define GPIO_OUTCLR_PIN2_Low (0UL) /*!< Pin driver is low. */ 1207 #define GPIO_OUTCLR_PIN2_High (1UL) /*!< Pin driver is high. */ 1208 #define GPIO_OUTCLR_PIN2_Clear (1UL) /*!< Set pin driver low. */ 1209 1210 /* Bit 1 : Pin 1. */ 1211 #define GPIO_OUTCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 1212 #define GPIO_OUTCLR_PIN1_Msk (0x1UL << GPIO_OUTCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 1213 #define GPIO_OUTCLR_PIN1_Low (0UL) /*!< Pin driver is low. */ 1214 #define GPIO_OUTCLR_PIN1_High (1UL) /*!< Pin driver is high. */ 1215 #define GPIO_OUTCLR_PIN1_Clear (1UL) /*!< Set pin driver low. */ 1216 1217 /* Bit 0 : Pin 0. */ 1218 #define GPIO_OUTCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 1219 #define GPIO_OUTCLR_PIN0_Msk (0x1UL << GPIO_OUTCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 1220 #define GPIO_OUTCLR_PIN0_Low (0UL) /*!< Pin driver is low. */ 1221 #define GPIO_OUTCLR_PIN0_High (1UL) /*!< Pin driver is high. */ 1222 #define GPIO_OUTCLR_PIN0_Clear (1UL) /*!< Set pin driver low. */ 1223 1224 /* Register: GPIO_IN */ 1225 /* Description: Read GPIO port. */ 1226 1227 /* Bit 31 : Pin 31. */ 1228 #define GPIO_IN_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 1229 #define GPIO_IN_PIN31_Msk (0x1UL << GPIO_IN_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 1230 #define GPIO_IN_PIN31_Low (0UL) /*!< Pin input is low. */ 1231 #define GPIO_IN_PIN31_High (1UL) /*!< Pin input is high. */ 1232 1233 /* Bit 30 : Pin 30. */ 1234 #define GPIO_IN_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 1235 #define GPIO_IN_PIN30_Msk (0x1UL << GPIO_IN_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 1236 #define GPIO_IN_PIN30_Low (0UL) /*!< Pin input is low. */ 1237 #define GPIO_IN_PIN30_High (1UL) /*!< Pin input is high. */ 1238 1239 /* Bit 29 : Pin 29. */ 1240 #define GPIO_IN_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 1241 #define GPIO_IN_PIN29_Msk (0x1UL << GPIO_IN_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 1242 #define GPIO_IN_PIN29_Low (0UL) /*!< Pin input is low. */ 1243 #define GPIO_IN_PIN29_High (1UL) /*!< Pin input is high. */ 1244 1245 /* Bit 28 : Pin 28. */ 1246 #define GPIO_IN_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 1247 #define GPIO_IN_PIN28_Msk (0x1UL << GPIO_IN_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 1248 #define GPIO_IN_PIN28_Low (0UL) /*!< Pin input is low. */ 1249 #define GPIO_IN_PIN28_High (1UL) /*!< Pin input is high. */ 1250 1251 /* Bit 27 : Pin 27. */ 1252 #define GPIO_IN_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 1253 #define GPIO_IN_PIN27_Msk (0x1UL << GPIO_IN_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 1254 #define GPIO_IN_PIN27_Low (0UL) /*!< Pin input is low. */ 1255 #define GPIO_IN_PIN27_High (1UL) /*!< Pin input is high. */ 1256 1257 /* Bit 26 : Pin 26. */ 1258 #define GPIO_IN_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 1259 #define GPIO_IN_PIN26_Msk (0x1UL << GPIO_IN_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 1260 #define GPIO_IN_PIN26_Low (0UL) /*!< Pin input is low. */ 1261 #define GPIO_IN_PIN26_High (1UL) /*!< Pin input is high. */ 1262 1263 /* Bit 25 : Pin 25. */ 1264 #define GPIO_IN_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 1265 #define GPIO_IN_PIN25_Msk (0x1UL << GPIO_IN_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 1266 #define GPIO_IN_PIN25_Low (0UL) /*!< Pin input is low. */ 1267 #define GPIO_IN_PIN25_High (1UL) /*!< Pin input is high. */ 1268 1269 /* Bit 24 : Pin 24. */ 1270 #define GPIO_IN_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 1271 #define GPIO_IN_PIN24_Msk (0x1UL << GPIO_IN_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 1272 #define GPIO_IN_PIN24_Low (0UL) /*!< Pin input is low. */ 1273 #define GPIO_IN_PIN24_High (1UL) /*!< Pin input is high. */ 1274 1275 /* Bit 23 : Pin 23. */ 1276 #define GPIO_IN_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 1277 #define GPIO_IN_PIN23_Msk (0x1UL << GPIO_IN_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 1278 #define GPIO_IN_PIN23_Low (0UL) /*!< Pin input is low. */ 1279 #define GPIO_IN_PIN23_High (1UL) /*!< Pin input is high. */ 1280 1281 /* Bit 22 : Pin 22. */ 1282 #define GPIO_IN_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 1283 #define GPIO_IN_PIN22_Msk (0x1UL << GPIO_IN_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 1284 #define GPIO_IN_PIN22_Low (0UL) /*!< Pin input is low. */ 1285 #define GPIO_IN_PIN22_High (1UL) /*!< Pin input is high. */ 1286 1287 /* Bit 21 : Pin 21. */ 1288 #define GPIO_IN_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 1289 #define GPIO_IN_PIN21_Msk (0x1UL << GPIO_IN_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 1290 #define GPIO_IN_PIN21_Low (0UL) /*!< Pin input is low. */ 1291 #define GPIO_IN_PIN21_High (1UL) /*!< Pin input is high. */ 1292 1293 /* Bit 20 : Pin 20. */ 1294 #define GPIO_IN_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 1295 #define GPIO_IN_PIN20_Msk (0x1UL << GPIO_IN_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 1296 #define GPIO_IN_PIN20_Low (0UL) /*!< Pin input is low. */ 1297 #define GPIO_IN_PIN20_High (1UL) /*!< Pin input is high. */ 1298 1299 /* Bit 19 : Pin 19. */ 1300 #define GPIO_IN_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 1301 #define GPIO_IN_PIN19_Msk (0x1UL << GPIO_IN_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 1302 #define GPIO_IN_PIN19_Low (0UL) /*!< Pin input is low. */ 1303 #define GPIO_IN_PIN19_High (1UL) /*!< Pin input is high. */ 1304 1305 /* Bit 18 : Pin 18. */ 1306 #define GPIO_IN_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 1307 #define GPIO_IN_PIN18_Msk (0x1UL << GPIO_IN_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 1308 #define GPIO_IN_PIN18_Low (0UL) /*!< Pin input is low. */ 1309 #define GPIO_IN_PIN18_High (1UL) /*!< Pin input is high. */ 1310 1311 /* Bit 17 : Pin 17. */ 1312 #define GPIO_IN_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 1313 #define GPIO_IN_PIN17_Msk (0x1UL << GPIO_IN_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 1314 #define GPIO_IN_PIN17_Low (0UL) /*!< Pin input is low. */ 1315 #define GPIO_IN_PIN17_High (1UL) /*!< Pin input is high. */ 1316 1317 /* Bit 16 : Pin 16. */ 1318 #define GPIO_IN_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 1319 #define GPIO_IN_PIN16_Msk (0x1UL << GPIO_IN_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 1320 #define GPIO_IN_PIN16_Low (0UL) /*!< Pin input is low. */ 1321 #define GPIO_IN_PIN16_High (1UL) /*!< Pin input is high. */ 1322 1323 /* Bit 15 : Pin 15. */ 1324 #define GPIO_IN_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 1325 #define GPIO_IN_PIN15_Msk (0x1UL << GPIO_IN_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 1326 #define GPIO_IN_PIN15_Low (0UL) /*!< Pin input is low. */ 1327 #define GPIO_IN_PIN15_High (1UL) /*!< Pin input is high. */ 1328 1329 /* Bit 14 : Pin 14. */ 1330 #define GPIO_IN_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 1331 #define GPIO_IN_PIN14_Msk (0x1UL << GPIO_IN_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 1332 #define GPIO_IN_PIN14_Low (0UL) /*!< Pin input is low. */ 1333 #define GPIO_IN_PIN14_High (1UL) /*!< Pin input is high. */ 1334 1335 /* Bit 13 : Pin 13. */ 1336 #define GPIO_IN_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 1337 #define GPIO_IN_PIN13_Msk (0x1UL << GPIO_IN_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 1338 #define GPIO_IN_PIN13_Low (0UL) /*!< Pin input is low. */ 1339 #define GPIO_IN_PIN13_High (1UL) /*!< Pin input is high. */ 1340 1341 /* Bit 12 : Pin 12. */ 1342 #define GPIO_IN_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 1343 #define GPIO_IN_PIN12_Msk (0x1UL << GPIO_IN_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 1344 #define GPIO_IN_PIN12_Low (0UL) /*!< Pin input is low. */ 1345 #define GPIO_IN_PIN12_High (1UL) /*!< Pin input is high. */ 1346 1347 /* Bit 11 : Pin 11. */ 1348 #define GPIO_IN_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 1349 #define GPIO_IN_PIN11_Msk (0x1UL << GPIO_IN_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 1350 #define GPIO_IN_PIN11_Low (0UL) /*!< Pin input is low. */ 1351 #define GPIO_IN_PIN11_High (1UL) /*!< Pin input is high. */ 1352 1353 /* Bit 10 : Pin 10. */ 1354 #define GPIO_IN_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 1355 #define GPIO_IN_PIN10_Msk (0x1UL << GPIO_IN_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 1356 #define GPIO_IN_PIN10_Low (0UL) /*!< Pin input is low. */ 1357 #define GPIO_IN_PIN10_High (1UL) /*!< Pin input is high. */ 1358 1359 /* Bit 9 : Pin 9. */ 1360 #define GPIO_IN_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 1361 #define GPIO_IN_PIN9_Msk (0x1UL << GPIO_IN_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 1362 #define GPIO_IN_PIN9_Low (0UL) /*!< Pin input is low. */ 1363 #define GPIO_IN_PIN9_High (1UL) /*!< Pin input is high. */ 1364 1365 /* Bit 8 : Pin 8. */ 1366 #define GPIO_IN_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 1367 #define GPIO_IN_PIN8_Msk (0x1UL << GPIO_IN_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 1368 #define GPIO_IN_PIN8_Low (0UL) /*!< Pin input is low. */ 1369 #define GPIO_IN_PIN8_High (1UL) /*!< Pin input is high. */ 1370 1371 /* Bit 7 : Pin 7. */ 1372 #define GPIO_IN_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 1373 #define GPIO_IN_PIN7_Msk (0x1UL << GPIO_IN_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 1374 #define GPIO_IN_PIN7_Low (0UL) /*!< Pin input is low. */ 1375 #define GPIO_IN_PIN7_High (1UL) /*!< Pin input is high. */ 1376 1377 /* Bit 6 : Pin 6. */ 1378 #define GPIO_IN_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 1379 #define GPIO_IN_PIN6_Msk (0x1UL << GPIO_IN_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 1380 #define GPIO_IN_PIN6_Low (0UL) /*!< Pin input is low. */ 1381 #define GPIO_IN_PIN6_High (1UL) /*!< Pin input is high. */ 1382 1383 /* Bit 5 : Pin 5. */ 1384 #define GPIO_IN_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 1385 #define GPIO_IN_PIN5_Msk (0x1UL << GPIO_IN_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 1386 #define GPIO_IN_PIN5_Low (0UL) /*!< Pin input is low. */ 1387 #define GPIO_IN_PIN5_High (1UL) /*!< Pin input is high. */ 1388 1389 /* Bit 4 : Pin 4. */ 1390 #define GPIO_IN_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 1391 #define GPIO_IN_PIN4_Msk (0x1UL << GPIO_IN_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 1392 #define GPIO_IN_PIN4_Low (0UL) /*!< Pin input is low. */ 1393 #define GPIO_IN_PIN4_High (1UL) /*!< Pin input is high. */ 1394 1395 /* Bit 3 : Pin 3. */ 1396 #define GPIO_IN_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 1397 #define GPIO_IN_PIN3_Msk (0x1UL << GPIO_IN_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 1398 #define GPIO_IN_PIN3_Low (0UL) /*!< Pin input is low. */ 1399 #define GPIO_IN_PIN3_High (1UL) /*!< Pin input is high. */ 1400 1401 /* Bit 2 : Pin 2. */ 1402 #define GPIO_IN_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 1403 #define GPIO_IN_PIN2_Msk (0x1UL << GPIO_IN_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 1404 #define GPIO_IN_PIN2_Low (0UL) /*!< Pin input is low. */ 1405 #define GPIO_IN_PIN2_High (1UL) /*!< Pin input is high. */ 1406 1407 /* Bit 1 : Pin 1. */ 1408 #define GPIO_IN_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 1409 #define GPIO_IN_PIN1_Msk (0x1UL << GPIO_IN_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 1410 #define GPIO_IN_PIN1_Low (0UL) /*!< Pin input is low. */ 1411 #define GPIO_IN_PIN1_High (1UL) /*!< Pin input is high. */ 1412 1413 /* Bit 0 : Pin 0. */ 1414 #define GPIO_IN_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 1415 #define GPIO_IN_PIN0_Msk (0x1UL << GPIO_IN_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 1416 #define GPIO_IN_PIN0_Low (0UL) /*!< Pin input is low. */ 1417 #define GPIO_IN_PIN0_High (1UL) /*!< Pin input is high. */ 1418 1419 /* Register: GPIO_DIR */ 1420 /* Description: Direction of GPIO pins. */ 1421 1422 /* Bit 31 : Pin 31. */ 1423 #define GPIO_DIR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 1424 #define GPIO_DIR_PIN31_Msk (0x1UL << GPIO_DIR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 1425 #define GPIO_DIR_PIN31_Input (0UL) /*!< Pin set as input. */ 1426 #define GPIO_DIR_PIN31_Output (1UL) /*!< Pin set as output. */ 1427 1428 /* Bit 30 : Pin 30. */ 1429 #define GPIO_DIR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 1430 #define GPIO_DIR_PIN30_Msk (0x1UL << GPIO_DIR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 1431 #define GPIO_DIR_PIN30_Input (0UL) /*!< Pin set as input. */ 1432 #define GPIO_DIR_PIN30_Output (1UL) /*!< Pin set as output. */ 1433 1434 /* Bit 29 : Pin 29. */ 1435 #define GPIO_DIR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 1436 #define GPIO_DIR_PIN29_Msk (0x1UL << GPIO_DIR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 1437 #define GPIO_DIR_PIN29_Input (0UL) /*!< Pin set as input. */ 1438 #define GPIO_DIR_PIN29_Output (1UL) /*!< Pin set as output. */ 1439 1440 /* Bit 28 : Pin 28. */ 1441 #define GPIO_DIR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 1442 #define GPIO_DIR_PIN28_Msk (0x1UL << GPIO_DIR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 1443 #define GPIO_DIR_PIN28_Input (0UL) /*!< Pin set as input. */ 1444 #define GPIO_DIR_PIN28_Output (1UL) /*!< Pin set as output. */ 1445 1446 /* Bit 27 : Pin 27. */ 1447 #define GPIO_DIR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 1448 #define GPIO_DIR_PIN27_Msk (0x1UL << GPIO_DIR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 1449 #define GPIO_DIR_PIN27_Input (0UL) /*!< Pin set as input. */ 1450 #define GPIO_DIR_PIN27_Output (1UL) /*!< Pin set as output. */ 1451 1452 /* Bit 26 : Pin 26. */ 1453 #define GPIO_DIR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 1454 #define GPIO_DIR_PIN26_Msk (0x1UL << GPIO_DIR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 1455 #define GPIO_DIR_PIN26_Input (0UL) /*!< Pin set as input. */ 1456 #define GPIO_DIR_PIN26_Output (1UL) /*!< Pin set as output. */ 1457 1458 /* Bit 25 : Pin 25. */ 1459 #define GPIO_DIR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 1460 #define GPIO_DIR_PIN25_Msk (0x1UL << GPIO_DIR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 1461 #define GPIO_DIR_PIN25_Input (0UL) /*!< Pin set as input. */ 1462 #define GPIO_DIR_PIN25_Output (1UL) /*!< Pin set as output. */ 1463 1464 /* Bit 24 : Pin 24. */ 1465 #define GPIO_DIR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 1466 #define GPIO_DIR_PIN24_Msk (0x1UL << GPIO_DIR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 1467 #define GPIO_DIR_PIN24_Input (0UL) /*!< Pin set as input. */ 1468 #define GPIO_DIR_PIN24_Output (1UL) /*!< Pin set as output. */ 1469 1470 /* Bit 23 : Pin 23. */ 1471 #define GPIO_DIR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 1472 #define GPIO_DIR_PIN23_Msk (0x1UL << GPIO_DIR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 1473 #define GPIO_DIR_PIN23_Input (0UL) /*!< Pin set as input. */ 1474 #define GPIO_DIR_PIN23_Output (1UL) /*!< Pin set as output. */ 1475 1476 /* Bit 22 : Pin 22. */ 1477 #define GPIO_DIR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 1478 #define GPIO_DIR_PIN22_Msk (0x1UL << GPIO_DIR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 1479 #define GPIO_DIR_PIN22_Input (0UL) /*!< Pin set as input. */ 1480 #define GPIO_DIR_PIN22_Output (1UL) /*!< Pin set as output. */ 1481 1482 /* Bit 21 : Pin 21. */ 1483 #define GPIO_DIR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 1484 #define GPIO_DIR_PIN21_Msk (0x1UL << GPIO_DIR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 1485 #define GPIO_DIR_PIN21_Input (0UL) /*!< Pin set as input. */ 1486 #define GPIO_DIR_PIN21_Output (1UL) /*!< Pin set as output. */ 1487 1488 /* Bit 20 : Pin 20. */ 1489 #define GPIO_DIR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 1490 #define GPIO_DIR_PIN20_Msk (0x1UL << GPIO_DIR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 1491 #define GPIO_DIR_PIN20_Input (0UL) /*!< Pin set as input. */ 1492 #define GPIO_DIR_PIN20_Output (1UL) /*!< Pin set as output. */ 1493 1494 /* Bit 19 : Pin 19. */ 1495 #define GPIO_DIR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 1496 #define GPIO_DIR_PIN19_Msk (0x1UL << GPIO_DIR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 1497 #define GPIO_DIR_PIN19_Input (0UL) /*!< Pin set as input. */ 1498 #define GPIO_DIR_PIN19_Output (1UL) /*!< Pin set as output. */ 1499 1500 /* Bit 18 : Pin 18. */ 1501 #define GPIO_DIR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 1502 #define GPIO_DIR_PIN18_Msk (0x1UL << GPIO_DIR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 1503 #define GPIO_DIR_PIN18_Input (0UL) /*!< Pin set as input. */ 1504 #define GPIO_DIR_PIN18_Output (1UL) /*!< Pin set as output. */ 1505 1506 /* Bit 17 : Pin 17. */ 1507 #define GPIO_DIR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 1508 #define GPIO_DIR_PIN17_Msk (0x1UL << GPIO_DIR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 1509 #define GPIO_DIR_PIN17_Input (0UL) /*!< Pin set as input. */ 1510 #define GPIO_DIR_PIN17_Output (1UL) /*!< Pin set as output. */ 1511 1512 /* Bit 16 : Pin 16. */ 1513 #define GPIO_DIR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 1514 #define GPIO_DIR_PIN16_Msk (0x1UL << GPIO_DIR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 1515 #define GPIO_DIR_PIN16_Input (0UL) /*!< Pin set as input. */ 1516 #define GPIO_DIR_PIN16_Output (1UL) /*!< Pin set as output. */ 1517 1518 /* Bit 15 : Pin 15. */ 1519 #define GPIO_DIR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 1520 #define GPIO_DIR_PIN15_Msk (0x1UL << GPIO_DIR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 1521 #define GPIO_DIR_PIN15_Input (0UL) /*!< Pin set as input. */ 1522 #define GPIO_DIR_PIN15_Output (1UL) /*!< Pin set as output. */ 1523 1524 /* Bit 14 : Pin 14. */ 1525 #define GPIO_DIR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 1526 #define GPIO_DIR_PIN14_Msk (0x1UL << GPIO_DIR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 1527 #define GPIO_DIR_PIN14_Input (0UL) /*!< Pin set as input. */ 1528 #define GPIO_DIR_PIN14_Output (1UL) /*!< Pin set as output. */ 1529 1530 /* Bit 13 : Pin 13. */ 1531 #define GPIO_DIR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 1532 #define GPIO_DIR_PIN13_Msk (0x1UL << GPIO_DIR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 1533 #define GPIO_DIR_PIN13_Input (0UL) /*!< Pin set as input. */ 1534 #define GPIO_DIR_PIN13_Output (1UL) /*!< Pin set as output. */ 1535 1536 /* Bit 12 : Pin 12. */ 1537 #define GPIO_DIR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 1538 #define GPIO_DIR_PIN12_Msk (0x1UL << GPIO_DIR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 1539 #define GPIO_DIR_PIN12_Input (0UL) /*!< Pin set as input. */ 1540 #define GPIO_DIR_PIN12_Output (1UL) /*!< Pin set as output. */ 1541 1542 /* Bit 11 : Pin 11. */ 1543 #define GPIO_DIR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 1544 #define GPIO_DIR_PIN11_Msk (0x1UL << GPIO_DIR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 1545 #define GPIO_DIR_PIN11_Input (0UL) /*!< Pin set as input. */ 1546 #define GPIO_DIR_PIN11_Output (1UL) /*!< Pin set as output. */ 1547 1548 /* Bit 10 : Pin 10. */ 1549 #define GPIO_DIR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 1550 #define GPIO_DIR_PIN10_Msk (0x1UL << GPIO_DIR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 1551 #define GPIO_DIR_PIN10_Input (0UL) /*!< Pin set as input. */ 1552 #define GPIO_DIR_PIN10_Output (1UL) /*!< Pin set as output. */ 1553 1554 /* Bit 9 : Pin 9. */ 1555 #define GPIO_DIR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 1556 #define GPIO_DIR_PIN9_Msk (0x1UL << GPIO_DIR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 1557 #define GPIO_DIR_PIN9_Input (0UL) /*!< Pin set as input. */ 1558 #define GPIO_DIR_PIN9_Output (1UL) /*!< Pin set as output. */ 1559 1560 /* Bit 8 : Pin 8. */ 1561 #define GPIO_DIR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 1562 #define GPIO_DIR_PIN8_Msk (0x1UL << GPIO_DIR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 1563 #define GPIO_DIR_PIN8_Input (0UL) /*!< Pin set as input. */ 1564 #define GPIO_DIR_PIN8_Output (1UL) /*!< Pin set as output. */ 1565 1566 /* Bit 7 : Pin 7. */ 1567 #define GPIO_DIR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 1568 #define GPIO_DIR_PIN7_Msk (0x1UL << GPIO_DIR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 1569 #define GPIO_DIR_PIN7_Input (0UL) /*!< Pin set as input. */ 1570 #define GPIO_DIR_PIN7_Output (1UL) /*!< Pin set as output. */ 1571 1572 /* Bit 6 : Pin 6. */ 1573 #define GPIO_DIR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 1574 #define GPIO_DIR_PIN6_Msk (0x1UL << GPIO_DIR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 1575 #define GPIO_DIR_PIN6_Input (0UL) /*!< Pin set as input. */ 1576 #define GPIO_DIR_PIN6_Output (1UL) /*!< Pin set as output. */ 1577 1578 /* Bit 5 : Pin 5. */ 1579 #define GPIO_DIR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 1580 #define GPIO_DIR_PIN5_Msk (0x1UL << GPIO_DIR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 1581 #define GPIO_DIR_PIN5_Input (0UL) /*!< Pin set as input. */ 1582 #define GPIO_DIR_PIN5_Output (1UL) /*!< Pin set as output. */ 1583 1584 /* Bit 4 : Pin 4. */ 1585 #define GPIO_DIR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 1586 #define GPIO_DIR_PIN4_Msk (0x1UL << GPIO_DIR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 1587 #define GPIO_DIR_PIN4_Input (0UL) /*!< Pin set as input. */ 1588 #define GPIO_DIR_PIN4_Output (1UL) /*!< Pin set as output. */ 1589 1590 /* Bit 3 : Pin 3. */ 1591 #define GPIO_DIR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 1592 #define GPIO_DIR_PIN3_Msk (0x1UL << GPIO_DIR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 1593 #define GPIO_DIR_PIN3_Input (0UL) /*!< Pin set as input. */ 1594 #define GPIO_DIR_PIN3_Output (1UL) /*!< Pin set as output. */ 1595 1596 /* Bit 2 : Pin 2. */ 1597 #define GPIO_DIR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 1598 #define GPIO_DIR_PIN2_Msk (0x1UL << GPIO_DIR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 1599 #define GPIO_DIR_PIN2_Input (0UL) /*!< Pin set as input. */ 1600 #define GPIO_DIR_PIN2_Output (1UL) /*!< Pin set as output. */ 1601 1602 /* Bit 1 : Pin 1. */ 1603 #define GPIO_DIR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 1604 #define GPIO_DIR_PIN1_Msk (0x1UL << GPIO_DIR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 1605 #define GPIO_DIR_PIN1_Input (0UL) /*!< Pin set as input. */ 1606 #define GPIO_DIR_PIN1_Output (1UL) /*!< Pin set as output. */ 1607 1608 /* Bit 0 : Pin 0. */ 1609 #define GPIO_DIR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 1610 #define GPIO_DIR_PIN0_Msk (0x1UL << GPIO_DIR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 1611 #define GPIO_DIR_PIN0_Input (0UL) /*!< Pin set as input. */ 1612 #define GPIO_DIR_PIN0_Output (1UL) /*!< Pin set as output. */ 1613 1614 /* Register: GPIO_DIRSET */ 1615 /* Description: DIR set register. */ 1616 1617 /* Bit 31 : Set as output pin 31. */ 1618 #define GPIO_DIRSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 1619 #define GPIO_DIRSET_PIN31_Msk (0x1UL << GPIO_DIRSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 1620 #define GPIO_DIRSET_PIN31_Input (0UL) /*!< Pin set as input. */ 1621 #define GPIO_DIRSET_PIN31_Output (1UL) /*!< Pin set as output. */ 1622 #define GPIO_DIRSET_PIN31_Set (1UL) /*!< Set pin as output. */ 1623 1624 /* Bit 30 : Set as output pin 30. */ 1625 #define GPIO_DIRSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 1626 #define GPIO_DIRSET_PIN30_Msk (0x1UL << GPIO_DIRSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 1627 #define GPIO_DIRSET_PIN30_Input (0UL) /*!< Pin set as input. */ 1628 #define GPIO_DIRSET_PIN30_Output (1UL) /*!< Pin set as output. */ 1629 #define GPIO_DIRSET_PIN30_Set (1UL) /*!< Set pin as output. */ 1630 1631 /* Bit 29 : Set as output pin 29. */ 1632 #define GPIO_DIRSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 1633 #define GPIO_DIRSET_PIN29_Msk (0x1UL << GPIO_DIRSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 1634 #define GPIO_DIRSET_PIN29_Input (0UL) /*!< Pin set as input. */ 1635 #define GPIO_DIRSET_PIN29_Output (1UL) /*!< Pin set as output. */ 1636 #define GPIO_DIRSET_PIN29_Set (1UL) /*!< Set pin as output. */ 1637 1638 /* Bit 28 : Set as output pin 28. */ 1639 #define GPIO_DIRSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 1640 #define GPIO_DIRSET_PIN28_Msk (0x1UL << GPIO_DIRSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 1641 #define GPIO_DIRSET_PIN28_Input (0UL) /*!< Pin set as input. */ 1642 #define GPIO_DIRSET_PIN28_Output (1UL) /*!< Pin set as output. */ 1643 #define GPIO_DIRSET_PIN28_Set (1UL) /*!< Set pin as output. */ 1644 1645 /* Bit 27 : Set as output pin 27. */ 1646 #define GPIO_DIRSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 1647 #define GPIO_DIRSET_PIN27_Msk (0x1UL << GPIO_DIRSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 1648 #define GPIO_DIRSET_PIN27_Input (0UL) /*!< Pin set as input. */ 1649 #define GPIO_DIRSET_PIN27_Output (1UL) /*!< Pin set as output. */ 1650 #define GPIO_DIRSET_PIN27_Set (1UL) /*!< Set pin as output. */ 1651 1652 /* Bit 26 : Set as output pin 26. */ 1653 #define GPIO_DIRSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 1654 #define GPIO_DIRSET_PIN26_Msk (0x1UL << GPIO_DIRSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 1655 #define GPIO_DIRSET_PIN26_Input (0UL) /*!< Pin set as input. */ 1656 #define GPIO_DIRSET_PIN26_Output (1UL) /*!< Pin set as output. */ 1657 #define GPIO_DIRSET_PIN26_Set (1UL) /*!< Set pin as output. */ 1658 1659 /* Bit 25 : Set as output pin 25. */ 1660 #define GPIO_DIRSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 1661 #define GPIO_DIRSET_PIN25_Msk (0x1UL << GPIO_DIRSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 1662 #define GPIO_DIRSET_PIN25_Input (0UL) /*!< Pin set as input. */ 1663 #define GPIO_DIRSET_PIN25_Output (1UL) /*!< Pin set as output. */ 1664 #define GPIO_DIRSET_PIN25_Set (1UL) /*!< Set pin as output. */ 1665 1666 /* Bit 24 : Set as output pin 24. */ 1667 #define GPIO_DIRSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 1668 #define GPIO_DIRSET_PIN24_Msk (0x1UL << GPIO_DIRSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 1669 #define GPIO_DIRSET_PIN24_Input (0UL) /*!< Pin set as input. */ 1670 #define GPIO_DIRSET_PIN24_Output (1UL) /*!< Pin set as output. */ 1671 #define GPIO_DIRSET_PIN24_Set (1UL) /*!< Set pin as output. */ 1672 1673 /* Bit 23 : Set as output pin 23. */ 1674 #define GPIO_DIRSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 1675 #define GPIO_DIRSET_PIN23_Msk (0x1UL << GPIO_DIRSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 1676 #define GPIO_DIRSET_PIN23_Input (0UL) /*!< Pin set as input. */ 1677 #define GPIO_DIRSET_PIN23_Output (1UL) /*!< Pin set as output. */ 1678 #define GPIO_DIRSET_PIN23_Set (1UL) /*!< Set pin as output. */ 1679 1680 /* Bit 22 : Set as output pin 22. */ 1681 #define GPIO_DIRSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 1682 #define GPIO_DIRSET_PIN22_Msk (0x1UL << GPIO_DIRSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 1683 #define GPIO_DIRSET_PIN22_Input (0UL) /*!< Pin set as input. */ 1684 #define GPIO_DIRSET_PIN22_Output (1UL) /*!< Pin set as output. */ 1685 #define GPIO_DIRSET_PIN22_Set (1UL) /*!< Set pin as output. */ 1686 1687 /* Bit 21 : Set as output pin 21. */ 1688 #define GPIO_DIRSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 1689 #define GPIO_DIRSET_PIN21_Msk (0x1UL << GPIO_DIRSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 1690 #define GPIO_DIRSET_PIN21_Input (0UL) /*!< Pin set as input. */ 1691 #define GPIO_DIRSET_PIN21_Output (1UL) /*!< Pin set as output. */ 1692 #define GPIO_DIRSET_PIN21_Set (1UL) /*!< Set pin as output. */ 1693 1694 /* Bit 20 : Set as output pin 20. */ 1695 #define GPIO_DIRSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 1696 #define GPIO_DIRSET_PIN20_Msk (0x1UL << GPIO_DIRSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 1697 #define GPIO_DIRSET_PIN20_Input (0UL) /*!< Pin set as input. */ 1698 #define GPIO_DIRSET_PIN20_Output (1UL) /*!< Pin set as output. */ 1699 #define GPIO_DIRSET_PIN20_Set (1UL) /*!< Set pin as output. */ 1700 1701 /* Bit 19 : Set as output pin 19. */ 1702 #define GPIO_DIRSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 1703 #define GPIO_DIRSET_PIN19_Msk (0x1UL << GPIO_DIRSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 1704 #define GPIO_DIRSET_PIN19_Input (0UL) /*!< Pin set as input. */ 1705 #define GPIO_DIRSET_PIN19_Output (1UL) /*!< Pin set as output. */ 1706 #define GPIO_DIRSET_PIN19_Set (1UL) /*!< Set pin as output. */ 1707 1708 /* Bit 18 : Set as output pin 18. */ 1709 #define GPIO_DIRSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 1710 #define GPIO_DIRSET_PIN18_Msk (0x1UL << GPIO_DIRSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 1711 #define GPIO_DIRSET_PIN18_Input (0UL) /*!< Pin set as input. */ 1712 #define GPIO_DIRSET_PIN18_Output (1UL) /*!< Pin set as output. */ 1713 #define GPIO_DIRSET_PIN18_Set (1UL) /*!< Set pin as output. */ 1714 1715 /* Bit 17 : Set as output pin 17. */ 1716 #define GPIO_DIRSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 1717 #define GPIO_DIRSET_PIN17_Msk (0x1UL << GPIO_DIRSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 1718 #define GPIO_DIRSET_PIN17_Input (0UL) /*!< Pin set as input. */ 1719 #define GPIO_DIRSET_PIN17_Output (1UL) /*!< Pin set as output. */ 1720 #define GPIO_DIRSET_PIN17_Set (1UL) /*!< Set pin as output. */ 1721 1722 /* Bit 16 : Set as output pin 16. */ 1723 #define GPIO_DIRSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 1724 #define GPIO_DIRSET_PIN16_Msk (0x1UL << GPIO_DIRSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 1725 #define GPIO_DIRSET_PIN16_Input (0UL) /*!< Pin set as input. */ 1726 #define GPIO_DIRSET_PIN16_Output (1UL) /*!< Pin set as output. */ 1727 #define GPIO_DIRSET_PIN16_Set (1UL) /*!< Set pin as output. */ 1728 1729 /* Bit 15 : Set as output pin 15. */ 1730 #define GPIO_DIRSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 1731 #define GPIO_DIRSET_PIN15_Msk (0x1UL << GPIO_DIRSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 1732 #define GPIO_DIRSET_PIN15_Input (0UL) /*!< Pin set as input. */ 1733 #define GPIO_DIRSET_PIN15_Output (1UL) /*!< Pin set as output. */ 1734 #define GPIO_DIRSET_PIN15_Set (1UL) /*!< Set pin as output. */ 1735 1736 /* Bit 14 : Set as output pin 14. */ 1737 #define GPIO_DIRSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 1738 #define GPIO_DIRSET_PIN14_Msk (0x1UL << GPIO_DIRSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 1739 #define GPIO_DIRSET_PIN14_Input (0UL) /*!< Pin set as input. */ 1740 #define GPIO_DIRSET_PIN14_Output (1UL) /*!< Pin set as output. */ 1741 #define GPIO_DIRSET_PIN14_Set (1UL) /*!< Set pin as output. */ 1742 1743 /* Bit 13 : Set as output pin 13. */ 1744 #define GPIO_DIRSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 1745 #define GPIO_DIRSET_PIN13_Msk (0x1UL << GPIO_DIRSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 1746 #define GPIO_DIRSET_PIN13_Input (0UL) /*!< Pin set as input. */ 1747 #define GPIO_DIRSET_PIN13_Output (1UL) /*!< Pin set as output. */ 1748 #define GPIO_DIRSET_PIN13_Set (1UL) /*!< Set pin as output. */ 1749 1750 /* Bit 12 : Set as output pin 12. */ 1751 #define GPIO_DIRSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 1752 #define GPIO_DIRSET_PIN12_Msk (0x1UL << GPIO_DIRSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 1753 #define GPIO_DIRSET_PIN12_Input (0UL) /*!< Pin set as input. */ 1754 #define GPIO_DIRSET_PIN12_Output (1UL) /*!< Pin set as output. */ 1755 #define GPIO_DIRSET_PIN12_Set (1UL) /*!< Set pin as output. */ 1756 1757 /* Bit 11 : Set as output pin 11. */ 1758 #define GPIO_DIRSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 1759 #define GPIO_DIRSET_PIN11_Msk (0x1UL << GPIO_DIRSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 1760 #define GPIO_DIRSET_PIN11_Input (0UL) /*!< Pin set as input. */ 1761 #define GPIO_DIRSET_PIN11_Output (1UL) /*!< Pin set as output. */ 1762 #define GPIO_DIRSET_PIN11_Set (1UL) /*!< Set pin as output. */ 1763 1764 /* Bit 10 : Set as output pin 10. */ 1765 #define GPIO_DIRSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 1766 #define GPIO_DIRSET_PIN10_Msk (0x1UL << GPIO_DIRSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 1767 #define GPIO_DIRSET_PIN10_Input (0UL) /*!< Pin set as input. */ 1768 #define GPIO_DIRSET_PIN10_Output (1UL) /*!< Pin set as output. */ 1769 #define GPIO_DIRSET_PIN10_Set (1UL) /*!< Set pin as output. */ 1770 1771 /* Bit 9 : Set as output pin 9. */ 1772 #define GPIO_DIRSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 1773 #define GPIO_DIRSET_PIN9_Msk (0x1UL << GPIO_DIRSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 1774 #define GPIO_DIRSET_PIN9_Input (0UL) /*!< Pin set as input. */ 1775 #define GPIO_DIRSET_PIN9_Output (1UL) /*!< Pin set as output. */ 1776 #define GPIO_DIRSET_PIN9_Set (1UL) /*!< Set pin as output. */ 1777 1778 /* Bit 8 : Set as output pin 8. */ 1779 #define GPIO_DIRSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 1780 #define GPIO_DIRSET_PIN8_Msk (0x1UL << GPIO_DIRSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 1781 #define GPIO_DIRSET_PIN8_Input (0UL) /*!< Pin set as input. */ 1782 #define GPIO_DIRSET_PIN8_Output (1UL) /*!< Pin set as output. */ 1783 #define GPIO_DIRSET_PIN8_Set (1UL) /*!< Set pin as output. */ 1784 1785 /* Bit 7 : Set as output pin 7. */ 1786 #define GPIO_DIRSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 1787 #define GPIO_DIRSET_PIN7_Msk (0x1UL << GPIO_DIRSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 1788 #define GPIO_DIRSET_PIN7_Input (0UL) /*!< Pin set as input. */ 1789 #define GPIO_DIRSET_PIN7_Output (1UL) /*!< Pin set as output. */ 1790 #define GPIO_DIRSET_PIN7_Set (1UL) /*!< Set pin as output. */ 1791 1792 /* Bit 6 : Set as output pin 6. */ 1793 #define GPIO_DIRSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 1794 #define GPIO_DIRSET_PIN6_Msk (0x1UL << GPIO_DIRSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 1795 #define GPIO_DIRSET_PIN6_Input (0UL) /*!< Pin set as input. */ 1796 #define GPIO_DIRSET_PIN6_Output (1UL) /*!< Pin set as output. */ 1797 #define GPIO_DIRSET_PIN6_Set (1UL) /*!< Set pin as output. */ 1798 1799 /* Bit 5 : Set as output pin 5. */ 1800 #define GPIO_DIRSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 1801 #define GPIO_DIRSET_PIN5_Msk (0x1UL << GPIO_DIRSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 1802 #define GPIO_DIRSET_PIN5_Input (0UL) /*!< Pin set as input. */ 1803 #define GPIO_DIRSET_PIN5_Output (1UL) /*!< Pin set as output. */ 1804 #define GPIO_DIRSET_PIN5_Set (1UL) /*!< Set pin as output. */ 1805 1806 /* Bit 4 : Set as output pin 4. */ 1807 #define GPIO_DIRSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 1808 #define GPIO_DIRSET_PIN4_Msk (0x1UL << GPIO_DIRSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 1809 #define GPIO_DIRSET_PIN4_Input (0UL) /*!< Pin set as input. */ 1810 #define GPIO_DIRSET_PIN4_Output (1UL) /*!< Pin set as output. */ 1811 #define GPIO_DIRSET_PIN4_Set (1UL) /*!< Set pin as output. */ 1812 1813 /* Bit 3 : Set as output pin 3. */ 1814 #define GPIO_DIRSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 1815 #define GPIO_DIRSET_PIN3_Msk (0x1UL << GPIO_DIRSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 1816 #define GPIO_DIRSET_PIN3_Input (0UL) /*!< Pin set as input. */ 1817 #define GPIO_DIRSET_PIN3_Output (1UL) /*!< Pin set as output. */ 1818 #define GPIO_DIRSET_PIN3_Set (1UL) /*!< Set pin as output. */ 1819 1820 /* Bit 2 : Set as output pin 2. */ 1821 #define GPIO_DIRSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 1822 #define GPIO_DIRSET_PIN2_Msk (0x1UL << GPIO_DIRSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 1823 #define GPIO_DIRSET_PIN2_Input (0UL) /*!< Pin set as input. */ 1824 #define GPIO_DIRSET_PIN2_Output (1UL) /*!< Pin set as output. */ 1825 #define GPIO_DIRSET_PIN2_Set (1UL) /*!< Set pin as output. */ 1826 1827 /* Bit 1 : Set as output pin 1. */ 1828 #define GPIO_DIRSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 1829 #define GPIO_DIRSET_PIN1_Msk (0x1UL << GPIO_DIRSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 1830 #define GPIO_DIRSET_PIN1_Input (0UL) /*!< Pin set as input. */ 1831 #define GPIO_DIRSET_PIN1_Output (1UL) /*!< Pin set as output. */ 1832 #define GPIO_DIRSET_PIN1_Set (1UL) /*!< Set pin as output. */ 1833 1834 /* Bit 0 : Set as output pin 0. */ 1835 #define GPIO_DIRSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 1836 #define GPIO_DIRSET_PIN0_Msk (0x1UL << GPIO_DIRSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 1837 #define GPIO_DIRSET_PIN0_Input (0UL) /*!< Pin set as input. */ 1838 #define GPIO_DIRSET_PIN0_Output (1UL) /*!< Pin set as output. */ 1839 #define GPIO_DIRSET_PIN0_Set (1UL) /*!< Set pin as output. */ 1840 1841 /* Register: GPIO_DIRCLR */ 1842 /* Description: DIR clear register. */ 1843 1844 /* Bit 31 : Set as input pin 31. */ 1845 #define GPIO_DIRCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 1846 #define GPIO_DIRCLR_PIN31_Msk (0x1UL << GPIO_DIRCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 1847 #define GPIO_DIRCLR_PIN31_Input (0UL) /*!< Pin set as input. */ 1848 #define GPIO_DIRCLR_PIN31_Output (1UL) /*!< Pin set as output. */ 1849 #define GPIO_DIRCLR_PIN31_Clear (1UL) /*!< Set pin as input. */ 1850 1851 /* Bit 30 : Set as input pin 30. */ 1852 #define GPIO_DIRCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 1853 #define GPIO_DIRCLR_PIN30_Msk (0x1UL << GPIO_DIRCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 1854 #define GPIO_DIRCLR_PIN30_Input (0UL) /*!< Pin set as input. */ 1855 #define GPIO_DIRCLR_PIN30_Output (1UL) /*!< Pin set as output. */ 1856 #define GPIO_DIRCLR_PIN30_Clear (1UL) /*!< Set pin as input. */ 1857 1858 /* Bit 29 : Set as input pin 29. */ 1859 #define GPIO_DIRCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 1860 #define GPIO_DIRCLR_PIN29_Msk (0x1UL << GPIO_DIRCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 1861 #define GPIO_DIRCLR_PIN29_Input (0UL) /*!< Pin set as input. */ 1862 #define GPIO_DIRCLR_PIN29_Output (1UL) /*!< Pin set as output. */ 1863 #define GPIO_DIRCLR_PIN29_Clear (1UL) /*!< Set pin as input. */ 1864 1865 /* Bit 28 : Set as input pin 28. */ 1866 #define GPIO_DIRCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 1867 #define GPIO_DIRCLR_PIN28_Msk (0x1UL << GPIO_DIRCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 1868 #define GPIO_DIRCLR_PIN28_Input (0UL) /*!< Pin set as input. */ 1869 #define GPIO_DIRCLR_PIN28_Output (1UL) /*!< Pin set as output. */ 1870 #define GPIO_DIRCLR_PIN28_Clear (1UL) /*!< Set pin as input. */ 1871 1872 /* Bit 27 : Set as input pin 27. */ 1873 #define GPIO_DIRCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 1874 #define GPIO_DIRCLR_PIN27_Msk (0x1UL << GPIO_DIRCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 1875 #define GPIO_DIRCLR_PIN27_Input (0UL) /*!< Pin set as input. */ 1876 #define GPIO_DIRCLR_PIN27_Output (1UL) /*!< Pin set as output. */ 1877 #define GPIO_DIRCLR_PIN27_Clear (1UL) /*!< Set pin as input. */ 1878 1879 /* Bit 26 : Set as input pin 26. */ 1880 #define GPIO_DIRCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 1881 #define GPIO_DIRCLR_PIN26_Msk (0x1UL << GPIO_DIRCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 1882 #define GPIO_DIRCLR_PIN26_Input (0UL) /*!< Pin set as input. */ 1883 #define GPIO_DIRCLR_PIN26_Output (1UL) /*!< Pin set as output. */ 1884 #define GPIO_DIRCLR_PIN26_Clear (1UL) /*!< Set pin as input. */ 1885 1886 /* Bit 25 : Set as input pin 25. */ 1887 #define GPIO_DIRCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 1888 #define GPIO_DIRCLR_PIN25_Msk (0x1UL << GPIO_DIRCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 1889 #define GPIO_DIRCLR_PIN25_Input (0UL) /*!< Pin set as input. */ 1890 #define GPIO_DIRCLR_PIN25_Output (1UL) /*!< Pin set as output. */ 1891 #define GPIO_DIRCLR_PIN25_Clear (1UL) /*!< Set pin as input. */ 1892 1893 /* Bit 24 : Set as input pin 24. */ 1894 #define GPIO_DIRCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 1895 #define GPIO_DIRCLR_PIN24_Msk (0x1UL << GPIO_DIRCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 1896 #define GPIO_DIRCLR_PIN24_Input (0UL) /*!< Pin set as input. */ 1897 #define GPIO_DIRCLR_PIN24_Output (1UL) /*!< Pin set as output. */ 1898 #define GPIO_DIRCLR_PIN24_Clear (1UL) /*!< Set pin as input. */ 1899 1900 /* Bit 23 : Set as input pin 23. */ 1901 #define GPIO_DIRCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 1902 #define GPIO_DIRCLR_PIN23_Msk (0x1UL << GPIO_DIRCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 1903 #define GPIO_DIRCLR_PIN23_Input (0UL) /*!< Pin set as input. */ 1904 #define GPIO_DIRCLR_PIN23_Output (1UL) /*!< Pin set as output. */ 1905 #define GPIO_DIRCLR_PIN23_Clear (1UL) /*!< Set pin as input. */ 1906 1907 /* Bit 22 : Set as input pin 22. */ 1908 #define GPIO_DIRCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 1909 #define GPIO_DIRCLR_PIN22_Msk (0x1UL << GPIO_DIRCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 1910 #define GPIO_DIRCLR_PIN22_Input (0UL) /*!< Pin set as input. */ 1911 #define GPIO_DIRCLR_PIN22_Output (1UL) /*!< Pin set as output. */ 1912 #define GPIO_DIRCLR_PIN22_Clear (1UL) /*!< Set pin as input. */ 1913 1914 /* Bit 21 : Set as input pin 21. */ 1915 #define GPIO_DIRCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 1916 #define GPIO_DIRCLR_PIN21_Msk (0x1UL << GPIO_DIRCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 1917 #define GPIO_DIRCLR_PIN21_Input (0UL) /*!< Pin set as input. */ 1918 #define GPIO_DIRCLR_PIN21_Output (1UL) /*!< Pin set as output. */ 1919 #define GPIO_DIRCLR_PIN21_Clear (1UL) /*!< Set pin as input. */ 1920 1921 /* Bit 20 : Set as input pin 20. */ 1922 #define GPIO_DIRCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 1923 #define GPIO_DIRCLR_PIN20_Msk (0x1UL << GPIO_DIRCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 1924 #define GPIO_DIRCLR_PIN20_Input (0UL) /*!< Pin set as input. */ 1925 #define GPIO_DIRCLR_PIN20_Output (1UL) /*!< Pin set as output. */ 1926 #define GPIO_DIRCLR_PIN20_Clear (1UL) /*!< Set pin as input. */ 1927 1928 /* Bit 19 : Set as input pin 19. */ 1929 #define GPIO_DIRCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 1930 #define GPIO_DIRCLR_PIN19_Msk (0x1UL << GPIO_DIRCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 1931 #define GPIO_DIRCLR_PIN19_Input (0UL) /*!< Pin set as input. */ 1932 #define GPIO_DIRCLR_PIN19_Output (1UL) /*!< Pin set as output. */ 1933 #define GPIO_DIRCLR_PIN19_Clear (1UL) /*!< Set pin as input. */ 1934 1935 /* Bit 18 : Set as input pin 18. */ 1936 #define GPIO_DIRCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 1937 #define GPIO_DIRCLR_PIN18_Msk (0x1UL << GPIO_DIRCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 1938 #define GPIO_DIRCLR_PIN18_Input (0UL) /*!< Pin set as input. */ 1939 #define GPIO_DIRCLR_PIN18_Output (1UL) /*!< Pin set as output. */ 1940 #define GPIO_DIRCLR_PIN18_Clear (1UL) /*!< Set pin as input. */ 1941 1942 /* Bit 17 : Set as input pin 17. */ 1943 #define GPIO_DIRCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 1944 #define GPIO_DIRCLR_PIN17_Msk (0x1UL << GPIO_DIRCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 1945 #define GPIO_DIRCLR_PIN17_Input (0UL) /*!< Pin set as input. */ 1946 #define GPIO_DIRCLR_PIN17_Output (1UL) /*!< Pin set as output. */ 1947 #define GPIO_DIRCLR_PIN17_Clear (1UL) /*!< Set pin as input. */ 1948 1949 /* Bit 16 : Set as input pin 16. */ 1950 #define GPIO_DIRCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 1951 #define GPIO_DIRCLR_PIN16_Msk (0x1UL << GPIO_DIRCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 1952 #define GPIO_DIRCLR_PIN16_Input (0UL) /*!< Pin set as input. */ 1953 #define GPIO_DIRCLR_PIN16_Output (1UL) /*!< Pin set as output. */ 1954 #define GPIO_DIRCLR_PIN16_Clear (1UL) /*!< Set pin as input. */ 1955 1956 /* Bit 15 : Set as input pin 15. */ 1957 #define GPIO_DIRCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 1958 #define GPIO_DIRCLR_PIN15_Msk (0x1UL << GPIO_DIRCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 1959 #define GPIO_DIRCLR_PIN15_Input (0UL) /*!< Pin set as input. */ 1960 #define GPIO_DIRCLR_PIN15_Output (1UL) /*!< Pin set as output. */ 1961 #define GPIO_DIRCLR_PIN15_Clear (1UL) /*!< Set pin as input. */ 1962 1963 /* Bit 14 : Set as input pin 14. */ 1964 #define GPIO_DIRCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 1965 #define GPIO_DIRCLR_PIN14_Msk (0x1UL << GPIO_DIRCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 1966 #define GPIO_DIRCLR_PIN14_Input (0UL) /*!< Pin set as input. */ 1967 #define GPIO_DIRCLR_PIN14_Output (1UL) /*!< Pin set as output. */ 1968 #define GPIO_DIRCLR_PIN14_Clear (1UL) /*!< Set pin as input. */ 1969 1970 /* Bit 13 : Set as input pin 13. */ 1971 #define GPIO_DIRCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 1972 #define GPIO_DIRCLR_PIN13_Msk (0x1UL << GPIO_DIRCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 1973 #define GPIO_DIRCLR_PIN13_Input (0UL) /*!< Pin set as input. */ 1974 #define GPIO_DIRCLR_PIN13_Output (1UL) /*!< Pin set as output. */ 1975 #define GPIO_DIRCLR_PIN13_Clear (1UL) /*!< Set pin as input. */ 1976 1977 /* Bit 12 : Set as input pin 12. */ 1978 #define GPIO_DIRCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 1979 #define GPIO_DIRCLR_PIN12_Msk (0x1UL << GPIO_DIRCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 1980 #define GPIO_DIRCLR_PIN12_Input (0UL) /*!< Pin set as input. */ 1981 #define GPIO_DIRCLR_PIN12_Output (1UL) /*!< Pin set as output. */ 1982 #define GPIO_DIRCLR_PIN12_Clear (1UL) /*!< Set pin as input. */ 1983 1984 /* Bit 11 : Set as input pin 11. */ 1985 #define GPIO_DIRCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 1986 #define GPIO_DIRCLR_PIN11_Msk (0x1UL << GPIO_DIRCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 1987 #define GPIO_DIRCLR_PIN11_Input (0UL) /*!< Pin set as input. */ 1988 #define GPIO_DIRCLR_PIN11_Output (1UL) /*!< Pin set as output. */ 1989 #define GPIO_DIRCLR_PIN11_Clear (1UL) /*!< Set pin as input. */ 1990 1991 /* Bit 10 : Set as input pin 10. */ 1992 #define GPIO_DIRCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 1993 #define GPIO_DIRCLR_PIN10_Msk (0x1UL << GPIO_DIRCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 1994 #define GPIO_DIRCLR_PIN10_Input (0UL) /*!< Pin set as input. */ 1995 #define GPIO_DIRCLR_PIN10_Output (1UL) /*!< Pin set as output. */ 1996 #define GPIO_DIRCLR_PIN10_Clear (1UL) /*!< Set pin as input. */ 1997 1998 /* Bit 9 : Set as input pin 9. */ 1999 #define GPIO_DIRCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 2000 #define GPIO_DIRCLR_PIN9_Msk (0x1UL << GPIO_DIRCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 2001 #define GPIO_DIRCLR_PIN9_Input (0UL) /*!< Pin set as input. */ 2002 #define GPIO_DIRCLR_PIN9_Output (1UL) /*!< Pin set as output. */ 2003 #define GPIO_DIRCLR_PIN9_Clear (1UL) /*!< Set pin as input. */ 2004 2005 /* Bit 8 : Set as input pin 8. */ 2006 #define GPIO_DIRCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 2007 #define GPIO_DIRCLR_PIN8_Msk (0x1UL << GPIO_DIRCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 2008 #define GPIO_DIRCLR_PIN8_Input (0UL) /*!< Pin set as input. */ 2009 #define GPIO_DIRCLR_PIN8_Output (1UL) /*!< Pin set as output. */ 2010 #define GPIO_DIRCLR_PIN8_Clear (1UL) /*!< Set pin as input. */ 2011 2012 /* Bit 7 : Set as input pin 7. */ 2013 #define GPIO_DIRCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 2014 #define GPIO_DIRCLR_PIN7_Msk (0x1UL << GPIO_DIRCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 2015 #define GPIO_DIRCLR_PIN7_Input (0UL) /*!< Pin set as input. */ 2016 #define GPIO_DIRCLR_PIN7_Output (1UL) /*!< Pin set as output. */ 2017 #define GPIO_DIRCLR_PIN7_Clear (1UL) /*!< Set pin as input. */ 2018 2019 /* Bit 6 : Set as input pin 6. */ 2020 #define GPIO_DIRCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 2021 #define GPIO_DIRCLR_PIN6_Msk (0x1UL << GPIO_DIRCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 2022 #define GPIO_DIRCLR_PIN6_Input (0UL) /*!< Pin set as input. */ 2023 #define GPIO_DIRCLR_PIN6_Output (1UL) /*!< Pin set as output. */ 2024 #define GPIO_DIRCLR_PIN6_Clear (1UL) /*!< Set pin as input. */ 2025 2026 /* Bit 5 : Set as input pin 5. */ 2027 #define GPIO_DIRCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 2028 #define GPIO_DIRCLR_PIN5_Msk (0x1UL << GPIO_DIRCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 2029 #define GPIO_DIRCLR_PIN5_Input (0UL) /*!< Pin set as input. */ 2030 #define GPIO_DIRCLR_PIN5_Output (1UL) /*!< Pin set as output. */ 2031 #define GPIO_DIRCLR_PIN5_Clear (1UL) /*!< Set pin as input. */ 2032 2033 /* Bit 4 : Set as input pin 4. */ 2034 #define GPIO_DIRCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 2035 #define GPIO_DIRCLR_PIN4_Msk (0x1UL << GPIO_DIRCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 2036 #define GPIO_DIRCLR_PIN4_Input (0UL) /*!< Pin set as input. */ 2037 #define GPIO_DIRCLR_PIN4_Output (1UL) /*!< Pin set as output. */ 2038 #define GPIO_DIRCLR_PIN4_Clear (1UL) /*!< Set pin as input. */ 2039 2040 /* Bit 3 : Set as input pin 3. */ 2041 #define GPIO_DIRCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 2042 #define GPIO_DIRCLR_PIN3_Msk (0x1UL << GPIO_DIRCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 2043 #define GPIO_DIRCLR_PIN3_Input (0UL) /*!< Pin set as input. */ 2044 #define GPIO_DIRCLR_PIN3_Output (1UL) /*!< Pin set as output. */ 2045 #define GPIO_DIRCLR_PIN3_Clear (1UL) /*!< Set pin as input. */ 2046 2047 /* Bit 2 : Set as input pin 2. */ 2048 #define GPIO_DIRCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 2049 #define GPIO_DIRCLR_PIN2_Msk (0x1UL << GPIO_DIRCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 2050 #define GPIO_DIRCLR_PIN2_Input (0UL) /*!< Pin set as input. */ 2051 #define GPIO_DIRCLR_PIN2_Output (1UL) /*!< Pin set as output. */ 2052 #define GPIO_DIRCLR_PIN2_Clear (1UL) /*!< Set pin as input. */ 2053 2054 /* Bit 1 : Set as input pin 1. */ 2055 #define GPIO_DIRCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 2056 #define GPIO_DIRCLR_PIN1_Msk (0x1UL << GPIO_DIRCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 2057 #define GPIO_DIRCLR_PIN1_Input (0UL) /*!< Pin set as input. */ 2058 #define GPIO_DIRCLR_PIN1_Output (1UL) /*!< Pin set as output. */ 2059 #define GPIO_DIRCLR_PIN1_Clear (1UL) /*!< Set pin as input. */ 2060 2061 /* Bit 0 : Set as input pin 0. */ 2062 #define GPIO_DIRCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 2063 #define GPIO_DIRCLR_PIN0_Msk (0x1UL << GPIO_DIRCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 2064 #define GPIO_DIRCLR_PIN0_Input (0UL) /*!< Pin set as input. */ 2065 #define GPIO_DIRCLR_PIN0_Output (1UL) /*!< Pin set as output. */ 2066 #define GPIO_DIRCLR_PIN0_Clear (1UL) /*!< Set pin as input. */ 2067 2068 /* Register: GPIO_PIN_CNF */ 2069 /* Description: Configuration of GPIO pins. */ 2070 2071 /* Bits 17..16 : Pin sensing mechanism. */ 2072 #define GPIO_PIN_CNF_SENSE_Pos (16UL) /*!< Position of SENSE field. */ 2073 #define GPIO_PIN_CNF_SENSE_Msk (0x3UL << GPIO_PIN_CNF_SENSE_Pos) /*!< Bit mask of SENSE field. */ 2074 #define GPIO_PIN_CNF_SENSE_Disabled (0x00UL) /*!< Disabled. */ 2075 #define GPIO_PIN_CNF_SENSE_High (0x02UL) /*!< Wakeup on high level. */ 2076 #define GPIO_PIN_CNF_SENSE_Low (0x03UL) /*!< Wakeup on low level. */ 2077 2078 /* Bits 10..8 : Drive configuration. */ 2079 #define GPIO_PIN_CNF_DRIVE_Pos (8UL) /*!< Position of DRIVE field. */ 2080 #define GPIO_PIN_CNF_DRIVE_Msk (0x7UL << GPIO_PIN_CNF_DRIVE_Pos) /*!< Bit mask of DRIVE field. */ 2081 #define GPIO_PIN_CNF_DRIVE_S0S1 (0x00UL) /*!< Standard '0', Standard '1'. */ 2082 #define GPIO_PIN_CNF_DRIVE_H0S1 (0x01UL) /*!< High '0', Standard '1'. */ 2083 #define GPIO_PIN_CNF_DRIVE_S0H1 (0x02UL) /*!< Standard '0', High '1'. */ 2084 #define GPIO_PIN_CNF_DRIVE_H0H1 (0x03UL) /*!< High '0', High '1'. */ 2085 #define GPIO_PIN_CNF_DRIVE_D0S1 (0x04UL) /*!< Disconnected '0', Standard '1'. */ 2086 #define GPIO_PIN_CNF_DRIVE_D0H1 (0x05UL) /*!< Disconnected '0', High '1'. */ 2087 #define GPIO_PIN_CNF_DRIVE_S0D1 (0x06UL) /*!< Standard '0', Disconnected '1'. */ 2088 #define GPIO_PIN_CNF_DRIVE_H0D1 (0x07UL) /*!< High '0', Disconnected '1'. */ 2089 2090 /* Bits 3..2 : Pull-up or -down configuration. */ 2091 #define GPIO_PIN_CNF_PULL_Pos (2UL) /*!< Position of PULL field. */ 2092 #define GPIO_PIN_CNF_PULL_Msk (0x3UL << GPIO_PIN_CNF_PULL_Pos) /*!< Bit mask of PULL field. */ 2093 #define GPIO_PIN_CNF_PULL_Disabled (0x00UL) /*!< No pull. */ 2094 #define GPIO_PIN_CNF_PULL_Pulldown (0x01UL) /*!< Pulldown on pin. */ 2095 #define GPIO_PIN_CNF_PULL_Pullup (0x03UL) /*!< Pullup on pin. */ 2096 2097 /* Bit 1 : Connect or disconnect input path. */ 2098 #define GPIO_PIN_CNF_INPUT_Pos (1UL) /*!< Position of INPUT field. */ 2099 #define GPIO_PIN_CNF_INPUT_Msk (0x1UL << GPIO_PIN_CNF_INPUT_Pos) /*!< Bit mask of INPUT field. */ 2100 #define GPIO_PIN_CNF_INPUT_Connect (0UL) /*!< Connect input pin. */ 2101 #define GPIO_PIN_CNF_INPUT_Disconnect (1UL) /*!< Disconnect input pin. */ 2102 2103 /* Bit 0 : Pin direction. */ 2104 #define GPIO_PIN_CNF_DIR_Pos (0UL) /*!< Position of DIR field. */ 2105 #define GPIO_PIN_CNF_DIR_Msk (0x1UL << GPIO_PIN_CNF_DIR_Pos) /*!< Bit mask of DIR field. */ 2106 #define GPIO_PIN_CNF_DIR_Input (0UL) /*!< Configure pin as an input pin. */ 2107 #define GPIO_PIN_CNF_DIR_Output (1UL) /*!< Configure pin as an output pin. */ 2108 2109 2110 /* Peripheral: GPIOTE */ 2111 /* Description: GPIO tasks and events. */ 2112 2113 /* Register: GPIOTE_INTENSET */ 2114 /* Description: Interrupt enable set register. */ 2115 2116 /* Bit 31 : Enable interrupt on PORT event. */ 2117 #define GPIOTE_INTENSET_PORT_Pos (31UL) /*!< Position of PORT field. */ 2118 #define GPIOTE_INTENSET_PORT_Msk (0x1UL << GPIOTE_INTENSET_PORT_Pos) /*!< Bit mask of PORT field. */ 2119 #define GPIOTE_INTENSET_PORT_Disabled (0UL) /*!< Interrupt disabled. */ 2120 #define GPIOTE_INTENSET_PORT_Enabled (1UL) /*!< Interrupt enabled. */ 2121 #define GPIOTE_INTENSET_PORT_Set (1UL) /*!< Enable interrupt on write. */ 2122 2123 /* Bit 3 : Enable interrupt on IN[3] event. */ 2124 #define GPIOTE_INTENSET_IN3_Pos (3UL) /*!< Position of IN3 field. */ 2125 #define GPIOTE_INTENSET_IN3_Msk (0x1UL << GPIOTE_INTENSET_IN3_Pos) /*!< Bit mask of IN3 field. */ 2126 #define GPIOTE_INTENSET_IN3_Disabled (0UL) /*!< Interrupt disabled. */ 2127 #define GPIOTE_INTENSET_IN3_Enabled (1UL) /*!< Interrupt enabled. */ 2128 #define GPIOTE_INTENSET_IN3_Set (1UL) /*!< Enable interrupt on write. */ 2129 2130 /* Bit 2 : Enable interrupt on IN[2] event. */ 2131 #define GPIOTE_INTENSET_IN2_Pos (2UL) /*!< Position of IN2 field. */ 2132 #define GPIOTE_INTENSET_IN2_Msk (0x1UL << GPIOTE_INTENSET_IN2_Pos) /*!< Bit mask of IN2 field. */ 2133 #define GPIOTE_INTENSET_IN2_Disabled (0UL) /*!< Interrupt disabled. */ 2134 #define GPIOTE_INTENSET_IN2_Enabled (1UL) /*!< Interrupt enabled. */ 2135 #define GPIOTE_INTENSET_IN2_Set (1UL) /*!< Enable interrupt on write. */ 2136 2137 /* Bit 1 : Enable interrupt on IN[1] event. */ 2138 #define GPIOTE_INTENSET_IN1_Pos (1UL) /*!< Position of IN1 field. */ 2139 #define GPIOTE_INTENSET_IN1_Msk (0x1UL << GPIOTE_INTENSET_IN1_Pos) /*!< Bit mask of IN1 field. */ 2140 #define GPIOTE_INTENSET_IN1_Disabled (0UL) /*!< Interrupt disabled. */ 2141 #define GPIOTE_INTENSET_IN1_Enabled (1UL) /*!< Interrupt enabled. */ 2142 #define GPIOTE_INTENSET_IN1_Set (1UL) /*!< Enable interrupt on write. */ 2143 2144 /* Bit 0 : Enable interrupt on IN[0] event. */ 2145 #define GPIOTE_INTENSET_IN0_Pos (0UL) /*!< Position of IN0 field. */ 2146 #define GPIOTE_INTENSET_IN0_Msk (0x1UL << GPIOTE_INTENSET_IN0_Pos) /*!< Bit mask of IN0 field. */ 2147 #define GPIOTE_INTENSET_IN0_Disabled (0UL) /*!< Interrupt disabled. */ 2148 #define GPIOTE_INTENSET_IN0_Enabled (1UL) /*!< Interrupt enabled. */ 2149 #define GPIOTE_INTENSET_IN0_Set (1UL) /*!< Enable interrupt on write. */ 2150 2151 /* Register: GPIOTE_INTENCLR */ 2152 /* Description: Interrupt enable clear register. */ 2153 2154 /* Bit 31 : Disable interrupt on PORT event. */ 2155 #define GPIOTE_INTENCLR_PORT_Pos (31UL) /*!< Position of PORT field. */ 2156 #define GPIOTE_INTENCLR_PORT_Msk (0x1UL << GPIOTE_INTENCLR_PORT_Pos) /*!< Bit mask of PORT field. */ 2157 #define GPIOTE_INTENCLR_PORT_Disabled (0UL) /*!< Interrupt disabled. */ 2158 #define GPIOTE_INTENCLR_PORT_Enabled (1UL) /*!< Interrupt enabled. */ 2159 #define GPIOTE_INTENCLR_PORT_Clear (1UL) /*!< Disable interrupt on write. */ 2160 2161 /* Bit 3 : Disable interrupt on IN[3] event. */ 2162 #define GPIOTE_INTENCLR_IN3_Pos (3UL) /*!< Position of IN3 field. */ 2163 #define GPIOTE_INTENCLR_IN3_Msk (0x1UL << GPIOTE_INTENCLR_IN3_Pos) /*!< Bit mask of IN3 field. */ 2164 #define GPIOTE_INTENCLR_IN3_Disabled (0UL) /*!< Interrupt disabled. */ 2165 #define GPIOTE_INTENCLR_IN3_Enabled (1UL) /*!< Interrupt enabled. */ 2166 #define GPIOTE_INTENCLR_IN3_Clear (1UL) /*!< Disable interrupt on write. */ 2167 2168 /* Bit 2 : Disable interrupt on IN[2] event. */ 2169 #define GPIOTE_INTENCLR_IN2_Pos (2UL) /*!< Position of IN2 field. */ 2170 #define GPIOTE_INTENCLR_IN2_Msk (0x1UL << GPIOTE_INTENCLR_IN2_Pos) /*!< Bit mask of IN2 field. */ 2171 #define GPIOTE_INTENCLR_IN2_Disabled (0UL) /*!< Interrupt disabled. */ 2172 #define GPIOTE_INTENCLR_IN2_Enabled (1UL) /*!< Interrupt enabled. */ 2173 #define GPIOTE_INTENCLR_IN2_Clear (1UL) /*!< Disable interrupt on write. */ 2174 2175 /* Bit 1 : Disable interrupt on IN[1] event. */ 2176 #define GPIOTE_INTENCLR_IN1_Pos (1UL) /*!< Position of IN1 field. */ 2177 #define GPIOTE_INTENCLR_IN1_Msk (0x1UL << GPIOTE_INTENCLR_IN1_Pos) /*!< Bit mask of IN1 field. */ 2178 #define GPIOTE_INTENCLR_IN1_Disabled (0UL) /*!< Interrupt disabled. */ 2179 #define GPIOTE_INTENCLR_IN1_Enabled (1UL) /*!< Interrupt enabled. */ 2180 #define GPIOTE_INTENCLR_IN1_Clear (1UL) /*!< Disable interrupt on write. */ 2181 2182 /* Bit 0 : Disable interrupt on IN[0] event. */ 2183 #define GPIOTE_INTENCLR_IN0_Pos (0UL) /*!< Position of IN0 field. */ 2184 #define GPIOTE_INTENCLR_IN0_Msk (0x1UL << GPIOTE_INTENCLR_IN0_Pos) /*!< Bit mask of IN0 field. */ 2185 #define GPIOTE_INTENCLR_IN0_Disabled (0UL) /*!< Interrupt disabled. */ 2186 #define GPIOTE_INTENCLR_IN0_Enabled (1UL) /*!< Interrupt enabled. */ 2187 #define GPIOTE_INTENCLR_IN0_Clear (1UL) /*!< Disable interrupt on write. */ 2188 2189 /* Register: GPIOTE_CONFIG */ 2190 /* Description: Channel configuration registers. */ 2191 2192 /* Bit 20 : Initial value of the output when the GPIOTE channel is configured as a Task. */ 2193 #define GPIOTE_CONFIG_OUTINIT_Pos (20UL) /*!< Position of OUTINIT field. */ 2194 #define GPIOTE_CONFIG_OUTINIT_Msk (0x1UL << GPIOTE_CONFIG_OUTINIT_Pos) /*!< Bit mask of OUTINIT field. */ 2195 #define GPIOTE_CONFIG_OUTINIT_Low (0UL) /*!< Initial low output when in task mode. */ 2196 #define GPIOTE_CONFIG_OUTINIT_High (1UL) /*!< Initial high output when in task mode. */ 2197 2198 /* Bits 17..16 : Effects on output when in Task mode, or events on input that generates an event. */ 2199 #define GPIOTE_CONFIG_POLARITY_Pos (16UL) /*!< Position of POLARITY field. */ 2200 #define GPIOTE_CONFIG_POLARITY_Msk (0x3UL << GPIOTE_CONFIG_POLARITY_Pos) /*!< Bit mask of POLARITY field. */ 2201 #define GPIOTE_CONFIG_POLARITY_None (0x00UL) /*!< No task or event. */ 2202 #define GPIOTE_CONFIG_POLARITY_LoToHi (0x01UL) /*!< Low to high. */ 2203 #define GPIOTE_CONFIG_POLARITY_HiToLo (0x02UL) /*!< High to low. */ 2204 #define GPIOTE_CONFIG_POLARITY_Toggle (0x03UL) /*!< Toggle. */ 2205 2206 /* Bits 12..8 : Pin select. */ 2207 #define GPIOTE_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */ 2208 #define GPIOTE_CONFIG_PSEL_Msk (0x1FUL << GPIOTE_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */ 2209 2210 /* Bits 1..0 : Mode */ 2211 #define GPIOTE_CONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */ 2212 #define GPIOTE_CONFIG_MODE_Msk (0x3UL << GPIOTE_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */ 2213 #define GPIOTE_CONFIG_MODE_Disabled (0x00UL) /*!< Disabled. */ 2214 #define GPIOTE_CONFIG_MODE_Event (0x01UL) /*!< Channel configure in event mode. */ 2215 #define GPIOTE_CONFIG_MODE_Task (0x03UL) /*!< Channel configure in task mode. */ 2216 2217 /* Register: GPIOTE_POWER */ 2218 /* Description: Peripheral power control. */ 2219 2220 /* Bit 0 : Peripheral power control. */ 2221 #define GPIOTE_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 2222 #define GPIOTE_POWER_POWER_Msk (0x1UL << GPIOTE_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 2223 #define GPIOTE_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 2224 #define GPIOTE_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 2225 2226 2227 /* Peripheral: LPCOMP */ 2228 /* Description: Low power comparator. */ 2229 2230 /* Register: LPCOMP_SHORTS */ 2231 /* Description: Shortcuts for the LPCOMP. */ 2232 2233 /* Bit 4 : Shortcut between CROSS event and STOP task. */ 2234 #define LPCOMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */ 2235 #define LPCOMP_SHORTS_CROSS_STOP_Msk (0x1UL << LPCOMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */ 2236 #define LPCOMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 2237 #define LPCOMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 2238 2239 /* Bit 3 : Shortcut between UP event and STOP task. */ 2240 #define LPCOMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */ 2241 #define LPCOMP_SHORTS_UP_STOP_Msk (0x1UL << LPCOMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */ 2242 #define LPCOMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 2243 #define LPCOMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 2244 2245 /* Bit 2 : Shortcut between DOWN event and STOP task. */ 2246 #define LPCOMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */ 2247 #define LPCOMP_SHORTS_DOWN_STOP_Msk (0x1UL << LPCOMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */ 2248 #define LPCOMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 2249 #define LPCOMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 2250 2251 /* Bit 1 : Shortcut between RADY event and STOP task. */ 2252 #define LPCOMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */ 2253 #define LPCOMP_SHORTS_READY_STOP_Msk (0x1UL << LPCOMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */ 2254 #define LPCOMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 2255 #define LPCOMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 2256 2257 /* Bit 0 : Shortcut between READY event and SAMPLE task. */ 2258 #define LPCOMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */ 2259 #define LPCOMP_SHORTS_READY_SAMPLE_Msk (0x1UL << LPCOMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */ 2260 #define LPCOMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Shortcut disabled. */ 2261 #define LPCOMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Shortcut enabled. */ 2262 2263 /* Register: LPCOMP_INTENSET */ 2264 /* Description: Interrupt enable set register. */ 2265 2266 /* Bit 3 : Enable interrupt on CROSS event. */ 2267 #define LPCOMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 2268 #define LPCOMP_INTENSET_CROSS_Msk (0x1UL << LPCOMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */ 2269 #define LPCOMP_INTENSET_CROSS_Disabled (0UL) /*!< Interrupt disabled. */ 2270 #define LPCOMP_INTENSET_CROSS_Enabled (1UL) /*!< Interrupt enabled. */ 2271 #define LPCOMP_INTENSET_CROSS_Set (1UL) /*!< Enable interrupt on write. */ 2272 2273 /* Bit 2 : Enable interrupt on UP event. */ 2274 #define LPCOMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */ 2275 #define LPCOMP_INTENSET_UP_Msk (0x1UL << LPCOMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */ 2276 #define LPCOMP_INTENSET_UP_Disabled (0UL) /*!< Interrupt disabled. */ 2277 #define LPCOMP_INTENSET_UP_Enabled (1UL) /*!< Interrupt enabled. */ 2278 #define LPCOMP_INTENSET_UP_Set (1UL) /*!< Enable interrupt on write. */ 2279 2280 /* Bit 1 : Enable interrupt on DOWN event. */ 2281 #define LPCOMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 2282 #define LPCOMP_INTENSET_DOWN_Msk (0x1UL << LPCOMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */ 2283 #define LPCOMP_INTENSET_DOWN_Disabled (0UL) /*!< Interrupt disabled. */ 2284 #define LPCOMP_INTENSET_DOWN_Enabled (1UL) /*!< Interrupt enabled. */ 2285 #define LPCOMP_INTENSET_DOWN_Set (1UL) /*!< Enable interrupt on write. */ 2286 2287 /* Bit 0 : Enable interrupt on READY event. */ 2288 #define LPCOMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 2289 #define LPCOMP_INTENSET_READY_Msk (0x1UL << LPCOMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 2290 #define LPCOMP_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */ 2291 #define LPCOMP_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */ 2292 #define LPCOMP_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */ 2293 2294 /* Register: LPCOMP_INTENCLR */ 2295 /* Description: Interrupt enable clear register. */ 2296 2297 /* Bit 3 : Disable interrupt on CROSS event. */ 2298 #define LPCOMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 2299 #define LPCOMP_INTENCLR_CROSS_Msk (0x1UL << LPCOMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */ 2300 #define LPCOMP_INTENCLR_CROSS_Disabled (0UL) /*!< Interrupt disabled. */ 2301 #define LPCOMP_INTENCLR_CROSS_Enabled (1UL) /*!< Interrupt enabled. */ 2302 #define LPCOMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable interrupt on write. */ 2303 2304 /* Bit 2 : Disable interrupt on UP event. */ 2305 #define LPCOMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */ 2306 #define LPCOMP_INTENCLR_UP_Msk (0x1UL << LPCOMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */ 2307 #define LPCOMP_INTENCLR_UP_Disabled (0UL) /*!< Interrupt disabled. */ 2308 #define LPCOMP_INTENCLR_UP_Enabled (1UL) /*!< Interrupt enabled. */ 2309 #define LPCOMP_INTENCLR_UP_Clear (1UL) /*!< Disable interrupt on write. */ 2310 2311 /* Bit 1 : Disable interrupt on DOWN event. */ 2312 #define LPCOMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 2313 #define LPCOMP_INTENCLR_DOWN_Msk (0x1UL << LPCOMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */ 2314 #define LPCOMP_INTENCLR_DOWN_Disabled (0UL) /*!< Interrupt disabled. */ 2315 #define LPCOMP_INTENCLR_DOWN_Enabled (1UL) /*!< Interrupt enabled. */ 2316 #define LPCOMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable interrupt on write. */ 2317 2318 /* Bit 0 : Disable interrupt on READY event. */ 2319 #define LPCOMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 2320 #define LPCOMP_INTENCLR_READY_Msk (0x1UL << LPCOMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 2321 #define LPCOMP_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */ 2322 #define LPCOMP_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */ 2323 #define LPCOMP_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */ 2324 2325 /* Register: LPCOMP_RESULT */ 2326 /* Description: Result of last compare. */ 2327 2328 /* Bit 0 : Result of last compare. Decision point SAMPLE task. */ 2329 #define LPCOMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */ 2330 #define LPCOMP_RESULT_RESULT_Msk (0x1UL << LPCOMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */ 2331 #define LPCOMP_RESULT_RESULT_Below (0UL) /*!< Input voltage is bellow the reference threshold. */ 2332 #define LPCOMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the reference threshold. */ 2333 2334 /* Register: LPCOMP_ENABLE */ 2335 /* Description: Enable the LPCOMP. */ 2336 2337 /* Bits 1..0 : Enable or disable LPCOMP. */ 2338 #define LPCOMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 2339 #define LPCOMP_ENABLE_ENABLE_Msk (0x3UL << LPCOMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 2340 #define LPCOMP_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled LPCOMP. */ 2341 #define LPCOMP_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable LPCOMP. */ 2342 2343 /* Register: LPCOMP_PSEL */ 2344 /* Description: Input pin select. */ 2345 2346 /* Bits 2..0 : Analog input pin select. */ 2347 #define LPCOMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */ 2348 #define LPCOMP_PSEL_PSEL_Msk (0x7UL << LPCOMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */ 2349 #define LPCOMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< Use analog input 0 as analog input. */ 2350 #define LPCOMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< Use analog input 1 as analog input. */ 2351 #define LPCOMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< Use analog input 2 as analog input. */ 2352 #define LPCOMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< Use analog input 3 as analog input. */ 2353 #define LPCOMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< Use analog input 4 as analog input. */ 2354 #define LPCOMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< Use analog input 5 as analog input. */ 2355 #define LPCOMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< Use analog input 6 as analog input. */ 2356 #define LPCOMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< Use analog input 7 as analog input. */ 2357 2358 /* Register: LPCOMP_REFSEL */ 2359 /* Description: Reference select. */ 2360 2361 /* Bits 2..0 : Reference select. */ 2362 #define LPCOMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */ 2363 #define LPCOMP_REFSEL_REFSEL_Msk (0x7UL << LPCOMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */ 2364 #define LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling (0UL) /*!< Use supply with a 1/8 prescaler as reference. */ 2365 #define LPCOMP_REFSEL_REFSEL_SupplyTwoEighthsPrescaling (1UL) /*!< Use supply with a 2/8 prescaler as reference. */ 2366 #define LPCOMP_REFSEL_REFSEL_SupplyThreeEighthsPrescaling (2UL) /*!< Use supply with a 3/8 prescaler as reference. */ 2367 #define LPCOMP_REFSEL_REFSEL_SupplyFourEighthsPrescaling (3UL) /*!< Use supply with a 4/8 prescaler as reference. */ 2368 #define LPCOMP_REFSEL_REFSEL_SupplyFiveEighthsPrescaling (4UL) /*!< Use supply with a 5/8 prescaler as reference. */ 2369 #define LPCOMP_REFSEL_REFSEL_SupplySixEighthsPrescaling (5UL) /*!< Use supply with a 6/8 prescaler as reference. */ 2370 #define LPCOMP_REFSEL_REFSEL_SupplySevenEighthsPrescaling (6UL) /*!< Use supply with a 7/8 prescaler as reference. */ 2371 #define LPCOMP_REFSEL_REFSEL_ARef (7UL) /*!< Use external analog reference as reference. */ 2372 2373 /* Register: LPCOMP_EXTREFSEL */ 2374 /* Description: External reference select. */ 2375 2376 /* Bit 0 : External analog reference pin selection. */ 2377 #define LPCOMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */ 2378 #define LPCOMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << LPCOMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */ 2379 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use analog reference 0 as reference. */ 2380 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use analog reference 1 as reference. */ 2381 2382 /* Register: LPCOMP_ANADETECT */ 2383 /* Description: Analog detect configuration. */ 2384 2385 /* Bits 1..0 : Analog detect configuration. */ 2386 #define LPCOMP_ANADETECT_ANADETECT_Pos (0UL) /*!< Position of ANADETECT field. */ 2387 #define LPCOMP_ANADETECT_ANADETECT_Msk (0x3UL << LPCOMP_ANADETECT_ANADETECT_Pos) /*!< Bit mask of ANADETECT field. */ 2388 #define LPCOMP_ANADETECT_ANADETECT_Cross (0UL) /*!< Generate ANADETEC on crossing, both upwards and downwards crossing. */ 2389 #define LPCOMP_ANADETECT_ANADETECT_Up (1UL) /*!< Generate ANADETEC on upwards crossing only. */ 2390 #define LPCOMP_ANADETECT_ANADETECT_Down (2UL) /*!< Generate ANADETEC on downwards crossing only. */ 2391 2392 /* Register: LPCOMP_POWER */ 2393 /* Description: Peripheral power control. */ 2394 2395 /* Bit 0 : Peripheral power control. */ 2396 #define LPCOMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 2397 #define LPCOMP_POWER_POWER_Msk (0x1UL << LPCOMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 2398 #define LPCOMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 2399 #define LPCOMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 2400 2401 2402 /* Peripheral: MPU */ 2403 /* Description: Memory Protection Unit. */ 2404 2405 /* Register: MPU_PERR0 */ 2406 /* Description: Configuration of peripherals in mpu regions. */ 2407 2408 /* Bit 31 : PPI region configuration. */ 2409 #define MPU_PERR0_PPI_Pos (31UL) /*!< Position of PPI field. */ 2410 #define MPU_PERR0_PPI_Msk (0x1UL << MPU_PERR0_PPI_Pos) /*!< Bit mask of PPI field. */ 2411 #define MPU_PERR0_PPI_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2412 #define MPU_PERR0_PPI_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2413 2414 /* Bit 30 : NVMC region configuration. */ 2415 #define MPU_PERR0_NVMC_Pos (30UL) /*!< Position of NVMC field. */ 2416 #define MPU_PERR0_NVMC_Msk (0x1UL << MPU_PERR0_NVMC_Pos) /*!< Bit mask of NVMC field. */ 2417 #define MPU_PERR0_NVMC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2418 #define MPU_PERR0_NVMC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2419 2420 /* Bit 19 : LPCOMP region configuration. */ 2421 #define MPU_PERR0_LPCOMP_Pos (19UL) /*!< Position of LPCOMP field. */ 2422 #define MPU_PERR0_LPCOMP_Msk (0x1UL << MPU_PERR0_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */ 2423 #define MPU_PERR0_LPCOMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2424 #define MPU_PERR0_LPCOMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2425 2426 /* Bit 18 : QDEC region configuration. */ 2427 #define MPU_PERR0_QDEC_Pos (18UL) /*!< Position of QDEC field. */ 2428 #define MPU_PERR0_QDEC_Msk (0x1UL << MPU_PERR0_QDEC_Pos) /*!< Bit mask of QDEC field. */ 2429 #define MPU_PERR0_QDEC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2430 #define MPU_PERR0_QDEC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2431 2432 /* Bit 17 : RTC1 region configuration. */ 2433 #define MPU_PERR0_RTC1_Pos (17UL) /*!< Position of RTC1 field. */ 2434 #define MPU_PERR0_RTC1_Msk (0x1UL << MPU_PERR0_RTC1_Pos) /*!< Bit mask of RTC1 field. */ 2435 #define MPU_PERR0_RTC1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2436 #define MPU_PERR0_RTC1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2437 2438 /* Bit 16 : WDT region configuration. */ 2439 #define MPU_PERR0_WDT_Pos (16UL) /*!< Position of WDT field. */ 2440 #define MPU_PERR0_WDT_Msk (0x1UL << MPU_PERR0_WDT_Pos) /*!< Bit mask of WDT field. */ 2441 #define MPU_PERR0_WDT_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2442 #define MPU_PERR0_WDT_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2443 2444 /* Bit 15 : CCM and AAR region configuration. */ 2445 #define MPU_PERR0_CCM_AAR_Pos (15UL) /*!< Position of CCM_AAR field. */ 2446 #define MPU_PERR0_CCM_AAR_Msk (0x1UL << MPU_PERR0_CCM_AAR_Pos) /*!< Bit mask of CCM_AAR field. */ 2447 #define MPU_PERR0_CCM_AAR_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2448 #define MPU_PERR0_CCM_AAR_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2449 2450 /* Bit 14 : ECB region configuration. */ 2451 #define MPU_PERR0_ECB_Pos (14UL) /*!< Position of ECB field. */ 2452 #define MPU_PERR0_ECB_Msk (0x1UL << MPU_PERR0_ECB_Pos) /*!< Bit mask of ECB field. */ 2453 #define MPU_PERR0_ECB_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2454 #define MPU_PERR0_ECB_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2455 2456 /* Bit 13 : RNG region configuration. */ 2457 #define MPU_PERR0_RNG_Pos (13UL) /*!< Position of RNG field. */ 2458 #define MPU_PERR0_RNG_Msk (0x1UL << MPU_PERR0_RNG_Pos) /*!< Bit mask of RNG field. */ 2459 #define MPU_PERR0_RNG_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2460 #define MPU_PERR0_RNG_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2461 2462 /* Bit 12 : TEMP region configuration. */ 2463 #define MPU_PERR0_TEMP_Pos (12UL) /*!< Position of TEMP field. */ 2464 #define MPU_PERR0_TEMP_Msk (0x1UL << MPU_PERR0_TEMP_Pos) /*!< Bit mask of TEMP field. */ 2465 #define MPU_PERR0_TEMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2466 #define MPU_PERR0_TEMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2467 2468 /* Bit 11 : RTC0 region configuration. */ 2469 #define MPU_PERR0_RTC0_Pos (11UL) /*!< Position of RTC0 field. */ 2470 #define MPU_PERR0_RTC0_Msk (0x1UL << MPU_PERR0_RTC0_Pos) /*!< Bit mask of RTC0 field. */ 2471 #define MPU_PERR0_RTC0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2472 #define MPU_PERR0_RTC0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2473 2474 /* Bit 10 : TIMER2 region configuration. */ 2475 #define MPU_PERR0_TIMER2_Pos (10UL) /*!< Position of TIMER2 field. */ 2476 #define MPU_PERR0_TIMER2_Msk (0x1UL << MPU_PERR0_TIMER2_Pos) /*!< Bit mask of TIMER2 field. */ 2477 #define MPU_PERR0_TIMER2_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2478 #define MPU_PERR0_TIMER2_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2479 2480 /* Bit 9 : TIMER1 region configuration. */ 2481 #define MPU_PERR0_TIMER1_Pos (9UL) /*!< Position of TIMER1 field. */ 2482 #define MPU_PERR0_TIMER1_Msk (0x1UL << MPU_PERR0_TIMER1_Pos) /*!< Bit mask of TIMER1 field. */ 2483 #define MPU_PERR0_TIMER1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2484 #define MPU_PERR0_TIMER1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2485 2486 /* Bit 8 : TIMER0 region configuration. */ 2487 #define MPU_PERR0_TIMER0_Pos (8UL) /*!< Position of TIMER0 field. */ 2488 #define MPU_PERR0_TIMER0_Msk (0x1UL << MPU_PERR0_TIMER0_Pos) /*!< Bit mask of TIMER0 field. */ 2489 #define MPU_PERR0_TIMER0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2490 #define MPU_PERR0_TIMER0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2491 2492 /* Bit 7 : ADC region configuration. */ 2493 #define MPU_PERR0_ADC_Pos (7UL) /*!< Position of ADC field. */ 2494 #define MPU_PERR0_ADC_Msk (0x1UL << MPU_PERR0_ADC_Pos) /*!< Bit mask of ADC field. */ 2495 #define MPU_PERR0_ADC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2496 #define MPU_PERR0_ADC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2497 2498 /* Bit 6 : GPIOTE region configuration. */ 2499 #define MPU_PERR0_GPIOTE_Pos (6UL) /*!< Position of GPIOTE field. */ 2500 #define MPU_PERR0_GPIOTE_Msk (0x1UL << MPU_PERR0_GPIOTE_Pos) /*!< Bit mask of GPIOTE field. */ 2501 #define MPU_PERR0_GPIOTE_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2502 #define MPU_PERR0_GPIOTE_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2503 2504 /* Bit 4 : SPI1 and TWI1 region configuration. */ 2505 #define MPU_PERR0_SPI1_TWI1_Pos (4UL) /*!< Position of SPI1_TWI1 field. */ 2506 #define MPU_PERR0_SPI1_TWI1_Msk (0x1UL << MPU_PERR0_SPI1_TWI1_Pos) /*!< Bit mask of SPI1_TWI1 field. */ 2507 #define MPU_PERR0_SPI1_TWI1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2508 #define MPU_PERR0_SPI1_TWI1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2509 2510 /* Bit 3 : SPI0 and TWI0 region configuration. */ 2511 #define MPU_PERR0_SPI0_TWI0_Pos (3UL) /*!< Position of SPI0_TWI0 field. */ 2512 #define MPU_PERR0_SPI0_TWI0_Msk (0x1UL << MPU_PERR0_SPI0_TWI0_Pos) /*!< Bit mask of SPI0_TWI0 field. */ 2513 #define MPU_PERR0_SPI0_TWI0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2514 #define MPU_PERR0_SPI0_TWI0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2515 2516 /* Bit 2 : UART0 region configuration. */ 2517 #define MPU_PERR0_UART0_Pos (2UL) /*!< Position of UART0 field. */ 2518 #define MPU_PERR0_UART0_Msk (0x1UL << MPU_PERR0_UART0_Pos) /*!< Bit mask of UART0 field. */ 2519 #define MPU_PERR0_UART0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2520 #define MPU_PERR0_UART0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2521 2522 /* Bit 1 : RADIO region configuration. */ 2523 #define MPU_PERR0_RADIO_Pos (1UL) /*!< Position of RADIO field. */ 2524 #define MPU_PERR0_RADIO_Msk (0x1UL << MPU_PERR0_RADIO_Pos) /*!< Bit mask of RADIO field. */ 2525 #define MPU_PERR0_RADIO_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2526 #define MPU_PERR0_RADIO_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2527 2528 /* Bit 0 : POWER_CLOCK region configuration. */ 2529 #define MPU_PERR0_POWER_CLOCK_Pos (0UL) /*!< Position of POWER_CLOCK field. */ 2530 #define MPU_PERR0_POWER_CLOCK_Msk (0x1UL << MPU_PERR0_POWER_CLOCK_Pos) /*!< Bit mask of POWER_CLOCK field. */ 2531 #define MPU_PERR0_POWER_CLOCK_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 2532 #define MPU_PERR0_POWER_CLOCK_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 2533 2534 /* Register: MPU_PROTENSET0 */ 2535 /* Description: Erase and write protection bit enable set register. */ 2536 2537 /* Bit 31 : Protection enable for region 31. */ 2538 #define MPU_PROTENSET0_PROTREG31_Pos (31UL) /*!< Position of PROTREG31 field. */ 2539 #define MPU_PROTENSET0_PROTREG31_Msk (0x1UL << MPU_PROTENSET0_PROTREG31_Pos) /*!< Bit mask of PROTREG31 field. */ 2540 #define MPU_PROTENSET0_PROTREG31_Disabled (0UL) /*!< Protection disabled. */ 2541 #define MPU_PROTENSET0_PROTREG31_Enabled (1UL) /*!< Protection enabled. */ 2542 #define MPU_PROTENSET0_PROTREG31_Set (1UL) /*!< Enable protection on write. */ 2543 2544 /* Bit 30 : Protection enable for region 30. */ 2545 #define MPU_PROTENSET0_PROTREG30_Pos (30UL) /*!< Position of PROTREG30 field. */ 2546 #define MPU_PROTENSET0_PROTREG30_Msk (0x1UL << MPU_PROTENSET0_PROTREG30_Pos) /*!< Bit mask of PROTREG30 field. */ 2547 #define MPU_PROTENSET0_PROTREG30_Disabled (0UL) /*!< Protection disabled. */ 2548 #define MPU_PROTENSET0_PROTREG30_Enabled (1UL) /*!< Protection enabled. */ 2549 #define MPU_PROTENSET0_PROTREG30_Set (1UL) /*!< Enable protection on write. */ 2550 2551 /* Bit 29 : Protection enable for region 29. */ 2552 #define MPU_PROTENSET0_PROTREG29_Pos (29UL) /*!< Position of PROTREG29 field. */ 2553 #define MPU_PROTENSET0_PROTREG29_Msk (0x1UL << MPU_PROTENSET0_PROTREG29_Pos) /*!< Bit mask of PROTREG29 field. */ 2554 #define MPU_PROTENSET0_PROTREG29_Disabled (0UL) /*!< Protection disabled. */ 2555 #define MPU_PROTENSET0_PROTREG29_Enabled (1UL) /*!< Protection enabled. */ 2556 #define MPU_PROTENSET0_PROTREG29_Set (1UL) /*!< Enable protection on write. */ 2557 2558 /* Bit 28 : Protection enable for region 28. */ 2559 #define MPU_PROTENSET0_PROTREG28_Pos (28UL) /*!< Position of PROTREG28 field. */ 2560 #define MPU_PROTENSET0_PROTREG28_Msk (0x1UL << MPU_PROTENSET0_PROTREG28_Pos) /*!< Bit mask of PROTREG28 field. */ 2561 #define MPU_PROTENSET0_PROTREG28_Disabled (0UL) /*!< Protection disabled. */ 2562 #define MPU_PROTENSET0_PROTREG28_Enabled (1UL) /*!< Protection enabled. */ 2563 #define MPU_PROTENSET0_PROTREG28_Set (1UL) /*!< Enable protection on write. */ 2564 2565 /* Bit 27 : Protection enable for region 27. */ 2566 #define MPU_PROTENSET0_PROTREG27_Pos (27UL) /*!< Position of PROTREG27 field. */ 2567 #define MPU_PROTENSET0_PROTREG27_Msk (0x1UL << MPU_PROTENSET0_PROTREG27_Pos) /*!< Bit mask of PROTREG27 field. */ 2568 #define MPU_PROTENSET0_PROTREG27_Disabled (0UL) /*!< Protection disabled. */ 2569 #define MPU_PROTENSET0_PROTREG27_Enabled (1UL) /*!< Protection enabled. */ 2570 #define MPU_PROTENSET0_PROTREG27_Set (1UL) /*!< Enable protection on write. */ 2571 2572 /* Bit 26 : Protection enable for region 26. */ 2573 #define MPU_PROTENSET0_PROTREG26_Pos (26UL) /*!< Position of PROTREG26 field. */ 2574 #define MPU_PROTENSET0_PROTREG26_Msk (0x1UL << MPU_PROTENSET0_PROTREG26_Pos) /*!< Bit mask of PROTREG26 field. */ 2575 #define MPU_PROTENSET0_PROTREG26_Disabled (0UL) /*!< Protection disabled. */ 2576 #define MPU_PROTENSET0_PROTREG26_Enabled (1UL) /*!< Protection enabled. */ 2577 #define MPU_PROTENSET0_PROTREG26_Set (1UL) /*!< Enable protection on write. */ 2578 2579 /* Bit 25 : Protection enable for region 25. */ 2580 #define MPU_PROTENSET0_PROTREG25_Pos (25UL) /*!< Position of PROTREG25 field. */ 2581 #define MPU_PROTENSET0_PROTREG25_Msk (0x1UL << MPU_PROTENSET0_PROTREG25_Pos) /*!< Bit mask of PROTREG25 field. */ 2582 #define MPU_PROTENSET0_PROTREG25_Disabled (0UL) /*!< Protection disabled. */ 2583 #define MPU_PROTENSET0_PROTREG25_Enabled (1UL) /*!< Protection enabled. */ 2584 #define MPU_PROTENSET0_PROTREG25_Set (1UL) /*!< Enable protection on write. */ 2585 2586 /* Bit 24 : Protection enable for region 24. */ 2587 #define MPU_PROTENSET0_PROTREG24_Pos (24UL) /*!< Position of PROTREG24 field. */ 2588 #define MPU_PROTENSET0_PROTREG24_Msk (0x1UL << MPU_PROTENSET0_PROTREG24_Pos) /*!< Bit mask of PROTREG24 field. */ 2589 #define MPU_PROTENSET0_PROTREG24_Disabled (0UL) /*!< Protection disabled. */ 2590 #define MPU_PROTENSET0_PROTREG24_Enabled (1UL) /*!< Protection enabled. */ 2591 #define MPU_PROTENSET0_PROTREG24_Set (1UL) /*!< Enable protection on write. */ 2592 2593 /* Bit 23 : Protection enable for region 23. */ 2594 #define MPU_PROTENSET0_PROTREG23_Pos (23UL) /*!< Position of PROTREG23 field. */ 2595 #define MPU_PROTENSET0_PROTREG23_Msk (0x1UL << MPU_PROTENSET0_PROTREG23_Pos) /*!< Bit mask of PROTREG23 field. */ 2596 #define MPU_PROTENSET0_PROTREG23_Disabled (0UL) /*!< Protection disabled. */ 2597 #define MPU_PROTENSET0_PROTREG23_Enabled (1UL) /*!< Protection enabled. */ 2598 #define MPU_PROTENSET0_PROTREG23_Set (1UL) /*!< Enable protection on write. */ 2599 2600 /* Bit 22 : Protection enable for region 22. */ 2601 #define MPU_PROTENSET0_PROTREG22_Pos (22UL) /*!< Position of PROTREG22 field. */ 2602 #define MPU_PROTENSET0_PROTREG22_Msk (0x1UL << MPU_PROTENSET0_PROTREG22_Pos) /*!< Bit mask of PROTREG22 field. */ 2603 #define MPU_PROTENSET0_PROTREG22_Disabled (0UL) /*!< Protection disabled. */ 2604 #define MPU_PROTENSET0_PROTREG22_Enabled (1UL) /*!< Protection enabled. */ 2605 #define MPU_PROTENSET0_PROTREG22_Set (1UL) /*!< Enable protection on write. */ 2606 2607 /* Bit 21 : Protection enable for region 21. */ 2608 #define MPU_PROTENSET0_PROTREG21_Pos (21UL) /*!< Position of PROTREG21 field. */ 2609 #define MPU_PROTENSET0_PROTREG21_Msk (0x1UL << MPU_PROTENSET0_PROTREG21_Pos) /*!< Bit mask of PROTREG21 field. */ 2610 #define MPU_PROTENSET0_PROTREG21_Disabled (0UL) /*!< Protection disabled. */ 2611 #define MPU_PROTENSET0_PROTREG21_Enabled (1UL) /*!< Protection enabled. */ 2612 #define MPU_PROTENSET0_PROTREG21_Set (1UL) /*!< Enable protection on write. */ 2613 2614 /* Bit 20 : Protection enable for region 20. */ 2615 #define MPU_PROTENSET0_PROTREG20_Pos (20UL) /*!< Position of PROTREG20 field. */ 2616 #define MPU_PROTENSET0_PROTREG20_Msk (0x1UL << MPU_PROTENSET0_PROTREG20_Pos) /*!< Bit mask of PROTREG20 field. */ 2617 #define MPU_PROTENSET0_PROTREG20_Disabled (0UL) /*!< Protection disabled. */ 2618 #define MPU_PROTENSET0_PROTREG20_Enabled (1UL) /*!< Protection enabled. */ 2619 #define MPU_PROTENSET0_PROTREG20_Set (1UL) /*!< Enable protection on write. */ 2620 2621 /* Bit 19 : Protection enable for region 19. */ 2622 #define MPU_PROTENSET0_PROTREG19_Pos (19UL) /*!< Position of PROTREG19 field. */ 2623 #define MPU_PROTENSET0_PROTREG19_Msk (0x1UL << MPU_PROTENSET0_PROTREG19_Pos) /*!< Bit mask of PROTREG19 field. */ 2624 #define MPU_PROTENSET0_PROTREG19_Disabled (0UL) /*!< Protection disabled. */ 2625 #define MPU_PROTENSET0_PROTREG19_Enabled (1UL) /*!< Protection enabled. */ 2626 #define MPU_PROTENSET0_PROTREG19_Set (1UL) /*!< Enable protection on write. */ 2627 2628 /* Bit 18 : Protection enable for region 18. */ 2629 #define MPU_PROTENSET0_PROTREG18_Pos (18UL) /*!< Position of PROTREG18 field. */ 2630 #define MPU_PROTENSET0_PROTREG18_Msk (0x1UL << MPU_PROTENSET0_PROTREG18_Pos) /*!< Bit mask of PROTREG18 field. */ 2631 #define MPU_PROTENSET0_PROTREG18_Disabled (0UL) /*!< Protection disabled. */ 2632 #define MPU_PROTENSET0_PROTREG18_Enabled (1UL) /*!< Protection enabled. */ 2633 #define MPU_PROTENSET0_PROTREG18_Set (1UL) /*!< Enable protection on write. */ 2634 2635 /* Bit 17 : Protection enable for region 17. */ 2636 #define MPU_PROTENSET0_PROTREG17_Pos (17UL) /*!< Position of PROTREG17 field. */ 2637 #define MPU_PROTENSET0_PROTREG17_Msk (0x1UL << MPU_PROTENSET0_PROTREG17_Pos) /*!< Bit mask of PROTREG17 field. */ 2638 #define MPU_PROTENSET0_PROTREG17_Disabled (0UL) /*!< Protection disabled. */ 2639 #define MPU_PROTENSET0_PROTREG17_Enabled (1UL) /*!< Protection enabled. */ 2640 #define MPU_PROTENSET0_PROTREG17_Set (1UL) /*!< Enable protection on write. */ 2641 2642 /* Bit 16 : Protection enable for region 16. */ 2643 #define MPU_PROTENSET0_PROTREG16_Pos (16UL) /*!< Position of PROTREG16 field. */ 2644 #define MPU_PROTENSET0_PROTREG16_Msk (0x1UL << MPU_PROTENSET0_PROTREG16_Pos) /*!< Bit mask of PROTREG16 field. */ 2645 #define MPU_PROTENSET0_PROTREG16_Disabled (0UL) /*!< Protection disabled. */ 2646 #define MPU_PROTENSET0_PROTREG16_Enabled (1UL) /*!< Protection enabled. */ 2647 #define MPU_PROTENSET0_PROTREG16_Set (1UL) /*!< Enable protection on write. */ 2648 2649 /* Bit 15 : Protection enable for region 15. */ 2650 #define MPU_PROTENSET0_PROTREG15_Pos (15UL) /*!< Position of PROTREG15 field. */ 2651 #define MPU_PROTENSET0_PROTREG15_Msk (0x1UL << MPU_PROTENSET0_PROTREG15_Pos) /*!< Bit mask of PROTREG15 field. */ 2652 #define MPU_PROTENSET0_PROTREG15_Disabled (0UL) /*!< Protection disabled. */ 2653 #define MPU_PROTENSET0_PROTREG15_Enabled (1UL) /*!< Protection enabled. */ 2654 #define MPU_PROTENSET0_PROTREG15_Set (1UL) /*!< Enable protection on write. */ 2655 2656 /* Bit 14 : Protection enable for region 14. */ 2657 #define MPU_PROTENSET0_PROTREG14_Pos (14UL) /*!< Position of PROTREG14 field. */ 2658 #define MPU_PROTENSET0_PROTREG14_Msk (0x1UL << MPU_PROTENSET0_PROTREG14_Pos) /*!< Bit mask of PROTREG14 field. */ 2659 #define MPU_PROTENSET0_PROTREG14_Disabled (0UL) /*!< Protection disabled. */ 2660 #define MPU_PROTENSET0_PROTREG14_Enabled (1UL) /*!< Protection enabled. */ 2661 #define MPU_PROTENSET0_PROTREG14_Set (1UL) /*!< Enable protection on write. */ 2662 2663 /* Bit 13 : Protection enable for region 13. */ 2664 #define MPU_PROTENSET0_PROTREG13_Pos (13UL) /*!< Position of PROTREG13 field. */ 2665 #define MPU_PROTENSET0_PROTREG13_Msk (0x1UL << MPU_PROTENSET0_PROTREG13_Pos) /*!< Bit mask of PROTREG13 field. */ 2666 #define MPU_PROTENSET0_PROTREG13_Disabled (0UL) /*!< Protection disabled. */ 2667 #define MPU_PROTENSET0_PROTREG13_Enabled (1UL) /*!< Protection enabled. */ 2668 #define MPU_PROTENSET0_PROTREG13_Set (1UL) /*!< Enable protection on write. */ 2669 2670 /* Bit 12 : Protection enable for region 12. */ 2671 #define MPU_PROTENSET0_PROTREG12_Pos (12UL) /*!< Position of PROTREG12 field. */ 2672 #define MPU_PROTENSET0_PROTREG12_Msk (0x1UL << MPU_PROTENSET0_PROTREG12_Pos) /*!< Bit mask of PROTREG12 field. */ 2673 #define MPU_PROTENSET0_PROTREG12_Disabled (0UL) /*!< Protection disabled. */ 2674 #define MPU_PROTENSET0_PROTREG12_Enabled (1UL) /*!< Protection enabled. */ 2675 #define MPU_PROTENSET0_PROTREG12_Set (1UL) /*!< Enable protection on write. */ 2676 2677 /* Bit 11 : Protection enable for region 11. */ 2678 #define MPU_PROTENSET0_PROTREG11_Pos (11UL) /*!< Position of PROTREG11 field. */ 2679 #define MPU_PROTENSET0_PROTREG11_Msk (0x1UL << MPU_PROTENSET0_PROTREG11_Pos) /*!< Bit mask of PROTREG11 field. */ 2680 #define MPU_PROTENSET0_PROTREG11_Disabled (0UL) /*!< Protection disabled. */ 2681 #define MPU_PROTENSET0_PROTREG11_Enabled (1UL) /*!< Protection enabled. */ 2682 #define MPU_PROTENSET0_PROTREG11_Set (1UL) /*!< Enable protection on write. */ 2683 2684 /* Bit 10 : Protection enable for region 10. */ 2685 #define MPU_PROTENSET0_PROTREG10_Pos (10UL) /*!< Position of PROTREG10 field. */ 2686 #define MPU_PROTENSET0_PROTREG10_Msk (0x1UL << MPU_PROTENSET0_PROTREG10_Pos) /*!< Bit mask of PROTREG10 field. */ 2687 #define MPU_PROTENSET0_PROTREG10_Disabled (0UL) /*!< Protection disabled. */ 2688 #define MPU_PROTENSET0_PROTREG10_Enabled (1UL) /*!< Protection enabled. */ 2689 #define MPU_PROTENSET0_PROTREG10_Set (1UL) /*!< Enable protection on write. */ 2690 2691 /* Bit 9 : Protection enable for region 9. */ 2692 #define MPU_PROTENSET0_PROTREG9_Pos (9UL) /*!< Position of PROTREG9 field. */ 2693 #define MPU_PROTENSET0_PROTREG9_Msk (0x1UL << MPU_PROTENSET0_PROTREG9_Pos) /*!< Bit mask of PROTREG9 field. */ 2694 #define MPU_PROTENSET0_PROTREG9_Disabled (0UL) /*!< Protection disabled. */ 2695 #define MPU_PROTENSET0_PROTREG9_Enabled (1UL) /*!< Protection enabled. */ 2696 #define MPU_PROTENSET0_PROTREG9_Set (1UL) /*!< Enable protection on write. */ 2697 2698 /* Bit 8 : Protection enable for region 8. */ 2699 #define MPU_PROTENSET0_PROTREG8_Pos (8UL) /*!< Position of PROTREG8 field. */ 2700 #define MPU_PROTENSET0_PROTREG8_Msk (0x1UL << MPU_PROTENSET0_PROTREG8_Pos) /*!< Bit mask of PROTREG8 field. */ 2701 #define MPU_PROTENSET0_PROTREG8_Disabled (0UL) /*!< Protection disabled. */ 2702 #define MPU_PROTENSET0_PROTREG8_Enabled (1UL) /*!< Protection enabled. */ 2703 #define MPU_PROTENSET0_PROTREG8_Set (1UL) /*!< Enable protection on write. */ 2704 2705 /* Bit 7 : Protection enable for region 7. */ 2706 #define MPU_PROTENSET0_PROTREG7_Pos (7UL) /*!< Position of PROTREG7 field. */ 2707 #define MPU_PROTENSET0_PROTREG7_Msk (0x1UL << MPU_PROTENSET0_PROTREG7_Pos) /*!< Bit mask of PROTREG7 field. */ 2708 #define MPU_PROTENSET0_PROTREG7_Disabled (0UL) /*!< Protection disabled. */ 2709 #define MPU_PROTENSET0_PROTREG7_Enabled (1UL) /*!< Protection enabled. */ 2710 #define MPU_PROTENSET0_PROTREG7_Set (1UL) /*!< Enable protection on write. */ 2711 2712 /* Bit 6 : Protection enable for region 6. */ 2713 #define MPU_PROTENSET0_PROTREG6_Pos (6UL) /*!< Position of PROTREG6 field. */ 2714 #define MPU_PROTENSET0_PROTREG6_Msk (0x1UL << MPU_PROTENSET0_PROTREG6_Pos) /*!< Bit mask of PROTREG6 field. */ 2715 #define MPU_PROTENSET0_PROTREG6_Disabled (0UL) /*!< Protection disabled. */ 2716 #define MPU_PROTENSET0_PROTREG6_Enabled (1UL) /*!< Protection enabled. */ 2717 #define MPU_PROTENSET0_PROTREG6_Set (1UL) /*!< Enable protection on write. */ 2718 2719 /* Bit 5 : Protection enable for region 5. */ 2720 #define MPU_PROTENSET0_PROTREG5_Pos (5UL) /*!< Position of PROTREG5 field. */ 2721 #define MPU_PROTENSET0_PROTREG5_Msk (0x1UL << MPU_PROTENSET0_PROTREG5_Pos) /*!< Bit mask of PROTREG5 field. */ 2722 #define MPU_PROTENSET0_PROTREG5_Disabled (0UL) /*!< Protection disabled. */ 2723 #define MPU_PROTENSET0_PROTREG5_Enabled (1UL) /*!< Protection enabled. */ 2724 #define MPU_PROTENSET0_PROTREG5_Set (1UL) /*!< Enable protection on write. */ 2725 2726 /* Bit 4 : Protection enable for region 4. */ 2727 #define MPU_PROTENSET0_PROTREG4_Pos (4UL) /*!< Position of PROTREG4 field. */ 2728 #define MPU_PROTENSET0_PROTREG4_Msk (0x1UL << MPU_PROTENSET0_PROTREG4_Pos) /*!< Bit mask of PROTREG4 field. */ 2729 #define MPU_PROTENSET0_PROTREG4_Disabled (0UL) /*!< Protection disabled. */ 2730 #define MPU_PROTENSET0_PROTREG4_Enabled (1UL) /*!< Protection enabled. */ 2731 #define MPU_PROTENSET0_PROTREG4_Set (1UL) /*!< Enable protection on write. */ 2732 2733 /* Bit 3 : Protection enable for region 3. */ 2734 #define MPU_PROTENSET0_PROTREG3_Pos (3UL) /*!< Position of PROTREG3 field. */ 2735 #define MPU_PROTENSET0_PROTREG3_Msk (0x1UL << MPU_PROTENSET0_PROTREG3_Pos) /*!< Bit mask of PROTREG3 field. */ 2736 #define MPU_PROTENSET0_PROTREG3_Disabled (0UL) /*!< Protection disabled. */ 2737 #define MPU_PROTENSET0_PROTREG3_Enabled (1UL) /*!< Protection enabled. */ 2738 #define MPU_PROTENSET0_PROTREG3_Set (1UL) /*!< Enable protection on write. */ 2739 2740 /* Bit 2 : Protection enable for region 2. */ 2741 #define MPU_PROTENSET0_PROTREG2_Pos (2UL) /*!< Position of PROTREG2 field. */ 2742 #define MPU_PROTENSET0_PROTREG2_Msk (0x1UL << MPU_PROTENSET0_PROTREG2_Pos) /*!< Bit mask of PROTREG2 field. */ 2743 #define MPU_PROTENSET0_PROTREG2_Disabled (0UL) /*!< Protection disabled. */ 2744 #define MPU_PROTENSET0_PROTREG2_Enabled (1UL) /*!< Protection enabled. */ 2745 #define MPU_PROTENSET0_PROTREG2_Set (1UL) /*!< Enable protection on write. */ 2746 2747 /* Bit 1 : Protection enable for region 1. */ 2748 #define MPU_PROTENSET0_PROTREG1_Pos (1UL) /*!< Position of PROTREG1 field. */ 2749 #define MPU_PROTENSET0_PROTREG1_Msk (0x1UL << MPU_PROTENSET0_PROTREG1_Pos) /*!< Bit mask of PROTREG1 field. */ 2750 #define MPU_PROTENSET0_PROTREG1_Disabled (0UL) /*!< Protection disabled. */ 2751 #define MPU_PROTENSET0_PROTREG1_Enabled (1UL) /*!< Protection enabled. */ 2752 #define MPU_PROTENSET0_PROTREG1_Set (1UL) /*!< Enable protection on write. */ 2753 2754 /* Bit 0 : Protection enable for region 0. */ 2755 #define MPU_PROTENSET0_PROTREG0_Pos (0UL) /*!< Position of PROTREG0 field. */ 2756 #define MPU_PROTENSET0_PROTREG0_Msk (0x1UL << MPU_PROTENSET0_PROTREG0_Pos) /*!< Bit mask of PROTREG0 field. */ 2757 #define MPU_PROTENSET0_PROTREG0_Disabled (0UL) /*!< Protection disabled. */ 2758 #define MPU_PROTENSET0_PROTREG0_Enabled (1UL) /*!< Protection enabled. */ 2759 #define MPU_PROTENSET0_PROTREG0_Set (1UL) /*!< Enable protection on write. */ 2760 2761 /* Register: MPU_PROTENSET1 */ 2762 /* Description: Erase and write protection bit enable set register. */ 2763 2764 /* Bit 31 : Protection enable for region 63. */ 2765 #define MPU_PROTENSET1_PROTREG63_Pos (31UL) /*!< Position of PROTREG63 field. */ 2766 #define MPU_PROTENSET1_PROTREG63_Msk (0x1UL << MPU_PROTENSET1_PROTREG63_Pos) /*!< Bit mask of PROTREG63 field. */ 2767 #define MPU_PROTENSET1_PROTREG63_Disabled (0UL) /*!< Protection disabled. */ 2768 #define MPU_PROTENSET1_PROTREG63_Enabled (1UL) /*!< Protection enabled. */ 2769 #define MPU_PROTENSET1_PROTREG63_Set (1UL) /*!< Enable protection on write. */ 2770 2771 /* Bit 30 : Protection enable for region 62. */ 2772 #define MPU_PROTENSET1_PROTREG62_Pos (30UL) /*!< Position of PROTREG62 field. */ 2773 #define MPU_PROTENSET1_PROTREG62_Msk (0x1UL << MPU_PROTENSET1_PROTREG62_Pos) /*!< Bit mask of PROTREG62 field. */ 2774 #define MPU_PROTENSET1_PROTREG62_Disabled (0UL) /*!< Protection disabled. */ 2775 #define MPU_PROTENSET1_PROTREG62_Enabled (1UL) /*!< Protection enabled. */ 2776 #define MPU_PROTENSET1_PROTREG62_Set (1UL) /*!< Enable protection on write. */ 2777 2778 /* Bit 29 : Protection enable for region 61. */ 2779 #define MPU_PROTENSET1_PROTREG61_Pos (29UL) /*!< Position of PROTREG61 field. */ 2780 #define MPU_PROTENSET1_PROTREG61_Msk (0x1UL << MPU_PROTENSET1_PROTREG61_Pos) /*!< Bit mask of PROTREG61 field. */ 2781 #define MPU_PROTENSET1_PROTREG61_Disabled (0UL) /*!< Protection disabled. */ 2782 #define MPU_PROTENSET1_PROTREG61_Enabled (1UL) /*!< Protection enabled. */ 2783 #define MPU_PROTENSET1_PROTREG61_Set (1UL) /*!< Enable protection on write. */ 2784 2785 /* Bit 28 : Protection enable for region 60. */ 2786 #define MPU_PROTENSET1_PROTREG60_Pos (28UL) /*!< Position of PROTREG60 field. */ 2787 #define MPU_PROTENSET1_PROTREG60_Msk (0x1UL << MPU_PROTENSET1_PROTREG60_Pos) /*!< Bit mask of PROTREG60 field. */ 2788 #define MPU_PROTENSET1_PROTREG60_Disabled (0UL) /*!< Protection disabled. */ 2789 #define MPU_PROTENSET1_PROTREG60_Enabled (1UL) /*!< Protection enabled. */ 2790 #define MPU_PROTENSET1_PROTREG60_Set (1UL) /*!< Enable protection on write. */ 2791 2792 /* Bit 27 : Protection enable for region 59. */ 2793 #define MPU_PROTENSET1_PROTREG59_Pos (27UL) /*!< Position of PROTREG59 field. */ 2794 #define MPU_PROTENSET1_PROTREG59_Msk (0x1UL << MPU_PROTENSET1_PROTREG59_Pos) /*!< Bit mask of PROTREG59 field. */ 2795 #define MPU_PROTENSET1_PROTREG59_Disabled (0UL) /*!< Protection disabled. */ 2796 #define MPU_PROTENSET1_PROTREG59_Enabled (1UL) /*!< Protection enabled. */ 2797 #define MPU_PROTENSET1_PROTREG59_Set (1UL) /*!< Enable protection on write. */ 2798 2799 /* Bit 26 : Protection enable for region 58. */ 2800 #define MPU_PROTENSET1_PROTREG58_Pos (26UL) /*!< Position of PROTREG58 field. */ 2801 #define MPU_PROTENSET1_PROTREG58_Msk (0x1UL << MPU_PROTENSET1_PROTREG58_Pos) /*!< Bit mask of PROTREG58 field. */ 2802 #define MPU_PROTENSET1_PROTREG58_Disabled (0UL) /*!< Protection disabled. */ 2803 #define MPU_PROTENSET1_PROTREG58_Enabled (1UL) /*!< Protection enabled. */ 2804 #define MPU_PROTENSET1_PROTREG58_Set (1UL) /*!< Enable protection on write. */ 2805 2806 /* Bit 25 : Protection enable for region 57. */ 2807 #define MPU_PROTENSET1_PROTREG57_Pos (25UL) /*!< Position of PROTREG57 field. */ 2808 #define MPU_PROTENSET1_PROTREG57_Msk (0x1UL << MPU_PROTENSET1_PROTREG57_Pos) /*!< Bit mask of PROTREG57 field. */ 2809 #define MPU_PROTENSET1_PROTREG57_Disabled (0UL) /*!< Protection disabled. */ 2810 #define MPU_PROTENSET1_PROTREG57_Enabled (1UL) /*!< Protection enabled. */ 2811 #define MPU_PROTENSET1_PROTREG57_Set (1UL) /*!< Enable protection on write. */ 2812 2813 /* Bit 24 : Protection enable for region 56. */ 2814 #define MPU_PROTENSET1_PROTREG56_Pos (24UL) /*!< Position of PROTREG56 field. */ 2815 #define MPU_PROTENSET1_PROTREG56_Msk (0x1UL << MPU_PROTENSET1_PROTREG56_Pos) /*!< Bit mask of PROTREG56 field. */ 2816 #define MPU_PROTENSET1_PROTREG56_Disabled (0UL) /*!< Protection disabled. */ 2817 #define MPU_PROTENSET1_PROTREG56_Enabled (1UL) /*!< Protection enabled. */ 2818 #define MPU_PROTENSET1_PROTREG56_Set (1UL) /*!< Enable protection on write. */ 2819 2820 /* Bit 23 : Protection enable for region 55. */ 2821 #define MPU_PROTENSET1_PROTREG55_Pos (23UL) /*!< Position of PROTREG55 field. */ 2822 #define MPU_PROTENSET1_PROTREG55_Msk (0x1UL << MPU_PROTENSET1_PROTREG55_Pos) /*!< Bit mask of PROTREG55 field. */ 2823 #define MPU_PROTENSET1_PROTREG55_Disabled (0UL) /*!< Protection disabled. */ 2824 #define MPU_PROTENSET1_PROTREG55_Enabled (1UL) /*!< Protection enabled. */ 2825 #define MPU_PROTENSET1_PROTREG55_Set (1UL) /*!< Enable protection on write. */ 2826 2827 /* Bit 22 : Protection enable for region 54. */ 2828 #define MPU_PROTENSET1_PROTREG54_Pos (22UL) /*!< Position of PROTREG54 field. */ 2829 #define MPU_PROTENSET1_PROTREG54_Msk (0x1UL << MPU_PROTENSET1_PROTREG54_Pos) /*!< Bit mask of PROTREG54 field. */ 2830 #define MPU_PROTENSET1_PROTREG54_Disabled (0UL) /*!< Protection disabled. */ 2831 #define MPU_PROTENSET1_PROTREG54_Enabled (1UL) /*!< Protection enabled. */ 2832 #define MPU_PROTENSET1_PROTREG54_Set (1UL) /*!< Enable protection on write. */ 2833 2834 /* Bit 21 : Protection enable for region 53. */ 2835 #define MPU_PROTENSET1_PROTREG53_Pos (21UL) /*!< Position of PROTREG53 field. */ 2836 #define MPU_PROTENSET1_PROTREG53_Msk (0x1UL << MPU_PROTENSET1_PROTREG53_Pos) /*!< Bit mask of PROTREG53 field. */ 2837 #define MPU_PROTENSET1_PROTREG53_Disabled (0UL) /*!< Protection disabled. */ 2838 #define MPU_PROTENSET1_PROTREG53_Enabled (1UL) /*!< Protection enabled. */ 2839 #define MPU_PROTENSET1_PROTREG53_Set (1UL) /*!< Enable protection on write. */ 2840 2841 /* Bit 20 : Protection enable for region 52. */ 2842 #define MPU_PROTENSET1_PROTREG52_Pos (20UL) /*!< Position of PROTREG52 field. */ 2843 #define MPU_PROTENSET1_PROTREG52_Msk (0x1UL << MPU_PROTENSET1_PROTREG52_Pos) /*!< Bit mask of PROTREG52 field. */ 2844 #define MPU_PROTENSET1_PROTREG52_Disabled (0UL) /*!< Protection disabled. */ 2845 #define MPU_PROTENSET1_PROTREG52_Enabled (1UL) /*!< Protection enabled. */ 2846 #define MPU_PROTENSET1_PROTREG52_Set (1UL) /*!< Enable protection on write. */ 2847 2848 /* Bit 19 : Protection enable for region 51. */ 2849 #define MPU_PROTENSET1_PROTREG51_Pos (19UL) /*!< Position of PROTREG51 field. */ 2850 #define MPU_PROTENSET1_PROTREG51_Msk (0x1UL << MPU_PROTENSET1_PROTREG51_Pos) /*!< Bit mask of PROTREG51 field. */ 2851 #define MPU_PROTENSET1_PROTREG51_Disabled (0UL) /*!< Protection disabled. */ 2852 #define MPU_PROTENSET1_PROTREG51_Enabled (1UL) /*!< Protection enabled. */ 2853 #define MPU_PROTENSET1_PROTREG51_Set (1UL) /*!< Enable protection on write. */ 2854 2855 /* Bit 18 : Protection enable for region 50. */ 2856 #define MPU_PROTENSET1_PROTREG50_Pos (18UL) /*!< Position of PROTREG50 field. */ 2857 #define MPU_PROTENSET1_PROTREG50_Msk (0x1UL << MPU_PROTENSET1_PROTREG50_Pos) /*!< Bit mask of PROTREG50 field. */ 2858 #define MPU_PROTENSET1_PROTREG50_Disabled (0UL) /*!< Protection disabled. */ 2859 #define MPU_PROTENSET1_PROTREG50_Enabled (1UL) /*!< Protection enabled. */ 2860 #define MPU_PROTENSET1_PROTREG50_Set (1UL) /*!< Enable protection on write. */ 2861 2862 /* Bit 17 : Protection enable for region 49. */ 2863 #define MPU_PROTENSET1_PROTREG49_Pos (17UL) /*!< Position of PROTREG49 field. */ 2864 #define MPU_PROTENSET1_PROTREG49_Msk (0x1UL << MPU_PROTENSET1_PROTREG49_Pos) /*!< Bit mask of PROTREG49 field. */ 2865 #define MPU_PROTENSET1_PROTREG49_Disabled (0UL) /*!< Protection disabled. */ 2866 #define MPU_PROTENSET1_PROTREG49_Enabled (1UL) /*!< Protection enabled. */ 2867 #define MPU_PROTENSET1_PROTREG49_Set (1UL) /*!< Enable protection on write. */ 2868 2869 /* Bit 16 : Protection enable for region 48. */ 2870 #define MPU_PROTENSET1_PROTREG48_Pos (16UL) /*!< Position of PROTREG48 field. */ 2871 #define MPU_PROTENSET1_PROTREG48_Msk (0x1UL << MPU_PROTENSET1_PROTREG48_Pos) /*!< Bit mask of PROTREG48 field. */ 2872 #define MPU_PROTENSET1_PROTREG48_Disabled (0UL) /*!< Protection disabled. */ 2873 #define MPU_PROTENSET1_PROTREG48_Enabled (1UL) /*!< Protection enabled. */ 2874 #define MPU_PROTENSET1_PROTREG48_Set (1UL) /*!< Enable protection on write. */ 2875 2876 /* Bit 15 : Protection enable for region 47. */ 2877 #define MPU_PROTENSET1_PROTREG47_Pos (15UL) /*!< Position of PROTREG47 field. */ 2878 #define MPU_PROTENSET1_PROTREG47_Msk (0x1UL << MPU_PROTENSET1_PROTREG47_Pos) /*!< Bit mask of PROTREG47 field. */ 2879 #define MPU_PROTENSET1_PROTREG47_Disabled (0UL) /*!< Protection disabled. */ 2880 #define MPU_PROTENSET1_PROTREG47_Enabled (1UL) /*!< Protection enabled. */ 2881 #define MPU_PROTENSET1_PROTREG47_Set (1UL) /*!< Enable protection on write. */ 2882 2883 /* Bit 14 : Protection enable for region 46. */ 2884 #define MPU_PROTENSET1_PROTREG46_Pos (14UL) /*!< Position of PROTREG46 field. */ 2885 #define MPU_PROTENSET1_PROTREG46_Msk (0x1UL << MPU_PROTENSET1_PROTREG46_Pos) /*!< Bit mask of PROTREG46 field. */ 2886 #define MPU_PROTENSET1_PROTREG46_Disabled (0UL) /*!< Protection disabled. */ 2887 #define MPU_PROTENSET1_PROTREG46_Enabled (1UL) /*!< Protection enabled. */ 2888 #define MPU_PROTENSET1_PROTREG46_Set (1UL) /*!< Enable protection on write. */ 2889 2890 /* Bit 13 : Protection enable for region 45. */ 2891 #define MPU_PROTENSET1_PROTREG45_Pos (13UL) /*!< Position of PROTREG45 field. */ 2892 #define MPU_PROTENSET1_PROTREG45_Msk (0x1UL << MPU_PROTENSET1_PROTREG45_Pos) /*!< Bit mask of PROTREG45 field. */ 2893 #define MPU_PROTENSET1_PROTREG45_Disabled (0UL) /*!< Protection disabled. */ 2894 #define MPU_PROTENSET1_PROTREG45_Enabled (1UL) /*!< Protection enabled. */ 2895 #define MPU_PROTENSET1_PROTREG45_Set (1UL) /*!< Enable protection on write. */ 2896 2897 /* Bit 12 : Protection enable for region 44. */ 2898 #define MPU_PROTENSET1_PROTREG44_Pos (12UL) /*!< Position of PROTREG44 field. */ 2899 #define MPU_PROTENSET1_PROTREG44_Msk (0x1UL << MPU_PROTENSET1_PROTREG44_Pos) /*!< Bit mask of PROTREG44 field. */ 2900 #define MPU_PROTENSET1_PROTREG44_Disabled (0UL) /*!< Protection disabled. */ 2901 #define MPU_PROTENSET1_PROTREG44_Enabled (1UL) /*!< Protection enabled. */ 2902 #define MPU_PROTENSET1_PROTREG44_Set (1UL) /*!< Enable protection on write. */ 2903 2904 /* Bit 11 : Protection enable for region 43. */ 2905 #define MPU_PROTENSET1_PROTREG43_Pos (11UL) /*!< Position of PROTREG43 field. */ 2906 #define MPU_PROTENSET1_PROTREG43_Msk (0x1UL << MPU_PROTENSET1_PROTREG43_Pos) /*!< Bit mask of PROTREG43 field. */ 2907 #define MPU_PROTENSET1_PROTREG43_Disabled (0UL) /*!< Protection disabled. */ 2908 #define MPU_PROTENSET1_PROTREG43_Enabled (1UL) /*!< Protection enabled. */ 2909 #define MPU_PROTENSET1_PROTREG43_Set (1UL) /*!< Enable protection on write. */ 2910 2911 /* Bit 10 : Protection enable for region 42. */ 2912 #define MPU_PROTENSET1_PROTREG42_Pos (10UL) /*!< Position of PROTREG42 field. */ 2913 #define MPU_PROTENSET1_PROTREG42_Msk (0x1UL << MPU_PROTENSET1_PROTREG42_Pos) /*!< Bit mask of PROTREG42 field. */ 2914 #define MPU_PROTENSET1_PROTREG42_Disabled (0UL) /*!< Protection disabled. */ 2915 #define MPU_PROTENSET1_PROTREG42_Enabled (1UL) /*!< Protection enabled. */ 2916 #define MPU_PROTENSET1_PROTREG42_Set (1UL) /*!< Enable protection on write. */ 2917 2918 /* Bit 9 : Protection enable for region 41. */ 2919 #define MPU_PROTENSET1_PROTREG41_Pos (9UL) /*!< Position of PROTREG41 field. */ 2920 #define MPU_PROTENSET1_PROTREG41_Msk (0x1UL << MPU_PROTENSET1_PROTREG41_Pos) /*!< Bit mask of PROTREG41 field. */ 2921 #define MPU_PROTENSET1_PROTREG41_Disabled (0UL) /*!< Protection disabled. */ 2922 #define MPU_PROTENSET1_PROTREG41_Enabled (1UL) /*!< Protection enabled. */ 2923 #define MPU_PROTENSET1_PROTREG41_Set (1UL) /*!< Enable protection on write. */ 2924 2925 /* Bit 8 : Protection enable for region 40. */ 2926 #define MPU_PROTENSET1_PROTREG40_Pos (8UL) /*!< Position of PROTREG40 field. */ 2927 #define MPU_PROTENSET1_PROTREG40_Msk (0x1UL << MPU_PROTENSET1_PROTREG40_Pos) /*!< Bit mask of PROTREG40 field. */ 2928 #define MPU_PROTENSET1_PROTREG40_Disabled (0UL) /*!< Protection disabled. */ 2929 #define MPU_PROTENSET1_PROTREG40_Enabled (1UL) /*!< Protection enabled. */ 2930 #define MPU_PROTENSET1_PROTREG40_Set (1UL) /*!< Enable protection on write. */ 2931 2932 /* Bit 7 : Protection enable for region 39. */ 2933 #define MPU_PROTENSET1_PROTREG39_Pos (7UL) /*!< Position of PROTREG39 field. */ 2934 #define MPU_PROTENSET1_PROTREG39_Msk (0x1UL << MPU_PROTENSET1_PROTREG39_Pos) /*!< Bit mask of PROTREG39 field. */ 2935 #define MPU_PROTENSET1_PROTREG39_Disabled (0UL) /*!< Protection disabled. */ 2936 #define MPU_PROTENSET1_PROTREG39_Enabled (1UL) /*!< Protection enabled. */ 2937 #define MPU_PROTENSET1_PROTREG39_Set (1UL) /*!< Enable protection on write. */ 2938 2939 /* Bit 6 : Protection enable for region 38. */ 2940 #define MPU_PROTENSET1_PROTREG38_Pos (6UL) /*!< Position of PROTREG38 field. */ 2941 #define MPU_PROTENSET1_PROTREG38_Msk (0x1UL << MPU_PROTENSET1_PROTREG38_Pos) /*!< Bit mask of PROTREG38 field. */ 2942 #define MPU_PROTENSET1_PROTREG38_Disabled (0UL) /*!< Protection disabled. */ 2943 #define MPU_PROTENSET1_PROTREG38_Enabled (1UL) /*!< Protection enabled. */ 2944 #define MPU_PROTENSET1_PROTREG38_Set (1UL) /*!< Enable protection on write. */ 2945 2946 /* Bit 5 : Protection enable for region 37. */ 2947 #define MPU_PROTENSET1_PROTREG37_Pos (5UL) /*!< Position of PROTREG37 field. */ 2948 #define MPU_PROTENSET1_PROTREG37_Msk (0x1UL << MPU_PROTENSET1_PROTREG37_Pos) /*!< Bit mask of PROTREG37 field. */ 2949 #define MPU_PROTENSET1_PROTREG37_Disabled (0UL) /*!< Protection disabled. */ 2950 #define MPU_PROTENSET1_PROTREG37_Enabled (1UL) /*!< Protection enabled. */ 2951 #define MPU_PROTENSET1_PROTREG37_Set (1UL) /*!< Enable protection on write. */ 2952 2953 /* Bit 4 : Protection enable for region 36. */ 2954 #define MPU_PROTENSET1_PROTREG36_Pos (4UL) /*!< Position of PROTREG36 field. */ 2955 #define MPU_PROTENSET1_PROTREG36_Msk (0x1UL << MPU_PROTENSET1_PROTREG36_Pos) /*!< Bit mask of PROTREG36 field. */ 2956 #define MPU_PROTENSET1_PROTREG36_Disabled (0UL) /*!< Protection disabled. */ 2957 #define MPU_PROTENSET1_PROTREG36_Enabled (1UL) /*!< Protection enabled. */ 2958 #define MPU_PROTENSET1_PROTREG36_Set (1UL) /*!< Enable protection on write. */ 2959 2960 /* Bit 3 : Protection enable for region 35. */ 2961 #define MPU_PROTENSET1_PROTREG35_Pos (3UL) /*!< Position of PROTREG35 field. */ 2962 #define MPU_PROTENSET1_PROTREG35_Msk (0x1UL << MPU_PROTENSET1_PROTREG35_Pos) /*!< Bit mask of PROTREG35 field. */ 2963 #define MPU_PROTENSET1_PROTREG35_Disabled (0UL) /*!< Protection disabled. */ 2964 #define MPU_PROTENSET1_PROTREG35_Enabled (1UL) /*!< Protection enabled. */ 2965 #define MPU_PROTENSET1_PROTREG35_Set (1UL) /*!< Enable protection on write. */ 2966 2967 /* Bit 2 : Protection enable for region 34. */ 2968 #define MPU_PROTENSET1_PROTREG34_Pos (2UL) /*!< Position of PROTREG34 field. */ 2969 #define MPU_PROTENSET1_PROTREG34_Msk (0x1UL << MPU_PROTENSET1_PROTREG34_Pos) /*!< Bit mask of PROTREG34 field. */ 2970 #define MPU_PROTENSET1_PROTREG34_Disabled (0UL) /*!< Protection disabled. */ 2971 #define MPU_PROTENSET1_PROTREG34_Enabled (1UL) /*!< Protection enabled. */ 2972 #define MPU_PROTENSET1_PROTREG34_Set (1UL) /*!< Enable protection on write. */ 2973 2974 /* Bit 1 : Protection enable for region 33. */ 2975 #define MPU_PROTENSET1_PROTREG33_Pos (1UL) /*!< Position of PROTREG33 field. */ 2976 #define MPU_PROTENSET1_PROTREG33_Msk (0x1UL << MPU_PROTENSET1_PROTREG33_Pos) /*!< Bit mask of PROTREG33 field. */ 2977 #define MPU_PROTENSET1_PROTREG33_Disabled (0UL) /*!< Protection disabled. */ 2978 #define MPU_PROTENSET1_PROTREG33_Enabled (1UL) /*!< Protection enabled. */ 2979 #define MPU_PROTENSET1_PROTREG33_Set (1UL) /*!< Enable protection on write. */ 2980 2981 /* Bit 0 : Protection enable for region 32. */ 2982 #define MPU_PROTENSET1_PROTREG32_Pos (0UL) /*!< Position of PROTREG32 field. */ 2983 #define MPU_PROTENSET1_PROTREG32_Msk (0x1UL << MPU_PROTENSET1_PROTREG32_Pos) /*!< Bit mask of PROTREG32 field. */ 2984 #define MPU_PROTENSET1_PROTREG32_Disabled (0UL) /*!< Protection disabled. */ 2985 #define MPU_PROTENSET1_PROTREG32_Enabled (1UL) /*!< Protection enabled. */ 2986 #define MPU_PROTENSET1_PROTREG32_Set (1UL) /*!< Enable protection on write. */ 2987 2988 /* Register: MPU_DISABLEINDEBUG */ 2989 /* Description: Disable erase and write protection mechanism in debug mode. */ 2990 2991 /* Bit 0 : Disable protection mechanism in debug mode. */ 2992 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos (0UL) /*!< Position of DISABLEINDEBUG field. */ 2993 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Msk (0x1UL << MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos) /*!< Bit mask of DISABLEINDEBUG field. */ 2994 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Enabled (0UL) /*!< Protection enabled. */ 2995 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Disabled (1UL) /*!< Protection disabled. */ 2996 2997 /* Register: MPU_PROTBLOCKSIZE */ 2998 /* Description: Erase and write protection block size. */ 2999 3000 /* Bits 1..0 : Erase and write protection block size. */ 3001 #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos (0UL) /*!< Position of PROTBLOCKSIZE field. */ 3002 #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Msk (0x3UL << MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos) /*!< Bit mask of PROTBLOCKSIZE field. */ 3003 #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_4k (0UL) /*!< Erase and write protection block size is 4k. */ 3004 3005 3006 /* Peripheral: NVMC */ 3007 /* Description: Non Volatile Memory Controller. */ 3008 3009 /* Register: NVMC_READY */ 3010 /* Description: Ready flag. */ 3011 3012 /* Bit 0 : NVMC ready. */ 3013 #define NVMC_READY_READY_Pos (0UL) /*!< Position of READY field. */ 3014 #define NVMC_READY_READY_Msk (0x1UL << NVMC_READY_READY_Pos) /*!< Bit mask of READY field. */ 3015 #define NVMC_READY_READY_Busy (0UL) /*!< NVMC is busy (on-going write or erase operation). */ 3016 #define NVMC_READY_READY_Ready (1UL) /*!< NVMC is ready. */ 3017 3018 /* Register: NVMC_CONFIG */ 3019 /* Description: Configuration register. */ 3020 3021 /* Bits 1..0 : Program write enable. */ 3022 #define NVMC_CONFIG_WEN_Pos (0UL) /*!< Position of WEN field. */ 3023 #define NVMC_CONFIG_WEN_Msk (0x3UL << NVMC_CONFIG_WEN_Pos) /*!< Bit mask of WEN field. */ 3024 #define NVMC_CONFIG_WEN_Ren (0x00UL) /*!< Read only access. */ 3025 #define NVMC_CONFIG_WEN_Wen (0x01UL) /*!< Write enabled. */ 3026 #define NVMC_CONFIG_WEN_Een (0x02UL) /*!< Erase enabled. */ 3027 3028 /* Register: NVMC_ERASEALL */ 3029 /* Description: Register for erasing all non-volatile user memory. */ 3030 3031 /* Bit 0 : Starts the erasing of all user NVM (code region 0/1 and UICR registers). */ 3032 #define NVMC_ERASEALL_ERASEALL_Pos (0UL) /*!< Position of ERASEALL field. */ 3033 #define NVMC_ERASEALL_ERASEALL_Msk (0x1UL << NVMC_ERASEALL_ERASEALL_Pos) /*!< Bit mask of ERASEALL field. */ 3034 #define NVMC_ERASEALL_ERASEALL_NoOperation (0UL) /*!< No operation. */ 3035 #define NVMC_ERASEALL_ERASEALL_Erase (1UL) /*!< Start chip erase. */ 3036 3037 /* Register: NVMC_ERASEUICR */ 3038 /* Description: Register for start erasing User Information Congfiguration Registers. */ 3039 3040 /* Bit 0 : It can only be used when all contents of code region 1 are erased. */ 3041 #define NVMC_ERASEUICR_ERASEUICR_Pos (0UL) /*!< Position of ERASEUICR field. */ 3042 #define NVMC_ERASEUICR_ERASEUICR_Msk (0x1UL << NVMC_ERASEUICR_ERASEUICR_Pos) /*!< Bit mask of ERASEUICR field. */ 3043 #define NVMC_ERASEUICR_ERASEUICR_NoOperation (0UL) /*!< No operation. */ 3044 #define NVMC_ERASEUICR_ERASEUICR_Erase (1UL) /*!< Start UICR erase. */ 3045 3046 3047 /* Peripheral: POWER */ 3048 /* Description: Power Control. */ 3049 3050 /* Register: POWER_INTENSET */ 3051 /* Description: Interrupt enable set register. */ 3052 3053 /* Bit 2 : Enable interrupt on POFWARN event. */ 3054 #define POWER_INTENSET_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */ 3055 #define POWER_INTENSET_POFWARN_Msk (0x1UL << POWER_INTENSET_POFWARN_Pos) /*!< Bit mask of POFWARN field. */ 3056 #define POWER_INTENSET_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */ 3057 #define POWER_INTENSET_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */ 3058 #define POWER_INTENSET_POFWARN_Set (1UL) /*!< Enable interrupt on write. */ 3059 3060 /* Register: POWER_INTENCLR */ 3061 /* Description: Interrupt enable clear register. */ 3062 3063 /* Bit 2 : Disable interrupt on POFWARN event. */ 3064 #define POWER_INTENCLR_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */ 3065 #define POWER_INTENCLR_POFWARN_Msk (0x1UL << POWER_INTENCLR_POFWARN_Pos) /*!< Bit mask of POFWARN field. */ 3066 #define POWER_INTENCLR_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */ 3067 #define POWER_INTENCLR_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */ 3068 #define POWER_INTENCLR_POFWARN_Clear (1UL) /*!< Disable interrupt on write. */ 3069 3070 /* Register: POWER_RESETREAS */ 3071 /* Description: Reset reason. */ 3072 3073 /* Bit 18 : Reset from wake-up from OFF mode detected by entering into debug interface mode. */ 3074 #define POWER_RESETREAS_DIF_Pos (18UL) /*!< Position of DIF field. */ 3075 #define POWER_RESETREAS_DIF_Msk (0x1UL << POWER_RESETREAS_DIF_Pos) /*!< Bit mask of DIF field. */ 3076 #define POWER_RESETREAS_DIF_NotDetected (0UL) /*!< Reset not detected. */ 3077 #define POWER_RESETREAS_DIF_Detected (1UL) /*!< Reset detected. */ 3078 3079 /* Bit 17 : Reset from wake-up from OFF mode detected by the use of ANADETECT signal from LPCOMP. */ 3080 #define POWER_RESETREAS_LPCOMP_Pos (17UL) /*!< Position of LPCOMP field. */ 3081 #define POWER_RESETREAS_LPCOMP_Msk (0x1UL << POWER_RESETREAS_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */ 3082 #define POWER_RESETREAS_LPCOMP_NotDetected (0UL) /*!< Reset not detected. */ 3083 #define POWER_RESETREAS_LPCOMP_Detected (1UL) /*!< Reset detected. */ 3084 3085 /* Bit 16 : Reset from wake-up from OFF mode detected by the use of DETECT signal from GPIO. */ 3086 #define POWER_RESETREAS_OFF_Pos (16UL) /*!< Position of OFF field. */ 3087 #define POWER_RESETREAS_OFF_Msk (0x1UL << POWER_RESETREAS_OFF_Pos) /*!< Bit mask of OFF field. */ 3088 #define POWER_RESETREAS_OFF_NotDetected (0UL) /*!< Reset not detected. */ 3089 #define POWER_RESETREAS_OFF_Detected (1UL) /*!< Reset detected. */ 3090 3091 /* Bit 3 : Reset from CPU lock-up detected. */ 3092 #define POWER_RESETREAS_LOCKUP_Pos (3UL) /*!< Position of LOCKUP field. */ 3093 #define POWER_RESETREAS_LOCKUP_Msk (0x1UL << POWER_RESETREAS_LOCKUP_Pos) /*!< Bit mask of LOCKUP field. */ 3094 #define POWER_RESETREAS_LOCKUP_NotDetected (0UL) /*!< Reset not detected. */ 3095 #define POWER_RESETREAS_LOCKUP_Detected (1UL) /*!< Reset detected. */ 3096 3097 /* Bit 2 : Reset from AIRCR.SYSRESETREQ detected. */ 3098 #define POWER_RESETREAS_SREQ_Pos (2UL) /*!< Position of SREQ field. */ 3099 #define POWER_RESETREAS_SREQ_Msk (0x1UL << POWER_RESETREAS_SREQ_Pos) /*!< Bit mask of SREQ field. */ 3100 #define POWER_RESETREAS_SREQ_NotDetected (0UL) /*!< Reset not detected. */ 3101 #define POWER_RESETREAS_SREQ_Detected (1UL) /*!< Reset detected. */ 3102 3103 /* Bit 1 : Reset from watchdog detected. */ 3104 #define POWER_RESETREAS_DOG_Pos (1UL) /*!< Position of DOG field. */ 3105 #define POWER_RESETREAS_DOG_Msk (0x1UL << POWER_RESETREAS_DOG_Pos) /*!< Bit mask of DOG field. */ 3106 #define POWER_RESETREAS_DOG_NotDetected (0UL) /*!< Reset not detected. */ 3107 #define POWER_RESETREAS_DOG_Detected (1UL) /*!< Reset detected. */ 3108 3109 /* Bit 0 : Reset from pin-reset detected. */ 3110 #define POWER_RESETREAS_RESETPIN_Pos (0UL) /*!< Position of RESETPIN field. */ 3111 #define POWER_RESETREAS_RESETPIN_Msk (0x1UL << POWER_RESETREAS_RESETPIN_Pos) /*!< Bit mask of RESETPIN field. */ 3112 #define POWER_RESETREAS_RESETPIN_NotDetected (0UL) /*!< Reset not detected. */ 3113 #define POWER_RESETREAS_RESETPIN_Detected (1UL) /*!< Reset detected. */ 3114 3115 /* Register: POWER_RAMSTATUS */ 3116 /* Description: Ram status register. */ 3117 3118 /* Bit 3 : RAM block 3 status. */ 3119 #define POWER_RAMSTATUS_RAMBLOCK3_Pos (3UL) /*!< Position of RAMBLOCK3 field. */ 3120 #define POWER_RAMSTATUS_RAMBLOCK3_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK3_Pos) /*!< Bit mask of RAMBLOCK3 field. */ 3121 #define POWER_RAMSTATUS_RAMBLOCK3_Off (0UL) /*!< RAM block 3 is off or powering up. */ 3122 #define POWER_RAMSTATUS_RAMBLOCK3_On (1UL) /*!< RAM block 3 is on. */ 3123 3124 /* Bit 2 : RAM block 2 status. */ 3125 #define POWER_RAMSTATUS_RAMBLOCK2_Pos (2UL) /*!< Position of RAMBLOCK2 field. */ 3126 #define POWER_RAMSTATUS_RAMBLOCK2_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK2_Pos) /*!< Bit mask of RAMBLOCK2 field. */ 3127 #define POWER_RAMSTATUS_RAMBLOCK2_Off (0UL) /*!< RAM block 2 is off or powering up. */ 3128 #define POWER_RAMSTATUS_RAMBLOCK2_On (1UL) /*!< RAM block 2 is on. */ 3129 3130 /* Bit 1 : RAM block 1 status. */ 3131 #define POWER_RAMSTATUS_RAMBLOCK1_Pos (1UL) /*!< Position of RAMBLOCK1 field. */ 3132 #define POWER_RAMSTATUS_RAMBLOCK1_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK1_Pos) /*!< Bit mask of RAMBLOCK1 field. */ 3133 #define POWER_RAMSTATUS_RAMBLOCK1_Off (0UL) /*!< RAM block 1 is off or powering up. */ 3134 #define POWER_RAMSTATUS_RAMBLOCK1_On (1UL) /*!< RAM block 1 is on. */ 3135 3136 /* Bit 0 : RAM block 0 status. */ 3137 #define POWER_RAMSTATUS_RAMBLOCK0_Pos (0UL) /*!< Position of RAMBLOCK0 field. */ 3138 #define POWER_RAMSTATUS_RAMBLOCK0_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK0_Pos) /*!< Bit mask of RAMBLOCK0 field. */ 3139 #define POWER_RAMSTATUS_RAMBLOCK0_Off (0UL) /*!< RAM block 0 is off or powering up. */ 3140 #define POWER_RAMSTATUS_RAMBLOCK0_On (1UL) /*!< RAM block 0 is on. */ 3141 3142 /* Register: POWER_SYSTEMOFF */ 3143 /* Description: System off register. */ 3144 3145 /* Bit 0 : Enter system off mode. */ 3146 #define POWER_SYSTEMOFF_SYSTEMOFF_Pos (0UL) /*!< Position of SYSTEMOFF field. */ 3147 #define POWER_SYSTEMOFF_SYSTEMOFF_Msk (0x1UL << POWER_SYSTEMOFF_SYSTEMOFF_Pos) /*!< Bit mask of SYSTEMOFF field. */ 3148 #define POWER_SYSTEMOFF_SYSTEMOFF_Enter (1UL) /*!< Enter system off mode. */ 3149 3150 /* Register: POWER_POFCON */ 3151 /* Description: Power failure configuration. */ 3152 3153 /* Bits 2..1 : Set threshold level. */ 3154 #define POWER_POFCON_THRESHOLD_Pos (1UL) /*!< Position of THRESHOLD field. */ 3155 #define POWER_POFCON_THRESHOLD_Msk (0x3UL << POWER_POFCON_THRESHOLD_Pos) /*!< Bit mask of THRESHOLD field. */ 3156 #define POWER_POFCON_THRESHOLD_V21 (0x00UL) /*!< Set threshold to 2.1Volts. */ 3157 #define POWER_POFCON_THRESHOLD_V23 (0x01UL) /*!< Set threshold to 2.3Volts. */ 3158 #define POWER_POFCON_THRESHOLD_V25 (0x02UL) /*!< Set threshold to 2.5Volts. */ 3159 #define POWER_POFCON_THRESHOLD_V27 (0x03UL) /*!< Set threshold to 2.7Volts. */ 3160 3161 /* Bit 0 : Power failure comparator enable. */ 3162 #define POWER_POFCON_POF_Pos (0UL) /*!< Position of POF field. */ 3163 #define POWER_POFCON_POF_Msk (0x1UL << POWER_POFCON_POF_Pos) /*!< Bit mask of POF field. */ 3164 #define POWER_POFCON_POF_Disabled (0UL) /*!< Disabled. */ 3165 #define POWER_POFCON_POF_Enabled (1UL) /*!< Enabled. */ 3166 3167 /* Register: POWER_GPREGRET */ 3168 /* Description: General purpose retention register. This register is a retained register. */ 3169 3170 /* Bits 7..0 : General purpose retention register. */ 3171 #define POWER_GPREGRET_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */ 3172 #define POWER_GPREGRET_GPREGRET_Msk (0xFFUL << POWER_GPREGRET_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */ 3173 3174 /* Register: POWER_RAMON */ 3175 /* Description: Ram on/off. */ 3176 3177 /* Bit 17 : RAM block 1 behaviour in OFF mode. */ 3178 #define POWER_RAMON_OFFRAM1_Pos (17UL) /*!< Position of OFFRAM1 field. */ 3179 #define POWER_RAMON_OFFRAM1_Msk (0x1UL << POWER_RAMON_OFFRAM1_Pos) /*!< Bit mask of OFFRAM1 field. */ 3180 #define POWER_RAMON_OFFRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in OFF mode. */ 3181 #define POWER_RAMON_OFFRAM1_RAM1On (1UL) /*!< RAM block 1 ON in OFF mode. */ 3182 3183 /* Bit 16 : RAM block 0 behaviour in OFF mode. */ 3184 #define POWER_RAMON_OFFRAM0_Pos (16UL) /*!< Position of OFFRAM0 field. */ 3185 #define POWER_RAMON_OFFRAM0_Msk (0x1UL << POWER_RAMON_OFFRAM0_Pos) /*!< Bit mask of OFFRAM0 field. */ 3186 #define POWER_RAMON_OFFRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in OFF mode. */ 3187 #define POWER_RAMON_OFFRAM0_RAM0On (1UL) /*!< RAM block 0 ON in OFF mode. */ 3188 3189 /* Bit 1 : RAM block 1 behaviour in ON mode. */ 3190 #define POWER_RAMON_ONRAM1_Pos (1UL) /*!< Position of ONRAM1 field. */ 3191 #define POWER_RAMON_ONRAM1_Msk (0x1UL << POWER_RAMON_ONRAM1_Pos) /*!< Bit mask of ONRAM1 field. */ 3192 #define POWER_RAMON_ONRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in ON mode. */ 3193 #define POWER_RAMON_ONRAM1_RAM1On (1UL) /*!< RAM block 1 ON in ON mode. */ 3194 3195 /* Bit 0 : RAM block 0 behaviour in ON mode. */ 3196 #define POWER_RAMON_ONRAM0_Pos (0UL) /*!< Position of ONRAM0 field. */ 3197 #define POWER_RAMON_ONRAM0_Msk (0x1UL << POWER_RAMON_ONRAM0_Pos) /*!< Bit mask of ONRAM0 field. */ 3198 #define POWER_RAMON_ONRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in ON mode. */ 3199 #define POWER_RAMON_ONRAM0_RAM0On (1UL) /*!< RAM block 0 ON in ON mode. */ 3200 3201 /* Register: POWER_RESET */ 3202 /* Description: Pin reset functionality configuration register. This register is a retained register. */ 3203 3204 /* Bit 0 : Enable or disable pin reset in debug interface mode. */ 3205 #define POWER_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 3206 #define POWER_RESET_RESET_Msk (0x1UL << POWER_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 3207 #define POWER_RESET_RESET_Disabled (0UL) /*!< Pin reset in debug interface mode disabled. */ 3208 #define POWER_RESET_RESET_Enabled (1UL) /*!< Pin reset in debug interface mode enabled. */ 3209 3210 /* Register: POWER_RAMONB */ 3211 /* Description: Ram on/off. */ 3212 3213 /* Bit 17 : RAM block 3 behaviour in OFF mode. */ 3214 #define POWER_RAMONB_OFFRAM3_Pos (17UL) /*!< Position of OFFRAM3 field. */ 3215 #define POWER_RAMONB_OFFRAM3_Msk (0x1UL << POWER_RAMONB_OFFRAM3_Pos) /*!< Bit mask of OFFRAM3 field. */ 3216 #define POWER_RAMONB_OFFRAM3_RAM3Off (0UL) /*!< RAM block 3 OFF in OFF mode. */ 3217 #define POWER_RAMONB_OFFRAM3_RAM3On (1UL) /*!< RAM block 3 ON in OFF mode. */ 3218 3219 /* Bit 16 : RAM block 2 behaviour in OFF mode. */ 3220 #define POWER_RAMONB_OFFRAM2_Pos (16UL) /*!< Position of OFFRAM2 field. */ 3221 #define POWER_RAMONB_OFFRAM2_Msk (0x1UL << POWER_RAMONB_OFFRAM2_Pos) /*!< Bit mask of OFFRAM2 field. */ 3222 #define POWER_RAMONB_OFFRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in OFF mode. */ 3223 #define POWER_RAMONB_OFFRAM2_RAM2On (1UL) /*!< RAM block 2 ON in OFF mode. */ 3224 3225 /* Bit 1 : RAM block 3 behaviour in ON mode. */ 3226 #define POWER_RAMONB_ONRAM3_Pos (1UL) /*!< Position of ONRAM3 field. */ 3227 #define POWER_RAMONB_ONRAM3_Msk (0x1UL << POWER_RAMONB_ONRAM3_Pos) /*!< Bit mask of ONRAM3 field. */ 3228 #define POWER_RAMONB_ONRAM3_RAM3Off (0UL) /*!< RAM block 33 OFF in ON mode. */ 3229 #define POWER_RAMONB_ONRAM3_RAM3On (1UL) /*!< RAM block 3 ON in ON mode. */ 3230 3231 /* Bit 0 : RAM block 2 behaviour in ON mode. */ 3232 #define POWER_RAMONB_ONRAM2_Pos (0UL) /*!< Position of ONRAM2 field. */ 3233 #define POWER_RAMONB_ONRAM2_Msk (0x1UL << POWER_RAMONB_ONRAM2_Pos) /*!< Bit mask of ONRAM2 field. */ 3234 #define POWER_RAMONB_ONRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in ON mode. */ 3235 #define POWER_RAMONB_ONRAM2_RAM2On (1UL) /*!< RAM block 2 ON in ON mode. */ 3236 3237 /* Register: POWER_DCDCEN */ 3238 /* Description: DCDC converter enable configuration register. */ 3239 3240 /* Bit 0 : Enable DCDC converter. */ 3241 #define POWER_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */ 3242 #define POWER_DCDCEN_DCDCEN_Msk (0x1UL << POWER_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */ 3243 #define POWER_DCDCEN_DCDCEN_Disabled (0UL) /*!< DCDC converter disabled. */ 3244 #define POWER_DCDCEN_DCDCEN_Enabled (1UL) /*!< DCDC converter enabled. */ 3245 3246 /* Register: POWER_DCDCFORCE */ 3247 /* Description: DCDC power-up force register. */ 3248 3249 /* Bit 1 : DCDC power-up force on. */ 3250 #define POWER_DCDCFORCE_FORCEON_Pos (1UL) /*!< Position of FORCEON field. */ 3251 #define POWER_DCDCFORCE_FORCEON_Msk (0x1UL << POWER_DCDCFORCE_FORCEON_Pos) /*!< Bit mask of FORCEON field. */ 3252 #define POWER_DCDCFORCE_FORCEON_NoForce (0UL) /*!< No force. */ 3253 #define POWER_DCDCFORCE_FORCEON_Force (1UL) /*!< Force. */ 3254 3255 /* Bit 0 : DCDC power-up force off. */ 3256 #define POWER_DCDCFORCE_FORCEOFF_Pos (0UL) /*!< Position of FORCEOFF field. */ 3257 #define POWER_DCDCFORCE_FORCEOFF_Msk (0x1UL << POWER_DCDCFORCE_FORCEOFF_Pos) /*!< Bit mask of FORCEOFF field. */ 3258 #define POWER_DCDCFORCE_FORCEOFF_NoForce (0UL) /*!< No force. */ 3259 #define POWER_DCDCFORCE_FORCEOFF_Force (1UL) /*!< Force. */ 3260 3261 3262 /* Peripheral: PPI */ 3263 /* Description: PPI controller. */ 3264 3265 /* Register: PPI_CHEN */ 3266 /* Description: Channel enable. */ 3267 3268 /* Bit 31 : Enable PPI channel 31. */ 3269 #define PPI_CHEN_CH31_Pos (31UL) /*!< Position of CH31 field. */ 3270 #define PPI_CHEN_CH31_Msk (0x1UL << PPI_CHEN_CH31_Pos) /*!< Bit mask of CH31 field. */ 3271 #define PPI_CHEN_CH31_Disabled (0UL) /*!< Channel disabled. */ 3272 #define PPI_CHEN_CH31_Enabled (1UL) /*!< Channel enabled. */ 3273 3274 /* Bit 30 : Enable PPI channel 30. */ 3275 #define PPI_CHEN_CH30_Pos (30UL) /*!< Position of CH30 field. */ 3276 #define PPI_CHEN_CH30_Msk (0x1UL << PPI_CHEN_CH30_Pos) /*!< Bit mask of CH30 field. */ 3277 #define PPI_CHEN_CH30_Disabled (0UL) /*!< Channel disabled. */ 3278 #define PPI_CHEN_CH30_Enabled (1UL) /*!< Channel enabled. */ 3279 3280 /* Bit 29 : Enable PPI channel 29. */ 3281 #define PPI_CHEN_CH29_Pos (29UL) /*!< Position of CH29 field. */ 3282 #define PPI_CHEN_CH29_Msk (0x1UL << PPI_CHEN_CH29_Pos) /*!< Bit mask of CH29 field. */ 3283 #define PPI_CHEN_CH29_Disabled (0UL) /*!< Channel disabled. */ 3284 #define PPI_CHEN_CH29_Enabled (1UL) /*!< Channel enabled. */ 3285 3286 /* Bit 28 : Enable PPI channel 28. */ 3287 #define PPI_CHEN_CH28_Pos (28UL) /*!< Position of CH28 field. */ 3288 #define PPI_CHEN_CH28_Msk (0x1UL << PPI_CHEN_CH28_Pos) /*!< Bit mask of CH28 field. */ 3289 #define PPI_CHEN_CH28_Disabled (0UL) /*!< Channel disabled. */ 3290 #define PPI_CHEN_CH28_Enabled (1UL) /*!< Channel enabled. */ 3291 3292 /* Bit 27 : Enable PPI channel 27. */ 3293 #define PPI_CHEN_CH27_Pos (27UL) /*!< Position of CH27 field. */ 3294 #define PPI_CHEN_CH27_Msk (0x1UL << PPI_CHEN_CH27_Pos) /*!< Bit mask of CH27 field. */ 3295 #define PPI_CHEN_CH27_Disabled (0UL) /*!< Channel disabled. */ 3296 #define PPI_CHEN_CH27_Enabled (1UL) /*!< Channel enabled. */ 3297 3298 /* Bit 26 : Enable PPI channel 26. */ 3299 #define PPI_CHEN_CH26_Pos (26UL) /*!< Position of CH26 field. */ 3300 #define PPI_CHEN_CH26_Msk (0x1UL << PPI_CHEN_CH26_Pos) /*!< Bit mask of CH26 field. */ 3301 #define PPI_CHEN_CH26_Disabled (0UL) /*!< Channel disabled. */ 3302 #define PPI_CHEN_CH26_Enabled (1UL) /*!< Channel enabled. */ 3303 3304 /* Bit 25 : Enable PPI channel 25. */ 3305 #define PPI_CHEN_CH25_Pos (25UL) /*!< Position of CH25 field. */ 3306 #define PPI_CHEN_CH25_Msk (0x1UL << PPI_CHEN_CH25_Pos) /*!< Bit mask of CH25 field. */ 3307 #define PPI_CHEN_CH25_Disabled (0UL) /*!< Channel disabled. */ 3308 #define PPI_CHEN_CH25_Enabled (1UL) /*!< Channel enabled. */ 3309 3310 /* Bit 24 : Enable PPI channel 24. */ 3311 #define PPI_CHEN_CH24_Pos (24UL) /*!< Position of CH24 field. */ 3312 #define PPI_CHEN_CH24_Msk (0x1UL << PPI_CHEN_CH24_Pos) /*!< Bit mask of CH24 field. */ 3313 #define PPI_CHEN_CH24_Disabled (0UL) /*!< Channel disabled. */ 3314 #define PPI_CHEN_CH24_Enabled (1UL) /*!< Channel enabled. */ 3315 3316 /* Bit 23 : Enable PPI channel 23. */ 3317 #define PPI_CHEN_CH23_Pos (23UL) /*!< Position of CH23 field. */ 3318 #define PPI_CHEN_CH23_Msk (0x1UL << PPI_CHEN_CH23_Pos) /*!< Bit mask of CH23 field. */ 3319 #define PPI_CHEN_CH23_Disabled (0UL) /*!< Channel disabled. */ 3320 #define PPI_CHEN_CH23_Enabled (1UL) /*!< Channel enabled. */ 3321 3322 /* Bit 22 : Enable PPI channel 22. */ 3323 #define PPI_CHEN_CH22_Pos (22UL) /*!< Position of CH22 field. */ 3324 #define PPI_CHEN_CH22_Msk (0x1UL << PPI_CHEN_CH22_Pos) /*!< Bit mask of CH22 field. */ 3325 #define PPI_CHEN_CH22_Disabled (0UL) /*!< Channel disabled. */ 3326 #define PPI_CHEN_CH22_Enabled (1UL) /*!< Channel enabled. */ 3327 3328 /* Bit 21 : Enable PPI channel 21. */ 3329 #define PPI_CHEN_CH21_Pos (21UL) /*!< Position of CH21 field. */ 3330 #define PPI_CHEN_CH21_Msk (0x1UL << PPI_CHEN_CH21_Pos) /*!< Bit mask of CH21 field. */ 3331 #define PPI_CHEN_CH21_Disabled (0UL) /*!< Channel disabled. */ 3332 #define PPI_CHEN_CH21_Enabled (1UL) /*!< Channel enabled. */ 3333 3334 /* Bit 20 : Enable PPI channel 20. */ 3335 #define PPI_CHEN_CH20_Pos (20UL) /*!< Position of CH20 field. */ 3336 #define PPI_CHEN_CH20_Msk (0x1UL << PPI_CHEN_CH20_Pos) /*!< Bit mask of CH20 field. */ 3337 #define PPI_CHEN_CH20_Disabled (0UL) /*!< Channel disabled. */ 3338 #define PPI_CHEN_CH20_Enabled (1UL) /*!< Channel enabled. */ 3339 3340 /* Bit 15 : Enable PPI channel 15. */ 3341 #define PPI_CHEN_CH15_Pos (15UL) /*!< Position of CH15 field. */ 3342 #define PPI_CHEN_CH15_Msk (0x1UL << PPI_CHEN_CH15_Pos) /*!< Bit mask of CH15 field. */ 3343 #define PPI_CHEN_CH15_Disabled (0UL) /*!< Channel disabled. */ 3344 #define PPI_CHEN_CH15_Enabled (1UL) /*!< Channel enabled. */ 3345 3346 /* Bit 14 : Enable PPI channel 14. */ 3347 #define PPI_CHEN_CH14_Pos (14UL) /*!< Position of CH14 field. */ 3348 #define PPI_CHEN_CH14_Msk (0x1UL << PPI_CHEN_CH14_Pos) /*!< Bit mask of CH14 field. */ 3349 #define PPI_CHEN_CH14_Disabled (0UL) /*!< Channel disabled. */ 3350 #define PPI_CHEN_CH14_Enabled (1UL) /*!< Channel enabled. */ 3351 3352 /* Bit 13 : Enable PPI channel 13. */ 3353 #define PPI_CHEN_CH13_Pos (13UL) /*!< Position of CH13 field. */ 3354 #define PPI_CHEN_CH13_Msk (0x1UL << PPI_CHEN_CH13_Pos) /*!< Bit mask of CH13 field. */ 3355 #define PPI_CHEN_CH13_Disabled (0UL) /*!< Channel disabled. */ 3356 #define PPI_CHEN_CH13_Enabled (1UL) /*!< Channel enabled. */ 3357 3358 /* Bit 12 : Enable PPI channel 12. */ 3359 #define PPI_CHEN_CH12_Pos (12UL) /*!< Position of CH12 field. */ 3360 #define PPI_CHEN_CH12_Msk (0x1UL << PPI_CHEN_CH12_Pos) /*!< Bit mask of CH12 field. */ 3361 #define PPI_CHEN_CH12_Disabled (0UL) /*!< Channel disabled. */ 3362 #define PPI_CHEN_CH12_Enabled (1UL) /*!< Channel enabled. */ 3363 3364 /* Bit 11 : Enable PPI channel 11. */ 3365 #define PPI_CHEN_CH11_Pos (11UL) /*!< Position of CH11 field. */ 3366 #define PPI_CHEN_CH11_Msk (0x1UL << PPI_CHEN_CH11_Pos) /*!< Bit mask of CH11 field. */ 3367 #define PPI_CHEN_CH11_Disabled (0UL) /*!< Channel disabled. */ 3368 #define PPI_CHEN_CH11_Enabled (1UL) /*!< Channel enabled. */ 3369 3370 /* Bit 10 : Enable PPI channel 10. */ 3371 #define PPI_CHEN_CH10_Pos (10UL) /*!< Position of CH10 field. */ 3372 #define PPI_CHEN_CH10_Msk (0x1UL << PPI_CHEN_CH10_Pos) /*!< Bit mask of CH10 field. */ 3373 #define PPI_CHEN_CH10_Disabled (0UL) /*!< Channel disabled. */ 3374 #define PPI_CHEN_CH10_Enabled (1UL) /*!< Channel enabled. */ 3375 3376 /* Bit 9 : Enable PPI channel 9. */ 3377 #define PPI_CHEN_CH9_Pos (9UL) /*!< Position of CH9 field. */ 3378 #define PPI_CHEN_CH9_Msk (0x1UL << PPI_CHEN_CH9_Pos) /*!< Bit mask of CH9 field. */ 3379 #define PPI_CHEN_CH9_Disabled (0UL) /*!< Channel disabled. */ 3380 #define PPI_CHEN_CH9_Enabled (1UL) /*!< Channel enabled. */ 3381 3382 /* Bit 8 : Enable PPI channel 8. */ 3383 #define PPI_CHEN_CH8_Pos (8UL) /*!< Position of CH8 field. */ 3384 #define PPI_CHEN_CH8_Msk (0x1UL << PPI_CHEN_CH8_Pos) /*!< Bit mask of CH8 field. */ 3385 #define PPI_CHEN_CH8_Disabled (0UL) /*!< Channel disabled. */ 3386 #define PPI_CHEN_CH8_Enabled (1UL) /*!< Channel enabled. */ 3387 3388 /* Bit 7 : Enable PPI channel 7. */ 3389 #define PPI_CHEN_CH7_Pos (7UL) /*!< Position of CH7 field. */ 3390 #define PPI_CHEN_CH7_Msk (0x1UL << PPI_CHEN_CH7_Pos) /*!< Bit mask of CH7 field. */ 3391 #define PPI_CHEN_CH7_Disabled (0UL) /*!< Channel disabled. */ 3392 #define PPI_CHEN_CH7_Enabled (1UL) /*!< Channel enabled. */ 3393 3394 /* Bit 6 : Enable PPI channel 6. */ 3395 #define PPI_CHEN_CH6_Pos (6UL) /*!< Position of CH6 field. */ 3396 #define PPI_CHEN_CH6_Msk (0x1UL << PPI_CHEN_CH6_Pos) /*!< Bit mask of CH6 field. */ 3397 #define PPI_CHEN_CH6_Disabled (0UL) /*!< Channel disabled. */ 3398 #define PPI_CHEN_CH6_Enabled (1UL) /*!< Channel enabled. */ 3399 3400 /* Bit 5 : Enable PPI channel 5. */ 3401 #define PPI_CHEN_CH5_Pos (5UL) /*!< Position of CH5 field. */ 3402 #define PPI_CHEN_CH5_Msk (0x1UL << PPI_CHEN_CH5_Pos) /*!< Bit mask of CH5 field. */ 3403 #define PPI_CHEN_CH5_Disabled (0UL) /*!< Channel disabled. */ 3404 #define PPI_CHEN_CH5_Enabled (1UL) /*!< Channel enabled. */ 3405 3406 /* Bit 4 : Enable PPI channel 4. */ 3407 #define PPI_CHEN_CH4_Pos (4UL) /*!< Position of CH4 field. */ 3408 #define PPI_CHEN_CH4_Msk (0x1UL << PPI_CHEN_CH4_Pos) /*!< Bit mask of CH4 field. */ 3409 #define PPI_CHEN_CH4_Disabled (0UL) /*!< Channel disabled. */ 3410 #define PPI_CHEN_CH4_Enabled (1UL) /*!< Channel enabled. */ 3411 3412 /* Bit 3 : Enable PPI channel 3. */ 3413 #define PPI_CHEN_CH3_Pos (3UL) /*!< Position of CH3 field. */ 3414 #define PPI_CHEN_CH3_Msk (0x1UL << PPI_CHEN_CH3_Pos) /*!< Bit mask of CH3 field. */ 3415 #define PPI_CHEN_CH3_Disabled (0UL) /*!< Channel disabled */ 3416 #define PPI_CHEN_CH3_Enabled (1UL) /*!< Channel enabled */ 3417 3418 /* Bit 2 : Enable PPI channel 2. */ 3419 #define PPI_CHEN_CH2_Pos (2UL) /*!< Position of CH2 field. */ 3420 #define PPI_CHEN_CH2_Msk (0x1UL << PPI_CHEN_CH2_Pos) /*!< Bit mask of CH2 field. */ 3421 #define PPI_CHEN_CH2_Disabled (0UL) /*!< Channel disabled. */ 3422 #define PPI_CHEN_CH2_Enabled (1UL) /*!< Channel enabled. */ 3423 3424 /* Bit 1 : Enable PPI channel 1. */ 3425 #define PPI_CHEN_CH1_Pos (1UL) /*!< Position of CH1 field. */ 3426 #define PPI_CHEN_CH1_Msk (0x1UL << PPI_CHEN_CH1_Pos) /*!< Bit mask of CH1 field. */ 3427 #define PPI_CHEN_CH1_Disabled (0UL) /*!< Channel disabled. */ 3428 #define PPI_CHEN_CH1_Enabled (1UL) /*!< Channel enabled. */ 3429 3430 /* Bit 0 : Enable PPI channel 0. */ 3431 #define PPI_CHEN_CH0_Pos (0UL) /*!< Position of CH0 field. */ 3432 #define PPI_CHEN_CH0_Msk (0x1UL << PPI_CHEN_CH0_Pos) /*!< Bit mask of CH0 field. */ 3433 #define PPI_CHEN_CH0_Disabled (0UL) /*!< Channel disabled. */ 3434 #define PPI_CHEN_CH0_Enabled (1UL) /*!< Channel enabled. */ 3435 3436 /* Register: PPI_CHENSET */ 3437 /* Description: Channel enable set. */ 3438 3439 /* Bit 31 : Enable PPI channel 31. */ 3440 #define PPI_CHENSET_CH31_Pos (31UL) /*!< Position of CH31 field. */ 3441 #define PPI_CHENSET_CH31_Msk (0x1UL << PPI_CHENSET_CH31_Pos) /*!< Bit mask of CH31 field. */ 3442 #define PPI_CHENSET_CH31_Disabled (0UL) /*!< Channel disabled. */ 3443 #define PPI_CHENSET_CH31_Enabled (1UL) /*!< Channel enabled. */ 3444 #define PPI_CHENSET_CH31_Set (1UL) /*!< Enable channel on write. */ 3445 3446 /* Bit 30 : Enable PPI channel 30. */ 3447 #define PPI_CHENSET_CH30_Pos (30UL) /*!< Position of CH30 field. */ 3448 #define PPI_CHENSET_CH30_Msk (0x1UL << PPI_CHENSET_CH30_Pos) /*!< Bit mask of CH30 field. */ 3449 #define PPI_CHENSET_CH30_Disabled (0UL) /*!< Channel disabled. */ 3450 #define PPI_CHENSET_CH30_Enabled (1UL) /*!< Channel enabled. */ 3451 #define PPI_CHENSET_CH30_Set (1UL) /*!< Enable channel on write. */ 3452 3453 /* Bit 29 : Enable PPI channel 29. */ 3454 #define PPI_CHENSET_CH29_Pos (29UL) /*!< Position of CH29 field. */ 3455 #define PPI_CHENSET_CH29_Msk (0x1UL << PPI_CHENSET_CH29_Pos) /*!< Bit mask of CH29 field. */ 3456 #define PPI_CHENSET_CH29_Disabled (0UL) /*!< Channel disabled. */ 3457 #define PPI_CHENSET_CH29_Enabled (1UL) /*!< Channel enabled. */ 3458 #define PPI_CHENSET_CH29_Set (1UL) /*!< Enable channel on write. */ 3459 3460 /* Bit 28 : Enable PPI channel 28. */ 3461 #define PPI_CHENSET_CH28_Pos (28UL) /*!< Position of CH28 field. */ 3462 #define PPI_CHENSET_CH28_Msk (0x1UL << PPI_CHENSET_CH28_Pos) /*!< Bit mask of CH28 field. */ 3463 #define PPI_CHENSET_CH28_Disabled (0UL) /*!< Channel disabled. */ 3464 #define PPI_CHENSET_CH28_Enabled (1UL) /*!< Channel enabled. */ 3465 #define PPI_CHENSET_CH28_Set (1UL) /*!< Enable channel on write. */ 3466 3467 /* Bit 27 : Enable PPI channel 27. */ 3468 #define PPI_CHENSET_CH27_Pos (27UL) /*!< Position of CH27 field. */ 3469 #define PPI_CHENSET_CH27_Msk (0x1UL << PPI_CHENSET_CH27_Pos) /*!< Bit mask of CH27 field. */ 3470 #define PPI_CHENSET_CH27_Disabled (0UL) /*!< Channel disabled. */ 3471 #define PPI_CHENSET_CH27_Enabled (1UL) /*!< Channel enabled. */ 3472 #define PPI_CHENSET_CH27_Set (1UL) /*!< Enable channel on write. */ 3473 3474 /* Bit 26 : Enable PPI channel 26. */ 3475 #define PPI_CHENSET_CH26_Pos (26UL) /*!< Position of CH26 field. */ 3476 #define PPI_CHENSET_CH26_Msk (0x1UL << PPI_CHENSET_CH26_Pos) /*!< Bit mask of CH26 field. */ 3477 #define PPI_CHENSET_CH26_Disabled (0UL) /*!< Channel disabled. */ 3478 #define PPI_CHENSET_CH26_Enabled (1UL) /*!< Channel enabled. */ 3479 #define PPI_CHENSET_CH26_Set (1UL) /*!< Enable channel on write. */ 3480 3481 /* Bit 25 : Enable PPI channel 25. */ 3482 #define PPI_CHENSET_CH25_Pos (25UL) /*!< Position of CH25 field. */ 3483 #define PPI_CHENSET_CH25_Msk (0x1UL << PPI_CHENSET_CH25_Pos) /*!< Bit mask of CH25 field. */ 3484 #define PPI_CHENSET_CH25_Disabled (0UL) /*!< Channel disabled. */ 3485 #define PPI_CHENSET_CH25_Enabled (1UL) /*!< Channel enabled. */ 3486 #define PPI_CHENSET_CH25_Set (1UL) /*!< Enable channel on write. */ 3487 3488 /* Bit 24 : Enable PPI channel 24. */ 3489 #define PPI_CHENSET_CH24_Pos (24UL) /*!< Position of CH24 field. */ 3490 #define PPI_CHENSET_CH24_Msk (0x1UL << PPI_CHENSET_CH24_Pos) /*!< Bit mask of CH24 field. */ 3491 #define PPI_CHENSET_CH24_Disabled (0UL) /*!< Channel disabled. */ 3492 #define PPI_CHENSET_CH24_Enabled (1UL) /*!< Channel enabled. */ 3493 #define PPI_CHENSET_CH24_Set (1UL) /*!< Enable channel on write. */ 3494 3495 /* Bit 23 : Enable PPI channel 23. */ 3496 #define PPI_CHENSET_CH23_Pos (23UL) /*!< Position of CH23 field. */ 3497 #define PPI_CHENSET_CH23_Msk (0x1UL << PPI_CHENSET_CH23_Pos) /*!< Bit mask of CH23 field. */ 3498 #define PPI_CHENSET_CH23_Disabled (0UL) /*!< Channel disabled. */ 3499 #define PPI_CHENSET_CH23_Enabled (1UL) /*!< Channel enabled. */ 3500 #define PPI_CHENSET_CH23_Set (1UL) /*!< Enable channel on write. */ 3501 3502 /* Bit 22 : Enable PPI channel 22. */ 3503 #define PPI_CHENSET_CH22_Pos (22UL) /*!< Position of CH22 field. */ 3504 #define PPI_CHENSET_CH22_Msk (0x1UL << PPI_CHENSET_CH22_Pos) /*!< Bit mask of CH22 field. */ 3505 #define PPI_CHENSET_CH22_Disabled (0UL) /*!< Channel disabled. */ 3506 #define PPI_CHENSET_CH22_Enabled (1UL) /*!< Channel enabled. */ 3507 #define PPI_CHENSET_CH22_Set (1UL) /*!< Enable channel on write. */ 3508 3509 /* Bit 21 : Enable PPI channel 21. */ 3510 #define PPI_CHENSET_CH21_Pos (21UL) /*!< Position of CH21 field. */ 3511 #define PPI_CHENSET_CH21_Msk (0x1UL << PPI_CHENSET_CH21_Pos) /*!< Bit mask of CH21 field. */ 3512 #define PPI_CHENSET_CH21_Disabled (0UL) /*!< Channel disabled. */ 3513 #define PPI_CHENSET_CH21_Enabled (1UL) /*!< Channel enabled. */ 3514 #define PPI_CHENSET_CH21_Set (1UL) /*!< Enable channel on write. */ 3515 3516 /* Bit 20 : Enable PPI channel 20. */ 3517 #define PPI_CHENSET_CH20_Pos (20UL) /*!< Position of CH20 field. */ 3518 #define PPI_CHENSET_CH20_Msk (0x1UL << PPI_CHENSET_CH20_Pos) /*!< Bit mask of CH20 field. */ 3519 #define PPI_CHENSET_CH20_Disabled (0UL) /*!< Channel disabled. */ 3520 #define PPI_CHENSET_CH20_Enabled (1UL) /*!< Channel enabled. */ 3521 #define PPI_CHENSET_CH20_Set (1UL) /*!< Enable channel on write. */ 3522 3523 /* Bit 15 : Enable PPI channel 15. */ 3524 #define PPI_CHENSET_CH15_Pos (15UL) /*!< Position of CH15 field. */ 3525 #define PPI_CHENSET_CH15_Msk (0x1UL << PPI_CHENSET_CH15_Pos) /*!< Bit mask of CH15 field. */ 3526 #define PPI_CHENSET_CH15_Disabled (0UL) /*!< Channel disabled. */ 3527 #define PPI_CHENSET_CH15_Enabled (1UL) /*!< Channel enabled. */ 3528 #define PPI_CHENSET_CH15_Set (1UL) /*!< Enable channel on write. */ 3529 3530 /* Bit 14 : Enable PPI channel 14. */ 3531 #define PPI_CHENSET_CH14_Pos (14UL) /*!< Position of CH14 field. */ 3532 #define PPI_CHENSET_CH14_Msk (0x1UL << PPI_CHENSET_CH14_Pos) /*!< Bit mask of CH14 field. */ 3533 #define PPI_CHENSET_CH14_Disabled (0UL) /*!< Channel disabled. */ 3534 #define PPI_CHENSET_CH14_Enabled (1UL) /*!< Channel enabled. */ 3535 #define PPI_CHENSET_CH14_Set (1UL) /*!< Enable channel on write. */ 3536 3537 /* Bit 13 : Enable PPI channel 13. */ 3538 #define PPI_CHENSET_CH13_Pos (13UL) /*!< Position of CH13 field. */ 3539 #define PPI_CHENSET_CH13_Msk (0x1UL << PPI_CHENSET_CH13_Pos) /*!< Bit mask of CH13 field. */ 3540 #define PPI_CHENSET_CH13_Disabled (0UL) /*!< Channel disabled. */ 3541 #define PPI_CHENSET_CH13_Enabled (1UL) /*!< Channel enabled. */ 3542 #define PPI_CHENSET_CH13_Set (1UL) /*!< Enable channel on write. */ 3543 3544 /* Bit 12 : Enable PPI channel 12. */ 3545 #define PPI_CHENSET_CH12_Pos (12UL) /*!< Position of CH12 field. */ 3546 #define PPI_CHENSET_CH12_Msk (0x1UL << PPI_CHENSET_CH12_Pos) /*!< Bit mask of CH12 field. */ 3547 #define PPI_CHENSET_CH12_Disabled (0UL) /*!< Channel disabled. */ 3548 #define PPI_CHENSET_CH12_Enabled (1UL) /*!< Channel enabled. */ 3549 #define PPI_CHENSET_CH12_Set (1UL) /*!< Enable channel on write. */ 3550 3551 /* Bit 11 : Enable PPI channel 11. */ 3552 #define PPI_CHENSET_CH11_Pos (11UL) /*!< Position of CH11 field. */ 3553 #define PPI_CHENSET_CH11_Msk (0x1UL << PPI_CHENSET_CH11_Pos) /*!< Bit mask of CH11 field. */ 3554 #define PPI_CHENSET_CH11_Disabled (0UL) /*!< Channel disabled. */ 3555 #define PPI_CHENSET_CH11_Enabled (1UL) /*!< Channel enabled. */ 3556 #define PPI_CHENSET_CH11_Set (1UL) /*!< Enable channel on write. */ 3557 3558 /* Bit 10 : Enable PPI channel 10. */ 3559 #define PPI_CHENSET_CH10_Pos (10UL) /*!< Position of CH10 field. */ 3560 #define PPI_CHENSET_CH10_Msk (0x1UL << PPI_CHENSET_CH10_Pos) /*!< Bit mask of CH10 field. */ 3561 #define PPI_CHENSET_CH10_Disabled (0UL) /*!< Channel disabled. */ 3562 #define PPI_CHENSET_CH10_Enabled (1UL) /*!< Channel enabled. */ 3563 #define PPI_CHENSET_CH10_Set (1UL) /*!< Enable channel on write. */ 3564 3565 /* Bit 9 : Enable PPI channel 9. */ 3566 #define PPI_CHENSET_CH9_Pos (9UL) /*!< Position of CH9 field. */ 3567 #define PPI_CHENSET_CH9_Msk (0x1UL << PPI_CHENSET_CH9_Pos) /*!< Bit mask of CH9 field. */ 3568 #define PPI_CHENSET_CH9_Disabled (0UL) /*!< Channel disabled. */ 3569 #define PPI_CHENSET_CH9_Enabled (1UL) /*!< Channel enabled. */ 3570 #define PPI_CHENSET_CH9_Set (1UL) /*!< Enable channel on write. */ 3571 3572 /* Bit 8 : Enable PPI channel 8. */ 3573 #define PPI_CHENSET_CH8_Pos (8UL) /*!< Position of CH8 field. */ 3574 #define PPI_CHENSET_CH8_Msk (0x1UL << PPI_CHENSET_CH8_Pos) /*!< Bit mask of CH8 field. */ 3575 #define PPI_CHENSET_CH8_Disabled (0UL) /*!< Channel disabled. */ 3576 #define PPI_CHENSET_CH8_Enabled (1UL) /*!< Channel enabled. */ 3577 #define PPI_CHENSET_CH8_Set (1UL) /*!< Enable channel on write. */ 3578 3579 /* Bit 7 : Enable PPI channel 7. */ 3580 #define PPI_CHENSET_CH7_Pos (7UL) /*!< Position of CH7 field. */ 3581 #define PPI_CHENSET_CH7_Msk (0x1UL << PPI_CHENSET_CH7_Pos) /*!< Bit mask of CH7 field. */ 3582 #define PPI_CHENSET_CH7_Disabled (0UL) /*!< Channel disabled. */ 3583 #define PPI_CHENSET_CH7_Enabled (1UL) /*!< Channel enabled. */ 3584 #define PPI_CHENSET_CH7_Set (1UL) /*!< Enable channel on write. */ 3585 3586 /* Bit 6 : Enable PPI channel 6. */ 3587 #define PPI_CHENSET_CH6_Pos (6UL) /*!< Position of CH6 field. */ 3588 #define PPI_CHENSET_CH6_Msk (0x1UL << PPI_CHENSET_CH6_Pos) /*!< Bit mask of CH6 field. */ 3589 #define PPI_CHENSET_CH6_Disabled (0UL) /*!< Channel disabled. */ 3590 #define PPI_CHENSET_CH6_Enabled (1UL) /*!< Channel enabled. */ 3591 #define PPI_CHENSET_CH6_Set (1UL) /*!< Enable channel on write. */ 3592 3593 /* Bit 5 : Enable PPI channel 5. */ 3594 #define PPI_CHENSET_CH5_Pos (5UL) /*!< Position of CH5 field. */ 3595 #define PPI_CHENSET_CH5_Msk (0x1UL << PPI_CHENSET_CH5_Pos) /*!< Bit mask of CH5 field. */ 3596 #define PPI_CHENSET_CH5_Disabled (0UL) /*!< Channel disabled. */ 3597 #define PPI_CHENSET_CH5_Enabled (1UL) /*!< Channel enabled. */ 3598 #define PPI_CHENSET_CH5_Set (1UL) /*!< Enable channel on write. */ 3599 3600 /* Bit 4 : Enable PPI channel 4. */ 3601 #define PPI_CHENSET_CH4_Pos (4UL) /*!< Position of CH4 field. */ 3602 #define PPI_CHENSET_CH4_Msk (0x1UL << PPI_CHENSET_CH4_Pos) /*!< Bit mask of CH4 field. */ 3603 #define PPI_CHENSET_CH4_Disabled (0UL) /*!< Channel disabled. */ 3604 #define PPI_CHENSET_CH4_Enabled (1UL) /*!< Channel enabled. */ 3605 #define PPI_CHENSET_CH4_Set (1UL) /*!< Enable channel on write. */ 3606 3607 /* Bit 3 : Enable PPI channel 3. */ 3608 #define PPI_CHENSET_CH3_Pos (3UL) /*!< Position of CH3 field. */ 3609 #define PPI_CHENSET_CH3_Msk (0x1UL << PPI_CHENSET_CH3_Pos) /*!< Bit mask of CH3 field. */ 3610 #define PPI_CHENSET_CH3_Disabled (0UL) /*!< Channel disabled. */ 3611 #define PPI_CHENSET_CH3_Enabled (1UL) /*!< Channel enabled. */ 3612 #define PPI_CHENSET_CH3_Set (1UL) /*!< Enable channel on write. */ 3613 3614 /* Bit 2 : Enable PPI channel 2. */ 3615 #define PPI_CHENSET_CH2_Pos (2UL) /*!< Position of CH2 field. */ 3616 #define PPI_CHENSET_CH2_Msk (0x1UL << PPI_CHENSET_CH2_Pos) /*!< Bit mask of CH2 field. */ 3617 #define PPI_CHENSET_CH2_Disabled (0UL) /*!< Channel disabled. */ 3618 #define PPI_CHENSET_CH2_Enabled (1UL) /*!< Channel enabled. */ 3619 #define PPI_CHENSET_CH2_Set (1UL) /*!< Enable channel on write. */ 3620 3621 /* Bit 1 : Enable PPI channel 1. */ 3622 #define PPI_CHENSET_CH1_Pos (1UL) /*!< Position of CH1 field. */ 3623 #define PPI_CHENSET_CH1_Msk (0x1UL << PPI_CHENSET_CH1_Pos) /*!< Bit mask of CH1 field. */ 3624 #define PPI_CHENSET_CH1_Disabled (0UL) /*!< Channel disabled. */ 3625 #define PPI_CHENSET_CH1_Enabled (1UL) /*!< Channel enabled. */ 3626 #define PPI_CHENSET_CH1_Set (1UL) /*!< Enable channel on write. */ 3627 3628 /* Bit 0 : Enable PPI channel 0. */ 3629 #define PPI_CHENSET_CH0_Pos (0UL) /*!< Position of CH0 field. */ 3630 #define PPI_CHENSET_CH0_Msk (0x1UL << PPI_CHENSET_CH0_Pos) /*!< Bit mask of CH0 field. */ 3631 #define PPI_CHENSET_CH0_Disabled (0UL) /*!< Channel disabled. */ 3632 #define PPI_CHENSET_CH0_Enabled (1UL) /*!< Channel enabled. */ 3633 #define PPI_CHENSET_CH0_Set (1UL) /*!< Enable channel on write. */ 3634 3635 /* Register: PPI_CHENCLR */ 3636 /* Description: Channel enable clear. */ 3637 3638 /* Bit 31 : Disable PPI channel 31. */ 3639 #define PPI_CHENCLR_CH31_Pos (31UL) /*!< Position of CH31 field. */ 3640 #define PPI_CHENCLR_CH31_Msk (0x1UL << PPI_CHENCLR_CH31_Pos) /*!< Bit mask of CH31 field. */ 3641 #define PPI_CHENCLR_CH31_Disabled (0UL) /*!< Channel disabled. */ 3642 #define PPI_CHENCLR_CH31_Enabled (1UL) /*!< Channel enabled. */ 3643 #define PPI_CHENCLR_CH31_Clear (1UL) /*!< Disable channel on write. */ 3644 3645 /* Bit 30 : Disable PPI channel 30. */ 3646 #define PPI_CHENCLR_CH30_Pos (30UL) /*!< Position of CH30 field. */ 3647 #define PPI_CHENCLR_CH30_Msk (0x1UL << PPI_CHENCLR_CH30_Pos) /*!< Bit mask of CH30 field. */ 3648 #define PPI_CHENCLR_CH30_Disabled (0UL) /*!< Channel disabled. */ 3649 #define PPI_CHENCLR_CH30_Enabled (1UL) /*!< Channel enabled. */ 3650 #define PPI_CHENCLR_CH30_Clear (1UL) /*!< Disable channel on write. */ 3651 3652 /* Bit 29 : Disable PPI channel 29. */ 3653 #define PPI_CHENCLR_CH29_Pos (29UL) /*!< Position of CH29 field. */ 3654 #define PPI_CHENCLR_CH29_Msk (0x1UL << PPI_CHENCLR_CH29_Pos) /*!< Bit mask of CH29 field. */ 3655 #define PPI_CHENCLR_CH29_Disabled (0UL) /*!< Channel disabled. */ 3656 #define PPI_CHENCLR_CH29_Enabled (1UL) /*!< Channel enabled. */ 3657 #define PPI_CHENCLR_CH29_Clear (1UL) /*!< Disable channel on write. */ 3658 3659 /* Bit 28 : Disable PPI channel 28. */ 3660 #define PPI_CHENCLR_CH28_Pos (28UL) /*!< Position of CH28 field. */ 3661 #define PPI_CHENCLR_CH28_Msk (0x1UL << PPI_CHENCLR_CH28_Pos) /*!< Bit mask of CH28 field. */ 3662 #define PPI_CHENCLR_CH28_Disabled (0UL) /*!< Channel disabled. */ 3663 #define PPI_CHENCLR_CH28_Enabled (1UL) /*!< Channel enabled. */ 3664 #define PPI_CHENCLR_CH28_Clear (1UL) /*!< Disable channel on write. */ 3665 3666 /* Bit 27 : Disable PPI channel 27. */ 3667 #define PPI_CHENCLR_CH27_Pos (27UL) /*!< Position of CH27 field. */ 3668 #define PPI_CHENCLR_CH27_Msk (0x1UL << PPI_CHENCLR_CH27_Pos) /*!< Bit mask of CH27 field. */ 3669 #define PPI_CHENCLR_CH27_Disabled (0UL) /*!< Channel disabled. */ 3670 #define PPI_CHENCLR_CH27_Enabled (1UL) /*!< Channel enabled. */ 3671 #define PPI_CHENCLR_CH27_Clear (1UL) /*!< Disable channel on write. */ 3672 3673 /* Bit 26 : Disable PPI channel 26. */ 3674 #define PPI_CHENCLR_CH26_Pos (26UL) /*!< Position of CH26 field. */ 3675 #define PPI_CHENCLR_CH26_Msk (0x1UL << PPI_CHENCLR_CH26_Pos) /*!< Bit mask of CH26 field. */ 3676 #define PPI_CHENCLR_CH26_Disabled (0UL) /*!< Channel disabled. */ 3677 #define PPI_CHENCLR_CH26_Enabled (1UL) /*!< Channel enabled. */ 3678 #define PPI_CHENCLR_CH26_Clear (1UL) /*!< Disable channel on write. */ 3679 3680 /* Bit 25 : Disable PPI channel 25. */ 3681 #define PPI_CHENCLR_CH25_Pos (25UL) /*!< Position of CH25 field. */ 3682 #define PPI_CHENCLR_CH25_Msk (0x1UL << PPI_CHENCLR_CH25_Pos) /*!< Bit mask of CH25 field. */ 3683 #define PPI_CHENCLR_CH25_Disabled (0UL) /*!< Channel disabled. */ 3684 #define PPI_CHENCLR_CH25_Enabled (1UL) /*!< Channel enabled. */ 3685 #define PPI_CHENCLR_CH25_Clear (1UL) /*!< Disable channel on write. */ 3686 3687 /* Bit 24 : Disable PPI channel 24. */ 3688 #define PPI_CHENCLR_CH24_Pos (24UL) /*!< Position of CH24 field. */ 3689 #define PPI_CHENCLR_CH24_Msk (0x1UL << PPI_CHENCLR_CH24_Pos) /*!< Bit mask of CH24 field. */ 3690 #define PPI_CHENCLR_CH24_Disabled (0UL) /*!< Channel disabled. */ 3691 #define PPI_CHENCLR_CH24_Enabled (1UL) /*!< Channel enabled. */ 3692 #define PPI_CHENCLR_CH24_Clear (1UL) /*!< Disable channel on write. */ 3693 3694 /* Bit 23 : Disable PPI channel 23. */ 3695 #define PPI_CHENCLR_CH23_Pos (23UL) /*!< Position of CH23 field. */ 3696 #define PPI_CHENCLR_CH23_Msk (0x1UL << PPI_CHENCLR_CH23_Pos) /*!< Bit mask of CH23 field. */ 3697 #define PPI_CHENCLR_CH23_Disabled (0UL) /*!< Channel disabled. */ 3698 #define PPI_CHENCLR_CH23_Enabled (1UL) /*!< Channel enabled. */ 3699 #define PPI_CHENCLR_CH23_Clear (1UL) /*!< Disable channel on write. */ 3700 3701 /* Bit 22 : Disable PPI channel 22. */ 3702 #define PPI_CHENCLR_CH22_Pos (22UL) /*!< Position of CH22 field. */ 3703 #define PPI_CHENCLR_CH22_Msk (0x1UL << PPI_CHENCLR_CH22_Pos) /*!< Bit mask of CH22 field. */ 3704 #define PPI_CHENCLR_CH22_Disabled (0UL) /*!< Channel disabled. */ 3705 #define PPI_CHENCLR_CH22_Enabled (1UL) /*!< Channel enabled. */ 3706 #define PPI_CHENCLR_CH22_Clear (1UL) /*!< Disable channel on write. */ 3707 3708 /* Bit 21 : Disable PPI channel 21. */ 3709 #define PPI_CHENCLR_CH21_Pos (21UL) /*!< Position of CH21 field. */ 3710 #define PPI_CHENCLR_CH21_Msk (0x1UL << PPI_CHENCLR_CH21_Pos) /*!< Bit mask of CH21 field. */ 3711 #define PPI_CHENCLR_CH21_Disabled (0UL) /*!< Channel disabled. */ 3712 #define PPI_CHENCLR_CH21_Enabled (1UL) /*!< Channel enabled. */ 3713 #define PPI_CHENCLR_CH21_Clear (1UL) /*!< Disable channel on write. */ 3714 3715 /* Bit 20 : Disable PPI channel 20. */ 3716 #define PPI_CHENCLR_CH20_Pos (20UL) /*!< Position of CH20 field. */ 3717 #define PPI_CHENCLR_CH20_Msk (0x1UL << PPI_CHENCLR_CH20_Pos) /*!< Bit mask of CH20 field. */ 3718 #define PPI_CHENCLR_CH20_Disabled (0UL) /*!< Channel disabled. */ 3719 #define PPI_CHENCLR_CH20_Enabled (1UL) /*!< Channel enabled. */ 3720 #define PPI_CHENCLR_CH20_Clear (1UL) /*!< Disable channel on write. */ 3721 3722 /* Bit 15 : Disable PPI channel 15. */ 3723 #define PPI_CHENCLR_CH15_Pos (15UL) /*!< Position of CH15 field. */ 3724 #define PPI_CHENCLR_CH15_Msk (0x1UL << PPI_CHENCLR_CH15_Pos) /*!< Bit mask of CH15 field. */ 3725 #define PPI_CHENCLR_CH15_Disabled (0UL) /*!< Channel disabled. */ 3726 #define PPI_CHENCLR_CH15_Enabled (1UL) /*!< Channel enabled. */ 3727 #define PPI_CHENCLR_CH15_Clear (1UL) /*!< Disable channel on write. */ 3728 3729 /* Bit 14 : Disable PPI channel 14. */ 3730 #define PPI_CHENCLR_CH14_Pos (14UL) /*!< Position of CH14 field. */ 3731 #define PPI_CHENCLR_CH14_Msk (0x1UL << PPI_CHENCLR_CH14_Pos) /*!< Bit mask of CH14 field. */ 3732 #define PPI_CHENCLR_CH14_Disabled (0UL) /*!< Channel disabled. */ 3733 #define PPI_CHENCLR_CH14_Enabled (1UL) /*!< Channel enabled. */ 3734 #define PPI_CHENCLR_CH14_Clear (1UL) /*!< Disable channel on write. */ 3735 3736 /* Bit 13 : Disable PPI channel 13. */ 3737 #define PPI_CHENCLR_CH13_Pos (13UL) /*!< Position of CH13 field. */ 3738 #define PPI_CHENCLR_CH13_Msk (0x1UL << PPI_CHENCLR_CH13_Pos) /*!< Bit mask of CH13 field. */ 3739 #define PPI_CHENCLR_CH13_Disabled (0UL) /*!< Channel disabled. */ 3740 #define PPI_CHENCLR_CH13_Enabled (1UL) /*!< Channel enabled. */ 3741 #define PPI_CHENCLR_CH13_Clear (1UL) /*!< Disable channel on write. */ 3742 3743 /* Bit 12 : Disable PPI channel 12. */ 3744 #define PPI_CHENCLR_CH12_Pos (12UL) /*!< Position of CH12 field. */ 3745 #define PPI_CHENCLR_CH12_Msk (0x1UL << PPI_CHENCLR_CH12_Pos) /*!< Bit mask of CH12 field. */ 3746 #define PPI_CHENCLR_CH12_Disabled (0UL) /*!< Channel disabled. */ 3747 #define PPI_CHENCLR_CH12_Enabled (1UL) /*!< Channel enabled. */ 3748 #define PPI_CHENCLR_CH12_Clear (1UL) /*!< Disable channel on write. */ 3749 3750 /* Bit 11 : Disable PPI channel 11. */ 3751 #define PPI_CHENCLR_CH11_Pos (11UL) /*!< Position of CH11 field. */ 3752 #define PPI_CHENCLR_CH11_Msk (0x1UL << PPI_CHENCLR_CH11_Pos) /*!< Bit mask of CH11 field. */ 3753 #define PPI_CHENCLR_CH11_Disabled (0UL) /*!< Channel disabled. */ 3754 #define PPI_CHENCLR_CH11_Enabled (1UL) /*!< Channel enabled. */ 3755 #define PPI_CHENCLR_CH11_Clear (1UL) /*!< Disable channel on write. */ 3756 3757 /* Bit 10 : Disable PPI channel 10. */ 3758 #define PPI_CHENCLR_CH10_Pos (10UL) /*!< Position of CH10 field. */ 3759 #define PPI_CHENCLR_CH10_Msk (0x1UL << PPI_CHENCLR_CH10_Pos) /*!< Bit mask of CH10 field. */ 3760 #define PPI_CHENCLR_CH10_Disabled (0UL) /*!< Channel disabled. */ 3761 #define PPI_CHENCLR_CH10_Enabled (1UL) /*!< Channel enabled. */ 3762 #define PPI_CHENCLR_CH10_Clear (1UL) /*!< Disable channel on write. */ 3763 3764 /* Bit 9 : Disable PPI channel 9. */ 3765 #define PPI_CHENCLR_CH9_Pos (9UL) /*!< Position of CH9 field. */ 3766 #define PPI_CHENCLR_CH9_Msk (0x1UL << PPI_CHENCLR_CH9_Pos) /*!< Bit mask of CH9 field. */ 3767 #define PPI_CHENCLR_CH9_Disabled (0UL) /*!< Channel disabled. */ 3768 #define PPI_CHENCLR_CH9_Enabled (1UL) /*!< Channel enabled. */ 3769 #define PPI_CHENCLR_CH9_Clear (1UL) /*!< Disable channel on write. */ 3770 3771 /* Bit 8 : Disable PPI channel 8. */ 3772 #define PPI_CHENCLR_CH8_Pos (8UL) /*!< Position of CH8 field. */ 3773 #define PPI_CHENCLR_CH8_Msk (0x1UL << PPI_CHENCLR_CH8_Pos) /*!< Bit mask of CH8 field. */ 3774 #define PPI_CHENCLR_CH8_Disabled (0UL) /*!< Channel disabled. */ 3775 #define PPI_CHENCLR_CH8_Enabled (1UL) /*!< Channel enabled. */ 3776 #define PPI_CHENCLR_CH8_Clear (1UL) /*!< Disable channel on write. */ 3777 3778 /* Bit 7 : Disable PPI channel 7. */ 3779 #define PPI_CHENCLR_CH7_Pos (7UL) /*!< Position of CH7 field. */ 3780 #define PPI_CHENCLR_CH7_Msk (0x1UL << PPI_CHENCLR_CH7_Pos) /*!< Bit mask of CH7 field. */ 3781 #define PPI_CHENCLR_CH7_Disabled (0UL) /*!< Channel disabled. */ 3782 #define PPI_CHENCLR_CH7_Enabled (1UL) /*!< Channel enabled. */ 3783 #define PPI_CHENCLR_CH7_Clear (1UL) /*!< Disable channel on write. */ 3784 3785 /* Bit 6 : Disable PPI channel 6. */ 3786 #define PPI_CHENCLR_CH6_Pos (6UL) /*!< Position of CH6 field. */ 3787 #define PPI_CHENCLR_CH6_Msk (0x1UL << PPI_CHENCLR_CH6_Pos) /*!< Bit mask of CH6 field. */ 3788 #define PPI_CHENCLR_CH6_Disabled (0UL) /*!< Channel disabled. */ 3789 #define PPI_CHENCLR_CH6_Enabled (1UL) /*!< Channel enabled. */ 3790 #define PPI_CHENCLR_CH6_Clear (1UL) /*!< Disable channel on write. */ 3791 3792 /* Bit 5 : Disable PPI channel 5. */ 3793 #define PPI_CHENCLR_CH5_Pos (5UL) /*!< Position of CH5 field. */ 3794 #define PPI_CHENCLR_CH5_Msk (0x1UL << PPI_CHENCLR_CH5_Pos) /*!< Bit mask of CH5 field. */ 3795 #define PPI_CHENCLR_CH5_Disabled (0UL) /*!< Channel disabled. */ 3796 #define PPI_CHENCLR_CH5_Enabled (1UL) /*!< Channel enabled. */ 3797 #define PPI_CHENCLR_CH5_Clear (1UL) /*!< Disable channel on write. */ 3798 3799 /* Bit 4 : Disable PPI channel 4. */ 3800 #define PPI_CHENCLR_CH4_Pos (4UL) /*!< Position of CH4 field. */ 3801 #define PPI_CHENCLR_CH4_Msk (0x1UL << PPI_CHENCLR_CH4_Pos) /*!< Bit mask of CH4 field. */ 3802 #define PPI_CHENCLR_CH4_Disabled (0UL) /*!< Channel disabled. */ 3803 #define PPI_CHENCLR_CH4_Enabled (1UL) /*!< Channel enabled. */ 3804 #define PPI_CHENCLR_CH4_Clear (1UL) /*!< Disable channel on write. */ 3805 3806 /* Bit 3 : Disable PPI channel 3. */ 3807 #define PPI_CHENCLR_CH3_Pos (3UL) /*!< Position of CH3 field. */ 3808 #define PPI_CHENCLR_CH3_Msk (0x1UL << PPI_CHENCLR_CH3_Pos) /*!< Bit mask of CH3 field. */ 3809 #define PPI_CHENCLR_CH3_Disabled (0UL) /*!< Channel disabled. */ 3810 #define PPI_CHENCLR_CH3_Enabled (1UL) /*!< Channel enabled. */ 3811 #define PPI_CHENCLR_CH3_Clear (1UL) /*!< Disable channel on write. */ 3812 3813 /* Bit 2 : Disable PPI channel 2. */ 3814 #define PPI_CHENCLR_CH2_Pos (2UL) /*!< Position of CH2 field. */ 3815 #define PPI_CHENCLR_CH2_Msk (0x1UL << PPI_CHENCLR_CH2_Pos) /*!< Bit mask of CH2 field. */ 3816 #define PPI_CHENCLR_CH2_Disabled (0UL) /*!< Channel disabled. */ 3817 #define PPI_CHENCLR_CH2_Enabled (1UL) /*!< Channel enabled. */ 3818 #define PPI_CHENCLR_CH2_Clear (1UL) /*!< Disable channel on write. */ 3819 3820 /* Bit 1 : Disable PPI channel 1. */ 3821 #define PPI_CHENCLR_CH1_Pos (1UL) /*!< Position of CH1 field. */ 3822 #define PPI_CHENCLR_CH1_Msk (0x1UL << PPI_CHENCLR_CH1_Pos) /*!< Bit mask of CH1 field. */ 3823 #define PPI_CHENCLR_CH1_Disabled (0UL) /*!< Channel disabled. */ 3824 #define PPI_CHENCLR_CH1_Enabled (1UL) /*!< Channel enabled. */ 3825 #define PPI_CHENCLR_CH1_Clear (1UL) /*!< Disable channel on write. */ 3826 3827 /* Bit 0 : Disable PPI channel 0. */ 3828 #define PPI_CHENCLR_CH0_Pos (0UL) /*!< Position of CH0 field. */ 3829 #define PPI_CHENCLR_CH0_Msk (0x1UL << PPI_CHENCLR_CH0_Pos) /*!< Bit mask of CH0 field. */ 3830 #define PPI_CHENCLR_CH0_Disabled (0UL) /*!< Channel disabled. */ 3831 #define PPI_CHENCLR_CH0_Enabled (1UL) /*!< Channel enabled. */ 3832 #define PPI_CHENCLR_CH0_Clear (1UL) /*!< Disable channel on write. */ 3833 3834 /* Register: PPI_CHG */ 3835 /* Description: Channel group configuration. */ 3836 3837 /* Bit 31 : Include CH31 in channel group. */ 3838 #define PPI_CHG_CH31_Pos (31UL) /*!< Position of CH31 field. */ 3839 #define PPI_CHG_CH31_Msk (0x1UL << PPI_CHG_CH31_Pos) /*!< Bit mask of CH31 field. */ 3840 #define PPI_CHG_CH31_Excluded (0UL) /*!< Channel excluded. */ 3841 #define PPI_CHG_CH31_Included (1UL) /*!< Channel included. */ 3842 3843 /* Bit 30 : Include CH30 in channel group. */ 3844 #define PPI_CHG_CH30_Pos (30UL) /*!< Position of CH30 field. */ 3845 #define PPI_CHG_CH30_Msk (0x1UL << PPI_CHG_CH30_Pos) /*!< Bit mask of CH30 field. */ 3846 #define PPI_CHG_CH30_Excluded (0UL) /*!< Channel excluded. */ 3847 #define PPI_CHG_CH30_Included (1UL) /*!< Channel included. */ 3848 3849 /* Bit 29 : Include CH29 in channel group. */ 3850 #define PPI_CHG_CH29_Pos (29UL) /*!< Position of CH29 field. */ 3851 #define PPI_CHG_CH29_Msk (0x1UL << PPI_CHG_CH29_Pos) /*!< Bit mask of CH29 field. */ 3852 #define PPI_CHG_CH29_Excluded (0UL) /*!< Channel excluded. */ 3853 #define PPI_CHG_CH29_Included (1UL) /*!< Channel included. */ 3854 3855 /* Bit 28 : Include CH28 in channel group. */ 3856 #define PPI_CHG_CH28_Pos (28UL) /*!< Position of CH28 field. */ 3857 #define PPI_CHG_CH28_Msk (0x1UL << PPI_CHG_CH28_Pos) /*!< Bit mask of CH28 field. */ 3858 #define PPI_CHG_CH28_Excluded (0UL) /*!< Channel excluded. */ 3859 #define PPI_CHG_CH28_Included (1UL) /*!< Channel included. */ 3860 3861 /* Bit 27 : Include CH27 in channel group. */ 3862 #define PPI_CHG_CH27_Pos (27UL) /*!< Position of CH27 field. */ 3863 #define PPI_CHG_CH27_Msk (0x1UL << PPI_CHG_CH27_Pos) /*!< Bit mask of CH27 field. */ 3864 #define PPI_CHG_CH27_Excluded (0UL) /*!< Channel excluded. */ 3865 #define PPI_CHG_CH27_Included (1UL) /*!< Channel included. */ 3866 3867 /* Bit 26 : Include CH26 in channel group. */ 3868 #define PPI_CHG_CH26_Pos (26UL) /*!< Position of CH26 field. */ 3869 #define PPI_CHG_CH26_Msk (0x1UL << PPI_CHG_CH26_Pos) /*!< Bit mask of CH26 field. */ 3870 #define PPI_CHG_CH26_Excluded (0UL) /*!< Channel excluded. */ 3871 #define PPI_CHG_CH26_Included (1UL) /*!< Channel included. */ 3872 3873 /* Bit 25 : Include CH25 in channel group. */ 3874 #define PPI_CHG_CH25_Pos (25UL) /*!< Position of CH25 field. */ 3875 #define PPI_CHG_CH25_Msk (0x1UL << PPI_CHG_CH25_Pos) /*!< Bit mask of CH25 field. */ 3876 #define PPI_CHG_CH25_Excluded (0UL) /*!< Channel excluded. */ 3877 #define PPI_CHG_CH25_Included (1UL) /*!< Channel included. */ 3878 3879 /* Bit 24 : Include CH24 in channel group. */ 3880 #define PPI_CHG_CH24_Pos (24UL) /*!< Position of CH24 field. */ 3881 #define PPI_CHG_CH24_Msk (0x1UL << PPI_CHG_CH24_Pos) /*!< Bit mask of CH24 field. */ 3882 #define PPI_CHG_CH24_Excluded (0UL) /*!< Channel excluded. */ 3883 #define PPI_CHG_CH24_Included (1UL) /*!< Channel included. */ 3884 3885 /* Bit 23 : Include CH23 in channel group. */ 3886 #define PPI_CHG_CH23_Pos (23UL) /*!< Position of CH23 field. */ 3887 #define PPI_CHG_CH23_Msk (0x1UL << PPI_CHG_CH23_Pos) /*!< Bit mask of CH23 field. */ 3888 #define PPI_CHG_CH23_Excluded (0UL) /*!< Channel excluded. */ 3889 #define PPI_CHG_CH23_Included (1UL) /*!< Channel included. */ 3890 3891 /* Bit 22 : Include CH22 in channel group. */ 3892 #define PPI_CHG_CH22_Pos (22UL) /*!< Position of CH22 field. */ 3893 #define PPI_CHG_CH22_Msk (0x1UL << PPI_CHG_CH22_Pos) /*!< Bit mask of CH22 field. */ 3894 #define PPI_CHG_CH22_Excluded (0UL) /*!< Channel excluded. */ 3895 #define PPI_CHG_CH22_Included (1UL) /*!< Channel included. */ 3896 3897 /* Bit 21 : Include CH21 in channel group. */ 3898 #define PPI_CHG_CH21_Pos (21UL) /*!< Position of CH21 field. */ 3899 #define PPI_CHG_CH21_Msk (0x1UL << PPI_CHG_CH21_Pos) /*!< Bit mask of CH21 field. */ 3900 #define PPI_CHG_CH21_Excluded (0UL) /*!< Channel excluded. */ 3901 #define PPI_CHG_CH21_Included (1UL) /*!< Channel included. */ 3902 3903 /* Bit 20 : Include CH20 in channel group. */ 3904 #define PPI_CHG_CH20_Pos (20UL) /*!< Position of CH20 field. */ 3905 #define PPI_CHG_CH20_Msk (0x1UL << PPI_CHG_CH20_Pos) /*!< Bit mask of CH20 field. */ 3906 #define PPI_CHG_CH20_Excluded (0UL) /*!< Channel excluded. */ 3907 #define PPI_CHG_CH20_Included (1UL) /*!< Channel included. */ 3908 3909 /* Bit 15 : Include CH15 in channel group. */ 3910 #define PPI_CHG_CH15_Pos (15UL) /*!< Position of CH15 field. */ 3911 #define PPI_CHG_CH15_Msk (0x1UL << PPI_CHG_CH15_Pos) /*!< Bit mask of CH15 field. */ 3912 #define PPI_CHG_CH15_Excluded (0UL) /*!< Channel excluded. */ 3913 #define PPI_CHG_CH15_Included (1UL) /*!< Channel included. */ 3914 3915 /* Bit 14 : Include CH14 in channel group. */ 3916 #define PPI_CHG_CH14_Pos (14UL) /*!< Position of CH14 field. */ 3917 #define PPI_CHG_CH14_Msk (0x1UL << PPI_CHG_CH14_Pos) /*!< Bit mask of CH14 field. */ 3918 #define PPI_CHG_CH14_Excluded (0UL) /*!< Channel excluded. */ 3919 #define PPI_CHG_CH14_Included (1UL) /*!< Channel included. */ 3920 3921 /* Bit 13 : Include CH13 in channel group. */ 3922 #define PPI_CHG_CH13_Pos (13UL) /*!< Position of CH13 field. */ 3923 #define PPI_CHG_CH13_Msk (0x1UL << PPI_CHG_CH13_Pos) /*!< Bit mask of CH13 field. */ 3924 #define PPI_CHG_CH13_Excluded (0UL) /*!< Channel excluded. */ 3925 #define PPI_CHG_CH13_Included (1UL) /*!< Channel included. */ 3926 3927 /* Bit 12 : Include CH12 in channel group. */ 3928 #define PPI_CHG_CH12_Pos (12UL) /*!< Position of CH12 field. */ 3929 #define PPI_CHG_CH12_Msk (0x1UL << PPI_CHG_CH12_Pos) /*!< Bit mask of CH12 field. */ 3930 #define PPI_CHG_CH12_Excluded (0UL) /*!< Channel excluded. */ 3931 #define PPI_CHG_CH12_Included (1UL) /*!< Channel included. */ 3932 3933 /* Bit 11 : Include CH11 in channel group. */ 3934 #define PPI_CHG_CH11_Pos (11UL) /*!< Position of CH11 field. */ 3935 #define PPI_CHG_CH11_Msk (0x1UL << PPI_CHG_CH11_Pos) /*!< Bit mask of CH11 field. */ 3936 #define PPI_CHG_CH11_Excluded (0UL) /*!< Channel excluded. */ 3937 #define PPI_CHG_CH11_Included (1UL) /*!< Channel included. */ 3938 3939 /* Bit 10 : Include CH10 in channel group. */ 3940 #define PPI_CHG_CH10_Pos (10UL) /*!< Position of CH10 field. */ 3941 #define PPI_CHG_CH10_Msk (0x1UL << PPI_CHG_CH10_Pos) /*!< Bit mask of CH10 field. */ 3942 #define PPI_CHG_CH10_Excluded (0UL) /*!< Channel excluded. */ 3943 #define PPI_CHG_CH10_Included (1UL) /*!< Channel included. */ 3944 3945 /* Bit 9 : Include CH9 in channel group. */ 3946 #define PPI_CHG_CH9_Pos (9UL) /*!< Position of CH9 field. */ 3947 #define PPI_CHG_CH9_Msk (0x1UL << PPI_CHG_CH9_Pos) /*!< Bit mask of CH9 field. */ 3948 #define PPI_CHG_CH9_Excluded (0UL) /*!< Channel excluded. */ 3949 #define PPI_CHG_CH9_Included (1UL) /*!< Channel included. */ 3950 3951 /* Bit 8 : Include CH8 in channel group. */ 3952 #define PPI_CHG_CH8_Pos (8UL) /*!< Position of CH8 field. */ 3953 #define PPI_CHG_CH8_Msk (0x1UL << PPI_CHG_CH8_Pos) /*!< Bit mask of CH8 field. */ 3954 #define PPI_CHG_CH8_Excluded (0UL) /*!< Channel excluded. */ 3955 #define PPI_CHG_CH8_Included (1UL) /*!< Channel included. */ 3956 3957 /* Bit 7 : Include CH7 in channel group. */ 3958 #define PPI_CHG_CH7_Pos (7UL) /*!< Position of CH7 field. */ 3959 #define PPI_CHG_CH7_Msk (0x1UL << PPI_CHG_CH7_Pos) /*!< Bit mask of CH7 field. */ 3960 #define PPI_CHG_CH7_Excluded (0UL) /*!< Channel excluded. */ 3961 #define PPI_CHG_CH7_Included (1UL) /*!< Channel included. */ 3962 3963 /* Bit 6 : Include CH6 in channel group. */ 3964 #define PPI_CHG_CH6_Pos (6UL) /*!< Position of CH6 field. */ 3965 #define PPI_CHG_CH6_Msk (0x1UL << PPI_CHG_CH6_Pos) /*!< Bit mask of CH6 field. */ 3966 #define PPI_CHG_CH6_Excluded (0UL) /*!< Channel excluded. */ 3967 #define PPI_CHG_CH6_Included (1UL) /*!< Channel included. */ 3968 3969 /* Bit 5 : Include CH5 in channel group. */ 3970 #define PPI_CHG_CH5_Pos (5UL) /*!< Position of CH5 field. */ 3971 #define PPI_CHG_CH5_Msk (0x1UL << PPI_CHG_CH5_Pos) /*!< Bit mask of CH5 field. */ 3972 #define PPI_CHG_CH5_Excluded (0UL) /*!< Channel excluded. */ 3973 #define PPI_CHG_CH5_Included (1UL) /*!< Channel included. */ 3974 3975 /* Bit 4 : Include CH4 in channel group. */ 3976 #define PPI_CHG_CH4_Pos (4UL) /*!< Position of CH4 field. */ 3977 #define PPI_CHG_CH4_Msk (0x1UL << PPI_CHG_CH4_Pos) /*!< Bit mask of CH4 field. */ 3978 #define PPI_CHG_CH4_Excluded (0UL) /*!< Channel excluded. */ 3979 #define PPI_CHG_CH4_Included (1UL) /*!< Channel included. */ 3980 3981 /* Bit 3 : Include CH3 in channel group. */ 3982 #define PPI_CHG_CH3_Pos (3UL) /*!< Position of CH3 field. */ 3983 #define PPI_CHG_CH3_Msk (0x1UL << PPI_CHG_CH3_Pos) /*!< Bit mask of CH3 field. */ 3984 #define PPI_CHG_CH3_Excluded (0UL) /*!< Channel excluded. */ 3985 #define PPI_CHG_CH3_Included (1UL) /*!< Channel included. */ 3986 3987 /* Bit 2 : Include CH2 in channel group. */ 3988 #define PPI_CHG_CH2_Pos (2UL) /*!< Position of CH2 field. */ 3989 #define PPI_CHG_CH2_Msk (0x1UL << PPI_CHG_CH2_Pos) /*!< Bit mask of CH2 field. */ 3990 #define PPI_CHG_CH2_Excluded (0UL) /*!< Channel excluded. */ 3991 #define PPI_CHG_CH2_Included (1UL) /*!< Channel included. */ 3992 3993 /* Bit 1 : Include CH1 in channel group. */ 3994 #define PPI_CHG_CH1_Pos (1UL) /*!< Position of CH1 field. */ 3995 #define PPI_CHG_CH1_Msk (0x1UL << PPI_CHG_CH1_Pos) /*!< Bit mask of CH1 field. */ 3996 #define PPI_CHG_CH1_Excluded (0UL) /*!< Channel excluded. */ 3997 #define PPI_CHG_CH1_Included (1UL) /*!< Channel included. */ 3998 3999 /* Bit 0 : Include CH0 in channel group. */ 4000 #define PPI_CHG_CH0_Pos (0UL) /*!< Position of CH0 field. */ 4001 #define PPI_CHG_CH0_Msk (0x1UL << PPI_CHG_CH0_Pos) /*!< Bit mask of CH0 field. */ 4002 #define PPI_CHG_CH0_Excluded (0UL) /*!< Channel excluded. */ 4003 #define PPI_CHG_CH0_Included (1UL) /*!< Channel included. */ 4004 4005 4006 /* Peripheral: QDEC */ 4007 /* Description: Rotary decoder. */ 4008 4009 /* Register: QDEC_SHORTS */ 4010 /* Description: Shortcuts for the QDEC. */ 4011 4012 /* Bit 1 : Shortcut between SAMPLERDY event and STOP task. */ 4013 #define QDEC_SHORTS_SAMPLERDY_STOP_Pos (1UL) /*!< Position of SAMPLERDY_STOP field. */ 4014 #define QDEC_SHORTS_SAMPLERDY_STOP_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_STOP_Pos) /*!< Bit mask of SAMPLERDY_STOP field. */ 4015 #define QDEC_SHORTS_SAMPLERDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 4016 #define QDEC_SHORTS_SAMPLERDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 4017 4018 /* Bit 0 : Shortcut between REPORTRDY event and READCLRACC task. */ 4019 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Pos (0UL) /*!< Position of REPORTRDY_READCLRACC field. */ 4020 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_READCLRACC_Pos) /*!< Bit mask of REPORTRDY_READCLRACC field. */ 4021 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled (0UL) /*!< Shortcut disabled. */ 4022 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled (1UL) /*!< Shortcut enabled. */ 4023 4024 /* Register: QDEC_INTENSET */ 4025 /* Description: Interrupt enable set register. */ 4026 4027 /* Bit 2 : Enable interrupt on ACCOF event. */ 4028 #define QDEC_INTENSET_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */ 4029 #define QDEC_INTENSET_ACCOF_Msk (0x1UL << QDEC_INTENSET_ACCOF_Pos) /*!< Bit mask of ACCOF field. */ 4030 #define QDEC_INTENSET_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */ 4031 #define QDEC_INTENSET_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */ 4032 #define QDEC_INTENSET_ACCOF_Set (1UL) /*!< Enable interrupt on write. */ 4033 4034 /* Bit 1 : Enable interrupt on REPORTRDY event. */ 4035 #define QDEC_INTENSET_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */ 4036 #define QDEC_INTENSET_REPORTRDY_Msk (0x1UL << QDEC_INTENSET_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */ 4037 #define QDEC_INTENSET_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */ 4038 #define QDEC_INTENSET_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */ 4039 #define QDEC_INTENSET_REPORTRDY_Set (1UL) /*!< Enable interrupt on write. */ 4040 4041 /* Bit 0 : Enable interrupt on SAMPLERDY event. */ 4042 #define QDEC_INTENSET_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */ 4043 #define QDEC_INTENSET_SAMPLERDY_Msk (0x1UL << QDEC_INTENSET_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */ 4044 #define QDEC_INTENSET_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */ 4045 #define QDEC_INTENSET_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */ 4046 #define QDEC_INTENSET_SAMPLERDY_Set (1UL) /*!< Enable interrupt on write. */ 4047 4048 /* Register: QDEC_INTENCLR */ 4049 /* Description: Interrupt enable clear register. */ 4050 4051 /* Bit 2 : Disable interrupt on ACCOF event. */ 4052 #define QDEC_INTENCLR_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */ 4053 #define QDEC_INTENCLR_ACCOF_Msk (0x1UL << QDEC_INTENCLR_ACCOF_Pos) /*!< Bit mask of ACCOF field. */ 4054 #define QDEC_INTENCLR_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */ 4055 #define QDEC_INTENCLR_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */ 4056 #define QDEC_INTENCLR_ACCOF_Clear (1UL) /*!< Disable interrupt on write. */ 4057 4058 /* Bit 1 : Disable interrupt on REPORTRDY event. */ 4059 #define QDEC_INTENCLR_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */ 4060 #define QDEC_INTENCLR_REPORTRDY_Msk (0x1UL << QDEC_INTENCLR_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */ 4061 #define QDEC_INTENCLR_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */ 4062 #define QDEC_INTENCLR_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */ 4063 #define QDEC_INTENCLR_REPORTRDY_Clear (1UL) /*!< Disable interrupt on write. */ 4064 4065 /* Bit 0 : Disable interrupt on SAMPLERDY event. */ 4066 #define QDEC_INTENCLR_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */ 4067 #define QDEC_INTENCLR_SAMPLERDY_Msk (0x1UL << QDEC_INTENCLR_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */ 4068 #define QDEC_INTENCLR_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */ 4069 #define QDEC_INTENCLR_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */ 4070 #define QDEC_INTENCLR_SAMPLERDY_Clear (1UL) /*!< Disable interrupt on write. */ 4071 4072 /* Register: QDEC_ENABLE */ 4073 /* Description: Enable the QDEC. */ 4074 4075 /* Bit 0 : Enable or disable QDEC. */ 4076 #define QDEC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 4077 #define QDEC_ENABLE_ENABLE_Msk (0x1UL << QDEC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 4078 #define QDEC_ENABLE_ENABLE_Disabled (0UL) /*!< Disabled QDEC. */ 4079 #define QDEC_ENABLE_ENABLE_Enabled (1UL) /*!< Enable QDEC. */ 4080 4081 /* Register: QDEC_LEDPOL */ 4082 /* Description: LED output pin polarity. */ 4083 4084 /* Bit 0 : LED output pin polarity. */ 4085 #define QDEC_LEDPOL_LEDPOL_Pos (0UL) /*!< Position of LEDPOL field. */ 4086 #define QDEC_LEDPOL_LEDPOL_Msk (0x1UL << QDEC_LEDPOL_LEDPOL_Pos) /*!< Bit mask of LEDPOL field. */ 4087 #define QDEC_LEDPOL_LEDPOL_ActiveLow (0UL) /*!< LED output is active low. */ 4088 #define QDEC_LEDPOL_LEDPOL_ActiveHigh (1UL) /*!< LED output is active high. */ 4089 4090 /* Register: QDEC_SAMPLEPER */ 4091 /* Description: Sample period. */ 4092 4093 /* Bits 2..0 : Sample period. */ 4094 #define QDEC_SAMPLEPER_SAMPLEPER_Pos (0UL) /*!< Position of SAMPLEPER field. */ 4095 #define QDEC_SAMPLEPER_SAMPLEPER_Msk (0x7UL << QDEC_SAMPLEPER_SAMPLEPER_Pos) /*!< Bit mask of SAMPLEPER field. */ 4096 #define QDEC_SAMPLEPER_SAMPLEPER_128us (0x00UL) /*!< 128us sample period. */ 4097 #define QDEC_SAMPLEPER_SAMPLEPER_256us (0x01UL) /*!< 256us sample period. */ 4098 #define QDEC_SAMPLEPER_SAMPLEPER_512us (0x02UL) /*!< 512us sample period. */ 4099 #define QDEC_SAMPLEPER_SAMPLEPER_1024us (0x03UL) /*!< 1024us sample period. */ 4100 #define QDEC_SAMPLEPER_SAMPLEPER_2048us (0x04UL) /*!< 2048us sample period. */ 4101 #define QDEC_SAMPLEPER_SAMPLEPER_4096us (0x05UL) /*!< 4096us sample period. */ 4102 #define QDEC_SAMPLEPER_SAMPLEPER_8192us (0x06UL) /*!< 8192us sample period. */ 4103 #define QDEC_SAMPLEPER_SAMPLEPER_16384us (0x07UL) /*!< 16384us sample period. */ 4104 4105 /* Register: QDEC_SAMPLE */ 4106 /* Description: Motion sample value. */ 4107 4108 /* Bits 31..0 : Last sample taken in compliment to 2. */ 4109 #define QDEC_SAMPLE_SAMPLE_Pos (0UL) /*!< Position of SAMPLE field. */ 4110 #define QDEC_SAMPLE_SAMPLE_Msk (0xFFFFFFFFUL << QDEC_SAMPLE_SAMPLE_Pos) /*!< Bit mask of SAMPLE field. */ 4111 4112 /* Register: QDEC_REPORTPER */ 4113 /* Description: Number of samples to generate an EVENT_REPORTRDY. */ 4114 4115 /* Bits 2..0 : Number of samples to generate an EVENT_REPORTRDY. */ 4116 #define QDEC_REPORTPER_REPORTPER_Pos (0UL) /*!< Position of REPORTPER field. */ 4117 #define QDEC_REPORTPER_REPORTPER_Msk (0x7UL << QDEC_REPORTPER_REPORTPER_Pos) /*!< Bit mask of REPORTPER field. */ 4118 #define QDEC_REPORTPER_REPORTPER_10Smpl (0x00UL) /*!< 10 samples per report. */ 4119 #define QDEC_REPORTPER_REPORTPER_40Smpl (0x01UL) /*!< 40 samples per report. */ 4120 #define QDEC_REPORTPER_REPORTPER_80Smpl (0x02UL) /*!< 80 samples per report. */ 4121 #define QDEC_REPORTPER_REPORTPER_120Smpl (0x03UL) /*!< 120 samples per report. */ 4122 #define QDEC_REPORTPER_REPORTPER_160Smpl (0x04UL) /*!< 160 samples per report. */ 4123 #define QDEC_REPORTPER_REPORTPER_200Smpl (0x05UL) /*!< 200 samples per report. */ 4124 #define QDEC_REPORTPER_REPORTPER_240Smpl (0x06UL) /*!< 240 samples per report. */ 4125 #define QDEC_REPORTPER_REPORTPER_280Smpl (0x07UL) /*!< 280 samples per report. */ 4126 4127 /* Register: QDEC_DBFEN */ 4128 /* Description: Enable debouncer input filters. */ 4129 4130 /* Bit 0 : Enable debounce input filters. */ 4131 #define QDEC_DBFEN_DBFEN_Pos (0UL) /*!< Position of DBFEN field. */ 4132 #define QDEC_DBFEN_DBFEN_Msk (0x1UL << QDEC_DBFEN_DBFEN_Pos) /*!< Bit mask of DBFEN field. */ 4133 #define QDEC_DBFEN_DBFEN_Disabled (0UL) /*!< Debounce input filters disabled. */ 4134 #define QDEC_DBFEN_DBFEN_Enabled (1UL) /*!< Debounce input filters enabled. */ 4135 4136 /* Register: QDEC_LEDPRE */ 4137 /* Description: Time LED is switched ON before the sample. */ 4138 4139 /* Bits 8..0 : Period in us the LED in switched on prior to sampling. */ 4140 #define QDEC_LEDPRE_LEDPRE_Pos (0UL) /*!< Position of LEDPRE field. */ 4141 #define QDEC_LEDPRE_LEDPRE_Msk (0x1FFUL << QDEC_LEDPRE_LEDPRE_Pos) /*!< Bit mask of LEDPRE field. */ 4142 4143 /* Register: QDEC_ACCDBL */ 4144 /* Description: Accumulated double (error) transitions register. */ 4145 4146 /* Bits 3..0 : Accumulated double (error) transitions. */ 4147 #define QDEC_ACCDBL_ACCDBL_Pos (0UL) /*!< Position of ACCDBL field. */ 4148 #define QDEC_ACCDBL_ACCDBL_Msk (0xFUL << QDEC_ACCDBL_ACCDBL_Pos) /*!< Bit mask of ACCDBL field. */ 4149 4150 /* Register: QDEC_ACCDBLREAD */ 4151 /* Description: Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task. */ 4152 4153 /* Bits 3..0 : Snapshot of accumulated double (error) transitions. */ 4154 #define QDEC_ACCDBLREAD_ACCDBLREAD_Pos (0UL) /*!< Position of ACCDBLREAD field. */ 4155 #define QDEC_ACCDBLREAD_ACCDBLREAD_Msk (0xFUL << QDEC_ACCDBLREAD_ACCDBLREAD_Pos) /*!< Bit mask of ACCDBLREAD field. */ 4156 4157 /* Register: QDEC_POWER */ 4158 /* Description: Peripheral power control. */ 4159 4160 /* Bit 0 : Peripheral power control. */ 4161 #define QDEC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 4162 #define QDEC_POWER_POWER_Msk (0x1UL << QDEC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 4163 #define QDEC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 4164 #define QDEC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 4165 4166 4167 /* Peripheral: RADIO */ 4168 /* Description: The radio. */ 4169 4170 /* Register: RADIO_SHORTS */ 4171 /* Description: Shortcuts for the radio. */ 4172 4173 /* Bit 8 : Shortcut between DISABLED event and RSSISTOP task. */ 4174 #define RADIO_SHORTS_DISABLED_RSSISTOP_Pos (8UL) /*!< Position of DISABLED_RSSISTOP field. */ 4175 #define RADIO_SHORTS_DISABLED_RSSISTOP_Msk (0x1UL << RADIO_SHORTS_DISABLED_RSSISTOP_Pos) /*!< Bit mask of DISABLED_RSSISTOP field. */ 4176 #define RADIO_SHORTS_DISABLED_RSSISTOP_Disabled (0UL) /*!< Shortcut disabled. */ 4177 #define RADIO_SHORTS_DISABLED_RSSISTOP_Enabled (1UL) /*!< Shortcut enabled. */ 4178 4179 /* Bit 6 : Shortcut between ADDRESS event and BCSTART task. */ 4180 #define RADIO_SHORTS_ADDRESS_BCSTART_Pos (6UL) /*!< Position of ADDRESS_BCSTART field. */ 4181 #define RADIO_SHORTS_ADDRESS_BCSTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_BCSTART_Pos) /*!< Bit mask of ADDRESS_BCSTART field. */ 4182 #define RADIO_SHORTS_ADDRESS_BCSTART_Disabled (0UL) /*!< Shortcut disabled. */ 4183 #define RADIO_SHORTS_ADDRESS_BCSTART_Enabled (1UL) /*!< Shortcut enabled. */ 4184 4185 /* Bit 5 : Shortcut between END event and START task. */ 4186 #define RADIO_SHORTS_END_START_Pos (5UL) /*!< Position of END_START field. */ 4187 #define RADIO_SHORTS_END_START_Msk (0x1UL << RADIO_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */ 4188 #define RADIO_SHORTS_END_START_Disabled (0UL) /*!< Shortcut disabled. */ 4189 #define RADIO_SHORTS_END_START_Enabled (1UL) /*!< Shortcut enabled. */ 4190 4191 /* Bit 4 : Shortcut between ADDRESS event and RSSISTART task. */ 4192 #define RADIO_SHORTS_ADDRESS_RSSISTART_Pos (4UL) /*!< Position of ADDRESS_RSSISTART field. */ 4193 #define RADIO_SHORTS_ADDRESS_RSSISTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_RSSISTART_Pos) /*!< Bit mask of ADDRESS_RSSISTART field. */ 4194 #define RADIO_SHORTS_ADDRESS_RSSISTART_Disabled (0UL) /*!< Shortcut disabled. */ 4195 #define RADIO_SHORTS_ADDRESS_RSSISTART_Enabled (1UL) /*!< Shortcut enabled. */ 4196 4197 /* Bit 3 : Shortcut between DISABLED event and RXEN task. */ 4198 #define RADIO_SHORTS_DISABLED_RXEN_Pos (3UL) /*!< Position of DISABLED_RXEN field. */ 4199 #define RADIO_SHORTS_DISABLED_RXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_RXEN_Pos) /*!< Bit mask of DISABLED_RXEN field. */ 4200 #define RADIO_SHORTS_DISABLED_RXEN_Disabled (0UL) /*!< Shortcut disabled. */ 4201 #define RADIO_SHORTS_DISABLED_RXEN_Enabled (1UL) /*!< Shortcut enabled. */ 4202 4203 /* Bit 2 : Shortcut between DISABLED event and TXEN task. */ 4204 #define RADIO_SHORTS_DISABLED_TXEN_Pos (2UL) /*!< Position of DISABLED_TXEN field. */ 4205 #define RADIO_SHORTS_DISABLED_TXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_TXEN_Pos) /*!< Bit mask of DISABLED_TXEN field. */ 4206 #define RADIO_SHORTS_DISABLED_TXEN_Disabled (0UL) /*!< Shortcut disabled. */ 4207 #define RADIO_SHORTS_DISABLED_TXEN_Enabled (1UL) /*!< Shortcut enabled. */ 4208 4209 /* Bit 1 : Shortcut between END event and DISABLE task. */ 4210 #define RADIO_SHORTS_END_DISABLE_Pos (1UL) /*!< Position of END_DISABLE field. */ 4211 #define RADIO_SHORTS_END_DISABLE_Msk (0x1UL << RADIO_SHORTS_END_DISABLE_Pos) /*!< Bit mask of END_DISABLE field. */ 4212 #define RADIO_SHORTS_END_DISABLE_Disabled (0UL) /*!< Shortcut disabled. */ 4213 #define RADIO_SHORTS_END_DISABLE_Enabled (1UL) /*!< Shortcut enabled. */ 4214 4215 /* Bit 0 : Shortcut between READY event and START task. */ 4216 #define RADIO_SHORTS_READY_START_Pos (0UL) /*!< Position of READY_START field. */ 4217 #define RADIO_SHORTS_READY_START_Msk (0x1UL << RADIO_SHORTS_READY_START_Pos) /*!< Bit mask of READY_START field. */ 4218 #define RADIO_SHORTS_READY_START_Disabled (0UL) /*!< Shortcut disabled. */ 4219 #define RADIO_SHORTS_READY_START_Enabled (1UL) /*!< Shortcut enabled. */ 4220 4221 /* Register: RADIO_INTENSET */ 4222 /* Description: Interrupt enable set register. */ 4223 4224 /* Bit 10 : Enable interrupt on BCMATCH event. */ 4225 #define RADIO_INTENSET_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */ 4226 #define RADIO_INTENSET_BCMATCH_Msk (0x1UL << RADIO_INTENSET_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */ 4227 #define RADIO_INTENSET_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 4228 #define RADIO_INTENSET_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 4229 #define RADIO_INTENSET_BCMATCH_Set (1UL) /*!< Enable interrupt on write. */ 4230 4231 /* Bit 7 : Enable interrupt on RSSIEND event. */ 4232 #define RADIO_INTENSET_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */ 4233 #define RADIO_INTENSET_RSSIEND_Msk (0x1UL << RADIO_INTENSET_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */ 4234 #define RADIO_INTENSET_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */ 4235 #define RADIO_INTENSET_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */ 4236 #define RADIO_INTENSET_RSSIEND_Set (1UL) /*!< Enable interrupt on write. */ 4237 4238 /* Bit 6 : Enable interrupt on DEVMISS event. */ 4239 #define RADIO_INTENSET_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */ 4240 #define RADIO_INTENSET_DEVMISS_Msk (0x1UL << RADIO_INTENSET_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */ 4241 #define RADIO_INTENSET_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */ 4242 #define RADIO_INTENSET_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */ 4243 #define RADIO_INTENSET_DEVMISS_Set (1UL) /*!< Enable interrupt on write. */ 4244 4245 /* Bit 5 : Enable interrupt on DEVMATCH event. */ 4246 #define RADIO_INTENSET_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */ 4247 #define RADIO_INTENSET_DEVMATCH_Msk (0x1UL << RADIO_INTENSET_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */ 4248 #define RADIO_INTENSET_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 4249 #define RADIO_INTENSET_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 4250 #define RADIO_INTENSET_DEVMATCH_Set (1UL) /*!< Enable interrupt on write. */ 4251 4252 /* Bit 4 : Enable interrupt on DISABLED event. */ 4253 #define RADIO_INTENSET_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */ 4254 #define RADIO_INTENSET_DISABLED_Msk (0x1UL << RADIO_INTENSET_DISABLED_Pos) /*!< Bit mask of DISABLED field. */ 4255 #define RADIO_INTENSET_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */ 4256 #define RADIO_INTENSET_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */ 4257 #define RADIO_INTENSET_DISABLED_Set (1UL) /*!< Enable interrupt on write. */ 4258 4259 /* Bit 3 : Enable interrupt on END event. */ 4260 #define RADIO_INTENSET_END_Pos (3UL) /*!< Position of END field. */ 4261 #define RADIO_INTENSET_END_Msk (0x1UL << RADIO_INTENSET_END_Pos) /*!< Bit mask of END field. */ 4262 #define RADIO_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 4263 #define RADIO_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 4264 #define RADIO_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 4265 4266 /* Bit 2 : Enable interrupt on PAYLOAD event. */ 4267 #define RADIO_INTENSET_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */ 4268 #define RADIO_INTENSET_PAYLOAD_Msk (0x1UL << RADIO_INTENSET_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */ 4269 #define RADIO_INTENSET_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */ 4270 #define RADIO_INTENSET_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */ 4271 #define RADIO_INTENSET_PAYLOAD_Set (1UL) /*!< Enable interrupt on write. */ 4272 4273 /* Bit 1 : Enable interrupt on ADDRESS event. */ 4274 #define RADIO_INTENSET_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */ 4275 #define RADIO_INTENSET_ADDRESS_Msk (0x1UL << RADIO_INTENSET_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 4276 #define RADIO_INTENSET_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */ 4277 #define RADIO_INTENSET_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */ 4278 #define RADIO_INTENSET_ADDRESS_Set (1UL) /*!< Enable interrupt on write. */ 4279 4280 /* Bit 0 : Enable interrupt on READY event. */ 4281 #define RADIO_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 4282 #define RADIO_INTENSET_READY_Msk (0x1UL << RADIO_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 4283 #define RADIO_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */ 4284 #define RADIO_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */ 4285 #define RADIO_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */ 4286 4287 /* Register: RADIO_INTENCLR */ 4288 /* Description: Interrupt enable clear register. */ 4289 4290 /* Bit 10 : Disable interrupt on BCMATCH event. */ 4291 #define RADIO_INTENCLR_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */ 4292 #define RADIO_INTENCLR_BCMATCH_Msk (0x1UL << RADIO_INTENCLR_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */ 4293 #define RADIO_INTENCLR_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 4294 #define RADIO_INTENCLR_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 4295 #define RADIO_INTENCLR_BCMATCH_Clear (1UL) /*!< Disable interrupt on write. */ 4296 4297 /* Bit 7 : Disable interrupt on RSSIEND event. */ 4298 #define RADIO_INTENCLR_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */ 4299 #define RADIO_INTENCLR_RSSIEND_Msk (0x1UL << RADIO_INTENCLR_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */ 4300 #define RADIO_INTENCLR_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */ 4301 #define RADIO_INTENCLR_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */ 4302 #define RADIO_INTENCLR_RSSIEND_Clear (1UL) /*!< Disable interrupt on write. */ 4303 4304 /* Bit 6 : Disable interrupt on DEVMISS event. */ 4305 #define RADIO_INTENCLR_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */ 4306 #define RADIO_INTENCLR_DEVMISS_Msk (0x1UL << RADIO_INTENCLR_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */ 4307 #define RADIO_INTENCLR_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */ 4308 #define RADIO_INTENCLR_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */ 4309 #define RADIO_INTENCLR_DEVMISS_Clear (1UL) /*!< Disable interrupt on write. */ 4310 4311 /* Bit 5 : Disable interrupt on DEVMATCH event. */ 4312 #define RADIO_INTENCLR_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */ 4313 #define RADIO_INTENCLR_DEVMATCH_Msk (0x1UL << RADIO_INTENCLR_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */ 4314 #define RADIO_INTENCLR_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 4315 #define RADIO_INTENCLR_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 4316 #define RADIO_INTENCLR_DEVMATCH_Clear (1UL) /*!< Disable interrupt on write. */ 4317 4318 /* Bit 4 : Disable interrupt on DISABLED event. */ 4319 #define RADIO_INTENCLR_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */ 4320 #define RADIO_INTENCLR_DISABLED_Msk (0x1UL << RADIO_INTENCLR_DISABLED_Pos) /*!< Bit mask of DISABLED field. */ 4321 #define RADIO_INTENCLR_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */ 4322 #define RADIO_INTENCLR_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */ 4323 #define RADIO_INTENCLR_DISABLED_Clear (1UL) /*!< Disable interrupt on write. */ 4324 4325 /* Bit 3 : Disable interrupt on END event. */ 4326 #define RADIO_INTENCLR_END_Pos (3UL) /*!< Position of END field. */ 4327 #define RADIO_INTENCLR_END_Msk (0x1UL << RADIO_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 4328 #define RADIO_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 4329 #define RADIO_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 4330 #define RADIO_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 4331 4332 /* Bit 2 : Disable interrupt on PAYLOAD event. */ 4333 #define RADIO_INTENCLR_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */ 4334 #define RADIO_INTENCLR_PAYLOAD_Msk (0x1UL << RADIO_INTENCLR_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */ 4335 #define RADIO_INTENCLR_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */ 4336 #define RADIO_INTENCLR_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */ 4337 #define RADIO_INTENCLR_PAYLOAD_Clear (1UL) /*!< Disable interrupt on write. */ 4338 4339 /* Bit 1 : Disable interrupt on ADDRESS event. */ 4340 #define RADIO_INTENCLR_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */ 4341 #define RADIO_INTENCLR_ADDRESS_Msk (0x1UL << RADIO_INTENCLR_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 4342 #define RADIO_INTENCLR_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */ 4343 #define RADIO_INTENCLR_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */ 4344 #define RADIO_INTENCLR_ADDRESS_Clear (1UL) /*!< Disable interrupt on write. */ 4345 4346 /* Bit 0 : Disable interrupt on READY event. */ 4347 #define RADIO_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 4348 #define RADIO_INTENCLR_READY_Msk (0x1UL << RADIO_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 4349 #define RADIO_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */ 4350 #define RADIO_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */ 4351 #define RADIO_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */ 4352 4353 /* Register: RADIO_CRCSTATUS */ 4354 /* Description: CRC status of received packet. */ 4355 4356 /* Bit 0 : CRC status of received packet. */ 4357 #define RADIO_CRCSTATUS_CRCSTATUS_Pos (0UL) /*!< Position of CRCSTATUS field. */ 4358 #define RADIO_CRCSTATUS_CRCSTATUS_Msk (0x1UL << RADIO_CRCSTATUS_CRCSTATUS_Pos) /*!< Bit mask of CRCSTATUS field. */ 4359 #define RADIO_CRCSTATUS_CRCSTATUS_CRCError (0UL) /*!< Packet received with CRC error. */ 4360 #define RADIO_CRCSTATUS_CRCSTATUS_CRCOk (1UL) /*!< Packet received with CRC ok. */ 4361 4362 /* Register: RADIO_RXMATCH */ 4363 /* Description: Received address. */ 4364 4365 /* Bits 2..0 : Logical address in which previous packet was received. */ 4366 #define RADIO_RXMATCH_RXMATCH_Pos (0UL) /*!< Position of RXMATCH field. */ 4367 #define RADIO_RXMATCH_RXMATCH_Msk (0x7UL << RADIO_RXMATCH_RXMATCH_Pos) /*!< Bit mask of RXMATCH field. */ 4368 4369 /* Register: RADIO_RXCRC */ 4370 /* Description: Received CRC. */ 4371 4372 /* Bits 23..0 : CRC field of previously received packet. */ 4373 #define RADIO_RXCRC_RXCRC_Pos (0UL) /*!< Position of RXCRC field. */ 4374 #define RADIO_RXCRC_RXCRC_Msk (0xFFFFFFUL << RADIO_RXCRC_RXCRC_Pos) /*!< Bit mask of RXCRC field. */ 4375 4376 /* Register: RADIO_DAI */ 4377 /* Description: Device address match index. */ 4378 4379 /* Bits 2..0 : Index (n) of device address (see DAB[n] and DAP[n]) that obtained an address match. */ 4380 #define RADIO_DAI_DAI_Pos (0UL) /*!< Position of DAI field. */ 4381 #define RADIO_DAI_DAI_Msk (0x7UL << RADIO_DAI_DAI_Pos) /*!< Bit mask of DAI field. */ 4382 4383 /* Register: RADIO_FREQUENCY */ 4384 /* Description: Frequency. */ 4385 4386 /* Bits 6..0 : Radio channel frequency offset in MHz: RF Frequency = 2400 + FREQUENCY (MHz). Decision point: TXEN or RXEN task. */ 4387 #define RADIO_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 4388 #define RADIO_FREQUENCY_FREQUENCY_Msk (0x7FUL << RADIO_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 4389 4390 /* Register: RADIO_TXPOWER */ 4391 /* Description: Output power. */ 4392 4393 /* Bits 7..0 : Radio output power. Decision point: TXEN task. */ 4394 #define RADIO_TXPOWER_TXPOWER_Pos (0UL) /*!< Position of TXPOWER field. */ 4395 #define RADIO_TXPOWER_TXPOWER_Msk (0xFFUL << RADIO_TXPOWER_TXPOWER_Pos) /*!< Bit mask of TXPOWER field. */ 4396 #define RADIO_TXPOWER_TXPOWER_0dBm (0x00UL) /*!< 0dBm. */ 4397 #define RADIO_TXPOWER_TXPOWER_Pos4dBm (0x04UL) /*!< +4dBm. */ 4398 #define RADIO_TXPOWER_TXPOWER_Neg30dBm (0xD8UL) /*!< -30dBm. */ 4399 #define RADIO_TXPOWER_TXPOWER_Neg20dBm (0xECUL) /*!< -20dBm. */ 4400 #define RADIO_TXPOWER_TXPOWER_Neg16dBm (0xF0UL) /*!< -16dBm. */ 4401 #define RADIO_TXPOWER_TXPOWER_Neg12dBm (0xF4UL) /*!< -12dBm. */ 4402 #define RADIO_TXPOWER_TXPOWER_Neg8dBm (0xF8UL) /*!< -8dBm. */ 4403 #define RADIO_TXPOWER_TXPOWER_Neg4dBm (0xFCUL) /*!< -4dBm. */ 4404 4405 /* Register: RADIO_MODE */ 4406 /* Description: Data rate and modulation. */ 4407 4408 /* Bits 1..0 : Radio data rate and modulation setting. Decision point: TXEN or RXEN task. */ 4409 #define RADIO_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 4410 #define RADIO_MODE_MODE_Msk (0x3UL << RADIO_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 4411 #define RADIO_MODE_MODE_Nrf_1Mbit (0x00UL) /*!< 1Mbit/s Nordic propietary radio mode. */ 4412 #define RADIO_MODE_MODE_Nrf_2Mbit (0x01UL) /*!< 2Mbit/s Nordic propietary radio mode. */ 4413 #define RADIO_MODE_MODE_Nrf_250Kbit (0x02UL) /*!< 250kbit/s Nordic propietary radio mode. */ 4414 #define RADIO_MODE_MODE_Ble_1Mbit (0x03UL) /*!< 1Mbit/s Bluetooth Low Energy */ 4415 4416 /* Register: RADIO_PCNF0 */ 4417 /* Description: Packet configuration 0. */ 4418 4419 /* Bits 19..16 : Length of S1 field in number of bits. Decision point: START task. */ 4420 #define RADIO_PCNF0_S1LEN_Pos (16UL) /*!< Position of S1LEN field. */ 4421 #define RADIO_PCNF0_S1LEN_Msk (0xFUL << RADIO_PCNF0_S1LEN_Pos) /*!< Bit mask of S1LEN field. */ 4422 4423 /* Bit 8 : Length of S0 field in number of bytes. Decision point: START task. */ 4424 #define RADIO_PCNF0_S0LEN_Pos (8UL) /*!< Position of S0LEN field. */ 4425 #define RADIO_PCNF0_S0LEN_Msk (0x1UL << RADIO_PCNF0_S0LEN_Pos) /*!< Bit mask of S0LEN field. */ 4426 4427 /* Bits 3..0 : Length of length field in number of bits. Decision point: START task. */ 4428 #define RADIO_PCNF0_LFLEN_Pos (0UL) /*!< Position of LFLEN field. */ 4429 #define RADIO_PCNF0_LFLEN_Msk (0xFUL << RADIO_PCNF0_LFLEN_Pos) /*!< Bit mask of LFLEN field. */ 4430 4431 /* Register: RADIO_PCNF1 */ 4432 /* Description: Packet configuration 1. */ 4433 4434 /* Bit 25 : Packet whitening enable. */ 4435 #define RADIO_PCNF1_WHITEEN_Pos (25UL) /*!< Position of WHITEEN field. */ 4436 #define RADIO_PCNF1_WHITEEN_Msk (0x1UL << RADIO_PCNF1_WHITEEN_Pos) /*!< Bit mask of WHITEEN field. */ 4437 #define RADIO_PCNF1_WHITEEN_Disabled (0UL) /*!< Whitening disabled. */ 4438 #define RADIO_PCNF1_WHITEEN_Enabled (1UL) /*!< Whitening enabled. */ 4439 4440 /* Bit 24 : On air endianness of packet length field. Decision point: START task. */ 4441 #define RADIO_PCNF1_ENDIAN_Pos (24UL) /*!< Position of ENDIAN field. */ 4442 #define RADIO_PCNF1_ENDIAN_Msk (0x1UL << RADIO_PCNF1_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */ 4443 #define RADIO_PCNF1_ENDIAN_Little (0UL) /*!< Least significant bit on air first */ 4444 #define RADIO_PCNF1_ENDIAN_Big (1UL) /*!< Most significant bit on air first */ 4445 4446 /* Bits 18..16 : Base address length in number of bytes. Decision point: START task. */ 4447 #define RADIO_PCNF1_BALEN_Pos (16UL) /*!< Position of BALEN field. */ 4448 #define RADIO_PCNF1_BALEN_Msk (0x7UL << RADIO_PCNF1_BALEN_Pos) /*!< Bit mask of BALEN field. */ 4449 4450 /* Bits 15..8 : Static length in number of bytes. Decision point: START task. */ 4451 #define RADIO_PCNF1_STATLEN_Pos (8UL) /*!< Position of STATLEN field. */ 4452 #define RADIO_PCNF1_STATLEN_Msk (0xFFUL << RADIO_PCNF1_STATLEN_Pos) /*!< Bit mask of STATLEN field. */ 4453 4454 /* Bits 7..0 : Maximum length of packet payload in number of bytes. */ 4455 #define RADIO_PCNF1_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */ 4456 #define RADIO_PCNF1_MAXLEN_Msk (0xFFUL << RADIO_PCNF1_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */ 4457 4458 /* Register: RADIO_PREFIX0 */ 4459 /* Description: Prefixes bytes for logical addresses 0 to 3. */ 4460 4461 /* Bits 31..24 : Address prefix 3. Decision point: START task. */ 4462 #define RADIO_PREFIX0_AP3_Pos (24UL) /*!< Position of AP3 field. */ 4463 #define RADIO_PREFIX0_AP3_Msk (0xFFUL << RADIO_PREFIX0_AP3_Pos) /*!< Bit mask of AP3 field. */ 4464 4465 /* Bits 23..16 : Address prefix 2. Decision point: START task. */ 4466 #define RADIO_PREFIX0_AP2_Pos (16UL) /*!< Position of AP2 field. */ 4467 #define RADIO_PREFIX0_AP2_Msk (0xFFUL << RADIO_PREFIX0_AP2_Pos) /*!< Bit mask of AP2 field. */ 4468 4469 /* Bits 15..8 : Address prefix 1. Decision point: START task. */ 4470 #define RADIO_PREFIX0_AP1_Pos (8UL) /*!< Position of AP1 field. */ 4471 #define RADIO_PREFIX0_AP1_Msk (0xFFUL << RADIO_PREFIX0_AP1_Pos) /*!< Bit mask of AP1 field. */ 4472 4473 /* Bits 7..0 : Address prefix 0. Decision point: START task. */ 4474 #define RADIO_PREFIX0_AP0_Pos (0UL) /*!< Position of AP0 field. */ 4475 #define RADIO_PREFIX0_AP0_Msk (0xFFUL << RADIO_PREFIX0_AP0_Pos) /*!< Bit mask of AP0 field. */ 4476 4477 /* Register: RADIO_PREFIX1 */ 4478 /* Description: Prefixes bytes for logical addresses 4 to 7. */ 4479 4480 /* Bits 31..24 : Address prefix 7. Decision point: START task. */ 4481 #define RADIO_PREFIX1_AP7_Pos (24UL) /*!< Position of AP7 field. */ 4482 #define RADIO_PREFIX1_AP7_Msk (0xFFUL << RADIO_PREFIX1_AP7_Pos) /*!< Bit mask of AP7 field. */ 4483 4484 /* Bits 23..16 : Address prefix 6. Decision point: START task. */ 4485 #define RADIO_PREFIX1_AP6_Pos (16UL) /*!< Position of AP6 field. */ 4486 #define RADIO_PREFIX1_AP6_Msk (0xFFUL << RADIO_PREFIX1_AP6_Pos) /*!< Bit mask of AP6 field. */ 4487 4488 /* Bits 15..8 : Address prefix 5. Decision point: START task. */ 4489 #define RADIO_PREFIX1_AP5_Pos (8UL) /*!< Position of AP5 field. */ 4490 #define RADIO_PREFIX1_AP5_Msk (0xFFUL << RADIO_PREFIX1_AP5_Pos) /*!< Bit mask of AP5 field. */ 4491 4492 /* Bits 7..0 : Address prefix 4. Decision point: START task. */ 4493 #define RADIO_PREFIX1_AP4_Pos (0UL) /*!< Position of AP4 field. */ 4494 #define RADIO_PREFIX1_AP4_Msk (0xFFUL << RADIO_PREFIX1_AP4_Pos) /*!< Bit mask of AP4 field. */ 4495 4496 /* Register: RADIO_TXADDRESS */ 4497 /* Description: Transmit address select. */ 4498 4499 /* Bits 2..0 : Logical address to be used when transmitting a packet. Decision point: START task. */ 4500 #define RADIO_TXADDRESS_TXADDRESS_Pos (0UL) /*!< Position of TXADDRESS field. */ 4501 #define RADIO_TXADDRESS_TXADDRESS_Msk (0x7UL << RADIO_TXADDRESS_TXADDRESS_Pos) /*!< Bit mask of TXADDRESS field. */ 4502 4503 /* Register: RADIO_RXADDRESSES */ 4504 /* Description: Receive address select. */ 4505 4506 /* Bit 7 : Enable reception on logical address 7. Decision point: START task. */ 4507 #define RADIO_RXADDRESSES_ADDR7_Pos (7UL) /*!< Position of ADDR7 field. */ 4508 #define RADIO_RXADDRESSES_ADDR7_Msk (0x1UL << RADIO_RXADDRESSES_ADDR7_Pos) /*!< Bit mask of ADDR7 field. */ 4509 #define RADIO_RXADDRESSES_ADDR7_Disabled (0UL) /*!< Reception disabled. */ 4510 #define RADIO_RXADDRESSES_ADDR7_Enabled (1UL) /*!< Reception enabled. */ 4511 4512 /* Bit 6 : Enable reception on logical address 6. Decision point: START task. */ 4513 #define RADIO_RXADDRESSES_ADDR6_Pos (6UL) /*!< Position of ADDR6 field. */ 4514 #define RADIO_RXADDRESSES_ADDR6_Msk (0x1UL << RADIO_RXADDRESSES_ADDR6_Pos) /*!< Bit mask of ADDR6 field. */ 4515 #define RADIO_RXADDRESSES_ADDR6_Disabled (0UL) /*!< Reception disabled. */ 4516 #define RADIO_RXADDRESSES_ADDR6_Enabled (1UL) /*!< Reception enabled. */ 4517 4518 /* Bit 5 : Enable reception on logical address 5. Decision point: START task. */ 4519 #define RADIO_RXADDRESSES_ADDR5_Pos (5UL) /*!< Position of ADDR5 field. */ 4520 #define RADIO_RXADDRESSES_ADDR5_Msk (0x1UL << RADIO_RXADDRESSES_ADDR5_Pos) /*!< Bit mask of ADDR5 field. */ 4521 #define RADIO_RXADDRESSES_ADDR5_Disabled (0UL) /*!< Reception disabled. */ 4522 #define RADIO_RXADDRESSES_ADDR5_Enabled (1UL) /*!< Reception enabled. */ 4523 4524 /* Bit 4 : Enable reception on logical address 4. Decision point: START task. */ 4525 #define RADIO_RXADDRESSES_ADDR4_Pos (4UL) /*!< Position of ADDR4 field. */ 4526 #define RADIO_RXADDRESSES_ADDR4_Msk (0x1UL << RADIO_RXADDRESSES_ADDR4_Pos) /*!< Bit mask of ADDR4 field. */ 4527 #define RADIO_RXADDRESSES_ADDR4_Disabled (0UL) /*!< Reception disabled. */ 4528 #define RADIO_RXADDRESSES_ADDR4_Enabled (1UL) /*!< Reception enabled. */ 4529 4530 /* Bit 3 : Enable reception on logical address 3. Decision point: START task. */ 4531 #define RADIO_RXADDRESSES_ADDR3_Pos (3UL) /*!< Position of ADDR3 field. */ 4532 #define RADIO_RXADDRESSES_ADDR3_Msk (0x1UL << RADIO_RXADDRESSES_ADDR3_Pos) /*!< Bit mask of ADDR3 field. */ 4533 #define RADIO_RXADDRESSES_ADDR3_Disabled (0UL) /*!< Reception disabled. */ 4534 #define RADIO_RXADDRESSES_ADDR3_Enabled (1UL) /*!< Reception enabled. */ 4535 4536 /* Bit 2 : Enable reception on logical address 2. Decision point: START task. */ 4537 #define RADIO_RXADDRESSES_ADDR2_Pos (2UL) /*!< Position of ADDR2 field. */ 4538 #define RADIO_RXADDRESSES_ADDR2_Msk (0x1UL << RADIO_RXADDRESSES_ADDR2_Pos) /*!< Bit mask of ADDR2 field. */ 4539 #define RADIO_RXADDRESSES_ADDR2_Disabled (0UL) /*!< Reception disabled. */ 4540 #define RADIO_RXADDRESSES_ADDR2_Enabled (1UL) /*!< Reception enabled. */ 4541 4542 /* Bit 1 : Enable reception on logical address 1. Decision point: START task. */ 4543 #define RADIO_RXADDRESSES_ADDR1_Pos (1UL) /*!< Position of ADDR1 field. */ 4544 #define RADIO_RXADDRESSES_ADDR1_Msk (0x1UL << RADIO_RXADDRESSES_ADDR1_Pos) /*!< Bit mask of ADDR1 field. */ 4545 #define RADIO_RXADDRESSES_ADDR1_Disabled (0UL) /*!< Reception disabled. */ 4546 #define RADIO_RXADDRESSES_ADDR1_Enabled (1UL) /*!< Reception enabled. */ 4547 4548 /* Bit 0 : Enable reception on logical address 0. Decision point: START task. */ 4549 #define RADIO_RXADDRESSES_ADDR0_Pos (0UL) /*!< Position of ADDR0 field. */ 4550 #define RADIO_RXADDRESSES_ADDR0_Msk (0x1UL << RADIO_RXADDRESSES_ADDR0_Pos) /*!< Bit mask of ADDR0 field. */ 4551 #define RADIO_RXADDRESSES_ADDR0_Disabled (0UL) /*!< Reception disabled. */ 4552 #define RADIO_RXADDRESSES_ADDR0_Enabled (1UL) /*!< Reception enabled. */ 4553 4554 /* Register: RADIO_CRCCNF */ 4555 /* Description: CRC configuration. */ 4556 4557 /* Bit 8 : Leave packet address field out of the CRC calculation. Decision point: START task. */ 4558 #define RADIO_CRCCNF_SKIPADDR_Pos (8UL) /*!< Position of SKIPADDR field. */ 4559 #define RADIO_CRCCNF_SKIPADDR_Msk (0x1UL << RADIO_CRCCNF_SKIPADDR_Pos) /*!< Bit mask of SKIPADDR field. */ 4560 #define RADIO_CRCCNF_SKIPADDR_Include (0UL) /*!< Include packet address in CRC calculation. */ 4561 #define RADIO_CRCCNF_SKIPADDR_Skip (1UL) /*!< Packet address is skipped in CRC calculation. The CRC calculation will start at the first byte after the address. */ 4562 4563 /* Bits 1..0 : CRC length. Decision point: START task. */ 4564 #define RADIO_CRCCNF_LEN_Pos (0UL) /*!< Position of LEN field. */ 4565 #define RADIO_CRCCNF_LEN_Msk (0x3UL << RADIO_CRCCNF_LEN_Pos) /*!< Bit mask of LEN field. */ 4566 #define RADIO_CRCCNF_LEN_Disabled (0UL) /*!< CRC calculation disabled. */ 4567 #define RADIO_CRCCNF_LEN_One (1UL) /*!< One byte long CRC. */ 4568 #define RADIO_CRCCNF_LEN_Two (2UL) /*!< Two bytes long CRC. */ 4569 #define RADIO_CRCCNF_LEN_Three (3UL) /*!< Three bytes long CRC. */ 4570 4571 /* Register: RADIO_CRCPOLY */ 4572 /* Description: CRC polynomial. */ 4573 4574 /* Bits 23..0 : CRC polynomial. Decision point: START task. */ 4575 #define RADIO_CRCPOLY_CRCPOLY_Pos (0UL) /*!< Position of CRCPOLY field. */ 4576 #define RADIO_CRCPOLY_CRCPOLY_Msk (0xFFFFFFUL << RADIO_CRCPOLY_CRCPOLY_Pos) /*!< Bit mask of CRCPOLY field. */ 4577 4578 /* Register: RADIO_CRCINIT */ 4579 /* Description: CRC initial value. */ 4580 4581 /* Bits 23..0 : Initial value for CRC calculation. Decision point: START task. */ 4582 #define RADIO_CRCINIT_CRCINIT_Pos (0UL) /*!< Position of CRCINIT field. */ 4583 #define RADIO_CRCINIT_CRCINIT_Msk (0xFFFFFFUL << RADIO_CRCINIT_CRCINIT_Pos) /*!< Bit mask of CRCINIT field. */ 4584 4585 /* Register: RADIO_TEST */ 4586 /* Description: Test features enable register. */ 4587 4588 /* Bit 1 : PLL lock. Decision point: TXEN or RXEN task. */ 4589 #define RADIO_TEST_PLLLOCK_Pos (1UL) /*!< Position of PLLLOCK field. */ 4590 #define RADIO_TEST_PLLLOCK_Msk (0x1UL << RADIO_TEST_PLLLOCK_Pos) /*!< Bit mask of PLLLOCK field. */ 4591 #define RADIO_TEST_PLLLOCK_Disabled (0UL) /*!< PLL lock disabled. */ 4592 #define RADIO_TEST_PLLLOCK_Enabled (1UL) /*!< PLL lock enabled. */ 4593 4594 /* Bit 0 : Constant carrier. Decision point: TXEN task. */ 4595 #define RADIO_TEST_CONSTCARRIER_Pos (0UL) /*!< Position of CONSTCARRIER field. */ 4596 #define RADIO_TEST_CONSTCARRIER_Msk (0x1UL << RADIO_TEST_CONSTCARRIER_Pos) /*!< Bit mask of CONSTCARRIER field. */ 4597 #define RADIO_TEST_CONSTCARRIER_Disabled (0UL) /*!< Constant carrier disabled. */ 4598 #define RADIO_TEST_CONSTCARRIER_Enabled (1UL) /*!< Constant carrier enabled. */ 4599 4600 /* Register: RADIO_TIFS */ 4601 /* Description: Inter Frame Spacing in microseconds. */ 4602 4603 /* Bits 7..0 : Inter frame spacing in microseconds. Decision point: START rask */ 4604 #define RADIO_TIFS_TIFS_Pos (0UL) /*!< Position of TIFS field. */ 4605 #define RADIO_TIFS_TIFS_Msk (0xFFUL << RADIO_TIFS_TIFS_Pos) /*!< Bit mask of TIFS field. */ 4606 4607 /* Register: RADIO_RSSISAMPLE */ 4608 /* Description: RSSI sample. */ 4609 4610 /* Bits 6..0 : RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm */ 4611 #define RADIO_RSSISAMPLE_RSSISAMPLE_Pos (0UL) /*!< Position of RSSISAMPLE field. */ 4612 #define RADIO_RSSISAMPLE_RSSISAMPLE_Msk (0x7FUL << RADIO_RSSISAMPLE_RSSISAMPLE_Pos) /*!< Bit mask of RSSISAMPLE field. */ 4613 4614 /* Register: RADIO_STATE */ 4615 /* Description: Current radio state. */ 4616 4617 /* Bits 3..0 : Current radio state. */ 4618 #define RADIO_STATE_STATE_Pos (0UL) /*!< Position of STATE field. */ 4619 #define RADIO_STATE_STATE_Msk (0xFUL << RADIO_STATE_STATE_Pos) /*!< Bit mask of STATE field. */ 4620 #define RADIO_STATE_STATE_Disabled (0x00UL) /*!< Radio is in the Disabled state. */ 4621 #define RADIO_STATE_STATE_RxRu (0x01UL) /*!< Radio is in the Rx Ramp Up state. */ 4622 #define RADIO_STATE_STATE_RxIdle (0x02UL) /*!< Radio is in the Rx Idle state. */ 4623 #define RADIO_STATE_STATE_Rx (0x03UL) /*!< Radio is in the Rx state. */ 4624 #define RADIO_STATE_STATE_RxDisable (0x04UL) /*!< Radio is in the Rx Disable state. */ 4625 #define RADIO_STATE_STATE_TxRu (0x09UL) /*!< Radio is in the Tx Ramp Up state. */ 4626 #define RADIO_STATE_STATE_TxIdle (0x0AUL) /*!< Radio is in the Tx Idle state. */ 4627 #define RADIO_STATE_STATE_Tx (0x0BUL) /*!< Radio is in the Tx state. */ 4628 #define RADIO_STATE_STATE_TxDisable (0x0CUL) /*!< Radio is in the Tx Disable state. */ 4629 4630 /* Register: RADIO_DATAWHITEIV */ 4631 /* Description: Data whitening initial value. */ 4632 4633 /* Bits 6..0 : Data whitening initial value. Bit 0 corresponds to Position 0 of the LSFR, Bit 1 to position 5... Decision point: TXEN or RXEN task. */ 4634 #define RADIO_DATAWHITEIV_DATAWHITEIV_Pos (0UL) /*!< Position of DATAWHITEIV field. */ 4635 #define RADIO_DATAWHITEIV_DATAWHITEIV_Msk (0x7FUL << RADIO_DATAWHITEIV_DATAWHITEIV_Pos) /*!< Bit mask of DATAWHITEIV field. */ 4636 4637 /* Register: RADIO_DAP */ 4638 /* Description: Device address prefix. */ 4639 4640 /* Bits 15..0 : Device address prefix. */ 4641 #define RADIO_DAP_DAP_Pos (0UL) /*!< Position of DAP field. */ 4642 #define RADIO_DAP_DAP_Msk (0xFFFFUL << RADIO_DAP_DAP_Pos) /*!< Bit mask of DAP field. */ 4643 4644 /* Register: RADIO_DACNF */ 4645 /* Description: Device address match configuration. */ 4646 4647 /* Bit 15 : TxAdd for device address 7. */ 4648 #define RADIO_DACNF_TXADD7_Pos (15UL) /*!< Position of TXADD7 field. */ 4649 #define RADIO_DACNF_TXADD7_Msk (0x1UL << RADIO_DACNF_TXADD7_Pos) /*!< Bit mask of TXADD7 field. */ 4650 4651 /* Bit 14 : TxAdd for device address 6. */ 4652 #define RADIO_DACNF_TXADD6_Pos (14UL) /*!< Position of TXADD6 field. */ 4653 #define RADIO_DACNF_TXADD6_Msk (0x1UL << RADIO_DACNF_TXADD6_Pos) /*!< Bit mask of TXADD6 field. */ 4654 4655 /* Bit 13 : TxAdd for device address 5. */ 4656 #define RADIO_DACNF_TXADD5_Pos (13UL) /*!< Position of TXADD5 field. */ 4657 #define RADIO_DACNF_TXADD5_Msk (0x1UL << RADIO_DACNF_TXADD5_Pos) /*!< Bit mask of TXADD5 field. */ 4658 4659 /* Bit 12 : TxAdd for device address 4. */ 4660 #define RADIO_DACNF_TXADD4_Pos (12UL) /*!< Position of TXADD4 field. */ 4661 #define RADIO_DACNF_TXADD4_Msk (0x1UL << RADIO_DACNF_TXADD4_Pos) /*!< Bit mask of TXADD4 field. */ 4662 4663 /* Bit 11 : TxAdd for device address 3. */ 4664 #define RADIO_DACNF_TXADD3_Pos (11UL) /*!< Position of TXADD3 field. */ 4665 #define RADIO_DACNF_TXADD3_Msk (0x1UL << RADIO_DACNF_TXADD3_Pos) /*!< Bit mask of TXADD3 field. */ 4666 4667 /* Bit 10 : TxAdd for device address 2. */ 4668 #define RADIO_DACNF_TXADD2_Pos (10UL) /*!< Position of TXADD2 field. */ 4669 #define RADIO_DACNF_TXADD2_Msk (0x1UL << RADIO_DACNF_TXADD2_Pos) /*!< Bit mask of TXADD2 field. */ 4670 4671 /* Bit 9 : TxAdd for device address 1. */ 4672 #define RADIO_DACNF_TXADD1_Pos (9UL) /*!< Position of TXADD1 field. */ 4673 #define RADIO_DACNF_TXADD1_Msk (0x1UL << RADIO_DACNF_TXADD1_Pos) /*!< Bit mask of TXADD1 field. */ 4674 4675 /* Bit 8 : TxAdd for device address 0. */ 4676 #define RADIO_DACNF_TXADD0_Pos (8UL) /*!< Position of TXADD0 field. */ 4677 #define RADIO_DACNF_TXADD0_Msk (0x1UL << RADIO_DACNF_TXADD0_Pos) /*!< Bit mask of TXADD0 field. */ 4678 4679 /* Bit 7 : Enable or disable device address matching using device address 7. */ 4680 #define RADIO_DACNF_ENA7_Pos (7UL) /*!< Position of ENA7 field. */ 4681 #define RADIO_DACNF_ENA7_Msk (0x1UL << RADIO_DACNF_ENA7_Pos) /*!< Bit mask of ENA7 field. */ 4682 #define RADIO_DACNF_ENA7_Disabled (0UL) /*!< Disabled. */ 4683 #define RADIO_DACNF_ENA7_Enabled (1UL) /*!< Enabled. */ 4684 4685 /* Bit 6 : Enable or disable device address matching using device address 6. */ 4686 #define RADIO_DACNF_ENA6_Pos (6UL) /*!< Position of ENA6 field. */ 4687 #define RADIO_DACNF_ENA6_Msk (0x1UL << RADIO_DACNF_ENA6_Pos) /*!< Bit mask of ENA6 field. */ 4688 #define RADIO_DACNF_ENA6_Disabled (0UL) /*!< Disabled. */ 4689 #define RADIO_DACNF_ENA6_Enabled (1UL) /*!< Enabled. */ 4690 4691 /* Bit 5 : Enable or disable device address matching using device address 5. */ 4692 #define RADIO_DACNF_ENA5_Pos (5UL) /*!< Position of ENA5 field. */ 4693 #define RADIO_DACNF_ENA5_Msk (0x1UL << RADIO_DACNF_ENA5_Pos) /*!< Bit mask of ENA5 field. */ 4694 #define RADIO_DACNF_ENA5_Disabled (0UL) /*!< Disabled. */ 4695 #define RADIO_DACNF_ENA5_Enabled (1UL) /*!< Enabled. */ 4696 4697 /* Bit 4 : Enable or disable device address matching using device address 4. */ 4698 #define RADIO_DACNF_ENA4_Pos (4UL) /*!< Position of ENA4 field. */ 4699 #define RADIO_DACNF_ENA4_Msk (0x1UL << RADIO_DACNF_ENA4_Pos) /*!< Bit mask of ENA4 field. */ 4700 #define RADIO_DACNF_ENA4_Disabled (0UL) /*!< Disabled. */ 4701 #define RADIO_DACNF_ENA4_Enabled (1UL) /*!< Enabled. */ 4702 4703 /* Bit 3 : Enable or disable device address matching using device address 3. */ 4704 #define RADIO_DACNF_ENA3_Pos (3UL) /*!< Position of ENA3 field. */ 4705 #define RADIO_DACNF_ENA3_Msk (0x1UL << RADIO_DACNF_ENA3_Pos) /*!< Bit mask of ENA3 field. */ 4706 #define RADIO_DACNF_ENA3_Disabled (0UL) /*!< Disabled. */ 4707 #define RADIO_DACNF_ENA3_Enabled (1UL) /*!< Enabled. */ 4708 4709 /* Bit 2 : Enable or disable device address matching using device address 2. */ 4710 #define RADIO_DACNF_ENA2_Pos (2UL) /*!< Position of ENA2 field. */ 4711 #define RADIO_DACNF_ENA2_Msk (0x1UL << RADIO_DACNF_ENA2_Pos) /*!< Bit mask of ENA2 field. */ 4712 #define RADIO_DACNF_ENA2_Disabled (0UL) /*!< Disabled. */ 4713 #define RADIO_DACNF_ENA2_Enabled (1UL) /*!< Enabled. */ 4714 4715 /* Bit 1 : Enable or disable device address matching using device address 1. */ 4716 #define RADIO_DACNF_ENA1_Pos (1UL) /*!< Position of ENA1 field. */ 4717 #define RADIO_DACNF_ENA1_Msk (0x1UL << RADIO_DACNF_ENA1_Pos) /*!< Bit mask of ENA1 field. */ 4718 #define RADIO_DACNF_ENA1_Disabled (0UL) /*!< Disabled. */ 4719 #define RADIO_DACNF_ENA1_Enabled (1UL) /*!< Enabled. */ 4720 4721 /* Bit 0 : Enable or disable device address matching using device address 0. */ 4722 #define RADIO_DACNF_ENA0_Pos (0UL) /*!< Position of ENA0 field. */ 4723 #define RADIO_DACNF_ENA0_Msk (0x1UL << RADIO_DACNF_ENA0_Pos) /*!< Bit mask of ENA0 field. */ 4724 #define RADIO_DACNF_ENA0_Disabled (0UL) /*!< Disabled. */ 4725 #define RADIO_DACNF_ENA0_Enabled (1UL) /*!< Enabled. */ 4726 4727 /* Register: RADIO_OVERRIDE0 */ 4728 /* Description: Trim value override register 0. */ 4729 4730 /* Bits 31..0 : Trim value override 0. */ 4731 #define RADIO_OVERRIDE0_OVERRIDE0_Pos (0UL) /*!< Position of OVERRIDE0 field. */ 4732 #define RADIO_OVERRIDE0_OVERRIDE0_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE0_OVERRIDE0_Pos) /*!< Bit mask of OVERRIDE0 field. */ 4733 4734 /* Register: RADIO_OVERRIDE1 */ 4735 /* Description: Trim value override register 1. */ 4736 4737 /* Bits 31..0 : Trim value override 1. */ 4738 #define RADIO_OVERRIDE1_OVERRIDE1_Pos (0UL) /*!< Position of OVERRIDE1 field. */ 4739 #define RADIO_OVERRIDE1_OVERRIDE1_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE1_OVERRIDE1_Pos) /*!< Bit mask of OVERRIDE1 field. */ 4740 4741 /* Register: RADIO_OVERRIDE2 */ 4742 /* Description: Trim value override register 2. */ 4743 4744 /* Bits 31..0 : Trim value override 2. */ 4745 #define RADIO_OVERRIDE2_OVERRIDE2_Pos (0UL) /*!< Position of OVERRIDE2 field. */ 4746 #define RADIO_OVERRIDE2_OVERRIDE2_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE2_OVERRIDE2_Pos) /*!< Bit mask of OVERRIDE2 field. */ 4747 4748 /* Register: RADIO_OVERRIDE3 */ 4749 /* Description: Trim value override register 3. */ 4750 4751 /* Bits 31..0 : Trim value override 3. */ 4752 #define RADIO_OVERRIDE3_OVERRIDE3_Pos (0UL) /*!< Position of OVERRIDE3 field. */ 4753 #define RADIO_OVERRIDE3_OVERRIDE3_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE3_OVERRIDE3_Pos) /*!< Bit mask of OVERRIDE3 field. */ 4754 4755 /* Register: RADIO_OVERRIDE4 */ 4756 /* Description: Trim value override register 4. */ 4757 4758 /* Bit 31 : Enable or disable override of default trim values. */ 4759 #define RADIO_OVERRIDE4_ENABLE_Pos (31UL) /*!< Position of ENABLE field. */ 4760 #define RADIO_OVERRIDE4_ENABLE_Msk (0x1UL << RADIO_OVERRIDE4_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 4761 #define RADIO_OVERRIDE4_ENABLE_Disabled (0UL) /*!< Override trim values disabled. */ 4762 #define RADIO_OVERRIDE4_ENABLE_Enabled (1UL) /*!< Override trim values enabled. */ 4763 4764 /* Bits 27..0 : Trim value override 4. */ 4765 #define RADIO_OVERRIDE4_OVERRIDE4_Pos (0UL) /*!< Position of OVERRIDE4 field. */ 4766 #define RADIO_OVERRIDE4_OVERRIDE4_Msk (0xFFFFFFFUL << RADIO_OVERRIDE4_OVERRIDE4_Pos) /*!< Bit mask of OVERRIDE4 field. */ 4767 4768 /* Register: RADIO_POWER */ 4769 /* Description: Peripheral power control. */ 4770 4771 /* Bit 0 : Peripheral power control. */ 4772 #define RADIO_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 4773 #define RADIO_POWER_POWER_Msk (0x1UL << RADIO_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 4774 #define RADIO_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 4775 #define RADIO_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 4776 4777 4778 /* Peripheral: RNG */ 4779 /* Description: Random Number Generator. */ 4780 4781 /* Register: RNG_SHORTS */ 4782 /* Description: Shortcuts for the RNG. */ 4783 4784 /* Bit 0 : Shortcut between VALRDY event and STOP task. */ 4785 #define RNG_SHORTS_VALRDY_STOP_Pos (0UL) /*!< Position of VALRDY_STOP field. */ 4786 #define RNG_SHORTS_VALRDY_STOP_Msk (0x1UL << RNG_SHORTS_VALRDY_STOP_Pos) /*!< Bit mask of VALRDY_STOP field. */ 4787 #define RNG_SHORTS_VALRDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 4788 #define RNG_SHORTS_VALRDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 4789 4790 /* Register: RNG_INTENSET */ 4791 /* Description: Interrupt enable set register */ 4792 4793 /* Bit 0 : Enable interrupt on VALRDY event. */ 4794 #define RNG_INTENSET_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */ 4795 #define RNG_INTENSET_VALRDY_Msk (0x1UL << RNG_INTENSET_VALRDY_Pos) /*!< Bit mask of VALRDY field. */ 4796 #define RNG_INTENSET_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */ 4797 #define RNG_INTENSET_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */ 4798 #define RNG_INTENSET_VALRDY_Set (1UL) /*!< Enable interrupt on write. */ 4799 4800 /* Register: RNG_INTENCLR */ 4801 /* Description: Interrupt enable clear register */ 4802 4803 /* Bit 0 : Disable interrupt on VALRDY event. */ 4804 #define RNG_INTENCLR_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */ 4805 #define RNG_INTENCLR_VALRDY_Msk (0x1UL << RNG_INTENCLR_VALRDY_Pos) /*!< Bit mask of VALRDY field. */ 4806 #define RNG_INTENCLR_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */ 4807 #define RNG_INTENCLR_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */ 4808 #define RNG_INTENCLR_VALRDY_Clear (1UL) /*!< Disable interrupt on write. */ 4809 4810 /* Register: RNG_CONFIG */ 4811 /* Description: Configuration register. */ 4812 4813 /* Bit 0 : Digital error correction enable. */ 4814 #define RNG_CONFIG_DERCEN_Pos (0UL) /*!< Position of DERCEN field. */ 4815 #define RNG_CONFIG_DERCEN_Msk (0x1UL << RNG_CONFIG_DERCEN_Pos) /*!< Bit mask of DERCEN field. */ 4816 #define RNG_CONFIG_DERCEN_Disabled (0UL) /*!< Digital error correction disabled. */ 4817 #define RNG_CONFIG_DERCEN_Enabled (1UL) /*!< Digital error correction enabled. */ 4818 4819 /* Register: RNG_VALUE */ 4820 /* Description: RNG random number. */ 4821 4822 /* Bits 7..0 : Generated random number. */ 4823 #define RNG_VALUE_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 4824 #define RNG_VALUE_VALUE_Msk (0xFFUL << RNG_VALUE_VALUE_Pos) /*!< Bit mask of VALUE field. */ 4825 4826 /* Register: RNG_POWER */ 4827 /* Description: Peripheral power control. */ 4828 4829 /* Bit 0 : Peripheral power control. */ 4830 #define RNG_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 4831 #define RNG_POWER_POWER_Msk (0x1UL << RNG_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 4832 #define RNG_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 4833 #define RNG_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 4834 4835 4836 /* Peripheral: RTC */ 4837 /* Description: Real time counter 0. */ 4838 4839 /* Register: RTC_INTENSET */ 4840 /* Description: Interrupt enable set register. */ 4841 4842 /* Bit 19 : Enable interrupt on COMPARE[3] event. */ 4843 #define RTC_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 4844 #define RTC_INTENSET_COMPARE3_Msk (0x1UL << RTC_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 4845 #define RTC_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 4846 #define RTC_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 4847 #define RTC_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */ 4848 4849 /* Bit 18 : Enable interrupt on COMPARE[2] event. */ 4850 #define RTC_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 4851 #define RTC_INTENSET_COMPARE2_Msk (0x1UL << RTC_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 4852 #define RTC_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 4853 #define RTC_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 4854 #define RTC_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */ 4855 4856 /* Bit 17 : Enable interrupt on COMPARE[1] event. */ 4857 #define RTC_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 4858 #define RTC_INTENSET_COMPARE1_Msk (0x1UL << RTC_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 4859 #define RTC_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 4860 #define RTC_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 4861 #define RTC_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */ 4862 4863 /* Bit 16 : Enable interrupt on COMPARE[0] event. */ 4864 #define RTC_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 4865 #define RTC_INTENSET_COMPARE0_Msk (0x1UL << RTC_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 4866 #define RTC_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 4867 #define RTC_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 4868 #define RTC_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */ 4869 4870 /* Bit 1 : Enable interrupt on OVRFLW event. */ 4871 #define RTC_INTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 4872 #define RTC_INTENSET_OVRFLW_Msk (0x1UL << RTC_INTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 4873 #define RTC_INTENSET_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */ 4874 #define RTC_INTENSET_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */ 4875 #define RTC_INTENSET_OVRFLW_Set (1UL) /*!< Enable interrupt on write. */ 4876 4877 /* Bit 0 : Enable interrupt on TICK event. */ 4878 #define RTC_INTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */ 4879 #define RTC_INTENSET_TICK_Msk (0x1UL << RTC_INTENSET_TICK_Pos) /*!< Bit mask of TICK field. */ 4880 #define RTC_INTENSET_TICK_Disabled (0UL) /*!< Interrupt disabled. */ 4881 #define RTC_INTENSET_TICK_Enabled (1UL) /*!< Interrupt enabled. */ 4882 #define RTC_INTENSET_TICK_Set (1UL) /*!< Enable interrupt on write. */ 4883 4884 /* Register: RTC_INTENCLR */ 4885 /* Description: Interrupt enable clear register. */ 4886 4887 /* Bit 19 : Disable interrupt on COMPARE[3] event. */ 4888 #define RTC_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 4889 #define RTC_INTENCLR_COMPARE3_Msk (0x1UL << RTC_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 4890 #define RTC_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 4891 #define RTC_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 4892 #define RTC_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */ 4893 4894 /* Bit 18 : Disable interrupt on COMPARE[2] event. */ 4895 #define RTC_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 4896 #define RTC_INTENCLR_COMPARE2_Msk (0x1UL << RTC_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 4897 #define RTC_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 4898 #define RTC_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 4899 #define RTC_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */ 4900 4901 /* Bit 17 : Disable interrupt on COMPARE[1] event. */ 4902 #define RTC_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 4903 #define RTC_INTENCLR_COMPARE1_Msk (0x1UL << RTC_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 4904 #define RTC_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 4905 #define RTC_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 4906 #define RTC_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */ 4907 4908 /* Bit 16 : Disable interrupt on COMPARE[0] event. */ 4909 #define RTC_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 4910 #define RTC_INTENCLR_COMPARE0_Msk (0x1UL << RTC_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 4911 #define RTC_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 4912 #define RTC_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 4913 #define RTC_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */ 4914 4915 /* Bit 1 : Disable interrupt on OVRFLW event. */ 4916 #define RTC_INTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 4917 #define RTC_INTENCLR_OVRFLW_Msk (0x1UL << RTC_INTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 4918 #define RTC_INTENCLR_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */ 4919 #define RTC_INTENCLR_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */ 4920 #define RTC_INTENCLR_OVRFLW_Clear (1UL) /*!< Disable interrupt on write. */ 4921 4922 /* Bit 0 : Disable interrupt on TICK event. */ 4923 #define RTC_INTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */ 4924 #define RTC_INTENCLR_TICK_Msk (0x1UL << RTC_INTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */ 4925 #define RTC_INTENCLR_TICK_Disabled (0UL) /*!< Interrupt disabled. */ 4926 #define RTC_INTENCLR_TICK_Enabled (1UL) /*!< Interrupt enabled. */ 4927 #define RTC_INTENCLR_TICK_Clear (1UL) /*!< Disable interrupt on write. */ 4928 4929 /* Register: RTC_EVTEN */ 4930 /* Description: Configures event enable routing to PPI for each RTC event. */ 4931 4932 /* Bit 19 : COMPARE[3] event enable. */ 4933 #define RTC_EVTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 4934 #define RTC_EVTEN_COMPARE3_Msk (0x1UL << RTC_EVTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 4935 #define RTC_EVTEN_COMPARE3_Disabled (0UL) /*!< Event disabled. */ 4936 #define RTC_EVTEN_COMPARE3_Enabled (1UL) /*!< Event enabled. */ 4937 4938 /* Bit 18 : COMPARE[2] event enable. */ 4939 #define RTC_EVTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 4940 #define RTC_EVTEN_COMPARE2_Msk (0x1UL << RTC_EVTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 4941 #define RTC_EVTEN_COMPARE2_Disabled (0UL) /*!< Event disabled. */ 4942 #define RTC_EVTEN_COMPARE2_Enabled (1UL) /*!< Event enabled. */ 4943 4944 /* Bit 17 : COMPARE[1] event enable. */ 4945 #define RTC_EVTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 4946 #define RTC_EVTEN_COMPARE1_Msk (0x1UL << RTC_EVTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 4947 #define RTC_EVTEN_COMPARE1_Disabled (0UL) /*!< Event disabled. */ 4948 #define RTC_EVTEN_COMPARE1_Enabled (1UL) /*!< Event enabled. */ 4949 4950 /* Bit 16 : COMPARE[0] event enable. */ 4951 #define RTC_EVTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 4952 #define RTC_EVTEN_COMPARE0_Msk (0x1UL << RTC_EVTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 4953 #define RTC_EVTEN_COMPARE0_Disabled (0UL) /*!< Event disabled. */ 4954 #define RTC_EVTEN_COMPARE0_Enabled (1UL) /*!< Event enabled. */ 4955 4956 /* Bit 1 : OVRFLW event enable. */ 4957 #define RTC_EVTEN_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 4958 #define RTC_EVTEN_OVRFLW_Msk (0x1UL << RTC_EVTEN_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 4959 #define RTC_EVTEN_OVRFLW_Disabled (0UL) /*!< Event disabled. */ 4960 #define RTC_EVTEN_OVRFLW_Enabled (1UL) /*!< Event enabled. */ 4961 4962 /* Bit 0 : TICK event enable. */ 4963 #define RTC_EVTEN_TICK_Pos (0UL) /*!< Position of TICK field. */ 4964 #define RTC_EVTEN_TICK_Msk (0x1UL << RTC_EVTEN_TICK_Pos) /*!< Bit mask of TICK field. */ 4965 #define RTC_EVTEN_TICK_Disabled (0UL) /*!< Event disabled. */ 4966 #define RTC_EVTEN_TICK_Enabled (1UL) /*!< Event enabled. */ 4967 4968 /* Register: RTC_EVTENSET */ 4969 /* Description: Enable events routing to PPI. The reading of this register gives the value of EVTEN. */ 4970 4971 /* Bit 19 : Enable routing to PPI of COMPARE[3] event. */ 4972 #define RTC_EVTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 4973 #define RTC_EVTENSET_COMPARE3_Msk (0x1UL << RTC_EVTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 4974 #define RTC_EVTENSET_COMPARE3_Disabled (0UL) /*!< Event disabled. */ 4975 #define RTC_EVTENSET_COMPARE3_Enabled (1UL) /*!< Event enabled. */ 4976 #define RTC_EVTENSET_COMPARE3_Set (1UL) /*!< Enable event on write. */ 4977 4978 /* Bit 18 : Enable routing to PPI of COMPARE[2] event. */ 4979 #define RTC_EVTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 4980 #define RTC_EVTENSET_COMPARE2_Msk (0x1UL << RTC_EVTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 4981 #define RTC_EVTENSET_COMPARE2_Disabled (0UL) /*!< Event disabled. */ 4982 #define RTC_EVTENSET_COMPARE2_Enabled (1UL) /*!< Event enabled. */ 4983 #define RTC_EVTENSET_COMPARE2_Set (1UL) /*!< Enable event on write. */ 4984 4985 /* Bit 17 : Enable routing to PPI of COMPARE[1] event. */ 4986 #define RTC_EVTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 4987 #define RTC_EVTENSET_COMPARE1_Msk (0x1UL << RTC_EVTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 4988 #define RTC_EVTENSET_COMPARE1_Disabled (0UL) /*!< Event disabled. */ 4989 #define RTC_EVTENSET_COMPARE1_Enabled (1UL) /*!< Event enabled. */ 4990 #define RTC_EVTENSET_COMPARE1_Set (1UL) /*!< Enable event on write. */ 4991 4992 /* Bit 16 : Enable routing to PPI of COMPARE[0] event. */ 4993 #define RTC_EVTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 4994 #define RTC_EVTENSET_COMPARE0_Msk (0x1UL << RTC_EVTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 4995 #define RTC_EVTENSET_COMPARE0_Disabled (0UL) /*!< Event disabled. */ 4996 #define RTC_EVTENSET_COMPARE0_Enabled (1UL) /*!< Event enabled. */ 4997 #define RTC_EVTENSET_COMPARE0_Set (1UL) /*!< Enable event on write. */ 4998 4999 /* Bit 1 : Enable routing to PPI of OVRFLW event. */ 5000 #define RTC_EVTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 5001 #define RTC_EVTENSET_OVRFLW_Msk (0x1UL << RTC_EVTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 5002 #define RTC_EVTENSET_OVRFLW_Disabled (0UL) /*!< Event disabled. */ 5003 #define RTC_EVTENSET_OVRFLW_Enabled (1UL) /*!< Event enabled. */ 5004 #define RTC_EVTENSET_OVRFLW_Set (1UL) /*!< Enable event on write. */ 5005 5006 /* Bit 0 : Enable routing to PPI of TICK event. */ 5007 #define RTC_EVTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */ 5008 #define RTC_EVTENSET_TICK_Msk (0x1UL << RTC_EVTENSET_TICK_Pos) /*!< Bit mask of TICK field. */ 5009 #define RTC_EVTENSET_TICK_Disabled (0UL) /*!< Event disabled. */ 5010 #define RTC_EVTENSET_TICK_Enabled (1UL) /*!< Event enabled. */ 5011 #define RTC_EVTENSET_TICK_Set (1UL) /*!< Enable event on write. */ 5012 5013 /* Register: RTC_EVTENCLR */ 5014 /* Description: Disable events routing to PPI. The reading of this register gives the value of EVTEN. */ 5015 5016 /* Bit 19 : Disable routing to PPI of COMPARE[3] event. */ 5017 #define RTC_EVTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 5018 #define RTC_EVTENCLR_COMPARE3_Msk (0x1UL << RTC_EVTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 5019 #define RTC_EVTENCLR_COMPARE3_Disabled (0UL) /*!< Event disabled. */ 5020 #define RTC_EVTENCLR_COMPARE3_Enabled (1UL) /*!< Event enabled. */ 5021 #define RTC_EVTENCLR_COMPARE3_Clear (1UL) /*!< Disable event on write. */ 5022 5023 /* Bit 18 : Disable routing to PPI of COMPARE[2] event. */ 5024 #define RTC_EVTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 5025 #define RTC_EVTENCLR_COMPARE2_Msk (0x1UL << RTC_EVTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 5026 #define RTC_EVTENCLR_COMPARE2_Disabled (0UL) /*!< Event disabled. */ 5027 #define RTC_EVTENCLR_COMPARE2_Enabled (1UL) /*!< Event enabled. */ 5028 #define RTC_EVTENCLR_COMPARE2_Clear (1UL) /*!< Disable event on write. */ 5029 5030 /* Bit 17 : Disable routing to PPI of COMPARE[1] event. */ 5031 #define RTC_EVTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 5032 #define RTC_EVTENCLR_COMPARE1_Msk (0x1UL << RTC_EVTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 5033 #define RTC_EVTENCLR_COMPARE1_Disabled (0UL) /*!< Event disabled. */ 5034 #define RTC_EVTENCLR_COMPARE1_Enabled (1UL) /*!< Event enabled. */ 5035 #define RTC_EVTENCLR_COMPARE1_Clear (1UL) /*!< Disable event on write. */ 5036 5037 /* Bit 16 : Disable routing to PPI of COMPARE[0] event. */ 5038 #define RTC_EVTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 5039 #define RTC_EVTENCLR_COMPARE0_Msk (0x1UL << RTC_EVTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 5040 #define RTC_EVTENCLR_COMPARE0_Disabled (0UL) /*!< Event disabled. */ 5041 #define RTC_EVTENCLR_COMPARE0_Enabled (1UL) /*!< Event enabled. */ 5042 #define RTC_EVTENCLR_COMPARE0_Clear (1UL) /*!< Disable event on write. */ 5043 5044 /* Bit 1 : Disable routing to PPI of OVRFLW event. */ 5045 #define RTC_EVTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 5046 #define RTC_EVTENCLR_OVRFLW_Msk (0x1UL << RTC_EVTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 5047 #define RTC_EVTENCLR_OVRFLW_Disabled (0UL) /*!< Event disabled. */ 5048 #define RTC_EVTENCLR_OVRFLW_Enabled (1UL) /*!< Event enabled. */ 5049 #define RTC_EVTENCLR_OVRFLW_Clear (1UL) /*!< Disable event on write. */ 5050 5051 /* Bit 0 : Disable routing to PPI of TICK event. */ 5052 #define RTC_EVTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */ 5053 #define RTC_EVTENCLR_TICK_Msk (0x1UL << RTC_EVTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */ 5054 #define RTC_EVTENCLR_TICK_Disabled (0UL) /*!< Event disabled. */ 5055 #define RTC_EVTENCLR_TICK_Enabled (1UL) /*!< Event enabled. */ 5056 #define RTC_EVTENCLR_TICK_Clear (1UL) /*!< Disable event on write. */ 5057 5058 /* Register: RTC_COUNTER */ 5059 /* Description: Current COUNTER value. */ 5060 5061 /* Bits 23..0 : Counter value. */ 5062 #define RTC_COUNTER_COUNTER_Pos (0UL) /*!< Position of COUNTER field. */ 5063 #define RTC_COUNTER_COUNTER_Msk (0xFFFFFFUL << RTC_COUNTER_COUNTER_Pos) /*!< Bit mask of COUNTER field. */ 5064 5065 /* Register: RTC_PRESCALER */ 5066 /* Description: 12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is STOPed. */ 5067 5068 /* Bits 11..0 : RTC PRESCALER value. */ 5069 #define RTC_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */ 5070 #define RTC_PRESCALER_PRESCALER_Msk (0xFFFUL << RTC_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */ 5071 5072 /* Register: RTC_CC */ 5073 /* Description: Capture/compare registers. */ 5074 5075 /* Bits 23..0 : Compare value. */ 5076 #define RTC_CC_COMPARE_Pos (0UL) /*!< Position of COMPARE field. */ 5077 #define RTC_CC_COMPARE_Msk (0xFFFFFFUL << RTC_CC_COMPARE_Pos) /*!< Bit mask of COMPARE field. */ 5078 5079 /* Register: RTC_POWER */ 5080 /* Description: Peripheral power control. */ 5081 5082 /* Bit 0 : Peripheral power control. */ 5083 #define RTC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 5084 #define RTC_POWER_POWER_Msk (0x1UL << RTC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 5085 #define RTC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 5086 #define RTC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 5087 5088 5089 /* Peripheral: SPI */ 5090 /* Description: SPI master 0. */ 5091 5092 /* Register: SPI_INTENSET */ 5093 /* Description: Interrupt enable set register. */ 5094 5095 /* Bit 2 : Enable interrupt on READY event. */ 5096 #define SPI_INTENSET_READY_Pos (2UL) /*!< Position of READY field. */ 5097 #define SPI_INTENSET_READY_Msk (0x1UL << SPI_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 5098 #define SPI_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */ 5099 #define SPI_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */ 5100 #define SPI_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */ 5101 5102 /* Register: SPI_INTENCLR */ 5103 /* Description: Interrupt enable clear register. */ 5104 5105 /* Bit 2 : Disable interrupt on READY event. */ 5106 #define SPI_INTENCLR_READY_Pos (2UL) /*!< Position of READY field. */ 5107 #define SPI_INTENCLR_READY_Msk (0x1UL << SPI_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 5108 #define SPI_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */ 5109 #define SPI_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */ 5110 #define SPI_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */ 5111 5112 /* Register: SPI_ENABLE */ 5113 /* Description: Enable SPI. */ 5114 5115 /* Bits 2..0 : Enable or disable SPI. */ 5116 #define SPI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 5117 #define SPI_ENABLE_ENABLE_Msk (0x7UL << SPI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 5118 #define SPI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPI. */ 5119 #define SPI_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable SPI. */ 5120 5121 /* Register: SPI_RXD */ 5122 /* Description: RX data. */ 5123 5124 /* Bits 7..0 : RX data from last transfer. */ 5125 #define SPI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */ 5126 #define SPI_RXD_RXD_Msk (0xFFUL << SPI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */ 5127 5128 /* Register: SPI_TXD */ 5129 /* Description: TX data. */ 5130 5131 /* Bits 7..0 : TX data for next transfer. */ 5132 #define SPI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */ 5133 #define SPI_TXD_TXD_Msk (0xFFUL << SPI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */ 5134 5135 /* Register: SPI_FREQUENCY */ 5136 /* Description: SPI frequency */ 5137 5138 /* Bits 31..0 : SPI data rate. */ 5139 #define SPI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 5140 #define SPI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 5141 #define SPI_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125kbps. */ 5142 #define SPI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250kbps. */ 5143 #define SPI_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500kbps. */ 5144 #define SPI_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1Mbps. */ 5145 #define SPI_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2Mbps. */ 5146 #define SPI_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4Mbps. */ 5147 #define SPI_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8Mbps. */ 5148 5149 /* Register: SPI_CONFIG */ 5150 /* Description: Configuration register. */ 5151 5152 /* Bit 2 : Serial clock (SCK) polarity. */ 5153 #define SPI_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */ 5154 #define SPI_CONFIG_CPOL_Msk (0x1UL << SPI_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */ 5155 #define SPI_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */ 5156 #define SPI_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */ 5157 5158 /* Bit 1 : Serial clock (SCK) phase. */ 5159 #define SPI_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */ 5160 #define SPI_CONFIG_CPHA_Msk (0x1UL << SPI_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */ 5161 #define SPI_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */ 5162 #define SPI_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */ 5163 5164 /* Bit 0 : Bit order. */ 5165 #define SPI_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */ 5166 #define SPI_CONFIG_ORDER_Msk (0x1UL << SPI_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */ 5167 #define SPI_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */ 5168 #define SPI_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */ 5169 5170 /* Register: SPI_POWER */ 5171 /* Description: Peripheral power control. */ 5172 5173 /* Bit 0 : Peripheral power control. */ 5174 #define SPI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 5175 #define SPI_POWER_POWER_Msk (0x1UL << SPI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 5176 #define SPI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 5177 #define SPI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 5178 5179 5180 /* Peripheral: SPIS */ 5181 /* Description: SPI slave 1. */ 5182 5183 /* Register: SPIS_SHORTS */ 5184 /* Description: Shortcuts for SPIS. */ 5185 5186 /* Bit 2 : Shortcut between END event and the ACQUIRE task. */ 5187 #define SPIS_SHORTS_END_ACQUIRE_Pos (2UL) /*!< Position of END_ACQUIRE field. */ 5188 #define SPIS_SHORTS_END_ACQUIRE_Msk (0x1UL << SPIS_SHORTS_END_ACQUIRE_Pos) /*!< Bit mask of END_ACQUIRE field. */ 5189 #define SPIS_SHORTS_END_ACQUIRE_Disabled (0UL) /*!< Shortcut disabled. */ 5190 #define SPIS_SHORTS_END_ACQUIRE_Enabled (1UL) /*!< Shortcut enabled. */ 5191 5192 /* Register: SPIS_INTENSET */ 5193 /* Description: Interrupt enable set register. */ 5194 5195 /* Bit 10 : Enable interrupt on ACQUIRED event. */ 5196 #define SPIS_INTENSET_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */ 5197 #define SPIS_INTENSET_ACQUIRED_Msk (0x1UL << SPIS_INTENSET_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */ 5198 #define SPIS_INTENSET_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */ 5199 #define SPIS_INTENSET_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */ 5200 #define SPIS_INTENSET_ACQUIRED_Set (1UL) /*!< Enable interrupt on write. */ 5201 5202 /* Bit 4 : enable interrupt on ENDRX event. */ 5203 #define SPIS_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 5204 #define SPIS_INTENSET_ENDRX_Msk (0x1UL << SPIS_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 5205 #define SPIS_INTENSET_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */ 5206 #define SPIS_INTENSET_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */ 5207 #define SPIS_INTENSET_ENDRX_Set (1UL) /*!< Enable interrupt on write. */ 5208 5209 /* Bit 1 : Enable interrupt on END event. */ 5210 #define SPIS_INTENSET_END_Pos (1UL) /*!< Position of END field. */ 5211 #define SPIS_INTENSET_END_Msk (0x1UL << SPIS_INTENSET_END_Pos) /*!< Bit mask of END field. */ 5212 #define SPIS_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 5213 #define SPIS_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 5214 #define SPIS_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 5215 5216 /* Register: SPIS_INTENCLR */ 5217 /* Description: Interrupt enable clear register. */ 5218 5219 /* Bit 10 : Disable interrupt on ACQUIRED event. */ 5220 #define SPIS_INTENCLR_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */ 5221 #define SPIS_INTENCLR_ACQUIRED_Msk (0x1UL << SPIS_INTENCLR_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */ 5222 #define SPIS_INTENCLR_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */ 5223 #define SPIS_INTENCLR_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */ 5224 #define SPIS_INTENCLR_ACQUIRED_Clear (1UL) /*!< Disable interrupt on write. */ 5225 5226 /* Bit 4 : Disable interrupt on ENDRX event. */ 5227 #define SPIS_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 5228 #define SPIS_INTENCLR_ENDRX_Msk (0x1UL << SPIS_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 5229 #define SPIS_INTENCLR_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */ 5230 #define SPIS_INTENCLR_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */ 5231 #define SPIS_INTENCLR_ENDRX_Clear (1UL) /*!< Disable interrupt on write. */ 5232 5233 /* Bit 1 : Disable interrupt on END event. */ 5234 #define SPIS_INTENCLR_END_Pos (1UL) /*!< Position of END field. */ 5235 #define SPIS_INTENCLR_END_Msk (0x1UL << SPIS_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 5236 #define SPIS_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 5237 #define SPIS_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 5238 #define SPIS_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 5239 5240 /* Register: SPIS_SEMSTAT */ 5241 /* Description: Semaphore status. */ 5242 5243 /* Bits 1..0 : Semaphore status. */ 5244 #define SPIS_SEMSTAT_SEMSTAT_Pos (0UL) /*!< Position of SEMSTAT field. */ 5245 #define SPIS_SEMSTAT_SEMSTAT_Msk (0x3UL << SPIS_SEMSTAT_SEMSTAT_Pos) /*!< Bit mask of SEMSTAT field. */ 5246 #define SPIS_SEMSTAT_SEMSTAT_Free (0x00UL) /*!< Semaphore is free. */ 5247 #define SPIS_SEMSTAT_SEMSTAT_CPU (0x01UL) /*!< Semaphore is assigned to the CPU. */ 5248 #define SPIS_SEMSTAT_SEMSTAT_SPIS (0x02UL) /*!< Semaphore is assigned to the SPIS. */ 5249 #define SPIS_SEMSTAT_SEMSTAT_CPUPending (0x03UL) /*!< Semaphore is assigned to the SPIS, but a handover to the CPU is pending. */ 5250 5251 /* Register: SPIS_STATUS */ 5252 /* Description: Status from last transaction. */ 5253 5254 /* Bit 1 : RX buffer overflow detected, and prevented. */ 5255 #define SPIS_STATUS_OVERFLOW_Pos (1UL) /*!< Position of OVERFLOW field. */ 5256 #define SPIS_STATUS_OVERFLOW_Msk (0x1UL << SPIS_STATUS_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */ 5257 #define SPIS_STATUS_OVERFLOW_NotPresent (0UL) /*!< Error not present. */ 5258 #define SPIS_STATUS_OVERFLOW_Present (1UL) /*!< Error present. */ 5259 #define SPIS_STATUS_OVERFLOW_Clear (1UL) /*!< Clear on write. */ 5260 5261 /* Bit 0 : TX buffer overread detected, and prevented. */ 5262 #define SPIS_STATUS_OVERREAD_Pos (0UL) /*!< Position of OVERREAD field. */ 5263 #define SPIS_STATUS_OVERREAD_Msk (0x1UL << SPIS_STATUS_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */ 5264 #define SPIS_STATUS_OVERREAD_NotPresent (0UL) /*!< Error not present. */ 5265 #define SPIS_STATUS_OVERREAD_Present (1UL) /*!< Error present. */ 5266 #define SPIS_STATUS_OVERREAD_Clear (1UL) /*!< Clear on write. */ 5267 5268 /* Register: SPIS_ENABLE */ 5269 /* Description: Enable SPIS. */ 5270 5271 /* Bits 2..0 : Enable or disable SPIS. */ 5272 #define SPIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 5273 #define SPIS_ENABLE_ENABLE_Msk (0x7UL << SPIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 5274 #define SPIS_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPIS. */ 5275 #define SPIS_ENABLE_ENABLE_Enabled (0x02UL) /*!< Enable SPIS. */ 5276 5277 /* Register: SPIS_MAXRX */ 5278 /* Description: Maximum number of bytes in the receive buffer. */ 5279 5280 /* Bits 7..0 : Maximum number of bytes in the receive buffer. */ 5281 #define SPIS_MAXRX_MAXRX_Pos (0UL) /*!< Position of MAXRX field. */ 5282 #define SPIS_MAXRX_MAXRX_Msk (0xFFUL << SPIS_MAXRX_MAXRX_Pos) /*!< Bit mask of MAXRX field. */ 5283 5284 /* Register: SPIS_AMOUNTRX */ 5285 /* Description: Number of bytes received in last granted transaction. */ 5286 5287 /* Bits 7..0 : Number of bytes received in last granted transaction. */ 5288 #define SPIS_AMOUNTRX_AMOUNTRX_Pos (0UL) /*!< Position of AMOUNTRX field. */ 5289 #define SPIS_AMOUNTRX_AMOUNTRX_Msk (0xFFUL << SPIS_AMOUNTRX_AMOUNTRX_Pos) /*!< Bit mask of AMOUNTRX field. */ 5290 5291 /* Register: SPIS_MAXTX */ 5292 /* Description: Maximum number of bytes in the transmit buffer. */ 5293 5294 /* Bits 7..0 : Maximum number of bytes in the transmit buffer. */ 5295 #define SPIS_MAXTX_MAXTX_Pos (0UL) /*!< Position of MAXTX field. */ 5296 #define SPIS_MAXTX_MAXTX_Msk (0xFFUL << SPIS_MAXTX_MAXTX_Pos) /*!< Bit mask of MAXTX field. */ 5297 5298 /* Register: SPIS_AMOUNTTX */ 5299 /* Description: Number of bytes transmitted in last granted transaction. */ 5300 5301 /* Bits 7..0 : Number of bytes transmitted in last granted transaction. */ 5302 #define SPIS_AMOUNTTX_AMOUNTTX_Pos (0UL) /*!< Position of AMOUNTTX field. */ 5303 #define SPIS_AMOUNTTX_AMOUNTTX_Msk (0xFFUL << SPIS_AMOUNTTX_AMOUNTTX_Pos) /*!< Bit mask of AMOUNTTX field. */ 5304 5305 /* Register: SPIS_CONFIG */ 5306 /* Description: Configuration register. */ 5307 5308 /* Bit 2 : Serial clock (SCK) polarity. */ 5309 #define SPIS_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */ 5310 #define SPIS_CONFIG_CPOL_Msk (0x1UL << SPIS_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */ 5311 #define SPIS_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */ 5312 #define SPIS_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */ 5313 5314 /* Bit 1 : Serial clock (SCK) phase. */ 5315 #define SPIS_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */ 5316 #define SPIS_CONFIG_CPHA_Msk (0x1UL << SPIS_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */ 5317 #define SPIS_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */ 5318 #define SPIS_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */ 5319 5320 /* Bit 0 : Bit order. */ 5321 #define SPIS_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */ 5322 #define SPIS_CONFIG_ORDER_Msk (0x1UL << SPIS_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */ 5323 #define SPIS_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */ 5324 #define SPIS_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */ 5325 5326 /* Register: SPIS_DEF */ 5327 /* Description: Default character. */ 5328 5329 /* Bits 7..0 : Default character. */ 5330 #define SPIS_DEF_DEF_Pos (0UL) /*!< Position of DEF field. */ 5331 #define SPIS_DEF_DEF_Msk (0xFFUL << SPIS_DEF_DEF_Pos) /*!< Bit mask of DEF field. */ 5332 5333 /* Register: SPIS_ORC */ 5334 /* Description: Over-read character. */ 5335 5336 /* Bits 7..0 : Over-read character. */ 5337 #define SPIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */ 5338 #define SPIS_ORC_ORC_Msk (0xFFUL << SPIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */ 5339 5340 /* Register: SPIS_POWER */ 5341 /* Description: Peripheral power control. */ 5342 5343 /* Bit 0 : Peripheral power control. */ 5344 #define SPIS_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 5345 #define SPIS_POWER_POWER_Msk (0x1UL << SPIS_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 5346 #define SPIS_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 5347 #define SPIS_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 5348 5349 5350 /* Peripheral: TEMP */ 5351 /* Description: Temperature Sensor. */ 5352 5353 /* Register: TEMP_INTENSET */ 5354 /* Description: Interrupt enable set register. */ 5355 5356 /* Bit 0 : Enable interrupt on DATARDY event. */ 5357 #define TEMP_INTENSET_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */ 5358 #define TEMP_INTENSET_DATARDY_Msk (0x1UL << TEMP_INTENSET_DATARDY_Pos) /*!< Bit mask of DATARDY field. */ 5359 #define TEMP_INTENSET_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */ 5360 #define TEMP_INTENSET_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */ 5361 #define TEMP_INTENSET_DATARDY_Set (1UL) /*!< Enable interrupt on write. */ 5362 5363 /* Register: TEMP_INTENCLR */ 5364 /* Description: Interrupt enable clear register. */ 5365 5366 /* Bit 0 : Disable interrupt on DATARDY event. */ 5367 #define TEMP_INTENCLR_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */ 5368 #define TEMP_INTENCLR_DATARDY_Msk (0x1UL << TEMP_INTENCLR_DATARDY_Pos) /*!< Bit mask of DATARDY field. */ 5369 #define TEMP_INTENCLR_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */ 5370 #define TEMP_INTENCLR_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */ 5371 #define TEMP_INTENCLR_DATARDY_Clear (1UL) /*!< Disable interrupt on write. */ 5372 5373 /* Register: TEMP_POWER */ 5374 /* Description: Peripheral power control. */ 5375 5376 /* Bit 0 : Peripheral power control. */ 5377 #define TEMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 5378 #define TEMP_POWER_POWER_Msk (0x1UL << TEMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 5379 #define TEMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 5380 #define TEMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 5381 5382 5383 /* Peripheral: TIMER */ 5384 /* Description: Timer 0. */ 5385 5386 /* Register: TIMER_SHORTS */ 5387 /* Description: Shortcuts for Timer. */ 5388 5389 /* Bit 11 : Shortcut between CC[3] event and the STOP task. */ 5390 #define TIMER_SHORTS_COMPARE3_STOP_Pos (11UL) /*!< Position of COMPARE3_STOP field. */ 5391 #define TIMER_SHORTS_COMPARE3_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE3_STOP_Pos) /*!< Bit mask of COMPARE3_STOP field. */ 5392 #define TIMER_SHORTS_COMPARE3_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 5393 #define TIMER_SHORTS_COMPARE3_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 5394 5395 /* Bit 10 : Shortcut between CC[2] event and the STOP task. */ 5396 #define TIMER_SHORTS_COMPARE2_STOP_Pos (10UL) /*!< Position of COMPARE2_STOP field. */ 5397 #define TIMER_SHORTS_COMPARE2_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE2_STOP_Pos) /*!< Bit mask of COMPARE2_STOP field. */ 5398 #define TIMER_SHORTS_COMPARE2_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 5399 #define TIMER_SHORTS_COMPARE2_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 5400 5401 /* Bit 9 : Shortcut between CC[1] event and the STOP task. */ 5402 #define TIMER_SHORTS_COMPARE1_STOP_Pos (9UL) /*!< Position of COMPARE1_STOP field. */ 5403 #define TIMER_SHORTS_COMPARE1_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE1_STOP_Pos) /*!< Bit mask of COMPARE1_STOP field. */ 5404 #define TIMER_SHORTS_COMPARE1_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 5405 #define TIMER_SHORTS_COMPARE1_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 5406 5407 /* Bit 8 : Shortcut between CC[0] event and the STOP task. */ 5408 #define TIMER_SHORTS_COMPARE0_STOP_Pos (8UL) /*!< Position of COMPARE0_STOP field. */ 5409 #define TIMER_SHORTS_COMPARE0_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE0_STOP_Pos) /*!< Bit mask of COMPARE0_STOP field. */ 5410 #define TIMER_SHORTS_COMPARE0_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 5411 #define TIMER_SHORTS_COMPARE0_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 5412 5413 /* Bit 3 : Shortcut between CC[3] event and the CLEAR task. */ 5414 #define TIMER_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */ 5415 #define TIMER_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */ 5416 #define TIMER_SHORTS_COMPARE3_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 5417 #define TIMER_SHORTS_COMPARE3_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 5418 5419 /* Bit 2 : Shortcut between CC[2] event and the CLEAR task. */ 5420 #define TIMER_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */ 5421 #define TIMER_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */ 5422 #define TIMER_SHORTS_COMPARE2_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 5423 #define TIMER_SHORTS_COMPARE2_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 5424 5425 /* Bit 1 : Shortcut between CC[1] event and the CLEAR task. */ 5426 #define TIMER_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */ 5427 #define TIMER_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */ 5428 #define TIMER_SHORTS_COMPARE1_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 5429 #define TIMER_SHORTS_COMPARE1_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 5430 5431 /* Bit 0 : Shortcut between CC[0] event and the CLEAR task. */ 5432 #define TIMER_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */ 5433 #define TIMER_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */ 5434 #define TIMER_SHORTS_COMPARE0_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 5435 #define TIMER_SHORTS_COMPARE0_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 5436 5437 /* Register: TIMER_INTENSET */ 5438 /* Description: Interrupt enable set register. */ 5439 5440 /* Bit 19 : Enable interrupt on COMPARE[3] */ 5441 #define TIMER_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 5442 #define TIMER_INTENSET_COMPARE3_Msk (0x1UL << TIMER_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 5443 #define TIMER_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 5444 #define TIMER_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 5445 #define TIMER_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */ 5446 5447 /* Bit 18 : Enable interrupt on COMPARE[2] */ 5448 #define TIMER_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 5449 #define TIMER_INTENSET_COMPARE2_Msk (0x1UL << TIMER_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 5450 #define TIMER_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 5451 #define TIMER_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 5452 #define TIMER_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */ 5453 5454 /* Bit 17 : Enable interrupt on COMPARE[1] */ 5455 #define TIMER_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 5456 #define TIMER_INTENSET_COMPARE1_Msk (0x1UL << TIMER_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 5457 #define TIMER_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 5458 #define TIMER_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 5459 #define TIMER_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */ 5460 5461 /* Bit 16 : Enable interrupt on COMPARE[0] */ 5462 #define TIMER_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 5463 #define TIMER_INTENSET_COMPARE0_Msk (0x1UL << TIMER_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 5464 #define TIMER_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 5465 #define TIMER_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 5466 #define TIMER_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */ 5467 5468 /* Register: TIMER_INTENCLR */ 5469 /* Description: Interrupt enable clear register. */ 5470 5471 /* Bit 19 : Disable interrupt on COMPARE[3] */ 5472 #define TIMER_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 5473 #define TIMER_INTENCLR_COMPARE3_Msk (0x1UL << TIMER_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 5474 #define TIMER_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 5475 #define TIMER_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 5476 #define TIMER_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */ 5477 5478 /* Bit 18 : Disable interrupt on COMPARE[2] */ 5479 #define TIMER_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 5480 #define TIMER_INTENCLR_COMPARE2_Msk (0x1UL << TIMER_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 5481 #define TIMER_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 5482 #define TIMER_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 5483 #define TIMER_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */ 5484 5485 /* Bit 17 : Disable interrupt on COMPARE[1] */ 5486 #define TIMER_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 5487 #define TIMER_INTENCLR_COMPARE1_Msk (0x1UL << TIMER_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 5488 #define TIMER_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 5489 #define TIMER_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 5490 #define TIMER_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */ 5491 5492 /* Bit 16 : Disable interrupt on COMPARE[0] */ 5493 #define TIMER_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 5494 #define TIMER_INTENCLR_COMPARE0_Msk (0x1UL << TIMER_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 5495 #define TIMER_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 5496 #define TIMER_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 5497 #define TIMER_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */ 5498 5499 /* Register: TIMER_MODE */ 5500 /* Description: Timer Mode selection. */ 5501 5502 /* Bit 0 : Select Normal or Counter mode. */ 5503 #define TIMER_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 5504 #define TIMER_MODE_MODE_Msk (0x1UL << TIMER_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 5505 #define TIMER_MODE_MODE_Timer (0UL) /*!< Timer in Normal mode. */ 5506 #define TIMER_MODE_MODE_Counter (1UL) /*!< Timer in Counter mode. */ 5507 5508 /* Register: TIMER_BITMODE */ 5509 /* Description: Sets timer behaviour. */ 5510 5511 /* Bits 1..0 : Sets timer behaviour ro be like the implementation of a timer with width as indicated. */ 5512 #define TIMER_BITMODE_BITMODE_Pos (0UL) /*!< Position of BITMODE field. */ 5513 #define TIMER_BITMODE_BITMODE_Msk (0x3UL << TIMER_BITMODE_BITMODE_Pos) /*!< Bit mask of BITMODE field. */ 5514 #define TIMER_BITMODE_BITMODE_16Bit (0x00UL) /*!< 16-bit timer behaviour. */ 5515 #define TIMER_BITMODE_BITMODE_08Bit (0x01UL) /*!< 8-bit timer behaviour. */ 5516 #define TIMER_BITMODE_BITMODE_24Bit (0x02UL) /*!< 24-bit timer behaviour. */ 5517 #define TIMER_BITMODE_BITMODE_32Bit (0x03UL) /*!< 32-bit timer behaviour. */ 5518 5519 /* Register: TIMER_PRESCALER */ 5520 /* Description: 4-bit prescaler to source clock frequency (max value 9). Source clock frequency is divided by 2^SCALE. */ 5521 5522 /* Bits 3..0 : Timer PRESCALER value. Max value is 9. */ 5523 #define TIMER_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */ 5524 #define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */ 5525 5526 /* Register: TIMER_POWER */ 5527 /* Description: Peripheral power control. */ 5528 5529 /* Bit 0 : Peripheral power control. */ 5530 #define TIMER_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 5531 #define TIMER_POWER_POWER_Msk (0x1UL << TIMER_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 5532 #define TIMER_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 5533 #define TIMER_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 5534 5535 5536 /* Peripheral: TWI */ 5537 /* Description: Two-wire interface master 0. */ 5538 5539 /* Register: TWI_SHORTS */ 5540 /* Description: Shortcuts for TWI. */ 5541 5542 /* Bit 1 : Shortcut between BB event and the STOP task. */ 5543 #define TWI_SHORTS_BB_STOP_Pos (1UL) /*!< Position of BB_STOP field. */ 5544 #define TWI_SHORTS_BB_STOP_Msk (0x1UL << TWI_SHORTS_BB_STOP_Pos) /*!< Bit mask of BB_STOP field. */ 5545 #define TWI_SHORTS_BB_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 5546 #define TWI_SHORTS_BB_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 5547 5548 /* Bit 0 : Shortcut between BB event and the SUSPEND task. */ 5549 #define TWI_SHORTS_BB_SUSPEND_Pos (0UL) /*!< Position of BB_SUSPEND field. */ 5550 #define TWI_SHORTS_BB_SUSPEND_Msk (0x1UL << TWI_SHORTS_BB_SUSPEND_Pos) /*!< Bit mask of BB_SUSPEND field. */ 5551 #define TWI_SHORTS_BB_SUSPEND_Disabled (0UL) /*!< Shortcut disabled. */ 5552 #define TWI_SHORTS_BB_SUSPEND_Enabled (1UL) /*!< Shortcut enabled. */ 5553 5554 /* Register: TWI_INTENSET */ 5555 /* Description: Interrupt enable set register. */ 5556 5557 /* Bit 18 : Enable interrupt on SUSPENDED event. */ 5558 #define TWI_INTENSET_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */ 5559 #define TWI_INTENSET_SUSPENDED_Msk (0x1UL << TWI_INTENSET_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */ 5560 #define TWI_INTENSET_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */ 5561 #define TWI_INTENSET_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */ 5562 #define TWI_INTENSET_SUSPENDED_Set (1UL) /*!< Enable interrupt on write. */ 5563 5564 /* Bit 14 : Enable interrupt on BB event. */ 5565 #define TWI_INTENSET_BB_Pos (14UL) /*!< Position of BB field. */ 5566 #define TWI_INTENSET_BB_Msk (0x1UL << TWI_INTENSET_BB_Pos) /*!< Bit mask of BB field. */ 5567 #define TWI_INTENSET_BB_Disabled (0UL) /*!< Interrupt disabled. */ 5568 #define TWI_INTENSET_BB_Enabled (1UL) /*!< Interrupt enabled. */ 5569 #define TWI_INTENSET_BB_Set (1UL) /*!< Enable interrupt on write. */ 5570 5571 /* Bit 9 : Enable interrupt on ERROR event. */ 5572 #define TWI_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 5573 #define TWI_INTENSET_ERROR_Msk (0x1UL << TWI_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 5574 #define TWI_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 5575 #define TWI_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 5576 #define TWI_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */ 5577 5578 /* Bit 7 : Enable interrupt on TXDSENT event. */ 5579 #define TWI_INTENSET_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */ 5580 #define TWI_INTENSET_TXDSENT_Msk (0x1UL << TWI_INTENSET_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */ 5581 #define TWI_INTENSET_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */ 5582 #define TWI_INTENSET_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */ 5583 #define TWI_INTENSET_TXDSENT_Set (1UL) /*!< Enable interrupt on write. */ 5584 5585 /* Bit 2 : Enable interrupt on READY event. */ 5586 #define TWI_INTENSET_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */ 5587 #define TWI_INTENSET_RXDREADY_Msk (0x1UL << TWI_INTENSET_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */ 5588 #define TWI_INTENSET_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */ 5589 #define TWI_INTENSET_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */ 5590 #define TWI_INTENSET_RXDREADY_Set (1UL) /*!< Enable interrupt on write. */ 5591 5592 /* Bit 1 : Enable interrupt on STOPPED event. */ 5593 #define TWI_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 5594 #define TWI_INTENSET_STOPPED_Msk (0x1UL << TWI_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 5595 #define TWI_INTENSET_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */ 5596 #define TWI_INTENSET_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */ 5597 #define TWI_INTENSET_STOPPED_Set (1UL) /*!< Enable interrupt on write. */ 5598 5599 /* Register: TWI_INTENCLR */ 5600 /* Description: Interrupt enable clear register. */ 5601 5602 /* Bit 18 : Disable interrupt on SUSPENDED event. */ 5603 #define TWI_INTENCLR_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */ 5604 #define TWI_INTENCLR_SUSPENDED_Msk (0x1UL << TWI_INTENCLR_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */ 5605 #define TWI_INTENCLR_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */ 5606 #define TWI_INTENCLR_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */ 5607 #define TWI_INTENCLR_SUSPENDED_Clear (1UL) /*!< Disable interrupt on write. */ 5608 5609 /* Bit 14 : Disable interrupt on BB event. */ 5610 #define TWI_INTENCLR_BB_Pos (14UL) /*!< Position of BB field. */ 5611 #define TWI_INTENCLR_BB_Msk (0x1UL << TWI_INTENCLR_BB_Pos) /*!< Bit mask of BB field. */ 5612 #define TWI_INTENCLR_BB_Disabled (0UL) /*!< Interrupt disabled. */ 5613 #define TWI_INTENCLR_BB_Enabled (1UL) /*!< Interrupt enabled. */ 5614 #define TWI_INTENCLR_BB_Clear (1UL) /*!< Disable interrupt on write. */ 5615 5616 /* Bit 9 : Disable interrupt on ERROR event. */ 5617 #define TWI_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 5618 #define TWI_INTENCLR_ERROR_Msk (0x1UL << TWI_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 5619 #define TWI_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 5620 #define TWI_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 5621 #define TWI_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */ 5622 5623 /* Bit 7 : Disable interrupt on TXDSENT event. */ 5624 #define TWI_INTENCLR_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */ 5625 #define TWI_INTENCLR_TXDSENT_Msk (0x1UL << TWI_INTENCLR_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */ 5626 #define TWI_INTENCLR_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */ 5627 #define TWI_INTENCLR_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */ 5628 #define TWI_INTENCLR_TXDSENT_Clear (1UL) /*!< Disable interrupt on write. */ 5629 5630 /* Bit 2 : Disable interrupt on RXDREADY event. */ 5631 #define TWI_INTENCLR_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */ 5632 #define TWI_INTENCLR_RXDREADY_Msk (0x1UL << TWI_INTENCLR_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */ 5633 #define TWI_INTENCLR_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */ 5634 #define TWI_INTENCLR_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */ 5635 #define TWI_INTENCLR_RXDREADY_Clear (1UL) /*!< Disable interrupt on write. */ 5636 5637 /* Bit 1 : Disable interrupt on STOPPED event. */ 5638 #define TWI_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 5639 #define TWI_INTENCLR_STOPPED_Msk (0x1UL << TWI_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 5640 #define TWI_INTENCLR_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */ 5641 #define TWI_INTENCLR_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */ 5642 #define TWI_INTENCLR_STOPPED_Clear (1UL) /*!< Disable interrupt on write. */ 5643 5644 /* Register: TWI_ERRORSRC */ 5645 /* Description: Two-wire error source. Write error field to 1 to clear error. */ 5646 5647 /* Bit 2 : NACK received after sending a data byte. */ 5648 #define TWI_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */ 5649 #define TWI_ERRORSRC_DNACK_Msk (0x1UL << TWI_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */ 5650 #define TWI_ERRORSRC_DNACK_NotPresent (0UL) /*!< Error not present. */ 5651 #define TWI_ERRORSRC_DNACK_Present (1UL) /*!< Error present. */ 5652 #define TWI_ERRORSRC_DNACK_Clear (1UL) /*!< Clear error on write. */ 5653 5654 /* Bit 1 : NACK received after sending the address. */ 5655 #define TWI_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */ 5656 #define TWI_ERRORSRC_ANACK_Msk (0x1UL << TWI_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */ 5657 #define TWI_ERRORSRC_ANACK_NotPresent (0UL) /*!< Error not present. */ 5658 #define TWI_ERRORSRC_ANACK_Present (1UL) /*!< Error present. */ 5659 #define TWI_ERRORSRC_ANACK_Clear (1UL) /*!< Clear error on write. */ 5660 5661 /* Bit 0 : Byte received in RXD register before read of the last received byte (data loss). */ 5662 #define TWI_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */ 5663 #define TWI_ERRORSRC_OVERRUN_Msk (0x1UL << TWI_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */ 5664 #define TWI_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */ 5665 #define TWI_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */ 5666 #define TWI_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */ 5667 5668 /* Register: TWI_ENABLE */ 5669 /* Description: Enable two-wire master. */ 5670 5671 /* Bits 2..0 : Enable or disable W2M */ 5672 #define TWI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 5673 #define TWI_ENABLE_ENABLE_Msk (0x7UL << TWI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 5674 #define TWI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled. */ 5675 #define TWI_ENABLE_ENABLE_Enabled (0x05UL) /*!< Enabled. */ 5676 5677 /* Register: TWI_RXD */ 5678 /* Description: RX data register. */ 5679 5680 /* Bits 7..0 : RX data from last transfer. */ 5681 #define TWI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */ 5682 #define TWI_RXD_RXD_Msk (0xFFUL << TWI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */ 5683 5684 /* Register: TWI_TXD */ 5685 /* Description: TX data register. */ 5686 5687 /* Bits 7..0 : TX data for next transfer. */ 5688 #define TWI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */ 5689 #define TWI_TXD_TXD_Msk (0xFFUL << TWI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */ 5690 5691 /* Register: TWI_FREQUENCY */ 5692 /* Description: Two-wire frequency. */ 5693 5694 /* Bits 31..0 : Two-wire master clock frequency. */ 5695 #define TWI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 5696 #define TWI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 5697 #define TWI_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps. */ 5698 #define TWI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps. */ 5699 #define TWI_FREQUENCY_FREQUENCY_K400 (0x06680000UL) /*!< 400 kbps (actual rate 410.256 kbps). */ 5700 5701 /* Register: TWI_ADDRESS */ 5702 /* Description: Address used in the two-wire transfer. */ 5703 5704 /* Bits 6..0 : Two-wire address. */ 5705 #define TWI_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */ 5706 #define TWI_ADDRESS_ADDRESS_Msk (0x7FUL << TWI_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 5707 5708 /* Register: TWI_POWER */ 5709 /* Description: Peripheral power control. */ 5710 5711 /* Bit 0 : Peripheral power control. */ 5712 #define TWI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 5713 #define TWI_POWER_POWER_Msk (0x1UL << TWI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 5714 #define TWI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 5715 #define TWI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 5716 5717 5718 /* Peripheral: UART */ 5719 /* Description: Universal Asynchronous Receiver/Transmitter. */ 5720 5721 /* Register: UART_SHORTS */ 5722 /* Description: Shortcuts for UART. */ 5723 5724 /* Bit 4 : Shortcut between NCTS event and STOPRX task. */ 5725 #define UART_SHORTS_NCTS_STOPRX_Pos (4UL) /*!< Position of NCTS_STOPRX field. */ 5726 #define UART_SHORTS_NCTS_STOPRX_Msk (0x1UL << UART_SHORTS_NCTS_STOPRX_Pos) /*!< Bit mask of NCTS_STOPRX field. */ 5727 #define UART_SHORTS_NCTS_STOPRX_Disabled (0UL) /*!< Shortcut disabled. */ 5728 #define UART_SHORTS_NCTS_STOPRX_Enabled (1UL) /*!< Shortcut enabled. */ 5729 5730 /* Bit 3 : Shortcut between CTS event and STARTRX task. */ 5731 #define UART_SHORTS_CTS_STARTRX_Pos (3UL) /*!< Position of CTS_STARTRX field. */ 5732 #define UART_SHORTS_CTS_STARTRX_Msk (0x1UL << UART_SHORTS_CTS_STARTRX_Pos) /*!< Bit mask of CTS_STARTRX field. */ 5733 #define UART_SHORTS_CTS_STARTRX_Disabled (0UL) /*!< Shortcut disabled. */ 5734 #define UART_SHORTS_CTS_STARTRX_Enabled (1UL) /*!< Shortcut enabled. */ 5735 5736 /* Register: UART_INTENSET */ 5737 /* Description: Interrupt enable set register. */ 5738 5739 /* Bit 17 : Enable interrupt on RXTO event. */ 5740 #define UART_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */ 5741 #define UART_INTENSET_RXTO_Msk (0x1UL << UART_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */ 5742 #define UART_INTENSET_RXTO_Disabled (0UL) /*!< Interrupt disabled. */ 5743 #define UART_INTENSET_RXTO_Enabled (1UL) /*!< Interrupt enabled. */ 5744 #define UART_INTENSET_RXTO_Set (1UL) /*!< Enable interrupt on write. */ 5745 5746 /* Bit 9 : Enable interrupt on ERROR event. */ 5747 #define UART_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 5748 #define UART_INTENSET_ERROR_Msk (0x1UL << UART_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 5749 #define UART_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 5750 #define UART_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 5751 #define UART_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */ 5752 5753 /* Bit 7 : Enable interrupt on TXRDY event. */ 5754 #define UART_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */ 5755 #define UART_INTENSET_TXDRDY_Msk (0x1UL << UART_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */ 5756 #define UART_INTENSET_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 5757 #define UART_INTENSET_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 5758 #define UART_INTENSET_TXDRDY_Set (1UL) /*!< Enable interrupt on write. */ 5759 5760 /* Bit 2 : Enable interrupt on RXRDY event. */ 5761 #define UART_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */ 5762 #define UART_INTENSET_RXDRDY_Msk (0x1UL << UART_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */ 5763 #define UART_INTENSET_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 5764 #define UART_INTENSET_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 5765 #define UART_INTENSET_RXDRDY_Set (1UL) /*!< Enable interrupt on write. */ 5766 5767 /* Bit 1 : Enable interrupt on NCTS event. */ 5768 #define UART_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */ 5769 #define UART_INTENSET_NCTS_Msk (0x1UL << UART_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */ 5770 #define UART_INTENSET_NCTS_Disabled (0UL) /*!< Interrupt disabled. */ 5771 #define UART_INTENSET_NCTS_Enabled (1UL) /*!< Interrupt enabled. */ 5772 #define UART_INTENSET_NCTS_Set (1UL) /*!< Enable interrupt on write. */ 5773 5774 /* Bit 0 : Enable interrupt on CTS event. */ 5775 #define UART_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */ 5776 #define UART_INTENSET_CTS_Msk (0x1UL << UART_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */ 5777 #define UART_INTENSET_CTS_Disabled (0UL) /*!< Interrupt disabled. */ 5778 #define UART_INTENSET_CTS_Enabled (1UL) /*!< Interrupt enabled. */ 5779 #define UART_INTENSET_CTS_Set (1UL) /*!< Enable interrupt on write. */ 5780 5781 /* Register: UART_INTENCLR */ 5782 /* Description: Interrupt enable clear register. */ 5783 5784 /* Bit 17 : Disable interrupt on RXTO event. */ 5785 #define UART_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */ 5786 #define UART_INTENCLR_RXTO_Msk (0x1UL << UART_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */ 5787 #define UART_INTENCLR_RXTO_Disabled (0UL) /*!< Interrupt disabled. */ 5788 #define UART_INTENCLR_RXTO_Enabled (1UL) /*!< Interrupt enabled. */ 5789 #define UART_INTENCLR_RXTO_Clear (1UL) /*!< Disable interrupt on write. */ 5790 5791 /* Bit 9 : Disable interrupt on ERROR event. */ 5792 #define UART_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 5793 #define UART_INTENCLR_ERROR_Msk (0x1UL << UART_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 5794 #define UART_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 5795 #define UART_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 5796 #define UART_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */ 5797 5798 /* Bit 7 : Disable interrupt on TXRDY event. */ 5799 #define UART_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */ 5800 #define UART_INTENCLR_TXDRDY_Msk (0x1UL << UART_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */ 5801 #define UART_INTENCLR_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 5802 #define UART_INTENCLR_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 5803 #define UART_INTENCLR_TXDRDY_Clear (1UL) /*!< Disable interrupt on write. */ 5804 5805 /* Bit 2 : Disable interrupt on RXRDY event. */ 5806 #define UART_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */ 5807 #define UART_INTENCLR_RXDRDY_Msk (0x1UL << UART_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */ 5808 #define UART_INTENCLR_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 5809 #define UART_INTENCLR_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 5810 #define UART_INTENCLR_RXDRDY_Clear (1UL) /*!< Disable interrupt on write. */ 5811 5812 /* Bit 1 : Disable interrupt on NCTS event. */ 5813 #define UART_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */ 5814 #define UART_INTENCLR_NCTS_Msk (0x1UL << UART_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */ 5815 #define UART_INTENCLR_NCTS_Disabled (0UL) /*!< Interrupt disabled. */ 5816 #define UART_INTENCLR_NCTS_Enabled (1UL) /*!< Interrupt enabled. */ 5817 #define UART_INTENCLR_NCTS_Clear (1UL) /*!< Disable interrupt on write. */ 5818 5819 /* Bit 0 : Disable interrupt on CTS event. */ 5820 #define UART_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */ 5821 #define UART_INTENCLR_CTS_Msk (0x1UL << UART_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */ 5822 #define UART_INTENCLR_CTS_Disabled (0UL) /*!< Interrupt disabled. */ 5823 #define UART_INTENCLR_CTS_Enabled (1UL) /*!< Interrupt enabled. */ 5824 #define UART_INTENCLR_CTS_Clear (1UL) /*!< Disable interrupt on write. */ 5825 5826 /* Register: UART_ERRORSRC */ 5827 /* Description: Error source. Write error field to 1 to clear error. */ 5828 5829 /* Bit 3 : The serial data input is '0' for longer than the length of a data frame. */ 5830 #define UART_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */ 5831 #define UART_ERRORSRC_BREAK_Msk (0x1UL << UART_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */ 5832 #define UART_ERRORSRC_BREAK_NotPresent (0UL) /*!< Error not present. */ 5833 #define UART_ERRORSRC_BREAK_Present (1UL) /*!< Error present. */ 5834 #define UART_ERRORSRC_BREAK_Clear (1UL) /*!< Clear error on write. */ 5835 5836 /* Bit 2 : A valid stop bit is not detected on the serial data input after all bits in a character have been received. */ 5837 #define UART_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */ 5838 #define UART_ERRORSRC_FRAMING_Msk (0x1UL << UART_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */ 5839 #define UART_ERRORSRC_FRAMING_NotPresent (0UL) /*!< Error not present. */ 5840 #define UART_ERRORSRC_FRAMING_Present (1UL) /*!< Error present. */ 5841 #define UART_ERRORSRC_FRAMING_Clear (1UL) /*!< Clear error on write. */ 5842 5843 /* Bit 1 : A character with bad parity is received. Only checked if HW parity control is enabled. */ 5844 #define UART_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */ 5845 #define UART_ERRORSRC_PARITY_Msk (0x1UL << UART_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */ 5846 #define UART_ERRORSRC_PARITY_NotPresent (0UL) /*!< Error not present. */ 5847 #define UART_ERRORSRC_PARITY_Present (1UL) /*!< Error present. */ 5848 #define UART_ERRORSRC_PARITY_Clear (1UL) /*!< Clear error on write. */ 5849 5850 /* Bit 0 : A start bit is received while the previous data still lies in RXD. (Data loss). */ 5851 #define UART_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */ 5852 #define UART_ERRORSRC_OVERRUN_Msk (0x1UL << UART_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */ 5853 #define UART_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */ 5854 #define UART_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */ 5855 #define UART_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */ 5856 5857 /* Register: UART_ENABLE */ 5858 /* Description: Enable UART and acquire IOs. */ 5859 5860 /* Bits 2..0 : Enable or disable UART and acquire IOs. */ 5861 #define UART_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 5862 #define UART_ENABLE_ENABLE_Msk (0x7UL << UART_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 5863 #define UART_ENABLE_ENABLE_Disabled (0x00UL) /*!< UART disabled. */ 5864 #define UART_ENABLE_ENABLE_Enabled (0x04UL) /*!< UART enabled. */ 5865 5866 /* Register: UART_RXD */ 5867 /* Description: RXD register. On read action the buffer pointer is displaced. Once read the character is consumed. If read when no character available, the UART will stop working. */ 5868 5869 /* Bits 7..0 : RX data from previous transfer. Double buffered. */ 5870 #define UART_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */ 5871 #define UART_RXD_RXD_Msk (0xFFUL << UART_RXD_RXD_Pos) /*!< Bit mask of RXD field. */ 5872 5873 /* Register: UART_TXD */ 5874 /* Description: TXD register. */ 5875 5876 /* Bits 7..0 : TX data for transfer. */ 5877 #define UART_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */ 5878 #define UART_TXD_TXD_Msk (0xFFUL << UART_TXD_TXD_Pos) /*!< Bit mask of TXD field. */ 5879 5880 /* Register: UART_BAUDRATE */ 5881 /* Description: UART Baudrate. */ 5882 5883 /* Bits 31..0 : UART baudrate. */ 5884 #define UART_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */ 5885 #define UART_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UART_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */ 5886 #define UART_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud. */ 5887 #define UART_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud. */ 5888 #define UART_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud. */ 5889 #define UART_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud. */ 5890 #define UART_BAUDRATE_BAUDRATE_Baud14400 (0x003B0000UL) /*!< 14400 baud. */ 5891 #define UART_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud. */ 5892 #define UART_BAUDRATE_BAUDRATE_Baud28800 (0x0075F000UL) /*!< 28800 baud. */ 5893 #define UART_BAUDRATE_BAUDRATE_Baud31250 (0x00800000UL) /*!< 31250 baud. */ 5894 #define UART_BAUDRATE_BAUDRATE_Baud38400 (0x009D5000UL) /*!< 38400 baud. */ 5895 #define UART_BAUDRATE_BAUDRATE_Baud56000 (0x00E50000UL) /*!< 56000 baud. */ 5896 #define UART_BAUDRATE_BAUDRATE_Baud57600 (0x00EBF000UL) /*!< 57600 baud. */ 5897 #define UART_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud. */ 5898 #define UART_BAUDRATE_BAUDRATE_Baud115200 (0x01D7E000UL) /*!< 115200 baud. */ 5899 #define UART_BAUDRATE_BAUDRATE_Baud230400 (0x03AFB000UL) /*!< 230400 baud. */ 5900 #define UART_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud. */ 5901 #define UART_BAUDRATE_BAUDRATE_Baud460800 (0x075F7000UL) /*!< 460800 baud. */ 5902 #define UART_BAUDRATE_BAUDRATE_Baud921600 (0x0EBED000UL) /*!< 921600 baud. */ 5903 #define UART_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1M baud. */ 5904 5905 /* Register: UART_CONFIG */ 5906 /* Description: Configuration of parity and hardware flow control register. */ 5907 5908 /* Bits 3..1 : Include parity bit. */ 5909 #define UART_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */ 5910 #define UART_CONFIG_PARITY_Msk (0x7UL << UART_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */ 5911 #define UART_CONFIG_PARITY_Excluded (0UL) /*!< Parity bit excluded. */ 5912 #define UART_CONFIG_PARITY_Included (7UL) /*!< Parity bit included. */ 5913 5914 /* Bit 0 : Hardware flow control. */ 5915 #define UART_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */ 5916 #define UART_CONFIG_HWFC_Msk (0x1UL << UART_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */ 5917 #define UART_CONFIG_HWFC_Disabled (0UL) /*!< Hardware flow control disabled. */ 5918 #define UART_CONFIG_HWFC_Enabled (1UL) /*!< Hardware flow control enabled. */ 5919 5920 /* Register: UART_POWER */ 5921 /* Description: Peripheral power control. */ 5922 5923 /* Bit 0 : Peripheral power control. */ 5924 #define UART_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 5925 #define UART_POWER_POWER_Msk (0x1UL << UART_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 5926 #define UART_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 5927 #define UART_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 5928 5929 5930 /* Peripheral: UICR */ 5931 /* Description: User Information Configuration. */ 5932 5933 /* Register: UICR_RBPCONF */ 5934 /* Description: Readback protection configuration. */ 5935 5936 /* Bits 15..8 : Readback protect all code in the device. */ 5937 #define UICR_RBPCONF_PALL_Pos (8UL) /*!< Position of PALL field. */ 5938 #define UICR_RBPCONF_PALL_Msk (0xFFUL << UICR_RBPCONF_PALL_Pos) /*!< Bit mask of PALL field. */ 5939 #define UICR_RBPCONF_PALL_Enabled (0x00UL) /*!< Enabled. */ 5940 #define UICR_RBPCONF_PALL_Disabled (0xFFUL) /*!< Disabled. */ 5941 5942 /* Bits 7..0 : Readback protect region 0. Will be ignored if pre-programmed factory code is present on the chip. */ 5943 #define UICR_RBPCONF_PR0_Pos (0UL) /*!< Position of PR0 field. */ 5944 #define UICR_RBPCONF_PR0_Msk (0xFFUL << UICR_RBPCONF_PR0_Pos) /*!< Bit mask of PR0 field. */ 5945 #define UICR_RBPCONF_PR0_Enabled (0x00UL) /*!< Enabled. */ 5946 #define UICR_RBPCONF_PR0_Disabled (0xFFUL) /*!< Disabled. */ 5947 5948 /* Register: UICR_XTALFREQ */ 5949 /* Description: Reset value for CLOCK XTALFREQ register. */ 5950 5951 /* Bits 7..0 : Reset value for CLOCK XTALFREQ register. */ 5952 #define UICR_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */ 5953 #define UICR_XTALFREQ_XTALFREQ_Msk (0xFFUL << UICR_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */ 5954 #define UICR_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz Xtal is used. */ 5955 #define UICR_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz Xtal is used. */ 5956 5957 /* Register: UICR_FWID */ 5958 /* Description: Firmware ID. */ 5959 5960 /* Bits 15..0 : Identification number for the firmware loaded into the chip. */ 5961 #define UICR_FWID_FWID_Pos (0UL) /*!< Position of FWID field. */ 5962 #define UICR_FWID_FWID_Msk (0xFFFFUL << UICR_FWID_FWID_Pos) /*!< Bit mask of FWID field. */ 5963 5964 5965 /* Peripheral: WDT */ 5966 /* Description: Watchdog Timer. */ 5967 5968 /* Register: WDT_INTENSET */ 5969 /* Description: Interrupt enable set register. */ 5970 5971 /* Bit 0 : Enable interrupt on TIMEOUT event. */ 5972 #define WDT_INTENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 5973 #define WDT_INTENSET_TIMEOUT_Msk (0x1UL << WDT_INTENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 5974 #define WDT_INTENSET_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */ 5975 #define WDT_INTENSET_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */ 5976 #define WDT_INTENSET_TIMEOUT_Set (1UL) /*!< Enable interrupt on write. */ 5977 5978 /* Register: WDT_INTENCLR */ 5979 /* Description: Interrupt enable clear register. */ 5980 5981 /* Bit 0 : Disable interrupt on TIMEOUT event. */ 5982 #define WDT_INTENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 5983 #define WDT_INTENCLR_TIMEOUT_Msk (0x1UL << WDT_INTENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 5984 #define WDT_INTENCLR_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */ 5985 #define WDT_INTENCLR_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */ 5986 #define WDT_INTENCLR_TIMEOUT_Clear (1UL) /*!< Disable interrupt on write. */ 5987 5988 /* Register: WDT_RUNSTATUS */ 5989 /* Description: Watchdog running status. */ 5990 5991 /* Bit 0 : Watchdog running status. */ 5992 #define WDT_RUNSTATUS_RUNSTATUS_Pos (0UL) /*!< Position of RUNSTATUS field. */ 5993 #define WDT_RUNSTATUS_RUNSTATUS_Msk (0x1UL << WDT_RUNSTATUS_RUNSTATUS_Pos) /*!< Bit mask of RUNSTATUS field. */ 5994 #define WDT_RUNSTATUS_RUNSTATUS_NotRunning (0UL) /*!< Watchdog timer is not running. */ 5995 #define WDT_RUNSTATUS_RUNSTATUS_Running (1UL) /*!< Watchdog timer is running. */ 5996 5997 /* Register: WDT_REQSTATUS */ 5998 /* Description: Request status. */ 5999 6000 /* Bit 7 : Request status for RR[7]. */ 6001 #define WDT_REQSTATUS_RR7_Pos (7UL) /*!< Position of RR7 field. */ 6002 #define WDT_REQSTATUS_RR7_Msk (0x1UL << WDT_REQSTATUS_RR7_Pos) /*!< Bit mask of RR7 field. */ 6003 #define WDT_REQSTATUS_RR7_DisabledOrRequested (0UL) /*!< RR[7] register is not enabled or has already requested reload. */ 6004 #define WDT_REQSTATUS_RR7_EnabledAndUnrequested (1UL) /*!< RR[7] register is enabled and has not jet requested. */ 6005 6006 /* Bit 6 : Request status for RR[6]. */ 6007 #define WDT_REQSTATUS_RR6_Pos (6UL) /*!< Position of RR6 field. */ 6008 #define WDT_REQSTATUS_RR6_Msk (0x1UL << WDT_REQSTATUS_RR6_Pos) /*!< Bit mask of RR6 field. */ 6009 #define WDT_REQSTATUS_RR6_DisabledOrRequested (0UL) /*!< RR[6] register is not enabled or has already requested reload. */ 6010 #define WDT_REQSTATUS_RR6_EnabledAndUnrequested (1UL) /*!< RR[6] register is enabled and has not jet requested. */ 6011 6012 /* Bit 5 : Request status for RR[5]. */ 6013 #define WDT_REQSTATUS_RR5_Pos (5UL) /*!< Position of RR5 field. */ 6014 #define WDT_REQSTATUS_RR5_Msk (0x1UL << WDT_REQSTATUS_RR5_Pos) /*!< Bit mask of RR5 field. */ 6015 #define WDT_REQSTATUS_RR5_DisabledOrRequested (0UL) /*!< RR[5] register is not enabled or has already requested reload. */ 6016 #define WDT_REQSTATUS_RR5_EnabledAndUnrequested (1UL) /*!< RR[5] register is enabled and has not jet requested. */ 6017 6018 /* Bit 4 : Request status for RR[4]. */ 6019 #define WDT_REQSTATUS_RR4_Pos (4UL) /*!< Position of RR4 field. */ 6020 #define WDT_REQSTATUS_RR4_Msk (0x1UL << WDT_REQSTATUS_RR4_Pos) /*!< Bit mask of RR4 field. */ 6021 #define WDT_REQSTATUS_RR4_DisabledOrRequested (0UL) /*!< RR[4] register is not enabled or has already requested reload. */ 6022 #define WDT_REQSTATUS_RR4_EnabledAndUnrequested (1UL) /*!< RR[4] register is enabled and has not jet requested. */ 6023 6024 /* Bit 3 : Request status for RR[3]. */ 6025 #define WDT_REQSTATUS_RR3_Pos (3UL) /*!< Position of RR3 field. */ 6026 #define WDT_REQSTATUS_RR3_Msk (0x1UL << WDT_REQSTATUS_RR3_Pos) /*!< Bit mask of RR3 field. */ 6027 #define WDT_REQSTATUS_RR3_DisabledOrRequested (0UL) /*!< RR[3] register is not enabled or has already requested reload. */ 6028 #define WDT_REQSTATUS_RR3_EnabledAndUnrequested (1UL) /*!< RR[3] register is enabled and has not jet requested. */ 6029 6030 /* Bit 2 : Request status for RR[2]. */ 6031 #define WDT_REQSTATUS_RR2_Pos (2UL) /*!< Position of RR2 field. */ 6032 #define WDT_REQSTATUS_RR2_Msk (0x1UL << WDT_REQSTATUS_RR2_Pos) /*!< Bit mask of RR2 field. */ 6033 #define WDT_REQSTATUS_RR2_DisabledOrRequested (0UL) /*!< RR[2] register is not enabled or has already requested reload. */ 6034 #define WDT_REQSTATUS_RR2_EnabledAndUnrequested (1UL) /*!< RR[2] register is enabled and has not jet requested. */ 6035 6036 /* Bit 1 : Request status for RR[1]. */ 6037 #define WDT_REQSTATUS_RR1_Pos (1UL) /*!< Position of RR1 field. */ 6038 #define WDT_REQSTATUS_RR1_Msk (0x1UL << WDT_REQSTATUS_RR1_Pos) /*!< Bit mask of RR1 field. */ 6039 #define WDT_REQSTATUS_RR1_DisabledOrRequested (0UL) /*!< RR[1] register is not enabled or has already requested reload. */ 6040 #define WDT_REQSTATUS_RR1_EnabledAndUnrequested (1UL) /*!< RR[1] register is enabled and has not jet requested. */ 6041 6042 /* Bit 0 : Request status for RR[0]. */ 6043 #define WDT_REQSTATUS_RR0_Pos (0UL) /*!< Position of RR0 field. */ 6044 #define WDT_REQSTATUS_RR0_Msk (0x1UL << WDT_REQSTATUS_RR0_Pos) /*!< Bit mask of RR0 field. */ 6045 #define WDT_REQSTATUS_RR0_DisabledOrRequested (0UL) /*!< RR[0] register is not enabled or has already requested reload. */ 6046 #define WDT_REQSTATUS_RR0_EnabledAndUnrequested (1UL) /*!< RR[0] register is enabled and has not jet requested. */ 6047 6048 /* Register: WDT_RREN */ 6049 /* Description: Reload request enable. */ 6050 6051 /* Bit 7 : Enable or disable RR[7] register. */ 6052 #define WDT_RREN_RR7_Pos (7UL) /*!< Position of RR7 field. */ 6053 #define WDT_RREN_RR7_Msk (0x1UL << WDT_RREN_RR7_Pos) /*!< Bit mask of RR7 field. */ 6054 #define WDT_RREN_RR7_Disabled (0UL) /*!< RR[7] register is disabled. */ 6055 #define WDT_RREN_RR7_Enabled (1UL) /*!< RR[7] register is enabled. */ 6056 6057 /* Bit 6 : Enable or disable RR[6] register. */ 6058 #define WDT_RREN_RR6_Pos (6UL) /*!< Position of RR6 field. */ 6059 #define WDT_RREN_RR6_Msk (0x1UL << WDT_RREN_RR6_Pos) /*!< Bit mask of RR6 field. */ 6060 #define WDT_RREN_RR6_Disabled (0UL) /*!< RR[6] register is disabled. */ 6061 #define WDT_RREN_RR6_Enabled (1UL) /*!< RR[6] register is enabled. */ 6062 6063 /* Bit 5 : Enable or disable RR[5] register. */ 6064 #define WDT_RREN_RR5_Pos (5UL) /*!< Position of RR5 field. */ 6065 #define WDT_RREN_RR5_Msk (0x1UL << WDT_RREN_RR5_Pos) /*!< Bit mask of RR5 field. */ 6066 #define WDT_RREN_RR5_Disabled (0UL) /*!< RR[5] register is disabled. */ 6067 #define WDT_RREN_RR5_Enabled (1UL) /*!< RR[5] register is enabled. */ 6068 6069 /* Bit 4 : Enable or disable RR[4] register. */ 6070 #define WDT_RREN_RR4_Pos (4UL) /*!< Position of RR4 field. */ 6071 #define WDT_RREN_RR4_Msk (0x1UL << WDT_RREN_RR4_Pos) /*!< Bit mask of RR4 field. */ 6072 #define WDT_RREN_RR4_Disabled (0UL) /*!< RR[4] register is disabled. */ 6073 #define WDT_RREN_RR4_Enabled (1UL) /*!< RR[4] register is enabled. */ 6074 6075 /* Bit 3 : Enable or disable RR[3] register. */ 6076 #define WDT_RREN_RR3_Pos (3UL) /*!< Position of RR3 field. */ 6077 #define WDT_RREN_RR3_Msk (0x1UL << WDT_RREN_RR3_Pos) /*!< Bit mask of RR3 field. */ 6078 #define WDT_RREN_RR3_Disabled (0UL) /*!< RR[3] register is disabled. */ 6079 #define WDT_RREN_RR3_Enabled (1UL) /*!< RR[3] register is enabled. */ 6080 6081 /* Bit 2 : Enable or disable RR[2] register. */ 6082 #define WDT_RREN_RR2_Pos (2UL) /*!< Position of RR2 field. */ 6083 #define WDT_RREN_RR2_Msk (0x1UL << WDT_RREN_RR2_Pos) /*!< Bit mask of RR2 field. */ 6084 #define WDT_RREN_RR2_Disabled (0UL) /*!< RR[2] register is disabled. */ 6085 #define WDT_RREN_RR2_Enabled (1UL) /*!< RR[2] register is enabled. */ 6086 6087 /* Bit 1 : Enable or disable RR[1] register. */ 6088 #define WDT_RREN_RR1_Pos (1UL) /*!< Position of RR1 field. */ 6089 #define WDT_RREN_RR1_Msk (0x1UL << WDT_RREN_RR1_Pos) /*!< Bit mask of RR1 field. */ 6090 #define WDT_RREN_RR1_Disabled (0UL) /*!< RR[1] register is disabled. */ 6091 #define WDT_RREN_RR1_Enabled (1UL) /*!< RR[1] register is enabled. */ 6092 6093 /* Bit 0 : Enable or disable RR[0] register. */ 6094 #define WDT_RREN_RR0_Pos (0UL) /*!< Position of RR0 field. */ 6095 #define WDT_RREN_RR0_Msk (0x1UL << WDT_RREN_RR0_Pos) /*!< Bit mask of RR0 field. */ 6096 #define WDT_RREN_RR0_Disabled (0UL) /*!< RR[0] register is disabled. */ 6097 #define WDT_RREN_RR0_Enabled (1UL) /*!< RR[0] register is enabled. */ 6098 6099 /* Register: WDT_CONFIG */ 6100 /* Description: Configuration register. */ 6101 6102 /* Bit 3 : Configure the watchdog to pause or not while the CPU is halted by the debugger. */ 6103 #define WDT_CONFIG_HALT_Pos (3UL) /*!< Position of HALT field. */ 6104 #define WDT_CONFIG_HALT_Msk (0x1UL << WDT_CONFIG_HALT_Pos) /*!< Bit mask of HALT field. */ 6105 #define WDT_CONFIG_HALT_Pause (0UL) /*!< Pause watchdog while the CPU is halted by the debugger. */ 6106 #define WDT_CONFIG_HALT_Run (1UL) /*!< Do not pause watchdog while the CPU is halted by the debugger. */ 6107 6108 /* Bit 0 : Configure the watchdog to pause or not while the CPU is sleeping. */ 6109 #define WDT_CONFIG_SLEEP_Pos (0UL) /*!< Position of SLEEP field. */ 6110 #define WDT_CONFIG_SLEEP_Msk (0x1UL << WDT_CONFIG_SLEEP_Pos) /*!< Bit mask of SLEEP field. */ 6111 #define WDT_CONFIG_SLEEP_Pause (0UL) /*!< Pause watchdog while the CPU is asleep. */ 6112 #define WDT_CONFIG_SLEEP_Run (1UL) /*!< Do not pause watchdog while the CPU is asleep. */ 6113 6114 /* Register: WDT_RR */ 6115 /* Description: Reload requests registers. */ 6116 6117 /* Bits 31..0 : Reload register. */ 6118 #define WDT_RR_RR_Pos (0UL) /*!< Position of RR field. */ 6119 #define WDT_RR_RR_Msk (0xFFFFFFFFUL << WDT_RR_RR_Pos) /*!< Bit mask of RR field. */ 6120 #define WDT_RR_RR_Reload (0x6E524635UL) /*!< Value to request a reload of the watchdog timer. */ 6121 6122 /* Register: WDT_POWER */ 6123 /* Description: Peripheral power control. */ 6124 6125 /* Bit 0 : Peripheral power control. */ 6126 #define WDT_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 6127 #define WDT_POWER_POWER_Msk (0x1UL << WDT_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 6128 #define WDT_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 6129 #define WDT_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 6130 6131 6132 /*lint --flb "Leave library region" */ 6133 #endif 6134