test
Fork of nrf51-sdk by
Embed:
(wiki syntax)
Show/hide line numbers
nrf51_bitfields.h
00001 /* 00002 * Copyright (c) Nordic Semiconductor ASA 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without modification, 00006 * are permitted provided that the following conditions are met: 00007 * 00008 * 1. Redistributions of source code must retain the above copyright notice, this 00009 * list of conditions and the following disclaimer. 00010 * 00011 * 2. Redistributions in binary form must reproduce the above copyright notice, this 00012 * list of conditions and the following disclaimer in the documentation and/or 00013 * other materials provided with the distribution. 00014 * 00015 * 3. Neither the name of Nordic Semiconductor ASA nor the names of other 00016 * contributors to this software may be used to endorse or promote products 00017 * derived from this software without specific prior written permission. 00018 * 00019 * 00020 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 00021 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00022 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00023 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 00024 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00025 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00026 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00027 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00028 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00029 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 * 00031 */ 00032 #ifndef __NRF51_BITS_H 00033 #define __NRF51_BITS_H 00034 00035 /*lint ++flb "Enter library region" */ 00036 00037 /* Peripheral: AAR */ 00038 /* Description: Accelerated Address Resolver. */ 00039 00040 /* Register: AAR_INTENSET */ 00041 /* Description: Interrupt enable set register. */ 00042 00043 /* Bit 2 : Enable interrupt on NOTRESOLVED event. */ 00044 #define AAR_INTENSET_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */ 00045 #define AAR_INTENSET_NOTRESOLVED_Msk (0x1UL << AAR_INTENSET_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */ 00046 #define AAR_INTENSET_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 00047 #define AAR_INTENSET_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 00048 #define AAR_INTENSET_NOTRESOLVED_Set (1UL) /*!< Enable interrupt on write. */ 00049 00050 /* Bit 1 : Enable interrupt on RESOLVED event. */ 00051 #define AAR_INTENSET_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */ 00052 #define AAR_INTENSET_RESOLVED_Msk (0x1UL << AAR_INTENSET_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */ 00053 #define AAR_INTENSET_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 00054 #define AAR_INTENSET_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 00055 #define AAR_INTENSET_RESOLVED_Set (1UL) /*!< Enable interrupt on write. */ 00056 00057 /* Bit 0 : Enable interrupt on END event. */ 00058 #define AAR_INTENSET_END_Pos (0UL) /*!< Position of END field. */ 00059 #define AAR_INTENSET_END_Msk (0x1UL << AAR_INTENSET_END_Pos) /*!< Bit mask of END field. */ 00060 #define AAR_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 00061 #define AAR_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 00062 #define AAR_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 00063 00064 /* Register: AAR_INTENCLR */ 00065 /* Description: Interrupt enable clear register. */ 00066 00067 /* Bit 2 : Disable interrupt on NOTRESOLVED event. */ 00068 #define AAR_INTENCLR_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */ 00069 #define AAR_INTENCLR_NOTRESOLVED_Msk (0x1UL << AAR_INTENCLR_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */ 00070 #define AAR_INTENCLR_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 00071 #define AAR_INTENCLR_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 00072 #define AAR_INTENCLR_NOTRESOLVED_Clear (1UL) /*!< Disable interrupt on write. */ 00073 00074 /* Bit 1 : Disable interrupt on RESOLVED event. */ 00075 #define AAR_INTENCLR_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */ 00076 #define AAR_INTENCLR_RESOLVED_Msk (0x1UL << AAR_INTENCLR_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */ 00077 #define AAR_INTENCLR_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */ 00078 #define AAR_INTENCLR_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */ 00079 #define AAR_INTENCLR_RESOLVED_Clear (1UL) /*!< Disable interrupt on write. */ 00080 00081 /* Bit 0 : Disable interrupt on ENDKSGEN event. */ 00082 #define AAR_INTENCLR_END_Pos (0UL) /*!< Position of END field. */ 00083 #define AAR_INTENCLR_END_Msk (0x1UL << AAR_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 00084 #define AAR_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 00085 #define AAR_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 00086 #define AAR_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 00087 00088 /* Register: AAR_STATUS */ 00089 /* Description: Resolution status. */ 00090 00091 /* Bits 3..0 : The IRK used last time an address was resolved. */ 00092 #define AAR_STATUS_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 00093 #define AAR_STATUS_STATUS_Msk (0xFUL << AAR_STATUS_STATUS_Pos) /*!< Bit mask of STATUS field. */ 00094 00095 /* Register: AAR_ENABLE */ 00096 /* Description: Enable AAR. */ 00097 00098 /* Bits 1..0 : Enable AAR. */ 00099 #define AAR_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 00100 #define AAR_ENABLE_ENABLE_Msk (0x3UL << AAR_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 00101 #define AAR_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled AAR. */ 00102 #define AAR_ENABLE_ENABLE_Enabled (0x03UL) /*!< Enable AAR. */ 00103 00104 /* Register: AAR_NIRK */ 00105 /* Description: Number of Identity root Keys in the IRK data structure. */ 00106 00107 /* Bits 4..0 : Number of Identity root Keys in the IRK data structure. */ 00108 #define AAR_NIRK_NIRK_Pos (0UL) /*!< Position of NIRK field. */ 00109 #define AAR_NIRK_NIRK_Msk (0x1FUL << AAR_NIRK_NIRK_Pos) /*!< Bit mask of NIRK field. */ 00110 00111 /* Register: AAR_POWER */ 00112 /* Description: Peripheral power control. */ 00113 00114 /* Bit 0 : Peripheral power control. */ 00115 #define AAR_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 00116 #define AAR_POWER_POWER_Msk (0x1UL << AAR_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 00117 #define AAR_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 00118 #define AAR_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 00119 00120 00121 /* Peripheral: ADC */ 00122 /* Description: Analog to digital converter. */ 00123 00124 /* Register: ADC_INTENSET */ 00125 /* Description: Interrupt enable set register. */ 00126 00127 /* Bit 0 : Enable interrupt on END event. */ 00128 #define ADC_INTENSET_END_Pos (0UL) /*!< Position of END field. */ 00129 #define ADC_INTENSET_END_Msk (0x1UL << ADC_INTENSET_END_Pos) /*!< Bit mask of END field. */ 00130 #define ADC_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 00131 #define ADC_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 00132 #define ADC_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 00133 00134 /* Register: ADC_INTENCLR */ 00135 /* Description: Interrupt enable clear register. */ 00136 00137 /* Bit 0 : Disable interrupt on END event. */ 00138 #define ADC_INTENCLR_END_Pos (0UL) /*!< Position of END field. */ 00139 #define ADC_INTENCLR_END_Msk (0x1UL << ADC_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 00140 #define ADC_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 00141 #define ADC_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 00142 #define ADC_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 00143 00144 /* Register: ADC_BUSY */ 00145 /* Description: ADC busy register. */ 00146 00147 /* Bit 0 : ADC busy register. */ 00148 #define ADC_BUSY_BUSY_Pos (0UL) /*!< Position of BUSY field. */ 00149 #define ADC_BUSY_BUSY_Msk (0x1UL << ADC_BUSY_BUSY_Pos) /*!< Bit mask of BUSY field. */ 00150 #define ADC_BUSY_BUSY_Ready (0UL) /*!< No ongoing ADC conversion is taking place. ADC is ready. */ 00151 #define ADC_BUSY_BUSY_Busy (1UL) /*!< An ADC conversion is taking place. ADC is busy. */ 00152 00153 /* Register: ADC_ENABLE */ 00154 /* Description: ADC enable. */ 00155 00156 /* Bits 1..0 : ADC enable. */ 00157 #define ADC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 00158 #define ADC_ENABLE_ENABLE_Msk (0x3UL << ADC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 00159 #define ADC_ENABLE_ENABLE_Disabled (0x00UL) /*!< ADC is disabled. */ 00160 #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. */ 00161 00162 /* Register: ADC_CONFIG */ 00163 /* Description: ADC configuration register. */ 00164 00165 /* Bits 17..16 : ADC external reference pin selection. */ 00166 #define ADC_CONFIG_EXTREFSEL_Pos (16UL) /*!< Position of EXTREFSEL field. */ 00167 #define ADC_CONFIG_EXTREFSEL_Msk (0x3UL << ADC_CONFIG_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */ 00168 #define ADC_CONFIG_EXTREFSEL_None (0UL) /*!< Analog external reference inputs disabled. */ 00169 #define ADC_CONFIG_EXTREFSEL_AnalogReference0 (1UL) /*!< Use analog reference 0 as reference. */ 00170 #define ADC_CONFIG_EXTREFSEL_AnalogReference1 (2UL) /*!< Use analog reference 1 as reference. */ 00171 00172 /* Bits 15..8 : ADC analog pin selection. */ 00173 #define ADC_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */ 00174 #define ADC_CONFIG_PSEL_Msk (0xFFUL << ADC_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */ 00175 #define ADC_CONFIG_PSEL_Disabled (0UL) /*!< Analog input pins disabled. */ 00176 #define ADC_CONFIG_PSEL_AnalogInput0 (1UL) /*!< Use analog input 0 as analog input. */ 00177 #define ADC_CONFIG_PSEL_AnalogInput1 (2UL) /*!< Use analog input 1 as analog input. */ 00178 #define ADC_CONFIG_PSEL_AnalogInput2 (4UL) /*!< Use analog input 2 as analog input. */ 00179 #define ADC_CONFIG_PSEL_AnalogInput3 (8UL) /*!< Use analog input 3 as analog input. */ 00180 #define ADC_CONFIG_PSEL_AnalogInput4 (16UL) /*!< Use analog input 4 as analog input. */ 00181 #define ADC_CONFIG_PSEL_AnalogInput5 (32UL) /*!< Use analog input 5 as analog input. */ 00182 #define ADC_CONFIG_PSEL_AnalogInput6 (64UL) /*!< Use analog input 6 as analog input. */ 00183 #define ADC_CONFIG_PSEL_AnalogInput7 (128UL) /*!< Use analog input 7 as analog input. */ 00184 00185 /* Bits 6..5 : ADC reference selection. */ 00186 #define ADC_CONFIG_REFSEL_Pos (5UL) /*!< Position of REFSEL field. */ 00187 #define ADC_CONFIG_REFSEL_Msk (0x3UL << ADC_CONFIG_REFSEL_Pos) /*!< Bit mask of REFSEL field. */ 00188 #define ADC_CONFIG_REFSEL_VBG (0x00UL) /*!< Use internal 1.2V bandgap voltage as reference for conversion. */ 00189 #define ADC_CONFIG_REFSEL_External (0x01UL) /*!< Use external source configured by EXTREFSEL as reference for conversion. */ 00190 #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. */ 00191 #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. */ 00192 00193 /* Bits 4..2 : ADC input selection. */ 00194 #define ADC_CONFIG_INPSEL_Pos (2UL) /*!< Position of INPSEL field. */ 00195 #define ADC_CONFIG_INPSEL_Msk (0x7UL << ADC_CONFIG_INPSEL_Pos) /*!< Bit mask of INPSEL field. */ 00196 #define ADC_CONFIG_INPSEL_AnalogInputNoPrescaling (0x00UL) /*!< Analog input specified by PSEL with no prescaling used as input for the conversion. */ 00197 #define ADC_CONFIG_INPSEL_AnalogInputTwoThirdsPrescaling (0x01UL) /*!< Analog input specified by PSEL with 2/3 prescaling used as input for the conversion. */ 00198 #define ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling (0x02UL) /*!< Analog input specified by PSEL with 1/3 prescaling used as input for the conversion. */ 00199 #define ADC_CONFIG_INPSEL_SupplyTwoThirdsPrescaling (0x05UL) /*!< Supply voltage with 2/3 prescaling used as input for the conversion. */ 00200 #define ADC_CONFIG_INPSEL_SupplyOneThirdPrescaling (0x06UL) /*!< Supply voltage with 1/3 prescaling used as input for the conversion. */ 00201 00202 /* Bits 1..0 : ADC resolution. */ 00203 #define ADC_CONFIG_RES_Pos (0UL) /*!< Position of RES field. */ 00204 #define ADC_CONFIG_RES_Msk (0x3UL << ADC_CONFIG_RES_Pos) /*!< Bit mask of RES field. */ 00205 #define ADC_CONFIG_RES_8bit (0x00UL) /*!< 8bit ADC resolution. */ 00206 #define ADC_CONFIG_RES_9bit (0x01UL) /*!< 9bit ADC resolution. */ 00207 #define ADC_CONFIG_RES_10bit (0x02UL) /*!< 10bit ADC resolution. */ 00208 00209 /* Register: ADC_RESULT */ 00210 /* Description: Result of ADC conversion. */ 00211 00212 /* Bits 9..0 : Result of ADC conversion. */ 00213 #define ADC_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */ 00214 #define ADC_RESULT_RESULT_Msk (0x3FFUL << ADC_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */ 00215 00216 /* Register: ADC_POWER */ 00217 /* Description: Peripheral power control. */ 00218 00219 /* Bit 0 : Peripheral power control. */ 00220 #define ADC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 00221 #define ADC_POWER_POWER_Msk (0x1UL << ADC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 00222 #define ADC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 00223 #define ADC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 00224 00225 00226 /* Peripheral: AMLI */ 00227 /* Description: AHB Multi-Layer Interface. */ 00228 00229 /* Register: AMLI_RAMPRI_CPU0 */ 00230 /* Description: Configurable priority configuration register for CPU0. */ 00231 00232 /* Bits 31..28 : Configuration field for RAM block 7. */ 00233 #define AMLI_RAMPRI_CPU0_RAM7_Pos (28UL) /*!< Position of RAM7 field. */ 00234 #define AMLI_RAMPRI_CPU0_RAM7_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM7_Pos) /*!< Bit mask of RAM7 field. */ 00235 #define AMLI_RAMPRI_CPU0_RAM7_Pri0 (0x0UL) /*!< Priority 0. */ 00236 #define AMLI_RAMPRI_CPU0_RAM7_Pri2 (0x2UL) /*!< Priority 2. */ 00237 #define AMLI_RAMPRI_CPU0_RAM7_Pri4 (0x4UL) /*!< Priority 4. */ 00238 #define AMLI_RAMPRI_CPU0_RAM7_Pri6 (0x6UL) /*!< Priority 6. */ 00239 #define AMLI_RAMPRI_CPU0_RAM7_Pri8 (0x8UL) /*!< Priority 8. */ 00240 #define AMLI_RAMPRI_CPU0_RAM7_Pri10 (0xAUL) /*!< Priority 10. */ 00241 #define AMLI_RAMPRI_CPU0_RAM7_Pri12 (0xCUL) /*!< Priority 12. */ 00242 #define AMLI_RAMPRI_CPU0_RAM7_Pri14 (0xEUL) /*!< Priority 14. */ 00243 00244 /* Bits 27..24 : Configuration field for RAM block 6. */ 00245 #define AMLI_RAMPRI_CPU0_RAM6_Pos (24UL) /*!< Position of RAM6 field. */ 00246 #define AMLI_RAMPRI_CPU0_RAM6_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM6_Pos) /*!< Bit mask of RAM6 field. */ 00247 #define AMLI_RAMPRI_CPU0_RAM6_Pri0 (0x0UL) /*!< Priority 0. */ 00248 #define AMLI_RAMPRI_CPU0_RAM6_Pri2 (0x2UL) /*!< Priority 2. */ 00249 #define AMLI_RAMPRI_CPU0_RAM6_Pri4 (0x4UL) /*!< Priority 4. */ 00250 #define AMLI_RAMPRI_CPU0_RAM6_Pri6 (0x6UL) /*!< Priority 6. */ 00251 #define AMLI_RAMPRI_CPU0_RAM6_Pri8 (0x8UL) /*!< Priority 8. */ 00252 #define AMLI_RAMPRI_CPU0_RAM6_Pri10 (0xAUL) /*!< Priority 10. */ 00253 #define AMLI_RAMPRI_CPU0_RAM6_Pri12 (0xCUL) /*!< Priority 12. */ 00254 #define AMLI_RAMPRI_CPU0_RAM6_Pri14 (0xEUL) /*!< Priority 14. */ 00255 00256 /* Bits 23..20 : Configuration field for RAM block 5. */ 00257 #define AMLI_RAMPRI_CPU0_RAM5_Pos (20UL) /*!< Position of RAM5 field. */ 00258 #define AMLI_RAMPRI_CPU0_RAM5_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM5_Pos) /*!< Bit mask of RAM5 field. */ 00259 #define AMLI_RAMPRI_CPU0_RAM5_Pri0 (0x0UL) /*!< Priority 0. */ 00260 #define AMLI_RAMPRI_CPU0_RAM5_Pri2 (0x2UL) /*!< Priority 2. */ 00261 #define AMLI_RAMPRI_CPU0_RAM5_Pri4 (0x4UL) /*!< Priority 4. */ 00262 #define AMLI_RAMPRI_CPU0_RAM5_Pri6 (0x6UL) /*!< Priority 6. */ 00263 #define AMLI_RAMPRI_CPU0_RAM5_Pri8 (0x8UL) /*!< Priority 8. */ 00264 #define AMLI_RAMPRI_CPU0_RAM5_Pri10 (0xAUL) /*!< Priority 10. */ 00265 #define AMLI_RAMPRI_CPU0_RAM5_Pri12 (0xCUL) /*!< Priority 12. */ 00266 #define AMLI_RAMPRI_CPU0_RAM5_Pri14 (0xEUL) /*!< Priority 14. */ 00267 00268 /* Bits 19..16 : Configuration field for RAM block 4. */ 00269 #define AMLI_RAMPRI_CPU0_RAM4_Pos (16UL) /*!< Position of RAM4 field. */ 00270 #define AMLI_RAMPRI_CPU0_RAM4_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM4_Pos) /*!< Bit mask of RAM4 field. */ 00271 #define AMLI_RAMPRI_CPU0_RAM4_Pri0 (0x0UL) /*!< Priority 0. */ 00272 #define AMLI_RAMPRI_CPU0_RAM4_Pri2 (0x2UL) /*!< Priority 2. */ 00273 #define AMLI_RAMPRI_CPU0_RAM4_Pri4 (0x4UL) /*!< Priority 4. */ 00274 #define AMLI_RAMPRI_CPU0_RAM4_Pri6 (0x6UL) /*!< Priority 6. */ 00275 #define AMLI_RAMPRI_CPU0_RAM4_Pri8 (0x8UL) /*!< Priority 8. */ 00276 #define AMLI_RAMPRI_CPU0_RAM4_Pri10 (0xAUL) /*!< Priority 10. */ 00277 #define AMLI_RAMPRI_CPU0_RAM4_Pri12 (0xCUL) /*!< Priority 12. */ 00278 #define AMLI_RAMPRI_CPU0_RAM4_Pri14 (0xEUL) /*!< Priority 14. */ 00279 00280 /* Bits 15..12 : Configuration field for RAM block 3. */ 00281 #define AMLI_RAMPRI_CPU0_RAM3_Pos (12UL) /*!< Position of RAM3 field. */ 00282 #define AMLI_RAMPRI_CPU0_RAM3_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM3_Pos) /*!< Bit mask of RAM3 field. */ 00283 #define AMLI_RAMPRI_CPU0_RAM3_Pri0 (0x0UL) /*!< Priority 0. */ 00284 #define AMLI_RAMPRI_CPU0_RAM3_Pri2 (0x2UL) /*!< Priority 2. */ 00285 #define AMLI_RAMPRI_CPU0_RAM3_Pri4 (0x4UL) /*!< Priority 4. */ 00286 #define AMLI_RAMPRI_CPU0_RAM3_Pri6 (0x6UL) /*!< Priority 6. */ 00287 #define AMLI_RAMPRI_CPU0_RAM3_Pri8 (0x8UL) /*!< Priority 8. */ 00288 #define AMLI_RAMPRI_CPU0_RAM3_Pri10 (0xAUL) /*!< Priority 10. */ 00289 #define AMLI_RAMPRI_CPU0_RAM3_Pri12 (0xCUL) /*!< Priority 12. */ 00290 #define AMLI_RAMPRI_CPU0_RAM3_Pri14 (0xEUL) /*!< Priority 14. */ 00291 00292 /* Bits 11..8 : Configuration field for RAM block 2. */ 00293 #define AMLI_RAMPRI_CPU0_RAM2_Pos (8UL) /*!< Position of RAM2 field. */ 00294 #define AMLI_RAMPRI_CPU0_RAM2_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM2_Pos) /*!< Bit mask of RAM2 field. */ 00295 #define AMLI_RAMPRI_CPU0_RAM2_Pri0 (0x0UL) /*!< Priority 0. */ 00296 #define AMLI_RAMPRI_CPU0_RAM2_Pri2 (0x2UL) /*!< Priority 2. */ 00297 #define AMLI_RAMPRI_CPU0_RAM2_Pri4 (0x4UL) /*!< Priority 4. */ 00298 #define AMLI_RAMPRI_CPU0_RAM2_Pri6 (0x6UL) /*!< Priority 6. */ 00299 #define AMLI_RAMPRI_CPU0_RAM2_Pri8 (0x8UL) /*!< Priority 8. */ 00300 #define AMLI_RAMPRI_CPU0_RAM2_Pri10 (0xAUL) /*!< Priority 10. */ 00301 #define AMLI_RAMPRI_CPU0_RAM2_Pri12 (0xCUL) /*!< Priority 12. */ 00302 #define AMLI_RAMPRI_CPU0_RAM2_Pri14 (0xEUL) /*!< Priority 14. */ 00303 00304 /* Bits 7..4 : Configuration field for RAM block 1. */ 00305 #define AMLI_RAMPRI_CPU0_RAM1_Pos (4UL) /*!< Position of RAM1 field. */ 00306 #define AMLI_RAMPRI_CPU0_RAM1_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM1_Pos) /*!< Bit mask of RAM1 field. */ 00307 #define AMLI_RAMPRI_CPU0_RAM1_Pri0 (0x0UL) /*!< Priority 0. */ 00308 #define AMLI_RAMPRI_CPU0_RAM1_Pri2 (0x2UL) /*!< Priority 2. */ 00309 #define AMLI_RAMPRI_CPU0_RAM1_Pri4 (0x4UL) /*!< Priority 4. */ 00310 #define AMLI_RAMPRI_CPU0_RAM1_Pri6 (0x6UL) /*!< Priority 6. */ 00311 #define AMLI_RAMPRI_CPU0_RAM1_Pri8 (0x8UL) /*!< Priority 8. */ 00312 #define AMLI_RAMPRI_CPU0_RAM1_Pri10 (0xAUL) /*!< Priority 10. */ 00313 #define AMLI_RAMPRI_CPU0_RAM1_Pri12 (0xCUL) /*!< Priority 12. */ 00314 #define AMLI_RAMPRI_CPU0_RAM1_Pri14 (0xEUL) /*!< Priority 14. */ 00315 00316 /* Bits 3..0 : Configuration field for RAM block 0. */ 00317 #define AMLI_RAMPRI_CPU0_RAM0_Pos (0UL) /*!< Position of RAM0 field. */ 00318 #define AMLI_RAMPRI_CPU0_RAM0_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM0_Pos) /*!< Bit mask of RAM0 field. */ 00319 #define AMLI_RAMPRI_CPU0_RAM0_Pri0 (0x0UL) /*!< Priority 0. */ 00320 #define AMLI_RAMPRI_CPU0_RAM0_Pri2 (0x2UL) /*!< Priority 2. */ 00321 #define AMLI_RAMPRI_CPU0_RAM0_Pri4 (0x4UL) /*!< Priority 4. */ 00322 #define AMLI_RAMPRI_CPU0_RAM0_Pri6 (0x6UL) /*!< Priority 6. */ 00323 #define AMLI_RAMPRI_CPU0_RAM0_Pri8 (0x8UL) /*!< Priority 8. */ 00324 #define AMLI_RAMPRI_CPU0_RAM0_Pri10 (0xAUL) /*!< Priority 10. */ 00325 #define AMLI_RAMPRI_CPU0_RAM0_Pri12 (0xCUL) /*!< Priority 12. */ 00326 #define AMLI_RAMPRI_CPU0_RAM0_Pri14 (0xEUL) /*!< Priority 14. */ 00327 00328 /* Register: AMLI_RAMPRI_SPIS1 */ 00329 /* Description: Configurable priority configuration register for SPIS1. */ 00330 00331 /* Bits 31..28 : Configuration field for RAM block 7. */ 00332 #define AMLI_RAMPRI_SPIS1_RAM7_Pos (28UL) /*!< Position of RAM7 field. */ 00333 #define AMLI_RAMPRI_SPIS1_RAM7_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM7_Pos) /*!< Bit mask of RAM7 field. */ 00334 #define AMLI_RAMPRI_SPIS1_RAM7_Pri0 (0x0UL) /*!< Priority 0. */ 00335 #define AMLI_RAMPRI_SPIS1_RAM7_Pri2 (0x2UL) /*!< Priority 2. */ 00336 #define AMLI_RAMPRI_SPIS1_RAM7_Pri4 (0x4UL) /*!< Priority 4. */ 00337 #define AMLI_RAMPRI_SPIS1_RAM7_Pri6 (0x6UL) /*!< Priority 6. */ 00338 #define AMLI_RAMPRI_SPIS1_RAM7_Pri8 (0x8UL) /*!< Priority 8. */ 00339 #define AMLI_RAMPRI_SPIS1_RAM7_Pri10 (0xAUL) /*!< Priority 10. */ 00340 #define AMLI_RAMPRI_SPIS1_RAM7_Pri12 (0xCUL) /*!< Priority 12. */ 00341 #define AMLI_RAMPRI_SPIS1_RAM7_Pri14 (0xEUL) /*!< Priority 14. */ 00342 00343 /* Bits 27..24 : Configuration field for RAM block 6. */ 00344 #define AMLI_RAMPRI_SPIS1_RAM6_Pos (24UL) /*!< Position of RAM6 field. */ 00345 #define AMLI_RAMPRI_SPIS1_RAM6_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM6_Pos) /*!< Bit mask of RAM6 field. */ 00346 #define AMLI_RAMPRI_SPIS1_RAM6_Pri0 (0x0UL) /*!< Priority 0. */ 00347 #define AMLI_RAMPRI_SPIS1_RAM6_Pri2 (0x2UL) /*!< Priority 2. */ 00348 #define AMLI_RAMPRI_SPIS1_RAM6_Pri4 (0x4UL) /*!< Priority 4. */ 00349 #define AMLI_RAMPRI_SPIS1_RAM6_Pri6 (0x6UL) /*!< Priority 6. */ 00350 #define AMLI_RAMPRI_SPIS1_RAM6_Pri8 (0x8UL) /*!< Priority 8. */ 00351 #define AMLI_RAMPRI_SPIS1_RAM6_Pri10 (0xAUL) /*!< Priority 10. */ 00352 #define AMLI_RAMPRI_SPIS1_RAM6_Pri12 (0xCUL) /*!< Priority 12. */ 00353 #define AMLI_RAMPRI_SPIS1_RAM6_Pri14 (0xEUL) /*!< Priority 14. */ 00354 00355 /* Bits 23..20 : Configuration field for RAM block 5. */ 00356 #define AMLI_RAMPRI_SPIS1_RAM5_Pos (20UL) /*!< Position of RAM5 field. */ 00357 #define AMLI_RAMPRI_SPIS1_RAM5_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM5_Pos) /*!< Bit mask of RAM5 field. */ 00358 #define AMLI_RAMPRI_SPIS1_RAM5_Pri0 (0x0UL) /*!< Priority 0. */ 00359 #define AMLI_RAMPRI_SPIS1_RAM5_Pri2 (0x2UL) /*!< Priority 2. */ 00360 #define AMLI_RAMPRI_SPIS1_RAM5_Pri4 (0x4UL) /*!< Priority 4. */ 00361 #define AMLI_RAMPRI_SPIS1_RAM5_Pri6 (0x6UL) /*!< Priority 6. */ 00362 #define AMLI_RAMPRI_SPIS1_RAM5_Pri8 (0x8UL) /*!< Priority 8. */ 00363 #define AMLI_RAMPRI_SPIS1_RAM5_Pri10 (0xAUL) /*!< Priority 10. */ 00364 #define AMLI_RAMPRI_SPIS1_RAM5_Pri12 (0xCUL) /*!< Priority 12. */ 00365 #define AMLI_RAMPRI_SPIS1_RAM5_Pri14 (0xEUL) /*!< Priority 14. */ 00366 00367 /* Bits 19..16 : Configuration field for RAM block 4. */ 00368 #define AMLI_RAMPRI_SPIS1_RAM4_Pos (16UL) /*!< Position of RAM4 field. */ 00369 #define AMLI_RAMPRI_SPIS1_RAM4_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM4_Pos) /*!< Bit mask of RAM4 field. */ 00370 #define AMLI_RAMPRI_SPIS1_RAM4_Pri0 (0x0UL) /*!< Priority 0. */ 00371 #define AMLI_RAMPRI_SPIS1_RAM4_Pri2 (0x2UL) /*!< Priority 2. */ 00372 #define AMLI_RAMPRI_SPIS1_RAM4_Pri4 (0x4UL) /*!< Priority 4. */ 00373 #define AMLI_RAMPRI_SPIS1_RAM4_Pri6 (0x6UL) /*!< Priority 6. */ 00374 #define AMLI_RAMPRI_SPIS1_RAM4_Pri8 (0x8UL) /*!< Priority 8. */ 00375 #define AMLI_RAMPRI_SPIS1_RAM4_Pri10 (0xAUL) /*!< Priority 10. */ 00376 #define AMLI_RAMPRI_SPIS1_RAM4_Pri12 (0xCUL) /*!< Priority 12. */ 00377 #define AMLI_RAMPRI_SPIS1_RAM4_Pri14 (0xEUL) /*!< Priority 14. */ 00378 00379 /* Bits 15..12 : Configuration field for RAM block 3. */ 00380 #define AMLI_RAMPRI_SPIS1_RAM3_Pos (12UL) /*!< Position of RAM3 field. */ 00381 #define AMLI_RAMPRI_SPIS1_RAM3_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM3_Pos) /*!< Bit mask of RAM3 field. */ 00382 #define AMLI_RAMPRI_SPIS1_RAM3_Pri0 (0x0UL) /*!< Priority 0. */ 00383 #define AMLI_RAMPRI_SPIS1_RAM3_Pri2 (0x2UL) /*!< Priority 2. */ 00384 #define AMLI_RAMPRI_SPIS1_RAM3_Pri4 (0x4UL) /*!< Priority 4. */ 00385 #define AMLI_RAMPRI_SPIS1_RAM3_Pri6 (0x6UL) /*!< Priority 6. */ 00386 #define AMLI_RAMPRI_SPIS1_RAM3_Pri8 (0x8UL) /*!< Priority 8. */ 00387 #define AMLI_RAMPRI_SPIS1_RAM3_Pri10 (0xAUL) /*!< Priority 10. */ 00388 #define AMLI_RAMPRI_SPIS1_RAM3_Pri12 (0xCUL) /*!< Priority 12. */ 00389 #define AMLI_RAMPRI_SPIS1_RAM3_Pri14 (0xEUL) /*!< Priority 14. */ 00390 00391 /* Bits 11..8 : Configuration field for RAM block 2. */ 00392 #define AMLI_RAMPRI_SPIS1_RAM2_Pos (8UL) /*!< Position of RAM2 field. */ 00393 #define AMLI_RAMPRI_SPIS1_RAM2_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM2_Pos) /*!< Bit mask of RAM2 field. */ 00394 #define AMLI_RAMPRI_SPIS1_RAM2_Pri0 (0x0UL) /*!< Priority 0. */ 00395 #define AMLI_RAMPRI_SPIS1_RAM2_Pri2 (0x2UL) /*!< Priority 2. */ 00396 #define AMLI_RAMPRI_SPIS1_RAM2_Pri4 (0x4UL) /*!< Priority 4. */ 00397 #define AMLI_RAMPRI_SPIS1_RAM2_Pri6 (0x6UL) /*!< Priority 6. */ 00398 #define AMLI_RAMPRI_SPIS1_RAM2_Pri8 (0x8UL) /*!< Priority 8. */ 00399 #define AMLI_RAMPRI_SPIS1_RAM2_Pri10 (0xAUL) /*!< Priority 10. */ 00400 #define AMLI_RAMPRI_SPIS1_RAM2_Pri12 (0xCUL) /*!< Priority 12. */ 00401 #define AMLI_RAMPRI_SPIS1_RAM2_Pri14 (0xEUL) /*!< Priority 14. */ 00402 00403 /* Bits 7..4 : Configuration field for RAM block 1. */ 00404 #define AMLI_RAMPRI_SPIS1_RAM1_Pos (4UL) /*!< Position of RAM1 field. */ 00405 #define AMLI_RAMPRI_SPIS1_RAM1_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM1_Pos) /*!< Bit mask of RAM1 field. */ 00406 #define AMLI_RAMPRI_SPIS1_RAM1_Pri0 (0x0UL) /*!< Priority 0. */ 00407 #define AMLI_RAMPRI_SPIS1_RAM1_Pri2 (0x2UL) /*!< Priority 2. */ 00408 #define AMLI_RAMPRI_SPIS1_RAM1_Pri4 (0x4UL) /*!< Priority 4. */ 00409 #define AMLI_RAMPRI_SPIS1_RAM1_Pri6 (0x6UL) /*!< Priority 6. */ 00410 #define AMLI_RAMPRI_SPIS1_RAM1_Pri8 (0x8UL) /*!< Priority 8. */ 00411 #define AMLI_RAMPRI_SPIS1_RAM1_Pri10 (0xAUL) /*!< Priority 10. */ 00412 #define AMLI_RAMPRI_SPIS1_RAM1_Pri12 (0xCUL) /*!< Priority 12. */ 00413 #define AMLI_RAMPRI_SPIS1_RAM1_Pri14 (0xEUL) /*!< Priority 14. */ 00414 00415 /* Bits 3..0 : Configuration field for RAM block 0. */ 00416 #define AMLI_RAMPRI_SPIS1_RAM0_Pos (0UL) /*!< Position of RAM0 field. */ 00417 #define AMLI_RAMPRI_SPIS1_RAM0_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM0_Pos) /*!< Bit mask of RAM0 field. */ 00418 #define AMLI_RAMPRI_SPIS1_RAM0_Pri0 (0x0UL) /*!< Priority 0. */ 00419 #define AMLI_RAMPRI_SPIS1_RAM0_Pri2 (0x2UL) /*!< Priority 2. */ 00420 #define AMLI_RAMPRI_SPIS1_RAM0_Pri4 (0x4UL) /*!< Priority 4. */ 00421 #define AMLI_RAMPRI_SPIS1_RAM0_Pri6 (0x6UL) /*!< Priority 6. */ 00422 #define AMLI_RAMPRI_SPIS1_RAM0_Pri8 (0x8UL) /*!< Priority 8. */ 00423 #define AMLI_RAMPRI_SPIS1_RAM0_Pri10 (0xAUL) /*!< Priority 10. */ 00424 #define AMLI_RAMPRI_SPIS1_RAM0_Pri12 (0xCUL) /*!< Priority 12. */ 00425 #define AMLI_RAMPRI_SPIS1_RAM0_Pri14 (0xEUL) /*!< Priority 14. */ 00426 00427 /* Register: AMLI_RAMPRI_RADIO */ 00428 /* Description: Configurable priority configuration register for RADIO. */ 00429 00430 /* Bits 31..28 : Configuration field for RAM block 7. */ 00431 #define AMLI_RAMPRI_RADIO_RAM7_Pos (28UL) /*!< Position of RAM7 field. */ 00432 #define AMLI_RAMPRI_RADIO_RAM7_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM7_Pos) /*!< Bit mask of RAM7 field. */ 00433 #define AMLI_RAMPRI_RADIO_RAM7_Pri0 (0x0UL) /*!< Priority 0. */ 00434 #define AMLI_RAMPRI_RADIO_RAM7_Pri2 (0x2UL) /*!< Priority 2. */ 00435 #define AMLI_RAMPRI_RADIO_RAM7_Pri4 (0x4UL) /*!< Priority 4. */ 00436 #define AMLI_RAMPRI_RADIO_RAM7_Pri6 (0x6UL) /*!< Priority 6. */ 00437 #define AMLI_RAMPRI_RADIO_RAM7_Pri8 (0x8UL) /*!< Priority 8. */ 00438 #define AMLI_RAMPRI_RADIO_RAM7_Pri10 (0xAUL) /*!< Priority 10. */ 00439 #define AMLI_RAMPRI_RADIO_RAM7_Pri12 (0xCUL) /*!< Priority 12. */ 00440 #define AMLI_RAMPRI_RADIO_RAM7_Pri14 (0xEUL) /*!< Priority 14. */ 00441 00442 /* Bits 27..24 : Configuration field for RAM block 6. */ 00443 #define AMLI_RAMPRI_RADIO_RAM6_Pos (24UL) /*!< Position of RAM6 field. */ 00444 #define AMLI_RAMPRI_RADIO_RAM6_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM6_Pos) /*!< Bit mask of RAM6 field. */ 00445 #define AMLI_RAMPRI_RADIO_RAM6_Pri0 (0x0UL) /*!< Priority 0. */ 00446 #define AMLI_RAMPRI_RADIO_RAM6_Pri2 (0x2UL) /*!< Priority 2. */ 00447 #define AMLI_RAMPRI_RADIO_RAM6_Pri4 (0x4UL) /*!< Priority 4. */ 00448 #define AMLI_RAMPRI_RADIO_RAM6_Pri6 (0x6UL) /*!< Priority 6. */ 00449 #define AMLI_RAMPRI_RADIO_RAM6_Pri8 (0x8UL) /*!< Priority 8. */ 00450 #define AMLI_RAMPRI_RADIO_RAM6_Pri10 (0xAUL) /*!< Priority 10. */ 00451 #define AMLI_RAMPRI_RADIO_RAM6_Pri12 (0xCUL) /*!< Priority 12. */ 00452 #define AMLI_RAMPRI_RADIO_RAM6_Pri14 (0xEUL) /*!< Priority 14. */ 00453 00454 /* Bits 23..20 : Configuration field for RAM block 5. */ 00455 #define AMLI_RAMPRI_RADIO_RAM5_Pos (20UL) /*!< Position of RAM5 field. */ 00456 #define AMLI_RAMPRI_RADIO_RAM5_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM5_Pos) /*!< Bit mask of RAM5 field. */ 00457 #define AMLI_RAMPRI_RADIO_RAM5_Pri0 (0x0UL) /*!< Priority 0. */ 00458 #define AMLI_RAMPRI_RADIO_RAM5_Pri2 (0x2UL) /*!< Priority 2. */ 00459 #define AMLI_RAMPRI_RADIO_RAM5_Pri4 (0x4UL) /*!< Priority 4. */ 00460 #define AMLI_RAMPRI_RADIO_RAM5_Pri6 (0x6UL) /*!< Priority 6. */ 00461 #define AMLI_RAMPRI_RADIO_RAM5_Pri8 (0x8UL) /*!< Priority 8. */ 00462 #define AMLI_RAMPRI_RADIO_RAM5_Pri10 (0xAUL) /*!< Priority 10. */ 00463 #define AMLI_RAMPRI_RADIO_RAM5_Pri12 (0xCUL) /*!< Priority 12. */ 00464 #define AMLI_RAMPRI_RADIO_RAM5_Pri14 (0xEUL) /*!< Priority 14. */ 00465 00466 /* Bits 19..16 : Configuration field for RAM block 4. */ 00467 #define AMLI_RAMPRI_RADIO_RAM4_Pos (16UL) /*!< Position of RAM4 field. */ 00468 #define AMLI_RAMPRI_RADIO_RAM4_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM4_Pos) /*!< Bit mask of RAM4 field. */ 00469 #define AMLI_RAMPRI_RADIO_RAM4_Pri0 (0x0UL) /*!< Priority 0. */ 00470 #define AMLI_RAMPRI_RADIO_RAM4_Pri2 (0x2UL) /*!< Priority 2. */ 00471 #define AMLI_RAMPRI_RADIO_RAM4_Pri4 (0x4UL) /*!< Priority 4. */ 00472 #define AMLI_RAMPRI_RADIO_RAM4_Pri6 (0x6UL) /*!< Priority 6. */ 00473 #define AMLI_RAMPRI_RADIO_RAM4_Pri8 (0x8UL) /*!< Priority 8. */ 00474 #define AMLI_RAMPRI_RADIO_RAM4_Pri10 (0xAUL) /*!< Priority 10. */ 00475 #define AMLI_RAMPRI_RADIO_RAM4_Pri12 (0xCUL) /*!< Priority 12. */ 00476 #define AMLI_RAMPRI_RADIO_RAM4_Pri14 (0xEUL) /*!< Priority 14. */ 00477 00478 /* Bits 15..12 : Configuration field for RAM block 3. */ 00479 #define AMLI_RAMPRI_RADIO_RAM3_Pos (12UL) /*!< Position of RAM3 field. */ 00480 #define AMLI_RAMPRI_RADIO_RAM3_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM3_Pos) /*!< Bit mask of RAM3 field. */ 00481 #define AMLI_RAMPRI_RADIO_RAM3_Pri0 (0x0UL) /*!< Priority 0. */ 00482 #define AMLI_RAMPRI_RADIO_RAM3_Pri2 (0x2UL) /*!< Priority 2. */ 00483 #define AMLI_RAMPRI_RADIO_RAM3_Pri4 (0x4UL) /*!< Priority 4. */ 00484 #define AMLI_RAMPRI_RADIO_RAM3_Pri6 (0x6UL) /*!< Priority 6. */ 00485 #define AMLI_RAMPRI_RADIO_RAM3_Pri8 (0x8UL) /*!< Priority 8. */ 00486 #define AMLI_RAMPRI_RADIO_RAM3_Pri10 (0xAUL) /*!< Priority 10. */ 00487 #define AMLI_RAMPRI_RADIO_RAM3_Pri12 (0xCUL) /*!< Priority 12. */ 00488 #define AMLI_RAMPRI_RADIO_RAM3_Pri14 (0xEUL) /*!< Priority 14. */ 00489 00490 /* Bits 11..8 : Configuration field for RAM block 2. */ 00491 #define AMLI_RAMPRI_RADIO_RAM2_Pos (8UL) /*!< Position of RAM2 field. */ 00492 #define AMLI_RAMPRI_RADIO_RAM2_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM2_Pos) /*!< Bit mask of RAM2 field. */ 00493 #define AMLI_RAMPRI_RADIO_RAM2_Pri0 (0x0UL) /*!< Priority 0. */ 00494 #define AMLI_RAMPRI_RADIO_RAM2_Pri2 (0x2UL) /*!< Priority 2. */ 00495 #define AMLI_RAMPRI_RADIO_RAM2_Pri4 (0x4UL) /*!< Priority 4. */ 00496 #define AMLI_RAMPRI_RADIO_RAM2_Pri6 (0x6UL) /*!< Priority 6. */ 00497 #define AMLI_RAMPRI_RADIO_RAM2_Pri8 (0x8UL) /*!< Priority 8. */ 00498 #define AMLI_RAMPRI_RADIO_RAM2_Pri10 (0xAUL) /*!< Priority 10. */ 00499 #define AMLI_RAMPRI_RADIO_RAM2_Pri12 (0xCUL) /*!< Priority 12. */ 00500 #define AMLI_RAMPRI_RADIO_RAM2_Pri14 (0xEUL) /*!< Priority 14. */ 00501 00502 /* Bits 7..4 : Configuration field for RAM block 1. */ 00503 #define AMLI_RAMPRI_RADIO_RAM1_Pos (4UL) /*!< Position of RAM1 field. */ 00504 #define AMLI_RAMPRI_RADIO_RAM1_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM1_Pos) /*!< Bit mask of RAM1 field. */ 00505 #define AMLI_RAMPRI_RADIO_RAM1_Pri0 (0x0UL) /*!< Priority 0. */ 00506 #define AMLI_RAMPRI_RADIO_RAM1_Pri2 (0x2UL) /*!< Priority 2. */ 00507 #define AMLI_RAMPRI_RADIO_RAM1_Pri4 (0x4UL) /*!< Priority 4. */ 00508 #define AMLI_RAMPRI_RADIO_RAM1_Pri6 (0x6UL) /*!< Priority 6. */ 00509 #define AMLI_RAMPRI_RADIO_RAM1_Pri8 (0x8UL) /*!< Priority 8. */ 00510 #define AMLI_RAMPRI_RADIO_RAM1_Pri10 (0xAUL) /*!< Priority 10. */ 00511 #define AMLI_RAMPRI_RADIO_RAM1_Pri12 (0xCUL) /*!< Priority 12. */ 00512 #define AMLI_RAMPRI_RADIO_RAM1_Pri14 (0xEUL) /*!< Priority 14. */ 00513 00514 /* Bits 3..0 : Configuration field for RAM block 0. */ 00515 #define AMLI_RAMPRI_RADIO_RAM0_Pos (0UL) /*!< Position of RAM0 field. */ 00516 #define AMLI_RAMPRI_RADIO_RAM0_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM0_Pos) /*!< Bit mask of RAM0 field. */ 00517 #define AMLI_RAMPRI_RADIO_RAM0_Pri0 (0x0UL) /*!< Priority 0. */ 00518 #define AMLI_RAMPRI_RADIO_RAM0_Pri2 (0x2UL) /*!< Priority 2. */ 00519 #define AMLI_RAMPRI_RADIO_RAM0_Pri4 (0x4UL) /*!< Priority 4. */ 00520 #define AMLI_RAMPRI_RADIO_RAM0_Pri6 (0x6UL) /*!< Priority 6. */ 00521 #define AMLI_RAMPRI_RADIO_RAM0_Pri8 (0x8UL) /*!< Priority 8. */ 00522 #define AMLI_RAMPRI_RADIO_RAM0_Pri10 (0xAUL) /*!< Priority 10. */ 00523 #define AMLI_RAMPRI_RADIO_RAM0_Pri12 (0xCUL) /*!< Priority 12. */ 00524 #define AMLI_RAMPRI_RADIO_RAM0_Pri14 (0xEUL) /*!< Priority 14. */ 00525 00526 /* Register: AMLI_RAMPRI_ECB */ 00527 /* Description: Configurable priority configuration register for ECB. */ 00528 00529 /* Bits 31..28 : Configuration field for RAM block 7. */ 00530 #define AMLI_RAMPRI_ECB_RAM7_Pos (28UL) /*!< Position of RAM7 field. */ 00531 #define AMLI_RAMPRI_ECB_RAM7_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM7_Pos) /*!< Bit mask of RAM7 field. */ 00532 #define AMLI_RAMPRI_ECB_RAM7_Pri0 (0x0UL) /*!< Priority 0. */ 00533 #define AMLI_RAMPRI_ECB_RAM7_Pri2 (0x2UL) /*!< Priority 2. */ 00534 #define AMLI_RAMPRI_ECB_RAM7_Pri4 (0x4UL) /*!< Priority 4. */ 00535 #define AMLI_RAMPRI_ECB_RAM7_Pri6 (0x6UL) /*!< Priority 6. */ 00536 #define AMLI_RAMPRI_ECB_RAM7_Pri8 (0x8UL) /*!< Priority 8. */ 00537 #define AMLI_RAMPRI_ECB_RAM7_Pri10 (0xAUL) /*!< Priority 10. */ 00538 #define AMLI_RAMPRI_ECB_RAM7_Pri12 (0xCUL) /*!< Priority 12. */ 00539 #define AMLI_RAMPRI_ECB_RAM7_Pri14 (0xEUL) /*!< Priority 14. */ 00540 00541 /* Bits 27..24 : Configuration field for RAM block 6. */ 00542 #define AMLI_RAMPRI_ECB_RAM6_Pos (24UL) /*!< Position of RAM6 field. */ 00543 #define AMLI_RAMPRI_ECB_RAM6_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM6_Pos) /*!< Bit mask of RAM6 field. */ 00544 #define AMLI_RAMPRI_ECB_RAM6_Pri0 (0x0UL) /*!< Priority 0. */ 00545 #define AMLI_RAMPRI_ECB_RAM6_Pri2 (0x2UL) /*!< Priority 2. */ 00546 #define AMLI_RAMPRI_ECB_RAM6_Pri4 (0x4UL) /*!< Priority 4. */ 00547 #define AMLI_RAMPRI_ECB_RAM6_Pri6 (0x6UL) /*!< Priority 6. */ 00548 #define AMLI_RAMPRI_ECB_RAM6_Pri8 (0x8UL) /*!< Priority 8. */ 00549 #define AMLI_RAMPRI_ECB_RAM6_Pri10 (0xAUL) /*!< Priority 10. */ 00550 #define AMLI_RAMPRI_ECB_RAM6_Pri12 (0xCUL) /*!< Priority 12. */ 00551 #define AMLI_RAMPRI_ECB_RAM6_Pri14 (0xEUL) /*!< Priority 14. */ 00552 00553 /* Bits 23..20 : Configuration field for RAM block 5. */ 00554 #define AMLI_RAMPRI_ECB_RAM5_Pos (20UL) /*!< Position of RAM5 field. */ 00555 #define AMLI_RAMPRI_ECB_RAM5_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM5_Pos) /*!< Bit mask of RAM5 field. */ 00556 #define AMLI_RAMPRI_ECB_RAM5_Pri0 (0x0UL) /*!< Priority 0. */ 00557 #define AMLI_RAMPRI_ECB_RAM5_Pri2 (0x2UL) /*!< Priority 2. */ 00558 #define AMLI_RAMPRI_ECB_RAM5_Pri4 (0x4UL) /*!< Priority 4. */ 00559 #define AMLI_RAMPRI_ECB_RAM5_Pri6 (0x6UL) /*!< Priority 6. */ 00560 #define AMLI_RAMPRI_ECB_RAM5_Pri8 (0x8UL) /*!< Priority 8. */ 00561 #define AMLI_RAMPRI_ECB_RAM5_Pri10 (0xAUL) /*!< Priority 10. */ 00562 #define AMLI_RAMPRI_ECB_RAM5_Pri12 (0xCUL) /*!< Priority 12. */ 00563 #define AMLI_RAMPRI_ECB_RAM5_Pri14 (0xEUL) /*!< Priority 14. */ 00564 00565 /* Bits 19..16 : Configuration field for RAM block 4. */ 00566 #define AMLI_RAMPRI_ECB_RAM4_Pos (16UL) /*!< Position of RAM4 field. */ 00567 #define AMLI_RAMPRI_ECB_RAM4_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM4_Pos) /*!< Bit mask of RAM4 field. */ 00568 #define AMLI_RAMPRI_ECB_RAM4_Pri0 (0x0UL) /*!< Priority 0. */ 00569 #define AMLI_RAMPRI_ECB_RAM4_Pri2 (0x2UL) /*!< Priority 2. */ 00570 #define AMLI_RAMPRI_ECB_RAM4_Pri4 (0x4UL) /*!< Priority 4. */ 00571 #define AMLI_RAMPRI_ECB_RAM4_Pri6 (0x6UL) /*!< Priority 6. */ 00572 #define AMLI_RAMPRI_ECB_RAM4_Pri8 (0x8UL) /*!< Priority 8. */ 00573 #define AMLI_RAMPRI_ECB_RAM4_Pri10 (0xAUL) /*!< Priority 10. */ 00574 #define AMLI_RAMPRI_ECB_RAM4_Pri12 (0xCUL) /*!< Priority 12. */ 00575 #define AMLI_RAMPRI_ECB_RAM4_Pri14 (0xEUL) /*!< Priority 14. */ 00576 00577 /* Bits 15..12 : Configuration field for RAM block 3. */ 00578 #define AMLI_RAMPRI_ECB_RAM3_Pos (12UL) /*!< Position of RAM3 field. */ 00579 #define AMLI_RAMPRI_ECB_RAM3_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM3_Pos) /*!< Bit mask of RAM3 field. */ 00580 #define AMLI_RAMPRI_ECB_RAM3_Pri0 (0x0UL) /*!< Priority 0. */ 00581 #define AMLI_RAMPRI_ECB_RAM3_Pri2 (0x2UL) /*!< Priority 2. */ 00582 #define AMLI_RAMPRI_ECB_RAM3_Pri4 (0x4UL) /*!< Priority 4. */ 00583 #define AMLI_RAMPRI_ECB_RAM3_Pri6 (0x6UL) /*!< Priority 6. */ 00584 #define AMLI_RAMPRI_ECB_RAM3_Pri8 (0x8UL) /*!< Priority 8. */ 00585 #define AMLI_RAMPRI_ECB_RAM3_Pri10 (0xAUL) /*!< Priority 10. */ 00586 #define AMLI_RAMPRI_ECB_RAM3_Pri12 (0xCUL) /*!< Priority 12. */ 00587 #define AMLI_RAMPRI_ECB_RAM3_Pri14 (0xEUL) /*!< Priority 14. */ 00588 00589 /* Bits 11..8 : Configuration field for RAM block 2. */ 00590 #define AMLI_RAMPRI_ECB_RAM2_Pos (8UL) /*!< Position of RAM2 field. */ 00591 #define AMLI_RAMPRI_ECB_RAM2_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM2_Pos) /*!< Bit mask of RAM2 field. */ 00592 #define AMLI_RAMPRI_ECB_RAM2_Pri0 (0x0UL) /*!< Priority 0. */ 00593 #define AMLI_RAMPRI_ECB_RAM2_Pri2 (0x2UL) /*!< Priority 2. */ 00594 #define AMLI_RAMPRI_ECB_RAM2_Pri4 (0x4UL) /*!< Priority 4. */ 00595 #define AMLI_RAMPRI_ECB_RAM2_Pri6 (0x6UL) /*!< Priority 6. */ 00596 #define AMLI_RAMPRI_ECB_RAM2_Pri8 (0x8UL) /*!< Priority 8. */ 00597 #define AMLI_RAMPRI_ECB_RAM2_Pri10 (0xAUL) /*!< Priority 10. */ 00598 #define AMLI_RAMPRI_ECB_RAM2_Pri12 (0xCUL) /*!< Priority 12. */ 00599 #define AMLI_RAMPRI_ECB_RAM2_Pri14 (0xEUL) /*!< Priority 14. */ 00600 00601 /* Bits 7..4 : Configuration field for RAM block 1. */ 00602 #define AMLI_RAMPRI_ECB_RAM1_Pos (4UL) /*!< Position of RAM1 field. */ 00603 #define AMLI_RAMPRI_ECB_RAM1_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM1_Pos) /*!< Bit mask of RAM1 field. */ 00604 #define AMLI_RAMPRI_ECB_RAM1_Pri0 (0x0UL) /*!< Priority 0. */ 00605 #define AMLI_RAMPRI_ECB_RAM1_Pri2 (0x2UL) /*!< Priority 2. */ 00606 #define AMLI_RAMPRI_ECB_RAM1_Pri4 (0x4UL) /*!< Priority 4. */ 00607 #define AMLI_RAMPRI_ECB_RAM1_Pri6 (0x6UL) /*!< Priority 6. */ 00608 #define AMLI_RAMPRI_ECB_RAM1_Pri8 (0x8UL) /*!< Priority 8. */ 00609 #define AMLI_RAMPRI_ECB_RAM1_Pri10 (0xAUL) /*!< Priority 10. */ 00610 #define AMLI_RAMPRI_ECB_RAM1_Pri12 (0xCUL) /*!< Priority 12. */ 00611 #define AMLI_RAMPRI_ECB_RAM1_Pri14 (0xEUL) /*!< Priority 14. */ 00612 00613 /* Bits 3..0 : Configuration field for RAM block 0. */ 00614 #define AMLI_RAMPRI_ECB_RAM0_Pos (0UL) /*!< Position of RAM0 field. */ 00615 #define AMLI_RAMPRI_ECB_RAM0_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM0_Pos) /*!< Bit mask of RAM0 field. */ 00616 #define AMLI_RAMPRI_ECB_RAM0_Pri0 (0x0UL) /*!< Priority 0. */ 00617 #define AMLI_RAMPRI_ECB_RAM0_Pri2 (0x2UL) /*!< Priority 2. */ 00618 #define AMLI_RAMPRI_ECB_RAM0_Pri4 (0x4UL) /*!< Priority 4. */ 00619 #define AMLI_RAMPRI_ECB_RAM0_Pri6 (0x6UL) /*!< Priority 6. */ 00620 #define AMLI_RAMPRI_ECB_RAM0_Pri8 (0x8UL) /*!< Priority 8. */ 00621 #define AMLI_RAMPRI_ECB_RAM0_Pri10 (0xAUL) /*!< Priority 10. */ 00622 #define AMLI_RAMPRI_ECB_RAM0_Pri12 (0xCUL) /*!< Priority 12. */ 00623 #define AMLI_RAMPRI_ECB_RAM0_Pri14 (0xEUL) /*!< Priority 14. */ 00624 00625 /* Register: AMLI_RAMPRI_CCM */ 00626 /* Description: Configurable priority configuration register for CCM. */ 00627 00628 /* Bits 31..28 : Configuration field for RAM block 7. */ 00629 #define AMLI_RAMPRI_CCM_RAM7_Pos (28UL) /*!< Position of RAM7 field. */ 00630 #define AMLI_RAMPRI_CCM_RAM7_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM7_Pos) /*!< Bit mask of RAM7 field. */ 00631 #define AMLI_RAMPRI_CCM_RAM7_Pri0 (0x0UL) /*!< Priority 0. */ 00632 #define AMLI_RAMPRI_CCM_RAM7_Pri2 (0x2UL) /*!< Priority 2. */ 00633 #define AMLI_RAMPRI_CCM_RAM7_Pri4 (0x4UL) /*!< Priority 4. */ 00634 #define AMLI_RAMPRI_CCM_RAM7_Pri6 (0x6UL) /*!< Priority 6. */ 00635 #define AMLI_RAMPRI_CCM_RAM7_Pri8 (0x8UL) /*!< Priority 8. */ 00636 #define AMLI_RAMPRI_CCM_RAM7_Pri10 (0xAUL) /*!< Priority 10. */ 00637 #define AMLI_RAMPRI_CCM_RAM7_Pri12 (0xCUL) /*!< Priority 12. */ 00638 #define AMLI_RAMPRI_CCM_RAM7_Pri14 (0xEUL) /*!< Priority 14. */ 00639 00640 /* Bits 27..24 : Configuration field for RAM block 6. */ 00641 #define AMLI_RAMPRI_CCM_RAM6_Pos (24UL) /*!< Position of RAM6 field. */ 00642 #define AMLI_RAMPRI_CCM_RAM6_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM6_Pos) /*!< Bit mask of RAM6 field. */ 00643 #define AMLI_RAMPRI_CCM_RAM6_Pri0 (0x0UL) /*!< Priority 0. */ 00644 #define AMLI_RAMPRI_CCM_RAM6_Pri2 (0x2UL) /*!< Priority 2. */ 00645 #define AMLI_RAMPRI_CCM_RAM6_Pri4 (0x4UL) /*!< Priority 4. */ 00646 #define AMLI_RAMPRI_CCM_RAM6_Pri6 (0x6UL) /*!< Priority 6. */ 00647 #define AMLI_RAMPRI_CCM_RAM6_Pri8 (0x8UL) /*!< Priority 8. */ 00648 #define AMLI_RAMPRI_CCM_RAM6_Pri10 (0xAUL) /*!< Priority 10. */ 00649 #define AMLI_RAMPRI_CCM_RAM6_Pri12 (0xCUL) /*!< Priority 12. */ 00650 #define AMLI_RAMPRI_CCM_RAM6_Pri14 (0xEUL) /*!< Priority 14. */ 00651 00652 /* Bits 23..20 : Configuration field for RAM block 5. */ 00653 #define AMLI_RAMPRI_CCM_RAM5_Pos (20UL) /*!< Position of RAM5 field. */ 00654 #define AMLI_RAMPRI_CCM_RAM5_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM5_Pos) /*!< Bit mask of RAM5 field. */ 00655 #define AMLI_RAMPRI_CCM_RAM5_Pri0 (0x0UL) /*!< Priority 0. */ 00656 #define AMLI_RAMPRI_CCM_RAM5_Pri2 (0x2UL) /*!< Priority 2. */ 00657 #define AMLI_RAMPRI_CCM_RAM5_Pri4 (0x4UL) /*!< Priority 4. */ 00658 #define AMLI_RAMPRI_CCM_RAM5_Pri6 (0x6UL) /*!< Priority 6. */ 00659 #define AMLI_RAMPRI_CCM_RAM5_Pri8 (0x8UL) /*!< Priority 8. */ 00660 #define AMLI_RAMPRI_CCM_RAM5_Pri10 (0xAUL) /*!< Priority 10. */ 00661 #define AMLI_RAMPRI_CCM_RAM5_Pri12 (0xCUL) /*!< Priority 12. */ 00662 #define AMLI_RAMPRI_CCM_RAM5_Pri14 (0xEUL) /*!< Priority 14. */ 00663 00664 /* Bits 19..16 : Configuration field for RAM block 4. */ 00665 #define AMLI_RAMPRI_CCM_RAM4_Pos (16UL) /*!< Position of RAM4 field. */ 00666 #define AMLI_RAMPRI_CCM_RAM4_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM4_Pos) /*!< Bit mask of RAM4 field. */ 00667 #define AMLI_RAMPRI_CCM_RAM4_Pri0 (0x0UL) /*!< Priority 0. */ 00668 #define AMLI_RAMPRI_CCM_RAM4_Pri2 (0x2UL) /*!< Priority 2. */ 00669 #define AMLI_RAMPRI_CCM_RAM4_Pri4 (0x4UL) /*!< Priority 4. */ 00670 #define AMLI_RAMPRI_CCM_RAM4_Pri6 (0x6UL) /*!< Priority 6. */ 00671 #define AMLI_RAMPRI_CCM_RAM4_Pri8 (0x8UL) /*!< Priority 8. */ 00672 #define AMLI_RAMPRI_CCM_RAM4_Pri10 (0xAUL) /*!< Priority 10. */ 00673 #define AMLI_RAMPRI_CCM_RAM4_Pri12 (0xCUL) /*!< Priority 12. */ 00674 #define AMLI_RAMPRI_CCM_RAM4_Pri14 (0xEUL) /*!< Priority 14. */ 00675 00676 /* Bits 15..12 : Configuration field for RAM block 3. */ 00677 #define AMLI_RAMPRI_CCM_RAM3_Pos (12UL) /*!< Position of RAM3 field. */ 00678 #define AMLI_RAMPRI_CCM_RAM3_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM3_Pos) /*!< Bit mask of RAM3 field. */ 00679 #define AMLI_RAMPRI_CCM_RAM3_Pri0 (0x0UL) /*!< Priority 0. */ 00680 #define AMLI_RAMPRI_CCM_RAM3_Pri2 (0x2UL) /*!< Priority 2. */ 00681 #define AMLI_RAMPRI_CCM_RAM3_Pri4 (0x4UL) /*!< Priority 4. */ 00682 #define AMLI_RAMPRI_CCM_RAM3_Pri6 (0x6UL) /*!< Priority 6. */ 00683 #define AMLI_RAMPRI_CCM_RAM3_Pri8 (0x8UL) /*!< Priority 8. */ 00684 #define AMLI_RAMPRI_CCM_RAM3_Pri10 (0xAUL) /*!< Priority 10. */ 00685 #define AMLI_RAMPRI_CCM_RAM3_Pri12 (0xCUL) /*!< Priority 12. */ 00686 #define AMLI_RAMPRI_CCM_RAM3_Pri14 (0xEUL) /*!< Priority 14. */ 00687 00688 /* Bits 11..8 : Configuration field for RAM block 2. */ 00689 #define AMLI_RAMPRI_CCM_RAM2_Pos (8UL) /*!< Position of RAM2 field. */ 00690 #define AMLI_RAMPRI_CCM_RAM2_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM2_Pos) /*!< Bit mask of RAM2 field. */ 00691 #define AMLI_RAMPRI_CCM_RAM2_Pri0 (0x0UL) /*!< Priority 0. */ 00692 #define AMLI_RAMPRI_CCM_RAM2_Pri2 (0x2UL) /*!< Priority 2. */ 00693 #define AMLI_RAMPRI_CCM_RAM2_Pri4 (0x4UL) /*!< Priority 4. */ 00694 #define AMLI_RAMPRI_CCM_RAM2_Pri6 (0x6UL) /*!< Priority 6. */ 00695 #define AMLI_RAMPRI_CCM_RAM2_Pri8 (0x8UL) /*!< Priority 8. */ 00696 #define AMLI_RAMPRI_CCM_RAM2_Pri10 (0xAUL) /*!< Priority 10. */ 00697 #define AMLI_RAMPRI_CCM_RAM2_Pri12 (0xCUL) /*!< Priority 12. */ 00698 #define AMLI_RAMPRI_CCM_RAM2_Pri14 (0xEUL) /*!< Priority 14. */ 00699 00700 /* Bits 7..4 : Configuration field for RAM block 1. */ 00701 #define AMLI_RAMPRI_CCM_RAM1_Pos (4UL) /*!< Position of RAM1 field. */ 00702 #define AMLI_RAMPRI_CCM_RAM1_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM1_Pos) /*!< Bit mask of RAM1 field. */ 00703 #define AMLI_RAMPRI_CCM_RAM1_Pri0 (0x0UL) /*!< Priority 0. */ 00704 #define AMLI_RAMPRI_CCM_RAM1_Pri2 (0x2UL) /*!< Priority 2. */ 00705 #define AMLI_RAMPRI_CCM_RAM1_Pri4 (0x4UL) /*!< Priority 4. */ 00706 #define AMLI_RAMPRI_CCM_RAM1_Pri6 (0x6UL) /*!< Priority 6. */ 00707 #define AMLI_RAMPRI_CCM_RAM1_Pri8 (0x8UL) /*!< Priority 8. */ 00708 #define AMLI_RAMPRI_CCM_RAM1_Pri10 (0xAUL) /*!< Priority 10. */ 00709 #define AMLI_RAMPRI_CCM_RAM1_Pri12 (0xCUL) /*!< Priority 12. */ 00710 #define AMLI_RAMPRI_CCM_RAM1_Pri14 (0xEUL) /*!< Priority 14. */ 00711 00712 /* Bits 3..0 : Configuration field for RAM block 0. */ 00713 #define AMLI_RAMPRI_CCM_RAM0_Pos (0UL) /*!< Position of RAM0 field. */ 00714 #define AMLI_RAMPRI_CCM_RAM0_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM0_Pos) /*!< Bit mask of RAM0 field. */ 00715 #define AMLI_RAMPRI_CCM_RAM0_Pri0 (0x0UL) /*!< Priority 0. */ 00716 #define AMLI_RAMPRI_CCM_RAM0_Pri2 (0x2UL) /*!< Priority 2. */ 00717 #define AMLI_RAMPRI_CCM_RAM0_Pri4 (0x4UL) /*!< Priority 4. */ 00718 #define AMLI_RAMPRI_CCM_RAM0_Pri6 (0x6UL) /*!< Priority 6. */ 00719 #define AMLI_RAMPRI_CCM_RAM0_Pri8 (0x8UL) /*!< Priority 8. */ 00720 #define AMLI_RAMPRI_CCM_RAM0_Pri10 (0xAUL) /*!< Priority 10. */ 00721 #define AMLI_RAMPRI_CCM_RAM0_Pri12 (0xCUL) /*!< Priority 12. */ 00722 #define AMLI_RAMPRI_CCM_RAM0_Pri14 (0xEUL) /*!< Priority 14. */ 00723 00724 /* Register: AMLI_RAMPRI_AAR */ 00725 /* Description: Configurable priority configuration register for AAR. */ 00726 00727 /* Bits 31..28 : Configuration field for RAM block 7. */ 00728 #define AMLI_RAMPRI_AAR_RAM7_Pos (28UL) /*!< Position of RAM7 field. */ 00729 #define AMLI_RAMPRI_AAR_RAM7_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM7_Pos) /*!< Bit mask of RAM7 field. */ 00730 #define AMLI_RAMPRI_AAR_RAM7_Pri0 (0x0UL) /*!< Priority 0. */ 00731 #define AMLI_RAMPRI_AAR_RAM7_Pri2 (0x2UL) /*!< Priority 2. */ 00732 #define AMLI_RAMPRI_AAR_RAM7_Pri4 (0x4UL) /*!< Priority 4. */ 00733 #define AMLI_RAMPRI_AAR_RAM7_Pri6 (0x6UL) /*!< Priority 6. */ 00734 #define AMLI_RAMPRI_AAR_RAM7_Pri8 (0x8UL) /*!< Priority 8. */ 00735 #define AMLI_RAMPRI_AAR_RAM7_Pri10 (0xAUL) /*!< Priority 10. */ 00736 #define AMLI_RAMPRI_AAR_RAM7_Pri12 (0xCUL) /*!< Priority 12. */ 00737 #define AMLI_RAMPRI_AAR_RAM7_Pri14 (0xEUL) /*!< Priority 14. */ 00738 00739 /* Bits 27..24 : Configuration field for RAM block 6. */ 00740 #define AMLI_RAMPRI_AAR_RAM6_Pos (24UL) /*!< Position of RAM6 field. */ 00741 #define AMLI_RAMPRI_AAR_RAM6_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM6_Pos) /*!< Bit mask of RAM6 field. */ 00742 #define AMLI_RAMPRI_AAR_RAM6_Pri0 (0x0UL) /*!< Priority 0. */ 00743 #define AMLI_RAMPRI_AAR_RAM6_Pri2 (0x2UL) /*!< Priority 2. */ 00744 #define AMLI_RAMPRI_AAR_RAM6_Pri4 (0x4UL) /*!< Priority 4. */ 00745 #define AMLI_RAMPRI_AAR_RAM6_Pri6 (0x6UL) /*!< Priority 6. */ 00746 #define AMLI_RAMPRI_AAR_RAM6_Pri8 (0x8UL) /*!< Priority 8. */ 00747 #define AMLI_RAMPRI_AAR_RAM6_Pri10 (0xAUL) /*!< Priority 10. */ 00748 #define AMLI_RAMPRI_AAR_RAM6_Pri12 (0xCUL) /*!< Priority 12. */ 00749 #define AMLI_RAMPRI_AAR_RAM6_Pri14 (0xEUL) /*!< Priority 14. */ 00750 00751 /* Bits 23..20 : Configuration field for RAM block 5. */ 00752 #define AMLI_RAMPRI_AAR_RAM5_Pos (20UL) /*!< Position of RAM5 field. */ 00753 #define AMLI_RAMPRI_AAR_RAM5_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM5_Pos) /*!< Bit mask of RAM5 field. */ 00754 #define AMLI_RAMPRI_AAR_RAM5_Pri0 (0x0UL) /*!< Priority 0. */ 00755 #define AMLI_RAMPRI_AAR_RAM5_Pri2 (0x2UL) /*!< Priority 2. */ 00756 #define AMLI_RAMPRI_AAR_RAM5_Pri4 (0x4UL) /*!< Priority 4. */ 00757 #define AMLI_RAMPRI_AAR_RAM5_Pri6 (0x6UL) /*!< Priority 6. */ 00758 #define AMLI_RAMPRI_AAR_RAM5_Pri8 (0x8UL) /*!< Priority 8. */ 00759 #define AMLI_RAMPRI_AAR_RAM5_Pri10 (0xAUL) /*!< Priority 10. */ 00760 #define AMLI_RAMPRI_AAR_RAM5_Pri12 (0xCUL) /*!< Priority 12. */ 00761 #define AMLI_RAMPRI_AAR_RAM5_Pri14 (0xEUL) /*!< Priority 14. */ 00762 00763 /* Bits 19..16 : Configuration field for RAM block 4. */ 00764 #define AMLI_RAMPRI_AAR_RAM4_Pos (16UL) /*!< Position of RAM4 field. */ 00765 #define AMLI_RAMPRI_AAR_RAM4_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM4_Pos) /*!< Bit mask of RAM4 field. */ 00766 #define AMLI_RAMPRI_AAR_RAM4_Pri0 (0x0UL) /*!< Priority 0. */ 00767 #define AMLI_RAMPRI_AAR_RAM4_Pri2 (0x2UL) /*!< Priority 2. */ 00768 #define AMLI_RAMPRI_AAR_RAM4_Pri4 (0x4UL) /*!< Priority 4. */ 00769 #define AMLI_RAMPRI_AAR_RAM4_Pri6 (0x6UL) /*!< Priority 6. */ 00770 #define AMLI_RAMPRI_AAR_RAM4_Pri8 (0x8UL) /*!< Priority 8. */ 00771 #define AMLI_RAMPRI_AAR_RAM4_Pri10 (0xAUL) /*!< Priority 10. */ 00772 #define AMLI_RAMPRI_AAR_RAM4_Pri12 (0xCUL) /*!< Priority 12. */ 00773 #define AMLI_RAMPRI_AAR_RAM4_Pri14 (0xEUL) /*!< Priority 14. */ 00774 00775 /* Bits 15..12 : Configuration field for RAM block 3. */ 00776 #define AMLI_RAMPRI_AAR_RAM3_Pos (12UL) /*!< Position of RAM3 field. */ 00777 #define AMLI_RAMPRI_AAR_RAM3_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM3_Pos) /*!< Bit mask of RAM3 field. */ 00778 #define AMLI_RAMPRI_AAR_RAM3_Pri0 (0x0UL) /*!< Priority 0. */ 00779 #define AMLI_RAMPRI_AAR_RAM3_Pri2 (0x2UL) /*!< Priority 2. */ 00780 #define AMLI_RAMPRI_AAR_RAM3_Pri4 (0x4UL) /*!< Priority 4. */ 00781 #define AMLI_RAMPRI_AAR_RAM3_Pri6 (0x6UL) /*!< Priority 6. */ 00782 #define AMLI_RAMPRI_AAR_RAM3_Pri8 (0x8UL) /*!< Priority 8. */ 00783 #define AMLI_RAMPRI_AAR_RAM3_Pri10 (0xAUL) /*!< Priority 10. */ 00784 #define AMLI_RAMPRI_AAR_RAM3_Pri12 (0xCUL) /*!< Priority 12. */ 00785 #define AMLI_RAMPRI_AAR_RAM3_Pri14 (0xEUL) /*!< Priority 14. */ 00786 00787 /* Bits 11..8 : Configuration field for RAM block 2. */ 00788 #define AMLI_RAMPRI_AAR_RAM2_Pos (8UL) /*!< Position of RAM2 field. */ 00789 #define AMLI_RAMPRI_AAR_RAM2_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM2_Pos) /*!< Bit mask of RAM2 field. */ 00790 #define AMLI_RAMPRI_AAR_RAM2_Pri0 (0x0UL) /*!< Priority 0. */ 00791 #define AMLI_RAMPRI_AAR_RAM2_Pri2 (0x2UL) /*!< Priority 2. */ 00792 #define AMLI_RAMPRI_AAR_RAM2_Pri4 (0x4UL) /*!< Priority 4. */ 00793 #define AMLI_RAMPRI_AAR_RAM2_Pri6 (0x6UL) /*!< Priority 6. */ 00794 #define AMLI_RAMPRI_AAR_RAM2_Pri8 (0x8UL) /*!< Priority 8. */ 00795 #define AMLI_RAMPRI_AAR_RAM2_Pri10 (0xAUL) /*!< Priority 10. */ 00796 #define AMLI_RAMPRI_AAR_RAM2_Pri12 (0xCUL) /*!< Priority 12. */ 00797 #define AMLI_RAMPRI_AAR_RAM2_Pri14 (0xEUL) /*!< Priority 14. */ 00798 00799 /* Bits 7..4 : Configuration field for RAM block 1. */ 00800 #define AMLI_RAMPRI_AAR_RAM1_Pos (4UL) /*!< Position of RAM1 field. */ 00801 #define AMLI_RAMPRI_AAR_RAM1_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM1_Pos) /*!< Bit mask of RAM1 field. */ 00802 #define AMLI_RAMPRI_AAR_RAM1_Pri0 (0x0UL) /*!< Priority 0. */ 00803 #define AMLI_RAMPRI_AAR_RAM1_Pri2 (0x2UL) /*!< Priority 2. */ 00804 #define AMLI_RAMPRI_AAR_RAM1_Pri4 (0x4UL) /*!< Priority 4. */ 00805 #define AMLI_RAMPRI_AAR_RAM1_Pri6 (0x6UL) /*!< Priority 6. */ 00806 #define AMLI_RAMPRI_AAR_RAM1_Pri8 (0x8UL) /*!< Priority 8. */ 00807 #define AMLI_RAMPRI_AAR_RAM1_Pri10 (0xAUL) /*!< Priority 10. */ 00808 #define AMLI_RAMPRI_AAR_RAM1_Pri12 (0xCUL) /*!< Priority 12. */ 00809 #define AMLI_RAMPRI_AAR_RAM1_Pri14 (0xEUL) /*!< Priority 14. */ 00810 00811 /* Bits 3..0 : Configuration field for RAM block 0. */ 00812 #define AMLI_RAMPRI_AAR_RAM0_Pos (0UL) /*!< Position of RAM0 field. */ 00813 #define AMLI_RAMPRI_AAR_RAM0_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM0_Pos) /*!< Bit mask of RAM0 field. */ 00814 #define AMLI_RAMPRI_AAR_RAM0_Pri0 (0x0UL) /*!< Priority 0. */ 00815 #define AMLI_RAMPRI_AAR_RAM0_Pri2 (0x2UL) /*!< Priority 2. */ 00816 #define AMLI_RAMPRI_AAR_RAM0_Pri4 (0x4UL) /*!< Priority 4. */ 00817 #define AMLI_RAMPRI_AAR_RAM0_Pri6 (0x6UL) /*!< Priority 6. */ 00818 #define AMLI_RAMPRI_AAR_RAM0_Pri8 (0x8UL) /*!< Priority 8. */ 00819 #define AMLI_RAMPRI_AAR_RAM0_Pri10 (0xAUL) /*!< Priority 10. */ 00820 #define AMLI_RAMPRI_AAR_RAM0_Pri12 (0xCUL) /*!< Priority 12. */ 00821 #define AMLI_RAMPRI_AAR_RAM0_Pri14 (0xEUL) /*!< Priority 14. */ 00822 00823 00824 /* Peripheral: CCM */ 00825 /* Description: AES CCM Mode Encryption. */ 00826 00827 /* Register: CCM_SHORTS */ 00828 /* Description: Shortcuts for the CCM. */ 00829 00830 /* Bit 0 : Shortcut between ENDKSGEN event and CRYPT task. */ 00831 #define CCM_SHORTS_ENDKSGEN_CRYPT_Pos (0UL) /*!< Position of ENDKSGEN_CRYPT field. */ 00832 #define CCM_SHORTS_ENDKSGEN_CRYPT_Msk (0x1UL << CCM_SHORTS_ENDKSGEN_CRYPT_Pos) /*!< Bit mask of ENDKSGEN_CRYPT field. */ 00833 #define CCM_SHORTS_ENDKSGEN_CRYPT_Disabled (0UL) /*!< Shortcut disabled. */ 00834 #define CCM_SHORTS_ENDKSGEN_CRYPT_Enabled (1UL) /*!< Shortcut enabled. */ 00835 00836 /* Register: CCM_INTENSET */ 00837 /* Description: Interrupt enable set register. */ 00838 00839 /* Bit 2 : Enable interrupt on ERROR event. */ 00840 #define CCM_INTENSET_ERROR_Pos (2UL) /*!< Position of ERROR field. */ 00841 #define CCM_INTENSET_ERROR_Msk (0x1UL << CCM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 00842 #define CCM_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 00843 #define CCM_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 00844 #define CCM_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */ 00845 00846 /* Bit 1 : Enable interrupt on ENDCRYPT event. */ 00847 #define CCM_INTENSET_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */ 00848 #define CCM_INTENSET_ENDCRYPT_Msk (0x1UL << CCM_INTENSET_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */ 00849 #define CCM_INTENSET_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */ 00850 #define CCM_INTENSET_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */ 00851 #define CCM_INTENSET_ENDCRYPT_Set (1UL) /*!< Enable interrupt on write. */ 00852 00853 /* Bit 0 : Enable interrupt on ENDKSGEN event. */ 00854 #define CCM_INTENSET_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */ 00855 #define CCM_INTENSET_ENDKSGEN_Msk (0x1UL << CCM_INTENSET_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */ 00856 #define CCM_INTENSET_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */ 00857 #define CCM_INTENSET_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */ 00858 #define CCM_INTENSET_ENDKSGEN_Set (1UL) /*!< Enable interrupt on write. */ 00859 00860 /* Register: CCM_INTENCLR */ 00861 /* Description: Interrupt enable clear register. */ 00862 00863 /* Bit 2 : Disable interrupt on ERROR event. */ 00864 #define CCM_INTENCLR_ERROR_Pos (2UL) /*!< Position of ERROR field. */ 00865 #define CCM_INTENCLR_ERROR_Msk (0x1UL << CCM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 00866 #define CCM_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 00867 #define CCM_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 00868 #define CCM_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */ 00869 00870 /* Bit 1 : Disable interrupt on ENDCRYPT event. */ 00871 #define CCM_INTENCLR_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */ 00872 #define CCM_INTENCLR_ENDCRYPT_Msk (0x1UL << CCM_INTENCLR_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */ 00873 #define CCM_INTENCLR_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */ 00874 #define CCM_INTENCLR_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */ 00875 #define CCM_INTENCLR_ENDCRYPT_Clear (1UL) /*!< Disable interrupt on write. */ 00876 00877 /* Bit 0 : Disable interrupt on ENDKSGEN event. */ 00878 #define CCM_INTENCLR_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */ 00879 #define CCM_INTENCLR_ENDKSGEN_Msk (0x1UL << CCM_INTENCLR_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */ 00880 #define CCM_INTENCLR_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */ 00881 #define CCM_INTENCLR_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */ 00882 #define CCM_INTENCLR_ENDKSGEN_Clear (1UL) /*!< Disable interrupt on write. */ 00883 00884 /* Register: CCM_MICSTATUS */ 00885 /* Description: CCM RX MIC check result. */ 00886 00887 /* Bit 0 : Result of the MIC check performed during the previous CCM RX STARTCRYPT */ 00888 #define CCM_MICSTATUS_MICSTATUS_Pos (0UL) /*!< Position of MICSTATUS field. */ 00889 #define CCM_MICSTATUS_MICSTATUS_Msk (0x1UL << CCM_MICSTATUS_MICSTATUS_Pos) /*!< Bit mask of MICSTATUS field. */ 00890 #define CCM_MICSTATUS_MICSTATUS_CheckFailed (0UL) /*!< MIC check failed. */ 00891 #define CCM_MICSTATUS_MICSTATUS_CheckPassed (1UL) /*!< MIC check passed. */ 00892 00893 /* Register: CCM_ENABLE */ 00894 /* Description: CCM enable. */ 00895 00896 /* Bits 1..0 : CCM enable. */ 00897 #define CCM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 00898 #define CCM_ENABLE_ENABLE_Msk (0x3UL << CCM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 00899 #define CCM_ENABLE_ENABLE_Disabled (0x00UL) /*!< CCM is disabled. */ 00900 #define CCM_ENABLE_ENABLE_Enabled (0x02UL) /*!< CCM is enabled. */ 00901 00902 /* Register: CCM_MODE */ 00903 /* Description: Operation mode. */ 00904 00905 /* Bit 0 : CCM mode operation. */ 00906 #define CCM_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 00907 #define CCM_MODE_MODE_Msk (0x1UL << CCM_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 00908 #define CCM_MODE_MODE_Encryption (0UL) /*!< CCM mode TX */ 00909 #define CCM_MODE_MODE_Decryption (1UL) /*!< CCM mode TX */ 00910 00911 /* Register: CCM_POWER */ 00912 /* Description: Peripheral power control. */ 00913 00914 /* Bit 0 : Peripheral power control. */ 00915 #define CCM_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 00916 #define CCM_POWER_POWER_Msk (0x1UL << CCM_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 00917 #define CCM_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 00918 #define CCM_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 00919 00920 00921 /* Peripheral: CLOCK */ 00922 /* Description: Clock control. */ 00923 00924 /* Register: CLOCK_INTENSET */ 00925 /* Description: Interrupt enable set register. */ 00926 00927 /* Bit 4 : Enable interrupt on CTTO event. */ 00928 #define CLOCK_INTENSET_CTTO_Pos (4UL) /*!< Position of CTTO field. */ 00929 #define CLOCK_INTENSET_CTTO_Msk (0x1UL << CLOCK_INTENSET_CTTO_Pos) /*!< Bit mask of CTTO field. */ 00930 #define CLOCK_INTENSET_CTTO_Disabled (0UL) /*!< Interrupt disabled. */ 00931 #define CLOCK_INTENSET_CTTO_Enabled (1UL) /*!< Interrupt enabled. */ 00932 #define CLOCK_INTENSET_CTTO_Set (1UL) /*!< Enable interrupt on write. */ 00933 00934 /* Bit 3 : Enable interrupt on DONE event. */ 00935 #define CLOCK_INTENSET_DONE_Pos (3UL) /*!< Position of DONE field. */ 00936 #define CLOCK_INTENSET_DONE_Msk (0x1UL << CLOCK_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */ 00937 #define CLOCK_INTENSET_DONE_Disabled (0UL) /*!< Interrupt disabled. */ 00938 #define CLOCK_INTENSET_DONE_Enabled (1UL) /*!< Interrupt enabled. */ 00939 #define CLOCK_INTENSET_DONE_Set (1UL) /*!< Enable interrupt on write. */ 00940 00941 /* Bit 1 : Enable interrupt on LFCLKSTARTED event. */ 00942 #define CLOCK_INTENSET_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 00943 #define CLOCK_INTENSET_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 00944 #define CLOCK_INTENSET_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 00945 #define CLOCK_INTENSET_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 00946 #define CLOCK_INTENSET_LFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */ 00947 00948 /* Bit 0 : Enable interrupt on HFCLKSTARTED event. */ 00949 #define CLOCK_INTENSET_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 00950 #define CLOCK_INTENSET_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 00951 #define CLOCK_INTENSET_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 00952 #define CLOCK_INTENSET_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 00953 #define CLOCK_INTENSET_HFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */ 00954 00955 /* Register: CLOCK_INTENCLR */ 00956 /* Description: Interrupt enable clear register. */ 00957 00958 /* Bit 4 : Disable interrupt on CTTO event. */ 00959 #define CLOCK_INTENCLR_CTTO_Pos (4UL) /*!< Position of CTTO field. */ 00960 #define CLOCK_INTENCLR_CTTO_Msk (0x1UL << CLOCK_INTENCLR_CTTO_Pos) /*!< Bit mask of CTTO field. */ 00961 #define CLOCK_INTENCLR_CTTO_Disabled (0UL) /*!< Interrupt disabled. */ 00962 #define CLOCK_INTENCLR_CTTO_Enabled (1UL) /*!< Interrupt enabled. */ 00963 #define CLOCK_INTENCLR_CTTO_Clear (1UL) /*!< Disable interrupt on write. */ 00964 00965 /* Bit 3 : Disable interrupt on DONE event. */ 00966 #define CLOCK_INTENCLR_DONE_Pos (3UL) /*!< Position of DONE field. */ 00967 #define CLOCK_INTENCLR_DONE_Msk (0x1UL << CLOCK_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */ 00968 #define CLOCK_INTENCLR_DONE_Disabled (0UL) /*!< Interrupt disabled. */ 00969 #define CLOCK_INTENCLR_DONE_Enabled (1UL) /*!< Interrupt enabled. */ 00970 #define CLOCK_INTENCLR_DONE_Clear (1UL) /*!< Disable interrupt on write. */ 00971 00972 /* Bit 1 : Disable interrupt on LFCLKSTARTED event. */ 00973 #define CLOCK_INTENCLR_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */ 00974 #define CLOCK_INTENCLR_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */ 00975 #define CLOCK_INTENCLR_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 00976 #define CLOCK_INTENCLR_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 00977 #define CLOCK_INTENCLR_LFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */ 00978 00979 /* Bit 0 : Disable interrupt on HFCLKSTARTED event. */ 00980 #define CLOCK_INTENCLR_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */ 00981 #define CLOCK_INTENCLR_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */ 00982 #define CLOCK_INTENCLR_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */ 00983 #define CLOCK_INTENCLR_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */ 00984 #define CLOCK_INTENCLR_HFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */ 00985 00986 /* Register: CLOCK_HFCLKRUN */ 00987 /* Description: Task HFCLKSTART trigger status. */ 00988 00989 /* Bit 0 : Task HFCLKSTART trigger status. */ 00990 #define CLOCK_HFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 00991 #define CLOCK_HFCLKRUN_STATUS_Msk (0x1UL << CLOCK_HFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 00992 #define CLOCK_HFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task HFCLKSTART has not been triggered. */ 00993 #define CLOCK_HFCLKRUN_STATUS_Triggered (1UL) /*!< Task HFCLKSTART has been triggered. */ 00994 00995 /* Register: CLOCK_HFCLKSTAT */ 00996 /* Description: High frequency clock status. */ 00997 00998 /* Bit 16 : State for the HFCLK. */ 00999 #define CLOCK_HFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 01000 #define CLOCK_HFCLKSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 01001 #define CLOCK_HFCLKSTAT_STATE_NotRunning (0UL) /*!< HFCLK clock not running. */ 01002 #define CLOCK_HFCLKSTAT_STATE_Running (1UL) /*!< HFCLK clock running. */ 01003 01004 /* Bit 0 : Active clock source for the HF clock. */ 01005 #define CLOCK_HFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */ 01006 #define CLOCK_HFCLKSTAT_SRC_Msk (0x1UL << CLOCK_HFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */ 01007 #define CLOCK_HFCLKSTAT_SRC_RC (0UL) /*!< Internal 16MHz RC oscillator running and generating the HFCLK clock. */ 01008 #define CLOCK_HFCLKSTAT_SRC_Xtal (1UL) /*!< External 16MHz/32MHz crystal oscillator running and generating the HFCLK clock. */ 01009 01010 /* Register: CLOCK_LFCLKRUN */ 01011 /* Description: Task LFCLKSTART triggered status. */ 01012 01013 /* Bit 0 : Task LFCLKSTART triggered status. */ 01014 #define CLOCK_LFCLKRUN_STATUS_Pos (0UL) /*!< Position of STATUS field. */ 01015 #define CLOCK_LFCLKRUN_STATUS_Msk (0x1UL << CLOCK_LFCLKRUN_STATUS_Pos) /*!< Bit mask of STATUS field. */ 01016 #define CLOCK_LFCLKRUN_STATUS_NotTriggered (0UL) /*!< Task LFCLKSTART has not been triggered. */ 01017 #define CLOCK_LFCLKRUN_STATUS_Triggered (1UL) /*!< Task LFCLKSTART has been triggered. */ 01018 01019 /* Register: CLOCK_LFCLKSTAT */ 01020 /* Description: Low frequency clock status. */ 01021 01022 /* Bit 16 : State for the LF clock. */ 01023 #define CLOCK_LFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */ 01024 #define CLOCK_LFCLKSTAT_STATE_Msk (0x1UL << CLOCK_LFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */ 01025 #define CLOCK_LFCLKSTAT_STATE_NotRunning (0UL) /*!< LFCLK clock not running. */ 01026 #define CLOCK_LFCLKSTAT_STATE_Running (1UL) /*!< LFCLK clock running. */ 01027 01028 /* Bits 1..0 : Active clock source for the LF clock. */ 01029 #define CLOCK_LFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */ 01030 #define CLOCK_LFCLKSTAT_SRC_Msk (0x3UL << CLOCK_LFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */ 01031 #define CLOCK_LFCLKSTAT_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator running and generating the LFCLK clock. */ 01032 #define CLOCK_LFCLKSTAT_SRC_Xtal (1UL) /*!< External 32KiHz crystal oscillator running and generating the LFCLK clock. */ 01033 #define CLOCK_LFCLKSTAT_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from the HFCLK running and generating the LFCLK clock. */ 01034 01035 /* Register: CLOCK_LFCLKSRCCOPY */ 01036 /* Description: Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */ 01037 01038 /* Bits 1..0 : Clock source for the LFCLK clock, set when task LKCLKSTART is triggered. */ 01039 #define CLOCK_LFCLKSRCCOPY_SRC_Pos (0UL) /*!< Position of SRC field. */ 01040 #define CLOCK_LFCLKSRCCOPY_SRC_Msk (0x3UL << CLOCK_LFCLKSRCCOPY_SRC_Pos) /*!< Bit mask of SRC field. */ 01041 #define CLOCK_LFCLKSRCCOPY_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */ 01042 #define CLOCK_LFCLKSRCCOPY_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */ 01043 #define CLOCK_LFCLKSRCCOPY_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */ 01044 01045 /* Register: CLOCK_LFCLKSRC */ 01046 /* Description: Clock source for the LFCLK clock. */ 01047 01048 /* Bits 1..0 : Clock source. */ 01049 #define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */ 01050 #define CLOCK_LFCLKSRC_SRC_Msk (0x3UL << CLOCK_LFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */ 01051 #define CLOCK_LFCLKSRC_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */ 01052 #define CLOCK_LFCLKSRC_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */ 01053 #define CLOCK_LFCLKSRC_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */ 01054 01055 /* Register: CLOCK_CTIV */ 01056 /* Description: Calibration timer interval. */ 01057 01058 /* Bits 6..0 : Calibration timer interval in 0.25s resolution. */ 01059 #define CLOCK_CTIV_CTIV_Pos (0UL) /*!< Position of CTIV field. */ 01060 #define CLOCK_CTIV_CTIV_Msk (0x7FUL << CLOCK_CTIV_CTIV_Pos) /*!< Bit mask of CTIV field. */ 01061 01062 /* Register: CLOCK_XTALFREQ */ 01063 /* Description: Crystal frequency. */ 01064 01065 /* Bits 7..0 : External Xtal frequency selection. */ 01066 #define CLOCK_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */ 01067 #define CLOCK_XTALFREQ_XTALFREQ_Msk (0xFFUL << CLOCK_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */ 01068 #define CLOCK_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz xtal is used as source for the HFCLK oscillator. */ 01069 #define CLOCK_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz xtal is used as source for the HFCLK oscillator. */ 01070 01071 01072 /* Peripheral: ECB */ 01073 /* Description: AES ECB Mode Encryption. */ 01074 01075 /* Register: ECB_INTENSET */ 01076 /* Description: Interrupt enable set register. */ 01077 01078 /* Bit 1 : Enable interrupt on ERRORECB event. */ 01079 #define ECB_INTENSET_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */ 01080 #define ECB_INTENSET_ERRORECB_Msk (0x1UL << ECB_INTENSET_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */ 01081 #define ECB_INTENSET_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */ 01082 #define ECB_INTENSET_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */ 01083 #define ECB_INTENSET_ERRORECB_Set (1UL) /*!< Enable interrupt on write. */ 01084 01085 /* Bit 0 : Enable interrupt on ENDECB event. */ 01086 #define ECB_INTENSET_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */ 01087 #define ECB_INTENSET_ENDECB_Msk (0x1UL << ECB_INTENSET_ENDECB_Pos) /*!< Bit mask of ENDECB field. */ 01088 #define ECB_INTENSET_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */ 01089 #define ECB_INTENSET_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */ 01090 #define ECB_INTENSET_ENDECB_Set (1UL) /*!< Enable interrupt on write. */ 01091 01092 /* Register: ECB_INTENCLR */ 01093 /* Description: Interrupt enable clear register. */ 01094 01095 /* Bit 1 : Disable interrupt on ERRORECB event. */ 01096 #define ECB_INTENCLR_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */ 01097 #define ECB_INTENCLR_ERRORECB_Msk (0x1UL << ECB_INTENCLR_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */ 01098 #define ECB_INTENCLR_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */ 01099 #define ECB_INTENCLR_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */ 01100 #define ECB_INTENCLR_ERRORECB_Clear (1UL) /*!< Disable interrupt on write. */ 01101 01102 /* Bit 0 : Disable interrupt on ENDECB event. */ 01103 #define ECB_INTENCLR_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */ 01104 #define ECB_INTENCLR_ENDECB_Msk (0x1UL << ECB_INTENCLR_ENDECB_Pos) /*!< Bit mask of ENDECB field. */ 01105 #define ECB_INTENCLR_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */ 01106 #define ECB_INTENCLR_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */ 01107 #define ECB_INTENCLR_ENDECB_Clear (1UL) /*!< Disable interrupt on write. */ 01108 01109 /* Register: ECB_POWER */ 01110 /* Description: Peripheral power control. */ 01111 01112 /* Bit 0 : Peripheral power control. */ 01113 #define ECB_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 01114 #define ECB_POWER_POWER_Msk (0x1UL << ECB_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 01115 #define ECB_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 01116 #define ECB_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 01117 01118 01119 /* Peripheral: FICR */ 01120 /* Description: Factory Information Configuration. */ 01121 01122 /* Register: FICR_PPFC */ 01123 /* Description: Pre-programmed factory code present. */ 01124 01125 /* Bits 7..0 : Pre-programmed factory code present. */ 01126 #define FICR_PPFC_PPFC_Pos (0UL) /*!< Position of PPFC field. */ 01127 #define FICR_PPFC_PPFC_Msk (0xFFUL << FICR_PPFC_PPFC_Pos) /*!< Bit mask of PPFC field. */ 01128 #define FICR_PPFC_PPFC_Present (0x00UL) /*!< Present. */ 01129 #define FICR_PPFC_PPFC_NotPresent (0xFFUL) /*!< Not present. */ 01130 01131 /* Register: FICR_CONFIGID */ 01132 /* Description: Configuration identifier. */ 01133 01134 /* Bits 31..16 : Firmware Identification Number pre-loaded into the flash. */ 01135 #define FICR_CONFIGID_FWID_Pos (16UL) /*!< Position of FWID field. */ 01136 #define FICR_CONFIGID_FWID_Msk (0xFFFFUL << FICR_CONFIGID_FWID_Pos) /*!< Bit mask of FWID field. */ 01137 01138 /* Bits 15..0 : Hardware Identification Number. */ 01139 #define FICR_CONFIGID_HWID_Pos (0UL) /*!< Position of HWID field. */ 01140 #define FICR_CONFIGID_HWID_Msk (0xFFFFUL << FICR_CONFIGID_HWID_Pos) /*!< Bit mask of HWID field. */ 01141 01142 /* Register: FICR_DEVICEADDRTYPE */ 01143 /* Description: Device address type. */ 01144 01145 /* Bit 0 : Device address type. */ 01146 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos (0UL) /*!< Position of DEVICEADDRTYPE field. */ 01147 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Msk (0x1UL << FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos) /*!< Bit mask of DEVICEADDRTYPE field. */ 01148 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Public (0UL) /*!< Public address. */ 01149 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Random (1UL) /*!< Random address. */ 01150 01151 /* Register: FICR_OVERRIDEEN */ 01152 /* Description: Radio calibration override enable. */ 01153 01154 /* Bit 3 : Override default values for BLE_1Mbit mode. */ 01155 #define FICR_OVERRIDEEN_BLE_1MBIT_Pos (3UL) /*!< Position of BLE_1MBIT field. */ 01156 #define FICR_OVERRIDEEN_BLE_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_BLE_1MBIT_Pos) /*!< Bit mask of BLE_1MBIT field. */ 01157 #define FICR_OVERRIDEEN_BLE_1MBIT_Override (0UL) /*!< Override the default values for BLE_1Mbit mode. */ 01158 #define FICR_OVERRIDEEN_BLE_1MBIT_NotOverride (1UL) /*!< Do not override the default values for BLE_1Mbit mode. */ 01159 01160 /* Bit 0 : Override default values for NRF_1Mbit mode. */ 01161 #define FICR_OVERRIDEEN_NRF_1MBIT_Pos (0UL) /*!< Position of NRF_1MBIT field. */ 01162 #define FICR_OVERRIDEEN_NRF_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_NRF_1MBIT_Pos) /*!< Bit mask of NRF_1MBIT field. */ 01163 #define FICR_OVERRIDEEN_NRF_1MBIT_Override (0UL) /*!< Override the default values for NRF_1Mbit mode. */ 01164 #define FICR_OVERRIDEEN_NRF_1MBIT_NotOverride (1UL) /*!< Do not override the default values for NRF_1Mbit mode. */ 01165 01166 01167 /* Peripheral: GPIO */ 01168 /* Description: General purpose input and output. */ 01169 01170 /* Register: GPIO_OUT */ 01171 /* Description: Write GPIO port. */ 01172 01173 /* Bit 31 : Pin 31. */ 01174 #define GPIO_OUT_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 01175 #define GPIO_OUT_PIN31_Msk (0x1UL << GPIO_OUT_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 01176 #define GPIO_OUT_PIN31_Low (0UL) /*!< Pin driver is low. */ 01177 #define GPIO_OUT_PIN31_High (1UL) /*!< Pin driver is high. */ 01178 01179 /* Bit 30 : Pin 30. */ 01180 #define GPIO_OUT_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 01181 #define GPIO_OUT_PIN30_Msk (0x1UL << GPIO_OUT_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 01182 #define GPIO_OUT_PIN30_Low (0UL) /*!< Pin driver is low. */ 01183 #define GPIO_OUT_PIN30_High (1UL) /*!< Pin driver is high. */ 01184 01185 /* Bit 29 : Pin 29. */ 01186 #define GPIO_OUT_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 01187 #define GPIO_OUT_PIN29_Msk (0x1UL << GPIO_OUT_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 01188 #define GPIO_OUT_PIN29_Low (0UL) /*!< Pin driver is low. */ 01189 #define GPIO_OUT_PIN29_High (1UL) /*!< Pin driver is high. */ 01190 01191 /* Bit 28 : Pin 28. */ 01192 #define GPIO_OUT_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 01193 #define GPIO_OUT_PIN28_Msk (0x1UL << GPIO_OUT_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 01194 #define GPIO_OUT_PIN28_Low (0UL) /*!< Pin driver is low. */ 01195 #define GPIO_OUT_PIN28_High (1UL) /*!< Pin driver is high. */ 01196 01197 /* Bit 27 : Pin 27. */ 01198 #define GPIO_OUT_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 01199 #define GPIO_OUT_PIN27_Msk (0x1UL << GPIO_OUT_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 01200 #define GPIO_OUT_PIN27_Low (0UL) /*!< Pin driver is low. */ 01201 #define GPIO_OUT_PIN27_High (1UL) /*!< Pin driver is high. */ 01202 01203 /* Bit 26 : Pin 26. */ 01204 #define GPIO_OUT_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 01205 #define GPIO_OUT_PIN26_Msk (0x1UL << GPIO_OUT_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 01206 #define GPIO_OUT_PIN26_Low (0UL) /*!< Pin driver is low. */ 01207 #define GPIO_OUT_PIN26_High (1UL) /*!< Pin driver is high. */ 01208 01209 /* Bit 25 : Pin 25. */ 01210 #define GPIO_OUT_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 01211 #define GPIO_OUT_PIN25_Msk (0x1UL << GPIO_OUT_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 01212 #define GPIO_OUT_PIN25_Low (0UL) /*!< Pin driver is low. */ 01213 #define GPIO_OUT_PIN25_High (1UL) /*!< Pin driver is high. */ 01214 01215 /* Bit 24 : Pin 24. */ 01216 #define GPIO_OUT_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 01217 #define GPIO_OUT_PIN24_Msk (0x1UL << GPIO_OUT_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 01218 #define GPIO_OUT_PIN24_Low (0UL) /*!< Pin driver is low. */ 01219 #define GPIO_OUT_PIN24_High (1UL) /*!< Pin driver is high. */ 01220 01221 /* Bit 23 : Pin 23. */ 01222 #define GPIO_OUT_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 01223 #define GPIO_OUT_PIN23_Msk (0x1UL << GPIO_OUT_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 01224 #define GPIO_OUT_PIN23_Low (0UL) /*!< Pin driver is low. */ 01225 #define GPIO_OUT_PIN23_High (1UL) /*!< Pin driver is high. */ 01226 01227 /* Bit 22 : Pin 22. */ 01228 #define GPIO_OUT_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 01229 #define GPIO_OUT_PIN22_Msk (0x1UL << GPIO_OUT_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 01230 #define GPIO_OUT_PIN22_Low (0UL) /*!< Pin driver is low. */ 01231 #define GPIO_OUT_PIN22_High (1UL) /*!< Pin driver is high. */ 01232 01233 /* Bit 21 : Pin 21. */ 01234 #define GPIO_OUT_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 01235 #define GPIO_OUT_PIN21_Msk (0x1UL << GPIO_OUT_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 01236 #define GPIO_OUT_PIN21_Low (0UL) /*!< Pin driver is low. */ 01237 #define GPIO_OUT_PIN21_High (1UL) /*!< Pin driver is high. */ 01238 01239 /* Bit 20 : Pin 20. */ 01240 #define GPIO_OUT_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 01241 #define GPIO_OUT_PIN20_Msk (0x1UL << GPIO_OUT_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 01242 #define GPIO_OUT_PIN20_Low (0UL) /*!< Pin driver is low. */ 01243 #define GPIO_OUT_PIN20_High (1UL) /*!< Pin driver is high. */ 01244 01245 /* Bit 19 : Pin 19. */ 01246 #define GPIO_OUT_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 01247 #define GPIO_OUT_PIN19_Msk (0x1UL << GPIO_OUT_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 01248 #define GPIO_OUT_PIN19_Low (0UL) /*!< Pin driver is low. */ 01249 #define GPIO_OUT_PIN19_High (1UL) /*!< Pin driver is high. */ 01250 01251 /* Bit 18 : Pin 18. */ 01252 #define GPIO_OUT_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 01253 #define GPIO_OUT_PIN18_Msk (0x1UL << GPIO_OUT_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 01254 #define GPIO_OUT_PIN18_Low (0UL) /*!< Pin driver is low. */ 01255 #define GPIO_OUT_PIN18_High (1UL) /*!< Pin driver is high. */ 01256 01257 /* Bit 17 : Pin 17. */ 01258 #define GPIO_OUT_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 01259 #define GPIO_OUT_PIN17_Msk (0x1UL << GPIO_OUT_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 01260 #define GPIO_OUT_PIN17_Low (0UL) /*!< Pin driver is low. */ 01261 #define GPIO_OUT_PIN17_High (1UL) /*!< Pin driver is high. */ 01262 01263 /* Bit 16 : Pin 16. */ 01264 #define GPIO_OUT_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 01265 #define GPIO_OUT_PIN16_Msk (0x1UL << GPIO_OUT_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 01266 #define GPIO_OUT_PIN16_Low (0UL) /*!< Pin driver is low. */ 01267 #define GPIO_OUT_PIN16_High (1UL) /*!< Pin driver is high. */ 01268 01269 /* Bit 15 : Pin 15. */ 01270 #define GPIO_OUT_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 01271 #define GPIO_OUT_PIN15_Msk (0x1UL << GPIO_OUT_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 01272 #define GPIO_OUT_PIN15_Low (0UL) /*!< Pin driver is low. */ 01273 #define GPIO_OUT_PIN15_High (1UL) /*!< Pin driver is high. */ 01274 01275 /* Bit 14 : Pin 14. */ 01276 #define GPIO_OUT_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 01277 #define GPIO_OUT_PIN14_Msk (0x1UL << GPIO_OUT_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 01278 #define GPIO_OUT_PIN14_Low (0UL) /*!< Pin driver is low. */ 01279 #define GPIO_OUT_PIN14_High (1UL) /*!< Pin driver is high. */ 01280 01281 /* Bit 13 : Pin 13. */ 01282 #define GPIO_OUT_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 01283 #define GPIO_OUT_PIN13_Msk (0x1UL << GPIO_OUT_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 01284 #define GPIO_OUT_PIN13_Low (0UL) /*!< Pin driver is low. */ 01285 #define GPIO_OUT_PIN13_High (1UL) /*!< Pin driver is high. */ 01286 01287 /* Bit 12 : Pin 12. */ 01288 #define GPIO_OUT_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 01289 #define GPIO_OUT_PIN12_Msk (0x1UL << GPIO_OUT_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 01290 #define GPIO_OUT_PIN12_Low (0UL) /*!< Pin driver is low. */ 01291 #define GPIO_OUT_PIN12_High (1UL) /*!< Pin driver is high. */ 01292 01293 /* Bit 11 : Pin 11. */ 01294 #define GPIO_OUT_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 01295 #define GPIO_OUT_PIN11_Msk (0x1UL << GPIO_OUT_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 01296 #define GPIO_OUT_PIN11_Low (0UL) /*!< Pin driver is low. */ 01297 #define GPIO_OUT_PIN11_High (1UL) /*!< Pin driver is high. */ 01298 01299 /* Bit 10 : Pin 10. */ 01300 #define GPIO_OUT_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 01301 #define GPIO_OUT_PIN10_Msk (0x1UL << GPIO_OUT_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 01302 #define GPIO_OUT_PIN10_Low (0UL) /*!< Pin driver is low. */ 01303 #define GPIO_OUT_PIN10_High (1UL) /*!< Pin driver is high. */ 01304 01305 /* Bit 9 : Pin 9. */ 01306 #define GPIO_OUT_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 01307 #define GPIO_OUT_PIN9_Msk (0x1UL << GPIO_OUT_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 01308 #define GPIO_OUT_PIN9_Low (0UL) /*!< Pin driver is low. */ 01309 #define GPIO_OUT_PIN9_High (1UL) /*!< Pin driver is high. */ 01310 01311 /* Bit 8 : Pin 8. */ 01312 #define GPIO_OUT_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 01313 #define GPIO_OUT_PIN8_Msk (0x1UL << GPIO_OUT_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 01314 #define GPIO_OUT_PIN8_Low (0UL) /*!< Pin driver is low. */ 01315 #define GPIO_OUT_PIN8_High (1UL) /*!< Pin driver is high. */ 01316 01317 /* Bit 7 : Pin 7. */ 01318 #define GPIO_OUT_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 01319 #define GPIO_OUT_PIN7_Msk (0x1UL << GPIO_OUT_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 01320 #define GPIO_OUT_PIN7_Low (0UL) /*!< Pin driver is low. */ 01321 #define GPIO_OUT_PIN7_High (1UL) /*!< Pin driver is high. */ 01322 01323 /* Bit 6 : Pin 6. */ 01324 #define GPIO_OUT_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 01325 #define GPIO_OUT_PIN6_Msk (0x1UL << GPIO_OUT_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 01326 #define GPIO_OUT_PIN6_Low (0UL) /*!< Pin driver is low. */ 01327 #define GPIO_OUT_PIN6_High (1UL) /*!< Pin driver is high. */ 01328 01329 /* Bit 5 : Pin 5. */ 01330 #define GPIO_OUT_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 01331 #define GPIO_OUT_PIN5_Msk (0x1UL << GPIO_OUT_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 01332 #define GPIO_OUT_PIN5_Low (0UL) /*!< Pin driver is low. */ 01333 #define GPIO_OUT_PIN5_High (1UL) /*!< Pin driver is high. */ 01334 01335 /* Bit 4 : Pin 4. */ 01336 #define GPIO_OUT_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 01337 #define GPIO_OUT_PIN4_Msk (0x1UL << GPIO_OUT_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 01338 #define GPIO_OUT_PIN4_Low (0UL) /*!< Pin driver is low. */ 01339 #define GPIO_OUT_PIN4_High (1UL) /*!< Pin driver is high. */ 01340 01341 /* Bit 3 : Pin 3. */ 01342 #define GPIO_OUT_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 01343 #define GPIO_OUT_PIN3_Msk (0x1UL << GPIO_OUT_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 01344 #define GPIO_OUT_PIN3_Low (0UL) /*!< Pin driver is low. */ 01345 #define GPIO_OUT_PIN3_High (1UL) /*!< Pin driver is high. */ 01346 01347 /* Bit 2 : Pin 2. */ 01348 #define GPIO_OUT_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 01349 #define GPIO_OUT_PIN2_Msk (0x1UL << GPIO_OUT_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 01350 #define GPIO_OUT_PIN2_Low (0UL) /*!< Pin driver is low. */ 01351 #define GPIO_OUT_PIN2_High (1UL) /*!< Pin driver is high. */ 01352 01353 /* Bit 1 : Pin 1. */ 01354 #define GPIO_OUT_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 01355 #define GPIO_OUT_PIN1_Msk (0x1UL << GPIO_OUT_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 01356 #define GPIO_OUT_PIN1_Low (0UL) /*!< Pin driver is low. */ 01357 #define GPIO_OUT_PIN1_High (1UL) /*!< Pin driver is high. */ 01358 01359 /* Bit 0 : Pin 0. */ 01360 #define GPIO_OUT_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 01361 #define GPIO_OUT_PIN0_Msk (0x1UL << GPIO_OUT_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 01362 #define GPIO_OUT_PIN0_Low (0UL) /*!< Pin driver is low. */ 01363 #define GPIO_OUT_PIN0_High (1UL) /*!< Pin driver is high. */ 01364 01365 /* Register: GPIO_OUTSET */ 01366 /* Description: Set individual bits in GPIO port. */ 01367 01368 /* Bit 31 : Pin 31. */ 01369 #define GPIO_OUTSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 01370 #define GPIO_OUTSET_PIN31_Msk (0x1UL << GPIO_OUTSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 01371 #define GPIO_OUTSET_PIN31_Low (0UL) /*!< Pin driver is low. */ 01372 #define GPIO_OUTSET_PIN31_High (1UL) /*!< Pin driver is high. */ 01373 #define GPIO_OUTSET_PIN31_Set (1UL) /*!< Set pin driver high. */ 01374 01375 /* Bit 30 : Pin 30. */ 01376 #define GPIO_OUTSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 01377 #define GPIO_OUTSET_PIN30_Msk (0x1UL << GPIO_OUTSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 01378 #define GPIO_OUTSET_PIN30_Low (0UL) /*!< Pin driver is low. */ 01379 #define GPIO_OUTSET_PIN30_High (1UL) /*!< Pin driver is high. */ 01380 #define GPIO_OUTSET_PIN30_Set (1UL) /*!< Set pin driver high. */ 01381 01382 /* Bit 29 : Pin 29. */ 01383 #define GPIO_OUTSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 01384 #define GPIO_OUTSET_PIN29_Msk (0x1UL << GPIO_OUTSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 01385 #define GPIO_OUTSET_PIN29_Low (0UL) /*!< Pin driver is low. */ 01386 #define GPIO_OUTSET_PIN29_High (1UL) /*!< Pin driver is high. */ 01387 #define GPIO_OUTSET_PIN29_Set (1UL) /*!< Set pin driver high. */ 01388 01389 /* Bit 28 : Pin 28. */ 01390 #define GPIO_OUTSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 01391 #define GPIO_OUTSET_PIN28_Msk (0x1UL << GPIO_OUTSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 01392 #define GPIO_OUTSET_PIN28_Low (0UL) /*!< Pin driver is low. */ 01393 #define GPIO_OUTSET_PIN28_High (1UL) /*!< Pin driver is high. */ 01394 #define GPIO_OUTSET_PIN28_Set (1UL) /*!< Set pin driver high. */ 01395 01396 /* Bit 27 : Pin 27. */ 01397 #define GPIO_OUTSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 01398 #define GPIO_OUTSET_PIN27_Msk (0x1UL << GPIO_OUTSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 01399 #define GPIO_OUTSET_PIN27_Low (0UL) /*!< Pin driver is low. */ 01400 #define GPIO_OUTSET_PIN27_High (1UL) /*!< Pin driver is high. */ 01401 #define GPIO_OUTSET_PIN27_Set (1UL) /*!< Set pin driver high. */ 01402 01403 /* Bit 26 : Pin 26. */ 01404 #define GPIO_OUTSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 01405 #define GPIO_OUTSET_PIN26_Msk (0x1UL << GPIO_OUTSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 01406 #define GPIO_OUTSET_PIN26_Low (0UL) /*!< Pin driver is low. */ 01407 #define GPIO_OUTSET_PIN26_High (1UL) /*!< Pin driver is high. */ 01408 #define GPIO_OUTSET_PIN26_Set (1UL) /*!< Set pin driver high. */ 01409 01410 /* Bit 25 : Pin 25. */ 01411 #define GPIO_OUTSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 01412 #define GPIO_OUTSET_PIN25_Msk (0x1UL << GPIO_OUTSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 01413 #define GPIO_OUTSET_PIN25_Low (0UL) /*!< Pin driver is low. */ 01414 #define GPIO_OUTSET_PIN25_High (1UL) /*!< Pin driver is high. */ 01415 #define GPIO_OUTSET_PIN25_Set (1UL) /*!< Set pin driver high. */ 01416 01417 /* Bit 24 : Pin 24. */ 01418 #define GPIO_OUTSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 01419 #define GPIO_OUTSET_PIN24_Msk (0x1UL << GPIO_OUTSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 01420 #define GPIO_OUTSET_PIN24_Low (0UL) /*!< Pin driver is low. */ 01421 #define GPIO_OUTSET_PIN24_High (1UL) /*!< Pin driver is high. */ 01422 #define GPIO_OUTSET_PIN24_Set (1UL) /*!< Set pin driver high. */ 01423 01424 /* Bit 23 : Pin 23. */ 01425 #define GPIO_OUTSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 01426 #define GPIO_OUTSET_PIN23_Msk (0x1UL << GPIO_OUTSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 01427 #define GPIO_OUTSET_PIN23_Low (0UL) /*!< Pin driver is low. */ 01428 #define GPIO_OUTSET_PIN23_High (1UL) /*!< Pin driver is high. */ 01429 #define GPIO_OUTSET_PIN23_Set (1UL) /*!< Set pin driver high. */ 01430 01431 /* Bit 22 : Pin 22. */ 01432 #define GPIO_OUTSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 01433 #define GPIO_OUTSET_PIN22_Msk (0x1UL << GPIO_OUTSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 01434 #define GPIO_OUTSET_PIN22_Low (0UL) /*!< Pin driver is low. */ 01435 #define GPIO_OUTSET_PIN22_High (1UL) /*!< Pin driver is high. */ 01436 #define GPIO_OUTSET_PIN22_Set (1UL) /*!< Set pin driver high. */ 01437 01438 /* Bit 21 : Pin 21. */ 01439 #define GPIO_OUTSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 01440 #define GPIO_OUTSET_PIN21_Msk (0x1UL << GPIO_OUTSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 01441 #define GPIO_OUTSET_PIN21_Low (0UL) /*!< Pin driver is low. */ 01442 #define GPIO_OUTSET_PIN21_High (1UL) /*!< Pin driver is high. */ 01443 #define GPIO_OUTSET_PIN21_Set (1UL) /*!< Set pin driver high. */ 01444 01445 /* Bit 20 : Pin 20. */ 01446 #define GPIO_OUTSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 01447 #define GPIO_OUTSET_PIN20_Msk (0x1UL << GPIO_OUTSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 01448 #define GPIO_OUTSET_PIN20_Low (0UL) /*!< Pin driver is low. */ 01449 #define GPIO_OUTSET_PIN20_High (1UL) /*!< Pin driver is high. */ 01450 #define GPIO_OUTSET_PIN20_Set (1UL) /*!< Set pin driver high. */ 01451 01452 /* Bit 19 : Pin 19. */ 01453 #define GPIO_OUTSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 01454 #define GPIO_OUTSET_PIN19_Msk (0x1UL << GPIO_OUTSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 01455 #define GPIO_OUTSET_PIN19_Low (0UL) /*!< Pin driver is low. */ 01456 #define GPIO_OUTSET_PIN19_High (1UL) /*!< Pin driver is high. */ 01457 #define GPIO_OUTSET_PIN19_Set (1UL) /*!< Set pin driver high. */ 01458 01459 /* Bit 18 : Pin 18. */ 01460 #define GPIO_OUTSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 01461 #define GPIO_OUTSET_PIN18_Msk (0x1UL << GPIO_OUTSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 01462 #define GPIO_OUTSET_PIN18_Low (0UL) /*!< Pin driver is low. */ 01463 #define GPIO_OUTSET_PIN18_High (1UL) /*!< Pin driver is high. */ 01464 #define GPIO_OUTSET_PIN18_Set (1UL) /*!< Set pin driver high. */ 01465 01466 /* Bit 17 : Pin 17. */ 01467 #define GPIO_OUTSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 01468 #define GPIO_OUTSET_PIN17_Msk (0x1UL << GPIO_OUTSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 01469 #define GPIO_OUTSET_PIN17_Low (0UL) /*!< Pin driver is low. */ 01470 #define GPIO_OUTSET_PIN17_High (1UL) /*!< Pin driver is high. */ 01471 #define GPIO_OUTSET_PIN17_Set (1UL) /*!< Set pin driver high. */ 01472 01473 /* Bit 16 : Pin 16. */ 01474 #define GPIO_OUTSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 01475 #define GPIO_OUTSET_PIN16_Msk (0x1UL << GPIO_OUTSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 01476 #define GPIO_OUTSET_PIN16_Low (0UL) /*!< Pin driver is low. */ 01477 #define GPIO_OUTSET_PIN16_High (1UL) /*!< Pin driver is high. */ 01478 #define GPIO_OUTSET_PIN16_Set (1UL) /*!< Set pin driver high. */ 01479 01480 /* Bit 15 : Pin 15. */ 01481 #define GPIO_OUTSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 01482 #define GPIO_OUTSET_PIN15_Msk (0x1UL << GPIO_OUTSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 01483 #define GPIO_OUTSET_PIN15_Low (0UL) /*!< Pin driver is low. */ 01484 #define GPIO_OUTSET_PIN15_High (1UL) /*!< Pin driver is high. */ 01485 #define GPIO_OUTSET_PIN15_Set (1UL) /*!< Set pin driver high. */ 01486 01487 /* Bit 14 : Pin 14. */ 01488 #define GPIO_OUTSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 01489 #define GPIO_OUTSET_PIN14_Msk (0x1UL << GPIO_OUTSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 01490 #define GPIO_OUTSET_PIN14_Low (0UL) /*!< Pin driver is low. */ 01491 #define GPIO_OUTSET_PIN14_High (1UL) /*!< Pin driver is high. */ 01492 #define GPIO_OUTSET_PIN14_Set (1UL) /*!< Set pin driver high. */ 01493 01494 /* Bit 13 : Pin 13. */ 01495 #define GPIO_OUTSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 01496 #define GPIO_OUTSET_PIN13_Msk (0x1UL << GPIO_OUTSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 01497 #define GPIO_OUTSET_PIN13_Low (0UL) /*!< Pin driver is low. */ 01498 #define GPIO_OUTSET_PIN13_High (1UL) /*!< Pin driver is high. */ 01499 #define GPIO_OUTSET_PIN13_Set (1UL) /*!< Set pin driver high. */ 01500 01501 /* Bit 12 : Pin 12. */ 01502 #define GPIO_OUTSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 01503 #define GPIO_OUTSET_PIN12_Msk (0x1UL << GPIO_OUTSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 01504 #define GPIO_OUTSET_PIN12_Low (0UL) /*!< Pin driver is low. */ 01505 #define GPIO_OUTSET_PIN12_High (1UL) /*!< Pin driver is high. */ 01506 #define GPIO_OUTSET_PIN12_Set (1UL) /*!< Set pin driver high. */ 01507 01508 /* Bit 11 : Pin 11. */ 01509 #define GPIO_OUTSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 01510 #define GPIO_OUTSET_PIN11_Msk (0x1UL << GPIO_OUTSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 01511 #define GPIO_OUTSET_PIN11_Low (0UL) /*!< Pin driver is low. */ 01512 #define GPIO_OUTSET_PIN11_High (1UL) /*!< Pin driver is high. */ 01513 #define GPIO_OUTSET_PIN11_Set (1UL) /*!< Set pin driver high. */ 01514 01515 /* Bit 10 : Pin 10. */ 01516 #define GPIO_OUTSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 01517 #define GPIO_OUTSET_PIN10_Msk (0x1UL << GPIO_OUTSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 01518 #define GPIO_OUTSET_PIN10_Low (0UL) /*!< Pin driver is low. */ 01519 #define GPIO_OUTSET_PIN10_High (1UL) /*!< Pin driver is high. */ 01520 #define GPIO_OUTSET_PIN10_Set (1UL) /*!< Set pin driver high. */ 01521 01522 /* Bit 9 : Pin 9. */ 01523 #define GPIO_OUTSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 01524 #define GPIO_OUTSET_PIN9_Msk (0x1UL << GPIO_OUTSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 01525 #define GPIO_OUTSET_PIN9_Low (0UL) /*!< Pin driver is low. */ 01526 #define GPIO_OUTSET_PIN9_High (1UL) /*!< Pin driver is high. */ 01527 #define GPIO_OUTSET_PIN9_Set (1UL) /*!< Set pin driver high. */ 01528 01529 /* Bit 8 : Pin 8. */ 01530 #define GPIO_OUTSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 01531 #define GPIO_OUTSET_PIN8_Msk (0x1UL << GPIO_OUTSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 01532 #define GPIO_OUTSET_PIN8_Low (0UL) /*!< Pin driver is low. */ 01533 #define GPIO_OUTSET_PIN8_High (1UL) /*!< Pin driver is high. */ 01534 #define GPIO_OUTSET_PIN8_Set (1UL) /*!< Set pin driver high. */ 01535 01536 /* Bit 7 : Pin 7. */ 01537 #define GPIO_OUTSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 01538 #define GPIO_OUTSET_PIN7_Msk (0x1UL << GPIO_OUTSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 01539 #define GPIO_OUTSET_PIN7_Low (0UL) /*!< Pin driver is low. */ 01540 #define GPIO_OUTSET_PIN7_High (1UL) /*!< Pin driver is high. */ 01541 #define GPIO_OUTSET_PIN7_Set (1UL) /*!< Set pin driver high. */ 01542 01543 /* Bit 6 : Pin 6. */ 01544 #define GPIO_OUTSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 01545 #define GPIO_OUTSET_PIN6_Msk (0x1UL << GPIO_OUTSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 01546 #define GPIO_OUTSET_PIN6_Low (0UL) /*!< Pin driver is low. */ 01547 #define GPIO_OUTSET_PIN6_High (1UL) /*!< Pin driver is high. */ 01548 #define GPIO_OUTSET_PIN6_Set (1UL) /*!< Set pin driver high. */ 01549 01550 /* Bit 5 : Pin 5. */ 01551 #define GPIO_OUTSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 01552 #define GPIO_OUTSET_PIN5_Msk (0x1UL << GPIO_OUTSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 01553 #define GPIO_OUTSET_PIN5_Low (0UL) /*!< Pin driver is low. */ 01554 #define GPIO_OUTSET_PIN5_High (1UL) /*!< Pin driver is high. */ 01555 #define GPIO_OUTSET_PIN5_Set (1UL) /*!< Set pin driver high. */ 01556 01557 /* Bit 4 : Pin 4. */ 01558 #define GPIO_OUTSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 01559 #define GPIO_OUTSET_PIN4_Msk (0x1UL << GPIO_OUTSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 01560 #define GPIO_OUTSET_PIN4_Low (0UL) /*!< Pin driver is low. */ 01561 #define GPIO_OUTSET_PIN4_High (1UL) /*!< Pin driver is high. */ 01562 #define GPIO_OUTSET_PIN4_Set (1UL) /*!< Set pin driver high. */ 01563 01564 /* Bit 3 : Pin 3. */ 01565 #define GPIO_OUTSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 01566 #define GPIO_OUTSET_PIN3_Msk (0x1UL << GPIO_OUTSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 01567 #define GPIO_OUTSET_PIN3_Low (0UL) /*!< Pin driver is low. */ 01568 #define GPIO_OUTSET_PIN3_High (1UL) /*!< Pin driver is high. */ 01569 #define GPIO_OUTSET_PIN3_Set (1UL) /*!< Set pin driver high. */ 01570 01571 /* Bit 2 : Pin 2. */ 01572 #define GPIO_OUTSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 01573 #define GPIO_OUTSET_PIN2_Msk (0x1UL << GPIO_OUTSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 01574 #define GPIO_OUTSET_PIN2_Low (0UL) /*!< Pin driver is low. */ 01575 #define GPIO_OUTSET_PIN2_High (1UL) /*!< Pin driver is high. */ 01576 #define GPIO_OUTSET_PIN2_Set (1UL) /*!< Set pin driver high. */ 01577 01578 /* Bit 1 : Pin 1. */ 01579 #define GPIO_OUTSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 01580 #define GPIO_OUTSET_PIN1_Msk (0x1UL << GPIO_OUTSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 01581 #define GPIO_OUTSET_PIN1_Low (0UL) /*!< Pin driver is low. */ 01582 #define GPIO_OUTSET_PIN1_High (1UL) /*!< Pin driver is high. */ 01583 #define GPIO_OUTSET_PIN1_Set (1UL) /*!< Set pin driver high. */ 01584 01585 /* Bit 0 : Pin 0. */ 01586 #define GPIO_OUTSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 01587 #define GPIO_OUTSET_PIN0_Msk (0x1UL << GPIO_OUTSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 01588 #define GPIO_OUTSET_PIN0_Low (0UL) /*!< Pin driver is low. */ 01589 #define GPIO_OUTSET_PIN0_High (1UL) /*!< Pin driver is high. */ 01590 #define GPIO_OUTSET_PIN0_Set (1UL) /*!< Set pin driver high. */ 01591 01592 /* Register: GPIO_OUTCLR */ 01593 /* Description: Clear individual bits in GPIO port. */ 01594 01595 /* Bit 31 : Pin 31. */ 01596 #define GPIO_OUTCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 01597 #define GPIO_OUTCLR_PIN31_Msk (0x1UL << GPIO_OUTCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 01598 #define GPIO_OUTCLR_PIN31_Low (0UL) /*!< Pin driver is low. */ 01599 #define GPIO_OUTCLR_PIN31_High (1UL) /*!< Pin driver is high. */ 01600 #define GPIO_OUTCLR_PIN31_Clear (1UL) /*!< Set pin driver low. */ 01601 01602 /* Bit 30 : Pin 30. */ 01603 #define GPIO_OUTCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 01604 #define GPIO_OUTCLR_PIN30_Msk (0x1UL << GPIO_OUTCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 01605 #define GPIO_OUTCLR_PIN30_Low (0UL) /*!< Pin driver is low. */ 01606 #define GPIO_OUTCLR_PIN30_High (1UL) /*!< Pin driver is high. */ 01607 #define GPIO_OUTCLR_PIN30_Clear (1UL) /*!< Set pin driver low. */ 01608 01609 /* Bit 29 : Pin 29. */ 01610 #define GPIO_OUTCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 01611 #define GPIO_OUTCLR_PIN29_Msk (0x1UL << GPIO_OUTCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 01612 #define GPIO_OUTCLR_PIN29_Low (0UL) /*!< Pin driver is low. */ 01613 #define GPIO_OUTCLR_PIN29_High (1UL) /*!< Pin driver is high. */ 01614 #define GPIO_OUTCLR_PIN29_Clear (1UL) /*!< Set pin driver low. */ 01615 01616 /* Bit 28 : Pin 28. */ 01617 #define GPIO_OUTCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 01618 #define GPIO_OUTCLR_PIN28_Msk (0x1UL << GPIO_OUTCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 01619 #define GPIO_OUTCLR_PIN28_Low (0UL) /*!< Pin driver is low. */ 01620 #define GPIO_OUTCLR_PIN28_High (1UL) /*!< Pin driver is high. */ 01621 #define GPIO_OUTCLR_PIN28_Clear (1UL) /*!< Set pin driver low. */ 01622 01623 /* Bit 27 : Pin 27. */ 01624 #define GPIO_OUTCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 01625 #define GPIO_OUTCLR_PIN27_Msk (0x1UL << GPIO_OUTCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 01626 #define GPIO_OUTCLR_PIN27_Low (0UL) /*!< Pin driver is low. */ 01627 #define GPIO_OUTCLR_PIN27_High (1UL) /*!< Pin driver is high. */ 01628 #define GPIO_OUTCLR_PIN27_Clear (1UL) /*!< Set pin driver low. */ 01629 01630 /* Bit 26 : Pin 26. */ 01631 #define GPIO_OUTCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 01632 #define GPIO_OUTCLR_PIN26_Msk (0x1UL << GPIO_OUTCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 01633 #define GPIO_OUTCLR_PIN26_Low (0UL) /*!< Pin driver is low. */ 01634 #define GPIO_OUTCLR_PIN26_High (1UL) /*!< Pin driver is high. */ 01635 #define GPIO_OUTCLR_PIN26_Clear (1UL) /*!< Set pin driver low. */ 01636 01637 /* Bit 25 : Pin 25. */ 01638 #define GPIO_OUTCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 01639 #define GPIO_OUTCLR_PIN25_Msk (0x1UL << GPIO_OUTCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 01640 #define GPIO_OUTCLR_PIN25_Low (0UL) /*!< Pin driver is low. */ 01641 #define GPIO_OUTCLR_PIN25_High (1UL) /*!< Pin driver is high. */ 01642 #define GPIO_OUTCLR_PIN25_Clear (1UL) /*!< Set pin driver low. */ 01643 01644 /* Bit 24 : Pin 24. */ 01645 #define GPIO_OUTCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 01646 #define GPIO_OUTCLR_PIN24_Msk (0x1UL << GPIO_OUTCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 01647 #define GPIO_OUTCLR_PIN24_Low (0UL) /*!< Pin driver is low. */ 01648 #define GPIO_OUTCLR_PIN24_High (1UL) /*!< Pin driver is high. */ 01649 #define GPIO_OUTCLR_PIN24_Clear (1UL) /*!< Set pin driver low. */ 01650 01651 /* Bit 23 : Pin 23. */ 01652 #define GPIO_OUTCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 01653 #define GPIO_OUTCLR_PIN23_Msk (0x1UL << GPIO_OUTCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 01654 #define GPIO_OUTCLR_PIN23_Low (0UL) /*!< Pin driver is low. */ 01655 #define GPIO_OUTCLR_PIN23_High (1UL) /*!< Pin driver is high. */ 01656 #define GPIO_OUTCLR_PIN23_Clear (1UL) /*!< Set pin driver low. */ 01657 01658 /* Bit 22 : Pin 22. */ 01659 #define GPIO_OUTCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 01660 #define GPIO_OUTCLR_PIN22_Msk (0x1UL << GPIO_OUTCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 01661 #define GPIO_OUTCLR_PIN22_Low (0UL) /*!< Pin driver is low. */ 01662 #define GPIO_OUTCLR_PIN22_High (1UL) /*!< Pin driver is high. */ 01663 #define GPIO_OUTCLR_PIN22_Clear (1UL) /*!< Set pin driver low. */ 01664 01665 /* Bit 21 : Pin 21. */ 01666 #define GPIO_OUTCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 01667 #define GPIO_OUTCLR_PIN21_Msk (0x1UL << GPIO_OUTCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 01668 #define GPIO_OUTCLR_PIN21_Low (0UL) /*!< Pin driver is low. */ 01669 #define GPIO_OUTCLR_PIN21_High (1UL) /*!< Pin driver is high. */ 01670 #define GPIO_OUTCLR_PIN21_Clear (1UL) /*!< Set pin driver low. */ 01671 01672 /* Bit 20 : Pin 20. */ 01673 #define GPIO_OUTCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 01674 #define GPIO_OUTCLR_PIN20_Msk (0x1UL << GPIO_OUTCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 01675 #define GPIO_OUTCLR_PIN20_Low (0UL) /*!< Pin driver is low. */ 01676 #define GPIO_OUTCLR_PIN20_High (1UL) /*!< Pin driver is high. */ 01677 #define GPIO_OUTCLR_PIN20_Clear (1UL) /*!< Set pin driver low. */ 01678 01679 /* Bit 19 : Pin 19. */ 01680 #define GPIO_OUTCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 01681 #define GPIO_OUTCLR_PIN19_Msk (0x1UL << GPIO_OUTCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 01682 #define GPIO_OUTCLR_PIN19_Low (0UL) /*!< Pin driver is low. */ 01683 #define GPIO_OUTCLR_PIN19_High (1UL) /*!< Pin driver is high. */ 01684 #define GPIO_OUTCLR_PIN19_Clear (1UL) /*!< Set pin driver low. */ 01685 01686 /* Bit 18 : Pin 18. */ 01687 #define GPIO_OUTCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 01688 #define GPIO_OUTCLR_PIN18_Msk (0x1UL << GPIO_OUTCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 01689 #define GPIO_OUTCLR_PIN18_Low (0UL) /*!< Pin driver is low. */ 01690 #define GPIO_OUTCLR_PIN18_High (1UL) /*!< Pin driver is high. */ 01691 #define GPIO_OUTCLR_PIN18_Clear (1UL) /*!< Set pin driver low. */ 01692 01693 /* Bit 17 : Pin 17. */ 01694 #define GPIO_OUTCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 01695 #define GPIO_OUTCLR_PIN17_Msk (0x1UL << GPIO_OUTCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 01696 #define GPIO_OUTCLR_PIN17_Low (0UL) /*!< Pin driver is low. */ 01697 #define GPIO_OUTCLR_PIN17_High (1UL) /*!< Pin driver is high. */ 01698 #define GPIO_OUTCLR_PIN17_Clear (1UL) /*!< Set pin driver low. */ 01699 01700 /* Bit 16 : Pin 16. */ 01701 #define GPIO_OUTCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 01702 #define GPIO_OUTCLR_PIN16_Msk (0x1UL << GPIO_OUTCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 01703 #define GPIO_OUTCLR_PIN16_Low (0UL) /*!< Pin driver is low. */ 01704 #define GPIO_OUTCLR_PIN16_High (1UL) /*!< Pin driver is high. */ 01705 #define GPIO_OUTCLR_PIN16_Clear (1UL) /*!< Set pin driver low. */ 01706 01707 /* Bit 15 : Pin 15. */ 01708 #define GPIO_OUTCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 01709 #define GPIO_OUTCLR_PIN15_Msk (0x1UL << GPIO_OUTCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 01710 #define GPIO_OUTCLR_PIN15_Low (0UL) /*!< Pin driver is low. */ 01711 #define GPIO_OUTCLR_PIN15_High (1UL) /*!< Pin driver is high. */ 01712 #define GPIO_OUTCLR_PIN15_Clear (1UL) /*!< Set pin driver low. */ 01713 01714 /* Bit 14 : Pin 14. */ 01715 #define GPIO_OUTCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 01716 #define GPIO_OUTCLR_PIN14_Msk (0x1UL << GPIO_OUTCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 01717 #define GPIO_OUTCLR_PIN14_Low (0UL) /*!< Pin driver is low. */ 01718 #define GPIO_OUTCLR_PIN14_High (1UL) /*!< Pin driver is high. */ 01719 #define GPIO_OUTCLR_PIN14_Clear (1UL) /*!< Set pin driver low. */ 01720 01721 /* Bit 13 : Pin 13. */ 01722 #define GPIO_OUTCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 01723 #define GPIO_OUTCLR_PIN13_Msk (0x1UL << GPIO_OUTCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 01724 #define GPIO_OUTCLR_PIN13_Low (0UL) /*!< Pin driver is low. */ 01725 #define GPIO_OUTCLR_PIN13_High (1UL) /*!< Pin driver is high. */ 01726 #define GPIO_OUTCLR_PIN13_Clear (1UL) /*!< Set pin driver low. */ 01727 01728 /* Bit 12 : Pin 12. */ 01729 #define GPIO_OUTCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 01730 #define GPIO_OUTCLR_PIN12_Msk (0x1UL << GPIO_OUTCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 01731 #define GPIO_OUTCLR_PIN12_Low (0UL) /*!< Pin driver is low. */ 01732 #define GPIO_OUTCLR_PIN12_High (1UL) /*!< Pin driver is high. */ 01733 #define GPIO_OUTCLR_PIN12_Clear (1UL) /*!< Set pin driver low. */ 01734 01735 /* Bit 11 : Pin 11. */ 01736 #define GPIO_OUTCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 01737 #define GPIO_OUTCLR_PIN11_Msk (0x1UL << GPIO_OUTCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 01738 #define GPIO_OUTCLR_PIN11_Low (0UL) /*!< Pin driver is low. */ 01739 #define GPIO_OUTCLR_PIN11_High (1UL) /*!< Pin driver is high. */ 01740 #define GPIO_OUTCLR_PIN11_Clear (1UL) /*!< Set pin driver low. */ 01741 01742 /* Bit 10 : Pin 10. */ 01743 #define GPIO_OUTCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 01744 #define GPIO_OUTCLR_PIN10_Msk (0x1UL << GPIO_OUTCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 01745 #define GPIO_OUTCLR_PIN10_Low (0UL) /*!< Pin driver is low. */ 01746 #define GPIO_OUTCLR_PIN10_High (1UL) /*!< Pin driver is high. */ 01747 #define GPIO_OUTCLR_PIN10_Clear (1UL) /*!< Set pin driver low. */ 01748 01749 /* Bit 9 : Pin 9. */ 01750 #define GPIO_OUTCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 01751 #define GPIO_OUTCLR_PIN9_Msk (0x1UL << GPIO_OUTCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 01752 #define GPIO_OUTCLR_PIN9_Low (0UL) /*!< Pin driver is low. */ 01753 #define GPIO_OUTCLR_PIN9_High (1UL) /*!< Pin driver is high. */ 01754 #define GPIO_OUTCLR_PIN9_Clear (1UL) /*!< Set pin driver low. */ 01755 01756 /* Bit 8 : Pin 8. */ 01757 #define GPIO_OUTCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 01758 #define GPIO_OUTCLR_PIN8_Msk (0x1UL << GPIO_OUTCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 01759 #define GPIO_OUTCLR_PIN8_Low (0UL) /*!< Pin driver is low. */ 01760 #define GPIO_OUTCLR_PIN8_High (1UL) /*!< Pin driver is high. */ 01761 #define GPIO_OUTCLR_PIN8_Clear (1UL) /*!< Set pin driver low. */ 01762 01763 /* Bit 7 : Pin 7. */ 01764 #define GPIO_OUTCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 01765 #define GPIO_OUTCLR_PIN7_Msk (0x1UL << GPIO_OUTCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 01766 #define GPIO_OUTCLR_PIN7_Low (0UL) /*!< Pin driver is low. */ 01767 #define GPIO_OUTCLR_PIN7_High (1UL) /*!< Pin driver is high. */ 01768 #define GPIO_OUTCLR_PIN7_Clear (1UL) /*!< Set pin driver low. */ 01769 01770 /* Bit 6 : Pin 6. */ 01771 #define GPIO_OUTCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 01772 #define GPIO_OUTCLR_PIN6_Msk (0x1UL << GPIO_OUTCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 01773 #define GPIO_OUTCLR_PIN6_Low (0UL) /*!< Pin driver is low. */ 01774 #define GPIO_OUTCLR_PIN6_High (1UL) /*!< Pin driver is high. */ 01775 #define GPIO_OUTCLR_PIN6_Clear (1UL) /*!< Set pin driver low. */ 01776 01777 /* Bit 5 : Pin 5. */ 01778 #define GPIO_OUTCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 01779 #define GPIO_OUTCLR_PIN5_Msk (0x1UL << GPIO_OUTCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 01780 #define GPIO_OUTCLR_PIN5_Low (0UL) /*!< Pin driver is low. */ 01781 #define GPIO_OUTCLR_PIN5_High (1UL) /*!< Pin driver is high. */ 01782 #define GPIO_OUTCLR_PIN5_Clear (1UL) /*!< Set pin driver low. */ 01783 01784 /* Bit 4 : Pin 4. */ 01785 #define GPIO_OUTCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 01786 #define GPIO_OUTCLR_PIN4_Msk (0x1UL << GPIO_OUTCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 01787 #define GPIO_OUTCLR_PIN4_Low (0UL) /*!< Pin driver is low. */ 01788 #define GPIO_OUTCLR_PIN4_High (1UL) /*!< Pin driver is high. */ 01789 #define GPIO_OUTCLR_PIN4_Clear (1UL) /*!< Set pin driver low. */ 01790 01791 /* Bit 3 : Pin 3. */ 01792 #define GPIO_OUTCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 01793 #define GPIO_OUTCLR_PIN3_Msk (0x1UL << GPIO_OUTCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 01794 #define GPIO_OUTCLR_PIN3_Low (0UL) /*!< Pin driver is low. */ 01795 #define GPIO_OUTCLR_PIN3_High (1UL) /*!< Pin driver is high. */ 01796 #define GPIO_OUTCLR_PIN3_Clear (1UL) /*!< Set pin driver low. */ 01797 01798 /* Bit 2 : Pin 2. */ 01799 #define GPIO_OUTCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 01800 #define GPIO_OUTCLR_PIN2_Msk (0x1UL << GPIO_OUTCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 01801 #define GPIO_OUTCLR_PIN2_Low (0UL) /*!< Pin driver is low. */ 01802 #define GPIO_OUTCLR_PIN2_High (1UL) /*!< Pin driver is high. */ 01803 #define GPIO_OUTCLR_PIN2_Clear (1UL) /*!< Set pin driver low. */ 01804 01805 /* Bit 1 : Pin 1. */ 01806 #define GPIO_OUTCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 01807 #define GPIO_OUTCLR_PIN1_Msk (0x1UL << GPIO_OUTCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 01808 #define GPIO_OUTCLR_PIN1_Low (0UL) /*!< Pin driver is low. */ 01809 #define GPIO_OUTCLR_PIN1_High (1UL) /*!< Pin driver is high. */ 01810 #define GPIO_OUTCLR_PIN1_Clear (1UL) /*!< Set pin driver low. */ 01811 01812 /* Bit 0 : Pin 0. */ 01813 #define GPIO_OUTCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 01814 #define GPIO_OUTCLR_PIN0_Msk (0x1UL << GPIO_OUTCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 01815 #define GPIO_OUTCLR_PIN0_Low (0UL) /*!< Pin driver is low. */ 01816 #define GPIO_OUTCLR_PIN0_High (1UL) /*!< Pin driver is high. */ 01817 #define GPIO_OUTCLR_PIN0_Clear (1UL) /*!< Set pin driver low. */ 01818 01819 /* Register: GPIO_IN */ 01820 /* Description: Read GPIO port. */ 01821 01822 /* Bit 31 : Pin 31. */ 01823 #define GPIO_IN_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 01824 #define GPIO_IN_PIN31_Msk (0x1UL << GPIO_IN_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 01825 #define GPIO_IN_PIN31_Low (0UL) /*!< Pin input is low. */ 01826 #define GPIO_IN_PIN31_High (1UL) /*!< Pin input is high. */ 01827 01828 /* Bit 30 : Pin 30. */ 01829 #define GPIO_IN_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 01830 #define GPIO_IN_PIN30_Msk (0x1UL << GPIO_IN_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 01831 #define GPIO_IN_PIN30_Low (0UL) /*!< Pin input is low. */ 01832 #define GPIO_IN_PIN30_High (1UL) /*!< Pin input is high. */ 01833 01834 /* Bit 29 : Pin 29. */ 01835 #define GPIO_IN_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 01836 #define GPIO_IN_PIN29_Msk (0x1UL << GPIO_IN_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 01837 #define GPIO_IN_PIN29_Low (0UL) /*!< Pin input is low. */ 01838 #define GPIO_IN_PIN29_High (1UL) /*!< Pin input is high. */ 01839 01840 /* Bit 28 : Pin 28. */ 01841 #define GPIO_IN_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 01842 #define GPIO_IN_PIN28_Msk (0x1UL << GPIO_IN_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 01843 #define GPIO_IN_PIN28_Low (0UL) /*!< Pin input is low. */ 01844 #define GPIO_IN_PIN28_High (1UL) /*!< Pin input is high. */ 01845 01846 /* Bit 27 : Pin 27. */ 01847 #define GPIO_IN_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 01848 #define GPIO_IN_PIN27_Msk (0x1UL << GPIO_IN_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 01849 #define GPIO_IN_PIN27_Low (0UL) /*!< Pin input is low. */ 01850 #define GPIO_IN_PIN27_High (1UL) /*!< Pin input is high. */ 01851 01852 /* Bit 26 : Pin 26. */ 01853 #define GPIO_IN_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 01854 #define GPIO_IN_PIN26_Msk (0x1UL << GPIO_IN_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 01855 #define GPIO_IN_PIN26_Low (0UL) /*!< Pin input is low. */ 01856 #define GPIO_IN_PIN26_High (1UL) /*!< Pin input is high. */ 01857 01858 /* Bit 25 : Pin 25. */ 01859 #define GPIO_IN_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 01860 #define GPIO_IN_PIN25_Msk (0x1UL << GPIO_IN_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 01861 #define GPIO_IN_PIN25_Low (0UL) /*!< Pin input is low. */ 01862 #define GPIO_IN_PIN25_High (1UL) /*!< Pin input is high. */ 01863 01864 /* Bit 24 : Pin 24. */ 01865 #define GPIO_IN_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 01866 #define GPIO_IN_PIN24_Msk (0x1UL << GPIO_IN_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 01867 #define GPIO_IN_PIN24_Low (0UL) /*!< Pin input is low. */ 01868 #define GPIO_IN_PIN24_High (1UL) /*!< Pin input is high. */ 01869 01870 /* Bit 23 : Pin 23. */ 01871 #define GPIO_IN_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 01872 #define GPIO_IN_PIN23_Msk (0x1UL << GPIO_IN_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 01873 #define GPIO_IN_PIN23_Low (0UL) /*!< Pin input is low. */ 01874 #define GPIO_IN_PIN23_High (1UL) /*!< Pin input is high. */ 01875 01876 /* Bit 22 : Pin 22. */ 01877 #define GPIO_IN_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 01878 #define GPIO_IN_PIN22_Msk (0x1UL << GPIO_IN_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 01879 #define GPIO_IN_PIN22_Low (0UL) /*!< Pin input is low. */ 01880 #define GPIO_IN_PIN22_High (1UL) /*!< Pin input is high. */ 01881 01882 /* Bit 21 : Pin 21. */ 01883 #define GPIO_IN_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 01884 #define GPIO_IN_PIN21_Msk (0x1UL << GPIO_IN_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 01885 #define GPIO_IN_PIN21_Low (0UL) /*!< Pin input is low. */ 01886 #define GPIO_IN_PIN21_High (1UL) /*!< Pin input is high. */ 01887 01888 /* Bit 20 : Pin 20. */ 01889 #define GPIO_IN_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 01890 #define GPIO_IN_PIN20_Msk (0x1UL << GPIO_IN_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 01891 #define GPIO_IN_PIN20_Low (0UL) /*!< Pin input is low. */ 01892 #define GPIO_IN_PIN20_High (1UL) /*!< Pin input is high. */ 01893 01894 /* Bit 19 : Pin 19. */ 01895 #define GPIO_IN_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 01896 #define GPIO_IN_PIN19_Msk (0x1UL << GPIO_IN_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 01897 #define GPIO_IN_PIN19_Low (0UL) /*!< Pin input is low. */ 01898 #define GPIO_IN_PIN19_High (1UL) /*!< Pin input is high. */ 01899 01900 /* Bit 18 : Pin 18. */ 01901 #define GPIO_IN_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 01902 #define GPIO_IN_PIN18_Msk (0x1UL << GPIO_IN_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 01903 #define GPIO_IN_PIN18_Low (0UL) /*!< Pin input is low. */ 01904 #define GPIO_IN_PIN18_High (1UL) /*!< Pin input is high. */ 01905 01906 /* Bit 17 : Pin 17. */ 01907 #define GPIO_IN_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 01908 #define GPIO_IN_PIN17_Msk (0x1UL << GPIO_IN_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 01909 #define GPIO_IN_PIN17_Low (0UL) /*!< Pin input is low. */ 01910 #define GPIO_IN_PIN17_High (1UL) /*!< Pin input is high. */ 01911 01912 /* Bit 16 : Pin 16. */ 01913 #define GPIO_IN_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 01914 #define GPIO_IN_PIN16_Msk (0x1UL << GPIO_IN_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 01915 #define GPIO_IN_PIN16_Low (0UL) /*!< Pin input is low. */ 01916 #define GPIO_IN_PIN16_High (1UL) /*!< Pin input is high. */ 01917 01918 /* Bit 15 : Pin 15. */ 01919 #define GPIO_IN_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 01920 #define GPIO_IN_PIN15_Msk (0x1UL << GPIO_IN_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 01921 #define GPIO_IN_PIN15_Low (0UL) /*!< Pin input is low. */ 01922 #define GPIO_IN_PIN15_High (1UL) /*!< Pin input is high. */ 01923 01924 /* Bit 14 : Pin 14. */ 01925 #define GPIO_IN_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 01926 #define GPIO_IN_PIN14_Msk (0x1UL << GPIO_IN_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 01927 #define GPIO_IN_PIN14_Low (0UL) /*!< Pin input is low. */ 01928 #define GPIO_IN_PIN14_High (1UL) /*!< Pin input is high. */ 01929 01930 /* Bit 13 : Pin 13. */ 01931 #define GPIO_IN_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 01932 #define GPIO_IN_PIN13_Msk (0x1UL << GPIO_IN_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 01933 #define GPIO_IN_PIN13_Low (0UL) /*!< Pin input is low. */ 01934 #define GPIO_IN_PIN13_High (1UL) /*!< Pin input is high. */ 01935 01936 /* Bit 12 : Pin 12. */ 01937 #define GPIO_IN_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 01938 #define GPIO_IN_PIN12_Msk (0x1UL << GPIO_IN_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 01939 #define GPIO_IN_PIN12_Low (0UL) /*!< Pin input is low. */ 01940 #define GPIO_IN_PIN12_High (1UL) /*!< Pin input is high. */ 01941 01942 /* Bit 11 : Pin 11. */ 01943 #define GPIO_IN_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 01944 #define GPIO_IN_PIN11_Msk (0x1UL << GPIO_IN_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 01945 #define GPIO_IN_PIN11_Low (0UL) /*!< Pin input is low. */ 01946 #define GPIO_IN_PIN11_High (1UL) /*!< Pin input is high. */ 01947 01948 /* Bit 10 : Pin 10. */ 01949 #define GPIO_IN_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 01950 #define GPIO_IN_PIN10_Msk (0x1UL << GPIO_IN_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 01951 #define GPIO_IN_PIN10_Low (0UL) /*!< Pin input is low. */ 01952 #define GPIO_IN_PIN10_High (1UL) /*!< Pin input is high. */ 01953 01954 /* Bit 9 : Pin 9. */ 01955 #define GPIO_IN_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 01956 #define GPIO_IN_PIN9_Msk (0x1UL << GPIO_IN_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 01957 #define GPIO_IN_PIN9_Low (0UL) /*!< Pin input is low. */ 01958 #define GPIO_IN_PIN9_High (1UL) /*!< Pin input is high. */ 01959 01960 /* Bit 8 : Pin 8. */ 01961 #define GPIO_IN_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 01962 #define GPIO_IN_PIN8_Msk (0x1UL << GPIO_IN_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 01963 #define GPIO_IN_PIN8_Low (0UL) /*!< Pin input is low. */ 01964 #define GPIO_IN_PIN8_High (1UL) /*!< Pin input is high. */ 01965 01966 /* Bit 7 : Pin 7. */ 01967 #define GPIO_IN_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 01968 #define GPIO_IN_PIN7_Msk (0x1UL << GPIO_IN_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 01969 #define GPIO_IN_PIN7_Low (0UL) /*!< Pin input is low. */ 01970 #define GPIO_IN_PIN7_High (1UL) /*!< Pin input is high. */ 01971 01972 /* Bit 6 : Pin 6. */ 01973 #define GPIO_IN_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 01974 #define GPIO_IN_PIN6_Msk (0x1UL << GPIO_IN_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 01975 #define GPIO_IN_PIN6_Low (0UL) /*!< Pin input is low. */ 01976 #define GPIO_IN_PIN6_High (1UL) /*!< Pin input is high. */ 01977 01978 /* Bit 5 : Pin 5. */ 01979 #define GPIO_IN_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 01980 #define GPIO_IN_PIN5_Msk (0x1UL << GPIO_IN_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 01981 #define GPIO_IN_PIN5_Low (0UL) /*!< Pin input is low. */ 01982 #define GPIO_IN_PIN5_High (1UL) /*!< Pin input is high. */ 01983 01984 /* Bit 4 : Pin 4. */ 01985 #define GPIO_IN_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 01986 #define GPIO_IN_PIN4_Msk (0x1UL << GPIO_IN_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 01987 #define GPIO_IN_PIN4_Low (0UL) /*!< Pin input is low. */ 01988 #define GPIO_IN_PIN4_High (1UL) /*!< Pin input is high. */ 01989 01990 /* Bit 3 : Pin 3. */ 01991 #define GPIO_IN_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 01992 #define GPIO_IN_PIN3_Msk (0x1UL << GPIO_IN_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 01993 #define GPIO_IN_PIN3_Low (0UL) /*!< Pin input is low. */ 01994 #define GPIO_IN_PIN3_High (1UL) /*!< Pin input is high. */ 01995 01996 /* Bit 2 : Pin 2. */ 01997 #define GPIO_IN_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 01998 #define GPIO_IN_PIN2_Msk (0x1UL << GPIO_IN_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 01999 #define GPIO_IN_PIN2_Low (0UL) /*!< Pin input is low. */ 02000 #define GPIO_IN_PIN2_High (1UL) /*!< Pin input is high. */ 02001 02002 /* Bit 1 : Pin 1. */ 02003 #define GPIO_IN_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 02004 #define GPIO_IN_PIN1_Msk (0x1UL << GPIO_IN_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 02005 #define GPIO_IN_PIN1_Low (0UL) /*!< Pin input is low. */ 02006 #define GPIO_IN_PIN1_High (1UL) /*!< Pin input is high. */ 02007 02008 /* Bit 0 : Pin 0. */ 02009 #define GPIO_IN_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 02010 #define GPIO_IN_PIN0_Msk (0x1UL << GPIO_IN_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 02011 #define GPIO_IN_PIN0_Low (0UL) /*!< Pin input is low. */ 02012 #define GPIO_IN_PIN0_High (1UL) /*!< Pin input is high. */ 02013 02014 /* Register: GPIO_DIR */ 02015 /* Description: Direction of GPIO pins. */ 02016 02017 /* Bit 31 : Pin 31. */ 02018 #define GPIO_DIR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 02019 #define GPIO_DIR_PIN31_Msk (0x1UL << GPIO_DIR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 02020 #define GPIO_DIR_PIN31_Input (0UL) /*!< Pin set as input. */ 02021 #define GPIO_DIR_PIN31_Output (1UL) /*!< Pin set as output. */ 02022 02023 /* Bit 30 : Pin 30. */ 02024 #define GPIO_DIR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 02025 #define GPIO_DIR_PIN30_Msk (0x1UL << GPIO_DIR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 02026 #define GPIO_DIR_PIN30_Input (0UL) /*!< Pin set as input. */ 02027 #define GPIO_DIR_PIN30_Output (1UL) /*!< Pin set as output. */ 02028 02029 /* Bit 29 : Pin 29. */ 02030 #define GPIO_DIR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 02031 #define GPIO_DIR_PIN29_Msk (0x1UL << GPIO_DIR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 02032 #define GPIO_DIR_PIN29_Input (0UL) /*!< Pin set as input. */ 02033 #define GPIO_DIR_PIN29_Output (1UL) /*!< Pin set as output. */ 02034 02035 /* Bit 28 : Pin 28. */ 02036 #define GPIO_DIR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 02037 #define GPIO_DIR_PIN28_Msk (0x1UL << GPIO_DIR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 02038 #define GPIO_DIR_PIN28_Input (0UL) /*!< Pin set as input. */ 02039 #define GPIO_DIR_PIN28_Output (1UL) /*!< Pin set as output. */ 02040 02041 /* Bit 27 : Pin 27. */ 02042 #define GPIO_DIR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 02043 #define GPIO_DIR_PIN27_Msk (0x1UL << GPIO_DIR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 02044 #define GPIO_DIR_PIN27_Input (0UL) /*!< Pin set as input. */ 02045 #define GPIO_DIR_PIN27_Output (1UL) /*!< Pin set as output. */ 02046 02047 /* Bit 26 : Pin 26. */ 02048 #define GPIO_DIR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 02049 #define GPIO_DIR_PIN26_Msk (0x1UL << GPIO_DIR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 02050 #define GPIO_DIR_PIN26_Input (0UL) /*!< Pin set as input. */ 02051 #define GPIO_DIR_PIN26_Output (1UL) /*!< Pin set as output. */ 02052 02053 /* Bit 25 : Pin 25. */ 02054 #define GPIO_DIR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 02055 #define GPIO_DIR_PIN25_Msk (0x1UL << GPIO_DIR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 02056 #define GPIO_DIR_PIN25_Input (0UL) /*!< Pin set as input. */ 02057 #define GPIO_DIR_PIN25_Output (1UL) /*!< Pin set as output. */ 02058 02059 /* Bit 24 : Pin 24. */ 02060 #define GPIO_DIR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 02061 #define GPIO_DIR_PIN24_Msk (0x1UL << GPIO_DIR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 02062 #define GPIO_DIR_PIN24_Input (0UL) /*!< Pin set as input. */ 02063 #define GPIO_DIR_PIN24_Output (1UL) /*!< Pin set as output. */ 02064 02065 /* Bit 23 : Pin 23. */ 02066 #define GPIO_DIR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 02067 #define GPIO_DIR_PIN23_Msk (0x1UL << GPIO_DIR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 02068 #define GPIO_DIR_PIN23_Input (0UL) /*!< Pin set as input. */ 02069 #define GPIO_DIR_PIN23_Output (1UL) /*!< Pin set as output. */ 02070 02071 /* Bit 22 : Pin 22. */ 02072 #define GPIO_DIR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 02073 #define GPIO_DIR_PIN22_Msk (0x1UL << GPIO_DIR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 02074 #define GPIO_DIR_PIN22_Input (0UL) /*!< Pin set as input. */ 02075 #define GPIO_DIR_PIN22_Output (1UL) /*!< Pin set as output. */ 02076 02077 /* Bit 21 : Pin 21. */ 02078 #define GPIO_DIR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 02079 #define GPIO_DIR_PIN21_Msk (0x1UL << GPIO_DIR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 02080 #define GPIO_DIR_PIN21_Input (0UL) /*!< Pin set as input. */ 02081 #define GPIO_DIR_PIN21_Output (1UL) /*!< Pin set as output. */ 02082 02083 /* Bit 20 : Pin 20. */ 02084 #define GPIO_DIR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 02085 #define GPIO_DIR_PIN20_Msk (0x1UL << GPIO_DIR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 02086 #define GPIO_DIR_PIN20_Input (0UL) /*!< Pin set as input. */ 02087 #define GPIO_DIR_PIN20_Output (1UL) /*!< Pin set as output. */ 02088 02089 /* Bit 19 : Pin 19. */ 02090 #define GPIO_DIR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 02091 #define GPIO_DIR_PIN19_Msk (0x1UL << GPIO_DIR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 02092 #define GPIO_DIR_PIN19_Input (0UL) /*!< Pin set as input. */ 02093 #define GPIO_DIR_PIN19_Output (1UL) /*!< Pin set as output. */ 02094 02095 /* Bit 18 : Pin 18. */ 02096 #define GPIO_DIR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 02097 #define GPIO_DIR_PIN18_Msk (0x1UL << GPIO_DIR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 02098 #define GPIO_DIR_PIN18_Input (0UL) /*!< Pin set as input. */ 02099 #define GPIO_DIR_PIN18_Output (1UL) /*!< Pin set as output. */ 02100 02101 /* Bit 17 : Pin 17. */ 02102 #define GPIO_DIR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 02103 #define GPIO_DIR_PIN17_Msk (0x1UL << GPIO_DIR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 02104 #define GPIO_DIR_PIN17_Input (0UL) /*!< Pin set as input. */ 02105 #define GPIO_DIR_PIN17_Output (1UL) /*!< Pin set as output. */ 02106 02107 /* Bit 16 : Pin 16. */ 02108 #define GPIO_DIR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 02109 #define GPIO_DIR_PIN16_Msk (0x1UL << GPIO_DIR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 02110 #define GPIO_DIR_PIN16_Input (0UL) /*!< Pin set as input. */ 02111 #define GPIO_DIR_PIN16_Output (1UL) /*!< Pin set as output. */ 02112 02113 /* Bit 15 : Pin 15. */ 02114 #define GPIO_DIR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 02115 #define GPIO_DIR_PIN15_Msk (0x1UL << GPIO_DIR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 02116 #define GPIO_DIR_PIN15_Input (0UL) /*!< Pin set as input. */ 02117 #define GPIO_DIR_PIN15_Output (1UL) /*!< Pin set as output. */ 02118 02119 /* Bit 14 : Pin 14. */ 02120 #define GPIO_DIR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 02121 #define GPIO_DIR_PIN14_Msk (0x1UL << GPIO_DIR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 02122 #define GPIO_DIR_PIN14_Input (0UL) /*!< Pin set as input. */ 02123 #define GPIO_DIR_PIN14_Output (1UL) /*!< Pin set as output. */ 02124 02125 /* Bit 13 : Pin 13. */ 02126 #define GPIO_DIR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 02127 #define GPIO_DIR_PIN13_Msk (0x1UL << GPIO_DIR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 02128 #define GPIO_DIR_PIN13_Input (0UL) /*!< Pin set as input. */ 02129 #define GPIO_DIR_PIN13_Output (1UL) /*!< Pin set as output. */ 02130 02131 /* Bit 12 : Pin 12. */ 02132 #define GPIO_DIR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 02133 #define GPIO_DIR_PIN12_Msk (0x1UL << GPIO_DIR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 02134 #define GPIO_DIR_PIN12_Input (0UL) /*!< Pin set as input. */ 02135 #define GPIO_DIR_PIN12_Output (1UL) /*!< Pin set as output. */ 02136 02137 /* Bit 11 : Pin 11. */ 02138 #define GPIO_DIR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 02139 #define GPIO_DIR_PIN11_Msk (0x1UL << GPIO_DIR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 02140 #define GPIO_DIR_PIN11_Input (0UL) /*!< Pin set as input. */ 02141 #define GPIO_DIR_PIN11_Output (1UL) /*!< Pin set as output. */ 02142 02143 /* Bit 10 : Pin 10. */ 02144 #define GPIO_DIR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 02145 #define GPIO_DIR_PIN10_Msk (0x1UL << GPIO_DIR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 02146 #define GPIO_DIR_PIN10_Input (0UL) /*!< Pin set as input. */ 02147 #define GPIO_DIR_PIN10_Output (1UL) /*!< Pin set as output. */ 02148 02149 /* Bit 9 : Pin 9. */ 02150 #define GPIO_DIR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 02151 #define GPIO_DIR_PIN9_Msk (0x1UL << GPIO_DIR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 02152 #define GPIO_DIR_PIN9_Input (0UL) /*!< Pin set as input. */ 02153 #define GPIO_DIR_PIN9_Output (1UL) /*!< Pin set as output. */ 02154 02155 /* Bit 8 : Pin 8. */ 02156 #define GPIO_DIR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 02157 #define GPIO_DIR_PIN8_Msk (0x1UL << GPIO_DIR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 02158 #define GPIO_DIR_PIN8_Input (0UL) /*!< Pin set as input. */ 02159 #define GPIO_DIR_PIN8_Output (1UL) /*!< Pin set as output. */ 02160 02161 /* Bit 7 : Pin 7. */ 02162 #define GPIO_DIR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 02163 #define GPIO_DIR_PIN7_Msk (0x1UL << GPIO_DIR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 02164 #define GPIO_DIR_PIN7_Input (0UL) /*!< Pin set as input. */ 02165 #define GPIO_DIR_PIN7_Output (1UL) /*!< Pin set as output. */ 02166 02167 /* Bit 6 : Pin 6. */ 02168 #define GPIO_DIR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 02169 #define GPIO_DIR_PIN6_Msk (0x1UL << GPIO_DIR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 02170 #define GPIO_DIR_PIN6_Input (0UL) /*!< Pin set as input. */ 02171 #define GPIO_DIR_PIN6_Output (1UL) /*!< Pin set as output. */ 02172 02173 /* Bit 5 : Pin 5. */ 02174 #define GPIO_DIR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 02175 #define GPIO_DIR_PIN5_Msk (0x1UL << GPIO_DIR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 02176 #define GPIO_DIR_PIN5_Input (0UL) /*!< Pin set as input. */ 02177 #define GPIO_DIR_PIN5_Output (1UL) /*!< Pin set as output. */ 02178 02179 /* Bit 4 : Pin 4. */ 02180 #define GPIO_DIR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 02181 #define GPIO_DIR_PIN4_Msk (0x1UL << GPIO_DIR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 02182 #define GPIO_DIR_PIN4_Input (0UL) /*!< Pin set as input. */ 02183 #define GPIO_DIR_PIN4_Output (1UL) /*!< Pin set as output. */ 02184 02185 /* Bit 3 : Pin 3. */ 02186 #define GPIO_DIR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 02187 #define GPIO_DIR_PIN3_Msk (0x1UL << GPIO_DIR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 02188 #define GPIO_DIR_PIN3_Input (0UL) /*!< Pin set as input. */ 02189 #define GPIO_DIR_PIN3_Output (1UL) /*!< Pin set as output. */ 02190 02191 /* Bit 2 : Pin 2. */ 02192 #define GPIO_DIR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 02193 #define GPIO_DIR_PIN2_Msk (0x1UL << GPIO_DIR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 02194 #define GPIO_DIR_PIN2_Input (0UL) /*!< Pin set as input. */ 02195 #define GPIO_DIR_PIN2_Output (1UL) /*!< Pin set as output. */ 02196 02197 /* Bit 1 : Pin 1. */ 02198 #define GPIO_DIR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 02199 #define GPIO_DIR_PIN1_Msk (0x1UL << GPIO_DIR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 02200 #define GPIO_DIR_PIN1_Input (0UL) /*!< Pin set as input. */ 02201 #define GPIO_DIR_PIN1_Output (1UL) /*!< Pin set as output. */ 02202 02203 /* Bit 0 : Pin 0. */ 02204 #define GPIO_DIR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 02205 #define GPIO_DIR_PIN0_Msk (0x1UL << GPIO_DIR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 02206 #define GPIO_DIR_PIN0_Input (0UL) /*!< Pin set as input. */ 02207 #define GPIO_DIR_PIN0_Output (1UL) /*!< Pin set as output. */ 02208 02209 /* Register: GPIO_DIRSET */ 02210 /* Description: DIR set register. */ 02211 02212 /* Bit 31 : Set as output pin 31. */ 02213 #define GPIO_DIRSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 02214 #define GPIO_DIRSET_PIN31_Msk (0x1UL << GPIO_DIRSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 02215 #define GPIO_DIRSET_PIN31_Input (0UL) /*!< Pin set as input. */ 02216 #define GPIO_DIRSET_PIN31_Output (1UL) /*!< Pin set as output. */ 02217 #define GPIO_DIRSET_PIN31_Set (1UL) /*!< Set pin as output. */ 02218 02219 /* Bit 30 : Set as output pin 30. */ 02220 #define GPIO_DIRSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 02221 #define GPIO_DIRSET_PIN30_Msk (0x1UL << GPIO_DIRSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 02222 #define GPIO_DIRSET_PIN30_Input (0UL) /*!< Pin set as input. */ 02223 #define GPIO_DIRSET_PIN30_Output (1UL) /*!< Pin set as output. */ 02224 #define GPIO_DIRSET_PIN30_Set (1UL) /*!< Set pin as output. */ 02225 02226 /* Bit 29 : Set as output pin 29. */ 02227 #define GPIO_DIRSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 02228 #define GPIO_DIRSET_PIN29_Msk (0x1UL << GPIO_DIRSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 02229 #define GPIO_DIRSET_PIN29_Input (0UL) /*!< Pin set as input. */ 02230 #define GPIO_DIRSET_PIN29_Output (1UL) /*!< Pin set as output. */ 02231 #define GPIO_DIRSET_PIN29_Set (1UL) /*!< Set pin as output. */ 02232 02233 /* Bit 28 : Set as output pin 28. */ 02234 #define GPIO_DIRSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 02235 #define GPIO_DIRSET_PIN28_Msk (0x1UL << GPIO_DIRSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 02236 #define GPIO_DIRSET_PIN28_Input (0UL) /*!< Pin set as input. */ 02237 #define GPIO_DIRSET_PIN28_Output (1UL) /*!< Pin set as output. */ 02238 #define GPIO_DIRSET_PIN28_Set (1UL) /*!< Set pin as output. */ 02239 02240 /* Bit 27 : Set as output pin 27. */ 02241 #define GPIO_DIRSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 02242 #define GPIO_DIRSET_PIN27_Msk (0x1UL << GPIO_DIRSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 02243 #define GPIO_DIRSET_PIN27_Input (0UL) /*!< Pin set as input. */ 02244 #define GPIO_DIRSET_PIN27_Output (1UL) /*!< Pin set as output. */ 02245 #define GPIO_DIRSET_PIN27_Set (1UL) /*!< Set pin as output. */ 02246 02247 /* Bit 26 : Set as output pin 26. */ 02248 #define GPIO_DIRSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 02249 #define GPIO_DIRSET_PIN26_Msk (0x1UL << GPIO_DIRSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 02250 #define GPIO_DIRSET_PIN26_Input (0UL) /*!< Pin set as input. */ 02251 #define GPIO_DIRSET_PIN26_Output (1UL) /*!< Pin set as output. */ 02252 #define GPIO_DIRSET_PIN26_Set (1UL) /*!< Set pin as output. */ 02253 02254 /* Bit 25 : Set as output pin 25. */ 02255 #define GPIO_DIRSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 02256 #define GPIO_DIRSET_PIN25_Msk (0x1UL << GPIO_DIRSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 02257 #define GPIO_DIRSET_PIN25_Input (0UL) /*!< Pin set as input. */ 02258 #define GPIO_DIRSET_PIN25_Output (1UL) /*!< Pin set as output. */ 02259 #define GPIO_DIRSET_PIN25_Set (1UL) /*!< Set pin as output. */ 02260 02261 /* Bit 24 : Set as output pin 24. */ 02262 #define GPIO_DIRSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 02263 #define GPIO_DIRSET_PIN24_Msk (0x1UL << GPIO_DIRSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 02264 #define GPIO_DIRSET_PIN24_Input (0UL) /*!< Pin set as input. */ 02265 #define GPIO_DIRSET_PIN24_Output (1UL) /*!< Pin set as output. */ 02266 #define GPIO_DIRSET_PIN24_Set (1UL) /*!< Set pin as output. */ 02267 02268 /* Bit 23 : Set as output pin 23. */ 02269 #define GPIO_DIRSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 02270 #define GPIO_DIRSET_PIN23_Msk (0x1UL << GPIO_DIRSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 02271 #define GPIO_DIRSET_PIN23_Input (0UL) /*!< Pin set as input. */ 02272 #define GPIO_DIRSET_PIN23_Output (1UL) /*!< Pin set as output. */ 02273 #define GPIO_DIRSET_PIN23_Set (1UL) /*!< Set pin as output. */ 02274 02275 /* Bit 22 : Set as output pin 22. */ 02276 #define GPIO_DIRSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 02277 #define GPIO_DIRSET_PIN22_Msk (0x1UL << GPIO_DIRSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 02278 #define GPIO_DIRSET_PIN22_Input (0UL) /*!< Pin set as input. */ 02279 #define GPIO_DIRSET_PIN22_Output (1UL) /*!< Pin set as output. */ 02280 #define GPIO_DIRSET_PIN22_Set (1UL) /*!< Set pin as output. */ 02281 02282 /* Bit 21 : Set as output pin 21. */ 02283 #define GPIO_DIRSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 02284 #define GPIO_DIRSET_PIN21_Msk (0x1UL << GPIO_DIRSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 02285 #define GPIO_DIRSET_PIN21_Input (0UL) /*!< Pin set as input. */ 02286 #define GPIO_DIRSET_PIN21_Output (1UL) /*!< Pin set as output. */ 02287 #define GPIO_DIRSET_PIN21_Set (1UL) /*!< Set pin as output. */ 02288 02289 /* Bit 20 : Set as output pin 20. */ 02290 #define GPIO_DIRSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 02291 #define GPIO_DIRSET_PIN20_Msk (0x1UL << GPIO_DIRSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 02292 #define GPIO_DIRSET_PIN20_Input (0UL) /*!< Pin set as input. */ 02293 #define GPIO_DIRSET_PIN20_Output (1UL) /*!< Pin set as output. */ 02294 #define GPIO_DIRSET_PIN20_Set (1UL) /*!< Set pin as output. */ 02295 02296 /* Bit 19 : Set as output pin 19. */ 02297 #define GPIO_DIRSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 02298 #define GPIO_DIRSET_PIN19_Msk (0x1UL << GPIO_DIRSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 02299 #define GPIO_DIRSET_PIN19_Input (0UL) /*!< Pin set as input. */ 02300 #define GPIO_DIRSET_PIN19_Output (1UL) /*!< Pin set as output. */ 02301 #define GPIO_DIRSET_PIN19_Set (1UL) /*!< Set pin as output. */ 02302 02303 /* Bit 18 : Set as output pin 18. */ 02304 #define GPIO_DIRSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 02305 #define GPIO_DIRSET_PIN18_Msk (0x1UL << GPIO_DIRSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 02306 #define GPIO_DIRSET_PIN18_Input (0UL) /*!< Pin set as input. */ 02307 #define GPIO_DIRSET_PIN18_Output (1UL) /*!< Pin set as output. */ 02308 #define GPIO_DIRSET_PIN18_Set (1UL) /*!< Set pin as output. */ 02309 02310 /* Bit 17 : Set as output pin 17. */ 02311 #define GPIO_DIRSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 02312 #define GPIO_DIRSET_PIN17_Msk (0x1UL << GPIO_DIRSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 02313 #define GPIO_DIRSET_PIN17_Input (0UL) /*!< Pin set as input. */ 02314 #define GPIO_DIRSET_PIN17_Output (1UL) /*!< Pin set as output. */ 02315 #define GPIO_DIRSET_PIN17_Set (1UL) /*!< Set pin as output. */ 02316 02317 /* Bit 16 : Set as output pin 16. */ 02318 #define GPIO_DIRSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 02319 #define GPIO_DIRSET_PIN16_Msk (0x1UL << GPIO_DIRSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 02320 #define GPIO_DIRSET_PIN16_Input (0UL) /*!< Pin set as input. */ 02321 #define GPIO_DIRSET_PIN16_Output (1UL) /*!< Pin set as output. */ 02322 #define GPIO_DIRSET_PIN16_Set (1UL) /*!< Set pin as output. */ 02323 02324 /* Bit 15 : Set as output pin 15. */ 02325 #define GPIO_DIRSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 02326 #define GPIO_DIRSET_PIN15_Msk (0x1UL << GPIO_DIRSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 02327 #define GPIO_DIRSET_PIN15_Input (0UL) /*!< Pin set as input. */ 02328 #define GPIO_DIRSET_PIN15_Output (1UL) /*!< Pin set as output. */ 02329 #define GPIO_DIRSET_PIN15_Set (1UL) /*!< Set pin as output. */ 02330 02331 /* Bit 14 : Set as output pin 14. */ 02332 #define GPIO_DIRSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 02333 #define GPIO_DIRSET_PIN14_Msk (0x1UL << GPIO_DIRSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 02334 #define GPIO_DIRSET_PIN14_Input (0UL) /*!< Pin set as input. */ 02335 #define GPIO_DIRSET_PIN14_Output (1UL) /*!< Pin set as output. */ 02336 #define GPIO_DIRSET_PIN14_Set (1UL) /*!< Set pin as output. */ 02337 02338 /* Bit 13 : Set as output pin 13. */ 02339 #define GPIO_DIRSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 02340 #define GPIO_DIRSET_PIN13_Msk (0x1UL << GPIO_DIRSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 02341 #define GPIO_DIRSET_PIN13_Input (0UL) /*!< Pin set as input. */ 02342 #define GPIO_DIRSET_PIN13_Output (1UL) /*!< Pin set as output. */ 02343 #define GPIO_DIRSET_PIN13_Set (1UL) /*!< Set pin as output. */ 02344 02345 /* Bit 12 : Set as output pin 12. */ 02346 #define GPIO_DIRSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 02347 #define GPIO_DIRSET_PIN12_Msk (0x1UL << GPIO_DIRSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 02348 #define GPIO_DIRSET_PIN12_Input (0UL) /*!< Pin set as input. */ 02349 #define GPIO_DIRSET_PIN12_Output (1UL) /*!< Pin set as output. */ 02350 #define GPIO_DIRSET_PIN12_Set (1UL) /*!< Set pin as output. */ 02351 02352 /* Bit 11 : Set as output pin 11. */ 02353 #define GPIO_DIRSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 02354 #define GPIO_DIRSET_PIN11_Msk (0x1UL << GPIO_DIRSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 02355 #define GPIO_DIRSET_PIN11_Input (0UL) /*!< Pin set as input. */ 02356 #define GPIO_DIRSET_PIN11_Output (1UL) /*!< Pin set as output. */ 02357 #define GPIO_DIRSET_PIN11_Set (1UL) /*!< Set pin as output. */ 02358 02359 /* Bit 10 : Set as output pin 10. */ 02360 #define GPIO_DIRSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 02361 #define GPIO_DIRSET_PIN10_Msk (0x1UL << GPIO_DIRSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 02362 #define GPIO_DIRSET_PIN10_Input (0UL) /*!< Pin set as input. */ 02363 #define GPIO_DIRSET_PIN10_Output (1UL) /*!< Pin set as output. */ 02364 #define GPIO_DIRSET_PIN10_Set (1UL) /*!< Set pin as output. */ 02365 02366 /* Bit 9 : Set as output pin 9. */ 02367 #define GPIO_DIRSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 02368 #define GPIO_DIRSET_PIN9_Msk (0x1UL << GPIO_DIRSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 02369 #define GPIO_DIRSET_PIN9_Input (0UL) /*!< Pin set as input. */ 02370 #define GPIO_DIRSET_PIN9_Output (1UL) /*!< Pin set as output. */ 02371 #define GPIO_DIRSET_PIN9_Set (1UL) /*!< Set pin as output. */ 02372 02373 /* Bit 8 : Set as output pin 8. */ 02374 #define GPIO_DIRSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 02375 #define GPIO_DIRSET_PIN8_Msk (0x1UL << GPIO_DIRSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 02376 #define GPIO_DIRSET_PIN8_Input (0UL) /*!< Pin set as input. */ 02377 #define GPIO_DIRSET_PIN8_Output (1UL) /*!< Pin set as output. */ 02378 #define GPIO_DIRSET_PIN8_Set (1UL) /*!< Set pin as output. */ 02379 02380 /* Bit 7 : Set as output pin 7. */ 02381 #define GPIO_DIRSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 02382 #define GPIO_DIRSET_PIN7_Msk (0x1UL << GPIO_DIRSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 02383 #define GPIO_DIRSET_PIN7_Input (0UL) /*!< Pin set as input. */ 02384 #define GPIO_DIRSET_PIN7_Output (1UL) /*!< Pin set as output. */ 02385 #define GPIO_DIRSET_PIN7_Set (1UL) /*!< Set pin as output. */ 02386 02387 /* Bit 6 : Set as output pin 6. */ 02388 #define GPIO_DIRSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 02389 #define GPIO_DIRSET_PIN6_Msk (0x1UL << GPIO_DIRSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 02390 #define GPIO_DIRSET_PIN6_Input (0UL) /*!< Pin set as input. */ 02391 #define GPIO_DIRSET_PIN6_Output (1UL) /*!< Pin set as output. */ 02392 #define GPIO_DIRSET_PIN6_Set (1UL) /*!< Set pin as output. */ 02393 02394 /* Bit 5 : Set as output pin 5. */ 02395 #define GPIO_DIRSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 02396 #define GPIO_DIRSET_PIN5_Msk (0x1UL << GPIO_DIRSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 02397 #define GPIO_DIRSET_PIN5_Input (0UL) /*!< Pin set as input. */ 02398 #define GPIO_DIRSET_PIN5_Output (1UL) /*!< Pin set as output. */ 02399 #define GPIO_DIRSET_PIN5_Set (1UL) /*!< Set pin as output. */ 02400 02401 /* Bit 4 : Set as output pin 4. */ 02402 #define GPIO_DIRSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 02403 #define GPIO_DIRSET_PIN4_Msk (0x1UL << GPIO_DIRSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 02404 #define GPIO_DIRSET_PIN4_Input (0UL) /*!< Pin set as input. */ 02405 #define GPIO_DIRSET_PIN4_Output (1UL) /*!< Pin set as output. */ 02406 #define GPIO_DIRSET_PIN4_Set (1UL) /*!< Set pin as output. */ 02407 02408 /* Bit 3 : Set as output pin 3. */ 02409 #define GPIO_DIRSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 02410 #define GPIO_DIRSET_PIN3_Msk (0x1UL << GPIO_DIRSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 02411 #define GPIO_DIRSET_PIN3_Input (0UL) /*!< Pin set as input. */ 02412 #define GPIO_DIRSET_PIN3_Output (1UL) /*!< Pin set as output. */ 02413 #define GPIO_DIRSET_PIN3_Set (1UL) /*!< Set pin as output. */ 02414 02415 /* Bit 2 : Set as output pin 2. */ 02416 #define GPIO_DIRSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 02417 #define GPIO_DIRSET_PIN2_Msk (0x1UL << GPIO_DIRSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 02418 #define GPIO_DIRSET_PIN2_Input (0UL) /*!< Pin set as input. */ 02419 #define GPIO_DIRSET_PIN2_Output (1UL) /*!< Pin set as output. */ 02420 #define GPIO_DIRSET_PIN2_Set (1UL) /*!< Set pin as output. */ 02421 02422 /* Bit 1 : Set as output pin 1. */ 02423 #define GPIO_DIRSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 02424 #define GPIO_DIRSET_PIN1_Msk (0x1UL << GPIO_DIRSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 02425 #define GPIO_DIRSET_PIN1_Input (0UL) /*!< Pin set as input. */ 02426 #define GPIO_DIRSET_PIN1_Output (1UL) /*!< Pin set as output. */ 02427 #define GPIO_DIRSET_PIN1_Set (1UL) /*!< Set pin as output. */ 02428 02429 /* Bit 0 : Set as output pin 0. */ 02430 #define GPIO_DIRSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 02431 #define GPIO_DIRSET_PIN0_Msk (0x1UL << GPIO_DIRSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 02432 #define GPIO_DIRSET_PIN0_Input (0UL) /*!< Pin set as input. */ 02433 #define GPIO_DIRSET_PIN0_Output (1UL) /*!< Pin set as output. */ 02434 #define GPIO_DIRSET_PIN0_Set (1UL) /*!< Set pin as output. */ 02435 02436 /* Register: GPIO_DIRCLR */ 02437 /* Description: DIR clear register. */ 02438 02439 /* Bit 31 : Set as input pin 31. */ 02440 #define GPIO_DIRCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */ 02441 #define GPIO_DIRCLR_PIN31_Msk (0x1UL << GPIO_DIRCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */ 02442 #define GPIO_DIRCLR_PIN31_Input (0UL) /*!< Pin set as input. */ 02443 #define GPIO_DIRCLR_PIN31_Output (1UL) /*!< Pin set as output. */ 02444 #define GPIO_DIRCLR_PIN31_Clear (1UL) /*!< Set pin as input. */ 02445 02446 /* Bit 30 : Set as input pin 30. */ 02447 #define GPIO_DIRCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */ 02448 #define GPIO_DIRCLR_PIN30_Msk (0x1UL << GPIO_DIRCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */ 02449 #define GPIO_DIRCLR_PIN30_Input (0UL) /*!< Pin set as input. */ 02450 #define GPIO_DIRCLR_PIN30_Output (1UL) /*!< Pin set as output. */ 02451 #define GPIO_DIRCLR_PIN30_Clear (1UL) /*!< Set pin as input. */ 02452 02453 /* Bit 29 : Set as input pin 29. */ 02454 #define GPIO_DIRCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */ 02455 #define GPIO_DIRCLR_PIN29_Msk (0x1UL << GPIO_DIRCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */ 02456 #define GPIO_DIRCLR_PIN29_Input (0UL) /*!< Pin set as input. */ 02457 #define GPIO_DIRCLR_PIN29_Output (1UL) /*!< Pin set as output. */ 02458 #define GPIO_DIRCLR_PIN29_Clear (1UL) /*!< Set pin as input. */ 02459 02460 /* Bit 28 : Set as input pin 28. */ 02461 #define GPIO_DIRCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */ 02462 #define GPIO_DIRCLR_PIN28_Msk (0x1UL << GPIO_DIRCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */ 02463 #define GPIO_DIRCLR_PIN28_Input (0UL) /*!< Pin set as input. */ 02464 #define GPIO_DIRCLR_PIN28_Output (1UL) /*!< Pin set as output. */ 02465 #define GPIO_DIRCLR_PIN28_Clear (1UL) /*!< Set pin as input. */ 02466 02467 /* Bit 27 : Set as input pin 27. */ 02468 #define GPIO_DIRCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */ 02469 #define GPIO_DIRCLR_PIN27_Msk (0x1UL << GPIO_DIRCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */ 02470 #define GPIO_DIRCLR_PIN27_Input (0UL) /*!< Pin set as input. */ 02471 #define GPIO_DIRCLR_PIN27_Output (1UL) /*!< Pin set as output. */ 02472 #define GPIO_DIRCLR_PIN27_Clear (1UL) /*!< Set pin as input. */ 02473 02474 /* Bit 26 : Set as input pin 26. */ 02475 #define GPIO_DIRCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */ 02476 #define GPIO_DIRCLR_PIN26_Msk (0x1UL << GPIO_DIRCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */ 02477 #define GPIO_DIRCLR_PIN26_Input (0UL) /*!< Pin set as input. */ 02478 #define GPIO_DIRCLR_PIN26_Output (1UL) /*!< Pin set as output. */ 02479 #define GPIO_DIRCLR_PIN26_Clear (1UL) /*!< Set pin as input. */ 02480 02481 /* Bit 25 : Set as input pin 25. */ 02482 #define GPIO_DIRCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */ 02483 #define GPIO_DIRCLR_PIN25_Msk (0x1UL << GPIO_DIRCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */ 02484 #define GPIO_DIRCLR_PIN25_Input (0UL) /*!< Pin set as input. */ 02485 #define GPIO_DIRCLR_PIN25_Output (1UL) /*!< Pin set as output. */ 02486 #define GPIO_DIRCLR_PIN25_Clear (1UL) /*!< Set pin as input. */ 02487 02488 /* Bit 24 : Set as input pin 24. */ 02489 #define GPIO_DIRCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */ 02490 #define GPIO_DIRCLR_PIN24_Msk (0x1UL << GPIO_DIRCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */ 02491 #define GPIO_DIRCLR_PIN24_Input (0UL) /*!< Pin set as input. */ 02492 #define GPIO_DIRCLR_PIN24_Output (1UL) /*!< Pin set as output. */ 02493 #define GPIO_DIRCLR_PIN24_Clear (1UL) /*!< Set pin as input. */ 02494 02495 /* Bit 23 : Set as input pin 23. */ 02496 #define GPIO_DIRCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */ 02497 #define GPIO_DIRCLR_PIN23_Msk (0x1UL << GPIO_DIRCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */ 02498 #define GPIO_DIRCLR_PIN23_Input (0UL) /*!< Pin set as input. */ 02499 #define GPIO_DIRCLR_PIN23_Output (1UL) /*!< Pin set as output. */ 02500 #define GPIO_DIRCLR_PIN23_Clear (1UL) /*!< Set pin as input. */ 02501 02502 /* Bit 22 : Set as input pin 22. */ 02503 #define GPIO_DIRCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */ 02504 #define GPIO_DIRCLR_PIN22_Msk (0x1UL << GPIO_DIRCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */ 02505 #define GPIO_DIRCLR_PIN22_Input (0UL) /*!< Pin set as input. */ 02506 #define GPIO_DIRCLR_PIN22_Output (1UL) /*!< Pin set as output. */ 02507 #define GPIO_DIRCLR_PIN22_Clear (1UL) /*!< Set pin as input. */ 02508 02509 /* Bit 21 : Set as input pin 21. */ 02510 #define GPIO_DIRCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */ 02511 #define GPIO_DIRCLR_PIN21_Msk (0x1UL << GPIO_DIRCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */ 02512 #define GPIO_DIRCLR_PIN21_Input (0UL) /*!< Pin set as input. */ 02513 #define GPIO_DIRCLR_PIN21_Output (1UL) /*!< Pin set as output. */ 02514 #define GPIO_DIRCLR_PIN21_Clear (1UL) /*!< Set pin as input. */ 02515 02516 /* Bit 20 : Set as input pin 20. */ 02517 #define GPIO_DIRCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */ 02518 #define GPIO_DIRCLR_PIN20_Msk (0x1UL << GPIO_DIRCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */ 02519 #define GPIO_DIRCLR_PIN20_Input (0UL) /*!< Pin set as input. */ 02520 #define GPIO_DIRCLR_PIN20_Output (1UL) /*!< Pin set as output. */ 02521 #define GPIO_DIRCLR_PIN20_Clear (1UL) /*!< Set pin as input. */ 02522 02523 /* Bit 19 : Set as input pin 19. */ 02524 #define GPIO_DIRCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */ 02525 #define GPIO_DIRCLR_PIN19_Msk (0x1UL << GPIO_DIRCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */ 02526 #define GPIO_DIRCLR_PIN19_Input (0UL) /*!< Pin set as input. */ 02527 #define GPIO_DIRCLR_PIN19_Output (1UL) /*!< Pin set as output. */ 02528 #define GPIO_DIRCLR_PIN19_Clear (1UL) /*!< Set pin as input. */ 02529 02530 /* Bit 18 : Set as input pin 18. */ 02531 #define GPIO_DIRCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */ 02532 #define GPIO_DIRCLR_PIN18_Msk (0x1UL << GPIO_DIRCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */ 02533 #define GPIO_DIRCLR_PIN18_Input (0UL) /*!< Pin set as input. */ 02534 #define GPIO_DIRCLR_PIN18_Output (1UL) /*!< Pin set as output. */ 02535 #define GPIO_DIRCLR_PIN18_Clear (1UL) /*!< Set pin as input. */ 02536 02537 /* Bit 17 : Set as input pin 17. */ 02538 #define GPIO_DIRCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */ 02539 #define GPIO_DIRCLR_PIN17_Msk (0x1UL << GPIO_DIRCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */ 02540 #define GPIO_DIRCLR_PIN17_Input (0UL) /*!< Pin set as input. */ 02541 #define GPIO_DIRCLR_PIN17_Output (1UL) /*!< Pin set as output. */ 02542 #define GPIO_DIRCLR_PIN17_Clear (1UL) /*!< Set pin as input. */ 02543 02544 /* Bit 16 : Set as input pin 16. */ 02545 #define GPIO_DIRCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */ 02546 #define GPIO_DIRCLR_PIN16_Msk (0x1UL << GPIO_DIRCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */ 02547 #define GPIO_DIRCLR_PIN16_Input (0UL) /*!< Pin set as input. */ 02548 #define GPIO_DIRCLR_PIN16_Output (1UL) /*!< Pin set as output. */ 02549 #define GPIO_DIRCLR_PIN16_Clear (1UL) /*!< Set pin as input. */ 02550 02551 /* Bit 15 : Set as input pin 15. */ 02552 #define GPIO_DIRCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */ 02553 #define GPIO_DIRCLR_PIN15_Msk (0x1UL << GPIO_DIRCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */ 02554 #define GPIO_DIRCLR_PIN15_Input (0UL) /*!< Pin set as input. */ 02555 #define GPIO_DIRCLR_PIN15_Output (1UL) /*!< Pin set as output. */ 02556 #define GPIO_DIRCLR_PIN15_Clear (1UL) /*!< Set pin as input. */ 02557 02558 /* Bit 14 : Set as input pin 14. */ 02559 #define GPIO_DIRCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */ 02560 #define GPIO_DIRCLR_PIN14_Msk (0x1UL << GPIO_DIRCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */ 02561 #define GPIO_DIRCLR_PIN14_Input (0UL) /*!< Pin set as input. */ 02562 #define GPIO_DIRCLR_PIN14_Output (1UL) /*!< Pin set as output. */ 02563 #define GPIO_DIRCLR_PIN14_Clear (1UL) /*!< Set pin as input. */ 02564 02565 /* Bit 13 : Set as input pin 13. */ 02566 #define GPIO_DIRCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */ 02567 #define GPIO_DIRCLR_PIN13_Msk (0x1UL << GPIO_DIRCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */ 02568 #define GPIO_DIRCLR_PIN13_Input (0UL) /*!< Pin set as input. */ 02569 #define GPIO_DIRCLR_PIN13_Output (1UL) /*!< Pin set as output. */ 02570 #define GPIO_DIRCLR_PIN13_Clear (1UL) /*!< Set pin as input. */ 02571 02572 /* Bit 12 : Set as input pin 12. */ 02573 #define GPIO_DIRCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */ 02574 #define GPIO_DIRCLR_PIN12_Msk (0x1UL << GPIO_DIRCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */ 02575 #define GPIO_DIRCLR_PIN12_Input (0UL) /*!< Pin set as input. */ 02576 #define GPIO_DIRCLR_PIN12_Output (1UL) /*!< Pin set as output. */ 02577 #define GPIO_DIRCLR_PIN12_Clear (1UL) /*!< Set pin as input. */ 02578 02579 /* Bit 11 : Set as input pin 11. */ 02580 #define GPIO_DIRCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */ 02581 #define GPIO_DIRCLR_PIN11_Msk (0x1UL << GPIO_DIRCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */ 02582 #define GPIO_DIRCLR_PIN11_Input (0UL) /*!< Pin set as input. */ 02583 #define GPIO_DIRCLR_PIN11_Output (1UL) /*!< Pin set as output. */ 02584 #define GPIO_DIRCLR_PIN11_Clear (1UL) /*!< Set pin as input. */ 02585 02586 /* Bit 10 : Set as input pin 10. */ 02587 #define GPIO_DIRCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */ 02588 #define GPIO_DIRCLR_PIN10_Msk (0x1UL << GPIO_DIRCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */ 02589 #define GPIO_DIRCLR_PIN10_Input (0UL) /*!< Pin set as input. */ 02590 #define GPIO_DIRCLR_PIN10_Output (1UL) /*!< Pin set as output. */ 02591 #define GPIO_DIRCLR_PIN10_Clear (1UL) /*!< Set pin as input. */ 02592 02593 /* Bit 9 : Set as input pin 9. */ 02594 #define GPIO_DIRCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */ 02595 #define GPIO_DIRCLR_PIN9_Msk (0x1UL << GPIO_DIRCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */ 02596 #define GPIO_DIRCLR_PIN9_Input (0UL) /*!< Pin set as input. */ 02597 #define GPIO_DIRCLR_PIN9_Output (1UL) /*!< Pin set as output. */ 02598 #define GPIO_DIRCLR_PIN9_Clear (1UL) /*!< Set pin as input. */ 02599 02600 /* Bit 8 : Set as input pin 8. */ 02601 #define GPIO_DIRCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */ 02602 #define GPIO_DIRCLR_PIN8_Msk (0x1UL << GPIO_DIRCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */ 02603 #define GPIO_DIRCLR_PIN8_Input (0UL) /*!< Pin set as input. */ 02604 #define GPIO_DIRCLR_PIN8_Output (1UL) /*!< Pin set as output. */ 02605 #define GPIO_DIRCLR_PIN8_Clear (1UL) /*!< Set pin as input. */ 02606 02607 /* Bit 7 : Set as input pin 7. */ 02608 #define GPIO_DIRCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */ 02609 #define GPIO_DIRCLR_PIN7_Msk (0x1UL << GPIO_DIRCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */ 02610 #define GPIO_DIRCLR_PIN7_Input (0UL) /*!< Pin set as input. */ 02611 #define GPIO_DIRCLR_PIN7_Output (1UL) /*!< Pin set as output. */ 02612 #define GPIO_DIRCLR_PIN7_Clear (1UL) /*!< Set pin as input. */ 02613 02614 /* Bit 6 : Set as input pin 6. */ 02615 #define GPIO_DIRCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */ 02616 #define GPIO_DIRCLR_PIN6_Msk (0x1UL << GPIO_DIRCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */ 02617 #define GPIO_DIRCLR_PIN6_Input (0UL) /*!< Pin set as input. */ 02618 #define GPIO_DIRCLR_PIN6_Output (1UL) /*!< Pin set as output. */ 02619 #define GPIO_DIRCLR_PIN6_Clear (1UL) /*!< Set pin as input. */ 02620 02621 /* Bit 5 : Set as input pin 5. */ 02622 #define GPIO_DIRCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */ 02623 #define GPIO_DIRCLR_PIN5_Msk (0x1UL << GPIO_DIRCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */ 02624 #define GPIO_DIRCLR_PIN5_Input (0UL) /*!< Pin set as input. */ 02625 #define GPIO_DIRCLR_PIN5_Output (1UL) /*!< Pin set as output. */ 02626 #define GPIO_DIRCLR_PIN5_Clear (1UL) /*!< Set pin as input. */ 02627 02628 /* Bit 4 : Set as input pin 4. */ 02629 #define GPIO_DIRCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */ 02630 #define GPIO_DIRCLR_PIN4_Msk (0x1UL << GPIO_DIRCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */ 02631 #define GPIO_DIRCLR_PIN4_Input (0UL) /*!< Pin set as input. */ 02632 #define GPIO_DIRCLR_PIN4_Output (1UL) /*!< Pin set as output. */ 02633 #define GPIO_DIRCLR_PIN4_Clear (1UL) /*!< Set pin as input. */ 02634 02635 /* Bit 3 : Set as input pin 3. */ 02636 #define GPIO_DIRCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */ 02637 #define GPIO_DIRCLR_PIN3_Msk (0x1UL << GPIO_DIRCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */ 02638 #define GPIO_DIRCLR_PIN3_Input (0UL) /*!< Pin set as input. */ 02639 #define GPIO_DIRCLR_PIN3_Output (1UL) /*!< Pin set as output. */ 02640 #define GPIO_DIRCLR_PIN3_Clear (1UL) /*!< Set pin as input. */ 02641 02642 /* Bit 2 : Set as input pin 2. */ 02643 #define GPIO_DIRCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */ 02644 #define GPIO_DIRCLR_PIN2_Msk (0x1UL << GPIO_DIRCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */ 02645 #define GPIO_DIRCLR_PIN2_Input (0UL) /*!< Pin set as input. */ 02646 #define GPIO_DIRCLR_PIN2_Output (1UL) /*!< Pin set as output. */ 02647 #define GPIO_DIRCLR_PIN2_Clear (1UL) /*!< Set pin as input. */ 02648 02649 /* Bit 1 : Set as input pin 1. */ 02650 #define GPIO_DIRCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */ 02651 #define GPIO_DIRCLR_PIN1_Msk (0x1UL << GPIO_DIRCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */ 02652 #define GPIO_DIRCLR_PIN1_Input (0UL) /*!< Pin set as input. */ 02653 #define GPIO_DIRCLR_PIN1_Output (1UL) /*!< Pin set as output. */ 02654 #define GPIO_DIRCLR_PIN1_Clear (1UL) /*!< Set pin as input. */ 02655 02656 /* Bit 0 : Set as input pin 0. */ 02657 #define GPIO_DIRCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */ 02658 #define GPIO_DIRCLR_PIN0_Msk (0x1UL << GPIO_DIRCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */ 02659 #define GPIO_DIRCLR_PIN0_Input (0UL) /*!< Pin set as input. */ 02660 #define GPIO_DIRCLR_PIN0_Output (1UL) /*!< Pin set as output. */ 02661 #define GPIO_DIRCLR_PIN0_Clear (1UL) /*!< Set pin as input. */ 02662 02663 /* Register: GPIO_PIN_CNF */ 02664 /* Description: Configuration of GPIO pins. */ 02665 02666 /* Bits 17..16 : Pin sensing mechanism. */ 02667 #define GPIO_PIN_CNF_SENSE_Pos (16UL) /*!< Position of SENSE field. */ 02668 #define GPIO_PIN_CNF_SENSE_Msk (0x3UL << GPIO_PIN_CNF_SENSE_Pos) /*!< Bit mask of SENSE field. */ 02669 #define GPIO_PIN_CNF_SENSE_Disabled (0x00UL) /*!< Disabled. */ 02670 #define GPIO_PIN_CNF_SENSE_High (0x02UL) /*!< Wakeup on high level. */ 02671 #define GPIO_PIN_CNF_SENSE_Low (0x03UL) /*!< Wakeup on low level. */ 02672 02673 /* Bits 10..8 : Drive configuration. */ 02674 #define GPIO_PIN_CNF_DRIVE_Pos (8UL) /*!< Position of DRIVE field. */ 02675 #define GPIO_PIN_CNF_DRIVE_Msk (0x7UL << GPIO_PIN_CNF_DRIVE_Pos) /*!< Bit mask of DRIVE field. */ 02676 #define GPIO_PIN_CNF_DRIVE_S0S1 (0x00UL) /*!< Standard '0', Standard '1'. */ 02677 #define GPIO_PIN_CNF_DRIVE_H0S1 (0x01UL) /*!< High '0', Standard '1'. */ 02678 #define GPIO_PIN_CNF_DRIVE_S0H1 (0x02UL) /*!< Standard '0', High '1'. */ 02679 #define GPIO_PIN_CNF_DRIVE_H0H1 (0x03UL) /*!< High '0', High '1'. */ 02680 #define GPIO_PIN_CNF_DRIVE_D0S1 (0x04UL) /*!< Disconnected '0', Standard '1'. */ 02681 #define GPIO_PIN_CNF_DRIVE_D0H1 (0x05UL) /*!< Disconnected '0', High '1'. */ 02682 #define GPIO_PIN_CNF_DRIVE_S0D1 (0x06UL) /*!< Standard '0', Disconnected '1'. */ 02683 #define GPIO_PIN_CNF_DRIVE_H0D1 (0x07UL) /*!< High '0', Disconnected '1'. */ 02684 02685 /* Bits 3..2 : Pull-up or -down configuration. */ 02686 #define GPIO_PIN_CNF_PULL_Pos (2UL) /*!< Position of PULL field. */ 02687 #define GPIO_PIN_CNF_PULL_Msk (0x3UL << GPIO_PIN_CNF_PULL_Pos) /*!< Bit mask of PULL field. */ 02688 #define GPIO_PIN_CNF_PULL_Disabled (0x00UL) /*!< No pull. */ 02689 #define GPIO_PIN_CNF_PULL_Pulldown (0x01UL) /*!< Pulldown on pin. */ 02690 #define GPIO_PIN_CNF_PULL_Pullup (0x03UL) /*!< Pullup on pin. */ 02691 02692 /* Bit 1 : Connect or disconnect input path. */ 02693 #define GPIO_PIN_CNF_INPUT_Pos (1UL) /*!< Position of INPUT field. */ 02694 #define GPIO_PIN_CNF_INPUT_Msk (0x1UL << GPIO_PIN_CNF_INPUT_Pos) /*!< Bit mask of INPUT field. */ 02695 #define GPIO_PIN_CNF_INPUT_Connect (0UL) /*!< Connect input pin. */ 02696 #define GPIO_PIN_CNF_INPUT_Disconnect (1UL) /*!< Disconnect input pin. */ 02697 02698 /* Bit 0 : Pin direction. */ 02699 #define GPIO_PIN_CNF_DIR_Pos (0UL) /*!< Position of DIR field. */ 02700 #define GPIO_PIN_CNF_DIR_Msk (0x1UL << GPIO_PIN_CNF_DIR_Pos) /*!< Bit mask of DIR field. */ 02701 #define GPIO_PIN_CNF_DIR_Input (0UL) /*!< Configure pin as an input pin. */ 02702 #define GPIO_PIN_CNF_DIR_Output (1UL) /*!< Configure pin as an output pin. */ 02703 02704 02705 /* Peripheral: GPIOTE */ 02706 /* Description: GPIO tasks and events. */ 02707 02708 /* Register: GPIOTE_INTENSET */ 02709 /* Description: Interrupt enable set register. */ 02710 02711 /* Bit 31 : Enable interrupt on PORT event. */ 02712 #define GPIOTE_INTENSET_PORT_Pos (31UL) /*!< Position of PORT field. */ 02713 #define GPIOTE_INTENSET_PORT_Msk (0x1UL << GPIOTE_INTENSET_PORT_Pos) /*!< Bit mask of PORT field. */ 02714 #define GPIOTE_INTENSET_PORT_Disabled (0UL) /*!< Interrupt disabled. */ 02715 #define GPIOTE_INTENSET_PORT_Enabled (1UL) /*!< Interrupt enabled. */ 02716 #define GPIOTE_INTENSET_PORT_Set (1UL) /*!< Enable interrupt on write. */ 02717 02718 /* Bit 3 : Enable interrupt on IN[3] event. */ 02719 #define GPIOTE_INTENSET_IN3_Pos (3UL) /*!< Position of IN3 field. */ 02720 #define GPIOTE_INTENSET_IN3_Msk (0x1UL << GPIOTE_INTENSET_IN3_Pos) /*!< Bit mask of IN3 field. */ 02721 #define GPIOTE_INTENSET_IN3_Disabled (0UL) /*!< Interrupt disabled. */ 02722 #define GPIOTE_INTENSET_IN3_Enabled (1UL) /*!< Interrupt enabled. */ 02723 #define GPIOTE_INTENSET_IN3_Set (1UL) /*!< Enable interrupt on write. */ 02724 02725 /* Bit 2 : Enable interrupt on IN[2] event. */ 02726 #define GPIOTE_INTENSET_IN2_Pos (2UL) /*!< Position of IN2 field. */ 02727 #define GPIOTE_INTENSET_IN2_Msk (0x1UL << GPIOTE_INTENSET_IN2_Pos) /*!< Bit mask of IN2 field. */ 02728 #define GPIOTE_INTENSET_IN2_Disabled (0UL) /*!< Interrupt disabled. */ 02729 #define GPIOTE_INTENSET_IN2_Enabled (1UL) /*!< Interrupt enabled. */ 02730 #define GPIOTE_INTENSET_IN2_Set (1UL) /*!< Enable interrupt on write. */ 02731 02732 /* Bit 1 : Enable interrupt on IN[1] event. */ 02733 #define GPIOTE_INTENSET_IN1_Pos (1UL) /*!< Position of IN1 field. */ 02734 #define GPIOTE_INTENSET_IN1_Msk (0x1UL << GPIOTE_INTENSET_IN1_Pos) /*!< Bit mask of IN1 field. */ 02735 #define GPIOTE_INTENSET_IN1_Disabled (0UL) /*!< Interrupt disabled. */ 02736 #define GPIOTE_INTENSET_IN1_Enabled (1UL) /*!< Interrupt enabled. */ 02737 #define GPIOTE_INTENSET_IN1_Set (1UL) /*!< Enable interrupt on write. */ 02738 02739 /* Bit 0 : Enable interrupt on IN[0] event. */ 02740 #define GPIOTE_INTENSET_IN0_Pos (0UL) /*!< Position of IN0 field. */ 02741 #define GPIOTE_INTENSET_IN0_Msk (0x1UL << GPIOTE_INTENSET_IN0_Pos) /*!< Bit mask of IN0 field. */ 02742 #define GPIOTE_INTENSET_IN0_Disabled (0UL) /*!< Interrupt disabled. */ 02743 #define GPIOTE_INTENSET_IN0_Enabled (1UL) /*!< Interrupt enabled. */ 02744 #define GPIOTE_INTENSET_IN0_Set (1UL) /*!< Enable interrupt on write. */ 02745 02746 /* Register: GPIOTE_INTENCLR */ 02747 /* Description: Interrupt enable clear register. */ 02748 02749 /* Bit 31 : Disable interrupt on PORT event. */ 02750 #define GPIOTE_INTENCLR_PORT_Pos (31UL) /*!< Position of PORT field. */ 02751 #define GPIOTE_INTENCLR_PORT_Msk (0x1UL << GPIOTE_INTENCLR_PORT_Pos) /*!< Bit mask of PORT field. */ 02752 #define GPIOTE_INTENCLR_PORT_Disabled (0UL) /*!< Interrupt disabled. */ 02753 #define GPIOTE_INTENCLR_PORT_Enabled (1UL) /*!< Interrupt enabled. */ 02754 #define GPIOTE_INTENCLR_PORT_Clear (1UL) /*!< Disable interrupt on write. */ 02755 02756 /* Bit 3 : Disable interrupt on IN[3] event. */ 02757 #define GPIOTE_INTENCLR_IN3_Pos (3UL) /*!< Position of IN3 field. */ 02758 #define GPIOTE_INTENCLR_IN3_Msk (0x1UL << GPIOTE_INTENCLR_IN3_Pos) /*!< Bit mask of IN3 field. */ 02759 #define GPIOTE_INTENCLR_IN3_Disabled (0UL) /*!< Interrupt disabled. */ 02760 #define GPIOTE_INTENCLR_IN3_Enabled (1UL) /*!< Interrupt enabled. */ 02761 #define GPIOTE_INTENCLR_IN3_Clear (1UL) /*!< Disable interrupt on write. */ 02762 02763 /* Bit 2 : Disable interrupt on IN[2] event. */ 02764 #define GPIOTE_INTENCLR_IN2_Pos (2UL) /*!< Position of IN2 field. */ 02765 #define GPIOTE_INTENCLR_IN2_Msk (0x1UL << GPIOTE_INTENCLR_IN2_Pos) /*!< Bit mask of IN2 field. */ 02766 #define GPIOTE_INTENCLR_IN2_Disabled (0UL) /*!< Interrupt disabled. */ 02767 #define GPIOTE_INTENCLR_IN2_Enabled (1UL) /*!< Interrupt enabled. */ 02768 #define GPIOTE_INTENCLR_IN2_Clear (1UL) /*!< Disable interrupt on write. */ 02769 02770 /* Bit 1 : Disable interrupt on IN[1] event. */ 02771 #define GPIOTE_INTENCLR_IN1_Pos (1UL) /*!< Position of IN1 field. */ 02772 #define GPIOTE_INTENCLR_IN1_Msk (0x1UL << GPIOTE_INTENCLR_IN1_Pos) /*!< Bit mask of IN1 field. */ 02773 #define GPIOTE_INTENCLR_IN1_Disabled (0UL) /*!< Interrupt disabled. */ 02774 #define GPIOTE_INTENCLR_IN1_Enabled (1UL) /*!< Interrupt enabled. */ 02775 #define GPIOTE_INTENCLR_IN1_Clear (1UL) /*!< Disable interrupt on write. */ 02776 02777 /* Bit 0 : Disable interrupt on IN[0] event. */ 02778 #define GPIOTE_INTENCLR_IN0_Pos (0UL) /*!< Position of IN0 field. */ 02779 #define GPIOTE_INTENCLR_IN0_Msk (0x1UL << GPIOTE_INTENCLR_IN0_Pos) /*!< Bit mask of IN0 field. */ 02780 #define GPIOTE_INTENCLR_IN0_Disabled (0UL) /*!< Interrupt disabled. */ 02781 #define GPIOTE_INTENCLR_IN0_Enabled (1UL) /*!< Interrupt enabled. */ 02782 #define GPIOTE_INTENCLR_IN0_Clear (1UL) /*!< Disable interrupt on write. */ 02783 02784 /* Register: GPIOTE_CONFIG */ 02785 /* Description: Channel configuration registers. */ 02786 02787 /* Bit 20 : Initial value of the output when the GPIOTE channel is configured as a Task. */ 02788 #define GPIOTE_CONFIG_OUTINIT_Pos (20UL) /*!< Position of OUTINIT field. */ 02789 #define GPIOTE_CONFIG_OUTINIT_Msk (0x1UL << GPIOTE_CONFIG_OUTINIT_Pos) /*!< Bit mask of OUTINIT field. */ 02790 #define GPIOTE_CONFIG_OUTINIT_Low (0UL) /*!< Initial low output when in task mode. */ 02791 #define GPIOTE_CONFIG_OUTINIT_High (1UL) /*!< Initial high output when in task mode. */ 02792 02793 /* Bits 17..16 : Effects on output when in Task mode, or events on input that generates an event. */ 02794 #define GPIOTE_CONFIG_POLARITY_Pos (16UL) /*!< Position of POLARITY field. */ 02795 #define GPIOTE_CONFIG_POLARITY_Msk (0x3UL << GPIOTE_CONFIG_POLARITY_Pos) /*!< Bit mask of POLARITY field. */ 02796 #define GPIOTE_CONFIG_POLARITY_None (0x00UL) /*!< No task or event. */ 02797 #define GPIOTE_CONFIG_POLARITY_LoToHi (0x01UL) /*!< Low to high. */ 02798 #define GPIOTE_CONFIG_POLARITY_HiToLo (0x02UL) /*!< High to low. */ 02799 #define GPIOTE_CONFIG_POLARITY_Toggle (0x03UL) /*!< Toggle. */ 02800 02801 /* Bits 12..8 : Pin select. */ 02802 #define GPIOTE_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */ 02803 #define GPIOTE_CONFIG_PSEL_Msk (0x1FUL << GPIOTE_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */ 02804 02805 /* Bits 1..0 : Mode */ 02806 #define GPIOTE_CONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */ 02807 #define GPIOTE_CONFIG_MODE_Msk (0x3UL << GPIOTE_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */ 02808 #define GPIOTE_CONFIG_MODE_Disabled (0x00UL) /*!< Disabled. */ 02809 #define GPIOTE_CONFIG_MODE_Event (0x01UL) /*!< Channel configure in event mode. */ 02810 #define GPIOTE_CONFIG_MODE_Task (0x03UL) /*!< Channel configure in task mode. */ 02811 02812 /* Register: GPIOTE_POWER */ 02813 /* Description: Peripheral power control. */ 02814 02815 /* Bit 0 : Peripheral power control. */ 02816 #define GPIOTE_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 02817 #define GPIOTE_POWER_POWER_Msk (0x1UL << GPIOTE_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 02818 #define GPIOTE_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 02819 #define GPIOTE_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 02820 02821 02822 /* Peripheral: LPCOMP */ 02823 /* Description: Low power comparator. */ 02824 02825 /* Register: LPCOMP_SHORTS */ 02826 /* Description: Shortcuts for the LPCOMP. */ 02827 02828 /* Bit 4 : Shortcut between CROSS event and STOP task. */ 02829 #define LPCOMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */ 02830 #define LPCOMP_SHORTS_CROSS_STOP_Msk (0x1UL << LPCOMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */ 02831 #define LPCOMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 02832 #define LPCOMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 02833 02834 /* Bit 3 : Shortcut between UP event and STOP task. */ 02835 #define LPCOMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */ 02836 #define LPCOMP_SHORTS_UP_STOP_Msk (0x1UL << LPCOMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */ 02837 #define LPCOMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 02838 #define LPCOMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 02839 02840 /* Bit 2 : Shortcut between DOWN event and STOP task. */ 02841 #define LPCOMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */ 02842 #define LPCOMP_SHORTS_DOWN_STOP_Msk (0x1UL << LPCOMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */ 02843 #define LPCOMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 02844 #define LPCOMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 02845 02846 /* Bit 1 : Shortcut between RADY event and STOP task. */ 02847 #define LPCOMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */ 02848 #define LPCOMP_SHORTS_READY_STOP_Msk (0x1UL << LPCOMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */ 02849 #define LPCOMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 02850 #define LPCOMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 02851 02852 /* Bit 0 : Shortcut between READY event and SAMPLE task. */ 02853 #define LPCOMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */ 02854 #define LPCOMP_SHORTS_READY_SAMPLE_Msk (0x1UL << LPCOMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */ 02855 #define LPCOMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Shortcut disabled. */ 02856 #define LPCOMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Shortcut enabled. */ 02857 02858 /* Register: LPCOMP_INTENSET */ 02859 /* Description: Interrupt enable set register. */ 02860 02861 /* Bit 3 : Enable interrupt on CROSS event. */ 02862 #define LPCOMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 02863 #define LPCOMP_INTENSET_CROSS_Msk (0x1UL << LPCOMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */ 02864 #define LPCOMP_INTENSET_CROSS_Disabled (0UL) /*!< Interrupt disabled. */ 02865 #define LPCOMP_INTENSET_CROSS_Enabled (1UL) /*!< Interrupt enabled. */ 02866 #define LPCOMP_INTENSET_CROSS_Set (1UL) /*!< Enable interrupt on write. */ 02867 02868 /* Bit 2 : Enable interrupt on UP event. */ 02869 #define LPCOMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */ 02870 #define LPCOMP_INTENSET_UP_Msk (0x1UL << LPCOMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */ 02871 #define LPCOMP_INTENSET_UP_Disabled (0UL) /*!< Interrupt disabled. */ 02872 #define LPCOMP_INTENSET_UP_Enabled (1UL) /*!< Interrupt enabled. */ 02873 #define LPCOMP_INTENSET_UP_Set (1UL) /*!< Enable interrupt on write. */ 02874 02875 /* Bit 1 : Enable interrupt on DOWN event. */ 02876 #define LPCOMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 02877 #define LPCOMP_INTENSET_DOWN_Msk (0x1UL << LPCOMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */ 02878 #define LPCOMP_INTENSET_DOWN_Disabled (0UL) /*!< Interrupt disabled. */ 02879 #define LPCOMP_INTENSET_DOWN_Enabled (1UL) /*!< Interrupt enabled. */ 02880 #define LPCOMP_INTENSET_DOWN_Set (1UL) /*!< Enable interrupt on write. */ 02881 02882 /* Bit 0 : Enable interrupt on READY event. */ 02883 #define LPCOMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 02884 #define LPCOMP_INTENSET_READY_Msk (0x1UL << LPCOMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 02885 #define LPCOMP_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */ 02886 #define LPCOMP_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */ 02887 #define LPCOMP_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */ 02888 02889 /* Register: LPCOMP_INTENCLR */ 02890 /* Description: Interrupt enable clear register. */ 02891 02892 /* Bit 3 : Disable interrupt on CROSS event. */ 02893 #define LPCOMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */ 02894 #define LPCOMP_INTENCLR_CROSS_Msk (0x1UL << LPCOMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */ 02895 #define LPCOMP_INTENCLR_CROSS_Disabled (0UL) /*!< Interrupt disabled. */ 02896 #define LPCOMP_INTENCLR_CROSS_Enabled (1UL) /*!< Interrupt enabled. */ 02897 #define LPCOMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable interrupt on write. */ 02898 02899 /* Bit 2 : Disable interrupt on UP event. */ 02900 #define LPCOMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */ 02901 #define LPCOMP_INTENCLR_UP_Msk (0x1UL << LPCOMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */ 02902 #define LPCOMP_INTENCLR_UP_Disabled (0UL) /*!< Interrupt disabled. */ 02903 #define LPCOMP_INTENCLR_UP_Enabled (1UL) /*!< Interrupt enabled. */ 02904 #define LPCOMP_INTENCLR_UP_Clear (1UL) /*!< Disable interrupt on write. */ 02905 02906 /* Bit 1 : Disable interrupt on DOWN event. */ 02907 #define LPCOMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */ 02908 #define LPCOMP_INTENCLR_DOWN_Msk (0x1UL << LPCOMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */ 02909 #define LPCOMP_INTENCLR_DOWN_Disabled (0UL) /*!< Interrupt disabled. */ 02910 #define LPCOMP_INTENCLR_DOWN_Enabled (1UL) /*!< Interrupt enabled. */ 02911 #define LPCOMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable interrupt on write. */ 02912 02913 /* Bit 0 : Disable interrupt on READY event. */ 02914 #define LPCOMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 02915 #define LPCOMP_INTENCLR_READY_Msk (0x1UL << LPCOMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 02916 #define LPCOMP_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */ 02917 #define LPCOMP_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */ 02918 #define LPCOMP_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */ 02919 02920 /* Register: LPCOMP_RESULT */ 02921 /* Description: Result of last compare. */ 02922 02923 /* Bit 0 : Result of last compare. Decision point SAMPLE task. */ 02924 #define LPCOMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */ 02925 #define LPCOMP_RESULT_RESULT_Msk (0x1UL << LPCOMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */ 02926 #define LPCOMP_RESULT_RESULT_Bellow (0UL) /*!< Input voltage is bellow the reference threshold. */ 02927 #define LPCOMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the reference threshold. */ 02928 02929 /* Register: LPCOMP_ENABLE */ 02930 /* Description: Enable the LPCOMP. */ 02931 02932 /* Bits 1..0 : Enable or disable LPCOMP. */ 02933 #define LPCOMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 02934 #define LPCOMP_ENABLE_ENABLE_Msk (0x3UL << LPCOMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 02935 #define LPCOMP_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled LPCOMP. */ 02936 #define LPCOMP_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable LPCOMP. */ 02937 02938 /* Register: LPCOMP_PSEL */ 02939 /* Description: Input pin select. */ 02940 02941 /* Bits 2..0 : Analog input pin select. */ 02942 #define LPCOMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */ 02943 #define LPCOMP_PSEL_PSEL_Msk (0x7UL << LPCOMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */ 02944 #define LPCOMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< Use analog input 0 as analog input. */ 02945 #define LPCOMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< Use analog input 1 as analog input. */ 02946 #define LPCOMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< Use analog input 2 as analog input. */ 02947 #define LPCOMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< Use analog input 3 as analog input. */ 02948 #define LPCOMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< Use analog input 4 as analog input. */ 02949 #define LPCOMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< Use analog input 5 as analog input. */ 02950 #define LPCOMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< Use analog input 6 as analog input. */ 02951 #define LPCOMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< Use analog input 7 as analog input. */ 02952 02953 /* Register: LPCOMP_REFSEL */ 02954 /* Description: Reference select. */ 02955 02956 /* Bits 2..0 : Reference select. */ 02957 #define LPCOMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */ 02958 #define LPCOMP_REFSEL_REFSEL_Msk (0x7UL << LPCOMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */ 02959 #define LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling (0UL) /*!< Use supply with a 1/8 prescaler as reference. */ 02960 #define LPCOMP_REFSEL_REFSEL_SupplyTwoEighthsPrescaling (1UL) /*!< Use supply with a 2/8 prescaler as reference. */ 02961 #define LPCOMP_REFSEL_REFSEL_SupplyThreeEighthsPrescaling (2UL) /*!< Use supply with a 3/8 prescaler as reference. */ 02962 #define LPCOMP_REFSEL_REFSEL_SupplyFourEighthsPrescaling (3UL) /*!< Use supply with a 4/8 prescaler as reference. */ 02963 #define LPCOMP_REFSEL_REFSEL_SupplyFiveEighthsPrescaling (4UL) /*!< Use supply with a 5/8 prescaler as reference. */ 02964 #define LPCOMP_REFSEL_REFSEL_SupplySixEighthsPrescaling (5UL) /*!< Use supply with a 6/8 prescaler as reference. */ 02965 #define LPCOMP_REFSEL_REFSEL_SupplySevenEighthsPrescaling (6UL) /*!< Use supply with a 7/8 prescaler as reference. */ 02966 #define LPCOMP_REFSEL_REFSEL_ARef (7UL) /*!< Use external analog reference as reference. */ 02967 02968 /* Register: LPCOMP_EXTREFSEL */ 02969 /* Description: External reference select. */ 02970 02971 /* Bit 0 : External analog reference pin selection. */ 02972 #define LPCOMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */ 02973 #define LPCOMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << LPCOMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */ 02974 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use analog reference 0 as reference. */ 02975 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use analog reference 1 as reference. */ 02976 02977 /* Register: LPCOMP_ANADETECT */ 02978 /* Description: Analog detect configuration. */ 02979 02980 /* Bits 1..0 : Analog detect configuration. */ 02981 #define LPCOMP_ANADETECT_ANADETECT_Pos (0UL) /*!< Position of ANADETECT field. */ 02982 #define LPCOMP_ANADETECT_ANADETECT_Msk (0x3UL << LPCOMP_ANADETECT_ANADETECT_Pos) /*!< Bit mask of ANADETECT field. */ 02983 #define LPCOMP_ANADETECT_ANADETECT_Cross (0UL) /*!< Generate ANADETEC on crossing, both upwards and downwards crossing. */ 02984 #define LPCOMP_ANADETECT_ANADETECT_Up (1UL) /*!< Generate ANADETEC on upwards crossing only. */ 02985 #define LPCOMP_ANADETECT_ANADETECT_Down (2UL) /*!< Generate ANADETEC on downwards crossing only. */ 02986 02987 /* Register: LPCOMP_POWER */ 02988 /* Description: Peripheral power control. */ 02989 02990 /* Bit 0 : Peripheral power control. */ 02991 #define LPCOMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 02992 #define LPCOMP_POWER_POWER_Msk (0x1UL << LPCOMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 02993 #define LPCOMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 02994 #define LPCOMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 02995 02996 02997 /* Peripheral: MPU */ 02998 /* Description: Memory Protection Unit. */ 02999 03000 /* Register: MPU_PERR0 */ 03001 /* Description: Configuration of peripherals in mpu regions. */ 03002 03003 /* Bit 31 : PPI region configuration. */ 03004 #define MPU_PERR0_PPI_Pos (31UL) /*!< Position of PPI field. */ 03005 #define MPU_PERR0_PPI_Msk (0x1UL << MPU_PERR0_PPI_Pos) /*!< Bit mask of PPI field. */ 03006 #define MPU_PERR0_PPI_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03007 #define MPU_PERR0_PPI_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03008 03009 /* Bit 30 : NVMC region configuration. */ 03010 #define MPU_PERR0_NVMC_Pos (30UL) /*!< Position of NVMC field. */ 03011 #define MPU_PERR0_NVMC_Msk (0x1UL << MPU_PERR0_NVMC_Pos) /*!< Bit mask of NVMC field. */ 03012 #define MPU_PERR0_NVMC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03013 #define MPU_PERR0_NVMC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03014 03015 /* Bit 19 : LPCOMP region configuration. */ 03016 #define MPU_PERR0_LPCOMP_Pos (19UL) /*!< Position of LPCOMP field. */ 03017 #define MPU_PERR0_LPCOMP_Msk (0x1UL << MPU_PERR0_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */ 03018 #define MPU_PERR0_LPCOMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03019 #define MPU_PERR0_LPCOMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03020 03021 /* Bit 18 : QDEC region configuration. */ 03022 #define MPU_PERR0_QDEC_Pos (18UL) /*!< Position of QDEC field. */ 03023 #define MPU_PERR0_QDEC_Msk (0x1UL << MPU_PERR0_QDEC_Pos) /*!< Bit mask of QDEC field. */ 03024 #define MPU_PERR0_QDEC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03025 #define MPU_PERR0_QDEC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03026 03027 /* Bit 17 : RTC1 region configuration. */ 03028 #define MPU_PERR0_RTC1_Pos (17UL) /*!< Position of RTC1 field. */ 03029 #define MPU_PERR0_RTC1_Msk (0x1UL << MPU_PERR0_RTC1_Pos) /*!< Bit mask of RTC1 field. */ 03030 #define MPU_PERR0_RTC1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03031 #define MPU_PERR0_RTC1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03032 03033 /* Bit 16 : WDT region configuration. */ 03034 #define MPU_PERR0_WDT_Pos (16UL) /*!< Position of WDT field. */ 03035 #define MPU_PERR0_WDT_Msk (0x1UL << MPU_PERR0_WDT_Pos) /*!< Bit mask of WDT field. */ 03036 #define MPU_PERR0_WDT_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03037 #define MPU_PERR0_WDT_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03038 03039 /* Bit 15 : CCM and AAR region configuration. */ 03040 #define MPU_PERR0_CCM_AAR_Pos (15UL) /*!< Position of CCM_AAR field. */ 03041 #define MPU_PERR0_CCM_AAR_Msk (0x1UL << MPU_PERR0_CCM_AAR_Pos) /*!< Bit mask of CCM_AAR field. */ 03042 #define MPU_PERR0_CCM_AAR_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03043 #define MPU_PERR0_CCM_AAR_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03044 03045 /* Bit 14 : ECB region configuration. */ 03046 #define MPU_PERR0_ECB_Pos (14UL) /*!< Position of ECB field. */ 03047 #define MPU_PERR0_ECB_Msk (0x1UL << MPU_PERR0_ECB_Pos) /*!< Bit mask of ECB field. */ 03048 #define MPU_PERR0_ECB_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03049 #define MPU_PERR0_ECB_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03050 03051 /* Bit 13 : RNG region configuration. */ 03052 #define MPU_PERR0_RNG_Pos (13UL) /*!< Position of RNG field. */ 03053 #define MPU_PERR0_RNG_Msk (0x1UL << MPU_PERR0_RNG_Pos) /*!< Bit mask of RNG field. */ 03054 #define MPU_PERR0_RNG_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03055 #define MPU_PERR0_RNG_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03056 03057 /* Bit 12 : TEMP region configuration. */ 03058 #define MPU_PERR0_TEMP_Pos (12UL) /*!< Position of TEMP field. */ 03059 #define MPU_PERR0_TEMP_Msk (0x1UL << MPU_PERR0_TEMP_Pos) /*!< Bit mask of TEMP field. */ 03060 #define MPU_PERR0_TEMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03061 #define MPU_PERR0_TEMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03062 03063 /* Bit 11 : RTC0 region configuration. */ 03064 #define MPU_PERR0_RTC0_Pos (11UL) /*!< Position of RTC0 field. */ 03065 #define MPU_PERR0_RTC0_Msk (0x1UL << MPU_PERR0_RTC0_Pos) /*!< Bit mask of RTC0 field. */ 03066 #define MPU_PERR0_RTC0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03067 #define MPU_PERR0_RTC0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03068 03069 /* Bit 10 : TIMER2 region configuration. */ 03070 #define MPU_PERR0_TIMER2_Pos (10UL) /*!< Position of TIMER2 field. */ 03071 #define MPU_PERR0_TIMER2_Msk (0x1UL << MPU_PERR0_TIMER2_Pos) /*!< Bit mask of TIMER2 field. */ 03072 #define MPU_PERR0_TIMER2_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03073 #define MPU_PERR0_TIMER2_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03074 03075 /* Bit 9 : TIMER1 region configuration. */ 03076 #define MPU_PERR0_TIMER1_Pos (9UL) /*!< Position of TIMER1 field. */ 03077 #define MPU_PERR0_TIMER1_Msk (0x1UL << MPU_PERR0_TIMER1_Pos) /*!< Bit mask of TIMER1 field. */ 03078 #define MPU_PERR0_TIMER1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03079 #define MPU_PERR0_TIMER1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03080 03081 /* Bit 8 : TIMER0 region configuration. */ 03082 #define MPU_PERR0_TIMER0_Pos (8UL) /*!< Position of TIMER0 field. */ 03083 #define MPU_PERR0_TIMER0_Msk (0x1UL << MPU_PERR0_TIMER0_Pos) /*!< Bit mask of TIMER0 field. */ 03084 #define MPU_PERR0_TIMER0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03085 #define MPU_PERR0_TIMER0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03086 03087 /* Bit 7 : ADC region configuration. */ 03088 #define MPU_PERR0_ADC_Pos (7UL) /*!< Position of ADC field. */ 03089 #define MPU_PERR0_ADC_Msk (0x1UL << MPU_PERR0_ADC_Pos) /*!< Bit mask of ADC field. */ 03090 #define MPU_PERR0_ADC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03091 #define MPU_PERR0_ADC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03092 03093 /* Bit 6 : GPIOTE region configuration. */ 03094 #define MPU_PERR0_GPIOTE_Pos (6UL) /*!< Position of GPIOTE field. */ 03095 #define MPU_PERR0_GPIOTE_Msk (0x1UL << MPU_PERR0_GPIOTE_Pos) /*!< Bit mask of GPIOTE field. */ 03096 #define MPU_PERR0_GPIOTE_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03097 #define MPU_PERR0_GPIOTE_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03098 03099 /* Bit 4 : SPI1 and TWI1 region configuration. */ 03100 #define MPU_PERR0_SPI1_TWI1_Pos (4UL) /*!< Position of SPI1_TWI1 field. */ 03101 #define MPU_PERR0_SPI1_TWI1_Msk (0x1UL << MPU_PERR0_SPI1_TWI1_Pos) /*!< Bit mask of SPI1_TWI1 field. */ 03102 #define MPU_PERR0_SPI1_TWI1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03103 #define MPU_PERR0_SPI1_TWI1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03104 03105 /* Bit 3 : SPI0 and TWI0 region configuration. */ 03106 #define MPU_PERR0_SPI0_TWI0_Pos (3UL) /*!< Position of SPI0_TWI0 field. */ 03107 #define MPU_PERR0_SPI0_TWI0_Msk (0x1UL << MPU_PERR0_SPI0_TWI0_Pos) /*!< Bit mask of SPI0_TWI0 field. */ 03108 #define MPU_PERR0_SPI0_TWI0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03109 #define MPU_PERR0_SPI0_TWI0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03110 03111 /* Bit 2 : UART0 region configuration. */ 03112 #define MPU_PERR0_UART0_Pos (2UL) /*!< Position of UART0 field. */ 03113 #define MPU_PERR0_UART0_Msk (0x1UL << MPU_PERR0_UART0_Pos) /*!< Bit mask of UART0 field. */ 03114 #define MPU_PERR0_UART0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03115 #define MPU_PERR0_UART0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03116 03117 /* Bit 1 : RADIO region configuration. */ 03118 #define MPU_PERR0_RADIO_Pos (1UL) /*!< Position of RADIO field. */ 03119 #define MPU_PERR0_RADIO_Msk (0x1UL << MPU_PERR0_RADIO_Pos) /*!< Bit mask of RADIO field. */ 03120 #define MPU_PERR0_RADIO_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03121 #define MPU_PERR0_RADIO_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03122 03123 /* Bit 0 : POWER_CLOCK region configuration. */ 03124 #define MPU_PERR0_POWER_CLOCK_Pos (0UL) /*!< Position of POWER_CLOCK field. */ 03125 #define MPU_PERR0_POWER_CLOCK_Msk (0x1UL << MPU_PERR0_POWER_CLOCK_Pos) /*!< Bit mask of POWER_CLOCK field. */ 03126 #define MPU_PERR0_POWER_CLOCK_InRegion1 (0UL) /*!< Peripheral configured in region 1. */ 03127 #define MPU_PERR0_POWER_CLOCK_InRegion0 (1UL) /*!< Peripheral configured in region 0. */ 03128 03129 /* Register: MPU_PROTENSET0 */ 03130 /* Description: Erase and write protection bit enable set register. */ 03131 03132 /* Bit 31 : Protection enable for region 31. */ 03133 #define MPU_PROTENSET0_PROTREG31_Pos (31UL) /*!< Position of PROTREG31 field. */ 03134 #define MPU_PROTENSET0_PROTREG31_Msk (0x1UL << MPU_PROTENSET0_PROTREG31_Pos) /*!< Bit mask of PROTREG31 field. */ 03135 #define MPU_PROTENSET0_PROTREG31_Disabled (0UL) /*!< Protection disabled. */ 03136 #define MPU_PROTENSET0_PROTREG31_Enabled (1UL) /*!< Protection enabled. */ 03137 #define MPU_PROTENSET0_PROTREG31_Set (1UL) /*!< Enable protection on write. */ 03138 03139 /* Bit 30 : Protection enable for region 30. */ 03140 #define MPU_PROTENSET0_PROTREG30_Pos (30UL) /*!< Position of PROTREG30 field. */ 03141 #define MPU_PROTENSET0_PROTREG30_Msk (0x1UL << MPU_PROTENSET0_PROTREG30_Pos) /*!< Bit mask of PROTREG30 field. */ 03142 #define MPU_PROTENSET0_PROTREG30_Disabled (0UL) /*!< Protection disabled. */ 03143 #define MPU_PROTENSET0_PROTREG30_Enabled (1UL) /*!< Protection enabled. */ 03144 #define MPU_PROTENSET0_PROTREG30_Set (1UL) /*!< Enable protection on write. */ 03145 03146 /* Bit 29 : Protection enable for region 29. */ 03147 #define MPU_PROTENSET0_PROTREG29_Pos (29UL) /*!< Position of PROTREG29 field. */ 03148 #define MPU_PROTENSET0_PROTREG29_Msk (0x1UL << MPU_PROTENSET0_PROTREG29_Pos) /*!< Bit mask of PROTREG29 field. */ 03149 #define MPU_PROTENSET0_PROTREG29_Disabled (0UL) /*!< Protection disabled. */ 03150 #define MPU_PROTENSET0_PROTREG29_Enabled (1UL) /*!< Protection enabled. */ 03151 #define MPU_PROTENSET0_PROTREG29_Set (1UL) /*!< Enable protection on write. */ 03152 03153 /* Bit 28 : Protection enable for region 28. */ 03154 #define MPU_PROTENSET0_PROTREG28_Pos (28UL) /*!< Position of PROTREG28 field. */ 03155 #define MPU_PROTENSET0_PROTREG28_Msk (0x1UL << MPU_PROTENSET0_PROTREG28_Pos) /*!< Bit mask of PROTREG28 field. */ 03156 #define MPU_PROTENSET0_PROTREG28_Disabled (0UL) /*!< Protection disabled. */ 03157 #define MPU_PROTENSET0_PROTREG28_Enabled (1UL) /*!< Protection enabled. */ 03158 #define MPU_PROTENSET0_PROTREG28_Set (1UL) /*!< Enable protection on write. */ 03159 03160 /* Bit 27 : Protection enable for region 27. */ 03161 #define MPU_PROTENSET0_PROTREG27_Pos (27UL) /*!< Position of PROTREG27 field. */ 03162 #define MPU_PROTENSET0_PROTREG27_Msk (0x1UL << MPU_PROTENSET0_PROTREG27_Pos) /*!< Bit mask of PROTREG27 field. */ 03163 #define MPU_PROTENSET0_PROTREG27_Disabled (0UL) /*!< Protection disabled. */ 03164 #define MPU_PROTENSET0_PROTREG27_Enabled (1UL) /*!< Protection enabled. */ 03165 #define MPU_PROTENSET0_PROTREG27_Set (1UL) /*!< Enable protection on write. */ 03166 03167 /* Bit 26 : Protection enable for region 26. */ 03168 #define MPU_PROTENSET0_PROTREG26_Pos (26UL) /*!< Position of PROTREG26 field. */ 03169 #define MPU_PROTENSET0_PROTREG26_Msk (0x1UL << MPU_PROTENSET0_PROTREG26_Pos) /*!< Bit mask of PROTREG26 field. */ 03170 #define MPU_PROTENSET0_PROTREG26_Disabled (0UL) /*!< Protection disabled. */ 03171 #define MPU_PROTENSET0_PROTREG26_Enabled (1UL) /*!< Protection enabled. */ 03172 #define MPU_PROTENSET0_PROTREG26_Set (1UL) /*!< Enable protection on write. */ 03173 03174 /* Bit 25 : Protection enable for region 25. */ 03175 #define MPU_PROTENSET0_PROTREG25_Pos (25UL) /*!< Position of PROTREG25 field. */ 03176 #define MPU_PROTENSET0_PROTREG25_Msk (0x1UL << MPU_PROTENSET0_PROTREG25_Pos) /*!< Bit mask of PROTREG25 field. */ 03177 #define MPU_PROTENSET0_PROTREG25_Disabled (0UL) /*!< Protection disabled. */ 03178 #define MPU_PROTENSET0_PROTREG25_Enabled (1UL) /*!< Protection enabled. */ 03179 #define MPU_PROTENSET0_PROTREG25_Set (1UL) /*!< Enable protection on write. */ 03180 03181 /* Bit 24 : Protection enable for region 24. */ 03182 #define MPU_PROTENSET0_PROTREG24_Pos (24UL) /*!< Position of PROTREG24 field. */ 03183 #define MPU_PROTENSET0_PROTREG24_Msk (0x1UL << MPU_PROTENSET0_PROTREG24_Pos) /*!< Bit mask of PROTREG24 field. */ 03184 #define MPU_PROTENSET0_PROTREG24_Disabled (0UL) /*!< Protection disabled. */ 03185 #define MPU_PROTENSET0_PROTREG24_Enabled (1UL) /*!< Protection enabled. */ 03186 #define MPU_PROTENSET0_PROTREG24_Set (1UL) /*!< Enable protection on write. */ 03187 03188 /* Bit 23 : Protection enable for region 23. */ 03189 #define MPU_PROTENSET0_PROTREG23_Pos (23UL) /*!< Position of PROTREG23 field. */ 03190 #define MPU_PROTENSET0_PROTREG23_Msk (0x1UL << MPU_PROTENSET0_PROTREG23_Pos) /*!< Bit mask of PROTREG23 field. */ 03191 #define MPU_PROTENSET0_PROTREG23_Disabled (0UL) /*!< Protection disabled. */ 03192 #define MPU_PROTENSET0_PROTREG23_Enabled (1UL) /*!< Protection enabled. */ 03193 #define MPU_PROTENSET0_PROTREG23_Set (1UL) /*!< Enable protection on write. */ 03194 03195 /* Bit 22 : Protection enable for region 22. */ 03196 #define MPU_PROTENSET0_PROTREG22_Pos (22UL) /*!< Position of PROTREG22 field. */ 03197 #define MPU_PROTENSET0_PROTREG22_Msk (0x1UL << MPU_PROTENSET0_PROTREG22_Pos) /*!< Bit mask of PROTREG22 field. */ 03198 #define MPU_PROTENSET0_PROTREG22_Disabled (0UL) /*!< Protection disabled. */ 03199 #define MPU_PROTENSET0_PROTREG22_Enabled (1UL) /*!< Protection enabled. */ 03200 #define MPU_PROTENSET0_PROTREG22_Set (1UL) /*!< Enable protection on write. */ 03201 03202 /* Bit 21 : Protection enable for region 21. */ 03203 #define MPU_PROTENSET0_PROTREG21_Pos (21UL) /*!< Position of PROTREG21 field. */ 03204 #define MPU_PROTENSET0_PROTREG21_Msk (0x1UL << MPU_PROTENSET0_PROTREG21_Pos) /*!< Bit mask of PROTREG21 field. */ 03205 #define MPU_PROTENSET0_PROTREG21_Disabled (0UL) /*!< Protection disabled. */ 03206 #define MPU_PROTENSET0_PROTREG21_Enabled (1UL) /*!< Protection enabled. */ 03207 #define MPU_PROTENSET0_PROTREG21_Set (1UL) /*!< Enable protection on write. */ 03208 03209 /* Bit 20 : Protection enable for region 20. */ 03210 #define MPU_PROTENSET0_PROTREG20_Pos (20UL) /*!< Position of PROTREG20 field. */ 03211 #define MPU_PROTENSET0_PROTREG20_Msk (0x1UL << MPU_PROTENSET0_PROTREG20_Pos) /*!< Bit mask of PROTREG20 field. */ 03212 #define MPU_PROTENSET0_PROTREG20_Disabled (0UL) /*!< Protection disabled. */ 03213 #define MPU_PROTENSET0_PROTREG20_Enabled (1UL) /*!< Protection enabled. */ 03214 #define MPU_PROTENSET0_PROTREG20_Set (1UL) /*!< Enable protection on write. */ 03215 03216 /* Bit 19 : Protection enable for region 19. */ 03217 #define MPU_PROTENSET0_PROTREG19_Pos (19UL) /*!< Position of PROTREG19 field. */ 03218 #define MPU_PROTENSET0_PROTREG19_Msk (0x1UL << MPU_PROTENSET0_PROTREG19_Pos) /*!< Bit mask of PROTREG19 field. */ 03219 #define MPU_PROTENSET0_PROTREG19_Disabled (0UL) /*!< Protection disabled. */ 03220 #define MPU_PROTENSET0_PROTREG19_Enabled (1UL) /*!< Protection enabled. */ 03221 #define MPU_PROTENSET0_PROTREG19_Set (1UL) /*!< Enable protection on write. */ 03222 03223 /* Bit 18 : Protection enable for region 18. */ 03224 #define MPU_PROTENSET0_PROTREG18_Pos (18UL) /*!< Position of PROTREG18 field. */ 03225 #define MPU_PROTENSET0_PROTREG18_Msk (0x1UL << MPU_PROTENSET0_PROTREG18_Pos) /*!< Bit mask of PROTREG18 field. */ 03226 #define MPU_PROTENSET0_PROTREG18_Disabled (0UL) /*!< Protection disabled. */ 03227 #define MPU_PROTENSET0_PROTREG18_Enabled (1UL) /*!< Protection enabled. */ 03228 #define MPU_PROTENSET0_PROTREG18_Set (1UL) /*!< Enable protection on write. */ 03229 03230 /* Bit 17 : Protection enable for region 17. */ 03231 #define MPU_PROTENSET0_PROTREG17_Pos (17UL) /*!< Position of PROTREG17 field. */ 03232 #define MPU_PROTENSET0_PROTREG17_Msk (0x1UL << MPU_PROTENSET0_PROTREG17_Pos) /*!< Bit mask of PROTREG17 field. */ 03233 #define MPU_PROTENSET0_PROTREG17_Disabled (0UL) /*!< Protection disabled. */ 03234 #define MPU_PROTENSET0_PROTREG17_Enabled (1UL) /*!< Protection enabled. */ 03235 #define MPU_PROTENSET0_PROTREG17_Set (1UL) /*!< Enable protection on write. */ 03236 03237 /* Bit 16 : Protection enable for region 16. */ 03238 #define MPU_PROTENSET0_PROTREG16_Pos (16UL) /*!< Position of PROTREG16 field. */ 03239 #define MPU_PROTENSET0_PROTREG16_Msk (0x1UL << MPU_PROTENSET0_PROTREG16_Pos) /*!< Bit mask of PROTREG16 field. */ 03240 #define MPU_PROTENSET0_PROTREG16_Disabled (0UL) /*!< Protection disabled. */ 03241 #define MPU_PROTENSET0_PROTREG16_Enabled (1UL) /*!< Protection enabled. */ 03242 #define MPU_PROTENSET0_PROTREG16_Set (1UL) /*!< Enable protection on write. */ 03243 03244 /* Bit 15 : Protection enable for region 15. */ 03245 #define MPU_PROTENSET0_PROTREG15_Pos (15UL) /*!< Position of PROTREG15 field. */ 03246 #define MPU_PROTENSET0_PROTREG15_Msk (0x1UL << MPU_PROTENSET0_PROTREG15_Pos) /*!< Bit mask of PROTREG15 field. */ 03247 #define MPU_PROTENSET0_PROTREG15_Disabled (0UL) /*!< Protection disabled. */ 03248 #define MPU_PROTENSET0_PROTREG15_Enabled (1UL) /*!< Protection enabled. */ 03249 #define MPU_PROTENSET0_PROTREG15_Set (1UL) /*!< Enable protection on write. */ 03250 03251 /* Bit 14 : Protection enable for region 14. */ 03252 #define MPU_PROTENSET0_PROTREG14_Pos (14UL) /*!< Position of PROTREG14 field. */ 03253 #define MPU_PROTENSET0_PROTREG14_Msk (0x1UL << MPU_PROTENSET0_PROTREG14_Pos) /*!< Bit mask of PROTREG14 field. */ 03254 #define MPU_PROTENSET0_PROTREG14_Disabled (0UL) /*!< Protection disabled. */ 03255 #define MPU_PROTENSET0_PROTREG14_Enabled (1UL) /*!< Protection enabled. */ 03256 #define MPU_PROTENSET0_PROTREG14_Set (1UL) /*!< Enable protection on write. */ 03257 03258 /* Bit 13 : Protection enable for region 13. */ 03259 #define MPU_PROTENSET0_PROTREG13_Pos (13UL) /*!< Position of PROTREG13 field. */ 03260 #define MPU_PROTENSET0_PROTREG13_Msk (0x1UL << MPU_PROTENSET0_PROTREG13_Pos) /*!< Bit mask of PROTREG13 field. */ 03261 #define MPU_PROTENSET0_PROTREG13_Disabled (0UL) /*!< Protection disabled. */ 03262 #define MPU_PROTENSET0_PROTREG13_Enabled (1UL) /*!< Protection enabled. */ 03263 #define MPU_PROTENSET0_PROTREG13_Set (1UL) /*!< Enable protection on write. */ 03264 03265 /* Bit 12 : Protection enable for region 12. */ 03266 #define MPU_PROTENSET0_PROTREG12_Pos (12UL) /*!< Position of PROTREG12 field. */ 03267 #define MPU_PROTENSET0_PROTREG12_Msk (0x1UL << MPU_PROTENSET0_PROTREG12_Pos) /*!< Bit mask of PROTREG12 field. */ 03268 #define MPU_PROTENSET0_PROTREG12_Disabled (0UL) /*!< Protection disabled. */ 03269 #define MPU_PROTENSET0_PROTREG12_Enabled (1UL) /*!< Protection enabled. */ 03270 #define MPU_PROTENSET0_PROTREG12_Set (1UL) /*!< Enable protection on write. */ 03271 03272 /* Bit 11 : Protection enable for region 11. */ 03273 #define MPU_PROTENSET0_PROTREG11_Pos (11UL) /*!< Position of PROTREG11 field. */ 03274 #define MPU_PROTENSET0_PROTREG11_Msk (0x1UL << MPU_PROTENSET0_PROTREG11_Pos) /*!< Bit mask of PROTREG11 field. */ 03275 #define MPU_PROTENSET0_PROTREG11_Disabled (0UL) /*!< Protection disabled. */ 03276 #define MPU_PROTENSET0_PROTREG11_Enabled (1UL) /*!< Protection enabled. */ 03277 #define MPU_PROTENSET0_PROTREG11_Set (1UL) /*!< Enable protection on write. */ 03278 03279 /* Bit 10 : Protection enable for region 10. */ 03280 #define MPU_PROTENSET0_PROTREG10_Pos (10UL) /*!< Position of PROTREG10 field. */ 03281 #define MPU_PROTENSET0_PROTREG10_Msk (0x1UL << MPU_PROTENSET0_PROTREG10_Pos) /*!< Bit mask of PROTREG10 field. */ 03282 #define MPU_PROTENSET0_PROTREG10_Disabled (0UL) /*!< Protection disabled. */ 03283 #define MPU_PROTENSET0_PROTREG10_Enabled (1UL) /*!< Protection enabled. */ 03284 #define MPU_PROTENSET0_PROTREG10_Set (1UL) /*!< Enable protection on write. */ 03285 03286 /* Bit 9 : Protection enable for region 9. */ 03287 #define MPU_PROTENSET0_PROTREG9_Pos (9UL) /*!< Position of PROTREG9 field. */ 03288 #define MPU_PROTENSET0_PROTREG9_Msk (0x1UL << MPU_PROTENSET0_PROTREG9_Pos) /*!< Bit mask of PROTREG9 field. */ 03289 #define MPU_PROTENSET0_PROTREG9_Disabled (0UL) /*!< Protection disabled. */ 03290 #define MPU_PROTENSET0_PROTREG9_Enabled (1UL) /*!< Protection enabled. */ 03291 #define MPU_PROTENSET0_PROTREG9_Set (1UL) /*!< Enable protection on write. */ 03292 03293 /* Bit 8 : Protection enable for region 8. */ 03294 #define MPU_PROTENSET0_PROTREG8_Pos (8UL) /*!< Position of PROTREG8 field. */ 03295 #define MPU_PROTENSET0_PROTREG8_Msk (0x1UL << MPU_PROTENSET0_PROTREG8_Pos) /*!< Bit mask of PROTREG8 field. */ 03296 #define MPU_PROTENSET0_PROTREG8_Disabled (0UL) /*!< Protection disabled. */ 03297 #define MPU_PROTENSET0_PROTREG8_Enabled (1UL) /*!< Protection enabled. */ 03298 #define MPU_PROTENSET0_PROTREG8_Set (1UL) /*!< Enable protection on write. */ 03299 03300 /* Bit 7 : Protection enable for region 7. */ 03301 #define MPU_PROTENSET0_PROTREG7_Pos (7UL) /*!< Position of PROTREG7 field. */ 03302 #define MPU_PROTENSET0_PROTREG7_Msk (0x1UL << MPU_PROTENSET0_PROTREG7_Pos) /*!< Bit mask of PROTREG7 field. */ 03303 #define MPU_PROTENSET0_PROTREG7_Disabled (0UL) /*!< Protection disabled. */ 03304 #define MPU_PROTENSET0_PROTREG7_Enabled (1UL) /*!< Protection enabled. */ 03305 #define MPU_PROTENSET0_PROTREG7_Set (1UL) /*!< Enable protection on write. */ 03306 03307 /* Bit 6 : Protection enable for region 6. */ 03308 #define MPU_PROTENSET0_PROTREG6_Pos (6UL) /*!< Position of PROTREG6 field. */ 03309 #define MPU_PROTENSET0_PROTREG6_Msk (0x1UL << MPU_PROTENSET0_PROTREG6_Pos) /*!< Bit mask of PROTREG6 field. */ 03310 #define MPU_PROTENSET0_PROTREG6_Disabled (0UL) /*!< Protection disabled. */ 03311 #define MPU_PROTENSET0_PROTREG6_Enabled (1UL) /*!< Protection enabled. */ 03312 #define MPU_PROTENSET0_PROTREG6_Set (1UL) /*!< Enable protection on write. */ 03313 03314 /* Bit 5 : Protection enable for region 5. */ 03315 #define MPU_PROTENSET0_PROTREG5_Pos (5UL) /*!< Position of PROTREG5 field. */ 03316 #define MPU_PROTENSET0_PROTREG5_Msk (0x1UL << MPU_PROTENSET0_PROTREG5_Pos) /*!< Bit mask of PROTREG5 field. */ 03317 #define MPU_PROTENSET0_PROTREG5_Disabled (0UL) /*!< Protection disabled. */ 03318 #define MPU_PROTENSET0_PROTREG5_Enabled (1UL) /*!< Protection enabled. */ 03319 #define MPU_PROTENSET0_PROTREG5_Set (1UL) /*!< Enable protection on write. */ 03320 03321 /* Bit 4 : Protection enable for region 4. */ 03322 #define MPU_PROTENSET0_PROTREG4_Pos (4UL) /*!< Position of PROTREG4 field. */ 03323 #define MPU_PROTENSET0_PROTREG4_Msk (0x1UL << MPU_PROTENSET0_PROTREG4_Pos) /*!< Bit mask of PROTREG4 field. */ 03324 #define MPU_PROTENSET0_PROTREG4_Disabled (0UL) /*!< Protection disabled. */ 03325 #define MPU_PROTENSET0_PROTREG4_Enabled (1UL) /*!< Protection enabled. */ 03326 #define MPU_PROTENSET0_PROTREG4_Set (1UL) /*!< Enable protection on write. */ 03327 03328 /* Bit 3 : Protection enable for region 3. */ 03329 #define MPU_PROTENSET0_PROTREG3_Pos (3UL) /*!< Position of PROTREG3 field. */ 03330 #define MPU_PROTENSET0_PROTREG3_Msk (0x1UL << MPU_PROTENSET0_PROTREG3_Pos) /*!< Bit mask of PROTREG3 field. */ 03331 #define MPU_PROTENSET0_PROTREG3_Disabled (0UL) /*!< Protection disabled. */ 03332 #define MPU_PROTENSET0_PROTREG3_Enabled (1UL) /*!< Protection enabled. */ 03333 #define MPU_PROTENSET0_PROTREG3_Set (1UL) /*!< Enable protection on write. */ 03334 03335 /* Bit 2 : Protection enable for region 2. */ 03336 #define MPU_PROTENSET0_PROTREG2_Pos (2UL) /*!< Position of PROTREG2 field. */ 03337 #define MPU_PROTENSET0_PROTREG2_Msk (0x1UL << MPU_PROTENSET0_PROTREG2_Pos) /*!< Bit mask of PROTREG2 field. */ 03338 #define MPU_PROTENSET0_PROTREG2_Disabled (0UL) /*!< Protection disabled. */ 03339 #define MPU_PROTENSET0_PROTREG2_Enabled (1UL) /*!< Protection enabled. */ 03340 #define MPU_PROTENSET0_PROTREG2_Set (1UL) /*!< Enable protection on write. */ 03341 03342 /* Bit 1 : Protection enable for region 1. */ 03343 #define MPU_PROTENSET0_PROTREG1_Pos (1UL) /*!< Position of PROTREG1 field. */ 03344 #define MPU_PROTENSET0_PROTREG1_Msk (0x1UL << MPU_PROTENSET0_PROTREG1_Pos) /*!< Bit mask of PROTREG1 field. */ 03345 #define MPU_PROTENSET0_PROTREG1_Disabled (0UL) /*!< Protection disabled. */ 03346 #define MPU_PROTENSET0_PROTREG1_Enabled (1UL) /*!< Protection enabled. */ 03347 #define MPU_PROTENSET0_PROTREG1_Set (1UL) /*!< Enable protection on write. */ 03348 03349 /* Bit 0 : Protection enable for region 0. */ 03350 #define MPU_PROTENSET0_PROTREG0_Pos (0UL) /*!< Position of PROTREG0 field. */ 03351 #define MPU_PROTENSET0_PROTREG0_Msk (0x1UL << MPU_PROTENSET0_PROTREG0_Pos) /*!< Bit mask of PROTREG0 field. */ 03352 #define MPU_PROTENSET0_PROTREG0_Disabled (0UL) /*!< Protection disabled. */ 03353 #define MPU_PROTENSET0_PROTREG0_Enabled (1UL) /*!< Protection enabled. */ 03354 #define MPU_PROTENSET0_PROTREG0_Set (1UL) /*!< Enable protection on write. */ 03355 03356 /* Register: MPU_PROTENSET1 */ 03357 /* Description: Erase and write protection bit enable set register. */ 03358 03359 /* Bit 31 : Protection enable for region 63. */ 03360 #define MPU_PROTENSET1_PROTREG63_Pos (31UL) /*!< Position of PROTREG63 field. */ 03361 #define MPU_PROTENSET1_PROTREG63_Msk (0x1UL << MPU_PROTENSET1_PROTREG63_Pos) /*!< Bit mask of PROTREG63 field. */ 03362 #define MPU_PROTENSET1_PROTREG63_Disabled (0UL) /*!< Protection disabled. */ 03363 #define MPU_PROTENSET1_PROTREG63_Enabled (1UL) /*!< Protection enabled. */ 03364 #define MPU_PROTENSET1_PROTREG63_Set (1UL) /*!< Enable protection on write. */ 03365 03366 /* Bit 30 : Protection enable for region 62. */ 03367 #define MPU_PROTENSET1_PROTREG62_Pos (30UL) /*!< Position of PROTREG62 field. */ 03368 #define MPU_PROTENSET1_PROTREG62_Msk (0x1UL << MPU_PROTENSET1_PROTREG62_Pos) /*!< Bit mask of PROTREG62 field. */ 03369 #define MPU_PROTENSET1_PROTREG62_Disabled (0UL) /*!< Protection disabled. */ 03370 #define MPU_PROTENSET1_PROTREG62_Enabled (1UL) /*!< Protection enabled. */ 03371 #define MPU_PROTENSET1_PROTREG62_Set (1UL) /*!< Enable protection on write. */ 03372 03373 /* Bit 29 : Protection enable for region 61. */ 03374 #define MPU_PROTENSET1_PROTREG61_Pos (29UL) /*!< Position of PROTREG61 field. */ 03375 #define MPU_PROTENSET1_PROTREG61_Msk (0x1UL << MPU_PROTENSET1_PROTREG61_Pos) /*!< Bit mask of PROTREG61 field. */ 03376 #define MPU_PROTENSET1_PROTREG61_Disabled (0UL) /*!< Protection disabled. */ 03377 #define MPU_PROTENSET1_PROTREG61_Enabled (1UL) /*!< Protection enabled. */ 03378 #define MPU_PROTENSET1_PROTREG61_Set (1UL) /*!< Enable protection on write. */ 03379 03380 /* Bit 28 : Protection enable for region 60. */ 03381 #define MPU_PROTENSET1_PROTREG60_Pos (28UL) /*!< Position of PROTREG60 field. */ 03382 #define MPU_PROTENSET1_PROTREG60_Msk (0x1UL << MPU_PROTENSET1_PROTREG60_Pos) /*!< Bit mask of PROTREG60 field. */ 03383 #define MPU_PROTENSET1_PROTREG60_Disabled (0UL) /*!< Protection disabled. */ 03384 #define MPU_PROTENSET1_PROTREG60_Enabled (1UL) /*!< Protection enabled. */ 03385 #define MPU_PROTENSET1_PROTREG60_Set (1UL) /*!< Enable protection on write. */ 03386 03387 /* Bit 27 : Protection enable for region 59. */ 03388 #define MPU_PROTENSET1_PROTREG59_Pos (27UL) /*!< Position of PROTREG59 field. */ 03389 #define MPU_PROTENSET1_PROTREG59_Msk (0x1UL << MPU_PROTENSET1_PROTREG59_Pos) /*!< Bit mask of PROTREG59 field. */ 03390 #define MPU_PROTENSET1_PROTREG59_Disabled (0UL) /*!< Protection disabled. */ 03391 #define MPU_PROTENSET1_PROTREG59_Enabled (1UL) /*!< Protection enabled. */ 03392 #define MPU_PROTENSET1_PROTREG59_Set (1UL) /*!< Enable protection on write. */ 03393 03394 /* Bit 26 : Protection enable for region 58. */ 03395 #define MPU_PROTENSET1_PROTREG58_Pos (26UL) /*!< Position of PROTREG58 field. */ 03396 #define MPU_PROTENSET1_PROTREG58_Msk (0x1UL << MPU_PROTENSET1_PROTREG58_Pos) /*!< Bit mask of PROTREG58 field. */ 03397 #define MPU_PROTENSET1_PROTREG58_Disabled (0UL) /*!< Protection disabled. */ 03398 #define MPU_PROTENSET1_PROTREG58_Enabled (1UL) /*!< Protection enabled. */ 03399 #define MPU_PROTENSET1_PROTREG58_Set (1UL) /*!< Enable protection on write. */ 03400 03401 /* Bit 25 : Protection enable for region 57. */ 03402 #define MPU_PROTENSET1_PROTREG57_Pos (25UL) /*!< Position of PROTREG57 field. */ 03403 #define MPU_PROTENSET1_PROTREG57_Msk (0x1UL << MPU_PROTENSET1_PROTREG57_Pos) /*!< Bit mask of PROTREG57 field. */ 03404 #define MPU_PROTENSET1_PROTREG57_Disabled (0UL) /*!< Protection disabled. */ 03405 #define MPU_PROTENSET1_PROTREG57_Enabled (1UL) /*!< Protection enabled. */ 03406 #define MPU_PROTENSET1_PROTREG57_Set (1UL) /*!< Enable protection on write. */ 03407 03408 /* Bit 24 : Protection enable for region 56. */ 03409 #define MPU_PROTENSET1_PROTREG56_Pos (24UL) /*!< Position of PROTREG56 field. */ 03410 #define MPU_PROTENSET1_PROTREG56_Msk (0x1UL << MPU_PROTENSET1_PROTREG56_Pos) /*!< Bit mask of PROTREG56 field. */ 03411 #define MPU_PROTENSET1_PROTREG56_Disabled (0UL) /*!< Protection disabled. */ 03412 #define MPU_PROTENSET1_PROTREG56_Enabled (1UL) /*!< Protection enabled. */ 03413 #define MPU_PROTENSET1_PROTREG56_Set (1UL) /*!< Enable protection on write. */ 03414 03415 /* Bit 23 : Protection enable for region 55. */ 03416 #define MPU_PROTENSET1_PROTREG55_Pos (23UL) /*!< Position of PROTREG55 field. */ 03417 #define MPU_PROTENSET1_PROTREG55_Msk (0x1UL << MPU_PROTENSET1_PROTREG55_Pos) /*!< Bit mask of PROTREG55 field. */ 03418 #define MPU_PROTENSET1_PROTREG55_Disabled (0UL) /*!< Protection disabled. */ 03419 #define MPU_PROTENSET1_PROTREG55_Enabled (1UL) /*!< Protection enabled. */ 03420 #define MPU_PROTENSET1_PROTREG55_Set (1UL) /*!< Enable protection on write. */ 03421 03422 /* Bit 22 : Protection enable for region 54. */ 03423 #define MPU_PROTENSET1_PROTREG54_Pos (22UL) /*!< Position of PROTREG54 field. */ 03424 #define MPU_PROTENSET1_PROTREG54_Msk (0x1UL << MPU_PROTENSET1_PROTREG54_Pos) /*!< Bit mask of PROTREG54 field. */ 03425 #define MPU_PROTENSET1_PROTREG54_Disabled (0UL) /*!< Protection disabled. */ 03426 #define MPU_PROTENSET1_PROTREG54_Enabled (1UL) /*!< Protection enabled. */ 03427 #define MPU_PROTENSET1_PROTREG54_Set (1UL) /*!< Enable protection on write. */ 03428 03429 /* Bit 21 : Protection enable for region 53. */ 03430 #define MPU_PROTENSET1_PROTREG53_Pos (21UL) /*!< Position of PROTREG53 field. */ 03431 #define MPU_PROTENSET1_PROTREG53_Msk (0x1UL << MPU_PROTENSET1_PROTREG53_Pos) /*!< Bit mask of PROTREG53 field. */ 03432 #define MPU_PROTENSET1_PROTREG53_Disabled (0UL) /*!< Protection disabled. */ 03433 #define MPU_PROTENSET1_PROTREG53_Enabled (1UL) /*!< Protection enabled. */ 03434 #define MPU_PROTENSET1_PROTREG53_Set (1UL) /*!< Enable protection on write. */ 03435 03436 /* Bit 20 : Protection enable for region 52. */ 03437 #define MPU_PROTENSET1_PROTREG52_Pos (20UL) /*!< Position of PROTREG52 field. */ 03438 #define MPU_PROTENSET1_PROTREG52_Msk (0x1UL << MPU_PROTENSET1_PROTREG52_Pos) /*!< Bit mask of PROTREG52 field. */ 03439 #define MPU_PROTENSET1_PROTREG52_Disabled (0UL) /*!< Protection disabled. */ 03440 #define MPU_PROTENSET1_PROTREG52_Enabled (1UL) /*!< Protection enabled. */ 03441 #define MPU_PROTENSET1_PROTREG52_Set (1UL) /*!< Enable protection on write. */ 03442 03443 /* Bit 19 : Protection enable for region 51. */ 03444 #define MPU_PROTENSET1_PROTREG51_Pos (19UL) /*!< Position of PROTREG51 field. */ 03445 #define MPU_PROTENSET1_PROTREG51_Msk (0x1UL << MPU_PROTENSET1_PROTREG51_Pos) /*!< Bit mask of PROTREG51 field. */ 03446 #define MPU_PROTENSET1_PROTREG51_Disabled (0UL) /*!< Protection disabled. */ 03447 #define MPU_PROTENSET1_PROTREG51_Enabled (1UL) /*!< Protection enabled. */ 03448 #define MPU_PROTENSET1_PROTREG51_Set (1UL) /*!< Enable protection on write. */ 03449 03450 /* Bit 18 : Protection enable for region 50. */ 03451 #define MPU_PROTENSET1_PROTREG50_Pos (18UL) /*!< Position of PROTREG50 field. */ 03452 #define MPU_PROTENSET1_PROTREG50_Msk (0x1UL << MPU_PROTENSET1_PROTREG50_Pos) /*!< Bit mask of PROTREG50 field. */ 03453 #define MPU_PROTENSET1_PROTREG50_Disabled (0UL) /*!< Protection disabled. */ 03454 #define MPU_PROTENSET1_PROTREG50_Enabled (1UL) /*!< Protection enabled. */ 03455 #define MPU_PROTENSET1_PROTREG50_Set (1UL) /*!< Enable protection on write. */ 03456 03457 /* Bit 17 : Protection enable for region 49. */ 03458 #define MPU_PROTENSET1_PROTREG49_Pos (17UL) /*!< Position of PROTREG49 field. */ 03459 #define MPU_PROTENSET1_PROTREG49_Msk (0x1UL << MPU_PROTENSET1_PROTREG49_Pos) /*!< Bit mask of PROTREG49 field. */ 03460 #define MPU_PROTENSET1_PROTREG49_Disabled (0UL) /*!< Protection disabled. */ 03461 #define MPU_PROTENSET1_PROTREG49_Enabled (1UL) /*!< Protection enabled. */ 03462 #define MPU_PROTENSET1_PROTREG49_Set (1UL) /*!< Enable protection on write. */ 03463 03464 /* Bit 16 : Protection enable for region 48. */ 03465 #define MPU_PROTENSET1_PROTREG48_Pos (16UL) /*!< Position of PROTREG48 field. */ 03466 #define MPU_PROTENSET1_PROTREG48_Msk (0x1UL << MPU_PROTENSET1_PROTREG48_Pos) /*!< Bit mask of PROTREG48 field. */ 03467 #define MPU_PROTENSET1_PROTREG48_Disabled (0UL) /*!< Protection disabled. */ 03468 #define MPU_PROTENSET1_PROTREG48_Enabled (1UL) /*!< Protection enabled. */ 03469 #define MPU_PROTENSET1_PROTREG48_Set (1UL) /*!< Enable protection on write. */ 03470 03471 /* Bit 15 : Protection enable for region 47. */ 03472 #define MPU_PROTENSET1_PROTREG47_Pos (15UL) /*!< Position of PROTREG47 field. */ 03473 #define MPU_PROTENSET1_PROTREG47_Msk (0x1UL << MPU_PROTENSET1_PROTREG47_Pos) /*!< Bit mask of PROTREG47 field. */ 03474 #define MPU_PROTENSET1_PROTREG47_Disabled (0UL) /*!< Protection disabled. */ 03475 #define MPU_PROTENSET1_PROTREG47_Enabled (1UL) /*!< Protection enabled. */ 03476 #define MPU_PROTENSET1_PROTREG47_Set (1UL) /*!< Enable protection on write. */ 03477 03478 /* Bit 14 : Protection enable for region 46. */ 03479 #define MPU_PROTENSET1_PROTREG46_Pos (14UL) /*!< Position of PROTREG46 field. */ 03480 #define MPU_PROTENSET1_PROTREG46_Msk (0x1UL << MPU_PROTENSET1_PROTREG46_Pos) /*!< Bit mask of PROTREG46 field. */ 03481 #define MPU_PROTENSET1_PROTREG46_Disabled (0UL) /*!< Protection disabled. */ 03482 #define MPU_PROTENSET1_PROTREG46_Enabled (1UL) /*!< Protection enabled. */ 03483 #define MPU_PROTENSET1_PROTREG46_Set (1UL) /*!< Enable protection on write. */ 03484 03485 /* Bit 13 : Protection enable for region 45. */ 03486 #define MPU_PROTENSET1_PROTREG45_Pos (13UL) /*!< Position of PROTREG45 field. */ 03487 #define MPU_PROTENSET1_PROTREG45_Msk (0x1UL << MPU_PROTENSET1_PROTREG45_Pos) /*!< Bit mask of PROTREG45 field. */ 03488 #define MPU_PROTENSET1_PROTREG45_Disabled (0UL) /*!< Protection disabled. */ 03489 #define MPU_PROTENSET1_PROTREG45_Enabled (1UL) /*!< Protection enabled. */ 03490 #define MPU_PROTENSET1_PROTREG45_Set (1UL) /*!< Enable protection on write. */ 03491 03492 /* Bit 12 : Protection enable for region 44. */ 03493 #define MPU_PROTENSET1_PROTREG44_Pos (12UL) /*!< Position of PROTREG44 field. */ 03494 #define MPU_PROTENSET1_PROTREG44_Msk (0x1UL << MPU_PROTENSET1_PROTREG44_Pos) /*!< Bit mask of PROTREG44 field. */ 03495 #define MPU_PROTENSET1_PROTREG44_Disabled (0UL) /*!< Protection disabled. */ 03496 #define MPU_PROTENSET1_PROTREG44_Enabled (1UL) /*!< Protection enabled. */ 03497 #define MPU_PROTENSET1_PROTREG44_Set (1UL) /*!< Enable protection on write. */ 03498 03499 /* Bit 11 : Protection enable for region 43. */ 03500 #define MPU_PROTENSET1_PROTREG43_Pos (11UL) /*!< Position of PROTREG43 field. */ 03501 #define MPU_PROTENSET1_PROTREG43_Msk (0x1UL << MPU_PROTENSET1_PROTREG43_Pos) /*!< Bit mask of PROTREG43 field. */ 03502 #define MPU_PROTENSET1_PROTREG43_Disabled (0UL) /*!< Protection disabled. */ 03503 #define MPU_PROTENSET1_PROTREG43_Enabled (1UL) /*!< Protection enabled. */ 03504 #define MPU_PROTENSET1_PROTREG43_Set (1UL) /*!< Enable protection on write. */ 03505 03506 /* Bit 10 : Protection enable for region 42. */ 03507 #define MPU_PROTENSET1_PROTREG42_Pos (10UL) /*!< Position of PROTREG42 field. */ 03508 #define MPU_PROTENSET1_PROTREG42_Msk (0x1UL << MPU_PROTENSET1_PROTREG42_Pos) /*!< Bit mask of PROTREG42 field. */ 03509 #define MPU_PROTENSET1_PROTREG42_Disabled (0UL) /*!< Protection disabled. */ 03510 #define MPU_PROTENSET1_PROTREG42_Enabled (1UL) /*!< Protection enabled. */ 03511 #define MPU_PROTENSET1_PROTREG42_Set (1UL) /*!< Enable protection on write. */ 03512 03513 /* Bit 9 : Protection enable for region 41. */ 03514 #define MPU_PROTENSET1_PROTREG41_Pos (9UL) /*!< Position of PROTREG41 field. */ 03515 #define MPU_PROTENSET1_PROTREG41_Msk (0x1UL << MPU_PROTENSET1_PROTREG41_Pos) /*!< Bit mask of PROTREG41 field. */ 03516 #define MPU_PROTENSET1_PROTREG41_Disabled (0UL) /*!< Protection disabled. */ 03517 #define MPU_PROTENSET1_PROTREG41_Enabled (1UL) /*!< Protection enabled. */ 03518 #define MPU_PROTENSET1_PROTREG41_Set (1UL) /*!< Enable protection on write. */ 03519 03520 /* Bit 8 : Protection enable for region 40. */ 03521 #define MPU_PROTENSET1_PROTREG40_Pos (8UL) /*!< Position of PROTREG40 field. */ 03522 #define MPU_PROTENSET1_PROTREG40_Msk (0x1UL << MPU_PROTENSET1_PROTREG40_Pos) /*!< Bit mask of PROTREG40 field. */ 03523 #define MPU_PROTENSET1_PROTREG40_Disabled (0UL) /*!< Protection disabled. */ 03524 #define MPU_PROTENSET1_PROTREG40_Enabled (1UL) /*!< Protection enabled. */ 03525 #define MPU_PROTENSET1_PROTREG40_Set (1UL) /*!< Enable protection on write. */ 03526 03527 /* Bit 7 : Protection enable for region 39. */ 03528 #define MPU_PROTENSET1_PROTREG39_Pos (7UL) /*!< Position of PROTREG39 field. */ 03529 #define MPU_PROTENSET1_PROTREG39_Msk (0x1UL << MPU_PROTENSET1_PROTREG39_Pos) /*!< Bit mask of PROTREG39 field. */ 03530 #define MPU_PROTENSET1_PROTREG39_Disabled (0UL) /*!< Protection disabled. */ 03531 #define MPU_PROTENSET1_PROTREG39_Enabled (1UL) /*!< Protection enabled. */ 03532 #define MPU_PROTENSET1_PROTREG39_Set (1UL) /*!< Enable protection on write. */ 03533 03534 /* Bit 6 : Protection enable for region 38. */ 03535 #define MPU_PROTENSET1_PROTREG38_Pos (6UL) /*!< Position of PROTREG38 field. */ 03536 #define MPU_PROTENSET1_PROTREG38_Msk (0x1UL << MPU_PROTENSET1_PROTREG38_Pos) /*!< Bit mask of PROTREG38 field. */ 03537 #define MPU_PROTENSET1_PROTREG38_Disabled (0UL) /*!< Protection disabled. */ 03538 #define MPU_PROTENSET1_PROTREG38_Enabled (1UL) /*!< Protection enabled. */ 03539 #define MPU_PROTENSET1_PROTREG38_Set (1UL) /*!< Enable protection on write. */ 03540 03541 /* Bit 5 : Protection enable for region 37. */ 03542 #define MPU_PROTENSET1_PROTREG37_Pos (5UL) /*!< Position of PROTREG37 field. */ 03543 #define MPU_PROTENSET1_PROTREG37_Msk (0x1UL << MPU_PROTENSET1_PROTREG37_Pos) /*!< Bit mask of PROTREG37 field. */ 03544 #define MPU_PROTENSET1_PROTREG37_Disabled (0UL) /*!< Protection disabled. */ 03545 #define MPU_PROTENSET1_PROTREG37_Enabled (1UL) /*!< Protection enabled. */ 03546 #define MPU_PROTENSET1_PROTREG37_Set (1UL) /*!< Enable protection on write. */ 03547 03548 /* Bit 4 : Protection enable for region 36. */ 03549 #define MPU_PROTENSET1_PROTREG36_Pos (4UL) /*!< Position of PROTREG36 field. */ 03550 #define MPU_PROTENSET1_PROTREG36_Msk (0x1UL << MPU_PROTENSET1_PROTREG36_Pos) /*!< Bit mask of PROTREG36 field. */ 03551 #define MPU_PROTENSET1_PROTREG36_Disabled (0UL) /*!< Protection disabled. */ 03552 #define MPU_PROTENSET1_PROTREG36_Enabled (1UL) /*!< Protection enabled. */ 03553 #define MPU_PROTENSET1_PROTREG36_Set (1UL) /*!< Enable protection on write. */ 03554 03555 /* Bit 3 : Protection enable for region 35. */ 03556 #define MPU_PROTENSET1_PROTREG35_Pos (3UL) /*!< Position of PROTREG35 field. */ 03557 #define MPU_PROTENSET1_PROTREG35_Msk (0x1UL << MPU_PROTENSET1_PROTREG35_Pos) /*!< Bit mask of PROTREG35 field. */ 03558 #define MPU_PROTENSET1_PROTREG35_Disabled (0UL) /*!< Protection disabled. */ 03559 #define MPU_PROTENSET1_PROTREG35_Enabled (1UL) /*!< Protection enabled. */ 03560 #define MPU_PROTENSET1_PROTREG35_Set (1UL) /*!< Enable protection on write. */ 03561 03562 /* Bit 2 : Protection enable for region 34. */ 03563 #define MPU_PROTENSET1_PROTREG34_Pos (2UL) /*!< Position of PROTREG34 field. */ 03564 #define MPU_PROTENSET1_PROTREG34_Msk (0x1UL << MPU_PROTENSET1_PROTREG34_Pos) /*!< Bit mask of PROTREG34 field. */ 03565 #define MPU_PROTENSET1_PROTREG34_Disabled (0UL) /*!< Protection disabled. */ 03566 #define MPU_PROTENSET1_PROTREG34_Enabled (1UL) /*!< Protection enabled. */ 03567 #define MPU_PROTENSET1_PROTREG34_Set (1UL) /*!< Enable protection on write. */ 03568 03569 /* Bit 1 : Protection enable for region 33. */ 03570 #define MPU_PROTENSET1_PROTREG33_Pos (1UL) /*!< Position of PROTREG33 field. */ 03571 #define MPU_PROTENSET1_PROTREG33_Msk (0x1UL << MPU_PROTENSET1_PROTREG33_Pos) /*!< Bit mask of PROTREG33 field. */ 03572 #define MPU_PROTENSET1_PROTREG33_Disabled (0UL) /*!< Protection disabled. */ 03573 #define MPU_PROTENSET1_PROTREG33_Enabled (1UL) /*!< Protection enabled. */ 03574 #define MPU_PROTENSET1_PROTREG33_Set (1UL) /*!< Enable protection on write. */ 03575 03576 /* Bit 0 : Protection enable for region 32. */ 03577 #define MPU_PROTENSET1_PROTREG32_Pos (0UL) /*!< Position of PROTREG32 field. */ 03578 #define MPU_PROTENSET1_PROTREG32_Msk (0x1UL << MPU_PROTENSET1_PROTREG32_Pos) /*!< Bit mask of PROTREG32 field. */ 03579 #define MPU_PROTENSET1_PROTREG32_Disabled (0UL) /*!< Protection disabled. */ 03580 #define MPU_PROTENSET1_PROTREG32_Enabled (1UL) /*!< Protection enabled. */ 03581 #define MPU_PROTENSET1_PROTREG32_Set (1UL) /*!< Enable protection on write. */ 03582 03583 /* Register: MPU_DISABLEINDEBUG */ 03584 /* Description: Disable erase and write protection mechanism in debug mode. */ 03585 03586 /* Bit 0 : Disable protection mechanism in debug mode. */ 03587 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos (0UL) /*!< Position of DISABLEINDEBUG field. */ 03588 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Msk (0x1UL << MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos) /*!< Bit mask of DISABLEINDEBUG field. */ 03589 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Enabled (0UL) /*!< Protection enabled. */ 03590 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Disabled (1UL) /*!< Protection disabled. */ 03591 03592 /* Register: MPU_PROTBLOCKSIZE */ 03593 /* Description: Erase and write protection block size. */ 03594 03595 /* Bits 1..0 : Erase and write protection block size. */ 03596 #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos (0UL) /*!< Position of PROTBLOCKSIZE field. */ 03597 #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Msk (0x3UL << MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_Pos) /*!< Bit mask of PROTBLOCKSIZE field. */ 03598 #define MPU_PROTBLOCKSIZE_PROTBLOCKSIZE_4k (0UL) /*!< Erase and write protection block size is 4k. */ 03599 03600 03601 /* Peripheral: NVMC */ 03602 /* Description: Non Volatile Memory Controller. */ 03603 03604 /* Register: NVMC_READY */ 03605 /* Description: Ready flag. */ 03606 03607 /* Bit 0 : NVMC ready. */ 03608 #define NVMC_READY_READY_Pos (0UL) /*!< Position of READY field. */ 03609 #define NVMC_READY_READY_Msk (0x1UL << NVMC_READY_READY_Pos) /*!< Bit mask of READY field. */ 03610 #define NVMC_READY_READY_Busy (0UL) /*!< NVMC is busy (on-going write or erase operation). */ 03611 #define NVMC_READY_READY_Ready (1UL) /*!< NVMC is ready. */ 03612 03613 /* Register: NVMC_CONFIG */ 03614 /* Description: Configuration register. */ 03615 03616 /* Bits 1..0 : Program write enable. */ 03617 #define NVMC_CONFIG_WEN_Pos (0UL) /*!< Position of WEN field. */ 03618 #define NVMC_CONFIG_WEN_Msk (0x3UL << NVMC_CONFIG_WEN_Pos) /*!< Bit mask of WEN field. */ 03619 #define NVMC_CONFIG_WEN_Ren (0x00UL) /*!< Read only access. */ 03620 #define NVMC_CONFIG_WEN_Wen (0x01UL) /*!< Write enabled. */ 03621 #define NVMC_CONFIG_WEN_Een (0x02UL) /*!< Erase enabled. */ 03622 03623 /* Register: NVMC_ERASEALL */ 03624 /* Description: Register for erasing all non-volatile user memory. */ 03625 03626 /* Bit 0 : Starts the erasing of all user NVM (code region 0/1 and UICR registers). */ 03627 #define NVMC_ERASEALL_ERASEALL_Pos (0UL) /*!< Position of ERASEALL field. */ 03628 #define NVMC_ERASEALL_ERASEALL_Msk (0x1UL << NVMC_ERASEALL_ERASEALL_Pos) /*!< Bit mask of ERASEALL field. */ 03629 #define NVMC_ERASEALL_ERASEALL_NoOperation (0UL) /*!< No operation. */ 03630 #define NVMC_ERASEALL_ERASEALL_Erase (1UL) /*!< Start chip erase. */ 03631 03632 /* Register: NVMC_ERASEUICR */ 03633 /* Description: Register for start erasing User Information Congfiguration Registers. */ 03634 03635 /* Bit 0 : It can only be used when all contents of code region 1 are erased. */ 03636 #define NVMC_ERASEUICR_ERASEUICR_Pos (0UL) /*!< Position of ERASEUICR field. */ 03637 #define NVMC_ERASEUICR_ERASEUICR_Msk (0x1UL << NVMC_ERASEUICR_ERASEUICR_Pos) /*!< Bit mask of ERASEUICR field. */ 03638 #define NVMC_ERASEUICR_ERASEUICR_NoOperation (0UL) /*!< No operation. */ 03639 #define NVMC_ERASEUICR_ERASEUICR_Erase (1UL) /*!< Start UICR erase. */ 03640 03641 03642 /* Peripheral: POWER */ 03643 /* Description: Power Control. */ 03644 03645 /* Register: POWER_INTENSET */ 03646 /* Description: Interrupt enable set register. */ 03647 03648 /* Bit 2 : Enable interrupt on POFWARN event. */ 03649 #define POWER_INTENSET_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */ 03650 #define POWER_INTENSET_POFWARN_Msk (0x1UL << POWER_INTENSET_POFWARN_Pos) /*!< Bit mask of POFWARN field. */ 03651 #define POWER_INTENSET_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */ 03652 #define POWER_INTENSET_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */ 03653 #define POWER_INTENSET_POFWARN_Set (1UL) /*!< Enable interrupt on write. */ 03654 03655 /* Register: POWER_INTENCLR */ 03656 /* Description: Interrupt enable clear register. */ 03657 03658 /* Bit 2 : Disable interrupt on POFWARN event. */ 03659 #define POWER_INTENCLR_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */ 03660 #define POWER_INTENCLR_POFWARN_Msk (0x1UL << POWER_INTENCLR_POFWARN_Pos) /*!< Bit mask of POFWARN field. */ 03661 #define POWER_INTENCLR_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */ 03662 #define POWER_INTENCLR_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */ 03663 #define POWER_INTENCLR_POFWARN_Clear (1UL) /*!< Disable interrupt on write. */ 03664 03665 /* Register: POWER_RESETREAS */ 03666 /* Description: Reset reason. */ 03667 03668 /* Bit 18 : Reset from wake-up from OFF mode detected by entering into debug interface mode. */ 03669 #define POWER_RESETREAS_DIF_Pos (18UL) /*!< Position of DIF field. */ 03670 #define POWER_RESETREAS_DIF_Msk (0x1UL << POWER_RESETREAS_DIF_Pos) /*!< Bit mask of DIF field. */ 03671 #define POWER_RESETREAS_DIF_NotDetected (0UL) /*!< Reset not detected. */ 03672 #define POWER_RESETREAS_DIF_Detected (1UL) /*!< Reset detected. */ 03673 03674 /* Bit 17 : Reset from wake-up from OFF mode detected by the use of ANADETECT signal from LPCOMP. */ 03675 #define POWER_RESETREAS_LPCOMP_Pos (17UL) /*!< Position of LPCOMP field. */ 03676 #define POWER_RESETREAS_LPCOMP_Msk (0x1UL << POWER_RESETREAS_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */ 03677 #define POWER_RESETREAS_LPCOMP_NotDetected (0UL) /*!< Reset not detected. */ 03678 #define POWER_RESETREAS_LPCOMP_Detected (1UL) /*!< Reset detected. */ 03679 03680 /* Bit 16 : Reset from wake-up from OFF mode detected by the use of DETECT signal from GPIO. */ 03681 #define POWER_RESETREAS_OFF_Pos (16UL) /*!< Position of OFF field. */ 03682 #define POWER_RESETREAS_OFF_Msk (0x1UL << POWER_RESETREAS_OFF_Pos) /*!< Bit mask of OFF field. */ 03683 #define POWER_RESETREAS_OFF_NotDetected (0UL) /*!< Reset not detected. */ 03684 #define POWER_RESETREAS_OFF_Detected (1UL) /*!< Reset detected. */ 03685 03686 /* Bit 3 : Reset from CPU lock-up detected. */ 03687 #define POWER_RESETREAS_LOCKUP_Pos (3UL) /*!< Position of LOCKUP field. */ 03688 #define POWER_RESETREAS_LOCKUP_Msk (0x1UL << POWER_RESETREAS_LOCKUP_Pos) /*!< Bit mask of LOCKUP field. */ 03689 #define POWER_RESETREAS_LOCKUP_NotDetected (0UL) /*!< Reset not detected. */ 03690 #define POWER_RESETREAS_LOCKUP_Detected (1UL) /*!< Reset detected. */ 03691 03692 /* Bit 2 : Reset from AIRCR.SYSRESETREQ detected. */ 03693 #define POWER_RESETREAS_SREQ_Pos (2UL) /*!< Position of SREQ field. */ 03694 #define POWER_RESETREAS_SREQ_Msk (0x1UL << POWER_RESETREAS_SREQ_Pos) /*!< Bit mask of SREQ field. */ 03695 #define POWER_RESETREAS_SREQ_NotDetected (0UL) /*!< Reset not detected. */ 03696 #define POWER_RESETREAS_SREQ_Detected (1UL) /*!< Reset detected. */ 03697 03698 /* Bit 1 : Reset from watchdog detected. */ 03699 #define POWER_RESETREAS_DOG_Pos (1UL) /*!< Position of DOG field. */ 03700 #define POWER_RESETREAS_DOG_Msk (0x1UL << POWER_RESETREAS_DOG_Pos) /*!< Bit mask of DOG field. */ 03701 #define POWER_RESETREAS_DOG_NotDetected (0UL) /*!< Reset not detected. */ 03702 #define POWER_RESETREAS_DOG_Detected (1UL) /*!< Reset detected. */ 03703 03704 /* Bit 0 : Reset from pin-reset detected. */ 03705 #define POWER_RESETREAS_RESETPIN_Pos (0UL) /*!< Position of RESETPIN field. */ 03706 #define POWER_RESETREAS_RESETPIN_Msk (0x1UL << POWER_RESETREAS_RESETPIN_Pos) /*!< Bit mask of RESETPIN field. */ 03707 #define POWER_RESETREAS_RESETPIN_NotDetected (0UL) /*!< Reset not detected. */ 03708 #define POWER_RESETREAS_RESETPIN_Detected (1UL) /*!< Reset detected. */ 03709 03710 /* Register: POWER_RAMSTATUS */ 03711 /* Description: Ram status register. */ 03712 03713 /* Bit 3 : RAM block 3 status. */ 03714 #define POWER_RAMSTATUS_RAMBLOCK3_Pos (3UL) /*!< Position of RAMBLOCK3 field. */ 03715 #define POWER_RAMSTATUS_RAMBLOCK3_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK3_Pos) /*!< Bit mask of RAMBLOCK3 field. */ 03716 #define POWER_RAMSTATUS_RAMBLOCK3_Off (0UL) /*!< RAM block 3 is off or powering up. */ 03717 #define POWER_RAMSTATUS_RAMBLOCK3_On (1UL) /*!< RAM block 3 is on. */ 03718 03719 /* Bit 2 : RAM block 2 status. */ 03720 #define POWER_RAMSTATUS_RAMBLOCK2_Pos (2UL) /*!< Position of RAMBLOCK2 field. */ 03721 #define POWER_RAMSTATUS_RAMBLOCK2_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK2_Pos) /*!< Bit mask of RAMBLOCK2 field. */ 03722 #define POWER_RAMSTATUS_RAMBLOCK2_Off (0UL) /*!< RAM block 2 is off or powering up. */ 03723 #define POWER_RAMSTATUS_RAMBLOCK2_On (1UL) /*!< RAM block 2 is on. */ 03724 03725 /* Bit 1 : RAM block 1 status. */ 03726 #define POWER_RAMSTATUS_RAMBLOCK1_Pos (1UL) /*!< Position of RAMBLOCK1 field. */ 03727 #define POWER_RAMSTATUS_RAMBLOCK1_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK1_Pos) /*!< Bit mask of RAMBLOCK1 field. */ 03728 #define POWER_RAMSTATUS_RAMBLOCK1_Off (0UL) /*!< RAM block 1 is off or powering up. */ 03729 #define POWER_RAMSTATUS_RAMBLOCK1_On (1UL) /*!< RAM block 1 is on. */ 03730 03731 /* Bit 0 : RAM block 0 status. */ 03732 #define POWER_RAMSTATUS_RAMBLOCK0_Pos (0UL) /*!< Position of RAMBLOCK0 field. */ 03733 #define POWER_RAMSTATUS_RAMBLOCK0_Msk (0x1UL << POWER_RAMSTATUS_RAMBLOCK0_Pos) /*!< Bit mask of RAMBLOCK0 field. */ 03734 #define POWER_RAMSTATUS_RAMBLOCK0_Off (0UL) /*!< RAM block 0 is off or powering up. */ 03735 #define POWER_RAMSTATUS_RAMBLOCK0_On (1UL) /*!< RAM block 0 is on. */ 03736 03737 /* Register: POWER_SYSTEMOFF */ 03738 /* Description: System off register. */ 03739 03740 /* Bit 0 : Enter system off mode. */ 03741 #define POWER_SYSTEMOFF_SYSTEMOFF_Pos (0UL) /*!< Position of SYSTEMOFF field. */ 03742 #define POWER_SYSTEMOFF_SYSTEMOFF_Msk (0x1UL << POWER_SYSTEMOFF_SYSTEMOFF_Pos) /*!< Bit mask of SYSTEMOFF field. */ 03743 #define POWER_SYSTEMOFF_SYSTEMOFF_Enter (1UL) /*!< Enter system off mode. */ 03744 03745 /* Register: POWER_POFCON */ 03746 /* Description: Power failure configuration. */ 03747 03748 /* Bits 2..1 : Set threshold level. */ 03749 #define POWER_POFCON_THRESHOLD_Pos (1UL) /*!< Position of THRESHOLD field. */ 03750 #define POWER_POFCON_THRESHOLD_Msk (0x3UL << POWER_POFCON_THRESHOLD_Pos) /*!< Bit mask of THRESHOLD field. */ 03751 #define POWER_POFCON_THRESHOLD_V21 (0x00UL) /*!< Set threshold to 2.1Volts. */ 03752 #define POWER_POFCON_THRESHOLD_V23 (0x01UL) /*!< Set threshold to 2.3Volts. */ 03753 #define POWER_POFCON_THRESHOLD_V25 (0x02UL) /*!< Set threshold to 2.5Volts. */ 03754 #define POWER_POFCON_THRESHOLD_V27 (0x03UL) /*!< Set threshold to 2.7Volts. */ 03755 03756 /* Bit 0 : Power failure comparator enable. */ 03757 #define POWER_POFCON_POF_Pos (0UL) /*!< Position of POF field. */ 03758 #define POWER_POFCON_POF_Msk (0x1UL << POWER_POFCON_POF_Pos) /*!< Bit mask of POF field. */ 03759 #define POWER_POFCON_POF_Disabled (0UL) /*!< Disabled. */ 03760 #define POWER_POFCON_POF_Enabled (1UL) /*!< Enabled. */ 03761 03762 /* Register: POWER_GPREGRET */ 03763 /* Description: General purpose retention register. This register is a retained register. */ 03764 03765 /* Bits 7..0 : General purpose retention register. */ 03766 #define POWER_GPREGRET_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */ 03767 #define POWER_GPREGRET_GPREGRET_Msk (0xFFUL << POWER_GPREGRET_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */ 03768 03769 /* Register: POWER_RAMON */ 03770 /* Description: Ram on/off. */ 03771 03772 /* Bit 17 : RAM block 1 behaviour in OFF mode. */ 03773 #define POWER_RAMON_OFFRAM1_Pos (17UL) /*!< Position of OFFRAM1 field. */ 03774 #define POWER_RAMON_OFFRAM1_Msk (0x1UL << POWER_RAMON_OFFRAM1_Pos) /*!< Bit mask of OFFRAM1 field. */ 03775 #define POWER_RAMON_OFFRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in OFF mode. */ 03776 #define POWER_RAMON_OFFRAM1_RAM1On (1UL) /*!< RAM block 1 ON in OFF mode. */ 03777 03778 /* Bit 16 : RAM block 0 behaviour in OFF mode. */ 03779 #define POWER_RAMON_OFFRAM0_Pos (16UL) /*!< Position of OFFRAM0 field. */ 03780 #define POWER_RAMON_OFFRAM0_Msk (0x1UL << POWER_RAMON_OFFRAM0_Pos) /*!< Bit mask of OFFRAM0 field. */ 03781 #define POWER_RAMON_OFFRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in OFF mode. */ 03782 #define POWER_RAMON_OFFRAM0_RAM0On (1UL) /*!< RAM block 0 ON in OFF mode. */ 03783 03784 /* Bit 1 : RAM block 1 behaviour in ON mode. */ 03785 #define POWER_RAMON_ONRAM1_Pos (1UL) /*!< Position of ONRAM1 field. */ 03786 #define POWER_RAMON_ONRAM1_Msk (0x1UL << POWER_RAMON_ONRAM1_Pos) /*!< Bit mask of ONRAM1 field. */ 03787 #define POWER_RAMON_ONRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in ON mode. */ 03788 #define POWER_RAMON_ONRAM1_RAM1On (1UL) /*!< RAM block 1 ON in ON mode. */ 03789 03790 /* Bit 0 : RAM block 0 behaviour in ON mode. */ 03791 #define POWER_RAMON_ONRAM0_Pos (0UL) /*!< Position of ONRAM0 field. */ 03792 #define POWER_RAMON_ONRAM0_Msk (0x1UL << POWER_RAMON_ONRAM0_Pos) /*!< Bit mask of ONRAM0 field. */ 03793 #define POWER_RAMON_ONRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in ON mode. */ 03794 #define POWER_RAMON_ONRAM0_RAM0On (1UL) /*!< RAM block 0 ON in ON mode. */ 03795 03796 /* Register: POWER_RESET */ 03797 /* Description: Pin reset functionality configuration register. This register is a retained register. */ 03798 03799 /* Bit 0 : Enable or disable pin reset in debug interface mode. */ 03800 #define POWER_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */ 03801 #define POWER_RESET_RESET_Msk (0x1UL << POWER_RESET_RESET_Pos) /*!< Bit mask of RESET field. */ 03802 #define POWER_RESET_RESET_Disabled (0UL) /*!< Pin reset in debug interface mode disabled. */ 03803 #define POWER_RESET_RESET_Enabled (1UL) /*!< Pin reset in debug interface mode enabled. */ 03804 03805 /* Register: POWER_RAMONB */ 03806 /* Description: Ram on/off. */ 03807 03808 /* Bit 17 : RAM block 3 behaviour in OFF mode. */ 03809 #define POWER_RAMONB_OFFRAM3_Pos (17UL) /*!< Position of OFFRAM3 field. */ 03810 #define POWER_RAMONB_OFFRAM3_Msk (0x1UL << POWER_RAMONB_OFFRAM3_Pos) /*!< Bit mask of OFFRAM3 field. */ 03811 #define POWER_RAMONB_OFFRAM3_RAM3Off (0UL) /*!< RAM block 3 OFF in OFF mode. */ 03812 #define POWER_RAMONB_OFFRAM3_RAM3On (1UL) /*!< RAM block 3 ON in OFF mode. */ 03813 03814 /* Bit 16 : RAM block 2 behaviour in OFF mode. */ 03815 #define POWER_RAMONB_OFFRAM2_Pos (16UL) /*!< Position of OFFRAM2 field. */ 03816 #define POWER_RAMONB_OFFRAM2_Msk (0x1UL << POWER_RAMONB_OFFRAM2_Pos) /*!< Bit mask of OFFRAM2 field. */ 03817 #define POWER_RAMONB_OFFRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in OFF mode. */ 03818 #define POWER_RAMONB_OFFRAM2_RAM2On (1UL) /*!< RAM block 2 ON in OFF mode. */ 03819 03820 /* Bit 1 : RAM block 3 behaviour in ON mode. */ 03821 #define POWER_RAMONB_ONRAM3_Pos (1UL) /*!< Position of ONRAM3 field. */ 03822 #define POWER_RAMONB_ONRAM3_Msk (0x1UL << POWER_RAMONB_ONRAM3_Pos) /*!< Bit mask of ONRAM3 field. */ 03823 #define POWER_RAMONB_ONRAM3_RAM3Off (0UL) /*!< RAM block 33 OFF in ON mode. */ 03824 #define POWER_RAMONB_ONRAM3_RAM3On (1UL) /*!< RAM block 3 ON in ON mode. */ 03825 03826 /* Bit 0 : RAM block 2 behaviour in ON mode. */ 03827 #define POWER_RAMONB_ONRAM2_Pos (0UL) /*!< Position of ONRAM2 field. */ 03828 #define POWER_RAMONB_ONRAM2_Msk (0x1UL << POWER_RAMONB_ONRAM2_Pos) /*!< Bit mask of ONRAM2 field. */ 03829 #define POWER_RAMONB_ONRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in ON mode. */ 03830 #define POWER_RAMONB_ONRAM2_RAM2On (1UL) /*!< RAM block 2 ON in ON mode. */ 03831 03832 /* Register: POWER_DCDCEN */ 03833 /* Description: DCDC converter enable configuration register. */ 03834 03835 /* Bit 0 : Enable DCDC converter. */ 03836 #define POWER_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */ 03837 #define POWER_DCDCEN_DCDCEN_Msk (0x1UL << POWER_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */ 03838 #define POWER_DCDCEN_DCDCEN_Disabled (0UL) /*!< DCDC converter disabled. */ 03839 #define POWER_DCDCEN_DCDCEN_Enabled (1UL) /*!< DCDC converter enabled. */ 03840 03841 /* Register: POWER_DCDCFORCE */ 03842 /* Description: DCDC power-up force register. */ 03843 03844 /* Bit 1 : DCDC power-up force on. */ 03845 #define POWER_DCDCFORCE_FORCEON_Pos (1UL) /*!< Position of FORCEON field. */ 03846 #define POWER_DCDCFORCE_FORCEON_Msk (0x1UL << POWER_DCDCFORCE_FORCEON_Pos) /*!< Bit mask of FORCEON field. */ 03847 #define POWER_DCDCFORCE_FORCEON_NoForce (0UL) /*!< No force. */ 03848 #define POWER_DCDCFORCE_FORCEON_Force (1UL) /*!< Force. */ 03849 03850 /* Bit 0 : DCDC power-up force off. */ 03851 #define POWER_DCDCFORCE_FORCEOFF_Pos (0UL) /*!< Position of FORCEOFF field. */ 03852 #define POWER_DCDCFORCE_FORCEOFF_Msk (0x1UL << POWER_DCDCFORCE_FORCEOFF_Pos) /*!< Bit mask of FORCEOFF field. */ 03853 #define POWER_DCDCFORCE_FORCEOFF_NoForce (0UL) /*!< No force. */ 03854 #define POWER_DCDCFORCE_FORCEOFF_Force (1UL) /*!< Force. */ 03855 03856 03857 /* Peripheral: PPI */ 03858 /* Description: PPI controller. */ 03859 03860 /* Register: PPI_CHEN */ 03861 /* Description: Channel enable. */ 03862 03863 /* Bit 31 : Enable PPI channel 31. */ 03864 #define PPI_CHEN_CH31_Pos (31UL) /*!< Position of CH31 field. */ 03865 #define PPI_CHEN_CH31_Msk (0x1UL << PPI_CHEN_CH31_Pos) /*!< Bit mask of CH31 field. */ 03866 #define PPI_CHEN_CH31_Disabled (0UL) /*!< Channel disabled. */ 03867 #define PPI_CHEN_CH31_Enabled (1UL) /*!< Channel enabled. */ 03868 03869 /* Bit 30 : Enable PPI channel 30. */ 03870 #define PPI_CHEN_CH30_Pos (30UL) /*!< Position of CH30 field. */ 03871 #define PPI_CHEN_CH30_Msk (0x1UL << PPI_CHEN_CH30_Pos) /*!< Bit mask of CH30 field. */ 03872 #define PPI_CHEN_CH30_Disabled (0UL) /*!< Channel disabled. */ 03873 #define PPI_CHEN_CH30_Enabled (1UL) /*!< Channel enabled. */ 03874 03875 /* Bit 29 : Enable PPI channel 29. */ 03876 #define PPI_CHEN_CH29_Pos (29UL) /*!< Position of CH29 field. */ 03877 #define PPI_CHEN_CH29_Msk (0x1UL << PPI_CHEN_CH29_Pos) /*!< Bit mask of CH29 field. */ 03878 #define PPI_CHEN_CH29_Disabled (0UL) /*!< Channel disabled. */ 03879 #define PPI_CHEN_CH29_Enabled (1UL) /*!< Channel enabled. */ 03880 03881 /* Bit 28 : Enable PPI channel 28. */ 03882 #define PPI_CHEN_CH28_Pos (28UL) /*!< Position of CH28 field. */ 03883 #define PPI_CHEN_CH28_Msk (0x1UL << PPI_CHEN_CH28_Pos) /*!< Bit mask of CH28 field. */ 03884 #define PPI_CHEN_CH28_Disabled (0UL) /*!< Channel disabled. */ 03885 #define PPI_CHEN_CH28_Enabled (1UL) /*!< Channel enabled. */ 03886 03887 /* Bit 27 : Enable PPI channel 27. */ 03888 #define PPI_CHEN_CH27_Pos (27UL) /*!< Position of CH27 field. */ 03889 #define PPI_CHEN_CH27_Msk (0x1UL << PPI_CHEN_CH27_Pos) /*!< Bit mask of CH27 field. */ 03890 #define PPI_CHEN_CH27_Disabled (0UL) /*!< Channel disabled. */ 03891 #define PPI_CHEN_CH27_Enabled (1UL) /*!< Channel enabled. */ 03892 03893 /* Bit 26 : Enable PPI channel 26. */ 03894 #define PPI_CHEN_CH26_Pos (26UL) /*!< Position of CH26 field. */ 03895 #define PPI_CHEN_CH26_Msk (0x1UL << PPI_CHEN_CH26_Pos) /*!< Bit mask of CH26 field. */ 03896 #define PPI_CHEN_CH26_Disabled (0UL) /*!< Channel disabled. */ 03897 #define PPI_CHEN_CH26_Enabled (1UL) /*!< Channel enabled. */ 03898 03899 /* Bit 25 : Enable PPI channel 25. */ 03900 #define PPI_CHEN_CH25_Pos (25UL) /*!< Position of CH25 field. */ 03901 #define PPI_CHEN_CH25_Msk (0x1UL << PPI_CHEN_CH25_Pos) /*!< Bit mask of CH25 field. */ 03902 #define PPI_CHEN_CH25_Disabled (0UL) /*!< Channel disabled. */ 03903 #define PPI_CHEN_CH25_Enabled (1UL) /*!< Channel enabled. */ 03904 03905 /* Bit 24 : Enable PPI channel 24. */ 03906 #define PPI_CHEN_CH24_Pos (24UL) /*!< Position of CH24 field. */ 03907 #define PPI_CHEN_CH24_Msk (0x1UL << PPI_CHEN_CH24_Pos) /*!< Bit mask of CH24 field. */ 03908 #define PPI_CHEN_CH24_Disabled (0UL) /*!< Channel disabled. */ 03909 #define PPI_CHEN_CH24_Enabled (1UL) /*!< Channel enabled. */ 03910 03911 /* Bit 23 : Enable PPI channel 23. */ 03912 #define PPI_CHEN_CH23_Pos (23UL) /*!< Position of CH23 field. */ 03913 #define PPI_CHEN_CH23_Msk (0x1UL << PPI_CHEN_CH23_Pos) /*!< Bit mask of CH23 field. */ 03914 #define PPI_CHEN_CH23_Disabled (0UL) /*!< Channel disabled. */ 03915 #define PPI_CHEN_CH23_Enabled (1UL) /*!< Channel enabled. */ 03916 03917 /* Bit 22 : Enable PPI channel 22. */ 03918 #define PPI_CHEN_CH22_Pos (22UL) /*!< Position of CH22 field. */ 03919 #define PPI_CHEN_CH22_Msk (0x1UL << PPI_CHEN_CH22_Pos) /*!< Bit mask of CH22 field. */ 03920 #define PPI_CHEN_CH22_Disabled (0UL) /*!< Channel disabled. */ 03921 #define PPI_CHEN_CH22_Enabled (1UL) /*!< Channel enabled. */ 03922 03923 /* Bit 21 : Enable PPI channel 21. */ 03924 #define PPI_CHEN_CH21_Pos (21UL) /*!< Position of CH21 field. */ 03925 #define PPI_CHEN_CH21_Msk (0x1UL << PPI_CHEN_CH21_Pos) /*!< Bit mask of CH21 field. */ 03926 #define PPI_CHEN_CH21_Disabled (0UL) /*!< Channel disabled. */ 03927 #define PPI_CHEN_CH21_Enabled (1UL) /*!< Channel enabled. */ 03928 03929 /* Bit 20 : Enable PPI channel 20. */ 03930 #define PPI_CHEN_CH20_Pos (20UL) /*!< Position of CH20 field. */ 03931 #define PPI_CHEN_CH20_Msk (0x1UL << PPI_CHEN_CH20_Pos) /*!< Bit mask of CH20 field. */ 03932 #define PPI_CHEN_CH20_Disabled (0UL) /*!< Channel disabled. */ 03933 #define PPI_CHEN_CH20_Enabled (1UL) /*!< Channel enabled. */ 03934 03935 /* Bit 15 : Enable PPI channel 15. */ 03936 #define PPI_CHEN_CH15_Pos (15UL) /*!< Position of CH15 field. */ 03937 #define PPI_CHEN_CH15_Msk (0x1UL << PPI_CHEN_CH15_Pos) /*!< Bit mask of CH15 field. */ 03938 #define PPI_CHEN_CH15_Disabled (0UL) /*!< Channel disabled. */ 03939 #define PPI_CHEN_CH15_Enabled (1UL) /*!< Channel enabled. */ 03940 03941 /* Bit 14 : Enable PPI channel 14. */ 03942 #define PPI_CHEN_CH14_Pos (14UL) /*!< Position of CH14 field. */ 03943 #define PPI_CHEN_CH14_Msk (0x1UL << PPI_CHEN_CH14_Pos) /*!< Bit mask of CH14 field. */ 03944 #define PPI_CHEN_CH14_Disabled (0UL) /*!< Channel disabled. */ 03945 #define PPI_CHEN_CH14_Enabled (1UL) /*!< Channel enabled. */ 03946 03947 /* Bit 13 : Enable PPI channel 13. */ 03948 #define PPI_CHEN_CH13_Pos (13UL) /*!< Position of CH13 field. */ 03949 #define PPI_CHEN_CH13_Msk (0x1UL << PPI_CHEN_CH13_Pos) /*!< Bit mask of CH13 field. */ 03950 #define PPI_CHEN_CH13_Disabled (0UL) /*!< Channel disabled. */ 03951 #define PPI_CHEN_CH13_Enabled (1UL) /*!< Channel enabled. */ 03952 03953 /* Bit 12 : Enable PPI channel 12. */ 03954 #define PPI_CHEN_CH12_Pos (12UL) /*!< Position of CH12 field. */ 03955 #define PPI_CHEN_CH12_Msk (0x1UL << PPI_CHEN_CH12_Pos) /*!< Bit mask of CH12 field. */ 03956 #define PPI_CHEN_CH12_Disabled (0UL) /*!< Channel disabled. */ 03957 #define PPI_CHEN_CH12_Enabled (1UL) /*!< Channel enabled. */ 03958 03959 /* Bit 11 : Enable PPI channel 11. */ 03960 #define PPI_CHEN_CH11_Pos (11UL) /*!< Position of CH11 field. */ 03961 #define PPI_CHEN_CH11_Msk (0x1UL << PPI_CHEN_CH11_Pos) /*!< Bit mask of CH11 field. */ 03962 #define PPI_CHEN_CH11_Disabled (0UL) /*!< Channel disabled. */ 03963 #define PPI_CHEN_CH11_Enabled (1UL) /*!< Channel enabled. */ 03964 03965 /* Bit 10 : Enable PPI channel 10. */ 03966 #define PPI_CHEN_CH10_Pos (10UL) /*!< Position of CH10 field. */ 03967 #define PPI_CHEN_CH10_Msk (0x1UL << PPI_CHEN_CH10_Pos) /*!< Bit mask of CH10 field. */ 03968 #define PPI_CHEN_CH10_Disabled (0UL) /*!< Channel disabled. */ 03969 #define PPI_CHEN_CH10_Enabled (1UL) /*!< Channel enabled. */ 03970 03971 /* Bit 9 : Enable PPI channel 9. */ 03972 #define PPI_CHEN_CH9_Pos (9UL) /*!< Position of CH9 field. */ 03973 #define PPI_CHEN_CH9_Msk (0x1UL << PPI_CHEN_CH9_Pos) /*!< Bit mask of CH9 field. */ 03974 #define PPI_CHEN_CH9_Disabled (0UL) /*!< Channel disabled. */ 03975 #define PPI_CHEN_CH9_Enabled (1UL) /*!< Channel enabled. */ 03976 03977 /* Bit 8 : Enable PPI channel 8. */ 03978 #define PPI_CHEN_CH8_Pos (8UL) /*!< Position of CH8 field. */ 03979 #define PPI_CHEN_CH8_Msk (0x1UL << PPI_CHEN_CH8_Pos) /*!< Bit mask of CH8 field. */ 03980 #define PPI_CHEN_CH8_Disabled (0UL) /*!< Channel disabled. */ 03981 #define PPI_CHEN_CH8_Enabled (1UL) /*!< Channel enabled. */ 03982 03983 /* Bit 7 : Enable PPI channel 7. */ 03984 #define PPI_CHEN_CH7_Pos (7UL) /*!< Position of CH7 field. */ 03985 #define PPI_CHEN_CH7_Msk (0x1UL << PPI_CHEN_CH7_Pos) /*!< Bit mask of CH7 field. */ 03986 #define PPI_CHEN_CH7_Disabled (0UL) /*!< Channel disabled. */ 03987 #define PPI_CHEN_CH7_Enabled (1UL) /*!< Channel enabled. */ 03988 03989 /* Bit 6 : Enable PPI channel 6. */ 03990 #define PPI_CHEN_CH6_Pos (6UL) /*!< Position of CH6 field. */ 03991 #define PPI_CHEN_CH6_Msk (0x1UL << PPI_CHEN_CH6_Pos) /*!< Bit mask of CH6 field. */ 03992 #define PPI_CHEN_CH6_Disabled (0UL) /*!< Channel disabled. */ 03993 #define PPI_CHEN_CH6_Enabled (1UL) /*!< Channel enabled. */ 03994 03995 /* Bit 5 : Enable PPI channel 5. */ 03996 #define PPI_CHEN_CH5_Pos (5UL) /*!< Position of CH5 field. */ 03997 #define PPI_CHEN_CH5_Msk (0x1UL << PPI_CHEN_CH5_Pos) /*!< Bit mask of CH5 field. */ 03998 #define PPI_CHEN_CH5_Disabled (0UL) /*!< Channel disabled. */ 03999 #define PPI_CHEN_CH5_Enabled (1UL) /*!< Channel enabled. */ 04000 04001 /* Bit 4 : Enable PPI channel 4. */ 04002 #define PPI_CHEN_CH4_Pos (4UL) /*!< Position of CH4 field. */ 04003 #define PPI_CHEN_CH4_Msk (0x1UL << PPI_CHEN_CH4_Pos) /*!< Bit mask of CH4 field. */ 04004 #define PPI_CHEN_CH4_Disabled (0UL) /*!< Channel disabled. */ 04005 #define PPI_CHEN_CH4_Enabled (1UL) /*!< Channel enabled. */ 04006 04007 /* Bit 3 : Enable PPI channel 3. */ 04008 #define PPI_CHEN_CH3_Pos (3UL) /*!< Position of CH3 field. */ 04009 #define PPI_CHEN_CH3_Msk (0x1UL << PPI_CHEN_CH3_Pos) /*!< Bit mask of CH3 field. */ 04010 #define PPI_CHEN_CH3_Disabled (0UL) /*!< Channel disabled */ 04011 #define PPI_CHEN_CH3_Enabled (1UL) /*!< Channel enabled */ 04012 04013 /* Bit 2 : Enable PPI channel 2. */ 04014 #define PPI_CHEN_CH2_Pos (2UL) /*!< Position of CH2 field. */ 04015 #define PPI_CHEN_CH2_Msk (0x1UL << PPI_CHEN_CH2_Pos) /*!< Bit mask of CH2 field. */ 04016 #define PPI_CHEN_CH2_Disabled (0UL) /*!< Channel disabled. */ 04017 #define PPI_CHEN_CH2_Enabled (1UL) /*!< Channel enabled. */ 04018 04019 /* Bit 1 : Enable PPI channel 1. */ 04020 #define PPI_CHEN_CH1_Pos (1UL) /*!< Position of CH1 field. */ 04021 #define PPI_CHEN_CH1_Msk (0x1UL << PPI_CHEN_CH1_Pos) /*!< Bit mask of CH1 field. */ 04022 #define PPI_CHEN_CH1_Disabled (0UL) /*!< Channel disabled. */ 04023 #define PPI_CHEN_CH1_Enabled (1UL) /*!< Channel enabled. */ 04024 04025 /* Bit 0 : Enable PPI channel 0. */ 04026 #define PPI_CHEN_CH0_Pos (0UL) /*!< Position of CH0 field. */ 04027 #define PPI_CHEN_CH0_Msk (0x1UL << PPI_CHEN_CH0_Pos) /*!< Bit mask of CH0 field. */ 04028 #define PPI_CHEN_CH0_Disabled (0UL) /*!< Channel disabled. */ 04029 #define PPI_CHEN_CH0_Enabled (1UL) /*!< Channel enabled. */ 04030 04031 /* Register: PPI_CHENSET */ 04032 /* Description: Channel enable set. */ 04033 04034 /* Bit 31 : Enable PPI channel 31. */ 04035 #define PPI_CHENSET_CH31_Pos (31UL) /*!< Position of CH31 field. */ 04036 #define PPI_CHENSET_CH31_Msk (0x1UL << PPI_CHENSET_CH31_Pos) /*!< Bit mask of CH31 field. */ 04037 #define PPI_CHENSET_CH31_Disabled (0UL) /*!< Channel disabled. */ 04038 #define PPI_CHENSET_CH31_Enabled (1UL) /*!< Channel enabled. */ 04039 #define PPI_CHENSET_CH31_Set (1UL) /*!< Enable channel on write. */ 04040 04041 /* Bit 30 : Enable PPI channel 30. */ 04042 #define PPI_CHENSET_CH30_Pos (30UL) /*!< Position of CH30 field. */ 04043 #define PPI_CHENSET_CH30_Msk (0x1UL << PPI_CHENSET_CH30_Pos) /*!< Bit mask of CH30 field. */ 04044 #define PPI_CHENSET_CH30_Disabled (0UL) /*!< Channel disabled. */ 04045 #define PPI_CHENSET_CH30_Enabled (1UL) /*!< Channel enabled. */ 04046 #define PPI_CHENSET_CH30_Set (1UL) /*!< Enable channel on write. */ 04047 04048 /* Bit 29 : Enable PPI channel 29. */ 04049 #define PPI_CHENSET_CH29_Pos (29UL) /*!< Position of CH29 field. */ 04050 #define PPI_CHENSET_CH29_Msk (0x1UL << PPI_CHENSET_CH29_Pos) /*!< Bit mask of CH29 field. */ 04051 #define PPI_CHENSET_CH29_Disabled (0UL) /*!< Channel disabled. */ 04052 #define PPI_CHENSET_CH29_Enabled (1UL) /*!< Channel enabled. */ 04053 #define PPI_CHENSET_CH29_Set (1UL) /*!< Enable channel on write. */ 04054 04055 /* Bit 28 : Enable PPI channel 28. */ 04056 #define PPI_CHENSET_CH28_Pos (28UL) /*!< Position of CH28 field. */ 04057 #define PPI_CHENSET_CH28_Msk (0x1UL << PPI_CHENSET_CH28_Pos) /*!< Bit mask of CH28 field. */ 04058 #define PPI_CHENSET_CH28_Disabled (0UL) /*!< Channel disabled. */ 04059 #define PPI_CHENSET_CH28_Enabled (1UL) /*!< Channel enabled. */ 04060 #define PPI_CHENSET_CH28_Set (1UL) /*!< Enable channel on write. */ 04061 04062 /* Bit 27 : Enable PPI channel 27. */ 04063 #define PPI_CHENSET_CH27_Pos (27UL) /*!< Position of CH27 field. */ 04064 #define PPI_CHENSET_CH27_Msk (0x1UL << PPI_CHENSET_CH27_Pos) /*!< Bit mask of CH27 field. */ 04065 #define PPI_CHENSET_CH27_Disabled (0UL) /*!< Channel disabled. */ 04066 #define PPI_CHENSET_CH27_Enabled (1UL) /*!< Channel enabled. */ 04067 #define PPI_CHENSET_CH27_Set (1UL) /*!< Enable channel on write. */ 04068 04069 /* Bit 26 : Enable PPI channel 26. */ 04070 #define PPI_CHENSET_CH26_Pos (26UL) /*!< Position of CH26 field. */ 04071 #define PPI_CHENSET_CH26_Msk (0x1UL << PPI_CHENSET_CH26_Pos) /*!< Bit mask of CH26 field. */ 04072 #define PPI_CHENSET_CH26_Disabled (0UL) /*!< Channel disabled. */ 04073 #define PPI_CHENSET_CH26_Enabled (1UL) /*!< Channel enabled. */ 04074 #define PPI_CHENSET_CH26_Set (1UL) /*!< Enable channel on write. */ 04075 04076 /* Bit 25 : Enable PPI channel 25. */ 04077 #define PPI_CHENSET_CH25_Pos (25UL) /*!< Position of CH25 field. */ 04078 #define PPI_CHENSET_CH25_Msk (0x1UL << PPI_CHENSET_CH25_Pos) /*!< Bit mask of CH25 field. */ 04079 #define PPI_CHENSET_CH25_Disabled (0UL) /*!< Channel disabled. */ 04080 #define PPI_CHENSET_CH25_Enabled (1UL) /*!< Channel enabled. */ 04081 #define PPI_CHENSET_CH25_Set (1UL) /*!< Enable channel on write. */ 04082 04083 /* Bit 24 : Enable PPI channel 24. */ 04084 #define PPI_CHENSET_CH24_Pos (24UL) /*!< Position of CH24 field. */ 04085 #define PPI_CHENSET_CH24_Msk (0x1UL << PPI_CHENSET_CH24_Pos) /*!< Bit mask of CH24 field. */ 04086 #define PPI_CHENSET_CH24_Disabled (0UL) /*!< Channel disabled. */ 04087 #define PPI_CHENSET_CH24_Enabled (1UL) /*!< Channel enabled. */ 04088 #define PPI_CHENSET_CH24_Set (1UL) /*!< Enable channel on write. */ 04089 04090 /* Bit 23 : Enable PPI channel 23. */ 04091 #define PPI_CHENSET_CH23_Pos (23UL) /*!< Position of CH23 field. */ 04092 #define PPI_CHENSET_CH23_Msk (0x1UL << PPI_CHENSET_CH23_Pos) /*!< Bit mask of CH23 field. */ 04093 #define PPI_CHENSET_CH23_Disabled (0UL) /*!< Channel disabled. */ 04094 #define PPI_CHENSET_CH23_Enabled (1UL) /*!< Channel enabled. */ 04095 #define PPI_CHENSET_CH23_Set (1UL) /*!< Enable channel on write. */ 04096 04097 /* Bit 22 : Enable PPI channel 22. */ 04098 #define PPI_CHENSET_CH22_Pos (22UL) /*!< Position of CH22 field. */ 04099 #define PPI_CHENSET_CH22_Msk (0x1UL << PPI_CHENSET_CH22_Pos) /*!< Bit mask of CH22 field. */ 04100 #define PPI_CHENSET_CH22_Disabled (0UL) /*!< Channel disabled. */ 04101 #define PPI_CHENSET_CH22_Enabled (1UL) /*!< Channel enabled. */ 04102 #define PPI_CHENSET_CH22_Set (1UL) /*!< Enable channel on write. */ 04103 04104 /* Bit 21 : Enable PPI channel 21. */ 04105 #define PPI_CHENSET_CH21_Pos (21UL) /*!< Position of CH21 field. */ 04106 #define PPI_CHENSET_CH21_Msk (0x1UL << PPI_CHENSET_CH21_Pos) /*!< Bit mask of CH21 field. */ 04107 #define PPI_CHENSET_CH21_Disabled (0UL) /*!< Channel disabled. */ 04108 #define PPI_CHENSET_CH21_Enabled (1UL) /*!< Channel enabled. */ 04109 #define PPI_CHENSET_CH21_Set (1UL) /*!< Enable channel on write. */ 04110 04111 /* Bit 20 : Enable PPI channel 20. */ 04112 #define PPI_CHENSET_CH20_Pos (20UL) /*!< Position of CH20 field. */ 04113 #define PPI_CHENSET_CH20_Msk (0x1UL << PPI_CHENSET_CH20_Pos) /*!< Bit mask of CH20 field. */ 04114 #define PPI_CHENSET_CH20_Disabled (0UL) /*!< Channel disabled. */ 04115 #define PPI_CHENSET_CH20_Enabled (1UL) /*!< Channel enabled. */ 04116 #define PPI_CHENSET_CH20_Set (1UL) /*!< Enable channel on write. */ 04117 04118 /* Bit 15 : Enable PPI channel 15. */ 04119 #define PPI_CHENSET_CH15_Pos (15UL) /*!< Position of CH15 field. */ 04120 #define PPI_CHENSET_CH15_Msk (0x1UL << PPI_CHENSET_CH15_Pos) /*!< Bit mask of CH15 field. */ 04121 #define PPI_CHENSET_CH15_Disabled (0UL) /*!< Channel disabled. */ 04122 #define PPI_CHENSET_CH15_Enabled (1UL) /*!< Channel enabled. */ 04123 #define PPI_CHENSET_CH15_Set (1UL) /*!< Enable channel on write. */ 04124 04125 /* Bit 14 : Enable PPI channel 14. */ 04126 #define PPI_CHENSET_CH14_Pos (14UL) /*!< Position of CH14 field. */ 04127 #define PPI_CHENSET_CH14_Msk (0x1UL << PPI_CHENSET_CH14_Pos) /*!< Bit mask of CH14 field. */ 04128 #define PPI_CHENSET_CH14_Disabled (0UL) /*!< Channel disabled. */ 04129 #define PPI_CHENSET_CH14_Enabled (1UL) /*!< Channel enabled. */ 04130 #define PPI_CHENSET_CH14_Set (1UL) /*!< Enable channel on write. */ 04131 04132 /* Bit 13 : Enable PPI channel 13. */ 04133 #define PPI_CHENSET_CH13_Pos (13UL) /*!< Position of CH13 field. */ 04134 #define PPI_CHENSET_CH13_Msk (0x1UL << PPI_CHENSET_CH13_Pos) /*!< Bit mask of CH13 field. */ 04135 #define PPI_CHENSET_CH13_Disabled (0UL) /*!< Channel disabled. */ 04136 #define PPI_CHENSET_CH13_Enabled (1UL) /*!< Channel enabled. */ 04137 #define PPI_CHENSET_CH13_Set (1UL) /*!< Enable channel on write. */ 04138 04139 /* Bit 12 : Enable PPI channel 12. */ 04140 #define PPI_CHENSET_CH12_Pos (12UL) /*!< Position of CH12 field. */ 04141 #define PPI_CHENSET_CH12_Msk (0x1UL << PPI_CHENSET_CH12_Pos) /*!< Bit mask of CH12 field. */ 04142 #define PPI_CHENSET_CH12_Disabled (0UL) /*!< Channel disabled. */ 04143 #define PPI_CHENSET_CH12_Enabled (1UL) /*!< Channel enabled. */ 04144 #define PPI_CHENSET_CH12_Set (1UL) /*!< Enable channel on write. */ 04145 04146 /* Bit 11 : Enable PPI channel 11. */ 04147 #define PPI_CHENSET_CH11_Pos (11UL) /*!< Position of CH11 field. */ 04148 #define PPI_CHENSET_CH11_Msk (0x1UL << PPI_CHENSET_CH11_Pos) /*!< Bit mask of CH11 field. */ 04149 #define PPI_CHENSET_CH11_Disabled (0UL) /*!< Channel disabled. */ 04150 #define PPI_CHENSET_CH11_Enabled (1UL) /*!< Channel enabled. */ 04151 #define PPI_CHENSET_CH11_Set (1UL) /*!< Enable channel on write. */ 04152 04153 /* Bit 10 : Enable PPI channel 10. */ 04154 #define PPI_CHENSET_CH10_Pos (10UL) /*!< Position of CH10 field. */ 04155 #define PPI_CHENSET_CH10_Msk (0x1UL << PPI_CHENSET_CH10_Pos) /*!< Bit mask of CH10 field. */ 04156 #define PPI_CHENSET_CH10_Disabled (0UL) /*!< Channel disabled. */ 04157 #define PPI_CHENSET_CH10_Enabled (1UL) /*!< Channel enabled. */ 04158 #define PPI_CHENSET_CH10_Set (1UL) /*!< Enable channel on write. */ 04159 04160 /* Bit 9 : Enable PPI channel 9. */ 04161 #define PPI_CHENSET_CH9_Pos (9UL) /*!< Position of CH9 field. */ 04162 #define PPI_CHENSET_CH9_Msk (0x1UL << PPI_CHENSET_CH9_Pos) /*!< Bit mask of CH9 field. */ 04163 #define PPI_CHENSET_CH9_Disabled (0UL) /*!< Channel disabled. */ 04164 #define PPI_CHENSET_CH9_Enabled (1UL) /*!< Channel enabled. */ 04165 #define PPI_CHENSET_CH9_Set (1UL) /*!< Enable channel on write. */ 04166 04167 /* Bit 8 : Enable PPI channel 8. */ 04168 #define PPI_CHENSET_CH8_Pos (8UL) /*!< Position of CH8 field. */ 04169 #define PPI_CHENSET_CH8_Msk (0x1UL << PPI_CHENSET_CH8_Pos) /*!< Bit mask of CH8 field. */ 04170 #define PPI_CHENSET_CH8_Disabled (0UL) /*!< Channel disabled. */ 04171 #define PPI_CHENSET_CH8_Enabled (1UL) /*!< Channel enabled. */ 04172 #define PPI_CHENSET_CH8_Set (1UL) /*!< Enable channel on write. */ 04173 04174 /* Bit 7 : Enable PPI channel 7. */ 04175 #define PPI_CHENSET_CH7_Pos (7UL) /*!< Position of CH7 field. */ 04176 #define PPI_CHENSET_CH7_Msk (0x1UL << PPI_CHENSET_CH7_Pos) /*!< Bit mask of CH7 field. */ 04177 #define PPI_CHENSET_CH7_Disabled (0UL) /*!< Channel disabled. */ 04178 #define PPI_CHENSET_CH7_Enabled (1UL) /*!< Channel enabled. */ 04179 #define PPI_CHENSET_CH7_Set (1UL) /*!< Enable channel on write. */ 04180 04181 /* Bit 6 : Enable PPI channel 6. */ 04182 #define PPI_CHENSET_CH6_Pos (6UL) /*!< Position of CH6 field. */ 04183 #define PPI_CHENSET_CH6_Msk (0x1UL << PPI_CHENSET_CH6_Pos) /*!< Bit mask of CH6 field. */ 04184 #define PPI_CHENSET_CH6_Disabled (0UL) /*!< Channel disabled. */ 04185 #define PPI_CHENSET_CH6_Enabled (1UL) /*!< Channel enabled. */ 04186 #define PPI_CHENSET_CH6_Set (1UL) /*!< Enable channel on write. */ 04187 04188 /* Bit 5 : Enable PPI channel 5. */ 04189 #define PPI_CHENSET_CH5_Pos (5UL) /*!< Position of CH5 field. */ 04190 #define PPI_CHENSET_CH5_Msk (0x1UL << PPI_CHENSET_CH5_Pos) /*!< Bit mask of CH5 field. */ 04191 #define PPI_CHENSET_CH5_Disabled (0UL) /*!< Channel disabled. */ 04192 #define PPI_CHENSET_CH5_Enabled (1UL) /*!< Channel enabled. */ 04193 #define PPI_CHENSET_CH5_Set (1UL) /*!< Enable channel on write. */ 04194 04195 /* Bit 4 : Enable PPI channel 4. */ 04196 #define PPI_CHENSET_CH4_Pos (4UL) /*!< Position of CH4 field. */ 04197 #define PPI_CHENSET_CH4_Msk (0x1UL << PPI_CHENSET_CH4_Pos) /*!< Bit mask of CH4 field. */ 04198 #define PPI_CHENSET_CH4_Disabled (0UL) /*!< Channel disabled. */ 04199 #define PPI_CHENSET_CH4_Enabled (1UL) /*!< Channel enabled. */ 04200 #define PPI_CHENSET_CH4_Set (1UL) /*!< Enable channel on write. */ 04201 04202 /* Bit 3 : Enable PPI channel 3. */ 04203 #define PPI_CHENSET_CH3_Pos (3UL) /*!< Position of CH3 field. */ 04204 #define PPI_CHENSET_CH3_Msk (0x1UL << PPI_CHENSET_CH3_Pos) /*!< Bit mask of CH3 field. */ 04205 #define PPI_CHENSET_CH3_Disabled (0UL) /*!< Channel disabled. */ 04206 #define PPI_CHENSET_CH3_Enabled (1UL) /*!< Channel enabled. */ 04207 #define PPI_CHENSET_CH3_Set (1UL) /*!< Enable channel on write. */ 04208 04209 /* Bit 2 : Enable PPI channel 2. */ 04210 #define PPI_CHENSET_CH2_Pos (2UL) /*!< Position of CH2 field. */ 04211 #define PPI_CHENSET_CH2_Msk (0x1UL << PPI_CHENSET_CH2_Pos) /*!< Bit mask of CH2 field. */ 04212 #define PPI_CHENSET_CH2_Disabled (0UL) /*!< Channel disabled. */ 04213 #define PPI_CHENSET_CH2_Enabled (1UL) /*!< Channel enabled. */ 04214 #define PPI_CHENSET_CH2_Set (1UL) /*!< Enable channel on write. */ 04215 04216 /* Bit 1 : Enable PPI channel 1. */ 04217 #define PPI_CHENSET_CH1_Pos (1UL) /*!< Position of CH1 field. */ 04218 #define PPI_CHENSET_CH1_Msk (0x1UL << PPI_CHENSET_CH1_Pos) /*!< Bit mask of CH1 field. */ 04219 #define PPI_CHENSET_CH1_Disabled (0UL) /*!< Channel disabled. */ 04220 #define PPI_CHENSET_CH1_Enabled (1UL) /*!< Channel enabled. */ 04221 #define PPI_CHENSET_CH1_Set (1UL) /*!< Enable channel on write. */ 04222 04223 /* Bit 0 : Enable PPI channel 0. */ 04224 #define PPI_CHENSET_CH0_Pos (0UL) /*!< Position of CH0 field. */ 04225 #define PPI_CHENSET_CH0_Msk (0x1UL << PPI_CHENSET_CH0_Pos) /*!< Bit mask of CH0 field. */ 04226 #define PPI_CHENSET_CH0_Disabled (0UL) /*!< Channel disabled. */ 04227 #define PPI_CHENSET_CH0_Enabled (1UL) /*!< Channel enabled. */ 04228 #define PPI_CHENSET_CH0_Set (1UL) /*!< Enable channel on write. */ 04229 04230 /* Register: PPI_CHENCLR */ 04231 /* Description: Channel enable clear. */ 04232 04233 /* Bit 31 : Disable PPI channel 31. */ 04234 #define PPI_CHENCLR_CH31_Pos (31UL) /*!< Position of CH31 field. */ 04235 #define PPI_CHENCLR_CH31_Msk (0x1UL << PPI_CHENCLR_CH31_Pos) /*!< Bit mask of CH31 field. */ 04236 #define PPI_CHENCLR_CH31_Disabled (0UL) /*!< Channel disabled. */ 04237 #define PPI_CHENCLR_CH31_Enabled (1UL) /*!< Channel enabled. */ 04238 #define PPI_CHENCLR_CH31_Clear (1UL) /*!< Disable channel on write. */ 04239 04240 /* Bit 30 : Disable PPI channel 30. */ 04241 #define PPI_CHENCLR_CH30_Pos (30UL) /*!< Position of CH30 field. */ 04242 #define PPI_CHENCLR_CH30_Msk (0x1UL << PPI_CHENCLR_CH30_Pos) /*!< Bit mask of CH30 field. */ 04243 #define PPI_CHENCLR_CH30_Disabled (0UL) /*!< Channel disabled. */ 04244 #define PPI_CHENCLR_CH30_Enabled (1UL) /*!< Channel enabled. */ 04245 #define PPI_CHENCLR_CH30_Clear (1UL) /*!< Disable channel on write. */ 04246 04247 /* Bit 29 : Disable PPI channel 29. */ 04248 #define PPI_CHENCLR_CH29_Pos (29UL) /*!< Position of CH29 field. */ 04249 #define PPI_CHENCLR_CH29_Msk (0x1UL << PPI_CHENCLR_CH29_Pos) /*!< Bit mask of CH29 field. */ 04250 #define PPI_CHENCLR_CH29_Disabled (0UL) /*!< Channel disabled. */ 04251 #define PPI_CHENCLR_CH29_Enabled (1UL) /*!< Channel enabled. */ 04252 #define PPI_CHENCLR_CH29_Clear (1UL) /*!< Disable channel on write. */ 04253 04254 /* Bit 28 : Disable PPI channel 28. */ 04255 #define PPI_CHENCLR_CH28_Pos (28UL) /*!< Position of CH28 field. */ 04256 #define PPI_CHENCLR_CH28_Msk (0x1UL << PPI_CHENCLR_CH28_Pos) /*!< Bit mask of CH28 field. */ 04257 #define PPI_CHENCLR_CH28_Disabled (0UL) /*!< Channel disabled. */ 04258 #define PPI_CHENCLR_CH28_Enabled (1UL) /*!< Channel enabled. */ 04259 #define PPI_CHENCLR_CH28_Clear (1UL) /*!< Disable channel on write. */ 04260 04261 /* Bit 27 : Disable PPI channel 27. */ 04262 #define PPI_CHENCLR_CH27_Pos (27UL) /*!< Position of CH27 field. */ 04263 #define PPI_CHENCLR_CH27_Msk (0x1UL << PPI_CHENCLR_CH27_Pos) /*!< Bit mask of CH27 field. */ 04264 #define PPI_CHENCLR_CH27_Disabled (0UL) /*!< Channel disabled. */ 04265 #define PPI_CHENCLR_CH27_Enabled (1UL) /*!< Channel enabled. */ 04266 #define PPI_CHENCLR_CH27_Clear (1UL) /*!< Disable channel on write. */ 04267 04268 /* Bit 26 : Disable PPI channel 26. */ 04269 #define PPI_CHENCLR_CH26_Pos (26UL) /*!< Position of CH26 field. */ 04270 #define PPI_CHENCLR_CH26_Msk (0x1UL << PPI_CHENCLR_CH26_Pos) /*!< Bit mask of CH26 field. */ 04271 #define PPI_CHENCLR_CH26_Disabled (0UL) /*!< Channel disabled. */ 04272 #define PPI_CHENCLR_CH26_Enabled (1UL) /*!< Channel enabled. */ 04273 #define PPI_CHENCLR_CH26_Clear (1UL) /*!< Disable channel on write. */ 04274 04275 /* Bit 25 : Disable PPI channel 25. */ 04276 #define PPI_CHENCLR_CH25_Pos (25UL) /*!< Position of CH25 field. */ 04277 #define PPI_CHENCLR_CH25_Msk (0x1UL << PPI_CHENCLR_CH25_Pos) /*!< Bit mask of CH25 field. */ 04278 #define PPI_CHENCLR_CH25_Disabled (0UL) /*!< Channel disabled. */ 04279 #define PPI_CHENCLR_CH25_Enabled (1UL) /*!< Channel enabled. */ 04280 #define PPI_CHENCLR_CH25_Clear (1UL) /*!< Disable channel on write. */ 04281 04282 /* Bit 24 : Disable PPI channel 24. */ 04283 #define PPI_CHENCLR_CH24_Pos (24UL) /*!< Position of CH24 field. */ 04284 #define PPI_CHENCLR_CH24_Msk (0x1UL << PPI_CHENCLR_CH24_Pos) /*!< Bit mask of CH24 field. */ 04285 #define PPI_CHENCLR_CH24_Disabled (0UL) /*!< Channel disabled. */ 04286 #define PPI_CHENCLR_CH24_Enabled (1UL) /*!< Channel enabled. */ 04287 #define PPI_CHENCLR_CH24_Clear (1UL) /*!< Disable channel on write. */ 04288 04289 /* Bit 23 : Disable PPI channel 23. */ 04290 #define PPI_CHENCLR_CH23_Pos (23UL) /*!< Position of CH23 field. */ 04291 #define PPI_CHENCLR_CH23_Msk (0x1UL << PPI_CHENCLR_CH23_Pos) /*!< Bit mask of CH23 field. */ 04292 #define PPI_CHENCLR_CH23_Disabled (0UL) /*!< Channel disabled. */ 04293 #define PPI_CHENCLR_CH23_Enabled (1UL) /*!< Channel enabled. */ 04294 #define PPI_CHENCLR_CH23_Clear (1UL) /*!< Disable channel on write. */ 04295 04296 /* Bit 22 : Disable PPI channel 22. */ 04297 #define PPI_CHENCLR_CH22_Pos (22UL) /*!< Position of CH22 field. */ 04298 #define PPI_CHENCLR_CH22_Msk (0x1UL << PPI_CHENCLR_CH22_Pos) /*!< Bit mask of CH22 field. */ 04299 #define PPI_CHENCLR_CH22_Disabled (0UL) /*!< Channel disabled. */ 04300 #define PPI_CHENCLR_CH22_Enabled (1UL) /*!< Channel enabled. */ 04301 #define PPI_CHENCLR_CH22_Clear (1UL) /*!< Disable channel on write. */ 04302 04303 /* Bit 21 : Disable PPI channel 21. */ 04304 #define PPI_CHENCLR_CH21_Pos (21UL) /*!< Position of CH21 field. */ 04305 #define PPI_CHENCLR_CH21_Msk (0x1UL << PPI_CHENCLR_CH21_Pos) /*!< Bit mask of CH21 field. */ 04306 #define PPI_CHENCLR_CH21_Disabled (0UL) /*!< Channel disabled. */ 04307 #define PPI_CHENCLR_CH21_Enabled (1UL) /*!< Channel enabled. */ 04308 #define PPI_CHENCLR_CH21_Clear (1UL) /*!< Disable channel on write. */ 04309 04310 /* Bit 20 : Disable PPI channel 20. */ 04311 #define PPI_CHENCLR_CH20_Pos (20UL) /*!< Position of CH20 field. */ 04312 #define PPI_CHENCLR_CH20_Msk (0x1UL << PPI_CHENCLR_CH20_Pos) /*!< Bit mask of CH20 field. */ 04313 #define PPI_CHENCLR_CH20_Disabled (0UL) /*!< Channel disabled. */ 04314 #define PPI_CHENCLR_CH20_Enabled (1UL) /*!< Channel enabled. */ 04315 #define PPI_CHENCLR_CH20_Clear (1UL) /*!< Disable channel on write. */ 04316 04317 /* Bit 15 : Disable PPI channel 15. */ 04318 #define PPI_CHENCLR_CH15_Pos (15UL) /*!< Position of CH15 field. */ 04319 #define PPI_CHENCLR_CH15_Msk (0x1UL << PPI_CHENCLR_CH15_Pos) /*!< Bit mask of CH15 field. */ 04320 #define PPI_CHENCLR_CH15_Disabled (0UL) /*!< Channel disabled. */ 04321 #define PPI_CHENCLR_CH15_Enabled (1UL) /*!< Channel enabled. */ 04322 #define PPI_CHENCLR_CH15_Clear (1UL) /*!< Disable channel on write. */ 04323 04324 /* Bit 14 : Disable PPI channel 14. */ 04325 #define PPI_CHENCLR_CH14_Pos (14UL) /*!< Position of CH14 field. */ 04326 #define PPI_CHENCLR_CH14_Msk (0x1UL << PPI_CHENCLR_CH14_Pos) /*!< Bit mask of CH14 field. */ 04327 #define PPI_CHENCLR_CH14_Disabled (0UL) /*!< Channel disabled. */ 04328 #define PPI_CHENCLR_CH14_Enabled (1UL) /*!< Channel enabled. */ 04329 #define PPI_CHENCLR_CH14_Clear (1UL) /*!< Disable channel on write. */ 04330 04331 /* Bit 13 : Disable PPI channel 13. */ 04332 #define PPI_CHENCLR_CH13_Pos (13UL) /*!< Position of CH13 field. */ 04333 #define PPI_CHENCLR_CH13_Msk (0x1UL << PPI_CHENCLR_CH13_Pos) /*!< Bit mask of CH13 field. */ 04334 #define PPI_CHENCLR_CH13_Disabled (0UL) /*!< Channel disabled. */ 04335 #define PPI_CHENCLR_CH13_Enabled (1UL) /*!< Channel enabled. */ 04336 #define PPI_CHENCLR_CH13_Clear (1UL) /*!< Disable channel on write. */ 04337 04338 /* Bit 12 : Disable PPI channel 12. */ 04339 #define PPI_CHENCLR_CH12_Pos (12UL) /*!< Position of CH12 field. */ 04340 #define PPI_CHENCLR_CH12_Msk (0x1UL << PPI_CHENCLR_CH12_Pos) /*!< Bit mask of CH12 field. */ 04341 #define PPI_CHENCLR_CH12_Disabled (0UL) /*!< Channel disabled. */ 04342 #define PPI_CHENCLR_CH12_Enabled (1UL) /*!< Channel enabled. */ 04343 #define PPI_CHENCLR_CH12_Clear (1UL) /*!< Disable channel on write. */ 04344 04345 /* Bit 11 : Disable PPI channel 11. */ 04346 #define PPI_CHENCLR_CH11_Pos (11UL) /*!< Position of CH11 field. */ 04347 #define PPI_CHENCLR_CH11_Msk (0x1UL << PPI_CHENCLR_CH11_Pos) /*!< Bit mask of CH11 field. */ 04348 #define PPI_CHENCLR_CH11_Disabled (0UL) /*!< Channel disabled. */ 04349 #define PPI_CHENCLR_CH11_Enabled (1UL) /*!< Channel enabled. */ 04350 #define PPI_CHENCLR_CH11_Clear (1UL) /*!< Disable channel on write. */ 04351 04352 /* Bit 10 : Disable PPI channel 10. */ 04353 #define PPI_CHENCLR_CH10_Pos (10UL) /*!< Position of CH10 field. */ 04354 #define PPI_CHENCLR_CH10_Msk (0x1UL << PPI_CHENCLR_CH10_Pos) /*!< Bit mask of CH10 field. */ 04355 #define PPI_CHENCLR_CH10_Disabled (0UL) /*!< Channel disabled. */ 04356 #define PPI_CHENCLR_CH10_Enabled (1UL) /*!< Channel enabled. */ 04357 #define PPI_CHENCLR_CH10_Clear (1UL) /*!< Disable channel on write. */ 04358 04359 /* Bit 9 : Disable PPI channel 9. */ 04360 #define PPI_CHENCLR_CH9_Pos (9UL) /*!< Position of CH9 field. */ 04361 #define PPI_CHENCLR_CH9_Msk (0x1UL << PPI_CHENCLR_CH9_Pos) /*!< Bit mask of CH9 field. */ 04362 #define PPI_CHENCLR_CH9_Disabled (0UL) /*!< Channel disabled. */ 04363 #define PPI_CHENCLR_CH9_Enabled (1UL) /*!< Channel enabled. */ 04364 #define PPI_CHENCLR_CH9_Clear (1UL) /*!< Disable channel on write. */ 04365 04366 /* Bit 8 : Disable PPI channel 8. */ 04367 #define PPI_CHENCLR_CH8_Pos (8UL) /*!< Position of CH8 field. */ 04368 #define PPI_CHENCLR_CH8_Msk (0x1UL << PPI_CHENCLR_CH8_Pos) /*!< Bit mask of CH8 field. */ 04369 #define PPI_CHENCLR_CH8_Disabled (0UL) /*!< Channel disabled. */ 04370 #define PPI_CHENCLR_CH8_Enabled (1UL) /*!< Channel enabled. */ 04371 #define PPI_CHENCLR_CH8_Clear (1UL) /*!< Disable channel on write. */ 04372 04373 /* Bit 7 : Disable PPI channel 7. */ 04374 #define PPI_CHENCLR_CH7_Pos (7UL) /*!< Position of CH7 field. */ 04375 #define PPI_CHENCLR_CH7_Msk (0x1UL << PPI_CHENCLR_CH7_Pos) /*!< Bit mask of CH7 field. */ 04376 #define PPI_CHENCLR_CH7_Disabled (0UL) /*!< Channel disabled. */ 04377 #define PPI_CHENCLR_CH7_Enabled (1UL) /*!< Channel enabled. */ 04378 #define PPI_CHENCLR_CH7_Clear (1UL) /*!< Disable channel on write. */ 04379 04380 /* Bit 6 : Disable PPI channel 6. */ 04381 #define PPI_CHENCLR_CH6_Pos (6UL) /*!< Position of CH6 field. */ 04382 #define PPI_CHENCLR_CH6_Msk (0x1UL << PPI_CHENCLR_CH6_Pos) /*!< Bit mask of CH6 field. */ 04383 #define PPI_CHENCLR_CH6_Disabled (0UL) /*!< Channel disabled. */ 04384 #define PPI_CHENCLR_CH6_Enabled (1UL) /*!< Channel enabled. */ 04385 #define PPI_CHENCLR_CH6_Clear (1UL) /*!< Disable channel on write. */ 04386 04387 /* Bit 5 : Disable PPI channel 5. */ 04388 #define PPI_CHENCLR_CH5_Pos (5UL) /*!< Position of CH5 field. */ 04389 #define PPI_CHENCLR_CH5_Msk (0x1UL << PPI_CHENCLR_CH5_Pos) /*!< Bit mask of CH5 field. */ 04390 #define PPI_CHENCLR_CH5_Disabled (0UL) /*!< Channel disabled. */ 04391 #define PPI_CHENCLR_CH5_Enabled (1UL) /*!< Channel enabled. */ 04392 #define PPI_CHENCLR_CH5_Clear (1UL) /*!< Disable channel on write. */ 04393 04394 /* Bit 4 : Disable PPI channel 4. */ 04395 #define PPI_CHENCLR_CH4_Pos (4UL) /*!< Position of CH4 field. */ 04396 #define PPI_CHENCLR_CH4_Msk (0x1UL << PPI_CHENCLR_CH4_Pos) /*!< Bit mask of CH4 field. */ 04397 #define PPI_CHENCLR_CH4_Disabled (0UL) /*!< Channel disabled. */ 04398 #define PPI_CHENCLR_CH4_Enabled (1UL) /*!< Channel enabled. */ 04399 #define PPI_CHENCLR_CH4_Clear (1UL) /*!< Disable channel on write. */ 04400 04401 /* Bit 3 : Disable PPI channel 3. */ 04402 #define PPI_CHENCLR_CH3_Pos (3UL) /*!< Position of CH3 field. */ 04403 #define PPI_CHENCLR_CH3_Msk (0x1UL << PPI_CHENCLR_CH3_Pos) /*!< Bit mask of CH3 field. */ 04404 #define PPI_CHENCLR_CH3_Disabled (0UL) /*!< Channel disabled. */ 04405 #define PPI_CHENCLR_CH3_Enabled (1UL) /*!< Channel enabled. */ 04406 #define PPI_CHENCLR_CH3_Clear (1UL) /*!< Disable channel on write. */ 04407 04408 /* Bit 2 : Disable PPI channel 2. */ 04409 #define PPI_CHENCLR_CH2_Pos (2UL) /*!< Position of CH2 field. */ 04410 #define PPI_CHENCLR_CH2_Msk (0x1UL << PPI_CHENCLR_CH2_Pos) /*!< Bit mask of CH2 field. */ 04411 #define PPI_CHENCLR_CH2_Disabled (0UL) /*!< Channel disabled. */ 04412 #define PPI_CHENCLR_CH2_Enabled (1UL) /*!< Channel enabled. */ 04413 #define PPI_CHENCLR_CH2_Clear (1UL) /*!< Disable channel on write. */ 04414 04415 /* Bit 1 : Disable PPI channel 1. */ 04416 #define PPI_CHENCLR_CH1_Pos (1UL) /*!< Position of CH1 field. */ 04417 #define PPI_CHENCLR_CH1_Msk (0x1UL << PPI_CHENCLR_CH1_Pos) /*!< Bit mask of CH1 field. */ 04418 #define PPI_CHENCLR_CH1_Disabled (0UL) /*!< Channel disabled. */ 04419 #define PPI_CHENCLR_CH1_Enabled (1UL) /*!< Channel enabled. */ 04420 #define PPI_CHENCLR_CH1_Clear (1UL) /*!< Disable channel on write. */ 04421 04422 /* Bit 0 : Disable PPI channel 0. */ 04423 #define PPI_CHENCLR_CH0_Pos (0UL) /*!< Position of CH0 field. */ 04424 #define PPI_CHENCLR_CH0_Msk (0x1UL << PPI_CHENCLR_CH0_Pos) /*!< Bit mask of CH0 field. */ 04425 #define PPI_CHENCLR_CH0_Disabled (0UL) /*!< Channel disabled. */ 04426 #define PPI_CHENCLR_CH0_Enabled (1UL) /*!< Channel enabled. */ 04427 #define PPI_CHENCLR_CH0_Clear (1UL) /*!< Disable channel on write. */ 04428 04429 /* Register: PPI_CHG */ 04430 /* Description: Channel group configuration. */ 04431 04432 /* Bit 31 : Include CH31 in channel group. */ 04433 #define PPI_CHG_CH31_Pos (31UL) /*!< Position of CH31 field. */ 04434 #define PPI_CHG_CH31_Msk (0x1UL << PPI_CHG_CH31_Pos) /*!< Bit mask of CH31 field. */ 04435 #define PPI_CHG_CH31_Excluded (0UL) /*!< Channel excluded. */ 04436 #define PPI_CHG_CH31_Included (1UL) /*!< Channel included. */ 04437 04438 /* Bit 30 : Include CH30 in channel group. */ 04439 #define PPI_CHG_CH30_Pos (30UL) /*!< Position of CH30 field. */ 04440 #define PPI_CHG_CH30_Msk (0x1UL << PPI_CHG_CH30_Pos) /*!< Bit mask of CH30 field. */ 04441 #define PPI_CHG_CH30_Excluded (0UL) /*!< Channel excluded. */ 04442 #define PPI_CHG_CH30_Included (1UL) /*!< Channel included. */ 04443 04444 /* Bit 29 : Include CH29 in channel group. */ 04445 #define PPI_CHG_CH29_Pos (29UL) /*!< Position of CH29 field. */ 04446 #define PPI_CHG_CH29_Msk (0x1UL << PPI_CHG_CH29_Pos) /*!< Bit mask of CH29 field. */ 04447 #define PPI_CHG_CH29_Excluded (0UL) /*!< Channel excluded. */ 04448 #define PPI_CHG_CH29_Included (1UL) /*!< Channel included. */ 04449 04450 /* Bit 28 : Include CH28 in channel group. */ 04451 #define PPI_CHG_CH28_Pos (28UL) /*!< Position of CH28 field. */ 04452 #define PPI_CHG_CH28_Msk (0x1UL << PPI_CHG_CH28_Pos) /*!< Bit mask of CH28 field. */ 04453 #define PPI_CHG_CH28_Excluded (0UL) /*!< Channel excluded. */ 04454 #define PPI_CHG_CH28_Included (1UL) /*!< Channel included. */ 04455 04456 /* Bit 27 : Include CH27 in channel group. */ 04457 #define PPI_CHG_CH27_Pos (27UL) /*!< Position of CH27 field. */ 04458 #define PPI_CHG_CH27_Msk (0x1UL << PPI_CHG_CH27_Pos) /*!< Bit mask of CH27 field. */ 04459 #define PPI_CHG_CH27_Excluded (0UL) /*!< Channel excluded. */ 04460 #define PPI_CHG_CH27_Included (1UL) /*!< Channel included. */ 04461 04462 /* Bit 26 : Include CH26 in channel group. */ 04463 #define PPI_CHG_CH26_Pos (26UL) /*!< Position of CH26 field. */ 04464 #define PPI_CHG_CH26_Msk (0x1UL << PPI_CHG_CH26_Pos) /*!< Bit mask of CH26 field. */ 04465 #define PPI_CHG_CH26_Excluded (0UL) /*!< Channel excluded. */ 04466 #define PPI_CHG_CH26_Included (1UL) /*!< Channel included. */ 04467 04468 /* Bit 25 : Include CH25 in channel group. */ 04469 #define PPI_CHG_CH25_Pos (25UL) /*!< Position of CH25 field. */ 04470 #define PPI_CHG_CH25_Msk (0x1UL << PPI_CHG_CH25_Pos) /*!< Bit mask of CH25 field. */ 04471 #define PPI_CHG_CH25_Excluded (0UL) /*!< Channel excluded. */ 04472 #define PPI_CHG_CH25_Included (1UL) /*!< Channel included. */ 04473 04474 /* Bit 24 : Include CH24 in channel group. */ 04475 #define PPI_CHG_CH24_Pos (24UL) /*!< Position of CH24 field. */ 04476 #define PPI_CHG_CH24_Msk (0x1UL << PPI_CHG_CH24_Pos) /*!< Bit mask of CH24 field. */ 04477 #define PPI_CHG_CH24_Excluded (0UL) /*!< Channel excluded. */ 04478 #define PPI_CHG_CH24_Included (1UL) /*!< Channel included. */ 04479 04480 /* Bit 23 : Include CH23 in channel group. */ 04481 #define PPI_CHG_CH23_Pos (23UL) /*!< Position of CH23 field. */ 04482 #define PPI_CHG_CH23_Msk (0x1UL << PPI_CHG_CH23_Pos) /*!< Bit mask of CH23 field. */ 04483 #define PPI_CHG_CH23_Excluded (0UL) /*!< Channel excluded. */ 04484 #define PPI_CHG_CH23_Included (1UL) /*!< Channel included. */ 04485 04486 /* Bit 22 : Include CH22 in channel group. */ 04487 #define PPI_CHG_CH22_Pos (22UL) /*!< Position of CH22 field. */ 04488 #define PPI_CHG_CH22_Msk (0x1UL << PPI_CHG_CH22_Pos) /*!< Bit mask of CH22 field. */ 04489 #define PPI_CHG_CH22_Excluded (0UL) /*!< Channel excluded. */ 04490 #define PPI_CHG_CH22_Included (1UL) /*!< Channel included. */ 04491 04492 /* Bit 21 : Include CH21 in channel group. */ 04493 #define PPI_CHG_CH21_Pos (21UL) /*!< Position of CH21 field. */ 04494 #define PPI_CHG_CH21_Msk (0x1UL << PPI_CHG_CH21_Pos) /*!< Bit mask of CH21 field. */ 04495 #define PPI_CHG_CH21_Excluded (0UL) /*!< Channel excluded. */ 04496 #define PPI_CHG_CH21_Included (1UL) /*!< Channel included. */ 04497 04498 /* Bit 20 : Include CH20 in channel group. */ 04499 #define PPI_CHG_CH20_Pos (20UL) /*!< Position of CH20 field. */ 04500 #define PPI_CHG_CH20_Msk (0x1UL << PPI_CHG_CH20_Pos) /*!< Bit mask of CH20 field. */ 04501 #define PPI_CHG_CH20_Excluded (0UL) /*!< Channel excluded. */ 04502 #define PPI_CHG_CH20_Included (1UL) /*!< Channel included. */ 04503 04504 /* Bit 15 : Include CH15 in channel group. */ 04505 #define PPI_CHG_CH15_Pos (15UL) /*!< Position of CH15 field. */ 04506 #define PPI_CHG_CH15_Msk (0x1UL << PPI_CHG_CH15_Pos) /*!< Bit mask of CH15 field. */ 04507 #define PPI_CHG_CH15_Excluded (0UL) /*!< Channel excluded. */ 04508 #define PPI_CHG_CH15_Included (1UL) /*!< Channel included. */ 04509 04510 /* Bit 14 : Include CH14 in channel group. */ 04511 #define PPI_CHG_CH14_Pos (14UL) /*!< Position of CH14 field. */ 04512 #define PPI_CHG_CH14_Msk (0x1UL << PPI_CHG_CH14_Pos) /*!< Bit mask of CH14 field. */ 04513 #define PPI_CHG_CH14_Excluded (0UL) /*!< Channel excluded. */ 04514 #define PPI_CHG_CH14_Included (1UL) /*!< Channel included. */ 04515 04516 /* Bit 13 : Include CH13 in channel group. */ 04517 #define PPI_CHG_CH13_Pos (13UL) /*!< Position of CH13 field. */ 04518 #define PPI_CHG_CH13_Msk (0x1UL << PPI_CHG_CH13_Pos) /*!< Bit mask of CH13 field. */ 04519 #define PPI_CHG_CH13_Excluded (0UL) /*!< Channel excluded. */ 04520 #define PPI_CHG_CH13_Included (1UL) /*!< Channel included. */ 04521 04522 /* Bit 12 : Include CH12 in channel group. */ 04523 #define PPI_CHG_CH12_Pos (12UL) /*!< Position of CH12 field. */ 04524 #define PPI_CHG_CH12_Msk (0x1UL << PPI_CHG_CH12_Pos) /*!< Bit mask of CH12 field. */ 04525 #define PPI_CHG_CH12_Excluded (0UL) /*!< Channel excluded. */ 04526 #define PPI_CHG_CH12_Included (1UL) /*!< Channel included. */ 04527 04528 /* Bit 11 : Include CH11 in channel group. */ 04529 #define PPI_CHG_CH11_Pos (11UL) /*!< Position of CH11 field. */ 04530 #define PPI_CHG_CH11_Msk (0x1UL << PPI_CHG_CH11_Pos) /*!< Bit mask of CH11 field. */ 04531 #define PPI_CHG_CH11_Excluded (0UL) /*!< Channel excluded. */ 04532 #define PPI_CHG_CH11_Included (1UL) /*!< Channel included. */ 04533 04534 /* Bit 10 : Include CH10 in channel group. */ 04535 #define PPI_CHG_CH10_Pos (10UL) /*!< Position of CH10 field. */ 04536 #define PPI_CHG_CH10_Msk (0x1UL << PPI_CHG_CH10_Pos) /*!< Bit mask of CH10 field. */ 04537 #define PPI_CHG_CH10_Excluded (0UL) /*!< Channel excluded. */ 04538 #define PPI_CHG_CH10_Included (1UL) /*!< Channel included. */ 04539 04540 /* Bit 9 : Include CH9 in channel group. */ 04541 #define PPI_CHG_CH9_Pos (9UL) /*!< Position of CH9 field. */ 04542 #define PPI_CHG_CH9_Msk (0x1UL << PPI_CHG_CH9_Pos) /*!< Bit mask of CH9 field. */ 04543 #define PPI_CHG_CH9_Excluded (0UL) /*!< Channel excluded. */ 04544 #define PPI_CHG_CH9_Included (1UL) /*!< Channel included. */ 04545 04546 /* Bit 8 : Include CH8 in channel group. */ 04547 #define PPI_CHG_CH8_Pos (8UL) /*!< Position of CH8 field. */ 04548 #define PPI_CHG_CH8_Msk (0x1UL << PPI_CHG_CH8_Pos) /*!< Bit mask of CH8 field. */ 04549 #define PPI_CHG_CH8_Excluded (0UL) /*!< Channel excluded. */ 04550 #define PPI_CHG_CH8_Included (1UL) /*!< Channel included. */ 04551 04552 /* Bit 7 : Include CH7 in channel group. */ 04553 #define PPI_CHG_CH7_Pos (7UL) /*!< Position of CH7 field. */ 04554 #define PPI_CHG_CH7_Msk (0x1UL << PPI_CHG_CH7_Pos) /*!< Bit mask of CH7 field. */ 04555 #define PPI_CHG_CH7_Excluded (0UL) /*!< Channel excluded. */ 04556 #define PPI_CHG_CH7_Included (1UL) /*!< Channel included. */ 04557 04558 /* Bit 6 : Include CH6 in channel group. */ 04559 #define PPI_CHG_CH6_Pos (6UL) /*!< Position of CH6 field. */ 04560 #define PPI_CHG_CH6_Msk (0x1UL << PPI_CHG_CH6_Pos) /*!< Bit mask of CH6 field. */ 04561 #define PPI_CHG_CH6_Excluded (0UL) /*!< Channel excluded. */ 04562 #define PPI_CHG_CH6_Included (1UL) /*!< Channel included. */ 04563 04564 /* Bit 5 : Include CH5 in channel group. */ 04565 #define PPI_CHG_CH5_Pos (5UL) /*!< Position of CH5 field. */ 04566 #define PPI_CHG_CH5_Msk (0x1UL << PPI_CHG_CH5_Pos) /*!< Bit mask of CH5 field. */ 04567 #define PPI_CHG_CH5_Excluded (0UL) /*!< Channel excluded. */ 04568 #define PPI_CHG_CH5_Included (1UL) /*!< Channel included. */ 04569 04570 /* Bit 4 : Include CH4 in channel group. */ 04571 #define PPI_CHG_CH4_Pos (4UL) /*!< Position of CH4 field. */ 04572 #define PPI_CHG_CH4_Msk (0x1UL << PPI_CHG_CH4_Pos) /*!< Bit mask of CH4 field. */ 04573 #define PPI_CHG_CH4_Excluded (0UL) /*!< Channel excluded. */ 04574 #define PPI_CHG_CH4_Included (1UL) /*!< Channel included. */ 04575 04576 /* Bit 3 : Include CH3 in channel group. */ 04577 #define PPI_CHG_CH3_Pos (3UL) /*!< Position of CH3 field. */ 04578 #define PPI_CHG_CH3_Msk (0x1UL << PPI_CHG_CH3_Pos) /*!< Bit mask of CH3 field. */ 04579 #define PPI_CHG_CH3_Excluded (0UL) /*!< Channel excluded. */ 04580 #define PPI_CHG_CH3_Included (1UL) /*!< Channel included. */ 04581 04582 /* Bit 2 : Include CH2 in channel group. */ 04583 #define PPI_CHG_CH2_Pos (2UL) /*!< Position of CH2 field. */ 04584 #define PPI_CHG_CH2_Msk (0x1UL << PPI_CHG_CH2_Pos) /*!< Bit mask of CH2 field. */ 04585 #define PPI_CHG_CH2_Excluded (0UL) /*!< Channel excluded. */ 04586 #define PPI_CHG_CH2_Included (1UL) /*!< Channel included. */ 04587 04588 /* Bit 1 : Include CH1 in channel group. */ 04589 #define PPI_CHG_CH1_Pos (1UL) /*!< Position of CH1 field. */ 04590 #define PPI_CHG_CH1_Msk (0x1UL << PPI_CHG_CH1_Pos) /*!< Bit mask of CH1 field. */ 04591 #define PPI_CHG_CH1_Excluded (0UL) /*!< Channel excluded. */ 04592 #define PPI_CHG_CH1_Included (1UL) /*!< Channel included. */ 04593 04594 /* Bit 0 : Include CH0 in channel group. */ 04595 #define PPI_CHG_CH0_Pos (0UL) /*!< Position of CH0 field. */ 04596 #define PPI_CHG_CH0_Msk (0x1UL << PPI_CHG_CH0_Pos) /*!< Bit mask of CH0 field. */ 04597 #define PPI_CHG_CH0_Excluded (0UL) /*!< Channel excluded. */ 04598 #define PPI_CHG_CH0_Included (1UL) /*!< Channel included. */ 04599 04600 04601 /* Peripheral: QDEC */ 04602 /* Description: Rotary decoder. */ 04603 04604 /* Register: QDEC_SHORTS */ 04605 /* Description: Shortcuts for the QDEC. */ 04606 04607 /* Bit 1 : Shortcut between SAMPLERDY event and STOP task. */ 04608 #define QDEC_SHORTS_SAMPLERDY_STOP_Pos (1UL) /*!< Position of SAMPLERDY_STOP field. */ 04609 #define QDEC_SHORTS_SAMPLERDY_STOP_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_STOP_Pos) /*!< Bit mask of SAMPLERDY_STOP field. */ 04610 #define QDEC_SHORTS_SAMPLERDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 04611 #define QDEC_SHORTS_SAMPLERDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 04612 04613 /* Bit 0 : Shortcut between REPORTRDY event and READCLRACC task. */ 04614 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Pos (0UL) /*!< Position of REPORTRDY_READCLRACC field. */ 04615 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_READCLRACC_Pos) /*!< Bit mask of REPORTRDY_READCLRACC field. */ 04616 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled (0UL) /*!< Shortcut disabled. */ 04617 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled (1UL) /*!< Shortcut enabled. */ 04618 04619 /* Register: QDEC_INTENSET */ 04620 /* Description: Interrupt enable set register. */ 04621 04622 /* Bit 2 : Enable interrupt on ACCOF event. */ 04623 #define QDEC_INTENSET_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */ 04624 #define QDEC_INTENSET_ACCOF_Msk (0x1UL << QDEC_INTENSET_ACCOF_Pos) /*!< Bit mask of ACCOF field. */ 04625 #define QDEC_INTENSET_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */ 04626 #define QDEC_INTENSET_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */ 04627 #define QDEC_INTENSET_ACCOF_Set (1UL) /*!< Enable interrupt on write. */ 04628 04629 /* Bit 1 : Enable interrupt on REPORTRDY event. */ 04630 #define QDEC_INTENSET_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */ 04631 #define QDEC_INTENSET_REPORTRDY_Msk (0x1UL << QDEC_INTENSET_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */ 04632 #define QDEC_INTENSET_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */ 04633 #define QDEC_INTENSET_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */ 04634 #define QDEC_INTENSET_REPORTRDY_Set (1UL) /*!< Enable interrupt on write. */ 04635 04636 /* Bit 0 : Enable interrupt on SAMPLERDY event. */ 04637 #define QDEC_INTENSET_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */ 04638 #define QDEC_INTENSET_SAMPLERDY_Msk (0x1UL << QDEC_INTENSET_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */ 04639 #define QDEC_INTENSET_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */ 04640 #define QDEC_INTENSET_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */ 04641 #define QDEC_INTENSET_SAMPLERDY_Set (1UL) /*!< Enable interrupt on write. */ 04642 04643 /* Register: QDEC_INTENCLR */ 04644 /* Description: Interrupt enable clear register. */ 04645 04646 /* Bit 2 : Disable interrupt on ACCOF event. */ 04647 #define QDEC_INTENCLR_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */ 04648 #define QDEC_INTENCLR_ACCOF_Msk (0x1UL << QDEC_INTENCLR_ACCOF_Pos) /*!< Bit mask of ACCOF field. */ 04649 #define QDEC_INTENCLR_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */ 04650 #define QDEC_INTENCLR_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */ 04651 #define QDEC_INTENCLR_ACCOF_Clear (1UL) /*!< Disable interrupt on write. */ 04652 04653 /* Bit 1 : Disable interrupt on REPORTRDY event. */ 04654 #define QDEC_INTENCLR_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */ 04655 #define QDEC_INTENCLR_REPORTRDY_Msk (0x1UL << QDEC_INTENCLR_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */ 04656 #define QDEC_INTENCLR_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */ 04657 #define QDEC_INTENCLR_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */ 04658 #define QDEC_INTENCLR_REPORTRDY_Clear (1UL) /*!< Disable interrupt on write. */ 04659 04660 /* Bit 0 : Disable interrupt on SAMPLERDY event. */ 04661 #define QDEC_INTENCLR_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */ 04662 #define QDEC_INTENCLR_SAMPLERDY_Msk (0x1UL << QDEC_INTENCLR_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */ 04663 #define QDEC_INTENCLR_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */ 04664 #define QDEC_INTENCLR_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */ 04665 #define QDEC_INTENCLR_SAMPLERDY_Clear (1UL) /*!< Disable interrupt on write. */ 04666 04667 /* Register: QDEC_ENABLE */ 04668 /* Description: Enable the QDEC. */ 04669 04670 /* Bit 0 : Enable or disable QDEC. */ 04671 #define QDEC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 04672 #define QDEC_ENABLE_ENABLE_Msk (0x1UL << QDEC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 04673 #define QDEC_ENABLE_ENABLE_Disabled (0UL) /*!< Disabled QDEC. */ 04674 #define QDEC_ENABLE_ENABLE_Enabled (1UL) /*!< Enable QDEC. */ 04675 04676 /* Register: QDEC_LEDPOL */ 04677 /* Description: LED output pin polarity. */ 04678 04679 /* Bit 0 : LED output pin polarity. */ 04680 #define QDEC_LEDPOL_LEDPOL_Pos (0UL) /*!< Position of LEDPOL field. */ 04681 #define QDEC_LEDPOL_LEDPOL_Msk (0x1UL << QDEC_LEDPOL_LEDPOL_Pos) /*!< Bit mask of LEDPOL field. */ 04682 #define QDEC_LEDPOL_LEDPOL_ActiveLow (0UL) /*!< LED output is active low. */ 04683 #define QDEC_LEDPOL_LEDPOL_ActiveHigh (1UL) /*!< LED output is active high. */ 04684 04685 /* Register: QDEC_SAMPLEPER */ 04686 /* Description: Sample period. */ 04687 04688 /* Bits 2..0 : Sample period. */ 04689 #define QDEC_SAMPLEPER_SAMPLEPER_Pos (0UL) /*!< Position of SAMPLEPER field. */ 04690 #define QDEC_SAMPLEPER_SAMPLEPER_Msk (0x7UL << QDEC_SAMPLEPER_SAMPLEPER_Pos) /*!< Bit mask of SAMPLEPER field. */ 04691 #define QDEC_SAMPLEPER_SAMPLEPER_128us (0x00UL) /*!< 128us sample period. */ 04692 #define QDEC_SAMPLEPER_SAMPLEPER_256us (0x01UL) /*!< 256us sample period. */ 04693 #define QDEC_SAMPLEPER_SAMPLEPER_512us (0x02UL) /*!< 512us sample period. */ 04694 #define QDEC_SAMPLEPER_SAMPLEPER_1024us (0x03UL) /*!< 1024us sample period. */ 04695 #define QDEC_SAMPLEPER_SAMPLEPER_2048us (0x04UL) /*!< 2048us sample period. */ 04696 #define QDEC_SAMPLEPER_SAMPLEPER_4096us (0x05UL) /*!< 4096us sample period. */ 04697 #define QDEC_SAMPLEPER_SAMPLEPER_8192us (0x06UL) /*!< 8192us sample period. */ 04698 #define QDEC_SAMPLEPER_SAMPLEPER_16384us (0x07UL) /*!< 16384us sample period. */ 04699 04700 /* Register: QDEC_SAMPLE */ 04701 /* Description: Motion sample value. */ 04702 04703 /* Bits 31..0 : Last sample taken in compliment to 2. */ 04704 #define QDEC_SAMPLE_SAMPLE_Pos (0UL) /*!< Position of SAMPLE field. */ 04705 #define QDEC_SAMPLE_SAMPLE_Msk (0xFFFFFFFFUL << QDEC_SAMPLE_SAMPLE_Pos) /*!< Bit mask of SAMPLE field. */ 04706 04707 /* Register: QDEC_REPORTPER */ 04708 /* Description: Number of samples to generate an EVENT_REPORTRDY. */ 04709 04710 /* Bits 2..0 : Number of samples to generate an EVENT_REPORTRDY. */ 04711 #define QDEC_REPORTPER_REPORTPER_Pos (0UL) /*!< Position of REPORTPER field. */ 04712 #define QDEC_REPORTPER_REPORTPER_Msk (0x7UL << QDEC_REPORTPER_REPORTPER_Pos) /*!< Bit mask of REPORTPER field. */ 04713 #define QDEC_REPORTPER_REPORTPER_10Smpl (0x00UL) /*!< 10 samples per report. */ 04714 #define QDEC_REPORTPER_REPORTPER_40Smpl (0x01UL) /*!< 40 samples per report. */ 04715 #define QDEC_REPORTPER_REPORTPER_80Smpl (0x02UL) /*!< 80 samples per report. */ 04716 #define QDEC_REPORTPER_REPORTPER_120Smpl (0x03UL) /*!< 120 samples per report. */ 04717 #define QDEC_REPORTPER_REPORTPER_160Smpl (0x04UL) /*!< 160 samples per report. */ 04718 #define QDEC_REPORTPER_REPORTPER_200Smpl (0x05UL) /*!< 200 samples per report. */ 04719 #define QDEC_REPORTPER_REPORTPER_240Smpl (0x06UL) /*!< 240 samples per report. */ 04720 #define QDEC_REPORTPER_REPORTPER_280Smpl (0x07UL) /*!< 280 samples per report. */ 04721 04722 /* Register: QDEC_DBFEN */ 04723 /* Description: Enable debouncer input filters. */ 04724 04725 /* Bit 0 : Enable debounce input filters. */ 04726 #define QDEC_DBFEN_DBFEN_Pos (0UL) /*!< Position of DBFEN field. */ 04727 #define QDEC_DBFEN_DBFEN_Msk (0x1UL << QDEC_DBFEN_DBFEN_Pos) /*!< Bit mask of DBFEN field. */ 04728 #define QDEC_DBFEN_DBFEN_Disabled (0UL) /*!< Debounce input filters disabled. */ 04729 #define QDEC_DBFEN_DBFEN_Enabled (1UL) /*!< Debounce input filters enabled. */ 04730 04731 /* Register: QDEC_LEDPRE */ 04732 /* Description: Time LED is switched ON before the sample. */ 04733 04734 /* Bits 8..0 : Period in us the LED in switched on prior to sampling. */ 04735 #define QDEC_LEDPRE_LEDPRE_Pos (0UL) /*!< Position of LEDPRE field. */ 04736 #define QDEC_LEDPRE_LEDPRE_Msk (0x1FFUL << QDEC_LEDPRE_LEDPRE_Pos) /*!< Bit mask of LEDPRE field. */ 04737 04738 /* Register: QDEC_ACCDBL */ 04739 /* Description: Accumulated double (error) transitions register. */ 04740 04741 /* Bits 3..0 : Accumulated double (error) transitions. */ 04742 #define QDEC_ACCDBL_ACCDBL_Pos (0UL) /*!< Position of ACCDBL field. */ 04743 #define QDEC_ACCDBL_ACCDBL_Msk (0xFUL << QDEC_ACCDBL_ACCDBL_Pos) /*!< Bit mask of ACCDBL field. */ 04744 04745 /* Register: QDEC_ACCDBLREAD */ 04746 /* Description: Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task. */ 04747 04748 /* Bits 3..0 : Snapshot of accumulated double (error) transitions. */ 04749 #define QDEC_ACCDBLREAD_ACCDBLREAD_Pos (0UL) /*!< Position of ACCDBLREAD field. */ 04750 #define QDEC_ACCDBLREAD_ACCDBLREAD_Msk (0xFUL << QDEC_ACCDBLREAD_ACCDBLREAD_Pos) /*!< Bit mask of ACCDBLREAD field. */ 04751 04752 /* Register: QDEC_POWER */ 04753 /* Description: Peripheral power control. */ 04754 04755 /* Bit 0 : Peripheral power control. */ 04756 #define QDEC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 04757 #define QDEC_POWER_POWER_Msk (0x1UL << QDEC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 04758 #define QDEC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 04759 #define QDEC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 04760 04761 04762 /* Peripheral: RADIO */ 04763 /* Description: The radio. */ 04764 04765 /* Register: RADIO_SHORTS */ 04766 /* Description: Shortcuts for the radio. */ 04767 04768 /* Bit 8 : Shortcut between DISABLED event and RSSISTOP task. */ 04769 #define RADIO_SHORTS_DISABLED_RSSISTOP_Pos (8UL) /*!< Position of DISABLED_RSSISTOP field. */ 04770 #define RADIO_SHORTS_DISABLED_RSSISTOP_Msk (0x1UL << RADIO_SHORTS_DISABLED_RSSISTOP_Pos) /*!< Bit mask of DISABLED_RSSISTOP field. */ 04771 #define RADIO_SHORTS_DISABLED_RSSISTOP_Disabled (0UL) /*!< Shortcut disabled. */ 04772 #define RADIO_SHORTS_DISABLED_RSSISTOP_Enabled (1UL) /*!< Shortcut enabled. */ 04773 04774 /* Bit 6 : Shortcut between ADDRESS event and BCSTART task. */ 04775 #define RADIO_SHORTS_ADDRESS_BCSTART_Pos (6UL) /*!< Position of ADDRESS_BCSTART field. */ 04776 #define RADIO_SHORTS_ADDRESS_BCSTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_BCSTART_Pos) /*!< Bit mask of ADDRESS_BCSTART field. */ 04777 #define RADIO_SHORTS_ADDRESS_BCSTART_Disabled (0UL) /*!< Shortcut disabled. */ 04778 #define RADIO_SHORTS_ADDRESS_BCSTART_Enabled (1UL) /*!< Shortcut enabled. */ 04779 04780 /* Bit 5 : Shortcut between END event and START task. */ 04781 #define RADIO_SHORTS_END_START_Pos (5UL) /*!< Position of END_START field. */ 04782 #define RADIO_SHORTS_END_START_Msk (0x1UL << RADIO_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */ 04783 #define RADIO_SHORTS_END_START_Disabled (0UL) /*!< Shortcut disabled. */ 04784 #define RADIO_SHORTS_END_START_Enabled (1UL) /*!< Shortcut enabled. */ 04785 04786 /* Bit 4 : Shortcut between ADDRESS event and RSSISTART task. */ 04787 #define RADIO_SHORTS_ADDRESS_RSSISTART_Pos (4UL) /*!< Position of ADDRESS_RSSISTART field. */ 04788 #define RADIO_SHORTS_ADDRESS_RSSISTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_RSSISTART_Pos) /*!< Bit mask of ADDRESS_RSSISTART field. */ 04789 #define RADIO_SHORTS_ADDRESS_RSSISTART_Disabled (0UL) /*!< Shortcut disabled. */ 04790 #define RADIO_SHORTS_ADDRESS_RSSISTART_Enabled (1UL) /*!< Shortcut enabled. */ 04791 04792 /* Bit 3 : Shortcut between DISABLED event and RXEN task. */ 04793 #define RADIO_SHORTS_DISABLED_RXEN_Pos (3UL) /*!< Position of DISABLED_RXEN field. */ 04794 #define RADIO_SHORTS_DISABLED_RXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_RXEN_Pos) /*!< Bit mask of DISABLED_RXEN field. */ 04795 #define RADIO_SHORTS_DISABLED_RXEN_Disabled (0UL) /*!< Shortcut disabled. */ 04796 #define RADIO_SHORTS_DISABLED_RXEN_Enabled (1UL) /*!< Shortcut enabled. */ 04797 04798 /* Bit 2 : Shortcut between DISABLED event and TXEN task. */ 04799 #define RADIO_SHORTS_DISABLED_TXEN_Pos (2UL) /*!< Position of DISABLED_TXEN field. */ 04800 #define RADIO_SHORTS_DISABLED_TXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_TXEN_Pos) /*!< Bit mask of DISABLED_TXEN field. */ 04801 #define RADIO_SHORTS_DISABLED_TXEN_Disabled (0UL) /*!< Shortcut disabled. */ 04802 #define RADIO_SHORTS_DISABLED_TXEN_Enabled (1UL) /*!< Shortcut enabled. */ 04803 04804 /* Bit 1 : Shortcut between END event and DISABLE task. */ 04805 #define RADIO_SHORTS_END_DISABLE_Pos (1UL) /*!< Position of END_DISABLE field. */ 04806 #define RADIO_SHORTS_END_DISABLE_Msk (0x1UL << RADIO_SHORTS_END_DISABLE_Pos) /*!< Bit mask of END_DISABLE field. */ 04807 #define RADIO_SHORTS_END_DISABLE_Disabled (0UL) /*!< Shortcut disabled. */ 04808 #define RADIO_SHORTS_END_DISABLE_Enabled (1UL) /*!< Shortcut enabled. */ 04809 04810 /* Bit 0 : Shortcut between READY event and START task. */ 04811 #define RADIO_SHORTS_READY_START_Pos (0UL) /*!< Position of READY_START field. */ 04812 #define RADIO_SHORTS_READY_START_Msk (0x1UL << RADIO_SHORTS_READY_START_Pos) /*!< Bit mask of READY_START field. */ 04813 #define RADIO_SHORTS_READY_START_Disabled (0UL) /*!< Shortcut disabled. */ 04814 #define RADIO_SHORTS_READY_START_Enabled (1UL) /*!< Shortcut enabled. */ 04815 04816 /* Register: RADIO_INTENSET */ 04817 /* Description: Interrupt enable set register. */ 04818 04819 /* Bit 10 : Enable interrupt on BCMATCH event. */ 04820 #define RADIO_INTENSET_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */ 04821 #define RADIO_INTENSET_BCMATCH_Msk (0x1UL << RADIO_INTENSET_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */ 04822 #define RADIO_INTENSET_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 04823 #define RADIO_INTENSET_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 04824 #define RADIO_INTENSET_BCMATCH_Set (1UL) /*!< Enable interrupt on write. */ 04825 04826 /* Bit 7 : Enable interrupt on RSSIEND event. */ 04827 #define RADIO_INTENSET_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */ 04828 #define RADIO_INTENSET_RSSIEND_Msk (0x1UL << RADIO_INTENSET_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */ 04829 #define RADIO_INTENSET_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */ 04830 #define RADIO_INTENSET_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */ 04831 #define RADIO_INTENSET_RSSIEND_Set (1UL) /*!< Enable interrupt on write. */ 04832 04833 /* Bit 6 : Enable interrupt on DEVMISS event. */ 04834 #define RADIO_INTENSET_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */ 04835 #define RADIO_INTENSET_DEVMISS_Msk (0x1UL << RADIO_INTENSET_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */ 04836 #define RADIO_INTENSET_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */ 04837 #define RADIO_INTENSET_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */ 04838 #define RADIO_INTENSET_DEVMISS_Set (1UL) /*!< Enable interrupt on write. */ 04839 04840 /* Bit 5 : Enable interrupt on DEVMATCH event. */ 04841 #define RADIO_INTENSET_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */ 04842 #define RADIO_INTENSET_DEVMATCH_Msk (0x1UL << RADIO_INTENSET_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */ 04843 #define RADIO_INTENSET_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 04844 #define RADIO_INTENSET_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 04845 #define RADIO_INTENSET_DEVMATCH_Set (1UL) /*!< Enable interrupt on write. */ 04846 04847 /* Bit 4 : Enable interrupt on DISABLED event. */ 04848 #define RADIO_INTENSET_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */ 04849 #define RADIO_INTENSET_DISABLED_Msk (0x1UL << RADIO_INTENSET_DISABLED_Pos) /*!< Bit mask of DISABLED field. */ 04850 #define RADIO_INTENSET_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */ 04851 #define RADIO_INTENSET_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */ 04852 #define RADIO_INTENSET_DISABLED_Set (1UL) /*!< Enable interrupt on write. */ 04853 04854 /* Bit 3 : Enable interrupt on END event. */ 04855 #define RADIO_INTENSET_END_Pos (3UL) /*!< Position of END field. */ 04856 #define RADIO_INTENSET_END_Msk (0x1UL << RADIO_INTENSET_END_Pos) /*!< Bit mask of END field. */ 04857 #define RADIO_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 04858 #define RADIO_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 04859 #define RADIO_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 04860 04861 /* Bit 2 : Enable interrupt on PAYLOAD event. */ 04862 #define RADIO_INTENSET_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */ 04863 #define RADIO_INTENSET_PAYLOAD_Msk (0x1UL << RADIO_INTENSET_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */ 04864 #define RADIO_INTENSET_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */ 04865 #define RADIO_INTENSET_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */ 04866 #define RADIO_INTENSET_PAYLOAD_Set (1UL) /*!< Enable interrupt on write. */ 04867 04868 /* Bit 1 : Enable interrupt on ADDRESS event. */ 04869 #define RADIO_INTENSET_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */ 04870 #define RADIO_INTENSET_ADDRESS_Msk (0x1UL << RADIO_INTENSET_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 04871 #define RADIO_INTENSET_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */ 04872 #define RADIO_INTENSET_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */ 04873 #define RADIO_INTENSET_ADDRESS_Set (1UL) /*!< Enable interrupt on write. */ 04874 04875 /* Bit 0 : Enable interrupt on READY event. */ 04876 #define RADIO_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */ 04877 #define RADIO_INTENSET_READY_Msk (0x1UL << RADIO_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 04878 #define RADIO_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */ 04879 #define RADIO_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */ 04880 #define RADIO_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */ 04881 04882 /* Register: RADIO_INTENCLR */ 04883 /* Description: Interrupt enable clear register. */ 04884 04885 /* Bit 10 : Disable interrupt on BCMATCH event. */ 04886 #define RADIO_INTENCLR_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */ 04887 #define RADIO_INTENCLR_BCMATCH_Msk (0x1UL << RADIO_INTENCLR_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */ 04888 #define RADIO_INTENCLR_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 04889 #define RADIO_INTENCLR_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 04890 #define RADIO_INTENCLR_BCMATCH_Clear (1UL) /*!< Disable interrupt on write. */ 04891 04892 /* Bit 7 : Disable interrupt on RSSIEND event. */ 04893 #define RADIO_INTENCLR_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */ 04894 #define RADIO_INTENCLR_RSSIEND_Msk (0x1UL << RADIO_INTENCLR_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */ 04895 #define RADIO_INTENCLR_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */ 04896 #define RADIO_INTENCLR_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */ 04897 #define RADIO_INTENCLR_RSSIEND_Clear (1UL) /*!< Disable interrupt on write. */ 04898 04899 /* Bit 6 : Disable interrupt on DEVMISS event. */ 04900 #define RADIO_INTENCLR_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */ 04901 #define RADIO_INTENCLR_DEVMISS_Msk (0x1UL << RADIO_INTENCLR_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */ 04902 #define RADIO_INTENCLR_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */ 04903 #define RADIO_INTENCLR_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */ 04904 #define RADIO_INTENCLR_DEVMISS_Clear (1UL) /*!< Disable interrupt on write. */ 04905 04906 /* Bit 5 : Disable interrupt on DEVMATCH event. */ 04907 #define RADIO_INTENCLR_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */ 04908 #define RADIO_INTENCLR_DEVMATCH_Msk (0x1UL << RADIO_INTENCLR_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */ 04909 #define RADIO_INTENCLR_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */ 04910 #define RADIO_INTENCLR_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */ 04911 #define RADIO_INTENCLR_DEVMATCH_Clear (1UL) /*!< Disable interrupt on write. */ 04912 04913 /* Bit 4 : Disable interrupt on DISABLED event. */ 04914 #define RADIO_INTENCLR_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */ 04915 #define RADIO_INTENCLR_DISABLED_Msk (0x1UL << RADIO_INTENCLR_DISABLED_Pos) /*!< Bit mask of DISABLED field. */ 04916 #define RADIO_INTENCLR_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */ 04917 #define RADIO_INTENCLR_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */ 04918 #define RADIO_INTENCLR_DISABLED_Clear (1UL) /*!< Disable interrupt on write. */ 04919 04920 /* Bit 3 : Disable interrupt on END event. */ 04921 #define RADIO_INTENCLR_END_Pos (3UL) /*!< Position of END field. */ 04922 #define RADIO_INTENCLR_END_Msk (0x1UL << RADIO_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 04923 #define RADIO_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 04924 #define RADIO_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 04925 #define RADIO_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 04926 04927 /* Bit 2 : Disable interrupt on PAYLOAD event. */ 04928 #define RADIO_INTENCLR_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */ 04929 #define RADIO_INTENCLR_PAYLOAD_Msk (0x1UL << RADIO_INTENCLR_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */ 04930 #define RADIO_INTENCLR_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */ 04931 #define RADIO_INTENCLR_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */ 04932 #define RADIO_INTENCLR_PAYLOAD_Clear (1UL) /*!< Disable interrupt on write. */ 04933 04934 /* Bit 1 : Disable interrupt on ADDRESS event. */ 04935 #define RADIO_INTENCLR_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */ 04936 #define RADIO_INTENCLR_ADDRESS_Msk (0x1UL << RADIO_INTENCLR_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 04937 #define RADIO_INTENCLR_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */ 04938 #define RADIO_INTENCLR_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */ 04939 #define RADIO_INTENCLR_ADDRESS_Clear (1UL) /*!< Disable interrupt on write. */ 04940 04941 /* Bit 0 : Disable interrupt on READY event. */ 04942 #define RADIO_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */ 04943 #define RADIO_INTENCLR_READY_Msk (0x1UL << RADIO_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 04944 #define RADIO_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */ 04945 #define RADIO_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */ 04946 #define RADIO_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */ 04947 04948 /* Register: RADIO_CRCSTATUS */ 04949 /* Description: CRC status of received packet. */ 04950 04951 /* Bit 0 : CRC status of received packet. */ 04952 #define RADIO_CRCSTATUS_CRCSTATUS_Pos (0UL) /*!< Position of CRCSTATUS field. */ 04953 #define RADIO_CRCSTATUS_CRCSTATUS_Msk (0x1UL << RADIO_CRCSTATUS_CRCSTATUS_Pos) /*!< Bit mask of CRCSTATUS field. */ 04954 #define RADIO_CRCSTATUS_CRCSTATUS_CRCError (0UL) /*!< Packet received with CRC error. */ 04955 #define RADIO_CRCSTATUS_CRCSTATUS_CRCOk (1UL) /*!< Packet received with CRC ok. */ 04956 04957 /* Register: RADIO_RXMATCH */ 04958 /* Description: Received address. */ 04959 04960 /* Bits 2..0 : Logical address in which previous packet was received. */ 04961 #define RADIO_RXMATCH_RXMATCH_Pos (0UL) /*!< Position of RXMATCH field. */ 04962 #define RADIO_RXMATCH_RXMATCH_Msk (0x7UL << RADIO_RXMATCH_RXMATCH_Pos) /*!< Bit mask of RXMATCH field. */ 04963 04964 /* Register: RADIO_RXCRC */ 04965 /* Description: Received CRC. */ 04966 04967 /* Bits 23..0 : CRC field of previously received packet. */ 04968 #define RADIO_RXCRC_RXCRC_Pos (0UL) /*!< Position of RXCRC field. */ 04969 #define RADIO_RXCRC_RXCRC_Msk (0xFFFFFFUL << RADIO_RXCRC_RXCRC_Pos) /*!< Bit mask of RXCRC field. */ 04970 04971 /* Register: RADIO_DAI */ 04972 /* Description: Device address match index. */ 04973 04974 /* Bits 2..0 : Index (n) of device address (see DAB[n] and DAP[n]) that obtained an address match. */ 04975 #define RADIO_DAI_DAI_Pos (0UL) /*!< Position of DAI field. */ 04976 #define RADIO_DAI_DAI_Msk (0x7UL << RADIO_DAI_DAI_Pos) /*!< Bit mask of DAI field. */ 04977 04978 /* Register: RADIO_FREQUENCY */ 04979 /* Description: Frequency. */ 04980 04981 /* Bits 6..0 : Radio channel frequency offset in MHz: RF Frequency = 2400 + FREQUENCY (MHz). Decision point: TXEN or RXEN task. */ 04982 #define RADIO_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 04983 #define RADIO_FREQUENCY_FREQUENCY_Msk (0x7FUL << RADIO_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 04984 04985 /* Register: RADIO_TXPOWER */ 04986 /* Description: Output power. */ 04987 04988 /* Bits 7..0 : Radio output power. Decision point: TXEN task. */ 04989 #define RADIO_TXPOWER_TXPOWER_Pos (0UL) /*!< Position of TXPOWER field. */ 04990 #define RADIO_TXPOWER_TXPOWER_Msk (0xFFUL << RADIO_TXPOWER_TXPOWER_Pos) /*!< Bit mask of TXPOWER field. */ 04991 #define RADIO_TXPOWER_TXPOWER_0dBm (0x00UL) /*!< 0dBm. */ 04992 #define RADIO_TXPOWER_TXPOWER_Pos4dBm (0x04UL) /*!< +4dBm. */ 04993 #define RADIO_TXPOWER_TXPOWER_Neg30dBm (0xD8UL) /*!< -30dBm. */ 04994 #define RADIO_TXPOWER_TXPOWER_Neg20dBm (0xECUL) /*!< -20dBm. */ 04995 #define RADIO_TXPOWER_TXPOWER_Neg16dBm (0xF0UL) /*!< -16dBm. */ 04996 #define RADIO_TXPOWER_TXPOWER_Neg12dBm (0xF4UL) /*!< -12dBm. */ 04997 #define RADIO_TXPOWER_TXPOWER_Neg8dBm (0xF8UL) /*!< -8dBm. */ 04998 #define RADIO_TXPOWER_TXPOWER_Neg4dBm (0xFCUL) /*!< -4dBm. */ 04999 05000 /* Register: RADIO_MODE */ 05001 /* Description: Data rate and modulation. */ 05002 05003 /* Bits 1..0 : Radio data rate and modulation setting. Decision point: TXEN or RXEN task. */ 05004 #define RADIO_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 05005 #define RADIO_MODE_MODE_Msk (0x3UL << RADIO_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 05006 #define RADIO_MODE_MODE_Nrf_1Mbit (0x00UL) /*!< 1Mbit/s Nordic propietary radio mode. */ 05007 #define RADIO_MODE_MODE_Nrf_2Mbit (0x01UL) /*!< 2Mbit/s Nordic propietary radio mode. */ 05008 #define RADIO_MODE_MODE_Nrf_250Kbit (0x02UL) /*!< 250kbit/s Nordic propietary radio mode. */ 05009 #define RADIO_MODE_MODE_Ble_1Mbit (0x03UL) /*!< 1Mbit/s Bluetooth Low Energy */ 05010 05011 /* Register: RADIO_PCNF0 */ 05012 /* Description: Packet configuration 0. */ 05013 05014 /* Bits 19..16 : Length of S1 field in number of bits. Decision point: START task. */ 05015 #define RADIO_PCNF0_S1LEN_Pos (16UL) /*!< Position of S1LEN field. */ 05016 #define RADIO_PCNF0_S1LEN_Msk (0xFUL << RADIO_PCNF0_S1LEN_Pos) /*!< Bit mask of S1LEN field. */ 05017 05018 /* Bit 8 : Length of S0 field in number of bytes. Decision point: START task. */ 05019 #define RADIO_PCNF0_S0LEN_Pos (8UL) /*!< Position of S0LEN field. */ 05020 #define RADIO_PCNF0_S0LEN_Msk (0x1UL << RADIO_PCNF0_S0LEN_Pos) /*!< Bit mask of S0LEN field. */ 05021 05022 /* Bits 3..0 : Length of length field in number of bits. Decision point: START task. */ 05023 #define RADIO_PCNF0_LFLEN_Pos (0UL) /*!< Position of LFLEN field. */ 05024 #define RADIO_PCNF0_LFLEN_Msk (0xFUL << RADIO_PCNF0_LFLEN_Pos) /*!< Bit mask of LFLEN field. */ 05025 05026 /* Register: RADIO_PCNF1 */ 05027 /* Description: Packet configuration 1. */ 05028 05029 /* Bit 25 : Packet whitening enable. */ 05030 #define RADIO_PCNF1_WHITEEN_Pos (25UL) /*!< Position of WHITEEN field. */ 05031 #define RADIO_PCNF1_WHITEEN_Msk (0x1UL << RADIO_PCNF1_WHITEEN_Pos) /*!< Bit mask of WHITEEN field. */ 05032 #define RADIO_PCNF1_WHITEEN_Disabled (0UL) /*!< Whitening disabled. */ 05033 #define RADIO_PCNF1_WHITEEN_Enabled (1UL) /*!< Whitening enabled. */ 05034 05035 /* Bit 24 : On air endianness of packet length field. Decision point: START task. */ 05036 #define RADIO_PCNF1_ENDIAN_Pos (24UL) /*!< Position of ENDIAN field. */ 05037 #define RADIO_PCNF1_ENDIAN_Msk (0x1UL << RADIO_PCNF1_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */ 05038 #define RADIO_PCNF1_ENDIAN_Little (0UL) /*!< Least significant bit on air first */ 05039 #define RADIO_PCNF1_ENDIAN_Big (1UL) /*!< Most significant bit on air first */ 05040 05041 /* Bits 18..16 : Base address length in number of bytes. Decision point: START task. */ 05042 #define RADIO_PCNF1_BALEN_Pos (16UL) /*!< Position of BALEN field. */ 05043 #define RADIO_PCNF1_BALEN_Msk (0x7UL << RADIO_PCNF1_BALEN_Pos) /*!< Bit mask of BALEN field. */ 05044 05045 /* Bits 15..8 : Static length in number of bytes. Decision point: START task. */ 05046 #define RADIO_PCNF1_STATLEN_Pos (8UL) /*!< Position of STATLEN field. */ 05047 #define RADIO_PCNF1_STATLEN_Msk (0xFFUL << RADIO_PCNF1_STATLEN_Pos) /*!< Bit mask of STATLEN field. */ 05048 05049 /* Bits 7..0 : Maximum length of packet payload in number of bytes. */ 05050 #define RADIO_PCNF1_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */ 05051 #define RADIO_PCNF1_MAXLEN_Msk (0xFFUL << RADIO_PCNF1_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */ 05052 05053 /* Register: RADIO_PREFIX0 */ 05054 /* Description: Prefixes bytes for logical addresses 0 to 3. */ 05055 05056 /* Bits 31..24 : Address prefix 3. Decision point: START task. */ 05057 #define RADIO_PREFIX0_AP3_Pos (24UL) /*!< Position of AP3 field. */ 05058 #define RADIO_PREFIX0_AP3_Msk (0xFFUL << RADIO_PREFIX0_AP3_Pos) /*!< Bit mask of AP3 field. */ 05059 05060 /* Bits 23..16 : Address prefix 2. Decision point: START task. */ 05061 #define RADIO_PREFIX0_AP2_Pos (16UL) /*!< Position of AP2 field. */ 05062 #define RADIO_PREFIX0_AP2_Msk (0xFFUL << RADIO_PREFIX0_AP2_Pos) /*!< Bit mask of AP2 field. */ 05063 05064 /* Bits 15..8 : Address prefix 1. Decision point: START task. */ 05065 #define RADIO_PREFIX0_AP1_Pos (8UL) /*!< Position of AP1 field. */ 05066 #define RADIO_PREFIX0_AP1_Msk (0xFFUL << RADIO_PREFIX0_AP1_Pos) /*!< Bit mask of AP1 field. */ 05067 05068 /* Bits 7..0 : Address prefix 0. Decision point: START task. */ 05069 #define RADIO_PREFIX0_AP0_Pos (0UL) /*!< Position of AP0 field. */ 05070 #define RADIO_PREFIX0_AP0_Msk (0xFFUL << RADIO_PREFIX0_AP0_Pos) /*!< Bit mask of AP0 field. */ 05071 05072 /* Register: RADIO_PREFIX1 */ 05073 /* Description: Prefixes bytes for logical addresses 4 to 7. */ 05074 05075 /* Bits 31..24 : Address prefix 7. Decision point: START task. */ 05076 #define RADIO_PREFIX1_AP7_Pos (24UL) /*!< Position of AP7 field. */ 05077 #define RADIO_PREFIX1_AP7_Msk (0xFFUL << RADIO_PREFIX1_AP7_Pos) /*!< Bit mask of AP7 field. */ 05078 05079 /* Bits 23..16 : Address prefix 6. Decision point: START task. */ 05080 #define RADIO_PREFIX1_AP6_Pos (16UL) /*!< Position of AP6 field. */ 05081 #define RADIO_PREFIX1_AP6_Msk (0xFFUL << RADIO_PREFIX1_AP6_Pos) /*!< Bit mask of AP6 field. */ 05082 05083 /* Bits 15..8 : Address prefix 5. Decision point: START task. */ 05084 #define RADIO_PREFIX1_AP5_Pos (8UL) /*!< Position of AP5 field. */ 05085 #define RADIO_PREFIX1_AP5_Msk (0xFFUL << RADIO_PREFIX1_AP5_Pos) /*!< Bit mask of AP5 field. */ 05086 05087 /* Bits 7..0 : Address prefix 4. Decision point: START task. */ 05088 #define RADIO_PREFIX1_AP4_Pos (0UL) /*!< Position of AP4 field. */ 05089 #define RADIO_PREFIX1_AP4_Msk (0xFFUL << RADIO_PREFIX1_AP4_Pos) /*!< Bit mask of AP4 field. */ 05090 05091 /* Register: RADIO_TXADDRESS */ 05092 /* Description: Transmit address select. */ 05093 05094 /* Bits 2..0 : Logical address to be used when transmitting a packet. Decision point: START task. */ 05095 #define RADIO_TXADDRESS_TXADDRESS_Pos (0UL) /*!< Position of TXADDRESS field. */ 05096 #define RADIO_TXADDRESS_TXADDRESS_Msk (0x7UL << RADIO_TXADDRESS_TXADDRESS_Pos) /*!< Bit mask of TXADDRESS field. */ 05097 05098 /* Register: RADIO_RXADDRESSES */ 05099 /* Description: Receive address select. */ 05100 05101 /* Bit 7 : Enable reception on logical address 7. Decision point: START task. */ 05102 #define RADIO_RXADDRESSES_ADDR7_Pos (7UL) /*!< Position of ADDR7 field. */ 05103 #define RADIO_RXADDRESSES_ADDR7_Msk (0x1UL << RADIO_RXADDRESSES_ADDR7_Pos) /*!< Bit mask of ADDR7 field. */ 05104 #define RADIO_RXADDRESSES_ADDR7_Disabled (0UL) /*!< Reception disabled. */ 05105 #define RADIO_RXADDRESSES_ADDR7_Enabled (1UL) /*!< Reception enabled. */ 05106 05107 /* Bit 6 : Enable reception on logical address 6. Decision point: START task. */ 05108 #define RADIO_RXADDRESSES_ADDR6_Pos (6UL) /*!< Position of ADDR6 field. */ 05109 #define RADIO_RXADDRESSES_ADDR6_Msk (0x1UL << RADIO_RXADDRESSES_ADDR6_Pos) /*!< Bit mask of ADDR6 field. */ 05110 #define RADIO_RXADDRESSES_ADDR6_Disabled (0UL) /*!< Reception disabled. */ 05111 #define RADIO_RXADDRESSES_ADDR6_Enabled (1UL) /*!< Reception enabled. */ 05112 05113 /* Bit 5 : Enable reception on logical address 5. Decision point: START task. */ 05114 #define RADIO_RXADDRESSES_ADDR5_Pos (5UL) /*!< Position of ADDR5 field. */ 05115 #define RADIO_RXADDRESSES_ADDR5_Msk (0x1UL << RADIO_RXADDRESSES_ADDR5_Pos) /*!< Bit mask of ADDR5 field. */ 05116 #define RADIO_RXADDRESSES_ADDR5_Disabled (0UL) /*!< Reception disabled. */ 05117 #define RADIO_RXADDRESSES_ADDR5_Enabled (1UL) /*!< Reception enabled. */ 05118 05119 /* Bit 4 : Enable reception on logical address 4. Decision point: START task. */ 05120 #define RADIO_RXADDRESSES_ADDR4_Pos (4UL) /*!< Position of ADDR4 field. */ 05121 #define RADIO_RXADDRESSES_ADDR4_Msk (0x1UL << RADIO_RXADDRESSES_ADDR4_Pos) /*!< Bit mask of ADDR4 field. */ 05122 #define RADIO_RXADDRESSES_ADDR4_Disabled (0UL) /*!< Reception disabled. */ 05123 #define RADIO_RXADDRESSES_ADDR4_Enabled (1UL) /*!< Reception enabled. */ 05124 05125 /* Bit 3 : Enable reception on logical address 3. Decision point: START task. */ 05126 #define RADIO_RXADDRESSES_ADDR3_Pos (3UL) /*!< Position of ADDR3 field. */ 05127 #define RADIO_RXADDRESSES_ADDR3_Msk (0x1UL << RADIO_RXADDRESSES_ADDR3_Pos) /*!< Bit mask of ADDR3 field. */ 05128 #define RADIO_RXADDRESSES_ADDR3_Disabled (0UL) /*!< Reception disabled. */ 05129 #define RADIO_RXADDRESSES_ADDR3_Enabled (1UL) /*!< Reception enabled. */ 05130 05131 /* Bit 2 : Enable reception on logical address 2. Decision point: START task. */ 05132 #define RADIO_RXADDRESSES_ADDR2_Pos (2UL) /*!< Position of ADDR2 field. */ 05133 #define RADIO_RXADDRESSES_ADDR2_Msk (0x1UL << RADIO_RXADDRESSES_ADDR2_Pos) /*!< Bit mask of ADDR2 field. */ 05134 #define RADIO_RXADDRESSES_ADDR2_Disabled (0UL) /*!< Reception disabled. */ 05135 #define RADIO_RXADDRESSES_ADDR2_Enabled (1UL) /*!< Reception enabled. */ 05136 05137 /* Bit 1 : Enable reception on logical address 1. Decision point: START task. */ 05138 #define RADIO_RXADDRESSES_ADDR1_Pos (1UL) /*!< Position of ADDR1 field. */ 05139 #define RADIO_RXADDRESSES_ADDR1_Msk (0x1UL << RADIO_RXADDRESSES_ADDR1_Pos) /*!< Bit mask of ADDR1 field. */ 05140 #define RADIO_RXADDRESSES_ADDR1_Disabled (0UL) /*!< Reception disabled. */ 05141 #define RADIO_RXADDRESSES_ADDR1_Enabled (1UL) /*!< Reception enabled. */ 05142 05143 /* Bit 0 : Enable reception on logical address 0. Decision point: START task. */ 05144 #define RADIO_RXADDRESSES_ADDR0_Pos (0UL) /*!< Position of ADDR0 field. */ 05145 #define RADIO_RXADDRESSES_ADDR0_Msk (0x1UL << RADIO_RXADDRESSES_ADDR0_Pos) /*!< Bit mask of ADDR0 field. */ 05146 #define RADIO_RXADDRESSES_ADDR0_Disabled (0UL) /*!< Reception disabled. */ 05147 #define RADIO_RXADDRESSES_ADDR0_Enabled (1UL) /*!< Reception enabled. */ 05148 05149 /* Register: RADIO_CRCCNF */ 05150 /* Description: CRC configuration. */ 05151 05152 /* Bit 8 : Leave packet address field out of the CRC calculation. Decision point: START task. */ 05153 #define RADIO_CRCCNF_SKIPADDR_Pos (8UL) /*!< Position of SKIPADDR field. */ 05154 #define RADIO_CRCCNF_SKIPADDR_Msk (0x1UL << RADIO_CRCCNF_SKIPADDR_Pos) /*!< Bit mask of SKIPADDR field. */ 05155 #define RADIO_CRCCNF_SKIPADDR_Include (0UL) /*!< Include packet address in CRC calculation. */ 05156 #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. */ 05157 05158 /* Bits 1..0 : CRC length. Decision point: START task. */ 05159 #define RADIO_CRCCNF_LEN_Pos (0UL) /*!< Position of LEN field. */ 05160 #define RADIO_CRCCNF_LEN_Msk (0x3UL << RADIO_CRCCNF_LEN_Pos) /*!< Bit mask of LEN field. */ 05161 #define RADIO_CRCCNF_LEN_Disabled (0UL) /*!< CRC calculation disabled. */ 05162 #define RADIO_CRCCNF_LEN_One (1UL) /*!< One byte long CRC. */ 05163 #define RADIO_CRCCNF_LEN_Two (2UL) /*!< Two bytes long CRC. */ 05164 #define RADIO_CRCCNF_LEN_Three (3UL) /*!< Three bytes long CRC. */ 05165 05166 /* Register: RADIO_CRCPOLY */ 05167 /* Description: CRC polynomial. */ 05168 05169 /* Bits 23..0 : CRC polynomial. Decision point: START task. */ 05170 #define RADIO_CRCPOLY_CRCPOLY_Pos (0UL) /*!< Position of CRCPOLY field. */ 05171 #define RADIO_CRCPOLY_CRCPOLY_Msk (0xFFFFFFUL << RADIO_CRCPOLY_CRCPOLY_Pos) /*!< Bit mask of CRCPOLY field. */ 05172 05173 /* Register: RADIO_CRCINIT */ 05174 /* Description: CRC initial value. */ 05175 05176 /* Bits 23..0 : Initial value for CRC calculation. Decision point: START task. */ 05177 #define RADIO_CRCINIT_CRCINIT_Pos (0UL) /*!< Position of CRCINIT field. */ 05178 #define RADIO_CRCINIT_CRCINIT_Msk (0xFFFFFFUL << RADIO_CRCINIT_CRCINIT_Pos) /*!< Bit mask of CRCINIT field. */ 05179 05180 /* Register: RADIO_TEST */ 05181 /* Description: Test features enable register. */ 05182 05183 /* Bit 1 : PLL lock. Decision point: TXEN or RXEN task. */ 05184 #define RADIO_TEST_PLLLOCK_Pos (1UL) /*!< Position of PLLLOCK field. */ 05185 #define RADIO_TEST_PLLLOCK_Msk (0x1UL << RADIO_TEST_PLLLOCK_Pos) /*!< Bit mask of PLLLOCK field. */ 05186 #define RADIO_TEST_PLLLOCK_Disabled (0UL) /*!< PLL lock disabled. */ 05187 #define RADIO_TEST_PLLLOCK_Enabled (1UL) /*!< PLL lock enabled. */ 05188 05189 /* Bit 0 : Constant carrier. Decision point: TXEN task. */ 05190 #define RADIO_TEST_CONSTCARRIER_Pos (0UL) /*!< Position of CONSTCARRIER field. */ 05191 #define RADIO_TEST_CONSTCARRIER_Msk (0x1UL << RADIO_TEST_CONSTCARRIER_Pos) /*!< Bit mask of CONSTCARRIER field. */ 05192 #define RADIO_TEST_CONSTCARRIER_Disabled (0UL) /*!< Constant carrier disabled. */ 05193 #define RADIO_TEST_CONSTCARRIER_Enabled (1UL) /*!< Constant carrier enabled. */ 05194 05195 /* Register: RADIO_TIFS */ 05196 /* Description: Inter Frame Spacing in microseconds. */ 05197 05198 /* Bits 7..0 : Inter frame spacing in microseconds. Decision point: START rask */ 05199 #define RADIO_TIFS_TIFS_Pos (0UL) /*!< Position of TIFS field. */ 05200 #define RADIO_TIFS_TIFS_Msk (0xFFUL << RADIO_TIFS_TIFS_Pos) /*!< Bit mask of TIFS field. */ 05201 05202 /* Register: RADIO_RSSISAMPLE */ 05203 /* Description: RSSI sample. */ 05204 05205 /* Bits 6..0 : RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm */ 05206 #define RADIO_RSSISAMPLE_RSSISAMPLE_Pos (0UL) /*!< Position of RSSISAMPLE field. */ 05207 #define RADIO_RSSISAMPLE_RSSISAMPLE_Msk (0x7FUL << RADIO_RSSISAMPLE_RSSISAMPLE_Pos) /*!< Bit mask of RSSISAMPLE field. */ 05208 05209 /* Register: RADIO_STATE */ 05210 /* Description: Current radio state. */ 05211 05212 /* Bits 3..0 : Current radio state. */ 05213 #define RADIO_STATE_STATE_Pos (0UL) /*!< Position of STATE field. */ 05214 #define RADIO_STATE_STATE_Msk (0xFUL << RADIO_STATE_STATE_Pos) /*!< Bit mask of STATE field. */ 05215 #define RADIO_STATE_STATE_Disabled (0x00UL) /*!< Radio is in the Disabled state. */ 05216 #define RADIO_STATE_STATE_RxRu (0x01UL) /*!< Radio is in the Rx Ramp Up state. */ 05217 #define RADIO_STATE_STATE_RxIdle (0x02UL) /*!< Radio is in the Rx Idle state. */ 05218 #define RADIO_STATE_STATE_Rx (0x03UL) /*!< Radio is in the Rx state. */ 05219 #define RADIO_STATE_STATE_RxDisable (0x04UL) /*!< Radio is in the Rx Disable state. */ 05220 #define RADIO_STATE_STATE_TxRu (0x09UL) /*!< Radio is in the Tx Ramp Up state. */ 05221 #define RADIO_STATE_STATE_TxIdle (0x0AUL) /*!< Radio is in the Tx Idle state. */ 05222 #define RADIO_STATE_STATE_Tx (0x0BUL) /*!< Radio is in the Tx state. */ 05223 #define RADIO_STATE_STATE_TxDisable (0x0CUL) /*!< Radio is in the Tx Disable state. */ 05224 05225 /* Register: RADIO_DATAWHITEIV */ 05226 /* Description: Data whitening initial value. */ 05227 05228 /* 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. */ 05229 #define RADIO_DATAWHITEIV_DATAWHITEIV_Pos (0UL) /*!< Position of DATAWHITEIV field. */ 05230 #define RADIO_DATAWHITEIV_DATAWHITEIV_Msk (0x7FUL << RADIO_DATAWHITEIV_DATAWHITEIV_Pos) /*!< Bit mask of DATAWHITEIV field. */ 05231 05232 /* Register: RADIO_DAP */ 05233 /* Description: Device address prefix. */ 05234 05235 /* Bits 15..0 : Device address prefix. */ 05236 #define RADIO_DAP_DAP_Pos (0UL) /*!< Position of DAP field. */ 05237 #define RADIO_DAP_DAP_Msk (0xFFFFUL << RADIO_DAP_DAP_Pos) /*!< Bit mask of DAP field. */ 05238 05239 /* Register: RADIO_DACNF */ 05240 /* Description: Device address match configuration. */ 05241 05242 /* Bit 15 : TxAdd for device address 7. */ 05243 #define RADIO_DACNF_TXADD7_Pos (15UL) /*!< Position of TXADD7 field. */ 05244 #define RADIO_DACNF_TXADD7_Msk (0x1UL << RADIO_DACNF_TXADD7_Pos) /*!< Bit mask of TXADD7 field. */ 05245 05246 /* Bit 14 : TxAdd for device address 6. */ 05247 #define RADIO_DACNF_TXADD6_Pos (14UL) /*!< Position of TXADD6 field. */ 05248 #define RADIO_DACNF_TXADD6_Msk (0x1UL << RADIO_DACNF_TXADD6_Pos) /*!< Bit mask of TXADD6 field. */ 05249 05250 /* Bit 13 : TxAdd for device address 5. */ 05251 #define RADIO_DACNF_TXADD5_Pos (13UL) /*!< Position of TXADD5 field. */ 05252 #define RADIO_DACNF_TXADD5_Msk (0x1UL << RADIO_DACNF_TXADD5_Pos) /*!< Bit mask of TXADD5 field. */ 05253 05254 /* Bit 12 : TxAdd for device address 4. */ 05255 #define RADIO_DACNF_TXADD4_Pos (12UL) /*!< Position of TXADD4 field. */ 05256 #define RADIO_DACNF_TXADD4_Msk (0x1UL << RADIO_DACNF_TXADD4_Pos) /*!< Bit mask of TXADD4 field. */ 05257 05258 /* Bit 11 : TxAdd for device address 3. */ 05259 #define RADIO_DACNF_TXADD3_Pos (11UL) /*!< Position of TXADD3 field. */ 05260 #define RADIO_DACNF_TXADD3_Msk (0x1UL << RADIO_DACNF_TXADD3_Pos) /*!< Bit mask of TXADD3 field. */ 05261 05262 /* Bit 10 : TxAdd for device address 2. */ 05263 #define RADIO_DACNF_TXADD2_Pos (10UL) /*!< Position of TXADD2 field. */ 05264 #define RADIO_DACNF_TXADD2_Msk (0x1UL << RADIO_DACNF_TXADD2_Pos) /*!< Bit mask of TXADD2 field. */ 05265 05266 /* Bit 9 : TxAdd for device address 1. */ 05267 #define RADIO_DACNF_TXADD1_Pos (9UL) /*!< Position of TXADD1 field. */ 05268 #define RADIO_DACNF_TXADD1_Msk (0x1UL << RADIO_DACNF_TXADD1_Pos) /*!< Bit mask of TXADD1 field. */ 05269 05270 /* Bit 8 : TxAdd for device address 0. */ 05271 #define RADIO_DACNF_TXADD0_Pos (8UL) /*!< Position of TXADD0 field. */ 05272 #define RADIO_DACNF_TXADD0_Msk (0x1UL << RADIO_DACNF_TXADD0_Pos) /*!< Bit mask of TXADD0 field. */ 05273 05274 /* Bit 7 : Enable or disable device address matching using device address 7. */ 05275 #define RADIO_DACNF_ENA7_Pos (7UL) /*!< Position of ENA7 field. */ 05276 #define RADIO_DACNF_ENA7_Msk (0x1UL << RADIO_DACNF_ENA7_Pos) /*!< Bit mask of ENA7 field. */ 05277 #define RADIO_DACNF_ENA7_Disabled (0UL) /*!< Disabled. */ 05278 #define RADIO_DACNF_ENA7_Enabled (1UL) /*!< Enabled. */ 05279 05280 /* Bit 6 : Enable or disable device address matching using device address 6. */ 05281 #define RADIO_DACNF_ENA6_Pos (6UL) /*!< Position of ENA6 field. */ 05282 #define RADIO_DACNF_ENA6_Msk (0x1UL << RADIO_DACNF_ENA6_Pos) /*!< Bit mask of ENA6 field. */ 05283 #define RADIO_DACNF_ENA6_Disabled (0UL) /*!< Disabled. */ 05284 #define RADIO_DACNF_ENA6_Enabled (1UL) /*!< Enabled. */ 05285 05286 /* Bit 5 : Enable or disable device address matching using device address 5. */ 05287 #define RADIO_DACNF_ENA5_Pos (5UL) /*!< Position of ENA5 field. */ 05288 #define RADIO_DACNF_ENA5_Msk (0x1UL << RADIO_DACNF_ENA5_Pos) /*!< Bit mask of ENA5 field. */ 05289 #define RADIO_DACNF_ENA5_Disabled (0UL) /*!< Disabled. */ 05290 #define RADIO_DACNF_ENA5_Enabled (1UL) /*!< Enabled. */ 05291 05292 /* Bit 4 : Enable or disable device address matching using device address 4. */ 05293 #define RADIO_DACNF_ENA4_Pos (4UL) /*!< Position of ENA4 field. */ 05294 #define RADIO_DACNF_ENA4_Msk (0x1UL << RADIO_DACNF_ENA4_Pos) /*!< Bit mask of ENA4 field. */ 05295 #define RADIO_DACNF_ENA4_Disabled (0UL) /*!< Disabled. */ 05296 #define RADIO_DACNF_ENA4_Enabled (1UL) /*!< Enabled. */ 05297 05298 /* Bit 3 : Enable or disable device address matching using device address 3. */ 05299 #define RADIO_DACNF_ENA3_Pos (3UL) /*!< Position of ENA3 field. */ 05300 #define RADIO_DACNF_ENA3_Msk (0x1UL << RADIO_DACNF_ENA3_Pos) /*!< Bit mask of ENA3 field. */ 05301 #define RADIO_DACNF_ENA3_Disabled (0UL) /*!< Disabled. */ 05302 #define RADIO_DACNF_ENA3_Enabled (1UL) /*!< Enabled. */ 05303 05304 /* Bit 2 : Enable or disable device address matching using device address 2. */ 05305 #define RADIO_DACNF_ENA2_Pos (2UL) /*!< Position of ENA2 field. */ 05306 #define RADIO_DACNF_ENA2_Msk (0x1UL << RADIO_DACNF_ENA2_Pos) /*!< Bit mask of ENA2 field. */ 05307 #define RADIO_DACNF_ENA2_Disabled (0UL) /*!< Disabled. */ 05308 #define RADIO_DACNF_ENA2_Enabled (1UL) /*!< Enabled. */ 05309 05310 /* Bit 1 : Enable or disable device address matching using device address 1. */ 05311 #define RADIO_DACNF_ENA1_Pos (1UL) /*!< Position of ENA1 field. */ 05312 #define RADIO_DACNF_ENA1_Msk (0x1UL << RADIO_DACNF_ENA1_Pos) /*!< Bit mask of ENA1 field. */ 05313 #define RADIO_DACNF_ENA1_Disabled (0UL) /*!< Disabled. */ 05314 #define RADIO_DACNF_ENA1_Enabled (1UL) /*!< Enabled. */ 05315 05316 /* Bit 0 : Enable or disable device address matching using device address 0. */ 05317 #define RADIO_DACNF_ENA0_Pos (0UL) /*!< Position of ENA0 field. */ 05318 #define RADIO_DACNF_ENA0_Msk (0x1UL << RADIO_DACNF_ENA0_Pos) /*!< Bit mask of ENA0 field. */ 05319 #define RADIO_DACNF_ENA0_Disabled (0UL) /*!< Disabled. */ 05320 #define RADIO_DACNF_ENA0_Enabled (1UL) /*!< Enabled. */ 05321 05322 /* Register: RADIO_OVERRIDE0 */ 05323 /* Description: Trim value override register 0. */ 05324 05325 /* Bits 31..0 : Trim value override 0. */ 05326 #define RADIO_OVERRIDE0_OVERRIDE0_Pos (0UL) /*!< Position of OVERRIDE0 field. */ 05327 #define RADIO_OVERRIDE0_OVERRIDE0_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE0_OVERRIDE0_Pos) /*!< Bit mask of OVERRIDE0 field. */ 05328 05329 /* Register: RADIO_OVERRIDE1 */ 05330 /* Description: Trim value override register 1. */ 05331 05332 /* Bits 31..0 : Trim value override 1. */ 05333 #define RADIO_OVERRIDE1_OVERRIDE1_Pos (0UL) /*!< Position of OVERRIDE1 field. */ 05334 #define RADIO_OVERRIDE1_OVERRIDE1_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE1_OVERRIDE1_Pos) /*!< Bit mask of OVERRIDE1 field. */ 05335 05336 /* Register: RADIO_OVERRIDE2 */ 05337 /* Description: Trim value override register 2. */ 05338 05339 /* Bits 31..0 : Trim value override 2. */ 05340 #define RADIO_OVERRIDE2_OVERRIDE2_Pos (0UL) /*!< Position of OVERRIDE2 field. */ 05341 #define RADIO_OVERRIDE2_OVERRIDE2_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE2_OVERRIDE2_Pos) /*!< Bit mask of OVERRIDE2 field. */ 05342 05343 /* Register: RADIO_OVERRIDE3 */ 05344 /* Description: Trim value override register 3. */ 05345 05346 /* Bits 31..0 : Trim value override 3. */ 05347 #define RADIO_OVERRIDE3_OVERRIDE3_Pos (0UL) /*!< Position of OVERRIDE3 field. */ 05348 #define RADIO_OVERRIDE3_OVERRIDE3_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE3_OVERRIDE3_Pos) /*!< Bit mask of OVERRIDE3 field. */ 05349 05350 /* Register: RADIO_OVERRIDE4 */ 05351 /* Description: Trim value override register 4. */ 05352 05353 /* Bit 31 : Enable or disable override of default trim values. */ 05354 #define RADIO_OVERRIDE4_ENABLE_Pos (31UL) /*!< Position of ENABLE field. */ 05355 #define RADIO_OVERRIDE4_ENABLE_Msk (0x1UL << RADIO_OVERRIDE4_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 05356 #define RADIO_OVERRIDE4_ENABLE_Disabled (0UL) /*!< Override trim values disabled. */ 05357 #define RADIO_OVERRIDE4_ENABLE_Enabled (1UL) /*!< Override trim values enabled. */ 05358 05359 /* Bits 27..0 : Trim value override 4. */ 05360 #define RADIO_OVERRIDE4_OVERRIDE4_Pos (0UL) /*!< Position of OVERRIDE4 field. */ 05361 #define RADIO_OVERRIDE4_OVERRIDE4_Msk (0xFFFFFFFUL << RADIO_OVERRIDE4_OVERRIDE4_Pos) /*!< Bit mask of OVERRIDE4 field. */ 05362 05363 /* Register: RADIO_POWER */ 05364 /* Description: Peripheral power control. */ 05365 05366 /* Bit 0 : Peripheral power control. */ 05367 #define RADIO_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 05368 #define RADIO_POWER_POWER_Msk (0x1UL << RADIO_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 05369 #define RADIO_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 05370 #define RADIO_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 05371 05372 05373 /* Peripheral: RNG */ 05374 /* Description: Random Number Generator. */ 05375 05376 /* Register: RNG_SHORTS */ 05377 /* Description: Shortcuts for the RNG. */ 05378 05379 /* Bit 0 : Shortcut between VALRDY event and STOP task. */ 05380 #define RNG_SHORTS_VALRDY_STOP_Pos (0UL) /*!< Position of VALRDY_STOP field. */ 05381 #define RNG_SHORTS_VALRDY_STOP_Msk (0x1UL << RNG_SHORTS_VALRDY_STOP_Pos) /*!< Bit mask of VALRDY_STOP field. */ 05382 #define RNG_SHORTS_VALRDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 05383 #define RNG_SHORTS_VALRDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 05384 05385 /* Register: RNG_INTENSET */ 05386 /* Description: Interrupt enable set register */ 05387 05388 /* Bit 0 : Enable interrupt on VALRDY event. */ 05389 #define RNG_INTENSET_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */ 05390 #define RNG_INTENSET_VALRDY_Msk (0x1UL << RNG_INTENSET_VALRDY_Pos) /*!< Bit mask of VALRDY field. */ 05391 #define RNG_INTENSET_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */ 05392 #define RNG_INTENSET_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */ 05393 #define RNG_INTENSET_VALRDY_Set (1UL) /*!< Enable interrupt on write. */ 05394 05395 /* Register: RNG_INTENCLR */ 05396 /* Description: Interrupt enable clear register */ 05397 05398 /* Bit 0 : Disable interrupt on VALRDY event. */ 05399 #define RNG_INTENCLR_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */ 05400 #define RNG_INTENCLR_VALRDY_Msk (0x1UL << RNG_INTENCLR_VALRDY_Pos) /*!< Bit mask of VALRDY field. */ 05401 #define RNG_INTENCLR_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */ 05402 #define RNG_INTENCLR_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */ 05403 #define RNG_INTENCLR_VALRDY_Clear (1UL) /*!< Disable interrupt on write. */ 05404 05405 /* Register: RNG_CONFIG */ 05406 /* Description: Configuration register. */ 05407 05408 /* Bit 0 : Digital error correction enable. */ 05409 #define RNG_CONFIG_DERCEN_Pos (0UL) /*!< Position of DERCEN field. */ 05410 #define RNG_CONFIG_DERCEN_Msk (0x1UL << RNG_CONFIG_DERCEN_Pos) /*!< Bit mask of DERCEN field. */ 05411 #define RNG_CONFIG_DERCEN_Disabled (0UL) /*!< Digital error correction disabled. */ 05412 #define RNG_CONFIG_DERCEN_Enabled (1UL) /*!< Digital error correction enabled. */ 05413 05414 /* Register: RNG_VALUE */ 05415 /* Description: RNG random number. */ 05416 05417 /* Bits 7..0 : Generated random number. */ 05418 #define RNG_VALUE_VALUE_Pos (0UL) /*!< Position of VALUE field. */ 05419 #define RNG_VALUE_VALUE_Msk (0xFFUL << RNG_VALUE_VALUE_Pos) /*!< Bit mask of VALUE field. */ 05420 05421 /* Register: RNG_POWER */ 05422 /* Description: Peripheral power control. */ 05423 05424 /* Bit 0 : Peripheral power control. */ 05425 #define RNG_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 05426 #define RNG_POWER_POWER_Msk (0x1UL << RNG_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 05427 #define RNG_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 05428 #define RNG_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 05429 05430 05431 /* Peripheral: RTC */ 05432 /* Description: Real time counter 0. */ 05433 05434 /* Register: RTC_INTENSET */ 05435 /* Description: Interrupt enable set register. */ 05436 05437 /* Bit 19 : Enable interrupt on COMPARE[3] event. */ 05438 #define RTC_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 05439 #define RTC_INTENSET_COMPARE3_Msk (0x1UL << RTC_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 05440 #define RTC_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 05441 #define RTC_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 05442 #define RTC_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */ 05443 05444 /* Bit 18 : Enable interrupt on COMPARE[2] event. */ 05445 #define RTC_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 05446 #define RTC_INTENSET_COMPARE2_Msk (0x1UL << RTC_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 05447 #define RTC_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 05448 #define RTC_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 05449 #define RTC_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */ 05450 05451 /* Bit 17 : Enable interrupt on COMPARE[1] event. */ 05452 #define RTC_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 05453 #define RTC_INTENSET_COMPARE1_Msk (0x1UL << RTC_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 05454 #define RTC_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 05455 #define RTC_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 05456 #define RTC_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */ 05457 05458 /* Bit 16 : Enable interrupt on COMPARE[0] event. */ 05459 #define RTC_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 05460 #define RTC_INTENSET_COMPARE0_Msk (0x1UL << RTC_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 05461 #define RTC_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 05462 #define RTC_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 05463 #define RTC_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */ 05464 05465 /* Bit 1 : Enable interrupt on OVRFLW event. */ 05466 #define RTC_INTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 05467 #define RTC_INTENSET_OVRFLW_Msk (0x1UL << RTC_INTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 05468 #define RTC_INTENSET_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */ 05469 #define RTC_INTENSET_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */ 05470 #define RTC_INTENSET_OVRFLW_Set (1UL) /*!< Enable interrupt on write. */ 05471 05472 /* Bit 0 : Enable interrupt on TICK event. */ 05473 #define RTC_INTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */ 05474 #define RTC_INTENSET_TICK_Msk (0x1UL << RTC_INTENSET_TICK_Pos) /*!< Bit mask of TICK field. */ 05475 #define RTC_INTENSET_TICK_Disabled (0UL) /*!< Interrupt disabled. */ 05476 #define RTC_INTENSET_TICK_Enabled (1UL) /*!< Interrupt enabled. */ 05477 #define RTC_INTENSET_TICK_Set (1UL) /*!< Enable interrupt on write. */ 05478 05479 /* Register: RTC_INTENCLR */ 05480 /* Description: Interrupt enable clear register. */ 05481 05482 /* Bit 19 : Disable interrupt on COMPARE[3] event. */ 05483 #define RTC_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 05484 #define RTC_INTENCLR_COMPARE3_Msk (0x1UL << RTC_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 05485 #define RTC_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 05486 #define RTC_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 05487 #define RTC_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */ 05488 05489 /* Bit 18 : Disable interrupt on COMPARE[2] event. */ 05490 #define RTC_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 05491 #define RTC_INTENCLR_COMPARE2_Msk (0x1UL << RTC_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 05492 #define RTC_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 05493 #define RTC_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 05494 #define RTC_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */ 05495 05496 /* Bit 17 : Disable interrupt on COMPARE[1] event. */ 05497 #define RTC_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 05498 #define RTC_INTENCLR_COMPARE1_Msk (0x1UL << RTC_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 05499 #define RTC_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 05500 #define RTC_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 05501 #define RTC_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */ 05502 05503 /* Bit 16 : Disable interrupt on COMPARE[0] event. */ 05504 #define RTC_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 05505 #define RTC_INTENCLR_COMPARE0_Msk (0x1UL << RTC_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 05506 #define RTC_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 05507 #define RTC_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 05508 #define RTC_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */ 05509 05510 /* Bit 1 : Disable interrupt on OVRFLW event. */ 05511 #define RTC_INTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 05512 #define RTC_INTENCLR_OVRFLW_Msk (0x1UL << RTC_INTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 05513 #define RTC_INTENCLR_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */ 05514 #define RTC_INTENCLR_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */ 05515 #define RTC_INTENCLR_OVRFLW_Clear (1UL) /*!< Disable interrupt on write. */ 05516 05517 /* Bit 0 : Disable interrupt on TICK event. */ 05518 #define RTC_INTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */ 05519 #define RTC_INTENCLR_TICK_Msk (0x1UL << RTC_INTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */ 05520 #define RTC_INTENCLR_TICK_Disabled (0UL) /*!< Interrupt disabled. */ 05521 #define RTC_INTENCLR_TICK_Enabled (1UL) /*!< Interrupt enabled. */ 05522 #define RTC_INTENCLR_TICK_Clear (1UL) /*!< Disable interrupt on write. */ 05523 05524 /* Register: RTC_EVTEN */ 05525 /* Description: Configures event enable routing to PPI for each RTC event. */ 05526 05527 /* Bit 19 : COMPARE[3] event enable. */ 05528 #define RTC_EVTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 05529 #define RTC_EVTEN_COMPARE3_Msk (0x1UL << RTC_EVTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 05530 #define RTC_EVTEN_COMPARE3_Disabled (0UL) /*!< Event disabled. */ 05531 #define RTC_EVTEN_COMPARE3_Enabled (1UL) /*!< Event enabled. */ 05532 05533 /* Bit 18 : COMPARE[2] event enable. */ 05534 #define RTC_EVTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 05535 #define RTC_EVTEN_COMPARE2_Msk (0x1UL << RTC_EVTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 05536 #define RTC_EVTEN_COMPARE2_Disabled (0UL) /*!< Event disabled. */ 05537 #define RTC_EVTEN_COMPARE2_Enabled (1UL) /*!< Event enabled. */ 05538 05539 /* Bit 17 : COMPARE[1] event enable. */ 05540 #define RTC_EVTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 05541 #define RTC_EVTEN_COMPARE1_Msk (0x1UL << RTC_EVTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 05542 #define RTC_EVTEN_COMPARE1_Disabled (0UL) /*!< Event disabled. */ 05543 #define RTC_EVTEN_COMPARE1_Enabled (1UL) /*!< Event enabled. */ 05544 05545 /* Bit 16 : COMPARE[0] event enable. */ 05546 #define RTC_EVTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 05547 #define RTC_EVTEN_COMPARE0_Msk (0x1UL << RTC_EVTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 05548 #define RTC_EVTEN_COMPARE0_Disabled (0UL) /*!< Event disabled. */ 05549 #define RTC_EVTEN_COMPARE0_Enabled (1UL) /*!< Event enabled. */ 05550 05551 /* Bit 1 : OVRFLW event enable. */ 05552 #define RTC_EVTEN_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 05553 #define RTC_EVTEN_OVRFLW_Msk (0x1UL << RTC_EVTEN_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 05554 #define RTC_EVTEN_OVRFLW_Disabled (0UL) /*!< Event disabled. */ 05555 #define RTC_EVTEN_OVRFLW_Enabled (1UL) /*!< Event enabled. */ 05556 05557 /* Bit 0 : TICK event enable. */ 05558 #define RTC_EVTEN_TICK_Pos (0UL) /*!< Position of TICK field. */ 05559 #define RTC_EVTEN_TICK_Msk (0x1UL << RTC_EVTEN_TICK_Pos) /*!< Bit mask of TICK field. */ 05560 #define RTC_EVTEN_TICK_Disabled (0UL) /*!< Event disabled. */ 05561 #define RTC_EVTEN_TICK_Enabled (1UL) /*!< Event enabled. */ 05562 05563 /* Register: RTC_EVTENSET */ 05564 /* Description: Enable events routing to PPI. The reading of this register gives the value of EVTEN. */ 05565 05566 /* Bit 19 : Enable routing to PPI of COMPARE[3] event. */ 05567 #define RTC_EVTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 05568 #define RTC_EVTENSET_COMPARE3_Msk (0x1UL << RTC_EVTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 05569 #define RTC_EVTENSET_COMPARE3_Disabled (0UL) /*!< Event disabled. */ 05570 #define RTC_EVTENSET_COMPARE3_Enabled (1UL) /*!< Event enabled. */ 05571 #define RTC_EVTENSET_COMPARE3_Set (1UL) /*!< Enable event on write. */ 05572 05573 /* Bit 18 : Enable routing to PPI of COMPARE[2] event. */ 05574 #define RTC_EVTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 05575 #define RTC_EVTENSET_COMPARE2_Msk (0x1UL << RTC_EVTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 05576 #define RTC_EVTENSET_COMPARE2_Disabled (0UL) /*!< Event disabled. */ 05577 #define RTC_EVTENSET_COMPARE2_Enabled (1UL) /*!< Event enabled. */ 05578 #define RTC_EVTENSET_COMPARE2_Set (1UL) /*!< Enable event on write. */ 05579 05580 /* Bit 17 : Enable routing to PPI of COMPARE[1] event. */ 05581 #define RTC_EVTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 05582 #define RTC_EVTENSET_COMPARE1_Msk (0x1UL << RTC_EVTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 05583 #define RTC_EVTENSET_COMPARE1_Disabled (0UL) /*!< Event disabled. */ 05584 #define RTC_EVTENSET_COMPARE1_Enabled (1UL) /*!< Event enabled. */ 05585 #define RTC_EVTENSET_COMPARE1_Set (1UL) /*!< Enable event on write. */ 05586 05587 /* Bit 16 : Enable routing to PPI of COMPARE[0] event. */ 05588 #define RTC_EVTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 05589 #define RTC_EVTENSET_COMPARE0_Msk (0x1UL << RTC_EVTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 05590 #define RTC_EVTENSET_COMPARE0_Disabled (0UL) /*!< Event disabled. */ 05591 #define RTC_EVTENSET_COMPARE0_Enabled (1UL) /*!< Event enabled. */ 05592 #define RTC_EVTENSET_COMPARE0_Set (1UL) /*!< Enable event on write. */ 05593 05594 /* Bit 1 : Enable routing to PPI of OVRFLW event. */ 05595 #define RTC_EVTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 05596 #define RTC_EVTENSET_OVRFLW_Msk (0x1UL << RTC_EVTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 05597 #define RTC_EVTENSET_OVRFLW_Disabled (0UL) /*!< Event disabled. */ 05598 #define RTC_EVTENSET_OVRFLW_Enabled (1UL) /*!< Event enabled. */ 05599 #define RTC_EVTENSET_OVRFLW_Set (1UL) /*!< Enable event on write. */ 05600 05601 /* Bit 0 : Enable routing to PPI of TICK event. */ 05602 #define RTC_EVTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */ 05603 #define RTC_EVTENSET_TICK_Msk (0x1UL << RTC_EVTENSET_TICK_Pos) /*!< Bit mask of TICK field. */ 05604 #define RTC_EVTENSET_TICK_Disabled (0UL) /*!< Event disabled. */ 05605 #define RTC_EVTENSET_TICK_Enabled (1UL) /*!< Event enabled. */ 05606 #define RTC_EVTENSET_TICK_Set (1UL) /*!< Enable event on write. */ 05607 05608 /* Register: RTC_EVTENCLR */ 05609 /* Description: Disable events routing to PPI. The reading of this register gives the value of EVTEN. */ 05610 05611 /* Bit 19 : Disable routing to PPI of COMPARE[3] event. */ 05612 #define RTC_EVTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 05613 #define RTC_EVTENCLR_COMPARE3_Msk (0x1UL << RTC_EVTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 05614 #define RTC_EVTENCLR_COMPARE3_Disabled (0UL) /*!< Event disabled. */ 05615 #define RTC_EVTENCLR_COMPARE3_Enabled (1UL) /*!< Event enabled. */ 05616 #define RTC_EVTENCLR_COMPARE3_Clear (1UL) /*!< Disable event on write. */ 05617 05618 /* Bit 18 : Disable routing to PPI of COMPARE[2] event. */ 05619 #define RTC_EVTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 05620 #define RTC_EVTENCLR_COMPARE2_Msk (0x1UL << RTC_EVTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 05621 #define RTC_EVTENCLR_COMPARE2_Disabled (0UL) /*!< Event disabled. */ 05622 #define RTC_EVTENCLR_COMPARE2_Enabled (1UL) /*!< Event enabled. */ 05623 #define RTC_EVTENCLR_COMPARE2_Clear (1UL) /*!< Disable event on write. */ 05624 05625 /* Bit 17 : Disable routing to PPI of COMPARE[1] event. */ 05626 #define RTC_EVTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 05627 #define RTC_EVTENCLR_COMPARE1_Msk (0x1UL << RTC_EVTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 05628 #define RTC_EVTENCLR_COMPARE1_Disabled (0UL) /*!< Event disabled. */ 05629 #define RTC_EVTENCLR_COMPARE1_Enabled (1UL) /*!< Event enabled. */ 05630 #define RTC_EVTENCLR_COMPARE1_Clear (1UL) /*!< Disable event on write. */ 05631 05632 /* Bit 16 : Disable routing to PPI of COMPARE[0] event. */ 05633 #define RTC_EVTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 05634 #define RTC_EVTENCLR_COMPARE0_Msk (0x1UL << RTC_EVTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 05635 #define RTC_EVTENCLR_COMPARE0_Disabled (0UL) /*!< Event disabled. */ 05636 #define RTC_EVTENCLR_COMPARE0_Enabled (1UL) /*!< Event enabled. */ 05637 #define RTC_EVTENCLR_COMPARE0_Clear (1UL) /*!< Disable event on write. */ 05638 05639 /* Bit 1 : Disable routing to PPI of OVRFLW event. */ 05640 #define RTC_EVTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */ 05641 #define RTC_EVTENCLR_OVRFLW_Msk (0x1UL << RTC_EVTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */ 05642 #define RTC_EVTENCLR_OVRFLW_Disabled (0UL) /*!< Event disabled. */ 05643 #define RTC_EVTENCLR_OVRFLW_Enabled (1UL) /*!< Event enabled. */ 05644 #define RTC_EVTENCLR_OVRFLW_Clear (1UL) /*!< Disable event on write. */ 05645 05646 /* Bit 0 : Disable routing to PPI of TICK event. */ 05647 #define RTC_EVTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */ 05648 #define RTC_EVTENCLR_TICK_Msk (0x1UL << RTC_EVTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */ 05649 #define RTC_EVTENCLR_TICK_Disabled (0UL) /*!< Event disabled. */ 05650 #define RTC_EVTENCLR_TICK_Enabled (1UL) /*!< Event enabled. */ 05651 #define RTC_EVTENCLR_TICK_Clear (1UL) /*!< Disable event on write. */ 05652 05653 /* Register: RTC_COUNTER */ 05654 /* Description: Current COUNTER value. */ 05655 05656 /* Bits 23..0 : Counter value. */ 05657 #define RTC_COUNTER_COUNTER_Pos (0UL) /*!< Position of COUNTER field. */ 05658 #define RTC_COUNTER_COUNTER_Msk (0xFFFFFFUL << RTC_COUNTER_COUNTER_Pos) /*!< Bit mask of COUNTER field. */ 05659 05660 /* Register: RTC_PRESCALER */ 05661 /* Description: 12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is STOPed. */ 05662 05663 /* Bits 11..0 : RTC PRESCALER value. */ 05664 #define RTC_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */ 05665 #define RTC_PRESCALER_PRESCALER_Msk (0xFFFUL << RTC_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */ 05666 05667 /* Register: RTC_CC */ 05668 /* Description: Capture/compare registers. */ 05669 05670 /* Bits 23..0 : Compare value. */ 05671 #define RTC_CC_COMPARE_Pos (0UL) /*!< Position of COMPARE field. */ 05672 #define RTC_CC_COMPARE_Msk (0xFFFFFFUL << RTC_CC_COMPARE_Pos) /*!< Bit mask of COMPARE field. */ 05673 05674 /* Register: RTC_POWER */ 05675 /* Description: Peripheral power control. */ 05676 05677 /* Bit 0 : Peripheral power control. */ 05678 #define RTC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 05679 #define RTC_POWER_POWER_Msk (0x1UL << RTC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 05680 #define RTC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 05681 #define RTC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 05682 05683 05684 /* Peripheral: SPI */ 05685 /* Description: SPI master 0. */ 05686 05687 /* Register: SPI_INTENSET */ 05688 /* Description: Interrupt enable set register. */ 05689 05690 /* Bit 2 : Enable interrupt on READY event. */ 05691 #define SPI_INTENSET_READY_Pos (2UL) /*!< Position of READY field. */ 05692 #define SPI_INTENSET_READY_Msk (0x1UL << SPI_INTENSET_READY_Pos) /*!< Bit mask of READY field. */ 05693 #define SPI_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */ 05694 #define SPI_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */ 05695 #define SPI_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */ 05696 05697 /* Register: SPI_INTENCLR */ 05698 /* Description: Interrupt enable clear register. */ 05699 05700 /* Bit 2 : Disable interrupt on READY event. */ 05701 #define SPI_INTENCLR_READY_Pos (2UL) /*!< Position of READY field. */ 05702 #define SPI_INTENCLR_READY_Msk (0x1UL << SPI_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */ 05703 #define SPI_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */ 05704 #define SPI_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */ 05705 #define SPI_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */ 05706 05707 /* Register: SPI_ENABLE */ 05708 /* Description: Enable SPI. */ 05709 05710 /* Bits 2..0 : Enable or disable SPI. */ 05711 #define SPI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 05712 #define SPI_ENABLE_ENABLE_Msk (0x7UL << SPI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 05713 #define SPI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPI. */ 05714 #define SPI_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable SPI. */ 05715 05716 /* Register: SPI_RXD */ 05717 /* Description: RX data. */ 05718 05719 /* Bits 7..0 : RX data from last transfer. */ 05720 #define SPI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */ 05721 #define SPI_RXD_RXD_Msk (0xFFUL << SPI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */ 05722 05723 /* Register: SPI_TXD */ 05724 /* Description: TX data. */ 05725 05726 /* Bits 7..0 : TX data for next transfer. */ 05727 #define SPI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */ 05728 #define SPI_TXD_TXD_Msk (0xFFUL << SPI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */ 05729 05730 /* Register: SPI_FREQUENCY */ 05731 /* Description: SPI frequency */ 05732 05733 /* Bits 31..0 : SPI data rate. */ 05734 #define SPI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 05735 #define SPI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 05736 #define SPI_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125kbps. */ 05737 #define SPI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250kbps. */ 05738 #define SPI_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500kbps. */ 05739 #define SPI_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1Mbps. */ 05740 #define SPI_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2Mbps. */ 05741 #define SPI_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4Mbps. */ 05742 #define SPI_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8Mbps. */ 05743 05744 /* Register: SPI_CONFIG */ 05745 /* Description: Configuration register. */ 05746 05747 /* Bit 2 : Serial clock (SCK) polarity. */ 05748 #define SPI_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */ 05749 #define SPI_CONFIG_CPOL_Msk (0x1UL << SPI_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */ 05750 #define SPI_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */ 05751 #define SPI_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */ 05752 05753 /* Bit 1 : Serial clock (SCK) phase. */ 05754 #define SPI_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */ 05755 #define SPI_CONFIG_CPHA_Msk (0x1UL << SPI_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */ 05756 #define SPI_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */ 05757 #define SPI_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */ 05758 05759 /* Bit 0 : Bit order. */ 05760 #define SPI_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */ 05761 #define SPI_CONFIG_ORDER_Msk (0x1UL << SPI_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */ 05762 #define SPI_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */ 05763 #define SPI_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */ 05764 05765 /* Register: SPI_POWER */ 05766 /* Description: Peripheral power control. */ 05767 05768 /* Bit 0 : Peripheral power control. */ 05769 #define SPI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 05770 #define SPI_POWER_POWER_Msk (0x1UL << SPI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 05771 #define SPI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 05772 #define SPI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 05773 05774 05775 /* Peripheral: SPIM */ 05776 /* Description: SPI master with easyDMA 1. */ 05777 05778 /* Register: SPIM_INTENSET */ 05779 /* Description: Interrupt enable set register. */ 05780 05781 /* Bit 19 : Enable interrupt on STARTED event. */ 05782 #define SPIM_INTENSET_STARTED_Pos (19UL) /*!< Position of STARTED field. */ 05783 #define SPIM_INTENSET_STARTED_Msk (0x1UL << SPIM_INTENSET_STARTED_Pos) /*!< Bit mask of STARTED field. */ 05784 #define SPIM_INTENSET_STARTED_Disabled (0UL) /*!< Interrupt disabled. */ 05785 #define SPIM_INTENSET_STARTED_Enabled (1UL) /*!< Interrupt enabled. */ 05786 #define SPIM_INTENSET_STARTED_Set (1UL) /*!< Enable interrupt on write. */ 05787 05788 /* Bit 8 : Enable interrupt on ENDTX event. */ 05789 #define SPIM_INTENSET_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */ 05790 #define SPIM_INTENSET_ENDTX_Msk (0x1UL << SPIM_INTENSET_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 05791 #define SPIM_INTENSET_ENDTX_Disabled (0UL) /*!< Interrupt disabled. */ 05792 #define SPIM_INTENSET_ENDTX_Enabled (1UL) /*!< Interrupt enabled. */ 05793 #define SPIM_INTENSET_ENDTX_Set (1UL) /*!< Enable interrupt on write. */ 05794 05795 /* Bit 4 : Enable interrupt on ENDRX event. */ 05796 #define SPIM_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 05797 #define SPIM_INTENSET_ENDRX_Msk (0x1UL << SPIM_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 05798 #define SPIM_INTENSET_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */ 05799 #define SPIM_INTENSET_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */ 05800 #define SPIM_INTENSET_ENDRX_Set (1UL) /*!< Enable interrupt on write. */ 05801 05802 /* Bit 1 : Enable interrupt on STOPPED event. */ 05803 #define SPIM_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 05804 #define SPIM_INTENSET_STOPPED_Msk (0x1UL << SPIM_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 05805 #define SPIM_INTENSET_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */ 05806 #define SPIM_INTENSET_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */ 05807 #define SPIM_INTENSET_STOPPED_Set (1UL) /*!< Enable interrupt on write. */ 05808 05809 /* Register: SPIM_INTENCLR */ 05810 /* Description: Interrupt enable clear register. */ 05811 05812 /* Bit 19 : Disable interrupt on STARTED event. */ 05813 #define SPIM_INTENCLR_STARTED_Pos (19UL) /*!< Position of STARTED field. */ 05814 #define SPIM_INTENCLR_STARTED_Msk (0x1UL << SPIM_INTENCLR_STARTED_Pos) /*!< Bit mask of STARTED field. */ 05815 #define SPIM_INTENCLR_STARTED_Disabled (0UL) /*!< Interrupt disabled. */ 05816 #define SPIM_INTENCLR_STARTED_Enabled (1UL) /*!< Interrupt enabled. */ 05817 #define SPIM_INTENCLR_STARTED_Clear (1UL) /*!< Disable interrupt on write. */ 05818 05819 /* Bit 8 : Disable interrupt on ENDTX event. */ 05820 #define SPIM_INTENCLR_ENDTX_Pos (8UL) /*!< Position of ENDTX field. */ 05821 #define SPIM_INTENCLR_ENDTX_Msk (0x1UL << SPIM_INTENCLR_ENDTX_Pos) /*!< Bit mask of ENDTX field. */ 05822 #define SPIM_INTENCLR_ENDTX_Disabled (0UL) /*!< Interrupt disabled. */ 05823 #define SPIM_INTENCLR_ENDTX_Enabled (1UL) /*!< Interrupt enabled. */ 05824 #define SPIM_INTENCLR_ENDTX_Clear (1UL) /*!< Disable interrupt on write. */ 05825 05826 /* Bit 4 : Disable interrupt on ENDRX event. */ 05827 #define SPIM_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 05828 #define SPIM_INTENCLR_ENDRX_Msk (0x1UL << SPIM_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 05829 #define SPIM_INTENCLR_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */ 05830 #define SPIM_INTENCLR_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */ 05831 #define SPIM_INTENCLR_ENDRX_Clear (1UL) /*!< Disable interrupt on write. */ 05832 05833 /* Bit 1 : Disable interrupt on STOPPED event. */ 05834 #define SPIM_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 05835 #define SPIM_INTENCLR_STOPPED_Msk (0x1UL << SPIM_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 05836 #define SPIM_INTENCLR_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */ 05837 #define SPIM_INTENCLR_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */ 05838 #define SPIM_INTENCLR_STOPPED_Clear (1UL) /*!< Disable interrupt on write. */ 05839 05840 /* Register: SPIM_ENABLE */ 05841 /* Description: Enable SPIM. */ 05842 05843 /* Bits 3..0 : Enable or disable SPIM. */ 05844 #define SPIM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 05845 #define SPIM_ENABLE_ENABLE_Msk (0xFUL << SPIM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 05846 #define SPIM_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPIM. */ 05847 #define SPIM_ENABLE_ENABLE_Enabled (0x07UL) /*!< Enable SPIM. */ 05848 05849 /* Register: SPIM_FREQUENCY */ 05850 /* Description: SPI frequency. */ 05851 05852 /* Bits 31..0 : SPI master data rate. */ 05853 #define SPIM_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 05854 #define SPIM_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPIM_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 05855 #define SPIM_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125 kbps. */ 05856 #define SPIM_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps. */ 05857 #define SPIM_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500 kbps. */ 05858 #define SPIM_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1 Mbps. */ 05859 #define SPIM_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2 Mbps. */ 05860 #define SPIM_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4 Mbps. */ 05861 #define SPIM_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8 Mbps. */ 05862 05863 /* Register: SPIM_RXD_PTR */ 05864 /* Description: Data pointer. */ 05865 05866 /* Bits 31..0 : Data pointer. */ 05867 #define SPIM_RXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 05868 #define SPIM_RXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_RXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 05869 05870 /* Register: SPIM_RXD_MAXCNT */ 05871 /* Description: Maximum number of buffer bytes to receive. */ 05872 05873 /* Bits 7..0 : Maximum number of buffer bytes to receive. */ 05874 #define SPIM_RXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 05875 #define SPIM_RXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIM_RXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 05876 05877 /* Register: SPIM_RXD_AMOUNT */ 05878 /* Description: Number of bytes received in the last transaction. */ 05879 05880 /* Bits 7..0 : Number of bytes received in the last transaction. */ 05881 #define SPIM_RXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 05882 #define SPIM_RXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIM_RXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 05883 05884 /* Register: SPIM_TXD_PTR */ 05885 /* Description: Data pointer. */ 05886 05887 /* Bits 31..0 : Data pointer. */ 05888 #define SPIM_TXD_PTR_PTR_Pos (0UL) /*!< Position of PTR field. */ 05889 #define SPIM_TXD_PTR_PTR_Msk (0xFFFFFFFFUL << SPIM_TXD_PTR_PTR_Pos) /*!< Bit mask of PTR field. */ 05890 05891 /* Register: SPIM_TXD_MAXCNT */ 05892 /* Description: Maximum number of buffer bytes to send. */ 05893 05894 /* Bits 7..0 : Maximum number of buffer bytes to send. */ 05895 #define SPIM_TXD_MAXCNT_MAXCNT_Pos (0UL) /*!< Position of MAXCNT field. */ 05896 #define SPIM_TXD_MAXCNT_MAXCNT_Msk (0xFFUL << SPIM_TXD_MAXCNT_MAXCNT_Pos) /*!< Bit mask of MAXCNT field. */ 05897 05898 /* Register: SPIM_TXD_AMOUNT */ 05899 /* Description: Number of bytes sent in the last transaction. */ 05900 05901 /* Bits 7..0 : Number of bytes sent in the last transaction. */ 05902 #define SPIM_TXD_AMOUNT_AMOUNT_Pos (0UL) /*!< Position of AMOUNT field. */ 05903 #define SPIM_TXD_AMOUNT_AMOUNT_Msk (0xFFUL << SPIM_TXD_AMOUNT_AMOUNT_Pos) /*!< Bit mask of AMOUNT field. */ 05904 05905 /* Register: SPIM_CONFIG */ 05906 /* Description: Configuration register. */ 05907 05908 /* Bit 2 : Serial clock (SCK) polarity. */ 05909 #define SPIM_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */ 05910 #define SPIM_CONFIG_CPOL_Msk (0x1UL << SPIM_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */ 05911 #define SPIM_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */ 05912 #define SPIM_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */ 05913 05914 /* Bit 1 : Serial clock (SCK) phase. */ 05915 #define SPIM_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */ 05916 #define SPIM_CONFIG_CPHA_Msk (0x1UL << SPIM_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */ 05917 #define SPIM_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */ 05918 #define SPIM_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */ 05919 05920 /* Bit 0 : Bit order. */ 05921 #define SPIM_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */ 05922 #define SPIM_CONFIG_ORDER_Msk (0x1UL << SPIM_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */ 05923 #define SPIM_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */ 05924 #define SPIM_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */ 05925 05926 /* Register: SPIM_ORC */ 05927 /* Description: Over-read character. */ 05928 05929 /* Bits 7..0 : Over-read character. */ 05930 #define SPIM_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */ 05931 #define SPIM_ORC_ORC_Msk (0xFFUL << SPIM_ORC_ORC_Pos) /*!< Bit mask of ORC field. */ 05932 05933 /* Register: SPIM_POWER */ 05934 /* Description: Peripheral power control. */ 05935 05936 /* Bit 0 : Peripheral power control. */ 05937 #define SPIM_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 05938 #define SPIM_POWER_POWER_Msk (0x1UL << SPIM_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 05939 #define SPIM_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 05940 #define SPIM_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 05941 05942 05943 /* Peripheral: SPIS */ 05944 /* Description: SPI slave 1. */ 05945 05946 /* Register: SPIS_SHORTS */ 05947 /* Description: Shortcuts for SPIS. */ 05948 05949 /* Bit 2 : Shortcut between END event and the ACQUIRE task. */ 05950 #define SPIS_SHORTS_END_ACQUIRE_Pos (2UL) /*!< Position of END_ACQUIRE field. */ 05951 #define SPIS_SHORTS_END_ACQUIRE_Msk (0x1UL << SPIS_SHORTS_END_ACQUIRE_Pos) /*!< Bit mask of END_ACQUIRE field. */ 05952 #define SPIS_SHORTS_END_ACQUIRE_Disabled (0UL) /*!< Shortcut disabled. */ 05953 #define SPIS_SHORTS_END_ACQUIRE_Enabled (1UL) /*!< Shortcut enabled. */ 05954 05955 /* Register: SPIS_INTENSET */ 05956 /* Description: Interrupt enable set register. */ 05957 05958 /* Bit 10 : Enable interrupt on ACQUIRED event. */ 05959 #define SPIS_INTENSET_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */ 05960 #define SPIS_INTENSET_ACQUIRED_Msk (0x1UL << SPIS_INTENSET_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */ 05961 #define SPIS_INTENSET_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */ 05962 #define SPIS_INTENSET_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */ 05963 #define SPIS_INTENSET_ACQUIRED_Set (1UL) /*!< Enable interrupt on write. */ 05964 05965 /* Bit 4 : enable interrupt on ENDRX event. */ 05966 #define SPIS_INTENSET_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 05967 #define SPIS_INTENSET_ENDRX_Msk (0x1UL << SPIS_INTENSET_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 05968 #define SPIS_INTENSET_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */ 05969 #define SPIS_INTENSET_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */ 05970 #define SPIS_INTENSET_ENDRX_Set (1UL) /*!< Enable interrupt on write. */ 05971 05972 /* Bit 1 : Enable interrupt on END event. */ 05973 #define SPIS_INTENSET_END_Pos (1UL) /*!< Position of END field. */ 05974 #define SPIS_INTENSET_END_Msk (0x1UL << SPIS_INTENSET_END_Pos) /*!< Bit mask of END field. */ 05975 #define SPIS_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */ 05976 #define SPIS_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */ 05977 #define SPIS_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */ 05978 05979 /* Register: SPIS_INTENCLR */ 05980 /* Description: Interrupt enable clear register. */ 05981 05982 /* Bit 10 : Disable interrupt on ACQUIRED event. */ 05983 #define SPIS_INTENCLR_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */ 05984 #define SPIS_INTENCLR_ACQUIRED_Msk (0x1UL << SPIS_INTENCLR_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */ 05985 #define SPIS_INTENCLR_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */ 05986 #define SPIS_INTENCLR_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */ 05987 #define SPIS_INTENCLR_ACQUIRED_Clear (1UL) /*!< Disable interrupt on write. */ 05988 05989 /* Bit 4 : Disable interrupt on ENDRX event. */ 05990 #define SPIS_INTENCLR_ENDRX_Pos (4UL) /*!< Position of ENDRX field. */ 05991 #define SPIS_INTENCLR_ENDRX_Msk (0x1UL << SPIS_INTENCLR_ENDRX_Pos) /*!< Bit mask of ENDRX field. */ 05992 #define SPIS_INTENCLR_ENDRX_Disabled (0UL) /*!< Interrupt disabled. */ 05993 #define SPIS_INTENCLR_ENDRX_Enabled (1UL) /*!< Interrupt enabled. */ 05994 #define SPIS_INTENCLR_ENDRX_Clear (1UL) /*!< Disable interrupt on write. */ 05995 05996 /* Bit 1 : Disable interrupt on END event. */ 05997 #define SPIS_INTENCLR_END_Pos (1UL) /*!< Position of END field. */ 05998 #define SPIS_INTENCLR_END_Msk (0x1UL << SPIS_INTENCLR_END_Pos) /*!< Bit mask of END field. */ 05999 #define SPIS_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */ 06000 #define SPIS_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */ 06001 #define SPIS_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */ 06002 06003 /* Register: SPIS_SEMSTAT */ 06004 /* Description: Semaphore status. */ 06005 06006 /* Bits 1..0 : Semaphore status. */ 06007 #define SPIS_SEMSTAT_SEMSTAT_Pos (0UL) /*!< Position of SEMSTAT field. */ 06008 #define SPIS_SEMSTAT_SEMSTAT_Msk (0x3UL << SPIS_SEMSTAT_SEMSTAT_Pos) /*!< Bit mask of SEMSTAT field. */ 06009 #define SPIS_SEMSTAT_SEMSTAT_Free (0x00UL) /*!< Semaphore is free. */ 06010 #define SPIS_SEMSTAT_SEMSTAT_CPU (0x01UL) /*!< Semaphore is assigned to the CPU. */ 06011 #define SPIS_SEMSTAT_SEMSTAT_SPIS (0x02UL) /*!< Semaphore is assigned to the SPIS. */ 06012 #define SPIS_SEMSTAT_SEMSTAT_CPUPending (0x03UL) /*!< Semaphore is assigned to the SPIS, but a handover to the CPU is pending. */ 06013 06014 /* Register: SPIS_STATUS */ 06015 /* Description: Status from last transaction. */ 06016 06017 /* Bit 1 : RX buffer overflow detected, and prevented. */ 06018 #define SPIS_STATUS_OVERFLOW_Pos (1UL) /*!< Position of OVERFLOW field. */ 06019 #define SPIS_STATUS_OVERFLOW_Msk (0x1UL << SPIS_STATUS_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */ 06020 #define SPIS_STATUS_OVERFLOW_NotPresent (0UL) /*!< Error not present. */ 06021 #define SPIS_STATUS_OVERFLOW_Present (1UL) /*!< Error present. */ 06022 #define SPIS_STATUS_OVERFLOW_Clear (1UL) /*!< Clear on write. */ 06023 06024 /* Bit 0 : TX buffer overread detected, and prevented. */ 06025 #define SPIS_STATUS_OVERREAD_Pos (0UL) /*!< Position of OVERREAD field. */ 06026 #define SPIS_STATUS_OVERREAD_Msk (0x1UL << SPIS_STATUS_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */ 06027 #define SPIS_STATUS_OVERREAD_NotPresent (0UL) /*!< Error not present. */ 06028 #define SPIS_STATUS_OVERREAD_Present (1UL) /*!< Error present. */ 06029 #define SPIS_STATUS_OVERREAD_Clear (1UL) /*!< Clear on write. */ 06030 06031 /* Register: SPIS_ENABLE */ 06032 /* Description: Enable SPIS. */ 06033 06034 /* Bits 2..0 : Enable or disable SPIS. */ 06035 #define SPIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 06036 #define SPIS_ENABLE_ENABLE_Msk (0x7UL << SPIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 06037 #define SPIS_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPIS. */ 06038 #define SPIS_ENABLE_ENABLE_Enabled (0x02UL) /*!< Enable SPIS. */ 06039 06040 /* Register: SPIS_MAXRX */ 06041 /* Description: Maximum number of bytes in the receive buffer. */ 06042 06043 /* Bits 7..0 : Maximum number of bytes in the receive buffer. */ 06044 #define SPIS_MAXRX_MAXRX_Pos (0UL) /*!< Position of MAXRX field. */ 06045 #define SPIS_MAXRX_MAXRX_Msk (0xFFUL << SPIS_MAXRX_MAXRX_Pos) /*!< Bit mask of MAXRX field. */ 06046 06047 /* Register: SPIS_AMOUNTRX */ 06048 /* Description: Number of bytes received in last granted transaction. */ 06049 06050 /* Bits 7..0 : Number of bytes received in last granted transaction. */ 06051 #define SPIS_AMOUNTRX_AMOUNTRX_Pos (0UL) /*!< Position of AMOUNTRX field. */ 06052 #define SPIS_AMOUNTRX_AMOUNTRX_Msk (0xFFUL << SPIS_AMOUNTRX_AMOUNTRX_Pos) /*!< Bit mask of AMOUNTRX field. */ 06053 06054 /* Register: SPIS_MAXTX */ 06055 /* Description: Maximum number of bytes in the transmit buffer. */ 06056 06057 /* Bits 7..0 : Maximum number of bytes in the transmit buffer. */ 06058 #define SPIS_MAXTX_MAXTX_Pos (0UL) /*!< Position of MAXTX field. */ 06059 #define SPIS_MAXTX_MAXTX_Msk (0xFFUL << SPIS_MAXTX_MAXTX_Pos) /*!< Bit mask of MAXTX field. */ 06060 06061 /* Register: SPIS_AMOUNTTX */ 06062 /* Description: Number of bytes transmitted in last granted transaction. */ 06063 06064 /* Bits 7..0 : Number of bytes transmitted in last granted transaction. */ 06065 #define SPIS_AMOUNTTX_AMOUNTTX_Pos (0UL) /*!< Position of AMOUNTTX field. */ 06066 #define SPIS_AMOUNTTX_AMOUNTTX_Msk (0xFFUL << SPIS_AMOUNTTX_AMOUNTTX_Pos) /*!< Bit mask of AMOUNTTX field. */ 06067 06068 /* Register: SPIS_CONFIG */ 06069 /* Description: Configuration register. */ 06070 06071 /* Bit 2 : Serial clock (SCK) polarity. */ 06072 #define SPIS_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */ 06073 #define SPIS_CONFIG_CPOL_Msk (0x1UL << SPIS_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */ 06074 #define SPIS_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */ 06075 #define SPIS_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */ 06076 06077 /* Bit 1 : Serial clock (SCK) phase. */ 06078 #define SPIS_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */ 06079 #define SPIS_CONFIG_CPHA_Msk (0x1UL << SPIS_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */ 06080 #define SPIS_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */ 06081 #define SPIS_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */ 06082 06083 /* Bit 0 : Bit order. */ 06084 #define SPIS_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */ 06085 #define SPIS_CONFIG_ORDER_Msk (0x1UL << SPIS_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */ 06086 #define SPIS_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */ 06087 #define SPIS_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */ 06088 06089 /* Register: SPIS_DEF */ 06090 /* Description: Default character. */ 06091 06092 /* Bits 7..0 : Default character. */ 06093 #define SPIS_DEF_DEF_Pos (0UL) /*!< Position of DEF field. */ 06094 #define SPIS_DEF_DEF_Msk (0xFFUL << SPIS_DEF_DEF_Pos) /*!< Bit mask of DEF field. */ 06095 06096 /* Register: SPIS_ORC */ 06097 /* Description: Over-read character. */ 06098 06099 /* Bits 7..0 : Over-read character. */ 06100 #define SPIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */ 06101 #define SPIS_ORC_ORC_Msk (0xFFUL << SPIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */ 06102 06103 /* Register: SPIS_POWER */ 06104 /* Description: Peripheral power control. */ 06105 06106 /* Bit 0 : Peripheral power control. */ 06107 #define SPIS_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 06108 #define SPIS_POWER_POWER_Msk (0x1UL << SPIS_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 06109 #define SPIS_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 06110 #define SPIS_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 06111 06112 06113 /* Peripheral: TEMP */ 06114 /* Description: Temperature Sensor. */ 06115 06116 /* Register: TEMP_INTENSET */ 06117 /* Description: Interrupt enable set register. */ 06118 06119 /* Bit 0 : Enable interrupt on DATARDY event. */ 06120 #define TEMP_INTENSET_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */ 06121 #define TEMP_INTENSET_DATARDY_Msk (0x1UL << TEMP_INTENSET_DATARDY_Pos) /*!< Bit mask of DATARDY field. */ 06122 #define TEMP_INTENSET_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */ 06123 #define TEMP_INTENSET_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */ 06124 #define TEMP_INTENSET_DATARDY_Set (1UL) /*!< Enable interrupt on write. */ 06125 06126 /* Register: TEMP_INTENCLR */ 06127 /* Description: Interrupt enable clear register. */ 06128 06129 /* Bit 0 : Disable interrupt on DATARDY event. */ 06130 #define TEMP_INTENCLR_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */ 06131 #define TEMP_INTENCLR_DATARDY_Msk (0x1UL << TEMP_INTENCLR_DATARDY_Pos) /*!< Bit mask of DATARDY field. */ 06132 #define TEMP_INTENCLR_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */ 06133 #define TEMP_INTENCLR_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */ 06134 #define TEMP_INTENCLR_DATARDY_Clear (1UL) /*!< Disable interrupt on write. */ 06135 06136 /* Register: TEMP_POWER */ 06137 /* Description: Peripheral power control. */ 06138 06139 /* Bit 0 : Peripheral power control. */ 06140 #define TEMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 06141 #define TEMP_POWER_POWER_Msk (0x1UL << TEMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 06142 #define TEMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 06143 #define TEMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 06144 06145 06146 /* Peripheral: TIMER */ 06147 /* Description: Timer 0. */ 06148 06149 /* Register: TIMER_SHORTS */ 06150 /* Description: Shortcuts for Timer. */ 06151 06152 /* Bit 11 : Shortcut between CC[3] event and the STOP task. */ 06153 #define TIMER_SHORTS_COMPARE3_STOP_Pos (11UL) /*!< Position of COMPARE3_STOP field. */ 06154 #define TIMER_SHORTS_COMPARE3_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE3_STOP_Pos) /*!< Bit mask of COMPARE3_STOP field. */ 06155 #define TIMER_SHORTS_COMPARE3_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 06156 #define TIMER_SHORTS_COMPARE3_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 06157 06158 /* Bit 10 : Shortcut between CC[2] event and the STOP task. */ 06159 #define TIMER_SHORTS_COMPARE2_STOP_Pos (10UL) /*!< Position of COMPARE2_STOP field. */ 06160 #define TIMER_SHORTS_COMPARE2_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE2_STOP_Pos) /*!< Bit mask of COMPARE2_STOP field. */ 06161 #define TIMER_SHORTS_COMPARE2_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 06162 #define TIMER_SHORTS_COMPARE2_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 06163 06164 /* Bit 9 : Shortcut between CC[1] event and the STOP task. */ 06165 #define TIMER_SHORTS_COMPARE1_STOP_Pos (9UL) /*!< Position of COMPARE1_STOP field. */ 06166 #define TIMER_SHORTS_COMPARE1_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE1_STOP_Pos) /*!< Bit mask of COMPARE1_STOP field. */ 06167 #define TIMER_SHORTS_COMPARE1_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 06168 #define TIMER_SHORTS_COMPARE1_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 06169 06170 /* Bit 8 : Shortcut between CC[0] event and the STOP task. */ 06171 #define TIMER_SHORTS_COMPARE0_STOP_Pos (8UL) /*!< Position of COMPARE0_STOP field. */ 06172 #define TIMER_SHORTS_COMPARE0_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE0_STOP_Pos) /*!< Bit mask of COMPARE0_STOP field. */ 06173 #define TIMER_SHORTS_COMPARE0_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 06174 #define TIMER_SHORTS_COMPARE0_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 06175 06176 /* Bit 3 : Shortcut between CC[3] event and the CLEAR task. */ 06177 #define TIMER_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */ 06178 #define TIMER_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */ 06179 #define TIMER_SHORTS_COMPARE3_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 06180 #define TIMER_SHORTS_COMPARE3_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 06181 06182 /* Bit 2 : Shortcut between CC[2] event and the CLEAR task. */ 06183 #define TIMER_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */ 06184 #define TIMER_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */ 06185 #define TIMER_SHORTS_COMPARE2_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 06186 #define TIMER_SHORTS_COMPARE2_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 06187 06188 /* Bit 1 : Shortcut between CC[1] event and the CLEAR task. */ 06189 #define TIMER_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */ 06190 #define TIMER_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */ 06191 #define TIMER_SHORTS_COMPARE1_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 06192 #define TIMER_SHORTS_COMPARE1_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 06193 06194 /* Bit 0 : Shortcut between CC[0] event and the CLEAR task. */ 06195 #define TIMER_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */ 06196 #define TIMER_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */ 06197 #define TIMER_SHORTS_COMPARE0_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */ 06198 #define TIMER_SHORTS_COMPARE0_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */ 06199 06200 /* Register: TIMER_INTENSET */ 06201 /* Description: Interrupt enable set register. */ 06202 06203 /* Bit 19 : Enable interrupt on COMPARE[3] */ 06204 #define TIMER_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 06205 #define TIMER_INTENSET_COMPARE3_Msk (0x1UL << TIMER_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 06206 #define TIMER_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 06207 #define TIMER_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 06208 #define TIMER_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */ 06209 06210 /* Bit 18 : Enable interrupt on COMPARE[2] */ 06211 #define TIMER_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 06212 #define TIMER_INTENSET_COMPARE2_Msk (0x1UL << TIMER_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 06213 #define TIMER_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 06214 #define TIMER_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 06215 #define TIMER_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */ 06216 06217 /* Bit 17 : Enable interrupt on COMPARE[1] */ 06218 #define TIMER_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 06219 #define TIMER_INTENSET_COMPARE1_Msk (0x1UL << TIMER_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 06220 #define TIMER_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 06221 #define TIMER_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 06222 #define TIMER_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */ 06223 06224 /* Bit 16 : Enable interrupt on COMPARE[0] */ 06225 #define TIMER_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 06226 #define TIMER_INTENSET_COMPARE0_Msk (0x1UL << TIMER_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 06227 #define TIMER_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 06228 #define TIMER_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 06229 #define TIMER_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */ 06230 06231 /* Register: TIMER_INTENCLR */ 06232 /* Description: Interrupt enable clear register. */ 06233 06234 /* Bit 19 : Disable interrupt on COMPARE[3] */ 06235 #define TIMER_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */ 06236 #define TIMER_INTENCLR_COMPARE3_Msk (0x1UL << TIMER_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */ 06237 #define TIMER_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */ 06238 #define TIMER_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */ 06239 #define TIMER_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */ 06240 06241 /* Bit 18 : Disable interrupt on COMPARE[2] */ 06242 #define TIMER_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */ 06243 #define TIMER_INTENCLR_COMPARE2_Msk (0x1UL << TIMER_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */ 06244 #define TIMER_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */ 06245 #define TIMER_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */ 06246 #define TIMER_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */ 06247 06248 /* Bit 17 : Disable interrupt on COMPARE[1] */ 06249 #define TIMER_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */ 06250 #define TIMER_INTENCLR_COMPARE1_Msk (0x1UL << TIMER_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */ 06251 #define TIMER_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */ 06252 #define TIMER_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */ 06253 #define TIMER_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */ 06254 06255 /* Bit 16 : Disable interrupt on COMPARE[0] */ 06256 #define TIMER_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */ 06257 #define TIMER_INTENCLR_COMPARE0_Msk (0x1UL << TIMER_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */ 06258 #define TIMER_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */ 06259 #define TIMER_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */ 06260 #define TIMER_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */ 06261 06262 /* Register: TIMER_MODE */ 06263 /* Description: Timer Mode selection. */ 06264 06265 /* Bit 0 : Select Normal or Counter mode. */ 06266 #define TIMER_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */ 06267 #define TIMER_MODE_MODE_Msk (0x1UL << TIMER_MODE_MODE_Pos) /*!< Bit mask of MODE field. */ 06268 #define TIMER_MODE_MODE_Timer (0UL) /*!< Timer in Normal mode. */ 06269 #define TIMER_MODE_MODE_Counter (1UL) /*!< Timer in Counter mode. */ 06270 06271 /* Register: TIMER_BITMODE */ 06272 /* Description: Sets timer behaviour. */ 06273 06274 /* Bits 1..0 : Sets timer behaviour ro be like the implementation of a timer with width as indicated. */ 06275 #define TIMER_BITMODE_BITMODE_Pos (0UL) /*!< Position of BITMODE field. */ 06276 #define TIMER_BITMODE_BITMODE_Msk (0x3UL << TIMER_BITMODE_BITMODE_Pos) /*!< Bit mask of BITMODE field. */ 06277 #define TIMER_BITMODE_BITMODE_16Bit (0x00UL) /*!< 16-bit timer behaviour. */ 06278 #define TIMER_BITMODE_BITMODE_08Bit (0x01UL) /*!< 8-bit timer behaviour. */ 06279 #define TIMER_BITMODE_BITMODE_24Bit (0x02UL) /*!< 24-bit timer behaviour. */ 06280 #define TIMER_BITMODE_BITMODE_32Bit (0x03UL) /*!< 32-bit timer behaviour. */ 06281 06282 /* Register: TIMER_PRESCALER */ 06283 /* Description: 4-bit prescaler to source clock frequency (max value 9). Source clock frequency is divided by 2^SCALE. */ 06284 06285 /* Bits 3..0 : Timer PRESCALER value. Max value is 9. */ 06286 #define TIMER_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */ 06287 #define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */ 06288 06289 /* Register: TIMER_POWER */ 06290 /* Description: Peripheral power control. */ 06291 06292 /* Bit 0 : Peripheral power control. */ 06293 #define TIMER_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 06294 #define TIMER_POWER_POWER_Msk (0x1UL << TIMER_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 06295 #define TIMER_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 06296 #define TIMER_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 06297 06298 06299 /* Peripheral: TWI */ 06300 /* Description: Two-wire interface master 0. */ 06301 06302 /* Register: TWI_SHORTS */ 06303 /* Description: Shortcuts for TWI. */ 06304 06305 /* Bit 1 : Shortcut between BB event and the STOP task. */ 06306 #define TWI_SHORTS_BB_STOP_Pos (1UL) /*!< Position of BB_STOP field. */ 06307 #define TWI_SHORTS_BB_STOP_Msk (0x1UL << TWI_SHORTS_BB_STOP_Pos) /*!< Bit mask of BB_STOP field. */ 06308 #define TWI_SHORTS_BB_STOP_Disabled (0UL) /*!< Shortcut disabled. */ 06309 #define TWI_SHORTS_BB_STOP_Enabled (1UL) /*!< Shortcut enabled. */ 06310 06311 /* Bit 0 : Shortcut between BB event and the SUSPEND task. */ 06312 #define TWI_SHORTS_BB_SUSPEND_Pos (0UL) /*!< Position of BB_SUSPEND field. */ 06313 #define TWI_SHORTS_BB_SUSPEND_Msk (0x1UL << TWI_SHORTS_BB_SUSPEND_Pos) /*!< Bit mask of BB_SUSPEND field. */ 06314 #define TWI_SHORTS_BB_SUSPEND_Disabled (0UL) /*!< Shortcut disabled. */ 06315 #define TWI_SHORTS_BB_SUSPEND_Enabled (1UL) /*!< Shortcut enabled. */ 06316 06317 /* Register: TWI_INTENSET */ 06318 /* Description: Interrupt enable set register. */ 06319 06320 /* Bit 18 : Enable interrupt on SUSPENDED event. */ 06321 #define TWI_INTENSET_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */ 06322 #define TWI_INTENSET_SUSPENDED_Msk (0x1UL << TWI_INTENSET_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */ 06323 #define TWI_INTENSET_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */ 06324 #define TWI_INTENSET_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */ 06325 #define TWI_INTENSET_SUSPENDED_Set (1UL) /*!< Enable interrupt on write. */ 06326 06327 /* Bit 14 : Enable interrupt on BB event. */ 06328 #define TWI_INTENSET_BB_Pos (14UL) /*!< Position of BB field. */ 06329 #define TWI_INTENSET_BB_Msk (0x1UL << TWI_INTENSET_BB_Pos) /*!< Bit mask of BB field. */ 06330 #define TWI_INTENSET_BB_Disabled (0UL) /*!< Interrupt disabled. */ 06331 #define TWI_INTENSET_BB_Enabled (1UL) /*!< Interrupt enabled. */ 06332 #define TWI_INTENSET_BB_Set (1UL) /*!< Enable interrupt on write. */ 06333 06334 /* Bit 9 : Enable interrupt on ERROR event. */ 06335 #define TWI_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 06336 #define TWI_INTENSET_ERROR_Msk (0x1UL << TWI_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 06337 #define TWI_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 06338 #define TWI_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 06339 #define TWI_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */ 06340 06341 /* Bit 7 : Enable interrupt on TXDSENT event. */ 06342 #define TWI_INTENSET_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */ 06343 #define TWI_INTENSET_TXDSENT_Msk (0x1UL << TWI_INTENSET_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */ 06344 #define TWI_INTENSET_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */ 06345 #define TWI_INTENSET_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */ 06346 #define TWI_INTENSET_TXDSENT_Set (1UL) /*!< Enable interrupt on write. */ 06347 06348 /* Bit 2 : Enable interrupt on READY event. */ 06349 #define TWI_INTENSET_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */ 06350 #define TWI_INTENSET_RXDREADY_Msk (0x1UL << TWI_INTENSET_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */ 06351 #define TWI_INTENSET_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */ 06352 #define TWI_INTENSET_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */ 06353 #define TWI_INTENSET_RXDREADY_Set (1UL) /*!< Enable interrupt on write. */ 06354 06355 /* Bit 1 : Enable interrupt on STOPPED event. */ 06356 #define TWI_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 06357 #define TWI_INTENSET_STOPPED_Msk (0x1UL << TWI_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 06358 #define TWI_INTENSET_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */ 06359 #define TWI_INTENSET_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */ 06360 #define TWI_INTENSET_STOPPED_Set (1UL) /*!< Enable interrupt on write. */ 06361 06362 /* Register: TWI_INTENCLR */ 06363 /* Description: Interrupt enable clear register. */ 06364 06365 /* Bit 18 : Disable interrupt on SUSPENDED event. */ 06366 #define TWI_INTENCLR_SUSPENDED_Pos (18UL) /*!< Position of SUSPENDED field. */ 06367 #define TWI_INTENCLR_SUSPENDED_Msk (0x1UL << TWI_INTENCLR_SUSPENDED_Pos) /*!< Bit mask of SUSPENDED field. */ 06368 #define TWI_INTENCLR_SUSPENDED_Disabled (0UL) /*!< Interrupt disabled. */ 06369 #define TWI_INTENCLR_SUSPENDED_Enabled (1UL) /*!< Interrupt enabled. */ 06370 #define TWI_INTENCLR_SUSPENDED_Clear (1UL) /*!< Disable interrupt on write. */ 06371 06372 /* Bit 14 : Disable interrupt on BB event. */ 06373 #define TWI_INTENCLR_BB_Pos (14UL) /*!< Position of BB field. */ 06374 #define TWI_INTENCLR_BB_Msk (0x1UL << TWI_INTENCLR_BB_Pos) /*!< Bit mask of BB field. */ 06375 #define TWI_INTENCLR_BB_Disabled (0UL) /*!< Interrupt disabled. */ 06376 #define TWI_INTENCLR_BB_Enabled (1UL) /*!< Interrupt enabled. */ 06377 #define TWI_INTENCLR_BB_Clear (1UL) /*!< Disable interrupt on write. */ 06378 06379 /* Bit 9 : Disable interrupt on ERROR event. */ 06380 #define TWI_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 06381 #define TWI_INTENCLR_ERROR_Msk (0x1UL << TWI_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 06382 #define TWI_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 06383 #define TWI_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 06384 #define TWI_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */ 06385 06386 /* Bit 7 : Disable interrupt on TXDSENT event. */ 06387 #define TWI_INTENCLR_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */ 06388 #define TWI_INTENCLR_TXDSENT_Msk (0x1UL << TWI_INTENCLR_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */ 06389 #define TWI_INTENCLR_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */ 06390 #define TWI_INTENCLR_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */ 06391 #define TWI_INTENCLR_TXDSENT_Clear (1UL) /*!< Disable interrupt on write. */ 06392 06393 /* Bit 2 : Disable interrupt on RXDREADY event. */ 06394 #define TWI_INTENCLR_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */ 06395 #define TWI_INTENCLR_RXDREADY_Msk (0x1UL << TWI_INTENCLR_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */ 06396 #define TWI_INTENCLR_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */ 06397 #define TWI_INTENCLR_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */ 06398 #define TWI_INTENCLR_RXDREADY_Clear (1UL) /*!< Disable interrupt on write. */ 06399 06400 /* Bit 1 : Disable interrupt on STOPPED event. */ 06401 #define TWI_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */ 06402 #define TWI_INTENCLR_STOPPED_Msk (0x1UL << TWI_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */ 06403 #define TWI_INTENCLR_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */ 06404 #define TWI_INTENCLR_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */ 06405 #define TWI_INTENCLR_STOPPED_Clear (1UL) /*!< Disable interrupt on write. */ 06406 06407 /* Register: TWI_ERRORSRC */ 06408 /* Description: Two-wire error source. Write error field to 1 to clear error. */ 06409 06410 /* Bit 2 : NACK received after sending a data byte. */ 06411 #define TWI_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */ 06412 #define TWI_ERRORSRC_DNACK_Msk (0x1UL << TWI_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */ 06413 #define TWI_ERRORSRC_DNACK_NotPresent (0UL) /*!< Error not present. */ 06414 #define TWI_ERRORSRC_DNACK_Present (1UL) /*!< Error present. */ 06415 #define TWI_ERRORSRC_DNACK_Clear (1UL) /*!< Clear error on write. */ 06416 06417 /* Bit 1 : NACK received after sending the address. */ 06418 #define TWI_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */ 06419 #define TWI_ERRORSRC_ANACK_Msk (0x1UL << TWI_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */ 06420 #define TWI_ERRORSRC_ANACK_NotPresent (0UL) /*!< Error not present. */ 06421 #define TWI_ERRORSRC_ANACK_Present (1UL) /*!< Error present. */ 06422 #define TWI_ERRORSRC_ANACK_Clear (1UL) /*!< Clear error on write. */ 06423 06424 /* Bit 0 : Byte received in RXD register before read of the last received byte (data loss). */ 06425 #define TWI_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */ 06426 #define TWI_ERRORSRC_OVERRUN_Msk (0x1UL << TWI_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */ 06427 #define TWI_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */ 06428 #define TWI_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */ 06429 #define TWI_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */ 06430 06431 /* Register: TWI_ENABLE */ 06432 /* Description: Enable two-wire master. */ 06433 06434 /* Bits 2..0 : Enable or disable W2M */ 06435 #define TWI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 06436 #define TWI_ENABLE_ENABLE_Msk (0x7UL << TWI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 06437 #define TWI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled. */ 06438 #define TWI_ENABLE_ENABLE_Enabled (0x05UL) /*!< Enabled. */ 06439 06440 /* Register: TWI_RXD */ 06441 /* Description: RX data register. */ 06442 06443 /* Bits 7..0 : RX data from last transfer. */ 06444 #define TWI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */ 06445 #define TWI_RXD_RXD_Msk (0xFFUL << TWI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */ 06446 06447 /* Register: TWI_TXD */ 06448 /* Description: TX data register. */ 06449 06450 /* Bits 7..0 : TX data for next transfer. */ 06451 #define TWI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */ 06452 #define TWI_TXD_TXD_Msk (0xFFUL << TWI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */ 06453 06454 /* Register: TWI_FREQUENCY */ 06455 /* Description: Two-wire frequency. */ 06456 06457 /* Bits 31..0 : Two-wire master clock frequency. */ 06458 #define TWI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */ 06459 #define TWI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */ 06460 #define TWI_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps. */ 06461 #define TWI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps. */ 06462 #define TWI_FREQUENCY_FREQUENCY_K400 (0x06680000UL) /*!< 400 kbps. */ 06463 06464 /* Register: TWI_ADDRESS */ 06465 /* Description: Address used in the two-wire transfer. */ 06466 06467 /* Bits 6..0 : Two-wire address. */ 06468 #define TWI_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */ 06469 #define TWI_ADDRESS_ADDRESS_Msk (0x7FUL << TWI_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */ 06470 06471 /* Register: TWI_POWER */ 06472 /* Description: Peripheral power control. */ 06473 06474 /* Bit 0 : Peripheral power control. */ 06475 #define TWI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 06476 #define TWI_POWER_POWER_Msk (0x1UL << TWI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 06477 #define TWI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 06478 #define TWI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 06479 06480 06481 /* Peripheral: UART */ 06482 /* Description: Universal Asynchronous Receiver/Transmitter. */ 06483 06484 /* Register: UART_SHORTS */ 06485 /* Description: Shortcuts for UART. */ 06486 06487 /* Bit 4 : Shortcut between NCTS event and STOPRX task. */ 06488 #define UART_SHORTS_NCTS_STOPRX_Pos (4UL) /*!< Position of NCTS_STOPRX field. */ 06489 #define UART_SHORTS_NCTS_STOPRX_Msk (0x1UL << UART_SHORTS_NCTS_STOPRX_Pos) /*!< Bit mask of NCTS_STOPRX field. */ 06490 #define UART_SHORTS_NCTS_STOPRX_Disabled (0UL) /*!< Shortcut disabled. */ 06491 #define UART_SHORTS_NCTS_STOPRX_Enabled (1UL) /*!< Shortcut enabled. */ 06492 06493 /* Bit 3 : Shortcut between CTS event and STARTRX task. */ 06494 #define UART_SHORTS_CTS_STARTRX_Pos (3UL) /*!< Position of CTS_STARTRX field. */ 06495 #define UART_SHORTS_CTS_STARTRX_Msk (0x1UL << UART_SHORTS_CTS_STARTRX_Pos) /*!< Bit mask of CTS_STARTRX field. */ 06496 #define UART_SHORTS_CTS_STARTRX_Disabled (0UL) /*!< Shortcut disabled. */ 06497 #define UART_SHORTS_CTS_STARTRX_Enabled (1UL) /*!< Shortcut enabled. */ 06498 06499 /* Register: UART_INTENSET */ 06500 /* Description: Interrupt enable set register. */ 06501 06502 /* Bit 17 : Enable interrupt on RXTO event. */ 06503 #define UART_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */ 06504 #define UART_INTENSET_RXTO_Msk (0x1UL << UART_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */ 06505 #define UART_INTENSET_RXTO_Disabled (0UL) /*!< Interrupt disabled. */ 06506 #define UART_INTENSET_RXTO_Enabled (1UL) /*!< Interrupt enabled. */ 06507 #define UART_INTENSET_RXTO_Set (1UL) /*!< Enable interrupt on write. */ 06508 06509 /* Bit 9 : Enable interrupt on ERROR event. */ 06510 #define UART_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 06511 #define UART_INTENSET_ERROR_Msk (0x1UL << UART_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */ 06512 #define UART_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 06513 #define UART_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 06514 #define UART_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */ 06515 06516 /* Bit 7 : Enable interrupt on TXRDY event. */ 06517 #define UART_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */ 06518 #define UART_INTENSET_TXDRDY_Msk (0x1UL << UART_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */ 06519 #define UART_INTENSET_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 06520 #define UART_INTENSET_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 06521 #define UART_INTENSET_TXDRDY_Set (1UL) /*!< Enable interrupt on write. */ 06522 06523 /* Bit 2 : Enable interrupt on RXRDY event. */ 06524 #define UART_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */ 06525 #define UART_INTENSET_RXDRDY_Msk (0x1UL << UART_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */ 06526 #define UART_INTENSET_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 06527 #define UART_INTENSET_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 06528 #define UART_INTENSET_RXDRDY_Set (1UL) /*!< Enable interrupt on write. */ 06529 06530 /* Bit 1 : Enable interrupt on NCTS event. */ 06531 #define UART_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */ 06532 #define UART_INTENSET_NCTS_Msk (0x1UL << UART_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */ 06533 #define UART_INTENSET_NCTS_Disabled (0UL) /*!< Interrupt disabled. */ 06534 #define UART_INTENSET_NCTS_Enabled (1UL) /*!< Interrupt enabled. */ 06535 #define UART_INTENSET_NCTS_Set (1UL) /*!< Enable interrupt on write. */ 06536 06537 /* Bit 0 : Enable interrupt on CTS event. */ 06538 #define UART_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */ 06539 #define UART_INTENSET_CTS_Msk (0x1UL << UART_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */ 06540 #define UART_INTENSET_CTS_Disabled (0UL) /*!< Interrupt disabled. */ 06541 #define UART_INTENSET_CTS_Enabled (1UL) /*!< Interrupt enabled. */ 06542 #define UART_INTENSET_CTS_Set (1UL) /*!< Enable interrupt on write. */ 06543 06544 /* Register: UART_INTENCLR */ 06545 /* Description: Interrupt enable clear register. */ 06546 06547 /* Bit 17 : Disable interrupt on RXTO event. */ 06548 #define UART_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */ 06549 #define UART_INTENCLR_RXTO_Msk (0x1UL << UART_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */ 06550 #define UART_INTENCLR_RXTO_Disabled (0UL) /*!< Interrupt disabled. */ 06551 #define UART_INTENCLR_RXTO_Enabled (1UL) /*!< Interrupt enabled. */ 06552 #define UART_INTENCLR_RXTO_Clear (1UL) /*!< Disable interrupt on write. */ 06553 06554 /* Bit 9 : Disable interrupt on ERROR event. */ 06555 #define UART_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */ 06556 #define UART_INTENCLR_ERROR_Msk (0x1UL << UART_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */ 06557 #define UART_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */ 06558 #define UART_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */ 06559 #define UART_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */ 06560 06561 /* Bit 7 : Disable interrupt on TXRDY event. */ 06562 #define UART_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */ 06563 #define UART_INTENCLR_TXDRDY_Msk (0x1UL << UART_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */ 06564 #define UART_INTENCLR_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 06565 #define UART_INTENCLR_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 06566 #define UART_INTENCLR_TXDRDY_Clear (1UL) /*!< Disable interrupt on write. */ 06567 06568 /* Bit 2 : Disable interrupt on RXRDY event. */ 06569 #define UART_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */ 06570 #define UART_INTENCLR_RXDRDY_Msk (0x1UL << UART_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */ 06571 #define UART_INTENCLR_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */ 06572 #define UART_INTENCLR_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */ 06573 #define UART_INTENCLR_RXDRDY_Clear (1UL) /*!< Disable interrupt on write. */ 06574 06575 /* Bit 1 : Disable interrupt on NCTS event. */ 06576 #define UART_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */ 06577 #define UART_INTENCLR_NCTS_Msk (0x1UL << UART_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */ 06578 #define UART_INTENCLR_NCTS_Disabled (0UL) /*!< Interrupt disabled. */ 06579 #define UART_INTENCLR_NCTS_Enabled (1UL) /*!< Interrupt enabled. */ 06580 #define UART_INTENCLR_NCTS_Clear (1UL) /*!< Disable interrupt on write. */ 06581 06582 /* Bit 0 : Disable interrupt on CTS event. */ 06583 #define UART_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */ 06584 #define UART_INTENCLR_CTS_Msk (0x1UL << UART_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */ 06585 #define UART_INTENCLR_CTS_Disabled (0UL) /*!< Interrupt disabled. */ 06586 #define UART_INTENCLR_CTS_Enabled (1UL) /*!< Interrupt enabled. */ 06587 #define UART_INTENCLR_CTS_Clear (1UL) /*!< Disable interrupt on write. */ 06588 06589 /* Register: UART_ERRORSRC */ 06590 /* Description: Error source. Write error field to 1 to clear error. */ 06591 06592 /* Bit 3 : The serial data input is '0' for longer than the length of a data frame. */ 06593 #define UART_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */ 06594 #define UART_ERRORSRC_BREAK_Msk (0x1UL << UART_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */ 06595 #define UART_ERRORSRC_BREAK_NotPresent (0UL) /*!< Error not present. */ 06596 #define UART_ERRORSRC_BREAK_Present (1UL) /*!< Error present. */ 06597 #define UART_ERRORSRC_BREAK_Clear (1UL) /*!< Clear error on write. */ 06598 06599 /* Bit 2 : A valid stop bit is not detected on the serial data input after all bits in a character have been received. */ 06600 #define UART_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */ 06601 #define UART_ERRORSRC_FRAMING_Msk (0x1UL << UART_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */ 06602 #define UART_ERRORSRC_FRAMING_NotPresent (0UL) /*!< Error not present. */ 06603 #define UART_ERRORSRC_FRAMING_Present (1UL) /*!< Error present. */ 06604 #define UART_ERRORSRC_FRAMING_Clear (1UL) /*!< Clear error on write. */ 06605 06606 /* Bit 1 : A character with bad parity is received. Only checked if HW parity control is enabled. */ 06607 #define UART_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */ 06608 #define UART_ERRORSRC_PARITY_Msk (0x1UL << UART_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */ 06609 #define UART_ERRORSRC_PARITY_NotPresent (0UL) /*!< Error not present. */ 06610 #define UART_ERRORSRC_PARITY_Present (1UL) /*!< Error present. */ 06611 #define UART_ERRORSRC_PARITY_Clear (1UL) /*!< Clear error on write. */ 06612 06613 /* Bit 0 : A start bit is received while the previous data still lies in RXD. (Data loss). */ 06614 #define UART_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */ 06615 #define UART_ERRORSRC_OVERRUN_Msk (0x1UL << UART_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */ 06616 #define UART_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */ 06617 #define UART_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */ 06618 #define UART_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */ 06619 06620 /* Register: UART_ENABLE */ 06621 /* Description: Enable UART and acquire IOs. */ 06622 06623 /* Bits 2..0 : Enable or disable UART and acquire IOs. */ 06624 #define UART_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */ 06625 #define UART_ENABLE_ENABLE_Msk (0x7UL << UART_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */ 06626 #define UART_ENABLE_ENABLE_Disabled (0x00UL) /*!< UART disabled. */ 06627 #define UART_ENABLE_ENABLE_Enabled (0x04UL) /*!< UART enabled. */ 06628 06629 /* Register: UART_RXD */ 06630 /* 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. */ 06631 06632 /* Bits 7..0 : RX data from previous transfer. Double buffered. */ 06633 #define UART_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */ 06634 #define UART_RXD_RXD_Msk (0xFFUL << UART_RXD_RXD_Pos) /*!< Bit mask of RXD field. */ 06635 06636 /* Register: UART_TXD */ 06637 /* Description: TXD register. */ 06638 06639 /* Bits 7..0 : TX data for transfer. */ 06640 #define UART_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */ 06641 #define UART_TXD_TXD_Msk (0xFFUL << UART_TXD_TXD_Pos) /*!< Bit mask of TXD field. */ 06642 06643 /* Register: UART_BAUDRATE */ 06644 /* Description: UART Baudrate. */ 06645 06646 /* Bits 31..0 : UART baudrate. */ 06647 #define UART_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */ 06648 #define UART_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UART_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */ 06649 #define UART_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud. */ 06650 #define UART_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud. */ 06651 #define UART_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud. */ 06652 #define UART_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud. */ 06653 #define UART_BAUDRATE_BAUDRATE_Baud14400 (0x003B0000UL) /*!< 14400 baud. */ 06654 #define UART_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud. */ 06655 #define UART_BAUDRATE_BAUDRATE_Baud28800 (0x0075F000UL) /*!< 28800 baud. */ 06656 #define UART_BAUDRATE_BAUDRATE_Baud38400 (0x009D5000UL) /*!< 38400 baud. */ 06657 #define UART_BAUDRATE_BAUDRATE_Baud57600 (0x00EBF000UL) /*!< 57600 baud. */ 06658 #define UART_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud. */ 06659 #define UART_BAUDRATE_BAUDRATE_Baud115200 (0x01D7E000UL) /*!< 115200 baud. */ 06660 #define UART_BAUDRATE_BAUDRATE_Baud230400 (0x03AFB000UL) /*!< 230400 baud. */ 06661 #define UART_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud. */ 06662 #define UART_BAUDRATE_BAUDRATE_Baud460800 (0x075F7000UL) /*!< 460800 baud. */ 06663 #define UART_BAUDRATE_BAUDRATE_Baud921600 (0x0EBED000UL) /*!< 921600 baud. */ 06664 #define UART_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1M baud. */ 06665 06666 /* Register: UART_CONFIG */ 06667 /* Description: Configuration of parity and hardware flow control register. */ 06668 06669 /* Bits 3..1 : Include parity bit. */ 06670 #define UART_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */ 06671 #define UART_CONFIG_PARITY_Msk (0x7UL << UART_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */ 06672 #define UART_CONFIG_PARITY_Excluded (0UL) /*!< Parity bit excluded. */ 06673 #define UART_CONFIG_PARITY_Included (7UL) /*!< Parity bit included. */ 06674 06675 /* Bit 0 : Hardware flow control. */ 06676 #define UART_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */ 06677 #define UART_CONFIG_HWFC_Msk (0x1UL << UART_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */ 06678 #define UART_CONFIG_HWFC_Disabled (0UL) /*!< Hardware flow control disabled. */ 06679 #define UART_CONFIG_HWFC_Enabled (1UL) /*!< Hardware flow control enabled. */ 06680 06681 /* Register: UART_POWER */ 06682 /* Description: Peripheral power control. */ 06683 06684 /* Bit 0 : Peripheral power control. */ 06685 #define UART_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 06686 #define UART_POWER_POWER_Msk (0x1UL << UART_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 06687 #define UART_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 06688 #define UART_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 06689 06690 06691 /* Peripheral: UICR */ 06692 /* Description: User Information Configuration. */ 06693 06694 /* Register: UICR_RBPCONF */ 06695 /* Description: Readback protection configuration. */ 06696 06697 /* Bits 15..8 : Readback protect all code in the device. */ 06698 #define UICR_RBPCONF_PALL_Pos (8UL) /*!< Position of PALL field. */ 06699 #define UICR_RBPCONF_PALL_Msk (0xFFUL << UICR_RBPCONF_PALL_Pos) /*!< Bit mask of PALL field. */ 06700 #define UICR_RBPCONF_PALL_Enabled (0x00UL) /*!< Enabled. */ 06701 #define UICR_RBPCONF_PALL_Disabled (0xFFUL) /*!< Disabled. */ 06702 06703 /* Bits 7..0 : Readback protect region 0. Will be ignored if pre-programmed factory code is present on the chip. */ 06704 #define UICR_RBPCONF_PR0_Pos (0UL) /*!< Position of PR0 field. */ 06705 #define UICR_RBPCONF_PR0_Msk (0xFFUL << UICR_RBPCONF_PR0_Pos) /*!< Bit mask of PR0 field. */ 06706 #define UICR_RBPCONF_PR0_Enabled (0x00UL) /*!< Enabled. */ 06707 #define UICR_RBPCONF_PR0_Disabled (0xFFUL) /*!< Disabled. */ 06708 06709 /* Register: UICR_XTALFREQ */ 06710 /* Description: Reset value for CLOCK XTALFREQ register. */ 06711 06712 /* Bits 7..0 : Reset value for CLOCK XTALFREQ register. */ 06713 #define UICR_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */ 06714 #define UICR_XTALFREQ_XTALFREQ_Msk (0xFFUL << UICR_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */ 06715 #define UICR_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz Xtal is used. */ 06716 #define UICR_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz Xtal is used. */ 06717 06718 /* Register: UICR_FWID */ 06719 /* Description: Firmware ID. */ 06720 06721 /* Bits 15..0 : Identification number for the firmware loaded into the chip. */ 06722 #define UICR_FWID_FWID_Pos (0UL) /*!< Position of FWID field. */ 06723 #define UICR_FWID_FWID_Msk (0xFFFFUL << UICR_FWID_FWID_Pos) /*!< Bit mask of FWID field. */ 06724 06725 06726 /* Peripheral: WDT */ 06727 /* Description: Watchdog Timer. */ 06728 06729 /* Register: WDT_INTENSET */ 06730 /* Description: Interrupt enable set register. */ 06731 06732 /* Bit 0 : Enable interrupt on TIMEOUT event. */ 06733 #define WDT_INTENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 06734 #define WDT_INTENSET_TIMEOUT_Msk (0x1UL << WDT_INTENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 06735 #define WDT_INTENSET_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */ 06736 #define WDT_INTENSET_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */ 06737 #define WDT_INTENSET_TIMEOUT_Set (1UL) /*!< Enable interrupt on write. */ 06738 06739 /* Register: WDT_INTENCLR */ 06740 /* Description: Interrupt enable clear register. */ 06741 06742 /* Bit 0 : Disable interrupt on TIMEOUT event. */ 06743 #define WDT_INTENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */ 06744 #define WDT_INTENCLR_TIMEOUT_Msk (0x1UL << WDT_INTENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */ 06745 #define WDT_INTENCLR_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */ 06746 #define WDT_INTENCLR_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */ 06747 #define WDT_INTENCLR_TIMEOUT_Clear (1UL) /*!< Disable interrupt on write. */ 06748 06749 /* Register: WDT_RUNSTATUS */ 06750 /* Description: Watchdog running status. */ 06751 06752 /* Bit 0 : Watchdog running status. */ 06753 #define WDT_RUNSTATUS_RUNSTATUS_Pos (0UL) /*!< Position of RUNSTATUS field. */ 06754 #define WDT_RUNSTATUS_RUNSTATUS_Msk (0x1UL << WDT_RUNSTATUS_RUNSTATUS_Pos) /*!< Bit mask of RUNSTATUS field. */ 06755 #define WDT_RUNSTATUS_RUNSTATUS_NotRunning (0UL) /*!< Watchdog timer is not running. */ 06756 #define WDT_RUNSTATUS_RUNSTATUS_Running (1UL) /*!< Watchdog timer is running. */ 06757 06758 /* Register: WDT_REQSTATUS */ 06759 /* Description: Request status. */ 06760 06761 /* Bit 7 : Request status for RR[7]. */ 06762 #define WDT_REQSTATUS_RR7_Pos (7UL) /*!< Position of RR7 field. */ 06763 #define WDT_REQSTATUS_RR7_Msk (0x1UL << WDT_REQSTATUS_RR7_Pos) /*!< Bit mask of RR7 field. */ 06764 #define WDT_REQSTATUS_RR7_DisabledOrRequested (0UL) /*!< RR[7] register is not enabled or has already requested reload. */ 06765 #define WDT_REQSTATUS_RR7_EnabledAndUnrequested (1UL) /*!< RR[7] register is enabled and has not jet requested. */ 06766 06767 /* Bit 6 : Request status for RR[6]. */ 06768 #define WDT_REQSTATUS_RR6_Pos (6UL) /*!< Position of RR6 field. */ 06769 #define WDT_REQSTATUS_RR6_Msk (0x1UL << WDT_REQSTATUS_RR6_Pos) /*!< Bit mask of RR6 field. */ 06770 #define WDT_REQSTATUS_RR6_DisabledOrRequested (0UL) /*!< RR[6] register is not enabled or has already requested reload. */ 06771 #define WDT_REQSTATUS_RR6_EnabledAndUnrequested (1UL) /*!< RR[6] register is enabled and has not jet requested. */ 06772 06773 /* Bit 5 : Request status for RR[5]. */ 06774 #define WDT_REQSTATUS_RR5_Pos (5UL) /*!< Position of RR5 field. */ 06775 #define WDT_REQSTATUS_RR5_Msk (0x1UL << WDT_REQSTATUS_RR5_Pos) /*!< Bit mask of RR5 field. */ 06776 #define WDT_REQSTATUS_RR5_DisabledOrRequested (0UL) /*!< RR[5] register is not enabled or has already requested reload. */ 06777 #define WDT_REQSTATUS_RR5_EnabledAndUnrequested (1UL) /*!< RR[5] register is enabled and has not jet requested. */ 06778 06779 /* Bit 4 : Request status for RR[4]. */ 06780 #define WDT_REQSTATUS_RR4_Pos (4UL) /*!< Position of RR4 field. */ 06781 #define WDT_REQSTATUS_RR4_Msk (0x1UL << WDT_REQSTATUS_RR4_Pos) /*!< Bit mask of RR4 field. */ 06782 #define WDT_REQSTATUS_RR4_DisabledOrRequested (0UL) /*!< RR[4] register is not enabled or has already requested reload. */ 06783 #define WDT_REQSTATUS_RR4_EnabledAndUnrequested (1UL) /*!< RR[4] register is enabled and has not jet requested. */ 06784 06785 /* Bit 3 : Request status for RR[3]. */ 06786 #define WDT_REQSTATUS_RR3_Pos (3UL) /*!< Position of RR3 field. */ 06787 #define WDT_REQSTATUS_RR3_Msk (0x1UL << WDT_REQSTATUS_RR3_Pos) /*!< Bit mask of RR3 field. */ 06788 #define WDT_REQSTATUS_RR3_DisabledOrRequested (0UL) /*!< RR[3] register is not enabled or has already requested reload. */ 06789 #define WDT_REQSTATUS_RR3_EnabledAndUnrequested (1UL) /*!< RR[3] register is enabled and has not jet requested. */ 06790 06791 /* Bit 2 : Request status for RR[2]. */ 06792 #define WDT_REQSTATUS_RR2_Pos (2UL) /*!< Position of RR2 field. */ 06793 #define WDT_REQSTATUS_RR2_Msk (0x1UL << WDT_REQSTATUS_RR2_Pos) /*!< Bit mask of RR2 field. */ 06794 #define WDT_REQSTATUS_RR2_DisabledOrRequested (0UL) /*!< RR[2] register is not enabled or has already requested reload. */ 06795 #define WDT_REQSTATUS_RR2_EnabledAndUnrequested (1UL) /*!< RR[2] register is enabled and has not jet requested. */ 06796 06797 /* Bit 1 : Request status for RR[1]. */ 06798 #define WDT_REQSTATUS_RR1_Pos (1UL) /*!< Position of RR1 field. */ 06799 #define WDT_REQSTATUS_RR1_Msk (0x1UL << WDT_REQSTATUS_RR1_Pos) /*!< Bit mask of RR1 field. */ 06800 #define WDT_REQSTATUS_RR1_DisabledOrRequested (0UL) /*!< RR[1] register is not enabled or has already requested reload. */ 06801 #define WDT_REQSTATUS_RR1_EnabledAndUnrequested (1UL) /*!< RR[1] register is enabled and has not jet requested. */ 06802 06803 /* Bit 0 : Request status for RR[0]. */ 06804 #define WDT_REQSTATUS_RR0_Pos (0UL) /*!< Position of RR0 field. */ 06805 #define WDT_REQSTATUS_RR0_Msk (0x1UL << WDT_REQSTATUS_RR0_Pos) /*!< Bit mask of RR0 field. */ 06806 #define WDT_REQSTATUS_RR0_DisabledOrRequested (0UL) /*!< RR[0] register is not enabled or has already requested reload. */ 06807 #define WDT_REQSTATUS_RR0_EnabledAndUnrequested (1UL) /*!< RR[0] register is enabled and has not jet requested. */ 06808 06809 /* Register: WDT_RREN */ 06810 /* Description: Reload request enable. */ 06811 06812 /* Bit 7 : Enable or disable RR[7] register. */ 06813 #define WDT_RREN_RR7_Pos (7UL) /*!< Position of RR7 field. */ 06814 #define WDT_RREN_RR7_Msk (0x1UL << WDT_RREN_RR7_Pos) /*!< Bit mask of RR7 field. */ 06815 #define WDT_RREN_RR7_Disabled (0UL) /*!< RR[7] register is disabled. */ 06816 #define WDT_RREN_RR7_Enabled (1UL) /*!< RR[7] register is enabled. */ 06817 06818 /* Bit 6 : Enable or disable RR[6] register. */ 06819 #define WDT_RREN_RR6_Pos (6UL) /*!< Position of RR6 field. */ 06820 #define WDT_RREN_RR6_Msk (0x1UL << WDT_RREN_RR6_Pos) /*!< Bit mask of RR6 field. */ 06821 #define WDT_RREN_RR6_Disabled (0UL) /*!< RR[6] register is disabled. */ 06822 #define WDT_RREN_RR6_Enabled (1UL) /*!< RR[6] register is enabled. */ 06823 06824 /* Bit 5 : Enable or disable RR[5] register. */ 06825 #define WDT_RREN_RR5_Pos (5UL) /*!< Position of RR5 field. */ 06826 #define WDT_RREN_RR5_Msk (0x1UL << WDT_RREN_RR5_Pos) /*!< Bit mask of RR5 field. */ 06827 #define WDT_RREN_RR5_Disabled (0UL) /*!< RR[5] register is disabled. */ 06828 #define WDT_RREN_RR5_Enabled (1UL) /*!< RR[5] register is enabled. */ 06829 06830 /* Bit 4 : Enable or disable RR[4] register. */ 06831 #define WDT_RREN_RR4_Pos (4UL) /*!< Position of RR4 field. */ 06832 #define WDT_RREN_RR4_Msk (0x1UL << WDT_RREN_RR4_Pos) /*!< Bit mask of RR4 field. */ 06833 #define WDT_RREN_RR4_Disabled (0UL) /*!< RR[4] register is disabled. */ 06834 #define WDT_RREN_RR4_Enabled (1UL) /*!< RR[4] register is enabled. */ 06835 06836 /* Bit 3 : Enable or disable RR[3] register. */ 06837 #define WDT_RREN_RR3_Pos (3UL) /*!< Position of RR3 field. */ 06838 #define WDT_RREN_RR3_Msk (0x1UL << WDT_RREN_RR3_Pos) /*!< Bit mask of RR3 field. */ 06839 #define WDT_RREN_RR3_Disabled (0UL) /*!< RR[3] register is disabled. */ 06840 #define WDT_RREN_RR3_Enabled (1UL) /*!< RR[3] register is enabled. */ 06841 06842 /* Bit 2 : Enable or disable RR[2] register. */ 06843 #define WDT_RREN_RR2_Pos (2UL) /*!< Position of RR2 field. */ 06844 #define WDT_RREN_RR2_Msk (0x1UL << WDT_RREN_RR2_Pos) /*!< Bit mask of RR2 field. */ 06845 #define WDT_RREN_RR2_Disabled (0UL) /*!< RR[2] register is disabled. */ 06846 #define WDT_RREN_RR2_Enabled (1UL) /*!< RR[2] register is enabled. */ 06847 06848 /* Bit 1 : Enable or disable RR[1] register. */ 06849 #define WDT_RREN_RR1_Pos (1UL) /*!< Position of RR1 field. */ 06850 #define WDT_RREN_RR1_Msk (0x1UL << WDT_RREN_RR1_Pos) /*!< Bit mask of RR1 field. */ 06851 #define WDT_RREN_RR1_Disabled (0UL) /*!< RR[1] register is disabled. */ 06852 #define WDT_RREN_RR1_Enabled (1UL) /*!< RR[1] register is enabled. */ 06853 06854 /* Bit 0 : Enable or disable RR[0] register. */ 06855 #define WDT_RREN_RR0_Pos (0UL) /*!< Position of RR0 field. */ 06856 #define WDT_RREN_RR0_Msk (0x1UL << WDT_RREN_RR0_Pos) /*!< Bit mask of RR0 field. */ 06857 #define WDT_RREN_RR0_Disabled (0UL) /*!< RR[0] register is disabled. */ 06858 #define WDT_RREN_RR0_Enabled (1UL) /*!< RR[0] register is enabled. */ 06859 06860 /* Register: WDT_CONFIG */ 06861 /* Description: Configuration register. */ 06862 06863 /* Bit 3 : Configure the watchdog to pause or not while the CPU is halted by the debugger. */ 06864 #define WDT_CONFIG_HALT_Pos (3UL) /*!< Position of HALT field. */ 06865 #define WDT_CONFIG_HALT_Msk (0x1UL << WDT_CONFIG_HALT_Pos) /*!< Bit mask of HALT field. */ 06866 #define WDT_CONFIG_HALT_Pause (0UL) /*!< Pause watchdog while the CPU is halted by the debugger. */ 06867 #define WDT_CONFIG_HALT_Run (1UL) /*!< Do not pause watchdog while the CPU is halted by the debugger. */ 06868 06869 /* Bit 0 : Configure the watchdog to pause or not while the CPU is sleeping. */ 06870 #define WDT_CONFIG_SLEEP_Pos (0UL) /*!< Position of SLEEP field. */ 06871 #define WDT_CONFIG_SLEEP_Msk (0x1UL << WDT_CONFIG_SLEEP_Pos) /*!< Bit mask of SLEEP field. */ 06872 #define WDT_CONFIG_SLEEP_Pause (0UL) /*!< Pause watchdog while the CPU is asleep. */ 06873 #define WDT_CONFIG_SLEEP_Run (1UL) /*!< Do not pause watchdog while the CPU is asleep. */ 06874 06875 /* Register: WDT_RR */ 06876 /* Description: Reload requests registers. */ 06877 06878 /* Bits 31..0 : Reload register. */ 06879 #define WDT_RR_RR_Pos (0UL) /*!< Position of RR field. */ 06880 #define WDT_RR_RR_Msk (0xFFFFFFFFUL << WDT_RR_RR_Pos) /*!< Bit mask of RR field. */ 06881 #define WDT_RR_RR_Reload (0x6E524635UL) /*!< Value to request a reload of the watchdog timer. */ 06882 06883 /* Register: WDT_POWER */ 06884 /* Description: Peripheral power control. */ 06885 06886 /* Bit 0 : Peripheral power control. */ 06887 #define WDT_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */ 06888 #define WDT_POWER_POWER_Msk (0x1UL << WDT_POWER_POWER_Pos) /*!< Bit mask of POWER field. */ 06889 #define WDT_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */ 06890 #define WDT_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */ 06891 06892 06893 /*lint --flb "Leave library region" */ 06894 #endif
Generated on Tue Jul 12 2022 15:51:26 by 1.7.2