BLE temperature profile using digital DS1820 or analog LM35 sensors

Dependencies:   DS1820

Committer:
gkroussos
Date:
Sat Mar 07 16:23:41 2015 +0000
Revision:
0:637031152314
Working version 1.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gkroussos 0:637031152314 1 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved.
gkroussos 0:637031152314 2 *
gkroussos 0:637031152314 3 * The information contained herein is property of Nordic Semiconductor ASA.
gkroussos 0:637031152314 4 * Terms and conditions of usage are described in detail in NORDIC
gkroussos 0:637031152314 5 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
gkroussos 0:637031152314 6 *
gkroussos 0:637031152314 7 * Licensees are granted free, non-transferable use of the information. NO
gkroussos 0:637031152314 8 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
gkroussos 0:637031152314 9 * the file.
gkroussos 0:637031152314 10 *
gkroussos 0:637031152314 11 */
gkroussos 0:637031152314 12
gkroussos 0:637031152314 13
gkroussos 0:637031152314 14 #ifndef __NRF51_BITS_H
gkroussos 0:637031152314 15 #define __NRF51_BITS_H
gkroussos 0:637031152314 16
gkroussos 0:637031152314 17 /*lint ++flb "Enter library region */
gkroussos 0:637031152314 18
gkroussos 0:637031152314 19 //#include <core_cm0.h>
gkroussos 0:637031152314 20
gkroussos 0:637031152314 21 /* Peripheral: AAR */
gkroussos 0:637031152314 22 /* Description: Accelerated Address Resolver. */
gkroussos 0:637031152314 23
gkroussos 0:637031152314 24 /* Register: AAR_INTENSET */
gkroussos 0:637031152314 25 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 26
gkroussos 0:637031152314 27 /* Bit 2 : Enable interrupt on NOTRESOLVED event. */
gkroussos 0:637031152314 28 #define AAR_INTENSET_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */
gkroussos 0:637031152314 29 #define AAR_INTENSET_NOTRESOLVED_Msk (0x1UL << AAR_INTENSET_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */
gkroussos 0:637031152314 30 #define AAR_INTENSET_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 31 #define AAR_INTENSET_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 32 #define AAR_INTENSET_NOTRESOLVED_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 33
gkroussos 0:637031152314 34 /* Bit 1 : Enable interrupt on RESOLVED event. */
gkroussos 0:637031152314 35 #define AAR_INTENSET_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */
gkroussos 0:637031152314 36 #define AAR_INTENSET_RESOLVED_Msk (0x1UL << AAR_INTENSET_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */
gkroussos 0:637031152314 37 #define AAR_INTENSET_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 38 #define AAR_INTENSET_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 39 #define AAR_INTENSET_RESOLVED_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 40
gkroussos 0:637031152314 41 /* Bit 0 : Enable interrupt on END event. */
gkroussos 0:637031152314 42 #define AAR_INTENSET_END_Pos (0UL) /*!< Position of END field. */
gkroussos 0:637031152314 43 #define AAR_INTENSET_END_Msk (0x1UL << AAR_INTENSET_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 44 #define AAR_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 45 #define AAR_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 46 #define AAR_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 47
gkroussos 0:637031152314 48 /* Register: AAR_INTENCLR */
gkroussos 0:637031152314 49 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 50
gkroussos 0:637031152314 51 /* Bit 2 : Disable interrupt on NOTRESOLVED event. */
gkroussos 0:637031152314 52 #define AAR_INTENCLR_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */
gkroussos 0:637031152314 53 #define AAR_INTENCLR_NOTRESOLVED_Msk (0x1UL << AAR_INTENCLR_NOTRESOLVED_Pos) /*!< Bit mask of NOTRESOLVED field. */
gkroussos 0:637031152314 54 #define AAR_INTENCLR_NOTRESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 55 #define AAR_INTENCLR_NOTRESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 56 #define AAR_INTENCLR_NOTRESOLVED_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 57
gkroussos 0:637031152314 58 /* Bit 1 : Disable interrupt on RESOLVED event. */
gkroussos 0:637031152314 59 #define AAR_INTENCLR_RESOLVED_Pos (1UL) /*!< Position of RESOLVED field. */
gkroussos 0:637031152314 60 #define AAR_INTENCLR_RESOLVED_Msk (0x1UL << AAR_INTENCLR_RESOLVED_Pos) /*!< Bit mask of RESOLVED field. */
gkroussos 0:637031152314 61 #define AAR_INTENCLR_RESOLVED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 62 #define AAR_INTENCLR_RESOLVED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 63 #define AAR_INTENCLR_RESOLVED_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 64
gkroussos 0:637031152314 65 /* Bit 0 : Disable interrupt on ENDKSGEN event. */
gkroussos 0:637031152314 66 #define AAR_INTENCLR_END_Pos (0UL) /*!< Position of END field. */
gkroussos 0:637031152314 67 #define AAR_INTENCLR_END_Msk (0x1UL << AAR_INTENCLR_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 68 #define AAR_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 69 #define AAR_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 70 #define AAR_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 71
gkroussos 0:637031152314 72 /* Register: AAR_STATUS */
gkroussos 0:637031152314 73 /* Description: Resolution status. */
gkroussos 0:637031152314 74
gkroussos 0:637031152314 75 /* Bits 3..0 : The IRK used last time an address was resolved. */
gkroussos 0:637031152314 76 #define AAR_STATUS_STATUS_Pos (0UL) /*!< Position of STATUS field. */
gkroussos 0:637031152314 77 #define AAR_STATUS_STATUS_Msk (0xFUL << AAR_STATUS_STATUS_Pos) /*!< Bit mask of STATUS field. */
gkroussos 0:637031152314 78
gkroussos 0:637031152314 79 /* Register: AAR_ENABLE */
gkroussos 0:637031152314 80 /* Description: Enable AAR. */
gkroussos 0:637031152314 81
gkroussos 0:637031152314 82 /* Bits 1..0 : Enable AAR. */
gkroussos 0:637031152314 83 #define AAR_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 84 #define AAR_ENABLE_ENABLE_Msk (0x3UL << AAR_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 85 #define AAR_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled AAR. */
gkroussos 0:637031152314 86 #define AAR_ENABLE_ENABLE_Enabled (0x03UL) /*!< Enable AAR. */
gkroussos 0:637031152314 87
gkroussos 0:637031152314 88 /* Register: AAR_NIRK */
gkroussos 0:637031152314 89 /* Description: Number of Identity root Keys in the IRK data structure. */
gkroussos 0:637031152314 90
gkroussos 0:637031152314 91 /* Bits 4..0 : Number of Identity root Keys in the IRK data structure. */
gkroussos 0:637031152314 92 #define AAR_NIRK_NIRK_Pos (0UL) /*!< Position of NIRK field. */
gkroussos 0:637031152314 93 #define AAR_NIRK_NIRK_Msk (0x1FUL << AAR_NIRK_NIRK_Pos) /*!< Bit mask of NIRK field. */
gkroussos 0:637031152314 94
gkroussos 0:637031152314 95 /* Register: AAR_POWER */
gkroussos 0:637031152314 96 /* Description: Peripheral power control. */
gkroussos 0:637031152314 97
gkroussos 0:637031152314 98 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 99 #define AAR_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 100 #define AAR_POWER_POWER_Msk (0x1UL << AAR_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 101 #define AAR_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 102 #define AAR_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 103
gkroussos 0:637031152314 104
gkroussos 0:637031152314 105 /* Peripheral: ADC */
gkroussos 0:637031152314 106 /* Description: Analog to digital converter. */
gkroussos 0:637031152314 107
gkroussos 0:637031152314 108 /* Register: ADC_INTENSET */
gkroussos 0:637031152314 109 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 110
gkroussos 0:637031152314 111 /* Bit 0 : Enable interrupt on END event. */
gkroussos 0:637031152314 112 #define ADC_INTENSET_END_Pos (0UL) /*!< Position of END field. */
gkroussos 0:637031152314 113 #define ADC_INTENSET_END_Msk (0x1UL << ADC_INTENSET_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 114 #define ADC_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 115 #define ADC_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 116 #define ADC_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 117
gkroussos 0:637031152314 118 /* Register: ADC_INTENCLR */
gkroussos 0:637031152314 119 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 120
gkroussos 0:637031152314 121 /* Bit 0 : Disable interrupt on END event. */
gkroussos 0:637031152314 122 #define ADC_INTENCLR_END_Pos (0UL) /*!< Position of END field. */
gkroussos 0:637031152314 123 #define ADC_INTENCLR_END_Msk (0x1UL << ADC_INTENCLR_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 124 #define ADC_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 125 #define ADC_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 126 #define ADC_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 127
gkroussos 0:637031152314 128 /* Register: ADC_BUSY */
gkroussos 0:637031152314 129 /* Description: ADC busy register. */
gkroussos 0:637031152314 130
gkroussos 0:637031152314 131 /* Bit 0 : ADC busy register. */
gkroussos 0:637031152314 132 #define ADC_BUSY_BUSY_Pos (0UL) /*!< Position of BUSY field. */
gkroussos 0:637031152314 133 #define ADC_BUSY_BUSY_Msk (0x1UL << ADC_BUSY_BUSY_Pos) /*!< Bit mask of BUSY field. */
gkroussos 0:637031152314 134 #define ADC_BUSY_BUSY_Ready (0UL) /*!< No ongoing ADC conversion is taking place. ADC is ready. */
gkroussos 0:637031152314 135 #define ADC_BUSY_BUSY_Busy (1UL) /*!< An ADC conversion is taking place. ADC is busy. */
gkroussos 0:637031152314 136
gkroussos 0:637031152314 137 /* Register: ADC_ENABLE */
gkroussos 0:637031152314 138 /* Description: ADC enable. */
gkroussos 0:637031152314 139
gkroussos 0:637031152314 140 /* Bits 1..0 : ADC enable. */
gkroussos 0:637031152314 141 #define ADC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 142 #define ADC_ENABLE_ENABLE_Msk (0x3UL << ADC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 143 #define ADC_ENABLE_ENABLE_Disabled (0x00UL) /*!< ADC is disabled. */
gkroussos 0:637031152314 144 #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. */
gkroussos 0:637031152314 145
gkroussos 0:637031152314 146 /* Register: ADC_CONFIG */
gkroussos 0:637031152314 147 /* Description: ADC configuration register. */
gkroussos 0:637031152314 148
gkroussos 0:637031152314 149 /* Bits 17..16 : ADC external reference pin selection. */
gkroussos 0:637031152314 150 #define ADC_CONFIG_EXTREFSEL_Pos (16UL) /*!< Position of EXTREFSEL field. */
gkroussos 0:637031152314 151 #define ADC_CONFIG_EXTREFSEL_Msk (0x3UL << ADC_CONFIG_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
gkroussos 0:637031152314 152 #define ADC_CONFIG_EXTREFSEL_None (0UL) /*!< Analog external reference inputs disabled. */
gkroussos 0:637031152314 153 #define ADC_CONFIG_EXTREFSEL_AnalogReference0 (1UL) /*!< Use analog reference 0 as reference. */
gkroussos 0:637031152314 154 #define ADC_CONFIG_EXTREFSEL_AnalogReference1 (2UL) /*!< Use analog reference 1 as reference. */
gkroussos 0:637031152314 155
gkroussos 0:637031152314 156 /* Bits 15..8 : ADC analog pin selection. */
gkroussos 0:637031152314 157 #define ADC_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */
gkroussos 0:637031152314 158 #define ADC_CONFIG_PSEL_Msk (0xFFUL << ADC_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */
gkroussos 0:637031152314 159 #define ADC_CONFIG_PSEL_Disabled (0UL) /*!< Analog input pins disabled. */
gkroussos 0:637031152314 160 #define ADC_CONFIG_PSEL_AnalogInput0 (1UL) /*!< Use analog input 0 as analog input. */
gkroussos 0:637031152314 161 #define ADC_CONFIG_PSEL_AnalogInput1 (2UL) /*!< Use analog input 1 as analog input. */
gkroussos 0:637031152314 162 #define ADC_CONFIG_PSEL_AnalogInput2 (4UL) /*!< Use analog input 2 as analog input. */
gkroussos 0:637031152314 163 #define ADC_CONFIG_PSEL_AnalogInput3 (8UL) /*!< Use analog input 3 as analog input. */
gkroussos 0:637031152314 164 #define ADC_CONFIG_PSEL_AnalogInput4 (16UL) /*!< Use analog input 4 as analog input. */
gkroussos 0:637031152314 165 #define ADC_CONFIG_PSEL_AnalogInput5 (32UL) /*!< Use analog input 5 as analog input. */
gkroussos 0:637031152314 166 #define ADC_CONFIG_PSEL_AnalogInput6 (64UL) /*!< Use analog input 6 as analog input. */
gkroussos 0:637031152314 167 #define ADC_CONFIG_PSEL_AnalogInput7 (128UL) /*!< Use analog input 7 as analog input. */
gkroussos 0:637031152314 168
gkroussos 0:637031152314 169 /* Bits 6..5 : ADC reference selection. */
gkroussos 0:637031152314 170 #define ADC_CONFIG_REFSEL_Pos (5UL) /*!< Position of REFSEL field. */
gkroussos 0:637031152314 171 #define ADC_CONFIG_REFSEL_Msk (0x3UL << ADC_CONFIG_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
gkroussos 0:637031152314 172 #define ADC_CONFIG_REFSEL_VBG (0x00UL) /*!< Use internal 1.2V bandgap voltage as reference for conversion. */
gkroussos 0:637031152314 173 #define ADC_CONFIG_REFSEL_External (0x01UL) /*!< Use external source configured by EXTREFSEL as reference for conversion. */
gkroussos 0:637031152314 174 #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. */
gkroussos 0:637031152314 175 #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. */
gkroussos 0:637031152314 176
gkroussos 0:637031152314 177 /* Bits 4..2 : ADC input selection. */
gkroussos 0:637031152314 178 #define ADC_CONFIG_INPSEL_Pos (2UL) /*!< Position of INPSEL field. */
gkroussos 0:637031152314 179 #define ADC_CONFIG_INPSEL_Msk (0x7UL << ADC_CONFIG_INPSEL_Pos) /*!< Bit mask of INPSEL field. */
gkroussos 0:637031152314 180 #define ADC_CONFIG_INPSEL_AnalogInputNoPrescaling (0x00UL) /*!< Analog input specified by PSEL with no prescaling used as input for the conversion. */
gkroussos 0:637031152314 181 #define ADC_CONFIG_INPSEL_AnalogInputTwoThirdsPrescaling (0x01UL) /*!< Analog input specified by PSEL with 2/3 prescaling used as input for the conversion. */
gkroussos 0:637031152314 182 #define ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling (0x02UL) /*!< Analog input specified by PSEL with 1/3 prescaling used as input for the conversion. */
gkroussos 0:637031152314 183 #define ADC_CONFIG_INPSEL_SupplyTwoThirdsPrescaling (0x05UL) /*!< Supply voltage with 2/3 prescaling used as input for the conversion. */
gkroussos 0:637031152314 184 #define ADC_CONFIG_INPSEL_SupplyOneThirdPrescaling (0x06UL) /*!< Supply voltage with 1/3 prescaling used as input for the conversion. */
gkroussos 0:637031152314 185
gkroussos 0:637031152314 186 /* Bits 1..0 : ADC resolution. */
gkroussos 0:637031152314 187 #define ADC_CONFIG_RES_Pos (0UL) /*!< Position of RES field. */
gkroussos 0:637031152314 188 #define ADC_CONFIG_RES_Msk (0x3UL << ADC_CONFIG_RES_Pos) /*!< Bit mask of RES field. */
gkroussos 0:637031152314 189 #define ADC_CONFIG_RES_8bit (0x00UL) /*!< 8bit ADC resolution. */
gkroussos 0:637031152314 190 #define ADC_CONFIG_RES_9bit (0x01UL) /*!< 9bit ADC resolution. */
gkroussos 0:637031152314 191 #define ADC_CONFIG_RES_10bit (0x02UL) /*!< 10bit ADC resolution. */
gkroussos 0:637031152314 192
gkroussos 0:637031152314 193 /* Register: ADC_RESULT */
gkroussos 0:637031152314 194 /* Description: Result of ADC conversion. */
gkroussos 0:637031152314 195
gkroussos 0:637031152314 196 /* Bits 9..0 : Result of ADC conversion. */
gkroussos 0:637031152314 197 #define ADC_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
gkroussos 0:637031152314 198 #define ADC_RESULT_RESULT_Msk (0x3FFUL << ADC_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
gkroussos 0:637031152314 199
gkroussos 0:637031152314 200 /* Register: ADC_POWER */
gkroussos 0:637031152314 201 /* Description: Peripheral power control. */
gkroussos 0:637031152314 202
gkroussos 0:637031152314 203 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 204 #define ADC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 205 #define ADC_POWER_POWER_Msk (0x1UL << ADC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 206 #define ADC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 207 #define ADC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 208
gkroussos 0:637031152314 209
gkroussos 0:637031152314 210 /* Peripheral: AMLI */
gkroussos 0:637031152314 211 /* Description: AHB Multi-Layer Interface. */
gkroussos 0:637031152314 212
gkroussos 0:637031152314 213 /* Register: AMLI_RAMPRI_CPU0 */
gkroussos 0:637031152314 214 /* Description: Configurable priority configuration register for CPU0. */
gkroussos 0:637031152314 215
gkroussos 0:637031152314 216 /* Bits 15..12 : Configuration field for RAM block 3. */
gkroussos 0:637031152314 217 #define AMLI_RAMPRI_CPU0_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
gkroussos 0:637031152314 218 #define AMLI_RAMPRI_CPU0_RAM3_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM3_Pos) /*!< Bit mask of RAM3 field. */
gkroussos 0:637031152314 219
gkroussos 0:637031152314 220 /* Bits 11..8 : Configuration field for RAM block 2. */
gkroussos 0:637031152314 221 #define AMLI_RAMPRI_CPU0_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
gkroussos 0:637031152314 222 #define AMLI_RAMPRI_CPU0_RAM2_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM2_Pos) /*!< Bit mask of RAM2 field. */
gkroussos 0:637031152314 223
gkroussos 0:637031152314 224 /* Bits 7..4 : Configuration field for RAM block 1. */
gkroussos 0:637031152314 225 #define AMLI_RAMPRI_CPU0_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
gkroussos 0:637031152314 226 #define AMLI_RAMPRI_CPU0_RAM1_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM1_Pos) /*!< Bit mask of RAM1 field. */
gkroussos 0:637031152314 227
gkroussos 0:637031152314 228 /* Bits 3..0 : Configuration field for RAM block 0. */
gkroussos 0:637031152314 229 #define AMLI_RAMPRI_CPU0_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
gkroussos 0:637031152314 230 #define AMLI_RAMPRI_CPU0_RAM0_Msk (0xFUL << AMLI_RAMPRI_CPU0_RAM0_Pos) /*!< Bit mask of RAM0 field. */
gkroussos 0:637031152314 231
gkroussos 0:637031152314 232 /* Register: AMLI_RAMPRI_SPIS1 */
gkroussos 0:637031152314 233 /* Description: Configurable priority configuration register for SPIS1. */
gkroussos 0:637031152314 234
gkroussos 0:637031152314 235 /* Bits 15..12 : Configuration field for RAM block 3. */
gkroussos 0:637031152314 236 #define AMLI_RAMPRI_SPIS1_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
gkroussos 0:637031152314 237 #define AMLI_RAMPRI_SPIS1_RAM3_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM3_Pos) /*!< Bit mask of RAM3 field. */
gkroussos 0:637031152314 238
gkroussos 0:637031152314 239 /* Bits 11..8 : Configuration field for RAM block 2. */
gkroussos 0:637031152314 240 #define AMLI_RAMPRI_SPIS1_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
gkroussos 0:637031152314 241 #define AMLI_RAMPRI_SPIS1_RAM2_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM2_Pos) /*!< Bit mask of RAM2 field. */
gkroussos 0:637031152314 242
gkroussos 0:637031152314 243 /* Bits 7..4 : Configuration field for RAM block 1. */
gkroussos 0:637031152314 244 #define AMLI_RAMPRI_SPIS1_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
gkroussos 0:637031152314 245 #define AMLI_RAMPRI_SPIS1_RAM1_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM1_Pos) /*!< Bit mask of RAM1 field. */
gkroussos 0:637031152314 246
gkroussos 0:637031152314 247 /* Bits 3..0 : Configuration field for RAM block 0. */
gkroussos 0:637031152314 248 #define AMLI_RAMPRI_SPIS1_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
gkroussos 0:637031152314 249 #define AMLI_RAMPRI_SPIS1_RAM0_Msk (0xFUL << AMLI_RAMPRI_SPIS1_RAM0_Pos) /*!< Bit mask of RAM0 field. */
gkroussos 0:637031152314 250
gkroussos 0:637031152314 251 /* Register: AMLI_RAMPRI_RADIO */
gkroussos 0:637031152314 252 /* Description: Configurable priority configuration register for RADIO. */
gkroussos 0:637031152314 253
gkroussos 0:637031152314 254 /* Bits 15..12 : Configuration field for RAM block 3. */
gkroussos 0:637031152314 255 #define AMLI_RAMPRI_RADIO_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
gkroussos 0:637031152314 256 #define AMLI_RAMPRI_RADIO_RAM3_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM3_Pos) /*!< Bit mask of RAM3 field. */
gkroussos 0:637031152314 257
gkroussos 0:637031152314 258 /* Bits 11..8 : Configuration field for RAM block 2. */
gkroussos 0:637031152314 259 #define AMLI_RAMPRI_RADIO_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
gkroussos 0:637031152314 260 #define AMLI_RAMPRI_RADIO_RAM2_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM2_Pos) /*!< Bit mask of RAM2 field. */
gkroussos 0:637031152314 261
gkroussos 0:637031152314 262 /* Bits 7..4 : Configuration field for RAM block 1. */
gkroussos 0:637031152314 263 #define AMLI_RAMPRI_RADIO_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
gkroussos 0:637031152314 264 #define AMLI_RAMPRI_RADIO_RAM1_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM1_Pos) /*!< Bit mask of RAM1 field. */
gkroussos 0:637031152314 265
gkroussos 0:637031152314 266 /* Bits 3..0 : Configuration field for RAM block 0. */
gkroussos 0:637031152314 267 #define AMLI_RAMPRI_RADIO_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
gkroussos 0:637031152314 268 #define AMLI_RAMPRI_RADIO_RAM0_Msk (0xFUL << AMLI_RAMPRI_RADIO_RAM0_Pos) /*!< Bit mask of RAM0 field. */
gkroussos 0:637031152314 269
gkroussos 0:637031152314 270 /* Register: AMLI_RAMPRI_ECB */
gkroussos 0:637031152314 271 /* Description: Configurable priority configuration register for ECB. */
gkroussos 0:637031152314 272
gkroussos 0:637031152314 273 /* Bits 15..12 : Configuration field for RAM block 3. */
gkroussos 0:637031152314 274 #define AMLI_RAMPRI_ECB_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
gkroussos 0:637031152314 275 #define AMLI_RAMPRI_ECB_RAM3_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM3_Pos) /*!< Bit mask of RAM3 field. */
gkroussos 0:637031152314 276
gkroussos 0:637031152314 277 /* Bits 11..8 : Configuration field for RAM block 2. */
gkroussos 0:637031152314 278 #define AMLI_RAMPRI_ECB_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
gkroussos 0:637031152314 279 #define AMLI_RAMPRI_ECB_RAM2_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM2_Pos) /*!< Bit mask of RAM2 field. */
gkroussos 0:637031152314 280
gkroussos 0:637031152314 281 /* Bits 7..4 : Configuration field for RAM block 1. */
gkroussos 0:637031152314 282 #define AMLI_RAMPRI_ECB_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
gkroussos 0:637031152314 283 #define AMLI_RAMPRI_ECB_RAM1_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM1_Pos) /*!< Bit mask of RAM1 field. */
gkroussos 0:637031152314 284
gkroussos 0:637031152314 285 /* Bits 3..0 : Configuration field for RAM block 0. */
gkroussos 0:637031152314 286 #define AMLI_RAMPRI_ECB_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
gkroussos 0:637031152314 287 #define AMLI_RAMPRI_ECB_RAM0_Msk (0xFUL << AMLI_RAMPRI_ECB_RAM0_Pos) /*!< Bit mask of RAM0 field. */
gkroussos 0:637031152314 288
gkroussos 0:637031152314 289 /* Register: AMLI_RAMPRI_CCM */
gkroussos 0:637031152314 290 /* Description: Configurable priority configuration register for CCM. */
gkroussos 0:637031152314 291
gkroussos 0:637031152314 292 /* Bits 15..12 : Configuration field for RAM block 3. */
gkroussos 0:637031152314 293 #define AMLI_RAMPRI_CCM_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
gkroussos 0:637031152314 294 #define AMLI_RAMPRI_CCM_RAM3_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM3_Pos) /*!< Bit mask of RAM3 field. */
gkroussos 0:637031152314 295
gkroussos 0:637031152314 296 /* Bits 11..8 : Configuration field for RAM block 2. */
gkroussos 0:637031152314 297 #define AMLI_RAMPRI_CCM_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
gkroussos 0:637031152314 298 #define AMLI_RAMPRI_CCM_RAM2_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM2_Pos) /*!< Bit mask of RAM2 field. */
gkroussos 0:637031152314 299
gkroussos 0:637031152314 300 /* Bits 7..4 : Configuration field for RAM block 1. */
gkroussos 0:637031152314 301 #define AMLI_RAMPRI_CCM_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
gkroussos 0:637031152314 302 #define AMLI_RAMPRI_CCM_RAM1_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM1_Pos) /*!< Bit mask of RAM1 field. */
gkroussos 0:637031152314 303
gkroussos 0:637031152314 304 /* Bits 3..0 : Configuration field for RAM block 0. */
gkroussos 0:637031152314 305 #define AMLI_RAMPRI_CCM_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
gkroussos 0:637031152314 306 #define AMLI_RAMPRI_CCM_RAM0_Msk (0xFUL << AMLI_RAMPRI_CCM_RAM0_Pos) /*!< Bit mask of RAM0 field. */
gkroussos 0:637031152314 307
gkroussos 0:637031152314 308 /* Register: AMLI_RAMPRI_AAR */
gkroussos 0:637031152314 309 /* Description: Configurable priority configuration register for AAR. */
gkroussos 0:637031152314 310
gkroussos 0:637031152314 311 /* Bits 15..12 : Configuration field for RAM block 3. */
gkroussos 0:637031152314 312 #define AMLI_RAMPRI_AAR_RAM3_Pos (12UL) /*!< Position of RAM3 field. */
gkroussos 0:637031152314 313 #define AMLI_RAMPRI_AAR_RAM3_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM3_Pos) /*!< Bit mask of RAM3 field. */
gkroussos 0:637031152314 314
gkroussos 0:637031152314 315 /* Bits 11..8 : Configuration field for RAM block 2. */
gkroussos 0:637031152314 316 #define AMLI_RAMPRI_AAR_RAM2_Pos (8UL) /*!< Position of RAM2 field. */
gkroussos 0:637031152314 317 #define AMLI_RAMPRI_AAR_RAM2_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM2_Pos) /*!< Bit mask of RAM2 field. */
gkroussos 0:637031152314 318
gkroussos 0:637031152314 319 /* Bits 7..4 : Configuration field for RAM block 1. */
gkroussos 0:637031152314 320 #define AMLI_RAMPRI_AAR_RAM1_Pos (4UL) /*!< Position of RAM1 field. */
gkroussos 0:637031152314 321 #define AMLI_RAMPRI_AAR_RAM1_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM1_Pos) /*!< Bit mask of RAM1 field. */
gkroussos 0:637031152314 322
gkroussos 0:637031152314 323 /* Bits 3..0 : Configuration field for RAM block 0. */
gkroussos 0:637031152314 324 #define AMLI_RAMPRI_AAR_RAM0_Pos (0UL) /*!< Position of RAM0 field. */
gkroussos 0:637031152314 325 #define AMLI_RAMPRI_AAR_RAM0_Msk (0xFUL << AMLI_RAMPRI_AAR_RAM0_Pos) /*!< Bit mask of RAM0 field. */
gkroussos 0:637031152314 326
gkroussos 0:637031152314 327 /* Peripheral: CCM */
gkroussos 0:637031152314 328 /* Description: AES CCM Mode Encryption. */
gkroussos 0:637031152314 329
gkroussos 0:637031152314 330 /* Register: CCM_SHORTS */
gkroussos 0:637031152314 331 /* Description: Shortcut for the CCM. */
gkroussos 0:637031152314 332
gkroussos 0:637031152314 333 /* Bit 0 : Short-cut between ENDKSGEN event and CRYPT task. */
gkroussos 0:637031152314 334 #define CCM_SHORTS_ENDKSGEN_CRYPT_Pos (0UL) /*!< Position of ENDKSGEN_CRYPT field. */
gkroussos 0:637031152314 335 #define CCM_SHORTS_ENDKSGEN_CRYPT_Msk (0x1UL << CCM_SHORTS_ENDKSGEN_CRYPT_Pos) /*!< Bit mask of ENDKSGEN_CRYPT field. */
gkroussos 0:637031152314 336 #define CCM_SHORTS_ENDKSGEN_CRYPT_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 337 #define CCM_SHORTS_ENDKSGEN_CRYPT_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 338
gkroussos 0:637031152314 339 /* Register: CCM_INTENSET */
gkroussos 0:637031152314 340 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 341
gkroussos 0:637031152314 342 /* Bit 2 : Enable interrupt on ERROR event. */
gkroussos 0:637031152314 343 #define CCM_INTENSET_ERROR_Pos (2UL) /*!< Position of ERROR field. */
gkroussos 0:637031152314 344 #define CCM_INTENSET_ERROR_Msk (0x1UL << CCM_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
gkroussos 0:637031152314 345 #define CCM_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 346 #define CCM_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 347 #define CCM_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 348
gkroussos 0:637031152314 349 /* Bit 1 : Enable interrupt on ENDCRYPT event. */
gkroussos 0:637031152314 350 #define CCM_INTENSET_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
gkroussos 0:637031152314 351 #define CCM_INTENSET_ENDCRYPT_Msk (0x1UL << CCM_INTENSET_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
gkroussos 0:637031152314 352 #define CCM_INTENSET_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 353 #define CCM_INTENSET_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 354 #define CCM_INTENSET_ENDCRYPT_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 355
gkroussos 0:637031152314 356 /* Bit 0 : Enable interrupt on ENDKSGEN event. */
gkroussos 0:637031152314 357 #define CCM_INTENSET_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
gkroussos 0:637031152314 358 #define CCM_INTENSET_ENDKSGEN_Msk (0x1UL << CCM_INTENSET_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
gkroussos 0:637031152314 359 #define CCM_INTENSET_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 360 #define CCM_INTENSET_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 361 #define CCM_INTENSET_ENDKSGEN_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 362
gkroussos 0:637031152314 363 /* Register: CCM_INTENCLR */
gkroussos 0:637031152314 364 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 365
gkroussos 0:637031152314 366 /* Bit 2 : Disable interrupt on ERROR event. */
gkroussos 0:637031152314 367 #define CCM_INTENCLR_ERROR_Pos (2UL) /*!< Position of ERROR field. */
gkroussos 0:637031152314 368 #define CCM_INTENCLR_ERROR_Msk (0x1UL << CCM_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
gkroussos 0:637031152314 369 #define CCM_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 370 #define CCM_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 371 #define CCM_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 372
gkroussos 0:637031152314 373 /* Bit 1 : Disable interrupt on ENDCRYPT event. */
gkroussos 0:637031152314 374 #define CCM_INTENCLR_ENDCRYPT_Pos (1UL) /*!< Position of ENDCRYPT field. */
gkroussos 0:637031152314 375 #define CCM_INTENCLR_ENDCRYPT_Msk (0x1UL << CCM_INTENCLR_ENDCRYPT_Pos) /*!< Bit mask of ENDCRYPT field. */
gkroussos 0:637031152314 376 #define CCM_INTENCLR_ENDCRYPT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 377 #define CCM_INTENCLR_ENDCRYPT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 378 #define CCM_INTENCLR_ENDCRYPT_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 379
gkroussos 0:637031152314 380 /* Bit 0 : Disable interrupt on ENDKSGEN event. */
gkroussos 0:637031152314 381 #define CCM_INTENCLR_ENDKSGEN_Pos (0UL) /*!< Position of ENDKSGEN field. */
gkroussos 0:637031152314 382 #define CCM_INTENCLR_ENDKSGEN_Msk (0x1UL << CCM_INTENCLR_ENDKSGEN_Pos) /*!< Bit mask of ENDKSGEN field. */
gkroussos 0:637031152314 383 #define CCM_INTENCLR_ENDKSGEN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 384 #define CCM_INTENCLR_ENDKSGEN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 385 #define CCM_INTENCLR_ENDKSGEN_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 386
gkroussos 0:637031152314 387 /* Register: CCM_MICSTATUS */
gkroussos 0:637031152314 388 /* Description: CCM RX MIC check result. */
gkroussos 0:637031152314 389
gkroussos 0:637031152314 390 /* Bit 0 : Result of the MIC check performed during the previous CCM RX STARTCRYPT */
gkroussos 0:637031152314 391 #define CCM_MICSTATUS_MICSTATUS_Pos (0UL) /*!< Position of MICSTATUS field. */
gkroussos 0:637031152314 392 #define CCM_MICSTATUS_MICSTATUS_Msk (0x1UL << CCM_MICSTATUS_MICSTATUS_Pos) /*!< Bit mask of MICSTATUS field. */
gkroussos 0:637031152314 393 #define CCM_MICSTATUS_MICSTATUS_CheckFailed (0UL) /*!< MIC check failed. */
gkroussos 0:637031152314 394 #define CCM_MICSTATUS_MICSTATUS_CheckPassed (1UL) /*!< MIC check passed. */
gkroussos 0:637031152314 395
gkroussos 0:637031152314 396 /* Register: CCM_ENABLE */
gkroussos 0:637031152314 397 /* Description: CCM enable. */
gkroussos 0:637031152314 398
gkroussos 0:637031152314 399 /* Bits 1..0 : CCM enable. */
gkroussos 0:637031152314 400 #define CCM_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 401 #define CCM_ENABLE_ENABLE_Msk (0x3UL << CCM_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 402 #define CCM_ENABLE_ENABLE_Disabled (0x00UL) /*!< CCM is disabled. */
gkroussos 0:637031152314 403 #define CCM_ENABLE_ENABLE_Enabled (0x02UL) /*!< CCM is enabled. */
gkroussos 0:637031152314 404
gkroussos 0:637031152314 405 /* Register: CCM_MODE */
gkroussos 0:637031152314 406 /* Description: Operation mode. */
gkroussos 0:637031152314 407
gkroussos 0:637031152314 408 /* Bit 0 : CCM mode operation. */
gkroussos 0:637031152314 409 #define CCM_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
gkroussos 0:637031152314 410 #define CCM_MODE_MODE_Msk (0x1UL << CCM_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
gkroussos 0:637031152314 411 #define CCM_MODE_MODE_Encryption (0UL) /*!< CCM mode TX */
gkroussos 0:637031152314 412 #define CCM_MODE_MODE_Decryption (1UL) /*!< CCM mode TX */
gkroussos 0:637031152314 413
gkroussos 0:637031152314 414 /* Register: CCM_POWER */
gkroussos 0:637031152314 415 /* Description: Peripheral power control. */
gkroussos 0:637031152314 416
gkroussos 0:637031152314 417 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 418 #define CCM_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 419 #define CCM_POWER_POWER_Msk (0x1UL << CCM_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 420 #define CCM_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 421 #define CCM_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 422
gkroussos 0:637031152314 423
gkroussos 0:637031152314 424 /* Peripheral: CLOCK */
gkroussos 0:637031152314 425 /* Description: Clock control. */
gkroussos 0:637031152314 426
gkroussos 0:637031152314 427 /* Register: CLOCK_INTENSET */
gkroussos 0:637031152314 428 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 429
gkroussos 0:637031152314 430 /* Bit 4 : Enable interrupt on CTTO event. */
gkroussos 0:637031152314 431 #define CLOCK_INTENSET_CTTO_Pos (4UL) /*!< Position of CTTO field. */
gkroussos 0:637031152314 432 #define CLOCK_INTENSET_CTTO_Msk (0x1UL << CLOCK_INTENSET_CTTO_Pos) /*!< Bit mask of CTTO field. */
gkroussos 0:637031152314 433 #define CLOCK_INTENSET_CTTO_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 434 #define CLOCK_INTENSET_CTTO_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 435 #define CLOCK_INTENSET_CTTO_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 436
gkroussos 0:637031152314 437 /* Bit 3 : Enable interrupt on DONE event. */
gkroussos 0:637031152314 438 #define CLOCK_INTENSET_DONE_Pos (3UL) /*!< Position of DONE field. */
gkroussos 0:637031152314 439 #define CLOCK_INTENSET_DONE_Msk (0x1UL << CLOCK_INTENSET_DONE_Pos) /*!< Bit mask of DONE field. */
gkroussos 0:637031152314 440 #define CLOCK_INTENSET_DONE_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 441 #define CLOCK_INTENSET_DONE_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 442 #define CLOCK_INTENSET_DONE_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 443
gkroussos 0:637031152314 444 /* Bit 1 : Enable interrupt on LFCLKSTARTED event. */
gkroussos 0:637031152314 445 #define CLOCK_INTENSET_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
gkroussos 0:637031152314 446 #define CLOCK_INTENSET_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
gkroussos 0:637031152314 447 #define CLOCK_INTENSET_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 448 #define CLOCK_INTENSET_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 449 #define CLOCK_INTENSET_LFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 450
gkroussos 0:637031152314 451 /* Bit 0 : Enable interrupt on HFCLKSTARTED event. */
gkroussos 0:637031152314 452 #define CLOCK_INTENSET_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
gkroussos 0:637031152314 453 #define CLOCK_INTENSET_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENSET_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
gkroussos 0:637031152314 454 #define CLOCK_INTENSET_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 455 #define CLOCK_INTENSET_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 456 #define CLOCK_INTENSET_HFCLKSTARTED_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 457
gkroussos 0:637031152314 458 /* Register: CLOCK_INTENCLR */
gkroussos 0:637031152314 459 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 460
gkroussos 0:637031152314 461 /* Bit 4 : Disable interrupt on CTTO event. */
gkroussos 0:637031152314 462 #define CLOCK_INTENCLR_CTTO_Pos (4UL) /*!< Position of CTTO field. */
gkroussos 0:637031152314 463 #define CLOCK_INTENCLR_CTTO_Msk (0x1UL << CLOCK_INTENCLR_CTTO_Pos) /*!< Bit mask of CTTO field. */
gkroussos 0:637031152314 464 #define CLOCK_INTENCLR_CTTO_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 465 #define CLOCK_INTENCLR_CTTO_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 466 #define CLOCK_INTENCLR_CTTO_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 467
gkroussos 0:637031152314 468 /* Bit 3 : Disable interrupt on DONE event. */
gkroussos 0:637031152314 469 #define CLOCK_INTENCLR_DONE_Pos (3UL) /*!< Position of DONE field. */
gkroussos 0:637031152314 470 #define CLOCK_INTENCLR_DONE_Msk (0x1UL << CLOCK_INTENCLR_DONE_Pos) /*!< Bit mask of DONE field. */
gkroussos 0:637031152314 471 #define CLOCK_INTENCLR_DONE_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 472 #define CLOCK_INTENCLR_DONE_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 473 #define CLOCK_INTENCLR_DONE_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 474
gkroussos 0:637031152314 475 /* Bit 1 : Disable interrupt on LFCLKSTARTED event. */
gkroussos 0:637031152314 476 #define CLOCK_INTENCLR_LFCLKSTARTED_Pos (1UL) /*!< Position of LFCLKSTARTED field. */
gkroussos 0:637031152314 477 #define CLOCK_INTENCLR_LFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_LFCLKSTARTED_Pos) /*!< Bit mask of LFCLKSTARTED field. */
gkroussos 0:637031152314 478 #define CLOCK_INTENCLR_LFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 479 #define CLOCK_INTENCLR_LFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 480 #define CLOCK_INTENCLR_LFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 481
gkroussos 0:637031152314 482 /* Bit 0 : Disable interrupt on HFCLKSTARTED event. */
gkroussos 0:637031152314 483 #define CLOCK_INTENCLR_HFCLKSTARTED_Pos (0UL) /*!< Position of HFCLKSTARTED field. */
gkroussos 0:637031152314 484 #define CLOCK_INTENCLR_HFCLKSTARTED_Msk (0x1UL << CLOCK_INTENCLR_HFCLKSTARTED_Pos) /*!< Bit mask of HFCLKSTARTED field. */
gkroussos 0:637031152314 485 #define CLOCK_INTENCLR_HFCLKSTARTED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 486 #define CLOCK_INTENCLR_HFCLKSTARTED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 487 #define CLOCK_INTENCLR_HFCLKSTARTED_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 488
gkroussos 0:637031152314 489 /* Register: CLOCK_HFCLKSTAT */
gkroussos 0:637031152314 490 /* Description: High frequency clock status. */
gkroussos 0:637031152314 491
gkroussos 0:637031152314 492 /* Bit 16 : State for the HFCLK. */
gkroussos 0:637031152314 493 #define CLOCK_HFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
gkroussos 0:637031152314 494 #define CLOCK_HFCLKSTAT_STATE_Msk (0x1UL << CLOCK_HFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
gkroussos 0:637031152314 495 #define CLOCK_HFCLKSTAT_STATE_NotRunning (0UL) /*!< HFCLK clock not running. */
gkroussos 0:637031152314 496 #define CLOCK_HFCLKSTAT_STATE_Running (1UL) /*!< HFCLK clock running. */
gkroussos 0:637031152314 497
gkroussos 0:637031152314 498 /* Bit 0 : Active clock source for the HF clock. */
gkroussos 0:637031152314 499 #define CLOCK_HFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
gkroussos 0:637031152314 500 #define CLOCK_HFCLKSTAT_SRC_Msk (0x1UL << CLOCK_HFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
gkroussos 0:637031152314 501 #define CLOCK_HFCLKSTAT_SRC_RC (0UL) /*!< Internal 16MHz RC oscillator running and generating the HFCLK clock. */
gkroussos 0:637031152314 502 #define CLOCK_HFCLKSTAT_SRC_Xtal (1UL) /*!< External 16MHz/32MHz crystal oscillator running and generating the HFCLK clock. */
gkroussos 0:637031152314 503
gkroussos 0:637031152314 504 /* Register: CLOCK_LFCLKSTAT */
gkroussos 0:637031152314 505 /* Description: Low frequency clock status. */
gkroussos 0:637031152314 506
gkroussos 0:637031152314 507 /* Bit 16 : State for the LF clock. */
gkroussos 0:637031152314 508 #define CLOCK_LFCLKSTAT_STATE_Pos (16UL) /*!< Position of STATE field. */
gkroussos 0:637031152314 509 #define CLOCK_LFCLKSTAT_STATE_Msk (0x1UL << CLOCK_LFCLKSTAT_STATE_Pos) /*!< Bit mask of STATE field. */
gkroussos 0:637031152314 510 #define CLOCK_LFCLKSTAT_STATE_NotRunning (0UL) /*!< LFCLK clock not running. */
gkroussos 0:637031152314 511 #define CLOCK_LFCLKSTAT_STATE_Running (1UL) /*!< LFCLK clock running. */
gkroussos 0:637031152314 512
gkroussos 0:637031152314 513 /* Bits 1..0 : Active clock source for the LF clock. */
gkroussos 0:637031152314 514 #define CLOCK_LFCLKSTAT_SRC_Pos (0UL) /*!< Position of SRC field. */
gkroussos 0:637031152314 515 #define CLOCK_LFCLKSTAT_SRC_Msk (0x3UL << CLOCK_LFCLKSTAT_SRC_Pos) /*!< Bit mask of SRC field. */
gkroussos 0:637031152314 516 #define CLOCK_LFCLKSTAT_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator running and generating the LFCLK clock. */
gkroussos 0:637031152314 517 #define CLOCK_LFCLKSTAT_SRC_Xtal (1UL) /*!< External 32KiHz crystal oscillator running and generating the LFCLK clock. */
gkroussos 0:637031152314 518 #define CLOCK_LFCLKSTAT_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from the HFCLK running and generating the LFCLK clock. */
gkroussos 0:637031152314 519
gkroussos 0:637031152314 520 /* Register: CLOCK_LFCLKSRC */
gkroussos 0:637031152314 521 /* Description: Clock source for the LFCLK clock. */
gkroussos 0:637031152314 522
gkroussos 0:637031152314 523 /* Bits 1..0 : Clock source. */
gkroussos 0:637031152314 524 #define CLOCK_LFCLKSRC_SRC_Pos (0UL) /*!< Position of SRC field. */
gkroussos 0:637031152314 525 #define CLOCK_LFCLKSRC_SRC_Msk (0x3UL << CLOCK_LFCLKSRC_SRC_Pos) /*!< Bit mask of SRC field. */
gkroussos 0:637031152314 526 #define CLOCK_LFCLKSRC_SRC_RC (0UL) /*!< Internal 32KiHz RC oscillator. */
gkroussos 0:637031152314 527 #define CLOCK_LFCLKSRC_SRC_Xtal (1UL) /*!< External 32KiHz crystal. */
gkroussos 0:637031152314 528 #define CLOCK_LFCLKSRC_SRC_Synth (2UL) /*!< Internal 32KiHz synthesizer from HFCLK system clock. */
gkroussos 0:637031152314 529
gkroussos 0:637031152314 530 /* Register: CLOCK_CTIV */
gkroussos 0:637031152314 531 /* Description: Calibration timer interval. */
gkroussos 0:637031152314 532
gkroussos 0:637031152314 533 /* Bits 6..0 : Calibration timer interval in 0.25s resolution. */
gkroussos 0:637031152314 534 #define CLOCK_CTIV_CTIV_Pos (0UL) /*!< Position of CTIV field. */
gkroussos 0:637031152314 535 #define CLOCK_CTIV_CTIV_Msk (0x7FUL << CLOCK_CTIV_CTIV_Pos) /*!< Bit mask of CTIV field. */
gkroussos 0:637031152314 536
gkroussos 0:637031152314 537 /* Register: CLOCK_XTALFREQ */
gkroussos 0:637031152314 538 /* Description: Crystal frequency. */
gkroussos 0:637031152314 539
gkroussos 0:637031152314 540 /* Bits 7..0 : External Xtal frequency selection. */
gkroussos 0:637031152314 541 #define CLOCK_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */
gkroussos 0:637031152314 542 #define CLOCK_XTALFREQ_XTALFREQ_Msk (0xFFUL << CLOCK_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */
gkroussos 0:637031152314 543 #define CLOCK_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz xtal is used. */
gkroussos 0:637031152314 544 #define CLOCK_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz xtal is used. */
gkroussos 0:637031152314 545
gkroussos 0:637031152314 546
gkroussos 0:637031152314 547 /* Peripheral: COMP */
gkroussos 0:637031152314 548 /* Description: Comparator. */
gkroussos 0:637031152314 549
gkroussos 0:637031152314 550 /* Register: COMP_SHORTS */
gkroussos 0:637031152314 551 /* Description: Shortcut for the COMP. */
gkroussos 0:637031152314 552
gkroussos 0:637031152314 553 /* Bit 4 : Short-cut between CROSS event and STOP task. */
gkroussos 0:637031152314 554 #define COMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */
gkroussos 0:637031152314 555 #define COMP_SHORTS_CROSS_STOP_Msk (0x1UL << COMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */
gkroussos 0:637031152314 556 #define COMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 557 #define COMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 558
gkroussos 0:637031152314 559 /* Bit 3 : Short-cut between UP event and STOP task. */
gkroussos 0:637031152314 560 #define COMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */
gkroussos 0:637031152314 561 #define COMP_SHORTS_UP_STOP_Msk (0x1UL << COMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */
gkroussos 0:637031152314 562 #define COMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 563 #define COMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 564
gkroussos 0:637031152314 565 /* Bit 2 : Short-cut between DOWN event and STOP task. */
gkroussos 0:637031152314 566 #define COMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */
gkroussos 0:637031152314 567 #define COMP_SHORTS_DOWN_STOP_Msk (0x1UL << COMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */
gkroussos 0:637031152314 568 #define COMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 569 #define COMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 570
gkroussos 0:637031152314 571 /* Bit 1 : Short-cut between RADY event and STOP task. */
gkroussos 0:637031152314 572 #define COMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */
gkroussos 0:637031152314 573 #define COMP_SHORTS_READY_STOP_Msk (0x1UL << COMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */
gkroussos 0:637031152314 574 #define COMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 575 #define COMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 576
gkroussos 0:637031152314 577 /* Bit 0 : Short-cut between READY event and SAMPLE task. */
gkroussos 0:637031152314 578 #define COMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */
gkroussos 0:637031152314 579 #define COMP_SHORTS_READY_SAMPLE_Msk (0x1UL << COMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */
gkroussos 0:637031152314 580 #define COMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 581 #define COMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 582
gkroussos 0:637031152314 583 /* Register: COMP_INTENSET */
gkroussos 0:637031152314 584 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 585
gkroussos 0:637031152314 586 /* Bit 3 : Enable interrupt on CROSS event. */
gkroussos 0:637031152314 587 #define COMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */
gkroussos 0:637031152314 588 #define COMP_INTENSET_CROSS_Msk (0x1UL << COMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */
gkroussos 0:637031152314 589 #define COMP_INTENSET_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 590 #define COMP_INTENSET_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 591 #define COMP_INTENSET_CROSS_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 592
gkroussos 0:637031152314 593 /* Bit 2 : Enable interrupt on UP event. */
gkroussos 0:637031152314 594 #define COMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */
gkroussos 0:637031152314 595 #define COMP_INTENSET_UP_Msk (0x1UL << COMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */
gkroussos 0:637031152314 596 #define COMP_INTENSET_UP_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 597 #define COMP_INTENSET_UP_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 598 #define COMP_INTENSET_UP_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 599
gkroussos 0:637031152314 600 /* Bit 1 : Enable interrupt on DOWN event. */
gkroussos 0:637031152314 601 #define COMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */
gkroussos 0:637031152314 602 #define COMP_INTENSET_DOWN_Msk (0x1UL << COMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */
gkroussos 0:637031152314 603 #define COMP_INTENSET_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 604 #define COMP_INTENSET_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 605 #define COMP_INTENSET_DOWN_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 606
gkroussos 0:637031152314 607 /* Bit 0 : Enable interrupt on READY event. */
gkroussos 0:637031152314 608 #define COMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
gkroussos 0:637031152314 609 #define COMP_INTENSET_READY_Msk (0x1UL << COMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 610 #define COMP_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 611 #define COMP_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 612 #define COMP_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 613
gkroussos 0:637031152314 614 /* Register: COMP_INTENCLR */
gkroussos 0:637031152314 615 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 616
gkroussos 0:637031152314 617 /* Bit 3 : Disable interrupt on CROSS event. */
gkroussos 0:637031152314 618 #define COMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */
gkroussos 0:637031152314 619 #define COMP_INTENCLR_CROSS_Msk (0x1UL << COMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */
gkroussos 0:637031152314 620 #define COMP_INTENCLR_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 621 #define COMP_INTENCLR_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 622 #define COMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 623
gkroussos 0:637031152314 624 /* Bit 2 : Disable interrupt on UP event. */
gkroussos 0:637031152314 625 #define COMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */
gkroussos 0:637031152314 626 #define COMP_INTENCLR_UP_Msk (0x1UL << COMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */
gkroussos 0:637031152314 627 #define COMP_INTENCLR_UP_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 628 #define COMP_INTENCLR_UP_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 629 #define COMP_INTENCLR_UP_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 630
gkroussos 0:637031152314 631 /* Bit 1 : Disable interrupt on DOWN event. */
gkroussos 0:637031152314 632 #define COMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */
gkroussos 0:637031152314 633 #define COMP_INTENCLR_DOWN_Msk (0x1UL << COMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */
gkroussos 0:637031152314 634 #define COMP_INTENCLR_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 635 #define COMP_INTENCLR_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 636 #define COMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 637
gkroussos 0:637031152314 638 /* Bit 0 : Disable interrupt on READY event. */
gkroussos 0:637031152314 639 #define COMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
gkroussos 0:637031152314 640 #define COMP_INTENCLR_READY_Msk (0x1UL << COMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 641 #define COMP_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 642 #define COMP_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 643 #define COMP_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 644
gkroussos 0:637031152314 645 /* Register: COMP_RESULT */
gkroussos 0:637031152314 646 /* Description: Compare result. */
gkroussos 0:637031152314 647
gkroussos 0:637031152314 648 /* Bit 0 : Result of last compare. Decision point SAMPLE task. */
gkroussos 0:637031152314 649 #define COMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
gkroussos 0:637031152314 650 #define COMP_RESULT_RESULT_Msk (0x1UL << COMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
gkroussos 0:637031152314 651 #define COMP_RESULT_RESULT_Bellow (0UL) /*!< Input voltage is bellow the reference threshold. */
gkroussos 0:637031152314 652 #define COMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the reference threshold. */
gkroussos 0:637031152314 653
gkroussos 0:637031152314 654 /* Register: COMP_ENABLE */
gkroussos 0:637031152314 655 /* Description: Enable the COMP. */
gkroussos 0:637031152314 656
gkroussos 0:637031152314 657 /* Bits 1..0 : Enable or disable COMP. */
gkroussos 0:637031152314 658 #define COMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 659 #define COMP_ENABLE_ENABLE_Msk (0x3UL << COMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 660 #define COMP_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled COMP. */
gkroussos 0:637031152314 661 #define COMP_ENABLE_ENABLE_Enabled (0x02UL) /*!< Enable COMP. */
gkroussos 0:637031152314 662
gkroussos 0:637031152314 663 /* Register: COMP_PSEL */
gkroussos 0:637031152314 664 /* Description: Input pin select. */
gkroussos 0:637031152314 665
gkroussos 0:637031152314 666 /* Bits 2..0 : Analog input pin select. */
gkroussos 0:637031152314 667 #define COMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */
gkroussos 0:637031152314 668 #define COMP_PSEL_PSEL_Msk (0x7UL << COMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */
gkroussos 0:637031152314 669 #define COMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< Use analog input 0 as analog input. */
gkroussos 0:637031152314 670 #define COMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< Use analog input 1 as analog input. */
gkroussos 0:637031152314 671 #define COMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< Use analog input 2 as analog input. */
gkroussos 0:637031152314 672 #define COMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< Use analog input 3 as analog input. */
gkroussos 0:637031152314 673 #define COMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< Use analog input 4 as analog input. */
gkroussos 0:637031152314 674 #define COMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< Use analog input 5 as analog input. */
gkroussos 0:637031152314 675 #define COMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< Use analog input 6 as analog input. */
gkroussos 0:637031152314 676 #define COMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< Use analog input 7 as analog input. */
gkroussos 0:637031152314 677
gkroussos 0:637031152314 678 /* Register: COMP_REFSEL */
gkroussos 0:637031152314 679 /* Description: Reference select. */
gkroussos 0:637031152314 680
gkroussos 0:637031152314 681 /* Bits 2..0 : Reference select. */
gkroussos 0:637031152314 682 #define COMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */
gkroussos 0:637031152314 683 #define COMP_REFSEL_REFSEL_Msk (0x7UL << COMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
gkroussos 0:637031152314 684 #define COMP_REFSEL_REFSEL_Int1V5 (0UL) /*!< Use internal 1V5 as reference. */
gkroussos 0:637031152314 685 #define COMP_REFSEL_REFSEL_Int2V0 (1UL) /*!< Use internal 2V0 as reference. */
gkroussos 0:637031152314 686 #define COMP_REFSEL_REFSEL_Int2V5 (2UL) /*!< Use internal 2V5 as reference. */
gkroussos 0:637031152314 687 #define COMP_REFSEL_REFSEL_Supply (4UL) /*!< Use supply as reference. */
gkroussos 0:637031152314 688 #define COMP_REFSEL_REFSEL_ARef (5UL) /*!< Use external analog reference as reference. */
gkroussos 0:637031152314 689
gkroussos 0:637031152314 690 /* Register: COMP_EXTREFSEL */
gkroussos 0:637031152314 691 /* Description: External reference select. */
gkroussos 0:637031152314 692
gkroussos 0:637031152314 693 /* Bit 0 : External analog reference pin selection. */
gkroussos 0:637031152314 694 #define COMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */
gkroussos 0:637031152314 695 #define COMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << COMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
gkroussos 0:637031152314 696 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use analog reference 0 as reference. */
gkroussos 0:637031152314 697 #define COMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use analog reference 1 as reference. */
gkroussos 0:637031152314 698
gkroussos 0:637031152314 699 /* Register: COMP_TH */
gkroussos 0:637031152314 700 /* Description: Threshold configuration for hysteresis unit. */
gkroussos 0:637031152314 701
gkroussos 0:637031152314 702 /* Bits 13..8 : VDOWN configuration. */
gkroussos 0:637031152314 703 #define COMP_TH_THDOWN_Pos (8UL) /*!< Position of THDOWN field. */
gkroussos 0:637031152314 704 #define COMP_TH_THDOWN_Msk (0x3FUL << COMP_TH_THDOWN_Pos) /*!< Bit mask of THDOWN field. */
gkroussos 0:637031152314 705
gkroussos 0:637031152314 706 /* Bits 5..0 : VUP configuration. */
gkroussos 0:637031152314 707 #define COMP_TH_THUP_Pos (0UL) /*!< Position of THUP field. */
gkroussos 0:637031152314 708 #define COMP_TH_THUP_Msk (0x3FUL << COMP_TH_THUP_Pos) /*!< Bit mask of THUP field. */
gkroussos 0:637031152314 709
gkroussos 0:637031152314 710 /* Register: COMP_MODE */
gkroussos 0:637031152314 711 /* Description: Mode configuration. */
gkroussos 0:637031152314 712
gkroussos 0:637031152314 713 /* Bit 8 : Main operation mode. */
gkroussos 0:637031152314 714 #define COMP_MODE_MAIN_Pos (8UL) /*!< Position of MAIN field. */
gkroussos 0:637031152314 715 #define COMP_MODE_MAIN_Msk (0x1UL << COMP_MODE_MAIN_Pos) /*!< Bit mask of MAIN field. */
gkroussos 0:637031152314 716 #define COMP_MODE_MAIN_Single (0UL) /*!< Single ended mode. */
gkroussos 0:637031152314 717 #define COMP_MODE_MAIN_Diff (1UL) /*!< Differential mode. */
gkroussos 0:637031152314 718
gkroussos 0:637031152314 719 /* Bits 1..0 : Speed and power mode. */
gkroussos 0:637031152314 720 #define COMP_MODE_SP_Pos (0UL) /*!< Position of SP field. */
gkroussos 0:637031152314 721 #define COMP_MODE_SP_Msk (0x3UL << COMP_MODE_SP_Pos) /*!< Bit mask of SP field. */
gkroussos 0:637031152314 722 #define COMP_MODE_SP_Low (0UL) /*!< Low power mode. */
gkroussos 0:637031152314 723 #define COMP_MODE_SP_Normal (1UL) /*!< Normal mode. */
gkroussos 0:637031152314 724 #define COMP_MODE_SP_High (2UL) /*!< High speed mode. */
gkroussos 0:637031152314 725
gkroussos 0:637031152314 726 /* Register: COMP_POWER */
gkroussos 0:637031152314 727 /* Description: Peripheral power control. */
gkroussos 0:637031152314 728
gkroussos 0:637031152314 729 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 730 #define COMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 731 #define COMP_POWER_POWER_Msk (0x1UL << COMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 732 #define COMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 733 #define COMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 734
gkroussos 0:637031152314 735
gkroussos 0:637031152314 736 /* Peripheral: ECB */
gkroussos 0:637031152314 737 /* Description: AES ECB Mode Encryption. */
gkroussos 0:637031152314 738
gkroussos 0:637031152314 739 /* Register: ECB_INTENSET */
gkroussos 0:637031152314 740 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 741
gkroussos 0:637031152314 742 /* Bit 1 : Enable interrupt on ERRORECB event. */
gkroussos 0:637031152314 743 #define ECB_INTENSET_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
gkroussos 0:637031152314 744 #define ECB_INTENSET_ERRORECB_Msk (0x1UL << ECB_INTENSET_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
gkroussos 0:637031152314 745 #define ECB_INTENSET_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 746 #define ECB_INTENSET_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 747 #define ECB_INTENSET_ERRORECB_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 748
gkroussos 0:637031152314 749 /* Bit 0 : Enable interrupt on ENDECB event. */
gkroussos 0:637031152314 750 #define ECB_INTENSET_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
gkroussos 0:637031152314 751 #define ECB_INTENSET_ENDECB_Msk (0x1UL << ECB_INTENSET_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
gkroussos 0:637031152314 752 #define ECB_INTENSET_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 753 #define ECB_INTENSET_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 754 #define ECB_INTENSET_ENDECB_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 755
gkroussos 0:637031152314 756 /* Register: ECB_INTENCLR */
gkroussos 0:637031152314 757 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 758
gkroussos 0:637031152314 759 /* Bit 1 : Disable interrupt on ERRORECB event. */
gkroussos 0:637031152314 760 #define ECB_INTENCLR_ERRORECB_Pos (1UL) /*!< Position of ERRORECB field. */
gkroussos 0:637031152314 761 #define ECB_INTENCLR_ERRORECB_Msk (0x1UL << ECB_INTENCLR_ERRORECB_Pos) /*!< Bit mask of ERRORECB field. */
gkroussos 0:637031152314 762 #define ECB_INTENCLR_ERRORECB_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 763 #define ECB_INTENCLR_ERRORECB_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 764 #define ECB_INTENCLR_ERRORECB_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 765
gkroussos 0:637031152314 766 /* Bit 0 : Disable interrupt on ENDECB event. */
gkroussos 0:637031152314 767 #define ECB_INTENCLR_ENDECB_Pos (0UL) /*!< Position of ENDECB field. */
gkroussos 0:637031152314 768 #define ECB_INTENCLR_ENDECB_Msk (0x1UL << ECB_INTENCLR_ENDECB_Pos) /*!< Bit mask of ENDECB field. */
gkroussos 0:637031152314 769 #define ECB_INTENCLR_ENDECB_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 770 #define ECB_INTENCLR_ENDECB_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 771 #define ECB_INTENCLR_ENDECB_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 772
gkroussos 0:637031152314 773 /* Register: ECB_POWER */
gkroussos 0:637031152314 774 /* Description: Peripheral power control. */
gkroussos 0:637031152314 775
gkroussos 0:637031152314 776 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 777 #define ECB_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 778 #define ECB_POWER_POWER_Msk (0x1UL << ECB_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 779 #define ECB_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 780 #define ECB_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 781
gkroussos 0:637031152314 782
gkroussos 0:637031152314 783 /* Peripheral: FICR */
gkroussos 0:637031152314 784 /* Description: Factory Information Configuration. */
gkroussos 0:637031152314 785
gkroussos 0:637031152314 786 /* Register: FICR_PPFC */
gkroussos 0:637031152314 787 /* Description: Pre-programmed factory code present. */
gkroussos 0:637031152314 788
gkroussos 0:637031152314 789 /* Bits 7..0 : Pre-programmed factory code present. */
gkroussos 0:637031152314 790 #define FICR_PPFC_PPFC_Pos (0UL) /*!< Position of PPFC field. */
gkroussos 0:637031152314 791 #define FICR_PPFC_PPFC_Msk (0xFFUL << FICR_PPFC_PPFC_Pos) /*!< Bit mask of PPFC field. */
gkroussos 0:637031152314 792 #define FICR_PPFC_PPFC_NotPresent (0xFFUL) /*!< Not present. */
gkroussos 0:637031152314 793 #define FICR_PPFC_PPFC_Present (0x00UL) /*!< Present. */
gkroussos 0:637031152314 794
gkroussos 0:637031152314 795 /* Register: FICR_CONFIGID */
gkroussos 0:637031152314 796 /* Description: Configuration identifier. */
gkroussos 0:637031152314 797
gkroussos 0:637031152314 798 /* Bits 31..16 : Firmware Identification Number pre-loaded into the flash. */
gkroussos 0:637031152314 799 #define FICR_CONFIGID_FWID_Pos (16UL) /*!< Position of FWID field. */
gkroussos 0:637031152314 800 #define FICR_CONFIGID_FWID_Msk (0xFFFFUL << FICR_CONFIGID_FWID_Pos) /*!< Bit mask of FWID field. */
gkroussos 0:637031152314 801
gkroussos 0:637031152314 802 /* Bits 15..0 : Hardware Identification Number. */
gkroussos 0:637031152314 803 #define FICR_CONFIGID_HWID_Pos (0UL) /*!< Position of HWID field. */
gkroussos 0:637031152314 804 #define FICR_CONFIGID_HWID_Msk (0xFFFFUL << FICR_CONFIGID_HWID_Pos) /*!< Bit mask of HWID field. */
gkroussos 0:637031152314 805
gkroussos 0:637031152314 806 /* Register: FICR_DEVICEADDRTYPE */
gkroussos 0:637031152314 807 /* Description: Device address type. */
gkroussos 0:637031152314 808
gkroussos 0:637031152314 809 /* Bit 0 : Device address type. */
gkroussos 0:637031152314 810 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos (0UL) /*!< Position of DEVICEADDRTYPE field. */
gkroussos 0:637031152314 811 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Msk (0x1UL << FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos) /*!< Bit mask of DEVICEADDRTYPE field. */
gkroussos 0:637031152314 812 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Public (0UL) /*!< Public address. */
gkroussos 0:637031152314 813 #define FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Random (1UL) /*!< Random address. */
gkroussos 0:637031152314 814
gkroussos 0:637031152314 815 /* Register: FICR_OVERRIDEEN */
gkroussos 0:637031152314 816 /* Description: Radio calibration override enable. */
gkroussos 0:637031152314 817
gkroussos 0:637031152314 818 /* Bit 3 : Override default values for BLE_1Mbit mode. */
gkroussos 0:637031152314 819 #define FICR_OVERRIDEEN_BLE_1MBIT_Pos (3UL) /*!< Position of BLE_1MBIT field. */
gkroussos 0:637031152314 820 #define FICR_OVERRIDEEN_BLE_1MBIT_Msk (0x1UL << FICR_OVERRIDEEN_BLE_1MBIT_Pos) /*!< Bit mask of BLE_1MBIT field. */
gkroussos 0:637031152314 821 #define FICR_OVERRIDEEN_BLE_1MBIT_Override (0UL) /*!< Override the default values for BLE_1Mbit mode. */
gkroussos 0:637031152314 822 #define FICR_OVERRIDEEN_BLE_1MBIT_NotOverride (1UL) /*!< Do not override the default values for BLE_1Mbit mode. */
gkroussos 0:637031152314 823
gkroussos 0:637031152314 824
gkroussos 0:637031152314 825 /* Peripheral: GPIO */
gkroussos 0:637031152314 826 /* Description: General purpose input and output. */
gkroussos 0:637031152314 827
gkroussos 0:637031152314 828 /* Register: GPIO_OUT */
gkroussos 0:637031152314 829 /* Description: Write GPIO port. */
gkroussos 0:637031152314 830
gkroussos 0:637031152314 831 /* Bit 31 : Pin 31. */
gkroussos 0:637031152314 832 #define GPIO_OUT_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
gkroussos 0:637031152314 833 #define GPIO_OUT_PIN31_Msk (0x1UL << GPIO_OUT_PIN31_Pos) /*!< Bit mask of PIN31 field. */
gkroussos 0:637031152314 834 #define GPIO_OUT_PIN31_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 835 #define GPIO_OUT_PIN31_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 836
gkroussos 0:637031152314 837 /* Bit 30 : Pin 30. */
gkroussos 0:637031152314 838 #define GPIO_OUT_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
gkroussos 0:637031152314 839 #define GPIO_OUT_PIN30_Msk (0x1UL << GPIO_OUT_PIN30_Pos) /*!< Bit mask of PIN30 field. */
gkroussos 0:637031152314 840 #define GPIO_OUT_PIN30_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 841 #define GPIO_OUT_PIN30_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 842
gkroussos 0:637031152314 843 /* Bit 29 : Pin 29. */
gkroussos 0:637031152314 844 #define GPIO_OUT_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
gkroussos 0:637031152314 845 #define GPIO_OUT_PIN29_Msk (0x1UL << GPIO_OUT_PIN29_Pos) /*!< Bit mask of PIN29 field. */
gkroussos 0:637031152314 846 #define GPIO_OUT_PIN29_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 847 #define GPIO_OUT_PIN29_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 848
gkroussos 0:637031152314 849 /* Bit 28 : Pin 28. */
gkroussos 0:637031152314 850 #define GPIO_OUT_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
gkroussos 0:637031152314 851 #define GPIO_OUT_PIN28_Msk (0x1UL << GPIO_OUT_PIN28_Pos) /*!< Bit mask of PIN28 field. */
gkroussos 0:637031152314 852 #define GPIO_OUT_PIN28_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 853 #define GPIO_OUT_PIN28_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 854
gkroussos 0:637031152314 855 /* Bit 27 : Pin 27. */
gkroussos 0:637031152314 856 #define GPIO_OUT_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
gkroussos 0:637031152314 857 #define GPIO_OUT_PIN27_Msk (0x1UL << GPIO_OUT_PIN27_Pos) /*!< Bit mask of PIN27 field. */
gkroussos 0:637031152314 858 #define GPIO_OUT_PIN27_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 859 #define GPIO_OUT_PIN27_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 860
gkroussos 0:637031152314 861 /* Bit 26 : Pin 26. */
gkroussos 0:637031152314 862 #define GPIO_OUT_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
gkroussos 0:637031152314 863 #define GPIO_OUT_PIN26_Msk (0x1UL << GPIO_OUT_PIN26_Pos) /*!< Bit mask of PIN26 field. */
gkroussos 0:637031152314 864 #define GPIO_OUT_PIN26_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 865 #define GPIO_OUT_PIN26_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 866
gkroussos 0:637031152314 867 /* Bit 25 : Pin 25. */
gkroussos 0:637031152314 868 #define GPIO_OUT_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
gkroussos 0:637031152314 869 #define GPIO_OUT_PIN25_Msk (0x1UL << GPIO_OUT_PIN25_Pos) /*!< Bit mask of PIN25 field. */
gkroussos 0:637031152314 870 #define GPIO_OUT_PIN25_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 871 #define GPIO_OUT_PIN25_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 872
gkroussos 0:637031152314 873 /* Bit 24 : Pin 24. */
gkroussos 0:637031152314 874 #define GPIO_OUT_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
gkroussos 0:637031152314 875 #define GPIO_OUT_PIN24_Msk (0x1UL << GPIO_OUT_PIN24_Pos) /*!< Bit mask of PIN24 field. */
gkroussos 0:637031152314 876 #define GPIO_OUT_PIN24_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 877 #define GPIO_OUT_PIN24_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 878
gkroussos 0:637031152314 879 /* Bit 23 : Pin 23. */
gkroussos 0:637031152314 880 #define GPIO_OUT_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
gkroussos 0:637031152314 881 #define GPIO_OUT_PIN23_Msk (0x1UL << GPIO_OUT_PIN23_Pos) /*!< Bit mask of PIN23 field. */
gkroussos 0:637031152314 882 #define GPIO_OUT_PIN23_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 883 #define GPIO_OUT_PIN23_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 884
gkroussos 0:637031152314 885 /* Bit 22 : Pin 22. */
gkroussos 0:637031152314 886 #define GPIO_OUT_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
gkroussos 0:637031152314 887 #define GPIO_OUT_PIN22_Msk (0x1UL << GPIO_OUT_PIN22_Pos) /*!< Bit mask of PIN22 field. */
gkroussos 0:637031152314 888 #define GPIO_OUT_PIN22_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 889 #define GPIO_OUT_PIN22_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 890
gkroussos 0:637031152314 891 /* Bit 21 : Pin 21. */
gkroussos 0:637031152314 892 #define GPIO_OUT_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
gkroussos 0:637031152314 893 #define GPIO_OUT_PIN21_Msk (0x1UL << GPIO_OUT_PIN21_Pos) /*!< Bit mask of PIN21 field. */
gkroussos 0:637031152314 894 #define GPIO_OUT_PIN21_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 895 #define GPIO_OUT_PIN21_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 896
gkroussos 0:637031152314 897 /* Bit 20 : Pin 20. */
gkroussos 0:637031152314 898 #define GPIO_OUT_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
gkroussos 0:637031152314 899 #define GPIO_OUT_PIN20_Msk (0x1UL << GPIO_OUT_PIN20_Pos) /*!< Bit mask of PIN20 field. */
gkroussos 0:637031152314 900 #define GPIO_OUT_PIN20_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 901 #define GPIO_OUT_PIN20_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 902
gkroussos 0:637031152314 903 /* Bit 19 : Pin 19. */
gkroussos 0:637031152314 904 #define GPIO_OUT_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
gkroussos 0:637031152314 905 #define GPIO_OUT_PIN19_Msk (0x1UL << GPIO_OUT_PIN19_Pos) /*!< Bit mask of PIN19 field. */
gkroussos 0:637031152314 906 #define GPIO_OUT_PIN19_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 907 #define GPIO_OUT_PIN19_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 908
gkroussos 0:637031152314 909 /* Bit 18 : Pin 18. */
gkroussos 0:637031152314 910 #define GPIO_OUT_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
gkroussos 0:637031152314 911 #define GPIO_OUT_PIN18_Msk (0x1UL << GPIO_OUT_PIN18_Pos) /*!< Bit mask of PIN18 field. */
gkroussos 0:637031152314 912 #define GPIO_OUT_PIN18_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 913 #define GPIO_OUT_PIN18_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 914
gkroussos 0:637031152314 915 /* Bit 17 : Pin 17. */
gkroussos 0:637031152314 916 #define GPIO_OUT_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
gkroussos 0:637031152314 917 #define GPIO_OUT_PIN17_Msk (0x1UL << GPIO_OUT_PIN17_Pos) /*!< Bit mask of PIN17 field. */
gkroussos 0:637031152314 918 #define GPIO_OUT_PIN17_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 919 #define GPIO_OUT_PIN17_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 920
gkroussos 0:637031152314 921 /* Bit 16 : Pin 16. */
gkroussos 0:637031152314 922 #define GPIO_OUT_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
gkroussos 0:637031152314 923 #define GPIO_OUT_PIN16_Msk (0x1UL << GPIO_OUT_PIN16_Pos) /*!< Bit mask of PIN16 field. */
gkroussos 0:637031152314 924 #define GPIO_OUT_PIN16_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 925 #define GPIO_OUT_PIN16_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 926
gkroussos 0:637031152314 927 /* Bit 15 : Pin 15. */
gkroussos 0:637031152314 928 #define GPIO_OUT_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
gkroussos 0:637031152314 929 #define GPIO_OUT_PIN15_Msk (0x1UL << GPIO_OUT_PIN15_Pos) /*!< Bit mask of PIN15 field. */
gkroussos 0:637031152314 930 #define GPIO_OUT_PIN15_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 931 #define GPIO_OUT_PIN15_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 932
gkroussos 0:637031152314 933 /* Bit 14 : Pin 14. */
gkroussos 0:637031152314 934 #define GPIO_OUT_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
gkroussos 0:637031152314 935 #define GPIO_OUT_PIN14_Msk (0x1UL << GPIO_OUT_PIN14_Pos) /*!< Bit mask of PIN14 field. */
gkroussos 0:637031152314 936 #define GPIO_OUT_PIN14_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 937 #define GPIO_OUT_PIN14_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 938
gkroussos 0:637031152314 939 /* Bit 13 : Pin 13. */
gkroussos 0:637031152314 940 #define GPIO_OUT_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
gkroussos 0:637031152314 941 #define GPIO_OUT_PIN13_Msk (0x1UL << GPIO_OUT_PIN13_Pos) /*!< Bit mask of PIN13 field. */
gkroussos 0:637031152314 942 #define GPIO_OUT_PIN13_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 943 #define GPIO_OUT_PIN13_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 944
gkroussos 0:637031152314 945 /* Bit 12 : Pin 12. */
gkroussos 0:637031152314 946 #define GPIO_OUT_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
gkroussos 0:637031152314 947 #define GPIO_OUT_PIN12_Msk (0x1UL << GPIO_OUT_PIN12_Pos) /*!< Bit mask of PIN12 field. */
gkroussos 0:637031152314 948 #define GPIO_OUT_PIN12_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 949 #define GPIO_OUT_PIN12_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 950
gkroussos 0:637031152314 951 /* Bit 11 : Pin 11. */
gkroussos 0:637031152314 952 #define GPIO_OUT_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
gkroussos 0:637031152314 953 #define GPIO_OUT_PIN11_Msk (0x1UL << GPIO_OUT_PIN11_Pos) /*!< Bit mask of PIN11 field. */
gkroussos 0:637031152314 954 #define GPIO_OUT_PIN11_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 955 #define GPIO_OUT_PIN11_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 956
gkroussos 0:637031152314 957 /* Bit 10 : Pin 10. */
gkroussos 0:637031152314 958 #define GPIO_OUT_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
gkroussos 0:637031152314 959 #define GPIO_OUT_PIN10_Msk (0x1UL << GPIO_OUT_PIN10_Pos) /*!< Bit mask of PIN10 field. */
gkroussos 0:637031152314 960 #define GPIO_OUT_PIN10_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 961 #define GPIO_OUT_PIN10_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 962
gkroussos 0:637031152314 963 /* Bit 9 : Pin 9. */
gkroussos 0:637031152314 964 #define GPIO_OUT_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
gkroussos 0:637031152314 965 #define GPIO_OUT_PIN9_Msk (0x1UL << GPIO_OUT_PIN9_Pos) /*!< Bit mask of PIN9 field. */
gkroussos 0:637031152314 966 #define GPIO_OUT_PIN9_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 967 #define GPIO_OUT_PIN9_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 968
gkroussos 0:637031152314 969 /* Bit 8 : Pin 8. */
gkroussos 0:637031152314 970 #define GPIO_OUT_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
gkroussos 0:637031152314 971 #define GPIO_OUT_PIN8_Msk (0x1UL << GPIO_OUT_PIN8_Pos) /*!< Bit mask of PIN8 field. */
gkroussos 0:637031152314 972 #define GPIO_OUT_PIN8_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 973 #define GPIO_OUT_PIN8_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 974
gkroussos 0:637031152314 975 /* Bit 7 : Pin 7. */
gkroussos 0:637031152314 976 #define GPIO_OUT_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
gkroussos 0:637031152314 977 #define GPIO_OUT_PIN7_Msk (0x1UL << GPIO_OUT_PIN7_Pos) /*!< Bit mask of PIN7 field. */
gkroussos 0:637031152314 978 #define GPIO_OUT_PIN7_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 979 #define GPIO_OUT_PIN7_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 980
gkroussos 0:637031152314 981 /* Bit 6 : Pin 6. */
gkroussos 0:637031152314 982 #define GPIO_OUT_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
gkroussos 0:637031152314 983 #define GPIO_OUT_PIN6_Msk (0x1UL << GPIO_OUT_PIN6_Pos) /*!< Bit mask of PIN6 field. */
gkroussos 0:637031152314 984 #define GPIO_OUT_PIN6_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 985 #define GPIO_OUT_PIN6_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 986
gkroussos 0:637031152314 987 /* Bit 5 : Pin 5. */
gkroussos 0:637031152314 988 #define GPIO_OUT_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
gkroussos 0:637031152314 989 #define GPIO_OUT_PIN5_Msk (0x1UL << GPIO_OUT_PIN5_Pos) /*!< Bit mask of PIN5 field. */
gkroussos 0:637031152314 990 #define GPIO_OUT_PIN5_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 991 #define GPIO_OUT_PIN5_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 992
gkroussos 0:637031152314 993 /* Bit 4 : Pin 4. */
gkroussos 0:637031152314 994 #define GPIO_OUT_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
gkroussos 0:637031152314 995 #define GPIO_OUT_PIN4_Msk (0x1UL << GPIO_OUT_PIN4_Pos) /*!< Bit mask of PIN4 field. */
gkroussos 0:637031152314 996 #define GPIO_OUT_PIN4_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 997 #define GPIO_OUT_PIN4_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 998
gkroussos 0:637031152314 999 /* Bit 3 : Pin 3. */
gkroussos 0:637031152314 1000 #define GPIO_OUT_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
gkroussos 0:637031152314 1001 #define GPIO_OUT_PIN3_Msk (0x1UL << GPIO_OUT_PIN3_Pos) /*!< Bit mask of PIN3 field. */
gkroussos 0:637031152314 1002 #define GPIO_OUT_PIN3_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1003 #define GPIO_OUT_PIN3_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1004
gkroussos 0:637031152314 1005 /* Bit 2 : Pin 2. */
gkroussos 0:637031152314 1006 #define GPIO_OUT_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
gkroussos 0:637031152314 1007 #define GPIO_OUT_PIN2_Msk (0x1UL << GPIO_OUT_PIN2_Pos) /*!< Bit mask of PIN2 field. */
gkroussos 0:637031152314 1008 #define GPIO_OUT_PIN2_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1009 #define GPIO_OUT_PIN2_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1010
gkroussos 0:637031152314 1011 /* Bit 1 : Pin 1. */
gkroussos 0:637031152314 1012 #define GPIO_OUT_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
gkroussos 0:637031152314 1013 #define GPIO_OUT_PIN1_Msk (0x1UL << GPIO_OUT_PIN1_Pos) /*!< Bit mask of PIN1 field. */
gkroussos 0:637031152314 1014 #define GPIO_OUT_PIN1_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1015 #define GPIO_OUT_PIN1_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1016
gkroussos 0:637031152314 1017 /* Bit 0 : Pin 0. */
gkroussos 0:637031152314 1018 #define GPIO_OUT_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
gkroussos 0:637031152314 1019 #define GPIO_OUT_PIN0_Msk (0x1UL << GPIO_OUT_PIN0_Pos) /*!< Bit mask of PIN0 field. */
gkroussos 0:637031152314 1020 #define GPIO_OUT_PIN0_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1021 #define GPIO_OUT_PIN0_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1022
gkroussos 0:637031152314 1023 /* Register: GPIO_OUTSET */
gkroussos 0:637031152314 1024 /* Description: Set individual bits in GPIO port. */
gkroussos 0:637031152314 1025
gkroussos 0:637031152314 1026 /* Bit 31 : Pin 31. */
gkroussos 0:637031152314 1027 #define GPIO_OUTSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
gkroussos 0:637031152314 1028 #define GPIO_OUTSET_PIN31_Msk (0x1UL << GPIO_OUTSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
gkroussos 0:637031152314 1029 #define GPIO_OUTSET_PIN31_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1030 #define GPIO_OUTSET_PIN31_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1031 #define GPIO_OUTSET_PIN31_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1032
gkroussos 0:637031152314 1033 /* Bit 30 : Pin 30. */
gkroussos 0:637031152314 1034 #define GPIO_OUTSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
gkroussos 0:637031152314 1035 #define GPIO_OUTSET_PIN30_Msk (0x1UL << GPIO_OUTSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
gkroussos 0:637031152314 1036 #define GPIO_OUTSET_PIN30_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1037 #define GPIO_OUTSET_PIN30_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1038 #define GPIO_OUTSET_PIN30_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1039
gkroussos 0:637031152314 1040 /* Bit 29 : Pin 29. */
gkroussos 0:637031152314 1041 #define GPIO_OUTSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
gkroussos 0:637031152314 1042 #define GPIO_OUTSET_PIN29_Msk (0x1UL << GPIO_OUTSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
gkroussos 0:637031152314 1043 #define GPIO_OUTSET_PIN29_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1044 #define GPIO_OUTSET_PIN29_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1045 #define GPIO_OUTSET_PIN29_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1046
gkroussos 0:637031152314 1047 /* Bit 28 : Pin 28. */
gkroussos 0:637031152314 1048 #define GPIO_OUTSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
gkroussos 0:637031152314 1049 #define GPIO_OUTSET_PIN28_Msk (0x1UL << GPIO_OUTSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
gkroussos 0:637031152314 1050 #define GPIO_OUTSET_PIN28_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1051 #define GPIO_OUTSET_PIN28_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1052 #define GPIO_OUTSET_PIN28_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1053
gkroussos 0:637031152314 1054 /* Bit 27 : Pin 27. */
gkroussos 0:637031152314 1055 #define GPIO_OUTSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
gkroussos 0:637031152314 1056 #define GPIO_OUTSET_PIN27_Msk (0x1UL << GPIO_OUTSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
gkroussos 0:637031152314 1057 #define GPIO_OUTSET_PIN27_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1058 #define GPIO_OUTSET_PIN27_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1059 #define GPIO_OUTSET_PIN27_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1060
gkroussos 0:637031152314 1061 /* Bit 26 : Pin 26. */
gkroussos 0:637031152314 1062 #define GPIO_OUTSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
gkroussos 0:637031152314 1063 #define GPIO_OUTSET_PIN26_Msk (0x1UL << GPIO_OUTSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
gkroussos 0:637031152314 1064 #define GPIO_OUTSET_PIN26_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1065 #define GPIO_OUTSET_PIN26_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1066 #define GPIO_OUTSET_PIN26_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1067
gkroussos 0:637031152314 1068 /* Bit 25 : Pin 25. */
gkroussos 0:637031152314 1069 #define GPIO_OUTSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
gkroussos 0:637031152314 1070 #define GPIO_OUTSET_PIN25_Msk (0x1UL << GPIO_OUTSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
gkroussos 0:637031152314 1071 #define GPIO_OUTSET_PIN25_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1072 #define GPIO_OUTSET_PIN25_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1073 #define GPIO_OUTSET_PIN25_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1074
gkroussos 0:637031152314 1075 /* Bit 24 : Pin 24. */
gkroussos 0:637031152314 1076 #define GPIO_OUTSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
gkroussos 0:637031152314 1077 #define GPIO_OUTSET_PIN24_Msk (0x1UL << GPIO_OUTSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
gkroussos 0:637031152314 1078 #define GPIO_OUTSET_PIN24_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1079 #define GPIO_OUTSET_PIN24_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1080 #define GPIO_OUTSET_PIN24_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1081
gkroussos 0:637031152314 1082 /* Bit 23 : Pin 23. */
gkroussos 0:637031152314 1083 #define GPIO_OUTSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
gkroussos 0:637031152314 1084 #define GPIO_OUTSET_PIN23_Msk (0x1UL << GPIO_OUTSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
gkroussos 0:637031152314 1085 #define GPIO_OUTSET_PIN23_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1086 #define GPIO_OUTSET_PIN23_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1087 #define GPIO_OUTSET_PIN23_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1088
gkroussos 0:637031152314 1089 /* Bit 22 : Pin 22. */
gkroussos 0:637031152314 1090 #define GPIO_OUTSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
gkroussos 0:637031152314 1091 #define GPIO_OUTSET_PIN22_Msk (0x1UL << GPIO_OUTSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
gkroussos 0:637031152314 1092 #define GPIO_OUTSET_PIN22_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1093 #define GPIO_OUTSET_PIN22_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1094 #define GPIO_OUTSET_PIN22_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1095
gkroussos 0:637031152314 1096 /* Bit 21 : Pin 21. */
gkroussos 0:637031152314 1097 #define GPIO_OUTSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
gkroussos 0:637031152314 1098 #define GPIO_OUTSET_PIN21_Msk (0x1UL << GPIO_OUTSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
gkroussos 0:637031152314 1099 #define GPIO_OUTSET_PIN21_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1100 #define GPIO_OUTSET_PIN21_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1101 #define GPIO_OUTSET_PIN21_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1102
gkroussos 0:637031152314 1103 /* Bit 20 : Pin 20. */
gkroussos 0:637031152314 1104 #define GPIO_OUTSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
gkroussos 0:637031152314 1105 #define GPIO_OUTSET_PIN20_Msk (0x1UL << GPIO_OUTSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
gkroussos 0:637031152314 1106 #define GPIO_OUTSET_PIN20_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1107 #define GPIO_OUTSET_PIN20_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1108 #define GPIO_OUTSET_PIN20_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1109
gkroussos 0:637031152314 1110 /* Bit 19 : Pin 19. */
gkroussos 0:637031152314 1111 #define GPIO_OUTSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
gkroussos 0:637031152314 1112 #define GPIO_OUTSET_PIN19_Msk (0x1UL << GPIO_OUTSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
gkroussos 0:637031152314 1113 #define GPIO_OUTSET_PIN19_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1114 #define GPIO_OUTSET_PIN19_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1115 #define GPIO_OUTSET_PIN19_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1116
gkroussos 0:637031152314 1117 /* Bit 18 : Pin 18. */
gkroussos 0:637031152314 1118 #define GPIO_OUTSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
gkroussos 0:637031152314 1119 #define GPIO_OUTSET_PIN18_Msk (0x1UL << GPIO_OUTSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
gkroussos 0:637031152314 1120 #define GPIO_OUTSET_PIN18_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1121 #define GPIO_OUTSET_PIN18_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1122 #define GPIO_OUTSET_PIN18_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1123
gkroussos 0:637031152314 1124 /* Bit 17 : Pin 17. */
gkroussos 0:637031152314 1125 #define GPIO_OUTSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
gkroussos 0:637031152314 1126 #define GPIO_OUTSET_PIN17_Msk (0x1UL << GPIO_OUTSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
gkroussos 0:637031152314 1127 #define GPIO_OUTSET_PIN17_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1128 #define GPIO_OUTSET_PIN17_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1129 #define GPIO_OUTSET_PIN17_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1130
gkroussos 0:637031152314 1131 /* Bit 16 : Pin 16. */
gkroussos 0:637031152314 1132 #define GPIO_OUTSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
gkroussos 0:637031152314 1133 #define GPIO_OUTSET_PIN16_Msk (0x1UL << GPIO_OUTSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
gkroussos 0:637031152314 1134 #define GPIO_OUTSET_PIN16_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1135 #define GPIO_OUTSET_PIN16_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1136 #define GPIO_OUTSET_PIN16_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1137
gkroussos 0:637031152314 1138 /* Bit 15 : Pin 15. */
gkroussos 0:637031152314 1139 #define GPIO_OUTSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
gkroussos 0:637031152314 1140 #define GPIO_OUTSET_PIN15_Msk (0x1UL << GPIO_OUTSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
gkroussos 0:637031152314 1141 #define GPIO_OUTSET_PIN15_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1142 #define GPIO_OUTSET_PIN15_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1143 #define GPIO_OUTSET_PIN15_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1144
gkroussos 0:637031152314 1145 /* Bit 14 : Pin 14. */
gkroussos 0:637031152314 1146 #define GPIO_OUTSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
gkroussos 0:637031152314 1147 #define GPIO_OUTSET_PIN14_Msk (0x1UL << GPIO_OUTSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
gkroussos 0:637031152314 1148 #define GPIO_OUTSET_PIN14_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1149 #define GPIO_OUTSET_PIN14_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1150 #define GPIO_OUTSET_PIN14_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1151
gkroussos 0:637031152314 1152 /* Bit 13 : Pin 13. */
gkroussos 0:637031152314 1153 #define GPIO_OUTSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
gkroussos 0:637031152314 1154 #define GPIO_OUTSET_PIN13_Msk (0x1UL << GPIO_OUTSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
gkroussos 0:637031152314 1155 #define GPIO_OUTSET_PIN13_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1156 #define GPIO_OUTSET_PIN13_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1157 #define GPIO_OUTSET_PIN13_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1158
gkroussos 0:637031152314 1159 /* Bit 12 : Pin 12. */
gkroussos 0:637031152314 1160 #define GPIO_OUTSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
gkroussos 0:637031152314 1161 #define GPIO_OUTSET_PIN12_Msk (0x1UL << GPIO_OUTSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
gkroussos 0:637031152314 1162 #define GPIO_OUTSET_PIN12_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1163 #define GPIO_OUTSET_PIN12_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1164 #define GPIO_OUTSET_PIN12_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1165
gkroussos 0:637031152314 1166 /* Bit 11 : Pin 11. */
gkroussos 0:637031152314 1167 #define GPIO_OUTSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
gkroussos 0:637031152314 1168 #define GPIO_OUTSET_PIN11_Msk (0x1UL << GPIO_OUTSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
gkroussos 0:637031152314 1169 #define GPIO_OUTSET_PIN11_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1170 #define GPIO_OUTSET_PIN11_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1171 #define GPIO_OUTSET_PIN11_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1172
gkroussos 0:637031152314 1173 /* Bit 10 : Pin 10. */
gkroussos 0:637031152314 1174 #define GPIO_OUTSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
gkroussos 0:637031152314 1175 #define GPIO_OUTSET_PIN10_Msk (0x1UL << GPIO_OUTSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
gkroussos 0:637031152314 1176 #define GPIO_OUTSET_PIN10_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1177 #define GPIO_OUTSET_PIN10_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1178 #define GPIO_OUTSET_PIN10_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1179
gkroussos 0:637031152314 1180 /* Bit 9 : Pin 9. */
gkroussos 0:637031152314 1181 #define GPIO_OUTSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
gkroussos 0:637031152314 1182 #define GPIO_OUTSET_PIN9_Msk (0x1UL << GPIO_OUTSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
gkroussos 0:637031152314 1183 #define GPIO_OUTSET_PIN9_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1184 #define GPIO_OUTSET_PIN9_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1185 #define GPIO_OUTSET_PIN9_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1186
gkroussos 0:637031152314 1187 /* Bit 8 : Pin 8. */
gkroussos 0:637031152314 1188 #define GPIO_OUTSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
gkroussos 0:637031152314 1189 #define GPIO_OUTSET_PIN8_Msk (0x1UL << GPIO_OUTSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
gkroussos 0:637031152314 1190 #define GPIO_OUTSET_PIN8_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1191 #define GPIO_OUTSET_PIN8_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1192 #define GPIO_OUTSET_PIN8_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1193
gkroussos 0:637031152314 1194 /* Bit 7 : Pin 7. */
gkroussos 0:637031152314 1195 #define GPIO_OUTSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
gkroussos 0:637031152314 1196 #define GPIO_OUTSET_PIN7_Msk (0x1UL << GPIO_OUTSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
gkroussos 0:637031152314 1197 #define GPIO_OUTSET_PIN7_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1198 #define GPIO_OUTSET_PIN7_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1199 #define GPIO_OUTSET_PIN7_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1200
gkroussos 0:637031152314 1201 /* Bit 6 : Pin 6. */
gkroussos 0:637031152314 1202 #define GPIO_OUTSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
gkroussos 0:637031152314 1203 #define GPIO_OUTSET_PIN6_Msk (0x1UL << GPIO_OUTSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
gkroussos 0:637031152314 1204 #define GPIO_OUTSET_PIN6_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1205 #define GPIO_OUTSET_PIN6_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1206 #define GPIO_OUTSET_PIN6_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1207
gkroussos 0:637031152314 1208 /* Bit 5 : Pin 5. */
gkroussos 0:637031152314 1209 #define GPIO_OUTSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
gkroussos 0:637031152314 1210 #define GPIO_OUTSET_PIN5_Msk (0x1UL << GPIO_OUTSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
gkroussos 0:637031152314 1211 #define GPIO_OUTSET_PIN5_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1212 #define GPIO_OUTSET_PIN5_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1213 #define GPIO_OUTSET_PIN5_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1214
gkroussos 0:637031152314 1215 /* Bit 4 : Pin 4. */
gkroussos 0:637031152314 1216 #define GPIO_OUTSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
gkroussos 0:637031152314 1217 #define GPIO_OUTSET_PIN4_Msk (0x1UL << GPIO_OUTSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
gkroussos 0:637031152314 1218 #define GPIO_OUTSET_PIN4_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1219 #define GPIO_OUTSET_PIN4_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1220 #define GPIO_OUTSET_PIN4_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1221
gkroussos 0:637031152314 1222 /* Bit 3 : Pin 3. */
gkroussos 0:637031152314 1223 #define GPIO_OUTSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
gkroussos 0:637031152314 1224 #define GPIO_OUTSET_PIN3_Msk (0x1UL << GPIO_OUTSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
gkroussos 0:637031152314 1225 #define GPIO_OUTSET_PIN3_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1226 #define GPIO_OUTSET_PIN3_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1227 #define GPIO_OUTSET_PIN3_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1228
gkroussos 0:637031152314 1229 /* Bit 2 : Pin 2. */
gkroussos 0:637031152314 1230 #define GPIO_OUTSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
gkroussos 0:637031152314 1231 #define GPIO_OUTSET_PIN2_Msk (0x1UL << GPIO_OUTSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
gkroussos 0:637031152314 1232 #define GPIO_OUTSET_PIN2_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1233 #define GPIO_OUTSET_PIN2_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1234 #define GPIO_OUTSET_PIN2_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1235
gkroussos 0:637031152314 1236 /* Bit 1 : Pin 1. */
gkroussos 0:637031152314 1237 #define GPIO_OUTSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
gkroussos 0:637031152314 1238 #define GPIO_OUTSET_PIN1_Msk (0x1UL << GPIO_OUTSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
gkroussos 0:637031152314 1239 #define GPIO_OUTSET_PIN1_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1240 #define GPIO_OUTSET_PIN1_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1241 #define GPIO_OUTSET_PIN1_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1242
gkroussos 0:637031152314 1243 /* Bit 0 : Pin 0. */
gkroussos 0:637031152314 1244 #define GPIO_OUTSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
gkroussos 0:637031152314 1245 #define GPIO_OUTSET_PIN0_Msk (0x1UL << GPIO_OUTSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
gkroussos 0:637031152314 1246 #define GPIO_OUTSET_PIN0_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1247 #define GPIO_OUTSET_PIN0_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1248 #define GPIO_OUTSET_PIN0_Set (1UL) /*!< Set pin driver high. */
gkroussos 0:637031152314 1249
gkroussos 0:637031152314 1250 /* Register: GPIO_OUTCLR */
gkroussos 0:637031152314 1251 /* Description: Clear individual bits in GPIO port. */
gkroussos 0:637031152314 1252
gkroussos 0:637031152314 1253 /* Bit 31 : Pin 31. */
gkroussos 0:637031152314 1254 #define GPIO_OUTCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
gkroussos 0:637031152314 1255 #define GPIO_OUTCLR_PIN31_Msk (0x1UL << GPIO_OUTCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
gkroussos 0:637031152314 1256 #define GPIO_OUTCLR_PIN31_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1257 #define GPIO_OUTCLR_PIN31_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1258 #define GPIO_OUTCLR_PIN31_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1259
gkroussos 0:637031152314 1260 /* Bit 30 : Pin 30. */
gkroussos 0:637031152314 1261 #define GPIO_OUTCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
gkroussos 0:637031152314 1262 #define GPIO_OUTCLR_PIN30_Msk (0x1UL << GPIO_OUTCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
gkroussos 0:637031152314 1263 #define GPIO_OUTCLR_PIN30_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1264 #define GPIO_OUTCLR_PIN30_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1265 #define GPIO_OUTCLR_PIN30_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1266
gkroussos 0:637031152314 1267 /* Bit 29 : Pin 29. */
gkroussos 0:637031152314 1268 #define GPIO_OUTCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
gkroussos 0:637031152314 1269 #define GPIO_OUTCLR_PIN29_Msk (0x1UL << GPIO_OUTCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
gkroussos 0:637031152314 1270 #define GPIO_OUTCLR_PIN29_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1271 #define GPIO_OUTCLR_PIN29_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1272 #define GPIO_OUTCLR_PIN29_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1273
gkroussos 0:637031152314 1274 /* Bit 28 : Pin 28. */
gkroussos 0:637031152314 1275 #define GPIO_OUTCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
gkroussos 0:637031152314 1276 #define GPIO_OUTCLR_PIN28_Msk (0x1UL << GPIO_OUTCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
gkroussos 0:637031152314 1277 #define GPIO_OUTCLR_PIN28_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1278 #define GPIO_OUTCLR_PIN28_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1279 #define GPIO_OUTCLR_PIN28_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1280
gkroussos 0:637031152314 1281 /* Bit 27 : Pin 27. */
gkroussos 0:637031152314 1282 #define GPIO_OUTCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
gkroussos 0:637031152314 1283 #define GPIO_OUTCLR_PIN27_Msk (0x1UL << GPIO_OUTCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
gkroussos 0:637031152314 1284 #define GPIO_OUTCLR_PIN27_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1285 #define GPIO_OUTCLR_PIN27_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1286 #define GPIO_OUTCLR_PIN27_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1287
gkroussos 0:637031152314 1288 /* Bit 26 : Pin 26. */
gkroussos 0:637031152314 1289 #define GPIO_OUTCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
gkroussos 0:637031152314 1290 #define GPIO_OUTCLR_PIN26_Msk (0x1UL << GPIO_OUTCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
gkroussos 0:637031152314 1291 #define GPIO_OUTCLR_PIN26_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1292 #define GPIO_OUTCLR_PIN26_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1293 #define GPIO_OUTCLR_PIN26_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1294
gkroussos 0:637031152314 1295 /* Bit 25 : Pin 25. */
gkroussos 0:637031152314 1296 #define GPIO_OUTCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
gkroussos 0:637031152314 1297 #define GPIO_OUTCLR_PIN25_Msk (0x1UL << GPIO_OUTCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
gkroussos 0:637031152314 1298 #define GPIO_OUTCLR_PIN25_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1299 #define GPIO_OUTCLR_PIN25_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1300 #define GPIO_OUTCLR_PIN25_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1301
gkroussos 0:637031152314 1302 /* Bit 24 : Pin 24. */
gkroussos 0:637031152314 1303 #define GPIO_OUTCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
gkroussos 0:637031152314 1304 #define GPIO_OUTCLR_PIN24_Msk (0x1UL << GPIO_OUTCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
gkroussos 0:637031152314 1305 #define GPIO_OUTCLR_PIN24_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1306 #define GPIO_OUTCLR_PIN24_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1307 #define GPIO_OUTCLR_PIN24_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1308
gkroussos 0:637031152314 1309 /* Bit 23 : Pin 23. */
gkroussos 0:637031152314 1310 #define GPIO_OUTCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
gkroussos 0:637031152314 1311 #define GPIO_OUTCLR_PIN23_Msk (0x1UL << GPIO_OUTCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
gkroussos 0:637031152314 1312 #define GPIO_OUTCLR_PIN23_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1313 #define GPIO_OUTCLR_PIN23_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1314 #define GPIO_OUTCLR_PIN23_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1315
gkroussos 0:637031152314 1316 /* Bit 22 : Pin 22. */
gkroussos 0:637031152314 1317 #define GPIO_OUTCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
gkroussos 0:637031152314 1318 #define GPIO_OUTCLR_PIN22_Msk (0x1UL << GPIO_OUTCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
gkroussos 0:637031152314 1319 #define GPIO_OUTCLR_PIN22_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1320 #define GPIO_OUTCLR_PIN22_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1321 #define GPIO_OUTCLR_PIN22_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1322
gkroussos 0:637031152314 1323 /* Bit 21 : Pin 21. */
gkroussos 0:637031152314 1324 #define GPIO_OUTCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
gkroussos 0:637031152314 1325 #define GPIO_OUTCLR_PIN21_Msk (0x1UL << GPIO_OUTCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
gkroussos 0:637031152314 1326 #define GPIO_OUTCLR_PIN21_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1327 #define GPIO_OUTCLR_PIN21_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1328 #define GPIO_OUTCLR_PIN21_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1329
gkroussos 0:637031152314 1330 /* Bit 20 : Pin 20. */
gkroussos 0:637031152314 1331 #define GPIO_OUTCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
gkroussos 0:637031152314 1332 #define GPIO_OUTCLR_PIN20_Msk (0x1UL << GPIO_OUTCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
gkroussos 0:637031152314 1333 #define GPIO_OUTCLR_PIN20_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1334 #define GPIO_OUTCLR_PIN20_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1335 #define GPIO_OUTCLR_PIN20_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1336
gkroussos 0:637031152314 1337 /* Bit 19 : Pin 19. */
gkroussos 0:637031152314 1338 #define GPIO_OUTCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
gkroussos 0:637031152314 1339 #define GPIO_OUTCLR_PIN19_Msk (0x1UL << GPIO_OUTCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
gkroussos 0:637031152314 1340 #define GPIO_OUTCLR_PIN19_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1341 #define GPIO_OUTCLR_PIN19_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1342 #define GPIO_OUTCLR_PIN19_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1343
gkroussos 0:637031152314 1344 /* Bit 18 : Pin 18. */
gkroussos 0:637031152314 1345 #define GPIO_OUTCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
gkroussos 0:637031152314 1346 #define GPIO_OUTCLR_PIN18_Msk (0x1UL << GPIO_OUTCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
gkroussos 0:637031152314 1347 #define GPIO_OUTCLR_PIN18_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1348 #define GPIO_OUTCLR_PIN18_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1349 #define GPIO_OUTCLR_PIN18_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1350
gkroussos 0:637031152314 1351 /* Bit 17 : Pin 17. */
gkroussos 0:637031152314 1352 #define GPIO_OUTCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
gkroussos 0:637031152314 1353 #define GPIO_OUTCLR_PIN17_Msk (0x1UL << GPIO_OUTCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
gkroussos 0:637031152314 1354 #define GPIO_OUTCLR_PIN17_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1355 #define GPIO_OUTCLR_PIN17_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1356 #define GPIO_OUTCLR_PIN17_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1357
gkroussos 0:637031152314 1358 /* Bit 16 : Pin 16. */
gkroussos 0:637031152314 1359 #define GPIO_OUTCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
gkroussos 0:637031152314 1360 #define GPIO_OUTCLR_PIN16_Msk (0x1UL << GPIO_OUTCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
gkroussos 0:637031152314 1361 #define GPIO_OUTCLR_PIN16_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1362 #define GPIO_OUTCLR_PIN16_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1363 #define GPIO_OUTCLR_PIN16_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1364
gkroussos 0:637031152314 1365 /* Bit 15 : Pin 15. */
gkroussos 0:637031152314 1366 #define GPIO_OUTCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
gkroussos 0:637031152314 1367 #define GPIO_OUTCLR_PIN15_Msk (0x1UL << GPIO_OUTCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
gkroussos 0:637031152314 1368 #define GPIO_OUTCLR_PIN15_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1369 #define GPIO_OUTCLR_PIN15_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1370 #define GPIO_OUTCLR_PIN15_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1371
gkroussos 0:637031152314 1372 /* Bit 14 : Pin 14. */
gkroussos 0:637031152314 1373 #define GPIO_OUTCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
gkroussos 0:637031152314 1374 #define GPIO_OUTCLR_PIN14_Msk (0x1UL << GPIO_OUTCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
gkroussos 0:637031152314 1375 #define GPIO_OUTCLR_PIN14_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1376 #define GPIO_OUTCLR_PIN14_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1377 #define GPIO_OUTCLR_PIN14_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1378
gkroussos 0:637031152314 1379 /* Bit 13 : Pin 13. */
gkroussos 0:637031152314 1380 #define GPIO_OUTCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
gkroussos 0:637031152314 1381 #define GPIO_OUTCLR_PIN13_Msk (0x1UL << GPIO_OUTCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
gkroussos 0:637031152314 1382 #define GPIO_OUTCLR_PIN13_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1383 #define GPIO_OUTCLR_PIN13_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1384 #define GPIO_OUTCLR_PIN13_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1385
gkroussos 0:637031152314 1386 /* Bit 12 : Pin 12. */
gkroussos 0:637031152314 1387 #define GPIO_OUTCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
gkroussos 0:637031152314 1388 #define GPIO_OUTCLR_PIN12_Msk (0x1UL << GPIO_OUTCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
gkroussos 0:637031152314 1389 #define GPIO_OUTCLR_PIN12_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1390 #define GPIO_OUTCLR_PIN12_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1391 #define GPIO_OUTCLR_PIN12_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1392
gkroussos 0:637031152314 1393 /* Bit 11 : Pin 11. */
gkroussos 0:637031152314 1394 #define GPIO_OUTCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
gkroussos 0:637031152314 1395 #define GPIO_OUTCLR_PIN11_Msk (0x1UL << GPIO_OUTCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
gkroussos 0:637031152314 1396 #define GPIO_OUTCLR_PIN11_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1397 #define GPIO_OUTCLR_PIN11_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1398 #define GPIO_OUTCLR_PIN11_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1399
gkroussos 0:637031152314 1400 /* Bit 10 : Pin 10. */
gkroussos 0:637031152314 1401 #define GPIO_OUTCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
gkroussos 0:637031152314 1402 #define GPIO_OUTCLR_PIN10_Msk (0x1UL << GPIO_OUTCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
gkroussos 0:637031152314 1403 #define GPIO_OUTCLR_PIN10_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1404 #define GPIO_OUTCLR_PIN10_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1405 #define GPIO_OUTCLR_PIN10_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1406
gkroussos 0:637031152314 1407 /* Bit 9 : Pin 9. */
gkroussos 0:637031152314 1408 #define GPIO_OUTCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
gkroussos 0:637031152314 1409 #define GPIO_OUTCLR_PIN9_Msk (0x1UL << GPIO_OUTCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
gkroussos 0:637031152314 1410 #define GPIO_OUTCLR_PIN9_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1411 #define GPIO_OUTCLR_PIN9_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1412 #define GPIO_OUTCLR_PIN9_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1413
gkroussos 0:637031152314 1414 /* Bit 8 : Pin 8. */
gkroussos 0:637031152314 1415 #define GPIO_OUTCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
gkroussos 0:637031152314 1416 #define GPIO_OUTCLR_PIN8_Msk (0x1UL << GPIO_OUTCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
gkroussos 0:637031152314 1417 #define GPIO_OUTCLR_PIN8_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1418 #define GPIO_OUTCLR_PIN8_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1419 #define GPIO_OUTCLR_PIN8_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1420
gkroussos 0:637031152314 1421 /* Bit 7 : Pin 7. */
gkroussos 0:637031152314 1422 #define GPIO_OUTCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
gkroussos 0:637031152314 1423 #define GPIO_OUTCLR_PIN7_Msk (0x1UL << GPIO_OUTCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
gkroussos 0:637031152314 1424 #define GPIO_OUTCLR_PIN7_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1425 #define GPIO_OUTCLR_PIN7_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1426 #define GPIO_OUTCLR_PIN7_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1427
gkroussos 0:637031152314 1428 /* Bit 6 : Pin 6. */
gkroussos 0:637031152314 1429 #define GPIO_OUTCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
gkroussos 0:637031152314 1430 #define GPIO_OUTCLR_PIN6_Msk (0x1UL << GPIO_OUTCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
gkroussos 0:637031152314 1431 #define GPIO_OUTCLR_PIN6_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1432 #define GPIO_OUTCLR_PIN6_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1433 #define GPIO_OUTCLR_PIN6_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1434
gkroussos 0:637031152314 1435 /* Bit 5 : Pin 5. */
gkroussos 0:637031152314 1436 #define GPIO_OUTCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
gkroussos 0:637031152314 1437 #define GPIO_OUTCLR_PIN5_Msk (0x1UL << GPIO_OUTCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
gkroussos 0:637031152314 1438 #define GPIO_OUTCLR_PIN5_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1439 #define GPIO_OUTCLR_PIN5_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1440 #define GPIO_OUTCLR_PIN5_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1441
gkroussos 0:637031152314 1442 /* Bit 4 : Pin 4. */
gkroussos 0:637031152314 1443 #define GPIO_OUTCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
gkroussos 0:637031152314 1444 #define GPIO_OUTCLR_PIN4_Msk (0x1UL << GPIO_OUTCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
gkroussos 0:637031152314 1445 #define GPIO_OUTCLR_PIN4_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1446 #define GPIO_OUTCLR_PIN4_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1447 #define GPIO_OUTCLR_PIN4_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1448
gkroussos 0:637031152314 1449 /* Bit 3 : Pin 3. */
gkroussos 0:637031152314 1450 #define GPIO_OUTCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
gkroussos 0:637031152314 1451 #define GPIO_OUTCLR_PIN3_Msk (0x1UL << GPIO_OUTCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
gkroussos 0:637031152314 1452 #define GPIO_OUTCLR_PIN3_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1453 #define GPIO_OUTCLR_PIN3_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1454 #define GPIO_OUTCLR_PIN3_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1455
gkroussos 0:637031152314 1456 /* Bit 2 : Pin 2. */
gkroussos 0:637031152314 1457 #define GPIO_OUTCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
gkroussos 0:637031152314 1458 #define GPIO_OUTCLR_PIN2_Msk (0x1UL << GPIO_OUTCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
gkroussos 0:637031152314 1459 #define GPIO_OUTCLR_PIN2_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1460 #define GPIO_OUTCLR_PIN2_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1461 #define GPIO_OUTCLR_PIN2_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1462
gkroussos 0:637031152314 1463 /* Bit 1 : Pin 1. */
gkroussos 0:637031152314 1464 #define GPIO_OUTCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
gkroussos 0:637031152314 1465 #define GPIO_OUTCLR_PIN1_Msk (0x1UL << GPIO_OUTCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
gkroussos 0:637031152314 1466 #define GPIO_OUTCLR_PIN1_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1467 #define GPIO_OUTCLR_PIN1_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1468 #define GPIO_OUTCLR_PIN1_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1469
gkroussos 0:637031152314 1470 /* Bit 0 : Pin 0. */
gkroussos 0:637031152314 1471 #define GPIO_OUTCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
gkroussos 0:637031152314 1472 #define GPIO_OUTCLR_PIN0_Msk (0x1UL << GPIO_OUTCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
gkroussos 0:637031152314 1473 #define GPIO_OUTCLR_PIN0_Low (0UL) /*!< Pin driver is low. */
gkroussos 0:637031152314 1474 #define GPIO_OUTCLR_PIN0_High (1UL) /*!< Pin driver is high. */
gkroussos 0:637031152314 1475 #define GPIO_OUTCLR_PIN0_Clear (1UL) /*!< Set pin driver low. */
gkroussos 0:637031152314 1476
gkroussos 0:637031152314 1477 /* Register: GPIO_IN */
gkroussos 0:637031152314 1478 /* Description: Read GPIO port. */
gkroussos 0:637031152314 1479
gkroussos 0:637031152314 1480 /* Bit 31 : Pin 31. */
gkroussos 0:637031152314 1481 #define GPIO_IN_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
gkroussos 0:637031152314 1482 #define GPIO_IN_PIN31_Msk (0x1UL << GPIO_IN_PIN31_Pos) /*!< Bit mask of PIN31 field. */
gkroussos 0:637031152314 1483 #define GPIO_IN_PIN31_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1484 #define GPIO_IN_PIN31_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1485
gkroussos 0:637031152314 1486 /* Bit 30 : Pin 30. */
gkroussos 0:637031152314 1487 #define GPIO_IN_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
gkroussos 0:637031152314 1488 #define GPIO_IN_PIN30_Msk (0x1UL << GPIO_IN_PIN30_Pos) /*!< Bit mask of PIN30 field. */
gkroussos 0:637031152314 1489 #define GPIO_IN_PIN30_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1490 #define GPIO_IN_PIN30_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1491
gkroussos 0:637031152314 1492 /* Bit 29 : Pin 29. */
gkroussos 0:637031152314 1493 #define GPIO_IN_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
gkroussos 0:637031152314 1494 #define GPIO_IN_PIN29_Msk (0x1UL << GPIO_IN_PIN29_Pos) /*!< Bit mask of PIN29 field. */
gkroussos 0:637031152314 1495 #define GPIO_IN_PIN29_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1496 #define GPIO_IN_PIN29_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1497
gkroussos 0:637031152314 1498 /* Bit 28 : Pin 28. */
gkroussos 0:637031152314 1499 #define GPIO_IN_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
gkroussos 0:637031152314 1500 #define GPIO_IN_PIN28_Msk (0x1UL << GPIO_IN_PIN28_Pos) /*!< Bit mask of PIN28 field. */
gkroussos 0:637031152314 1501 #define GPIO_IN_PIN28_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1502 #define GPIO_IN_PIN28_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1503
gkroussos 0:637031152314 1504 /* Bit 27 : Pin 27. */
gkroussos 0:637031152314 1505 #define GPIO_IN_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
gkroussos 0:637031152314 1506 #define GPIO_IN_PIN27_Msk (0x1UL << GPIO_IN_PIN27_Pos) /*!< Bit mask of PIN27 field. */
gkroussos 0:637031152314 1507 #define GPIO_IN_PIN27_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1508 #define GPIO_IN_PIN27_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1509
gkroussos 0:637031152314 1510 /* Bit 26 : Pin 26. */
gkroussos 0:637031152314 1511 #define GPIO_IN_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
gkroussos 0:637031152314 1512 #define GPIO_IN_PIN26_Msk (0x1UL << GPIO_IN_PIN26_Pos) /*!< Bit mask of PIN26 field. */
gkroussos 0:637031152314 1513 #define GPIO_IN_PIN26_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1514 #define GPIO_IN_PIN26_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1515
gkroussos 0:637031152314 1516 /* Bit 25 : Pin 25. */
gkroussos 0:637031152314 1517 #define GPIO_IN_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
gkroussos 0:637031152314 1518 #define GPIO_IN_PIN25_Msk (0x1UL << GPIO_IN_PIN25_Pos) /*!< Bit mask of PIN25 field. */
gkroussos 0:637031152314 1519 #define GPIO_IN_PIN25_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1520 #define GPIO_IN_PIN25_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1521
gkroussos 0:637031152314 1522 /* Bit 24 : Pin 24. */
gkroussos 0:637031152314 1523 #define GPIO_IN_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
gkroussos 0:637031152314 1524 #define GPIO_IN_PIN24_Msk (0x1UL << GPIO_IN_PIN24_Pos) /*!< Bit mask of PIN24 field. */
gkroussos 0:637031152314 1525 #define GPIO_IN_PIN24_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1526 #define GPIO_IN_PIN24_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1527
gkroussos 0:637031152314 1528 /* Bit 23 : Pin 23. */
gkroussos 0:637031152314 1529 #define GPIO_IN_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
gkroussos 0:637031152314 1530 #define GPIO_IN_PIN23_Msk (0x1UL << GPIO_IN_PIN23_Pos) /*!< Bit mask of PIN23 field. */
gkroussos 0:637031152314 1531 #define GPIO_IN_PIN23_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1532 #define GPIO_IN_PIN23_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1533
gkroussos 0:637031152314 1534 /* Bit 22 : Pin 22. */
gkroussos 0:637031152314 1535 #define GPIO_IN_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
gkroussos 0:637031152314 1536 #define GPIO_IN_PIN22_Msk (0x1UL << GPIO_IN_PIN22_Pos) /*!< Bit mask of PIN22 field. */
gkroussos 0:637031152314 1537 #define GPIO_IN_PIN22_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1538 #define GPIO_IN_PIN22_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1539
gkroussos 0:637031152314 1540 /* Bit 21 : Pin 21. */
gkroussos 0:637031152314 1541 #define GPIO_IN_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
gkroussos 0:637031152314 1542 #define GPIO_IN_PIN21_Msk (0x1UL << GPIO_IN_PIN21_Pos) /*!< Bit mask of PIN21 field. */
gkroussos 0:637031152314 1543 #define GPIO_IN_PIN21_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1544 #define GPIO_IN_PIN21_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1545
gkroussos 0:637031152314 1546 /* Bit 20 : Pin 20. */
gkroussos 0:637031152314 1547 #define GPIO_IN_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
gkroussos 0:637031152314 1548 #define GPIO_IN_PIN20_Msk (0x1UL << GPIO_IN_PIN20_Pos) /*!< Bit mask of PIN20 field. */
gkroussos 0:637031152314 1549 #define GPIO_IN_PIN20_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1550 #define GPIO_IN_PIN20_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1551
gkroussos 0:637031152314 1552 /* Bit 19 : Pin 19. */
gkroussos 0:637031152314 1553 #define GPIO_IN_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
gkroussos 0:637031152314 1554 #define GPIO_IN_PIN19_Msk (0x1UL << GPIO_IN_PIN19_Pos) /*!< Bit mask of PIN19 field. */
gkroussos 0:637031152314 1555 #define GPIO_IN_PIN19_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1556 #define GPIO_IN_PIN19_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1557
gkroussos 0:637031152314 1558 /* Bit 18 : Pin 18. */
gkroussos 0:637031152314 1559 #define GPIO_IN_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
gkroussos 0:637031152314 1560 #define GPIO_IN_PIN18_Msk (0x1UL << GPIO_IN_PIN18_Pos) /*!< Bit mask of PIN18 field. */
gkroussos 0:637031152314 1561 #define GPIO_IN_PIN18_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1562 #define GPIO_IN_PIN18_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1563
gkroussos 0:637031152314 1564 /* Bit 17 : Pin 17. */
gkroussos 0:637031152314 1565 #define GPIO_IN_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
gkroussos 0:637031152314 1566 #define GPIO_IN_PIN17_Msk (0x1UL << GPIO_IN_PIN17_Pos) /*!< Bit mask of PIN17 field. */
gkroussos 0:637031152314 1567 #define GPIO_IN_PIN17_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1568 #define GPIO_IN_PIN17_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1569
gkroussos 0:637031152314 1570 /* Bit 16 : Pin 16. */
gkroussos 0:637031152314 1571 #define GPIO_IN_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
gkroussos 0:637031152314 1572 #define GPIO_IN_PIN16_Msk (0x1UL << GPIO_IN_PIN16_Pos) /*!< Bit mask of PIN16 field. */
gkroussos 0:637031152314 1573 #define GPIO_IN_PIN16_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1574 #define GPIO_IN_PIN16_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1575
gkroussos 0:637031152314 1576 /* Bit 15 : Pin 15. */
gkroussos 0:637031152314 1577 #define GPIO_IN_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
gkroussos 0:637031152314 1578 #define GPIO_IN_PIN15_Msk (0x1UL << GPIO_IN_PIN15_Pos) /*!< Bit mask of PIN15 field. */
gkroussos 0:637031152314 1579 #define GPIO_IN_PIN15_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1580 #define GPIO_IN_PIN15_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1581
gkroussos 0:637031152314 1582 /* Bit 14 : Pin 14. */
gkroussos 0:637031152314 1583 #define GPIO_IN_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
gkroussos 0:637031152314 1584 #define GPIO_IN_PIN14_Msk (0x1UL << GPIO_IN_PIN14_Pos) /*!< Bit mask of PIN14 field. */
gkroussos 0:637031152314 1585 #define GPIO_IN_PIN14_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1586 #define GPIO_IN_PIN14_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1587
gkroussos 0:637031152314 1588 /* Bit 13 : Pin 13. */
gkroussos 0:637031152314 1589 #define GPIO_IN_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
gkroussos 0:637031152314 1590 #define GPIO_IN_PIN13_Msk (0x1UL << GPIO_IN_PIN13_Pos) /*!< Bit mask of PIN13 field. */
gkroussos 0:637031152314 1591 #define GPIO_IN_PIN13_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1592 #define GPIO_IN_PIN13_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1593
gkroussos 0:637031152314 1594 /* Bit 12 : Pin 12. */
gkroussos 0:637031152314 1595 #define GPIO_IN_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
gkroussos 0:637031152314 1596 #define GPIO_IN_PIN12_Msk (0x1UL << GPIO_IN_PIN12_Pos) /*!< Bit mask of PIN12 field. */
gkroussos 0:637031152314 1597 #define GPIO_IN_PIN12_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1598 #define GPIO_IN_PIN12_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1599
gkroussos 0:637031152314 1600 /* Bit 11 : Pin 11. */
gkroussos 0:637031152314 1601 #define GPIO_IN_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
gkroussos 0:637031152314 1602 #define GPIO_IN_PIN11_Msk (0x1UL << GPIO_IN_PIN11_Pos) /*!< Bit mask of PIN11 field. */
gkroussos 0:637031152314 1603 #define GPIO_IN_PIN11_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1604 #define GPIO_IN_PIN11_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1605
gkroussos 0:637031152314 1606 /* Bit 10 : Pin 10. */
gkroussos 0:637031152314 1607 #define GPIO_IN_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
gkroussos 0:637031152314 1608 #define GPIO_IN_PIN10_Msk (0x1UL << GPIO_IN_PIN10_Pos) /*!< Bit mask of PIN10 field. */
gkroussos 0:637031152314 1609 #define GPIO_IN_PIN10_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1610 #define GPIO_IN_PIN10_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1611
gkroussos 0:637031152314 1612 /* Bit 9 : Pin 9. */
gkroussos 0:637031152314 1613 #define GPIO_IN_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
gkroussos 0:637031152314 1614 #define GPIO_IN_PIN9_Msk (0x1UL << GPIO_IN_PIN9_Pos) /*!< Bit mask of PIN9 field. */
gkroussos 0:637031152314 1615 #define GPIO_IN_PIN9_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1616 #define GPIO_IN_PIN9_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1617
gkroussos 0:637031152314 1618 /* Bit 8 : Pin 8. */
gkroussos 0:637031152314 1619 #define GPIO_IN_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
gkroussos 0:637031152314 1620 #define GPIO_IN_PIN8_Msk (0x1UL << GPIO_IN_PIN8_Pos) /*!< Bit mask of PIN8 field. */
gkroussos 0:637031152314 1621 #define GPIO_IN_PIN8_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1622 #define GPIO_IN_PIN8_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1623
gkroussos 0:637031152314 1624 /* Bit 7 : Pin 7. */
gkroussos 0:637031152314 1625 #define GPIO_IN_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
gkroussos 0:637031152314 1626 #define GPIO_IN_PIN7_Msk (0x1UL << GPIO_IN_PIN7_Pos) /*!< Bit mask of PIN7 field. */
gkroussos 0:637031152314 1627 #define GPIO_IN_PIN7_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1628 #define GPIO_IN_PIN7_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1629
gkroussos 0:637031152314 1630 /* Bit 6 : Pin 6. */
gkroussos 0:637031152314 1631 #define GPIO_IN_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
gkroussos 0:637031152314 1632 #define GPIO_IN_PIN6_Msk (0x1UL << GPIO_IN_PIN6_Pos) /*!< Bit mask of PIN6 field. */
gkroussos 0:637031152314 1633 #define GPIO_IN_PIN6_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1634 #define GPIO_IN_PIN6_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1635
gkroussos 0:637031152314 1636 /* Bit 5 : Pin 5. */
gkroussos 0:637031152314 1637 #define GPIO_IN_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
gkroussos 0:637031152314 1638 #define GPIO_IN_PIN5_Msk (0x1UL << GPIO_IN_PIN5_Pos) /*!< Bit mask of PIN5 field. */
gkroussos 0:637031152314 1639 #define GPIO_IN_PIN5_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1640 #define GPIO_IN_PIN5_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1641
gkroussos 0:637031152314 1642 /* Bit 4 : Pin 4. */
gkroussos 0:637031152314 1643 #define GPIO_IN_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
gkroussos 0:637031152314 1644 #define GPIO_IN_PIN4_Msk (0x1UL << GPIO_IN_PIN4_Pos) /*!< Bit mask of PIN4 field. */
gkroussos 0:637031152314 1645 #define GPIO_IN_PIN4_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1646 #define GPIO_IN_PIN4_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1647
gkroussos 0:637031152314 1648 /* Bit 3 : Pin 3. */
gkroussos 0:637031152314 1649 #define GPIO_IN_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
gkroussos 0:637031152314 1650 #define GPIO_IN_PIN3_Msk (0x1UL << GPIO_IN_PIN3_Pos) /*!< Bit mask of PIN3 field. */
gkroussos 0:637031152314 1651 #define GPIO_IN_PIN3_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1652 #define GPIO_IN_PIN3_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1653
gkroussos 0:637031152314 1654 /* Bit 2 : Pin 2. */
gkroussos 0:637031152314 1655 #define GPIO_IN_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
gkroussos 0:637031152314 1656 #define GPIO_IN_PIN2_Msk (0x1UL << GPIO_IN_PIN2_Pos) /*!< Bit mask of PIN2 field. */
gkroussos 0:637031152314 1657 #define GPIO_IN_PIN2_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1658 #define GPIO_IN_PIN2_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1659
gkroussos 0:637031152314 1660 /* Bit 1 : Pin 1. */
gkroussos 0:637031152314 1661 #define GPIO_IN_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
gkroussos 0:637031152314 1662 #define GPIO_IN_PIN1_Msk (0x1UL << GPIO_IN_PIN1_Pos) /*!< Bit mask of PIN1 field. */
gkroussos 0:637031152314 1663 #define GPIO_IN_PIN1_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1664 #define GPIO_IN_PIN1_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1665
gkroussos 0:637031152314 1666 /* Bit 0 : Pin 0. */
gkroussos 0:637031152314 1667 #define GPIO_IN_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
gkroussos 0:637031152314 1668 #define GPIO_IN_PIN0_Msk (0x1UL << GPIO_IN_PIN0_Pos) /*!< Bit mask of PIN0 field. */
gkroussos 0:637031152314 1669 #define GPIO_IN_PIN0_Low (0UL) /*!< Pin input is low. */
gkroussos 0:637031152314 1670 #define GPIO_IN_PIN0_High (1UL) /*!< Pin input is high. */
gkroussos 0:637031152314 1671
gkroussos 0:637031152314 1672 /* Register: GPIO_DIR */
gkroussos 0:637031152314 1673 /* Description: Direction of GPIO pins. */
gkroussos 0:637031152314 1674
gkroussos 0:637031152314 1675 /* Bit 31 : Pin 31. */
gkroussos 0:637031152314 1676 #define GPIO_DIR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
gkroussos 0:637031152314 1677 #define GPIO_DIR_PIN31_Msk (0x1UL << GPIO_DIR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
gkroussos 0:637031152314 1678 #define GPIO_DIR_PIN31_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1679 #define GPIO_DIR_PIN31_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1680
gkroussos 0:637031152314 1681 /* Bit 30 : Pin 30. */
gkroussos 0:637031152314 1682 #define GPIO_DIR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
gkroussos 0:637031152314 1683 #define GPIO_DIR_PIN30_Msk (0x1UL << GPIO_DIR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
gkroussos 0:637031152314 1684 #define GPIO_DIR_PIN30_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1685 #define GPIO_DIR_PIN30_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1686
gkroussos 0:637031152314 1687 /* Bit 29 : Pin 29. */
gkroussos 0:637031152314 1688 #define GPIO_DIR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
gkroussos 0:637031152314 1689 #define GPIO_DIR_PIN29_Msk (0x1UL << GPIO_DIR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
gkroussos 0:637031152314 1690 #define GPIO_DIR_PIN29_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1691 #define GPIO_DIR_PIN29_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1692
gkroussos 0:637031152314 1693 /* Bit 28 : Pin 28. */
gkroussos 0:637031152314 1694 #define GPIO_DIR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
gkroussos 0:637031152314 1695 #define GPIO_DIR_PIN28_Msk (0x1UL << GPIO_DIR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
gkroussos 0:637031152314 1696 #define GPIO_DIR_PIN28_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1697 #define GPIO_DIR_PIN28_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1698
gkroussos 0:637031152314 1699 /* Bit 27 : Pin 27. */
gkroussos 0:637031152314 1700 #define GPIO_DIR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
gkroussos 0:637031152314 1701 #define GPIO_DIR_PIN27_Msk (0x1UL << GPIO_DIR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
gkroussos 0:637031152314 1702 #define GPIO_DIR_PIN27_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1703 #define GPIO_DIR_PIN27_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1704
gkroussos 0:637031152314 1705 /* Bit 26 : Pin 26. */
gkroussos 0:637031152314 1706 #define GPIO_DIR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
gkroussos 0:637031152314 1707 #define GPIO_DIR_PIN26_Msk (0x1UL << GPIO_DIR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
gkroussos 0:637031152314 1708 #define GPIO_DIR_PIN26_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1709 #define GPIO_DIR_PIN26_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1710
gkroussos 0:637031152314 1711 /* Bit 25 : Pin 25. */
gkroussos 0:637031152314 1712 #define GPIO_DIR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
gkroussos 0:637031152314 1713 #define GPIO_DIR_PIN25_Msk (0x1UL << GPIO_DIR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
gkroussos 0:637031152314 1714 #define GPIO_DIR_PIN25_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1715 #define GPIO_DIR_PIN25_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1716
gkroussos 0:637031152314 1717 /* Bit 24 : Pin 24. */
gkroussos 0:637031152314 1718 #define GPIO_DIR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
gkroussos 0:637031152314 1719 #define GPIO_DIR_PIN24_Msk (0x1UL << GPIO_DIR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
gkroussos 0:637031152314 1720 #define GPIO_DIR_PIN24_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1721 #define GPIO_DIR_PIN24_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1722
gkroussos 0:637031152314 1723 /* Bit 23 : Pin 23. */
gkroussos 0:637031152314 1724 #define GPIO_DIR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
gkroussos 0:637031152314 1725 #define GPIO_DIR_PIN23_Msk (0x1UL << GPIO_DIR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
gkroussos 0:637031152314 1726 #define GPIO_DIR_PIN23_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1727 #define GPIO_DIR_PIN23_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1728
gkroussos 0:637031152314 1729 /* Bit 22 : Pin 22. */
gkroussos 0:637031152314 1730 #define GPIO_DIR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
gkroussos 0:637031152314 1731 #define GPIO_DIR_PIN22_Msk (0x1UL << GPIO_DIR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
gkroussos 0:637031152314 1732 #define GPIO_DIR_PIN22_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1733 #define GPIO_DIR_PIN22_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1734
gkroussos 0:637031152314 1735 /* Bit 21 : Pin 21. */
gkroussos 0:637031152314 1736 #define GPIO_DIR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
gkroussos 0:637031152314 1737 #define GPIO_DIR_PIN21_Msk (0x1UL << GPIO_DIR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
gkroussos 0:637031152314 1738 #define GPIO_DIR_PIN21_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1739 #define GPIO_DIR_PIN21_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1740
gkroussos 0:637031152314 1741 /* Bit 20 : Pin 20. */
gkroussos 0:637031152314 1742 #define GPIO_DIR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
gkroussos 0:637031152314 1743 #define GPIO_DIR_PIN20_Msk (0x1UL << GPIO_DIR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
gkroussos 0:637031152314 1744 #define GPIO_DIR_PIN20_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1745 #define GPIO_DIR_PIN20_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1746
gkroussos 0:637031152314 1747 /* Bit 19 : Pin 19. */
gkroussos 0:637031152314 1748 #define GPIO_DIR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
gkroussos 0:637031152314 1749 #define GPIO_DIR_PIN19_Msk (0x1UL << GPIO_DIR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
gkroussos 0:637031152314 1750 #define GPIO_DIR_PIN19_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1751 #define GPIO_DIR_PIN19_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1752
gkroussos 0:637031152314 1753 /* Bit 18 : Pin 18. */
gkroussos 0:637031152314 1754 #define GPIO_DIR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
gkroussos 0:637031152314 1755 #define GPIO_DIR_PIN18_Msk (0x1UL << GPIO_DIR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
gkroussos 0:637031152314 1756 #define GPIO_DIR_PIN18_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1757 #define GPIO_DIR_PIN18_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1758
gkroussos 0:637031152314 1759 /* Bit 17 : Pin 17. */
gkroussos 0:637031152314 1760 #define GPIO_DIR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
gkroussos 0:637031152314 1761 #define GPIO_DIR_PIN17_Msk (0x1UL << GPIO_DIR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
gkroussos 0:637031152314 1762 #define GPIO_DIR_PIN17_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1763 #define GPIO_DIR_PIN17_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1764
gkroussos 0:637031152314 1765 /* Bit 16 : Pin 16. */
gkroussos 0:637031152314 1766 #define GPIO_DIR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
gkroussos 0:637031152314 1767 #define GPIO_DIR_PIN16_Msk (0x1UL << GPIO_DIR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
gkroussos 0:637031152314 1768 #define GPIO_DIR_PIN16_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1769 #define GPIO_DIR_PIN16_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1770
gkroussos 0:637031152314 1771 /* Bit 15 : Pin 15. */
gkroussos 0:637031152314 1772 #define GPIO_DIR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
gkroussos 0:637031152314 1773 #define GPIO_DIR_PIN15_Msk (0x1UL << GPIO_DIR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
gkroussos 0:637031152314 1774 #define GPIO_DIR_PIN15_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1775 #define GPIO_DIR_PIN15_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1776
gkroussos 0:637031152314 1777 /* Bit 14 : Pin 14. */
gkroussos 0:637031152314 1778 #define GPIO_DIR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
gkroussos 0:637031152314 1779 #define GPIO_DIR_PIN14_Msk (0x1UL << GPIO_DIR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
gkroussos 0:637031152314 1780 #define GPIO_DIR_PIN14_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1781 #define GPIO_DIR_PIN14_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1782
gkroussos 0:637031152314 1783 /* Bit 13 : Pin 13. */
gkroussos 0:637031152314 1784 #define GPIO_DIR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
gkroussos 0:637031152314 1785 #define GPIO_DIR_PIN13_Msk (0x1UL << GPIO_DIR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
gkroussos 0:637031152314 1786 #define GPIO_DIR_PIN13_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1787 #define GPIO_DIR_PIN13_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1788
gkroussos 0:637031152314 1789 /* Bit 12 : Pin 12. */
gkroussos 0:637031152314 1790 #define GPIO_DIR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
gkroussos 0:637031152314 1791 #define GPIO_DIR_PIN12_Msk (0x1UL << GPIO_DIR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
gkroussos 0:637031152314 1792 #define GPIO_DIR_PIN12_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1793 #define GPIO_DIR_PIN12_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1794
gkroussos 0:637031152314 1795 /* Bit 11 : Pin 11. */
gkroussos 0:637031152314 1796 #define GPIO_DIR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
gkroussos 0:637031152314 1797 #define GPIO_DIR_PIN11_Msk (0x1UL << GPIO_DIR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
gkroussos 0:637031152314 1798 #define GPIO_DIR_PIN11_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1799 #define GPIO_DIR_PIN11_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1800
gkroussos 0:637031152314 1801 /* Bit 10 : Pin 10. */
gkroussos 0:637031152314 1802 #define GPIO_DIR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
gkroussos 0:637031152314 1803 #define GPIO_DIR_PIN10_Msk (0x1UL << GPIO_DIR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
gkroussos 0:637031152314 1804 #define GPIO_DIR_PIN10_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1805 #define GPIO_DIR_PIN10_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1806
gkroussos 0:637031152314 1807 /* Bit 9 : Pin 9. */
gkroussos 0:637031152314 1808 #define GPIO_DIR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
gkroussos 0:637031152314 1809 #define GPIO_DIR_PIN9_Msk (0x1UL << GPIO_DIR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
gkroussos 0:637031152314 1810 #define GPIO_DIR_PIN9_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1811 #define GPIO_DIR_PIN9_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1812
gkroussos 0:637031152314 1813 /* Bit 8 : Pin 8. */
gkroussos 0:637031152314 1814 #define GPIO_DIR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
gkroussos 0:637031152314 1815 #define GPIO_DIR_PIN8_Msk (0x1UL << GPIO_DIR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
gkroussos 0:637031152314 1816 #define GPIO_DIR_PIN8_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1817 #define GPIO_DIR_PIN8_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1818
gkroussos 0:637031152314 1819 /* Bit 7 : Pin 7. */
gkroussos 0:637031152314 1820 #define GPIO_DIR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
gkroussos 0:637031152314 1821 #define GPIO_DIR_PIN7_Msk (0x1UL << GPIO_DIR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
gkroussos 0:637031152314 1822 #define GPIO_DIR_PIN7_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1823 #define GPIO_DIR_PIN7_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1824
gkroussos 0:637031152314 1825 /* Bit 6 : Pin 6. */
gkroussos 0:637031152314 1826 #define GPIO_DIR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
gkroussos 0:637031152314 1827 #define GPIO_DIR_PIN6_Msk (0x1UL << GPIO_DIR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
gkroussos 0:637031152314 1828 #define GPIO_DIR_PIN6_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1829 #define GPIO_DIR_PIN6_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1830
gkroussos 0:637031152314 1831 /* Bit 5 : Pin 5. */
gkroussos 0:637031152314 1832 #define GPIO_DIR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
gkroussos 0:637031152314 1833 #define GPIO_DIR_PIN5_Msk (0x1UL << GPIO_DIR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
gkroussos 0:637031152314 1834 #define GPIO_DIR_PIN5_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1835 #define GPIO_DIR_PIN5_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1836
gkroussos 0:637031152314 1837 /* Bit 4 : Pin 4. */
gkroussos 0:637031152314 1838 #define GPIO_DIR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
gkroussos 0:637031152314 1839 #define GPIO_DIR_PIN4_Msk (0x1UL << GPIO_DIR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
gkroussos 0:637031152314 1840 #define GPIO_DIR_PIN4_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1841 #define GPIO_DIR_PIN4_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1842
gkroussos 0:637031152314 1843 /* Bit 3 : Pin 3. */
gkroussos 0:637031152314 1844 #define GPIO_DIR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
gkroussos 0:637031152314 1845 #define GPIO_DIR_PIN3_Msk (0x1UL << GPIO_DIR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
gkroussos 0:637031152314 1846 #define GPIO_DIR_PIN3_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1847 #define GPIO_DIR_PIN3_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1848
gkroussos 0:637031152314 1849 /* Bit 2 : Pin 2. */
gkroussos 0:637031152314 1850 #define GPIO_DIR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
gkroussos 0:637031152314 1851 #define GPIO_DIR_PIN2_Msk (0x1UL << GPIO_DIR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
gkroussos 0:637031152314 1852 #define GPIO_DIR_PIN2_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1853 #define GPIO_DIR_PIN2_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1854
gkroussos 0:637031152314 1855 /* Bit 1 : Pin 1. */
gkroussos 0:637031152314 1856 #define GPIO_DIR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
gkroussos 0:637031152314 1857 #define GPIO_DIR_PIN1_Msk (0x1UL << GPIO_DIR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
gkroussos 0:637031152314 1858 #define GPIO_DIR_PIN1_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1859 #define GPIO_DIR_PIN1_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1860
gkroussos 0:637031152314 1861 /* Bit 0 : Pin 0. */
gkroussos 0:637031152314 1862 #define GPIO_DIR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
gkroussos 0:637031152314 1863 #define GPIO_DIR_PIN0_Msk (0x1UL << GPIO_DIR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
gkroussos 0:637031152314 1864 #define GPIO_DIR_PIN0_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1865 #define GPIO_DIR_PIN0_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1866
gkroussos 0:637031152314 1867 /* Register: GPIO_DIRSET */
gkroussos 0:637031152314 1868 /* Description: DIR set register. */
gkroussos 0:637031152314 1869
gkroussos 0:637031152314 1870 /* Bit 31 : Set as output pin 31. */
gkroussos 0:637031152314 1871 #define GPIO_DIRSET_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
gkroussos 0:637031152314 1872 #define GPIO_DIRSET_PIN31_Msk (0x1UL << GPIO_DIRSET_PIN31_Pos) /*!< Bit mask of PIN31 field. */
gkroussos 0:637031152314 1873 #define GPIO_DIRSET_PIN31_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1874 #define GPIO_DIRSET_PIN31_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1875 #define GPIO_DIRSET_PIN31_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1876
gkroussos 0:637031152314 1877 /* Bit 30 : Set as output pin 30. */
gkroussos 0:637031152314 1878 #define GPIO_DIRSET_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
gkroussos 0:637031152314 1879 #define GPIO_DIRSET_PIN30_Msk (0x1UL << GPIO_DIRSET_PIN30_Pos) /*!< Bit mask of PIN30 field. */
gkroussos 0:637031152314 1880 #define GPIO_DIRSET_PIN30_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1881 #define GPIO_DIRSET_PIN30_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1882 #define GPIO_DIRSET_PIN30_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1883
gkroussos 0:637031152314 1884 /* Bit 29 : Set as output pin 29. */
gkroussos 0:637031152314 1885 #define GPIO_DIRSET_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
gkroussos 0:637031152314 1886 #define GPIO_DIRSET_PIN29_Msk (0x1UL << GPIO_DIRSET_PIN29_Pos) /*!< Bit mask of PIN29 field. */
gkroussos 0:637031152314 1887 #define GPIO_DIRSET_PIN29_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1888 #define GPIO_DIRSET_PIN29_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1889 #define GPIO_DIRSET_PIN29_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1890
gkroussos 0:637031152314 1891 /* Bit 28 : Set as output pin 28. */
gkroussos 0:637031152314 1892 #define GPIO_DIRSET_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
gkroussos 0:637031152314 1893 #define GPIO_DIRSET_PIN28_Msk (0x1UL << GPIO_DIRSET_PIN28_Pos) /*!< Bit mask of PIN28 field. */
gkroussos 0:637031152314 1894 #define GPIO_DIRSET_PIN28_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1895 #define GPIO_DIRSET_PIN28_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1896 #define GPIO_DIRSET_PIN28_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1897
gkroussos 0:637031152314 1898 /* Bit 27 : Set as output pin 27. */
gkroussos 0:637031152314 1899 #define GPIO_DIRSET_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
gkroussos 0:637031152314 1900 #define GPIO_DIRSET_PIN27_Msk (0x1UL << GPIO_DIRSET_PIN27_Pos) /*!< Bit mask of PIN27 field. */
gkroussos 0:637031152314 1901 #define GPIO_DIRSET_PIN27_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1902 #define GPIO_DIRSET_PIN27_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1903 #define GPIO_DIRSET_PIN27_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1904
gkroussos 0:637031152314 1905 /* Bit 26 : Set as output pin 26. */
gkroussos 0:637031152314 1906 #define GPIO_DIRSET_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
gkroussos 0:637031152314 1907 #define GPIO_DIRSET_PIN26_Msk (0x1UL << GPIO_DIRSET_PIN26_Pos) /*!< Bit mask of PIN26 field. */
gkroussos 0:637031152314 1908 #define GPIO_DIRSET_PIN26_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1909 #define GPIO_DIRSET_PIN26_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1910 #define GPIO_DIRSET_PIN26_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1911
gkroussos 0:637031152314 1912 /* Bit 25 : Set as output pin 25. */
gkroussos 0:637031152314 1913 #define GPIO_DIRSET_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
gkroussos 0:637031152314 1914 #define GPIO_DIRSET_PIN25_Msk (0x1UL << GPIO_DIRSET_PIN25_Pos) /*!< Bit mask of PIN25 field. */
gkroussos 0:637031152314 1915 #define GPIO_DIRSET_PIN25_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1916 #define GPIO_DIRSET_PIN25_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1917 #define GPIO_DIRSET_PIN25_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1918
gkroussos 0:637031152314 1919 /* Bit 24 : Set as output pin 24. */
gkroussos 0:637031152314 1920 #define GPIO_DIRSET_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
gkroussos 0:637031152314 1921 #define GPIO_DIRSET_PIN24_Msk (0x1UL << GPIO_DIRSET_PIN24_Pos) /*!< Bit mask of PIN24 field. */
gkroussos 0:637031152314 1922 #define GPIO_DIRSET_PIN24_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1923 #define GPIO_DIRSET_PIN24_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1924 #define GPIO_DIRSET_PIN24_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1925
gkroussos 0:637031152314 1926 /* Bit 23 : Set as output pin 23. */
gkroussos 0:637031152314 1927 #define GPIO_DIRSET_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
gkroussos 0:637031152314 1928 #define GPIO_DIRSET_PIN23_Msk (0x1UL << GPIO_DIRSET_PIN23_Pos) /*!< Bit mask of PIN23 field. */
gkroussos 0:637031152314 1929 #define GPIO_DIRSET_PIN23_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1930 #define GPIO_DIRSET_PIN23_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1931 #define GPIO_DIRSET_PIN23_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1932
gkroussos 0:637031152314 1933 /* Bit 22 : Set as output pin 22. */
gkroussos 0:637031152314 1934 #define GPIO_DIRSET_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
gkroussos 0:637031152314 1935 #define GPIO_DIRSET_PIN22_Msk (0x1UL << GPIO_DIRSET_PIN22_Pos) /*!< Bit mask of PIN22 field. */
gkroussos 0:637031152314 1936 #define GPIO_DIRSET_PIN22_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1937 #define GPIO_DIRSET_PIN22_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1938 #define GPIO_DIRSET_PIN22_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1939
gkroussos 0:637031152314 1940 /* Bit 21 : Set as output pin 21. */
gkroussos 0:637031152314 1941 #define GPIO_DIRSET_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
gkroussos 0:637031152314 1942 #define GPIO_DIRSET_PIN21_Msk (0x1UL << GPIO_DIRSET_PIN21_Pos) /*!< Bit mask of PIN21 field. */
gkroussos 0:637031152314 1943 #define GPIO_DIRSET_PIN21_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1944 #define GPIO_DIRSET_PIN21_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1945 #define GPIO_DIRSET_PIN21_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1946
gkroussos 0:637031152314 1947 /* Bit 20 : Set as output pin 20. */
gkroussos 0:637031152314 1948 #define GPIO_DIRSET_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
gkroussos 0:637031152314 1949 #define GPIO_DIRSET_PIN20_Msk (0x1UL << GPIO_DIRSET_PIN20_Pos) /*!< Bit mask of PIN20 field. */
gkroussos 0:637031152314 1950 #define GPIO_DIRSET_PIN20_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1951 #define GPIO_DIRSET_PIN20_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1952 #define GPIO_DIRSET_PIN20_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1953
gkroussos 0:637031152314 1954 /* Bit 19 : Set as output pin 19. */
gkroussos 0:637031152314 1955 #define GPIO_DIRSET_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
gkroussos 0:637031152314 1956 #define GPIO_DIRSET_PIN19_Msk (0x1UL << GPIO_DIRSET_PIN19_Pos) /*!< Bit mask of PIN19 field. */
gkroussos 0:637031152314 1957 #define GPIO_DIRSET_PIN19_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1958 #define GPIO_DIRSET_PIN19_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1959 #define GPIO_DIRSET_PIN19_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1960
gkroussos 0:637031152314 1961 /* Bit 18 : Set as output pin 18. */
gkroussos 0:637031152314 1962 #define GPIO_DIRSET_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
gkroussos 0:637031152314 1963 #define GPIO_DIRSET_PIN18_Msk (0x1UL << GPIO_DIRSET_PIN18_Pos) /*!< Bit mask of PIN18 field. */
gkroussos 0:637031152314 1964 #define GPIO_DIRSET_PIN18_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1965 #define GPIO_DIRSET_PIN18_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1966 #define GPIO_DIRSET_PIN18_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1967
gkroussos 0:637031152314 1968 /* Bit 17 : Set as output pin 17. */
gkroussos 0:637031152314 1969 #define GPIO_DIRSET_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
gkroussos 0:637031152314 1970 #define GPIO_DIRSET_PIN17_Msk (0x1UL << GPIO_DIRSET_PIN17_Pos) /*!< Bit mask of PIN17 field. */
gkroussos 0:637031152314 1971 #define GPIO_DIRSET_PIN17_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1972 #define GPIO_DIRSET_PIN17_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1973 #define GPIO_DIRSET_PIN17_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1974
gkroussos 0:637031152314 1975 /* Bit 16 : Set as output pin 16. */
gkroussos 0:637031152314 1976 #define GPIO_DIRSET_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
gkroussos 0:637031152314 1977 #define GPIO_DIRSET_PIN16_Msk (0x1UL << GPIO_DIRSET_PIN16_Pos) /*!< Bit mask of PIN16 field. */
gkroussos 0:637031152314 1978 #define GPIO_DIRSET_PIN16_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1979 #define GPIO_DIRSET_PIN16_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1980 #define GPIO_DIRSET_PIN16_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1981
gkroussos 0:637031152314 1982 /* Bit 15 : Set as output pin 15. */
gkroussos 0:637031152314 1983 #define GPIO_DIRSET_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
gkroussos 0:637031152314 1984 #define GPIO_DIRSET_PIN15_Msk (0x1UL << GPIO_DIRSET_PIN15_Pos) /*!< Bit mask of PIN15 field. */
gkroussos 0:637031152314 1985 #define GPIO_DIRSET_PIN15_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1986 #define GPIO_DIRSET_PIN15_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1987 #define GPIO_DIRSET_PIN15_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1988
gkroussos 0:637031152314 1989 /* Bit 14 : Set as output pin 14. */
gkroussos 0:637031152314 1990 #define GPIO_DIRSET_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
gkroussos 0:637031152314 1991 #define GPIO_DIRSET_PIN14_Msk (0x1UL << GPIO_DIRSET_PIN14_Pos) /*!< Bit mask of PIN14 field. */
gkroussos 0:637031152314 1992 #define GPIO_DIRSET_PIN14_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 1993 #define GPIO_DIRSET_PIN14_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 1994 #define GPIO_DIRSET_PIN14_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 1995
gkroussos 0:637031152314 1996 /* Bit 13 : Set as output pin 13. */
gkroussos 0:637031152314 1997 #define GPIO_DIRSET_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
gkroussos 0:637031152314 1998 #define GPIO_DIRSET_PIN13_Msk (0x1UL << GPIO_DIRSET_PIN13_Pos) /*!< Bit mask of PIN13 field. */
gkroussos 0:637031152314 1999 #define GPIO_DIRSET_PIN13_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2000 #define GPIO_DIRSET_PIN13_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2001 #define GPIO_DIRSET_PIN13_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2002
gkroussos 0:637031152314 2003 /* Bit 12 : Set as output pin 12. */
gkroussos 0:637031152314 2004 #define GPIO_DIRSET_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
gkroussos 0:637031152314 2005 #define GPIO_DIRSET_PIN12_Msk (0x1UL << GPIO_DIRSET_PIN12_Pos) /*!< Bit mask of PIN12 field. */
gkroussos 0:637031152314 2006 #define GPIO_DIRSET_PIN12_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2007 #define GPIO_DIRSET_PIN12_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2008 #define GPIO_DIRSET_PIN12_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2009
gkroussos 0:637031152314 2010 /* Bit 11 : Set as output pin 11. */
gkroussos 0:637031152314 2011 #define GPIO_DIRSET_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
gkroussos 0:637031152314 2012 #define GPIO_DIRSET_PIN11_Msk (0x1UL << GPIO_DIRSET_PIN11_Pos) /*!< Bit mask of PIN11 field. */
gkroussos 0:637031152314 2013 #define GPIO_DIRSET_PIN11_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2014 #define GPIO_DIRSET_PIN11_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2015 #define GPIO_DIRSET_PIN11_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2016
gkroussos 0:637031152314 2017 /* Bit 10 : Set as output pin 10. */
gkroussos 0:637031152314 2018 #define GPIO_DIRSET_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
gkroussos 0:637031152314 2019 #define GPIO_DIRSET_PIN10_Msk (0x1UL << GPIO_DIRSET_PIN10_Pos) /*!< Bit mask of PIN10 field. */
gkroussos 0:637031152314 2020 #define GPIO_DIRSET_PIN10_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2021 #define GPIO_DIRSET_PIN10_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2022 #define GPIO_DIRSET_PIN10_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2023
gkroussos 0:637031152314 2024 /* Bit 9 : Set as output pin 9. */
gkroussos 0:637031152314 2025 #define GPIO_DIRSET_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
gkroussos 0:637031152314 2026 #define GPIO_DIRSET_PIN9_Msk (0x1UL << GPIO_DIRSET_PIN9_Pos) /*!< Bit mask of PIN9 field. */
gkroussos 0:637031152314 2027 #define GPIO_DIRSET_PIN9_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2028 #define GPIO_DIRSET_PIN9_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2029 #define GPIO_DIRSET_PIN9_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2030
gkroussos 0:637031152314 2031 /* Bit 8 : Set as output pin 8. */
gkroussos 0:637031152314 2032 #define GPIO_DIRSET_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
gkroussos 0:637031152314 2033 #define GPIO_DIRSET_PIN8_Msk (0x1UL << GPIO_DIRSET_PIN8_Pos) /*!< Bit mask of PIN8 field. */
gkroussos 0:637031152314 2034 #define GPIO_DIRSET_PIN8_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2035 #define GPIO_DIRSET_PIN8_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2036 #define GPIO_DIRSET_PIN8_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2037
gkroussos 0:637031152314 2038 /* Bit 7 : Set as output pin 7. */
gkroussos 0:637031152314 2039 #define GPIO_DIRSET_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
gkroussos 0:637031152314 2040 #define GPIO_DIRSET_PIN7_Msk (0x1UL << GPIO_DIRSET_PIN7_Pos) /*!< Bit mask of PIN7 field. */
gkroussos 0:637031152314 2041 #define GPIO_DIRSET_PIN7_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2042 #define GPIO_DIRSET_PIN7_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2043 #define GPIO_DIRSET_PIN7_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2044
gkroussos 0:637031152314 2045 /* Bit 6 : Set as output pin 6. */
gkroussos 0:637031152314 2046 #define GPIO_DIRSET_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
gkroussos 0:637031152314 2047 #define GPIO_DIRSET_PIN6_Msk (0x1UL << GPIO_DIRSET_PIN6_Pos) /*!< Bit mask of PIN6 field. */
gkroussos 0:637031152314 2048 #define GPIO_DIRSET_PIN6_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2049 #define GPIO_DIRSET_PIN6_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2050 #define GPIO_DIRSET_PIN6_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2051
gkroussos 0:637031152314 2052 /* Bit 5 : Set as output pin 5. */
gkroussos 0:637031152314 2053 #define GPIO_DIRSET_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
gkroussos 0:637031152314 2054 #define GPIO_DIRSET_PIN5_Msk (0x1UL << GPIO_DIRSET_PIN5_Pos) /*!< Bit mask of PIN5 field. */
gkroussos 0:637031152314 2055 #define GPIO_DIRSET_PIN5_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2056 #define GPIO_DIRSET_PIN5_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2057 #define GPIO_DIRSET_PIN5_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2058
gkroussos 0:637031152314 2059 /* Bit 4 : Set as output pin 4. */
gkroussos 0:637031152314 2060 #define GPIO_DIRSET_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
gkroussos 0:637031152314 2061 #define GPIO_DIRSET_PIN4_Msk (0x1UL << GPIO_DIRSET_PIN4_Pos) /*!< Bit mask of PIN4 field. */
gkroussos 0:637031152314 2062 #define GPIO_DIRSET_PIN4_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2063 #define GPIO_DIRSET_PIN4_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2064 #define GPIO_DIRSET_PIN4_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2065
gkroussos 0:637031152314 2066 /* Bit 3 : Set as output pin 3. */
gkroussos 0:637031152314 2067 #define GPIO_DIRSET_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
gkroussos 0:637031152314 2068 #define GPIO_DIRSET_PIN3_Msk (0x1UL << GPIO_DIRSET_PIN3_Pos) /*!< Bit mask of PIN3 field. */
gkroussos 0:637031152314 2069 #define GPIO_DIRSET_PIN3_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2070 #define GPIO_DIRSET_PIN3_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2071 #define GPIO_DIRSET_PIN3_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2072
gkroussos 0:637031152314 2073 /* Bit 2 : Set as output pin 2. */
gkroussos 0:637031152314 2074 #define GPIO_DIRSET_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
gkroussos 0:637031152314 2075 #define GPIO_DIRSET_PIN2_Msk (0x1UL << GPIO_DIRSET_PIN2_Pos) /*!< Bit mask of PIN2 field. */
gkroussos 0:637031152314 2076 #define GPIO_DIRSET_PIN2_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2077 #define GPIO_DIRSET_PIN2_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2078 #define GPIO_DIRSET_PIN2_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2079
gkroussos 0:637031152314 2080 /* Bit 1 : Set as output pin 1. */
gkroussos 0:637031152314 2081 #define GPIO_DIRSET_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
gkroussos 0:637031152314 2082 #define GPIO_DIRSET_PIN1_Msk (0x1UL << GPIO_DIRSET_PIN1_Pos) /*!< Bit mask of PIN1 field. */
gkroussos 0:637031152314 2083 #define GPIO_DIRSET_PIN1_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2084 #define GPIO_DIRSET_PIN1_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2085 #define GPIO_DIRSET_PIN1_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2086
gkroussos 0:637031152314 2087 /* Bit 0 : Set as output pin 0. */
gkroussos 0:637031152314 2088 #define GPIO_DIRSET_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
gkroussos 0:637031152314 2089 #define GPIO_DIRSET_PIN0_Msk (0x1UL << GPIO_DIRSET_PIN0_Pos) /*!< Bit mask of PIN0 field. */
gkroussos 0:637031152314 2090 #define GPIO_DIRSET_PIN0_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2091 #define GPIO_DIRSET_PIN0_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2092 #define GPIO_DIRSET_PIN0_Set (1UL) /*!< Set pin as output. */
gkroussos 0:637031152314 2093
gkroussos 0:637031152314 2094 /* Register: GPIO_DIRCLR */
gkroussos 0:637031152314 2095 /* Description: DIR clear register. */
gkroussos 0:637031152314 2096
gkroussos 0:637031152314 2097 /* Bit 31 : Set as input pin 31. */
gkroussos 0:637031152314 2098 #define GPIO_DIRCLR_PIN31_Pos (31UL) /*!< Position of PIN31 field. */
gkroussos 0:637031152314 2099 #define GPIO_DIRCLR_PIN31_Msk (0x1UL << GPIO_DIRCLR_PIN31_Pos) /*!< Bit mask of PIN31 field. */
gkroussos 0:637031152314 2100 #define GPIO_DIRCLR_PIN31_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2101 #define GPIO_DIRCLR_PIN31_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2102 #define GPIO_DIRCLR_PIN31_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2103
gkroussos 0:637031152314 2104 /* Bit 30 : Set as input pin 30. */
gkroussos 0:637031152314 2105 #define GPIO_DIRCLR_PIN30_Pos (30UL) /*!< Position of PIN30 field. */
gkroussos 0:637031152314 2106 #define GPIO_DIRCLR_PIN30_Msk (0x1UL << GPIO_DIRCLR_PIN30_Pos) /*!< Bit mask of PIN30 field. */
gkroussos 0:637031152314 2107 #define GPIO_DIRCLR_PIN30_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2108 #define GPIO_DIRCLR_PIN30_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2109 #define GPIO_DIRCLR_PIN30_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2110
gkroussos 0:637031152314 2111 /* Bit 29 : Set as input pin 29. */
gkroussos 0:637031152314 2112 #define GPIO_DIRCLR_PIN29_Pos (29UL) /*!< Position of PIN29 field. */
gkroussos 0:637031152314 2113 #define GPIO_DIRCLR_PIN29_Msk (0x1UL << GPIO_DIRCLR_PIN29_Pos) /*!< Bit mask of PIN29 field. */
gkroussos 0:637031152314 2114 #define GPIO_DIRCLR_PIN29_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2115 #define GPIO_DIRCLR_PIN29_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2116 #define GPIO_DIRCLR_PIN29_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2117
gkroussos 0:637031152314 2118 /* Bit 28 : Set as input pin 28. */
gkroussos 0:637031152314 2119 #define GPIO_DIRCLR_PIN28_Pos (28UL) /*!< Position of PIN28 field. */
gkroussos 0:637031152314 2120 #define GPIO_DIRCLR_PIN28_Msk (0x1UL << GPIO_DIRCLR_PIN28_Pos) /*!< Bit mask of PIN28 field. */
gkroussos 0:637031152314 2121 #define GPIO_DIRCLR_PIN28_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2122 #define GPIO_DIRCLR_PIN28_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2123 #define GPIO_DIRCLR_PIN28_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2124
gkroussos 0:637031152314 2125 /* Bit 27 : Set as input pin 27. */
gkroussos 0:637031152314 2126 #define GPIO_DIRCLR_PIN27_Pos (27UL) /*!< Position of PIN27 field. */
gkroussos 0:637031152314 2127 #define GPIO_DIRCLR_PIN27_Msk (0x1UL << GPIO_DIRCLR_PIN27_Pos) /*!< Bit mask of PIN27 field. */
gkroussos 0:637031152314 2128 #define GPIO_DIRCLR_PIN27_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2129 #define GPIO_DIRCLR_PIN27_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2130 #define GPIO_DIRCLR_PIN27_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2131
gkroussos 0:637031152314 2132 /* Bit 26 : Set as input pin 26. */
gkroussos 0:637031152314 2133 #define GPIO_DIRCLR_PIN26_Pos (26UL) /*!< Position of PIN26 field. */
gkroussos 0:637031152314 2134 #define GPIO_DIRCLR_PIN26_Msk (0x1UL << GPIO_DIRCLR_PIN26_Pos) /*!< Bit mask of PIN26 field. */
gkroussos 0:637031152314 2135 #define GPIO_DIRCLR_PIN26_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2136 #define GPIO_DIRCLR_PIN26_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2137 #define GPIO_DIRCLR_PIN26_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2138
gkroussos 0:637031152314 2139 /* Bit 25 : Set as input pin 25. */
gkroussos 0:637031152314 2140 #define GPIO_DIRCLR_PIN25_Pos (25UL) /*!< Position of PIN25 field. */
gkroussos 0:637031152314 2141 #define GPIO_DIRCLR_PIN25_Msk (0x1UL << GPIO_DIRCLR_PIN25_Pos) /*!< Bit mask of PIN25 field. */
gkroussos 0:637031152314 2142 #define GPIO_DIRCLR_PIN25_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2143 #define GPIO_DIRCLR_PIN25_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2144 #define GPIO_DIRCLR_PIN25_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2145
gkroussos 0:637031152314 2146 /* Bit 24 : Set as input pin 24. */
gkroussos 0:637031152314 2147 #define GPIO_DIRCLR_PIN24_Pos (24UL) /*!< Position of PIN24 field. */
gkroussos 0:637031152314 2148 #define GPIO_DIRCLR_PIN24_Msk (0x1UL << GPIO_DIRCLR_PIN24_Pos) /*!< Bit mask of PIN24 field. */
gkroussos 0:637031152314 2149 #define GPIO_DIRCLR_PIN24_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2150 #define GPIO_DIRCLR_PIN24_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2151 #define GPIO_DIRCLR_PIN24_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2152
gkroussos 0:637031152314 2153 /* Bit 23 : Set as input pin 23. */
gkroussos 0:637031152314 2154 #define GPIO_DIRCLR_PIN23_Pos (23UL) /*!< Position of PIN23 field. */
gkroussos 0:637031152314 2155 #define GPIO_DIRCLR_PIN23_Msk (0x1UL << GPIO_DIRCLR_PIN23_Pos) /*!< Bit mask of PIN23 field. */
gkroussos 0:637031152314 2156 #define GPIO_DIRCLR_PIN23_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2157 #define GPIO_DIRCLR_PIN23_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2158 #define GPIO_DIRCLR_PIN23_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2159
gkroussos 0:637031152314 2160 /* Bit 22 : Set as input pin 22. */
gkroussos 0:637031152314 2161 #define GPIO_DIRCLR_PIN22_Pos (22UL) /*!< Position of PIN22 field. */
gkroussos 0:637031152314 2162 #define GPIO_DIRCLR_PIN22_Msk (0x1UL << GPIO_DIRCLR_PIN22_Pos) /*!< Bit mask of PIN22 field. */
gkroussos 0:637031152314 2163 #define GPIO_DIRCLR_PIN22_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2164 #define GPIO_DIRCLR_PIN22_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2165 #define GPIO_DIRCLR_PIN22_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2166
gkroussos 0:637031152314 2167 /* Bit 21 : Set as input pin 21. */
gkroussos 0:637031152314 2168 #define GPIO_DIRCLR_PIN21_Pos (21UL) /*!< Position of PIN21 field. */
gkroussos 0:637031152314 2169 #define GPIO_DIRCLR_PIN21_Msk (0x1UL << GPIO_DIRCLR_PIN21_Pos) /*!< Bit mask of PIN21 field. */
gkroussos 0:637031152314 2170 #define GPIO_DIRCLR_PIN21_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2171 #define GPIO_DIRCLR_PIN21_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2172 #define GPIO_DIRCLR_PIN21_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2173
gkroussos 0:637031152314 2174 /* Bit 20 : Set as input pin 20. */
gkroussos 0:637031152314 2175 #define GPIO_DIRCLR_PIN20_Pos (20UL) /*!< Position of PIN20 field. */
gkroussos 0:637031152314 2176 #define GPIO_DIRCLR_PIN20_Msk (0x1UL << GPIO_DIRCLR_PIN20_Pos) /*!< Bit mask of PIN20 field. */
gkroussos 0:637031152314 2177 #define GPIO_DIRCLR_PIN20_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2178 #define GPIO_DIRCLR_PIN20_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2179 #define GPIO_DIRCLR_PIN20_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2180
gkroussos 0:637031152314 2181 /* Bit 19 : Set as input pin 19. */
gkroussos 0:637031152314 2182 #define GPIO_DIRCLR_PIN19_Pos (19UL) /*!< Position of PIN19 field. */
gkroussos 0:637031152314 2183 #define GPIO_DIRCLR_PIN19_Msk (0x1UL << GPIO_DIRCLR_PIN19_Pos) /*!< Bit mask of PIN19 field. */
gkroussos 0:637031152314 2184 #define GPIO_DIRCLR_PIN19_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2185 #define GPIO_DIRCLR_PIN19_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2186 #define GPIO_DIRCLR_PIN19_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2187
gkroussos 0:637031152314 2188 /* Bit 18 : Set as input pin 18. */
gkroussos 0:637031152314 2189 #define GPIO_DIRCLR_PIN18_Pos (18UL) /*!< Position of PIN18 field. */
gkroussos 0:637031152314 2190 #define GPIO_DIRCLR_PIN18_Msk (0x1UL << GPIO_DIRCLR_PIN18_Pos) /*!< Bit mask of PIN18 field. */
gkroussos 0:637031152314 2191 #define GPIO_DIRCLR_PIN18_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2192 #define GPIO_DIRCLR_PIN18_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2193 #define GPIO_DIRCLR_PIN18_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2194
gkroussos 0:637031152314 2195 /* Bit 17 : Set as input pin 17. */
gkroussos 0:637031152314 2196 #define GPIO_DIRCLR_PIN17_Pos (17UL) /*!< Position of PIN17 field. */
gkroussos 0:637031152314 2197 #define GPIO_DIRCLR_PIN17_Msk (0x1UL << GPIO_DIRCLR_PIN17_Pos) /*!< Bit mask of PIN17 field. */
gkroussos 0:637031152314 2198 #define GPIO_DIRCLR_PIN17_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2199 #define GPIO_DIRCLR_PIN17_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2200 #define GPIO_DIRCLR_PIN17_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2201
gkroussos 0:637031152314 2202 /* Bit 16 : Set as input pin 16. */
gkroussos 0:637031152314 2203 #define GPIO_DIRCLR_PIN16_Pos (16UL) /*!< Position of PIN16 field. */
gkroussos 0:637031152314 2204 #define GPIO_DIRCLR_PIN16_Msk (0x1UL << GPIO_DIRCLR_PIN16_Pos) /*!< Bit mask of PIN16 field. */
gkroussos 0:637031152314 2205 #define GPIO_DIRCLR_PIN16_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2206 #define GPIO_DIRCLR_PIN16_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2207 #define GPIO_DIRCLR_PIN16_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2208
gkroussos 0:637031152314 2209 /* Bit 15 : Set as input pin 15. */
gkroussos 0:637031152314 2210 #define GPIO_DIRCLR_PIN15_Pos (15UL) /*!< Position of PIN15 field. */
gkroussos 0:637031152314 2211 #define GPIO_DIRCLR_PIN15_Msk (0x1UL << GPIO_DIRCLR_PIN15_Pos) /*!< Bit mask of PIN15 field. */
gkroussos 0:637031152314 2212 #define GPIO_DIRCLR_PIN15_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2213 #define GPIO_DIRCLR_PIN15_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2214 #define GPIO_DIRCLR_PIN15_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2215
gkroussos 0:637031152314 2216 /* Bit 14 : Set as input pin 14. */
gkroussos 0:637031152314 2217 #define GPIO_DIRCLR_PIN14_Pos (14UL) /*!< Position of PIN14 field. */
gkroussos 0:637031152314 2218 #define GPIO_DIRCLR_PIN14_Msk (0x1UL << GPIO_DIRCLR_PIN14_Pos) /*!< Bit mask of PIN14 field. */
gkroussos 0:637031152314 2219 #define GPIO_DIRCLR_PIN14_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2220 #define GPIO_DIRCLR_PIN14_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2221 #define GPIO_DIRCLR_PIN14_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2222
gkroussos 0:637031152314 2223 /* Bit 13 : Set as input pin 13. */
gkroussos 0:637031152314 2224 #define GPIO_DIRCLR_PIN13_Pos (13UL) /*!< Position of PIN13 field. */
gkroussos 0:637031152314 2225 #define GPIO_DIRCLR_PIN13_Msk (0x1UL << GPIO_DIRCLR_PIN13_Pos) /*!< Bit mask of PIN13 field. */
gkroussos 0:637031152314 2226 #define GPIO_DIRCLR_PIN13_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2227 #define GPIO_DIRCLR_PIN13_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2228 #define GPIO_DIRCLR_PIN13_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2229
gkroussos 0:637031152314 2230 /* Bit 12 : Set as input pin 12. */
gkroussos 0:637031152314 2231 #define GPIO_DIRCLR_PIN12_Pos (12UL) /*!< Position of PIN12 field. */
gkroussos 0:637031152314 2232 #define GPIO_DIRCLR_PIN12_Msk (0x1UL << GPIO_DIRCLR_PIN12_Pos) /*!< Bit mask of PIN12 field. */
gkroussos 0:637031152314 2233 #define GPIO_DIRCLR_PIN12_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2234 #define GPIO_DIRCLR_PIN12_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2235 #define GPIO_DIRCLR_PIN12_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2236
gkroussos 0:637031152314 2237 /* Bit 11 : Set as input pin 11. */
gkroussos 0:637031152314 2238 #define GPIO_DIRCLR_PIN11_Pos (11UL) /*!< Position of PIN11 field. */
gkroussos 0:637031152314 2239 #define GPIO_DIRCLR_PIN11_Msk (0x1UL << GPIO_DIRCLR_PIN11_Pos) /*!< Bit mask of PIN11 field. */
gkroussos 0:637031152314 2240 #define GPIO_DIRCLR_PIN11_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2241 #define GPIO_DIRCLR_PIN11_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2242 #define GPIO_DIRCLR_PIN11_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2243
gkroussos 0:637031152314 2244 /* Bit 10 : Set as input pin 10. */
gkroussos 0:637031152314 2245 #define GPIO_DIRCLR_PIN10_Pos (10UL) /*!< Position of PIN10 field. */
gkroussos 0:637031152314 2246 #define GPIO_DIRCLR_PIN10_Msk (0x1UL << GPIO_DIRCLR_PIN10_Pos) /*!< Bit mask of PIN10 field. */
gkroussos 0:637031152314 2247 #define GPIO_DIRCLR_PIN10_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2248 #define GPIO_DIRCLR_PIN10_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2249 #define GPIO_DIRCLR_PIN10_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2250
gkroussos 0:637031152314 2251 /* Bit 9 : Set as input pin 9. */
gkroussos 0:637031152314 2252 #define GPIO_DIRCLR_PIN9_Pos (9UL) /*!< Position of PIN9 field. */
gkroussos 0:637031152314 2253 #define GPIO_DIRCLR_PIN9_Msk (0x1UL << GPIO_DIRCLR_PIN9_Pos) /*!< Bit mask of PIN9 field. */
gkroussos 0:637031152314 2254 #define GPIO_DIRCLR_PIN9_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2255 #define GPIO_DIRCLR_PIN9_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2256 #define GPIO_DIRCLR_PIN9_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2257
gkroussos 0:637031152314 2258 /* Bit 8 : Set as input pin 8. */
gkroussos 0:637031152314 2259 #define GPIO_DIRCLR_PIN8_Pos (8UL) /*!< Position of PIN8 field. */
gkroussos 0:637031152314 2260 #define GPIO_DIRCLR_PIN8_Msk (0x1UL << GPIO_DIRCLR_PIN8_Pos) /*!< Bit mask of PIN8 field. */
gkroussos 0:637031152314 2261 #define GPIO_DIRCLR_PIN8_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2262 #define GPIO_DIRCLR_PIN8_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2263 #define GPIO_DIRCLR_PIN8_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2264
gkroussos 0:637031152314 2265 /* Bit 7 : Set as input pin 7. */
gkroussos 0:637031152314 2266 #define GPIO_DIRCLR_PIN7_Pos (7UL) /*!< Position of PIN7 field. */
gkroussos 0:637031152314 2267 #define GPIO_DIRCLR_PIN7_Msk (0x1UL << GPIO_DIRCLR_PIN7_Pos) /*!< Bit mask of PIN7 field. */
gkroussos 0:637031152314 2268 #define GPIO_DIRCLR_PIN7_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2269 #define GPIO_DIRCLR_PIN7_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2270 #define GPIO_DIRCLR_PIN7_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2271
gkroussos 0:637031152314 2272 /* Bit 6 : Set as input pin 6. */
gkroussos 0:637031152314 2273 #define GPIO_DIRCLR_PIN6_Pos (6UL) /*!< Position of PIN6 field. */
gkroussos 0:637031152314 2274 #define GPIO_DIRCLR_PIN6_Msk (0x1UL << GPIO_DIRCLR_PIN6_Pos) /*!< Bit mask of PIN6 field. */
gkroussos 0:637031152314 2275 #define GPIO_DIRCLR_PIN6_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2276 #define GPIO_DIRCLR_PIN6_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2277 #define GPIO_DIRCLR_PIN6_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2278
gkroussos 0:637031152314 2279 /* Bit 5 : Set as input pin 5. */
gkroussos 0:637031152314 2280 #define GPIO_DIRCLR_PIN5_Pos (5UL) /*!< Position of PIN5 field. */
gkroussos 0:637031152314 2281 #define GPIO_DIRCLR_PIN5_Msk (0x1UL << GPIO_DIRCLR_PIN5_Pos) /*!< Bit mask of PIN5 field. */
gkroussos 0:637031152314 2282 #define GPIO_DIRCLR_PIN5_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2283 #define GPIO_DIRCLR_PIN5_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2284 #define GPIO_DIRCLR_PIN5_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2285
gkroussos 0:637031152314 2286 /* Bit 4 : Set as input pin 4. */
gkroussos 0:637031152314 2287 #define GPIO_DIRCLR_PIN4_Pos (4UL) /*!< Position of PIN4 field. */
gkroussos 0:637031152314 2288 #define GPIO_DIRCLR_PIN4_Msk (0x1UL << GPIO_DIRCLR_PIN4_Pos) /*!< Bit mask of PIN4 field. */
gkroussos 0:637031152314 2289 #define GPIO_DIRCLR_PIN4_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2290 #define GPIO_DIRCLR_PIN4_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2291 #define GPIO_DIRCLR_PIN4_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2292
gkroussos 0:637031152314 2293 /* Bit 3 : Set as input pin 3. */
gkroussos 0:637031152314 2294 #define GPIO_DIRCLR_PIN3_Pos (3UL) /*!< Position of PIN3 field. */
gkroussos 0:637031152314 2295 #define GPIO_DIRCLR_PIN3_Msk (0x1UL << GPIO_DIRCLR_PIN3_Pos) /*!< Bit mask of PIN3 field. */
gkroussos 0:637031152314 2296 #define GPIO_DIRCLR_PIN3_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2297 #define GPIO_DIRCLR_PIN3_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2298 #define GPIO_DIRCLR_PIN3_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2299
gkroussos 0:637031152314 2300 /* Bit 2 : Set as input pin 2. */
gkroussos 0:637031152314 2301 #define GPIO_DIRCLR_PIN2_Pos (2UL) /*!< Position of PIN2 field. */
gkroussos 0:637031152314 2302 #define GPIO_DIRCLR_PIN2_Msk (0x1UL << GPIO_DIRCLR_PIN2_Pos) /*!< Bit mask of PIN2 field. */
gkroussos 0:637031152314 2303 #define GPIO_DIRCLR_PIN2_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2304 #define GPIO_DIRCLR_PIN2_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2305 #define GPIO_DIRCLR_PIN2_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2306
gkroussos 0:637031152314 2307 /* Bit 1 : Set as input pin 1. */
gkroussos 0:637031152314 2308 #define GPIO_DIRCLR_PIN1_Pos (1UL) /*!< Position of PIN1 field. */
gkroussos 0:637031152314 2309 #define GPIO_DIRCLR_PIN1_Msk (0x1UL << GPIO_DIRCLR_PIN1_Pos) /*!< Bit mask of PIN1 field. */
gkroussos 0:637031152314 2310 #define GPIO_DIRCLR_PIN1_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2311 #define GPIO_DIRCLR_PIN1_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2312 #define GPIO_DIRCLR_PIN1_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2313
gkroussos 0:637031152314 2314 /* Bit 0 : Set as input pin 0. */
gkroussos 0:637031152314 2315 #define GPIO_DIRCLR_PIN0_Pos (0UL) /*!< Position of PIN0 field. */
gkroussos 0:637031152314 2316 #define GPIO_DIRCLR_PIN0_Msk (0x1UL << GPIO_DIRCLR_PIN0_Pos) /*!< Bit mask of PIN0 field. */
gkroussos 0:637031152314 2317 #define GPIO_DIRCLR_PIN0_Input (0UL) /*!< Pin set as input. */
gkroussos 0:637031152314 2318 #define GPIO_DIRCLR_PIN0_Output (1UL) /*!< Pin set as output. */
gkroussos 0:637031152314 2319 #define GPIO_DIRCLR_PIN0_Clear (1UL) /*!< Set pin as input. */
gkroussos 0:637031152314 2320
gkroussos 0:637031152314 2321 /* Register: GPIO_PIN_CNF */
gkroussos 0:637031152314 2322 /* Description: Configuration of GPIO pins. */
gkroussos 0:637031152314 2323
gkroussos 0:637031152314 2324 /* Bits 17..16 : Pin sensing mechanism. */
gkroussos 0:637031152314 2325 #define GPIO_PIN_CNF_SENSE_Pos (16UL) /*!< Position of SENSE field. */
gkroussos 0:637031152314 2326 #define GPIO_PIN_CNF_SENSE_Msk (0x3UL << GPIO_PIN_CNF_SENSE_Pos) /*!< Bit mask of SENSE field. */
gkroussos 0:637031152314 2327 #define GPIO_PIN_CNF_SENSE_Disabled (0x00UL) /*!< Disabled. */
gkroussos 0:637031152314 2328 #define GPIO_PIN_CNF_SENSE_High (0x02UL) /*!< Wakeup on high level. */
gkroussos 0:637031152314 2329 #define GPIO_PIN_CNF_SENSE_Low (0x03UL) /*!< Wakeup on low level. */
gkroussos 0:637031152314 2330
gkroussos 0:637031152314 2331 /* Bits 10..8 : Drive configuration. */
gkroussos 0:637031152314 2332 #define GPIO_PIN_CNF_DRIVE_Pos (8UL) /*!< Position of DRIVE field. */
gkroussos 0:637031152314 2333 #define GPIO_PIN_CNF_DRIVE_Msk (0x7UL << GPIO_PIN_CNF_DRIVE_Pos) /*!< Bit mask of DRIVE field. */
gkroussos 0:637031152314 2334 #define GPIO_PIN_CNF_DRIVE_S0S1 (0x00UL) /*!< Standard '0', Standard '1'. */
gkroussos 0:637031152314 2335 #define GPIO_PIN_CNF_DRIVE_H0S1 (0x01UL) /*!< High '0', Standard '1'. */
gkroussos 0:637031152314 2336 #define GPIO_PIN_CNF_DRIVE_S0H1 (0x02UL) /*!< Standard '0', High '1'. */
gkroussos 0:637031152314 2337 #define GPIO_PIN_CNF_DRIVE_H0H1 (0x03UL) /*!< High '0', High '1'. */
gkroussos 0:637031152314 2338 #define GPIO_PIN_CNF_DRIVE_D0S1 (0x04UL) /*!< Disconnected '0', Standard '1'. */
gkroussos 0:637031152314 2339 #define GPIO_PIN_CNF_DRIVE_D0H1 (0x05UL) /*!< Disconnected '0', High '1'. */
gkroussos 0:637031152314 2340 #define GPIO_PIN_CNF_DRIVE_S0D1 (0x06UL) /*!< Standard '0', Disconnected '1'. */
gkroussos 0:637031152314 2341 #define GPIO_PIN_CNF_DRIVE_H0D1 (0x07UL) /*!< High '0', Disconnected '1'. */
gkroussos 0:637031152314 2342
gkroussos 0:637031152314 2343 /* Bits 3..2 : Pull-up or -down configuration. */
gkroussos 0:637031152314 2344 #define GPIO_PIN_CNF_PULL_Pos (2UL) /*!< Position of PULL field. */
gkroussos 0:637031152314 2345 #define GPIO_PIN_CNF_PULL_Msk (0x3UL << GPIO_PIN_CNF_PULL_Pos) /*!< Bit mask of PULL field. */
gkroussos 0:637031152314 2346 #define GPIO_PIN_CNF_PULL_Disabled (0x00UL) /*!< No pull. */
gkroussos 0:637031152314 2347 #define GPIO_PIN_CNF_PULL_Pulldown (0x01UL) /*!< Pulldown on pin. */
gkroussos 0:637031152314 2348 #define GPIO_PIN_CNF_PULL_Pullup (0x03UL) /*!< Pullup on pin. */
gkroussos 0:637031152314 2349
gkroussos 0:637031152314 2350 /* Bit 1 : Connect or disconnect input path. */
gkroussos 0:637031152314 2351 #define GPIO_PIN_CNF_INPUT_Pos (1UL) /*!< Position of INPUT field. */
gkroussos 0:637031152314 2352 #define GPIO_PIN_CNF_INPUT_Msk (0x1UL << GPIO_PIN_CNF_INPUT_Pos) /*!< Bit mask of INPUT field. */
gkroussos 0:637031152314 2353 #define GPIO_PIN_CNF_INPUT_Connect (0UL) /*!< Connect input pin. */
gkroussos 0:637031152314 2354 #define GPIO_PIN_CNF_INPUT_Disconnect (1UL) /*!< Disconnect input pin. */
gkroussos 0:637031152314 2355
gkroussos 0:637031152314 2356 /* Bit 0 : Pin direction. */
gkroussos 0:637031152314 2357 #define GPIO_PIN_CNF_DIR_Pos (0UL) /*!< Position of DIR field. */
gkroussos 0:637031152314 2358 #define GPIO_PIN_CNF_DIR_Msk (0x1UL << GPIO_PIN_CNF_DIR_Pos) /*!< Bit mask of DIR field. */
gkroussos 0:637031152314 2359 #define GPIO_PIN_CNF_DIR_Input (0UL) /*!< Configure pin as an input pin. */
gkroussos 0:637031152314 2360 #define GPIO_PIN_CNF_DIR_Output (1UL) /*!< Configure pin as an output pin. */
gkroussos 0:637031152314 2361
gkroussos 0:637031152314 2362
gkroussos 0:637031152314 2363 /* Peripheral: GPIOTE */
gkroussos 0:637031152314 2364 /* Description: GPIO tasks and events. */
gkroussos 0:637031152314 2365
gkroussos 0:637031152314 2366 /* Register: GPIOTE_INTENSET */
gkroussos 0:637031152314 2367 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 2368
gkroussos 0:637031152314 2369 /* Bit 31 : Enable interrupt on PORT event. */
gkroussos 0:637031152314 2370 #define GPIOTE_INTENSET_PORT_Pos (31UL) /*!< Position of PORT field. */
gkroussos 0:637031152314 2371 #define GPIOTE_INTENSET_PORT_Msk (0x1UL << GPIOTE_INTENSET_PORT_Pos) /*!< Bit mask of PORT field. */
gkroussos 0:637031152314 2372 #define GPIOTE_INTENSET_PORT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2373 #define GPIOTE_INTENSET_PORT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2374 #define GPIOTE_INTENSET_PORT_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2375
gkroussos 0:637031152314 2376 /* Bit 3 : Enable interrupt on IN[3] event. */
gkroussos 0:637031152314 2377 #define GPIOTE_INTENSET_IN3_Pos (3UL) /*!< Position of IN3 field. */
gkroussos 0:637031152314 2378 #define GPIOTE_INTENSET_IN3_Msk (0x1UL << GPIOTE_INTENSET_IN3_Pos) /*!< Bit mask of IN3 field. */
gkroussos 0:637031152314 2379 #define GPIOTE_INTENSET_IN3_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2380 #define GPIOTE_INTENSET_IN3_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2381 #define GPIOTE_INTENSET_IN3_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2382
gkroussos 0:637031152314 2383 /* Bit 2 : Enable interrupt on IN[2] event. */
gkroussos 0:637031152314 2384 #define GPIOTE_INTENSET_IN2_Pos (2UL) /*!< Position of IN2 field. */
gkroussos 0:637031152314 2385 #define GPIOTE_INTENSET_IN2_Msk (0x1UL << GPIOTE_INTENSET_IN2_Pos) /*!< Bit mask of IN2 field. */
gkroussos 0:637031152314 2386 #define GPIOTE_INTENSET_IN2_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2387 #define GPIOTE_INTENSET_IN2_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2388 #define GPIOTE_INTENSET_IN2_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2389
gkroussos 0:637031152314 2390 /* Bit 1 : Enable interrupt on IN[1] event. */
gkroussos 0:637031152314 2391 #define GPIOTE_INTENSET_IN1_Pos (1UL) /*!< Position of IN1 field. */
gkroussos 0:637031152314 2392 #define GPIOTE_INTENSET_IN1_Msk (0x1UL << GPIOTE_INTENSET_IN1_Pos) /*!< Bit mask of IN1 field. */
gkroussos 0:637031152314 2393 #define GPIOTE_INTENSET_IN1_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2394 #define GPIOTE_INTENSET_IN1_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2395 #define GPIOTE_INTENSET_IN1_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2396
gkroussos 0:637031152314 2397 /* Bit 0 : Enable interrupt on IN[0] event. */
gkroussos 0:637031152314 2398 #define GPIOTE_INTENSET_IN0_Pos (0UL) /*!< Position of IN0 field. */
gkroussos 0:637031152314 2399 #define GPIOTE_INTENSET_IN0_Msk (0x1UL << GPIOTE_INTENSET_IN0_Pos) /*!< Bit mask of IN0 field. */
gkroussos 0:637031152314 2400 #define GPIOTE_INTENSET_IN0_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2401 #define GPIOTE_INTENSET_IN0_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2402 #define GPIOTE_INTENSET_IN0_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2403
gkroussos 0:637031152314 2404 /* Register: GPIOTE_INTENCLR */
gkroussos 0:637031152314 2405 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 2406
gkroussos 0:637031152314 2407 /* Bit 31 : Disable interrupt on PORT event. */
gkroussos 0:637031152314 2408 #define GPIOTE_INTENCLR_PORT_Pos (31UL) /*!< Position of PORT field. */
gkroussos 0:637031152314 2409 #define GPIOTE_INTENCLR_PORT_Msk (0x1UL << GPIOTE_INTENCLR_PORT_Pos) /*!< Bit mask of PORT field. */
gkroussos 0:637031152314 2410 #define GPIOTE_INTENCLR_PORT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2411 #define GPIOTE_INTENCLR_PORT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2412 #define GPIOTE_INTENCLR_PORT_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2413
gkroussos 0:637031152314 2414 /* Bit 3 : Disable interrupt on IN[3] event. */
gkroussos 0:637031152314 2415 #define GPIOTE_INTENCLR_IN3_Pos (3UL) /*!< Position of IN3 field. */
gkroussos 0:637031152314 2416 #define GPIOTE_INTENCLR_IN3_Msk (0x1UL << GPIOTE_INTENCLR_IN3_Pos) /*!< Bit mask of IN3 field. */
gkroussos 0:637031152314 2417 #define GPIOTE_INTENCLR_IN3_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2418 #define GPIOTE_INTENCLR_IN3_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2419 #define GPIOTE_INTENCLR_IN3_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2420
gkroussos 0:637031152314 2421 /* Bit 2 : Disable interrupt on IN[2] event. */
gkroussos 0:637031152314 2422 #define GPIOTE_INTENCLR_IN2_Pos (2UL) /*!< Position of IN2 field. */
gkroussos 0:637031152314 2423 #define GPIOTE_INTENCLR_IN2_Msk (0x1UL << GPIOTE_INTENCLR_IN2_Pos) /*!< Bit mask of IN2 field. */
gkroussos 0:637031152314 2424 #define GPIOTE_INTENCLR_IN2_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2425 #define GPIOTE_INTENCLR_IN2_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2426 #define GPIOTE_INTENCLR_IN2_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2427
gkroussos 0:637031152314 2428 /* Bit 1 : Disable interrupt on IN[1] event. */
gkroussos 0:637031152314 2429 #define GPIOTE_INTENCLR_IN1_Pos (1UL) /*!< Position of IN1 field. */
gkroussos 0:637031152314 2430 #define GPIOTE_INTENCLR_IN1_Msk (0x1UL << GPIOTE_INTENCLR_IN1_Pos) /*!< Bit mask of IN1 field. */
gkroussos 0:637031152314 2431 #define GPIOTE_INTENCLR_IN1_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2432 #define GPIOTE_INTENCLR_IN1_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2433 #define GPIOTE_INTENCLR_IN1_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2434
gkroussos 0:637031152314 2435 /* Bit 0 : Disable interrupt on IN[0] event. */
gkroussos 0:637031152314 2436 #define GPIOTE_INTENCLR_IN0_Pos (0UL) /*!< Position of IN0 field. */
gkroussos 0:637031152314 2437 #define GPIOTE_INTENCLR_IN0_Msk (0x1UL << GPIOTE_INTENCLR_IN0_Pos) /*!< Bit mask of IN0 field. */
gkroussos 0:637031152314 2438 #define GPIOTE_INTENCLR_IN0_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2439 #define GPIOTE_INTENCLR_IN0_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2440 #define GPIOTE_INTENCLR_IN0_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2441
gkroussos 0:637031152314 2442 /* Register: GPIOTE_CONFIG */
gkroussos 0:637031152314 2443 /* Description: Channel configuration registers. */
gkroussos 0:637031152314 2444
gkroussos 0:637031152314 2445 /* Bit 20 : Initial value of the output when the GPIOTE channel is configured as a Task. */
gkroussos 0:637031152314 2446 #define GPIOTE_CONFIG_OUTINIT_Pos (20UL) /*!< Position of OUTINIT field. */
gkroussos 0:637031152314 2447 #define GPIOTE_CONFIG_OUTINIT_Msk (0x1UL << GPIOTE_CONFIG_OUTINIT_Pos) /*!< Bit mask of OUTINIT field. */
gkroussos 0:637031152314 2448 #define GPIOTE_CONFIG_OUTINIT_Low (0UL) /*!< Initial low output when in task mode. */
gkroussos 0:637031152314 2449 #define GPIOTE_CONFIG_OUTINIT_High (1UL) /*!< Initial high output when in task mode. */
gkroussos 0:637031152314 2450
gkroussos 0:637031152314 2451 /* Bits 17..16 : Effects on output when in Task mode, or events on input that generates an event. */
gkroussos 0:637031152314 2452 #define GPIOTE_CONFIG_POLARITY_Pos (16UL) /*!< Position of POLARITY field. */
gkroussos 0:637031152314 2453 #define GPIOTE_CONFIG_POLARITY_Msk (0x3UL << GPIOTE_CONFIG_POLARITY_Pos) /*!< Bit mask of POLARITY field. */
gkroussos 0:637031152314 2454 #define GPIOTE_CONFIG_POLARITY_LoToHi (0x01UL) /*!< Low to high. */
gkroussos 0:637031152314 2455 #define GPIOTE_CONFIG_POLARITY_HiToLo (0x02UL) /*!< High to low. */
gkroussos 0:637031152314 2456 #define GPIOTE_CONFIG_POLARITY_Toggle (0x03UL) /*!< Toggle. */
gkroussos 0:637031152314 2457
gkroussos 0:637031152314 2458 /* Bits 12..8 : Pin select. */
gkroussos 0:637031152314 2459 #define GPIOTE_CONFIG_PSEL_Pos (8UL) /*!< Position of PSEL field. */
gkroussos 0:637031152314 2460 #define GPIOTE_CONFIG_PSEL_Msk (0x1FUL << GPIOTE_CONFIG_PSEL_Pos) /*!< Bit mask of PSEL field. */
gkroussos 0:637031152314 2461
gkroussos 0:637031152314 2462 /* Bits 1..0 : Mode */
gkroussos 0:637031152314 2463 #define GPIOTE_CONFIG_MODE_Pos (0UL) /*!< Position of MODE field. */
gkroussos 0:637031152314 2464 #define GPIOTE_CONFIG_MODE_Msk (0x3UL << GPIOTE_CONFIG_MODE_Pos) /*!< Bit mask of MODE field. */
gkroussos 0:637031152314 2465 #define GPIOTE_CONFIG_MODE_Disabled (0x00UL) /*!< Disabled. */
gkroussos 0:637031152314 2466 #define GPIOTE_CONFIG_MODE_Event (0x01UL) /*!< Channel configure in event mode. */
gkroussos 0:637031152314 2467 #define GPIOTE_CONFIG_MODE_Task (0x03UL) /*!< Channel configure in task mode. */
gkroussos 0:637031152314 2468
gkroussos 0:637031152314 2469 /* Register: GPIOTE_POWER */
gkroussos 0:637031152314 2470 /* Description: Peripheral power control. */
gkroussos 0:637031152314 2471
gkroussos 0:637031152314 2472 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 2473 #define GPIOTE_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 2474 #define GPIOTE_POWER_POWER_Msk (0x1UL << GPIOTE_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 2475 #define GPIOTE_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 2476 #define GPIOTE_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 2477
gkroussos 0:637031152314 2478
gkroussos 0:637031152314 2479 /* Peripheral: LPCOMP */
gkroussos 0:637031152314 2480 /* Description: Wakeup Comparator. */
gkroussos 0:637031152314 2481
gkroussos 0:637031152314 2482 /* Register: LPCOMP_SHORTS */
gkroussos 0:637031152314 2483 /* Description: Shortcut for the LPCOMP. */
gkroussos 0:637031152314 2484
gkroussos 0:637031152314 2485 /* Bit 4 : Short-cut between CROSS event and STOP task. */
gkroussos 0:637031152314 2486 #define LPCOMP_SHORTS_CROSS_STOP_Pos (4UL) /*!< Position of CROSS_STOP field. */
gkroussos 0:637031152314 2487 #define LPCOMP_SHORTS_CROSS_STOP_Msk (0x1UL << LPCOMP_SHORTS_CROSS_STOP_Pos) /*!< Bit mask of CROSS_STOP field. */
gkroussos 0:637031152314 2488 #define LPCOMP_SHORTS_CROSS_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 2489 #define LPCOMP_SHORTS_CROSS_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 2490
gkroussos 0:637031152314 2491 /* Bit 3 : Short-cut between UP event and STOP task. */
gkroussos 0:637031152314 2492 #define LPCOMP_SHORTS_UP_STOP_Pos (3UL) /*!< Position of UP_STOP field. */
gkroussos 0:637031152314 2493 #define LPCOMP_SHORTS_UP_STOP_Msk (0x1UL << LPCOMP_SHORTS_UP_STOP_Pos) /*!< Bit mask of UP_STOP field. */
gkroussos 0:637031152314 2494 #define LPCOMP_SHORTS_UP_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 2495 #define LPCOMP_SHORTS_UP_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 2496
gkroussos 0:637031152314 2497 /* Bit 2 : Short-cut between DOWN event and STOP task. */
gkroussos 0:637031152314 2498 #define LPCOMP_SHORTS_DOWN_STOP_Pos (2UL) /*!< Position of DOWN_STOP field. */
gkroussos 0:637031152314 2499 #define LPCOMP_SHORTS_DOWN_STOP_Msk (0x1UL << LPCOMP_SHORTS_DOWN_STOP_Pos) /*!< Bit mask of DOWN_STOP field. */
gkroussos 0:637031152314 2500 #define LPCOMP_SHORTS_DOWN_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 2501 #define LPCOMP_SHORTS_DOWN_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 2502
gkroussos 0:637031152314 2503 /* Bit 1 : Short-cut between RADY event and STOP task. */
gkroussos 0:637031152314 2504 #define LPCOMP_SHORTS_READY_STOP_Pos (1UL) /*!< Position of READY_STOP field. */
gkroussos 0:637031152314 2505 #define LPCOMP_SHORTS_READY_STOP_Msk (0x1UL << LPCOMP_SHORTS_READY_STOP_Pos) /*!< Bit mask of READY_STOP field. */
gkroussos 0:637031152314 2506 #define LPCOMP_SHORTS_READY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 2507 #define LPCOMP_SHORTS_READY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 2508
gkroussos 0:637031152314 2509 /* Bit 0 : Short-cut between READY event and SAMPLE task. */
gkroussos 0:637031152314 2510 #define LPCOMP_SHORTS_READY_SAMPLE_Pos (0UL) /*!< Position of READY_SAMPLE field. */
gkroussos 0:637031152314 2511 #define LPCOMP_SHORTS_READY_SAMPLE_Msk (0x1UL << LPCOMP_SHORTS_READY_SAMPLE_Pos) /*!< Bit mask of READY_SAMPLE field. */
gkroussos 0:637031152314 2512 #define LPCOMP_SHORTS_READY_SAMPLE_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 2513 #define LPCOMP_SHORTS_READY_SAMPLE_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 2514
gkroussos 0:637031152314 2515 /* Register: LPCOMP_INTENSET */
gkroussos 0:637031152314 2516 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 2517
gkroussos 0:637031152314 2518 /* Bit 3 : Enable interrupt on CROSS event. */
gkroussos 0:637031152314 2519 #define LPCOMP_INTENSET_CROSS_Pos (3UL) /*!< Position of CROSS field. */
gkroussos 0:637031152314 2520 #define LPCOMP_INTENSET_CROSS_Msk (0x1UL << LPCOMP_INTENSET_CROSS_Pos) /*!< Bit mask of CROSS field. */
gkroussos 0:637031152314 2521 #define LPCOMP_INTENSET_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2522 #define LPCOMP_INTENSET_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2523 #define LPCOMP_INTENSET_CROSS_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2524
gkroussos 0:637031152314 2525 /* Bit 2 : Enable interrupt on UP event. */
gkroussos 0:637031152314 2526 #define LPCOMP_INTENSET_UP_Pos (2UL) /*!< Position of UP field. */
gkroussos 0:637031152314 2527 #define LPCOMP_INTENSET_UP_Msk (0x1UL << LPCOMP_INTENSET_UP_Pos) /*!< Bit mask of UP field. */
gkroussos 0:637031152314 2528 #define LPCOMP_INTENSET_UP_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2529 #define LPCOMP_INTENSET_UP_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2530 #define LPCOMP_INTENSET_UP_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2531
gkroussos 0:637031152314 2532 /* Bit 1 : Enable interrupt on DOWN event. */
gkroussos 0:637031152314 2533 #define LPCOMP_INTENSET_DOWN_Pos (1UL) /*!< Position of DOWN field. */
gkroussos 0:637031152314 2534 #define LPCOMP_INTENSET_DOWN_Msk (0x1UL << LPCOMP_INTENSET_DOWN_Pos) /*!< Bit mask of DOWN field. */
gkroussos 0:637031152314 2535 #define LPCOMP_INTENSET_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2536 #define LPCOMP_INTENSET_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2537 #define LPCOMP_INTENSET_DOWN_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2538
gkroussos 0:637031152314 2539 /* Bit 0 : Enable interrupt on READY event. */
gkroussos 0:637031152314 2540 #define LPCOMP_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
gkroussos 0:637031152314 2541 #define LPCOMP_INTENSET_READY_Msk (0x1UL << LPCOMP_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 2542 #define LPCOMP_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2543 #define LPCOMP_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2544 #define LPCOMP_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 2545
gkroussos 0:637031152314 2546 /* Register: LPCOMP_INTENCLR */
gkroussos 0:637031152314 2547 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 2548
gkroussos 0:637031152314 2549 /* Bit 3 : Disable interrupt on CROSS event. */
gkroussos 0:637031152314 2550 #define LPCOMP_INTENCLR_CROSS_Pos (3UL) /*!< Position of CROSS field. */
gkroussos 0:637031152314 2551 #define LPCOMP_INTENCLR_CROSS_Msk (0x1UL << LPCOMP_INTENCLR_CROSS_Pos) /*!< Bit mask of CROSS field. */
gkroussos 0:637031152314 2552 #define LPCOMP_INTENCLR_CROSS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2553 #define LPCOMP_INTENCLR_CROSS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2554 #define LPCOMP_INTENCLR_CROSS_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2555
gkroussos 0:637031152314 2556 /* Bit 2 : Disable interrupt on UP event. */
gkroussos 0:637031152314 2557 #define LPCOMP_INTENCLR_UP_Pos (2UL) /*!< Position of UP field. */
gkroussos 0:637031152314 2558 #define LPCOMP_INTENCLR_UP_Msk (0x1UL << LPCOMP_INTENCLR_UP_Pos) /*!< Bit mask of UP field. */
gkroussos 0:637031152314 2559 #define LPCOMP_INTENCLR_UP_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2560 #define LPCOMP_INTENCLR_UP_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2561 #define LPCOMP_INTENCLR_UP_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2562
gkroussos 0:637031152314 2563 /* Bit 1 : Disable interrupt on DOWN event. */
gkroussos 0:637031152314 2564 #define LPCOMP_INTENCLR_DOWN_Pos (1UL) /*!< Position of DOWN field. */
gkroussos 0:637031152314 2565 #define LPCOMP_INTENCLR_DOWN_Msk (0x1UL << LPCOMP_INTENCLR_DOWN_Pos) /*!< Bit mask of DOWN field. */
gkroussos 0:637031152314 2566 #define LPCOMP_INTENCLR_DOWN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2567 #define LPCOMP_INTENCLR_DOWN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2568 #define LPCOMP_INTENCLR_DOWN_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2569
gkroussos 0:637031152314 2570 /* Bit 0 : Disable interrupt on READY event. */
gkroussos 0:637031152314 2571 #define LPCOMP_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
gkroussos 0:637031152314 2572 #define LPCOMP_INTENCLR_READY_Msk (0x1UL << LPCOMP_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 2573 #define LPCOMP_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 2574 #define LPCOMP_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 2575 #define LPCOMP_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 2576
gkroussos 0:637031152314 2577 /* Register: LPCOMP_RESULT */
gkroussos 0:637031152314 2578 /* Description: Result of last compare. */
gkroussos 0:637031152314 2579
gkroussos 0:637031152314 2580 /* Bit 0 : Result of last compare. Decision point SAMPLE task. */
gkroussos 0:637031152314 2581 #define LPCOMP_RESULT_RESULT_Pos (0UL) /*!< Position of RESULT field. */
gkroussos 0:637031152314 2582 #define LPCOMP_RESULT_RESULT_Msk (0x1UL << LPCOMP_RESULT_RESULT_Pos) /*!< Bit mask of RESULT field. */
gkroussos 0:637031152314 2583 #define LPCOMP_RESULT_RESULT_Bellow (0UL) /*!< Input voltage is bellow the reference threshold. */
gkroussos 0:637031152314 2584 #define LPCOMP_RESULT_RESULT_Above (1UL) /*!< Input voltage is above the reference threshold. */
gkroussos 0:637031152314 2585
gkroussos 0:637031152314 2586 /* Register: LPCOMP_ENABLE */
gkroussos 0:637031152314 2587 /* Description: Enable the LPCOMP. */
gkroussos 0:637031152314 2588
gkroussos 0:637031152314 2589 /* Bits 1..0 : Enable or disable LPCOMP. */
gkroussos 0:637031152314 2590 #define LPCOMP_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 2591 #define LPCOMP_ENABLE_ENABLE_Msk (0x3UL << LPCOMP_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 2592 #define LPCOMP_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled LPCOMP. */
gkroussos 0:637031152314 2593 #define LPCOMP_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable LPCOMP. */
gkroussos 0:637031152314 2594
gkroussos 0:637031152314 2595 /* Register: LPCOMP_PSEL */
gkroussos 0:637031152314 2596 /* Description: Input pin select. */
gkroussos 0:637031152314 2597
gkroussos 0:637031152314 2598 /* Bits 2..0 : Analog input pin select. */
gkroussos 0:637031152314 2599 #define LPCOMP_PSEL_PSEL_Pos (0UL) /*!< Position of PSEL field. */
gkroussos 0:637031152314 2600 #define LPCOMP_PSEL_PSEL_Msk (0x7UL << LPCOMP_PSEL_PSEL_Pos) /*!< Bit mask of PSEL field. */
gkroussos 0:637031152314 2601 #define LPCOMP_PSEL_PSEL_AnalogInput0 (0UL) /*!< Use analog input 0 as analog input. */
gkroussos 0:637031152314 2602 #define LPCOMP_PSEL_PSEL_AnalogInput1 (1UL) /*!< Use analog input 1 as analog input. */
gkroussos 0:637031152314 2603 #define LPCOMP_PSEL_PSEL_AnalogInput2 (2UL) /*!< Use analog input 2 as analog input. */
gkroussos 0:637031152314 2604 #define LPCOMP_PSEL_PSEL_AnalogInput3 (3UL) /*!< Use analog input 3 as analog input. */
gkroussos 0:637031152314 2605 #define LPCOMP_PSEL_PSEL_AnalogInput4 (4UL) /*!< Use analog input 4 as analog input. */
gkroussos 0:637031152314 2606 #define LPCOMP_PSEL_PSEL_AnalogInput5 (5UL) /*!< Use analog input 5 as analog input. */
gkroussos 0:637031152314 2607 #define LPCOMP_PSEL_PSEL_AnalogInput6 (6UL) /*!< Use analog input 6 as analog input. */
gkroussos 0:637031152314 2608 #define LPCOMP_PSEL_PSEL_AnalogInput7 (7UL) /*!< Use analog input 7 as analog input. */
gkroussos 0:637031152314 2609
gkroussos 0:637031152314 2610 /* Register: LPCOMP_REFSEL */
gkroussos 0:637031152314 2611 /* Description: Reference select. */
gkroussos 0:637031152314 2612
gkroussos 0:637031152314 2613 /* Bits 2..0 : Reference select. */
gkroussos 0:637031152314 2614 #define LPCOMP_REFSEL_REFSEL_Pos (0UL) /*!< Position of REFSEL field. */
gkroussos 0:637031152314 2615 #define LPCOMP_REFSEL_REFSEL_Msk (0x7UL << LPCOMP_REFSEL_REFSEL_Pos) /*!< Bit mask of REFSEL field. */
gkroussos 0:637031152314 2616 #define LPCOMP_REFSEL_REFSEL_SupplyOneEighthPrescaling (0UL) /*!< Use analog supply with a 1/8 prescaler as reference. */
gkroussos 0:637031152314 2617 #define LPCOMP_REFSEL_REFSEL_SupplyTwoEighthsPrescaling (1UL) /*!< Use analog supply with a 2/8 prescaler as reference. */
gkroussos 0:637031152314 2618 #define LPCOMP_REFSEL_REFSEL_SupplyThreeEighthsPrescaling (2UL) /*!< Use analog supply with a 3/8 prescaler as reference. */
gkroussos 0:637031152314 2619 #define LPCOMP_REFSEL_REFSEL_SupplyFourEighthsPrescaling (3UL) /*!< Use analog supply with a 4/8 prescaler as reference. */
gkroussos 0:637031152314 2620 #define LPCOMP_REFSEL_REFSEL_SupplyFiveEighthsPrescaling (4UL) /*!< Use analog supply with a 5/8 prescaler as reference. */
gkroussos 0:637031152314 2621 #define LPCOMP_REFSEL_REFSEL_SupplySixEighthsPrescaling (5UL) /*!< Use analog supply with a 6/8 prescaler as reference. */
gkroussos 0:637031152314 2622 #define LPCOMP_REFSEL_REFSEL_SupplySevenEighthsPrescaling (6UL) /*!< Use analog supply with a 7/8 prescaler as reference. */
gkroussos 0:637031152314 2623 #define LPCOMP_REFSEL_REFSEL_ARef (7UL) /*!< Use external analog reference as reference. */
gkroussos 0:637031152314 2624
gkroussos 0:637031152314 2625 /* Register: LPCOMP_EXTREFSEL */
gkroussos 0:637031152314 2626 /* Description: External reference select. */
gkroussos 0:637031152314 2627
gkroussos 0:637031152314 2628 /* Bit 0 : External analog reference pin selection. */
gkroussos 0:637031152314 2629 #define LPCOMP_EXTREFSEL_EXTREFSEL_Pos (0UL) /*!< Position of EXTREFSEL field. */
gkroussos 0:637031152314 2630 #define LPCOMP_EXTREFSEL_EXTREFSEL_Msk (0x1UL << LPCOMP_EXTREFSEL_EXTREFSEL_Pos) /*!< Bit mask of EXTREFSEL field. */
gkroussos 0:637031152314 2631 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 (0UL) /*!< Use analog reference 0 as reference. */
gkroussos 0:637031152314 2632 #define LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 (1UL) /*!< Use analog reference 1 as reference. */
gkroussos 0:637031152314 2633
gkroussos 0:637031152314 2634 /* Register: LPCOMP_ANADETECT */
gkroussos 0:637031152314 2635 /* Description: Analog detect configuration. */
gkroussos 0:637031152314 2636
gkroussos 0:637031152314 2637 /* Bits 1..0 : Analog detect configuration. */
gkroussos 0:637031152314 2638 #define LPCOMP_ANADETECT_ANADETECT_Pos (0UL) /*!< Position of ANADETECT field. */
gkroussos 0:637031152314 2639 #define LPCOMP_ANADETECT_ANADETECT_Msk (0x3UL << LPCOMP_ANADETECT_ANADETECT_Pos) /*!< Bit mask of ANADETECT field. */
gkroussos 0:637031152314 2640 #define LPCOMP_ANADETECT_ANADETECT_Cross (0UL) /*!< Generate ANADETEC on crossing, both upwards and downwards crossing. */
gkroussos 0:637031152314 2641 #define LPCOMP_ANADETECT_ANADETECT_Up (1UL) /*!< Generate ANADETEC on upwards crossing only. */
gkroussos 0:637031152314 2642 #define LPCOMP_ANADETECT_ANADETECT_Down (2UL) /*!< Generate ANADETEC on downwards crossing only. */
gkroussos 0:637031152314 2643
gkroussos 0:637031152314 2644 /* Register: LPCOMP_POWER */
gkroussos 0:637031152314 2645 /* Description: Peripheral power control. */
gkroussos 0:637031152314 2646
gkroussos 0:637031152314 2647 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 2648 #define LPCOMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 2649 #define LPCOMP_POWER_POWER_Msk (0x1UL << LPCOMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 2650 #define LPCOMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 2651 #define LPCOMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 2652
gkroussos 0:637031152314 2653
gkroussos 0:637031152314 2654 /* Peripheral: MPU */
gkroussos 0:637031152314 2655 /* Description: Memory Protection Unit. */
gkroussos 0:637031152314 2656
gkroussos 0:637031152314 2657 /* Register: MPU_PERR0 */
gkroussos 0:637031152314 2658 /* Description: Configuration of peripherals in mpu regions. */
gkroussos 0:637031152314 2659
gkroussos 0:637031152314 2660 /* Bit 31 : PPI region configuration. */
gkroussos 0:637031152314 2661 #define MPU_PERR0_PPI_Pos (31UL) /*!< Position of PPI field. */
gkroussos 0:637031152314 2662 #define MPU_PERR0_PPI_Msk (0x1UL << MPU_PERR0_PPI_Pos) /*!< Bit mask of PPI field. */
gkroussos 0:637031152314 2663 #define MPU_PERR0_PPI_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2664 #define MPU_PERR0_PPI_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2665
gkroussos 0:637031152314 2666 /* Bit 30 : NVMC region configuration. */
gkroussos 0:637031152314 2667 #define MPU_PERR0_NVMC_Pos (30UL) /*!< Position of NVMC field. */
gkroussos 0:637031152314 2668 #define MPU_PERR0_NVMC_Msk (0x1UL << MPU_PERR0_NVMC_Pos) /*!< Bit mask of NVMC field. */
gkroussos 0:637031152314 2669 #define MPU_PERR0_NVMC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2670 #define MPU_PERR0_NVMC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2671
gkroussos 0:637031152314 2672 /* Bit 19 : LPCOMP_COMP region configuration. */
gkroussos 0:637031152314 2673 #define MPU_PERR0_LPCOMP_COMP_Pos (19UL) /*!< Position of LPCOMP_COMP field. */
gkroussos 0:637031152314 2674 #define MPU_PERR0_LPCOMP_COMP_Msk (0x1UL << MPU_PERR0_LPCOMP_COMP_Pos) /*!< Bit mask of LPCOMP_COMP field. */
gkroussos 0:637031152314 2675 #define MPU_PERR0_LPCOMP_COMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2676 #define MPU_PERR0_LPCOMP_COMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2677
gkroussos 0:637031152314 2678 /* Bit 18 : QDEC region configuration. */
gkroussos 0:637031152314 2679 #define MPU_PERR0_QDEC_Pos (18UL) /*!< Position of QDEC field. */
gkroussos 0:637031152314 2680 #define MPU_PERR0_QDEC_Msk (0x1UL << MPU_PERR0_QDEC_Pos) /*!< Bit mask of QDEC field. */
gkroussos 0:637031152314 2681 #define MPU_PERR0_QDEC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2682 #define MPU_PERR0_QDEC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2683
gkroussos 0:637031152314 2684 /* Bit 17 : RTC1 region configuration. */
gkroussos 0:637031152314 2685 #define MPU_PERR0_RTC1_Pos (17UL) /*!< Position of RTC1 field. */
gkroussos 0:637031152314 2686 #define MPU_PERR0_RTC1_Msk (0x1UL << MPU_PERR0_RTC1_Pos) /*!< Bit mask of RTC1 field. */
gkroussos 0:637031152314 2687 #define MPU_PERR0_RTC1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2688 #define MPU_PERR0_RTC1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2689
gkroussos 0:637031152314 2690 /* Bit 16 : WDT region configuration. */
gkroussos 0:637031152314 2691 #define MPU_PERR0_WDT_Pos (16UL) /*!< Position of WDT field. */
gkroussos 0:637031152314 2692 #define MPU_PERR0_WDT_Msk (0x1UL << MPU_PERR0_WDT_Pos) /*!< Bit mask of WDT field. */
gkroussos 0:637031152314 2693 #define MPU_PERR0_WDT_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2694 #define MPU_PERR0_WDT_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2695
gkroussos 0:637031152314 2696 /* Bit 15 : CCM and AAR region configuration. */
gkroussos 0:637031152314 2697 #define MPU_PERR0_CCM_AAR_Pos (15UL) /*!< Position of CCM_AAR field. */
gkroussos 0:637031152314 2698 #define MPU_PERR0_CCM_AAR_Msk (0x1UL << MPU_PERR0_CCM_AAR_Pos) /*!< Bit mask of CCM_AAR field. */
gkroussos 0:637031152314 2699 #define MPU_PERR0_CCM_AAR_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2700 #define MPU_PERR0_CCM_AAR_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2701
gkroussos 0:637031152314 2702 /* Bit 14 : ECB region configuration. */
gkroussos 0:637031152314 2703 #define MPU_PERR0_ECB_Pos (14UL) /*!< Position of ECB field. */
gkroussos 0:637031152314 2704 #define MPU_PERR0_ECB_Msk (0x1UL << MPU_PERR0_ECB_Pos) /*!< Bit mask of ECB field. */
gkroussos 0:637031152314 2705 #define MPU_PERR0_ECB_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2706 #define MPU_PERR0_ECB_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2707
gkroussos 0:637031152314 2708 /* Bit 13 : RNG region configuration. */
gkroussos 0:637031152314 2709 #define MPU_PERR0_RNG_Pos (13UL) /*!< Position of RNG field. */
gkroussos 0:637031152314 2710 #define MPU_PERR0_RNG_Msk (0x1UL << MPU_PERR0_RNG_Pos) /*!< Bit mask of RNG field. */
gkroussos 0:637031152314 2711 #define MPU_PERR0_RNG_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2712 #define MPU_PERR0_RNG_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2713
gkroussos 0:637031152314 2714 /* Bit 12 : TEMP region configuration. */
gkroussos 0:637031152314 2715 #define MPU_PERR0_TEMP_Pos (12UL) /*!< Position of TEMP field. */
gkroussos 0:637031152314 2716 #define MPU_PERR0_TEMP_Msk (0x1UL << MPU_PERR0_TEMP_Pos) /*!< Bit mask of TEMP field. */
gkroussos 0:637031152314 2717 #define MPU_PERR0_TEMP_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2718 #define MPU_PERR0_TEMP_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2719
gkroussos 0:637031152314 2720 /* Bit 11 : RTC0 region configuration. */
gkroussos 0:637031152314 2721 #define MPU_PERR0_RTC0_Pos (11UL) /*!< Position of RTC0 field. */
gkroussos 0:637031152314 2722 #define MPU_PERR0_RTC0_Msk (0x1UL << MPU_PERR0_RTC0_Pos) /*!< Bit mask of RTC0 field. */
gkroussos 0:637031152314 2723 #define MPU_PERR0_RTC0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2724 #define MPU_PERR0_RTC0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2725
gkroussos 0:637031152314 2726 /* Bit 10 : TIMER2 region configuration. */
gkroussos 0:637031152314 2727 #define MPU_PERR0_TIMER2_Pos (10UL) /*!< Position of TIMER2 field. */
gkroussos 0:637031152314 2728 #define MPU_PERR0_TIMER2_Msk (0x1UL << MPU_PERR0_TIMER2_Pos) /*!< Bit mask of TIMER2 field. */
gkroussos 0:637031152314 2729 #define MPU_PERR0_TIMER2_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2730 #define MPU_PERR0_TIMER2_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2731
gkroussos 0:637031152314 2732 /* Bit 9 : TIMER1 region configuration. */
gkroussos 0:637031152314 2733 #define MPU_PERR0_TIMER1_Pos (9UL) /*!< Position of TIMER1 field. */
gkroussos 0:637031152314 2734 #define MPU_PERR0_TIMER1_Msk (0x1UL << MPU_PERR0_TIMER1_Pos) /*!< Bit mask of TIMER1 field. */
gkroussos 0:637031152314 2735 #define MPU_PERR0_TIMER1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2736 #define MPU_PERR0_TIMER1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2737
gkroussos 0:637031152314 2738 /* Bit 8 : TIMER0 region configuration. */
gkroussos 0:637031152314 2739 #define MPU_PERR0_TIMER0_Pos (8UL) /*!< Position of TIMER0 field. */
gkroussos 0:637031152314 2740 #define MPU_PERR0_TIMER0_Msk (0x1UL << MPU_PERR0_TIMER0_Pos) /*!< Bit mask of TIMER0 field. */
gkroussos 0:637031152314 2741 #define MPU_PERR0_TIMER0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2742 #define MPU_PERR0_TIMER0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2743
gkroussos 0:637031152314 2744 /* Bit 7 : ADC region configuration. */
gkroussos 0:637031152314 2745 #define MPU_PERR0_ADC_Pos (7UL) /*!< Position of ADC field. */
gkroussos 0:637031152314 2746 #define MPU_PERR0_ADC_Msk (0x1UL << MPU_PERR0_ADC_Pos) /*!< Bit mask of ADC field. */
gkroussos 0:637031152314 2747 #define MPU_PERR0_ADC_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2748 #define MPU_PERR0_ADC_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2749
gkroussos 0:637031152314 2750 /* Bit 6 : GPIOTE region configuration. */
gkroussos 0:637031152314 2751 #define MPU_PERR0_GPIOTE_Pos (6UL) /*!< Position of GPIOTE field. */
gkroussos 0:637031152314 2752 #define MPU_PERR0_GPIOTE_Msk (0x1UL << MPU_PERR0_GPIOTE_Pos) /*!< Bit mask of GPIOTE field. */
gkroussos 0:637031152314 2753 #define MPU_PERR0_GPIOTE_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2754 #define MPU_PERR0_GPIOTE_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2755
gkroussos 0:637031152314 2756 /* Bit 4 : SPI1 and TWI1 region configuration. */
gkroussos 0:637031152314 2757 #define MPU_PERR0_SPI1_TWI1_Pos (4UL) /*!< Position of SPI1_TWI1 field. */
gkroussos 0:637031152314 2758 #define MPU_PERR0_SPI1_TWI1_Msk (0x1UL << MPU_PERR0_SPI1_TWI1_Pos) /*!< Bit mask of SPI1_TWI1 field. */
gkroussos 0:637031152314 2759 #define MPU_PERR0_SPI1_TWI1_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2760 #define MPU_PERR0_SPI1_TWI1_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2761
gkroussos 0:637031152314 2762 /* Bit 3 : SPI0 and TWI0 region configuration. */
gkroussos 0:637031152314 2763 #define MPU_PERR0_SPI0_TWI0_Pos (3UL) /*!< Position of SPI0_TWI0 field. */
gkroussos 0:637031152314 2764 #define MPU_PERR0_SPI0_TWI0_Msk (0x1UL << MPU_PERR0_SPI0_TWI0_Pos) /*!< Bit mask of SPI0_TWI0 field. */
gkroussos 0:637031152314 2765 #define MPU_PERR0_SPI0_TWI0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2766 #define MPU_PERR0_SPI0_TWI0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2767
gkroussos 0:637031152314 2768 /* Bit 2 : UART0 region configuration. */
gkroussos 0:637031152314 2769 #define MPU_PERR0_UART0_Pos (2UL) /*!< Position of UART0 field. */
gkroussos 0:637031152314 2770 #define MPU_PERR0_UART0_Msk (0x1UL << MPU_PERR0_UART0_Pos) /*!< Bit mask of UART0 field. */
gkroussos 0:637031152314 2771 #define MPU_PERR0_UART0_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2772 #define MPU_PERR0_UART0_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2773
gkroussos 0:637031152314 2774 /* Bit 1 : RADIO region configuration. */
gkroussos 0:637031152314 2775 #define MPU_PERR0_RADIO_Pos (1UL) /*!< Position of RADIO field. */
gkroussos 0:637031152314 2776 #define MPU_PERR0_RADIO_Msk (0x1UL << MPU_PERR0_RADIO_Pos) /*!< Bit mask of RADIO field. */
gkroussos 0:637031152314 2777 #define MPU_PERR0_RADIO_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2778 #define MPU_PERR0_RADIO_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2779
gkroussos 0:637031152314 2780 /* Bit 0 : POWER_CLOCK region configuration. */
gkroussos 0:637031152314 2781 #define MPU_PERR0_POWER_CLOCK_Pos (0UL) /*!< Position of POWER_CLOCK field. */
gkroussos 0:637031152314 2782 #define MPU_PERR0_POWER_CLOCK_Msk (0x1UL << MPU_PERR0_POWER_CLOCK_Pos) /*!< Bit mask of POWER_CLOCK field. */
gkroussos 0:637031152314 2783 #define MPU_PERR0_POWER_CLOCK_InRegion1 (0UL) /*!< Peripheral configured in region 1. */
gkroussos 0:637031152314 2784 #define MPU_PERR0_POWER_CLOCK_InRegion0 (1UL) /*!< Peripheral configured in region 0. */
gkroussos 0:637031152314 2785
gkroussos 0:637031152314 2786 /* Register: MPU_PROTENSET0 */
gkroussos 0:637031152314 2787 /* Description: Protection bit enable set register for low addresses. */
gkroussos 0:637031152314 2788
gkroussos 0:637031152314 2789 /* Bit 31 : Protection enable for region 31. */
gkroussos 0:637031152314 2790 #define MPU_PROTENSET0_PROTREG31_Pos (31UL) /*!< Position of PROTREG31 field. */
gkroussos 0:637031152314 2791 #define MPU_PROTENSET0_PROTREG31_Msk (0x1UL << MPU_PROTENSET0_PROTREG31_Pos) /*!< Bit mask of PROTREG31 field. */
gkroussos 0:637031152314 2792 #define MPU_PROTENSET0_PROTREG31_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2793 #define MPU_PROTENSET0_PROTREG31_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2794 #define MPU_PROTENSET0_PROTREG31_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2795
gkroussos 0:637031152314 2796 /* Bit 30 : Protection enable for region 30. */
gkroussos 0:637031152314 2797 #define MPU_PROTENSET0_PROTREG30_Pos (30UL) /*!< Position of PROTREG30 field. */
gkroussos 0:637031152314 2798 #define MPU_PROTENSET0_PROTREG30_Msk (0x1UL << MPU_PROTENSET0_PROTREG30_Pos) /*!< Bit mask of PROTREG30 field. */
gkroussos 0:637031152314 2799 #define MPU_PROTENSET0_PROTREG30_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2800 #define MPU_PROTENSET0_PROTREG30_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2801 #define MPU_PROTENSET0_PROTREG30_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2802
gkroussos 0:637031152314 2803 /* Bit 29 : Protection enable for region 29. */
gkroussos 0:637031152314 2804 #define MPU_PROTENSET0_PROTREG29_Pos (29UL) /*!< Position of PROTREG29 field. */
gkroussos 0:637031152314 2805 #define MPU_PROTENSET0_PROTREG29_Msk (0x1UL << MPU_PROTENSET0_PROTREG29_Pos) /*!< Bit mask of PROTREG29 field. */
gkroussos 0:637031152314 2806 #define MPU_PROTENSET0_PROTREG29_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2807 #define MPU_PROTENSET0_PROTREG29_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2808 #define MPU_PROTENSET0_PROTREG29_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2809
gkroussos 0:637031152314 2810 /* Bit 28 : Protection enable for region 28. */
gkroussos 0:637031152314 2811 #define MPU_PROTENSET0_PROTREG28_Pos (28UL) /*!< Position of PROTREG28 field. */
gkroussos 0:637031152314 2812 #define MPU_PROTENSET0_PROTREG28_Msk (0x1UL << MPU_PROTENSET0_PROTREG28_Pos) /*!< Bit mask of PROTREG28 field. */
gkroussos 0:637031152314 2813 #define MPU_PROTENSET0_PROTREG28_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2814 #define MPU_PROTENSET0_PROTREG28_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2815 #define MPU_PROTENSET0_PROTREG28_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2816
gkroussos 0:637031152314 2817 /* Bit 27 : Protection enable for region 27. */
gkroussos 0:637031152314 2818 #define MPU_PROTENSET0_PROTREG27_Pos (27UL) /*!< Position of PROTREG27 field. */
gkroussos 0:637031152314 2819 #define MPU_PROTENSET0_PROTREG27_Msk (0x1UL << MPU_PROTENSET0_PROTREG27_Pos) /*!< Bit mask of PROTREG27 field. */
gkroussos 0:637031152314 2820 #define MPU_PROTENSET0_PROTREG27_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2821 #define MPU_PROTENSET0_PROTREG27_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2822 #define MPU_PROTENSET0_PROTREG27_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2823
gkroussos 0:637031152314 2824 /* Bit 26 : Protection enable for region 26. */
gkroussos 0:637031152314 2825 #define MPU_PROTENSET0_PROTREG26_Pos (26UL) /*!< Position of PROTREG26 field. */
gkroussos 0:637031152314 2826 #define MPU_PROTENSET0_PROTREG26_Msk (0x1UL << MPU_PROTENSET0_PROTREG26_Pos) /*!< Bit mask of PROTREG26 field. */
gkroussos 0:637031152314 2827 #define MPU_PROTENSET0_PROTREG26_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2828 #define MPU_PROTENSET0_PROTREG26_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2829 #define MPU_PROTENSET0_PROTREG26_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2830
gkroussos 0:637031152314 2831 /* Bit 25 : Protection enable for region 25. */
gkroussos 0:637031152314 2832 #define MPU_PROTENSET0_PROTREG25_Pos (25UL) /*!< Position of PROTREG25 field. */
gkroussos 0:637031152314 2833 #define MPU_PROTENSET0_PROTREG25_Msk (0x1UL << MPU_PROTENSET0_PROTREG25_Pos) /*!< Bit mask of PROTREG25 field. */
gkroussos 0:637031152314 2834 #define MPU_PROTENSET0_PROTREG25_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2835 #define MPU_PROTENSET0_PROTREG25_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2836 #define MPU_PROTENSET0_PROTREG25_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2837
gkroussos 0:637031152314 2838 /* Bit 24 : Protection enable for region 24. */
gkroussos 0:637031152314 2839 #define MPU_PROTENSET0_PROTREG24_Pos (24UL) /*!< Position of PROTREG24 field. */
gkroussos 0:637031152314 2840 #define MPU_PROTENSET0_PROTREG24_Msk (0x1UL << MPU_PROTENSET0_PROTREG24_Pos) /*!< Bit mask of PROTREG24 field. */
gkroussos 0:637031152314 2841 #define MPU_PROTENSET0_PROTREG24_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2842 #define MPU_PROTENSET0_PROTREG24_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2843 #define MPU_PROTENSET0_PROTREG24_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2844
gkroussos 0:637031152314 2845 /* Bit 23 : Protection enable for region 23. */
gkroussos 0:637031152314 2846 #define MPU_PROTENSET0_PROTREG23_Pos (23UL) /*!< Position of PROTREG23 field. */
gkroussos 0:637031152314 2847 #define MPU_PROTENSET0_PROTREG23_Msk (0x1UL << MPU_PROTENSET0_PROTREG23_Pos) /*!< Bit mask of PROTREG23 field. */
gkroussos 0:637031152314 2848 #define MPU_PROTENSET0_PROTREG23_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2849 #define MPU_PROTENSET0_PROTREG23_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2850 #define MPU_PROTENSET0_PROTREG23_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2851
gkroussos 0:637031152314 2852 /* Bit 22 : Protection enable for region 22. */
gkroussos 0:637031152314 2853 #define MPU_PROTENSET0_PROTREG22_Pos (22UL) /*!< Position of PROTREG22 field. */
gkroussos 0:637031152314 2854 #define MPU_PROTENSET0_PROTREG22_Msk (0x1UL << MPU_PROTENSET0_PROTREG22_Pos) /*!< Bit mask of PROTREG22 field. */
gkroussos 0:637031152314 2855 #define MPU_PROTENSET0_PROTREG22_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2856 #define MPU_PROTENSET0_PROTREG22_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2857 #define MPU_PROTENSET0_PROTREG22_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2858
gkroussos 0:637031152314 2859 /* Bit 21 : Protection enable for region 21. */
gkroussos 0:637031152314 2860 #define MPU_PROTENSET0_PROTREG21_Pos (21UL) /*!< Position of PROTREG21 field. */
gkroussos 0:637031152314 2861 #define MPU_PROTENSET0_PROTREG21_Msk (0x1UL << MPU_PROTENSET0_PROTREG21_Pos) /*!< Bit mask of PROTREG21 field. */
gkroussos 0:637031152314 2862 #define MPU_PROTENSET0_PROTREG21_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2863 #define MPU_PROTENSET0_PROTREG21_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2864 #define MPU_PROTENSET0_PROTREG21_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2865
gkroussos 0:637031152314 2866 /* Bit 20 : Protection enable for region 20. */
gkroussos 0:637031152314 2867 #define MPU_PROTENSET0_PROTREG20_Pos (20UL) /*!< Position of PROTREG20 field. */
gkroussos 0:637031152314 2868 #define MPU_PROTENSET0_PROTREG20_Msk (0x1UL << MPU_PROTENSET0_PROTREG20_Pos) /*!< Bit mask of PROTREG20 field. */
gkroussos 0:637031152314 2869 #define MPU_PROTENSET0_PROTREG20_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2870 #define MPU_PROTENSET0_PROTREG20_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2871 #define MPU_PROTENSET0_PROTREG20_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2872
gkroussos 0:637031152314 2873 /* Bit 19 : Protection enable for region 19. */
gkroussos 0:637031152314 2874 #define MPU_PROTENSET0_PROTREG19_Pos (19UL) /*!< Position of PROTREG19 field. */
gkroussos 0:637031152314 2875 #define MPU_PROTENSET0_PROTREG19_Msk (0x1UL << MPU_PROTENSET0_PROTREG19_Pos) /*!< Bit mask of PROTREG19 field. */
gkroussos 0:637031152314 2876 #define MPU_PROTENSET0_PROTREG19_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2877 #define MPU_PROTENSET0_PROTREG19_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2878 #define MPU_PROTENSET0_PROTREG19_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2879
gkroussos 0:637031152314 2880 /* Bit 18 : Protection enable for region 18. */
gkroussos 0:637031152314 2881 #define MPU_PROTENSET0_PROTREG18_Pos (18UL) /*!< Position of PROTREG18 field. */
gkroussos 0:637031152314 2882 #define MPU_PROTENSET0_PROTREG18_Msk (0x1UL << MPU_PROTENSET0_PROTREG18_Pos) /*!< Bit mask of PROTREG18 field. */
gkroussos 0:637031152314 2883 #define MPU_PROTENSET0_PROTREG18_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2884 #define MPU_PROTENSET0_PROTREG18_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2885 #define MPU_PROTENSET0_PROTREG18_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2886
gkroussos 0:637031152314 2887 /* Bit 17 : Protection enable for region 17. */
gkroussos 0:637031152314 2888 #define MPU_PROTENSET0_PROTREG17_Pos (17UL) /*!< Position of PROTREG17 field. */
gkroussos 0:637031152314 2889 #define MPU_PROTENSET0_PROTREG17_Msk (0x1UL << MPU_PROTENSET0_PROTREG17_Pos) /*!< Bit mask of PROTREG17 field. */
gkroussos 0:637031152314 2890 #define MPU_PROTENSET0_PROTREG17_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2891 #define MPU_PROTENSET0_PROTREG17_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2892 #define MPU_PROTENSET0_PROTREG17_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2893
gkroussos 0:637031152314 2894 /* Bit 16 : Protection enable for region 16. */
gkroussos 0:637031152314 2895 #define MPU_PROTENSET0_PROTREG16_Pos (16UL) /*!< Position of PROTREG16 field. */
gkroussos 0:637031152314 2896 #define MPU_PROTENSET0_PROTREG16_Msk (0x1UL << MPU_PROTENSET0_PROTREG16_Pos) /*!< Bit mask of PROTREG16 field. */
gkroussos 0:637031152314 2897 #define MPU_PROTENSET0_PROTREG16_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2898 #define MPU_PROTENSET0_PROTREG16_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2899 #define MPU_PROTENSET0_PROTREG16_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2900
gkroussos 0:637031152314 2901 /* Bit 15 : Protection enable for region 15. */
gkroussos 0:637031152314 2902 #define MPU_PROTENSET0_PROTREG15_Pos (15UL) /*!< Position of PROTREG15 field. */
gkroussos 0:637031152314 2903 #define MPU_PROTENSET0_PROTREG15_Msk (0x1UL << MPU_PROTENSET0_PROTREG15_Pos) /*!< Bit mask of PROTREG15 field. */
gkroussos 0:637031152314 2904 #define MPU_PROTENSET0_PROTREG15_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2905 #define MPU_PROTENSET0_PROTREG15_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2906 #define MPU_PROTENSET0_PROTREG15_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2907
gkroussos 0:637031152314 2908 /* Bit 14 : Protection enable for region 14. */
gkroussos 0:637031152314 2909 #define MPU_PROTENSET0_PROTREG14_Pos (14UL) /*!< Position of PROTREG14 field. */
gkroussos 0:637031152314 2910 #define MPU_PROTENSET0_PROTREG14_Msk (0x1UL << MPU_PROTENSET0_PROTREG14_Pos) /*!< Bit mask of PROTREG14 field. */
gkroussos 0:637031152314 2911 #define MPU_PROTENSET0_PROTREG14_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2912 #define MPU_PROTENSET0_PROTREG14_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2913 #define MPU_PROTENSET0_PROTREG14_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2914
gkroussos 0:637031152314 2915 /* Bit 13 : Protection enable for region 13. */
gkroussos 0:637031152314 2916 #define MPU_PROTENSET0_PROTREG13_Pos (13UL) /*!< Position of PROTREG13 field. */
gkroussos 0:637031152314 2917 #define MPU_PROTENSET0_PROTREG13_Msk (0x1UL << MPU_PROTENSET0_PROTREG13_Pos) /*!< Bit mask of PROTREG13 field. */
gkroussos 0:637031152314 2918 #define MPU_PROTENSET0_PROTREG13_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2919 #define MPU_PROTENSET0_PROTREG13_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2920 #define MPU_PROTENSET0_PROTREG13_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2921
gkroussos 0:637031152314 2922 /* Bit 12 : Protection enable for region 12. */
gkroussos 0:637031152314 2923 #define MPU_PROTENSET0_PROTREG12_Pos (12UL) /*!< Position of PROTREG12 field. */
gkroussos 0:637031152314 2924 #define MPU_PROTENSET0_PROTREG12_Msk (0x1UL << MPU_PROTENSET0_PROTREG12_Pos) /*!< Bit mask of PROTREG12 field. */
gkroussos 0:637031152314 2925 #define MPU_PROTENSET0_PROTREG12_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2926 #define MPU_PROTENSET0_PROTREG12_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2927 #define MPU_PROTENSET0_PROTREG12_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2928
gkroussos 0:637031152314 2929 /* Bit 11 : Protection enable for region 11. */
gkroussos 0:637031152314 2930 #define MPU_PROTENSET0_PROTREG11_Pos (11UL) /*!< Position of PROTREG11 field. */
gkroussos 0:637031152314 2931 #define MPU_PROTENSET0_PROTREG11_Msk (0x1UL << MPU_PROTENSET0_PROTREG11_Pos) /*!< Bit mask of PROTREG11 field. */
gkroussos 0:637031152314 2932 #define MPU_PROTENSET0_PROTREG11_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2933 #define MPU_PROTENSET0_PROTREG11_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2934 #define MPU_PROTENSET0_PROTREG11_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2935
gkroussos 0:637031152314 2936 /* Bit 10 : Protection enable for region 10. */
gkroussos 0:637031152314 2937 #define MPU_PROTENSET0_PROTREG10_Pos (10UL) /*!< Position of PROTREG10 field. */
gkroussos 0:637031152314 2938 #define MPU_PROTENSET0_PROTREG10_Msk (0x1UL << MPU_PROTENSET0_PROTREG10_Pos) /*!< Bit mask of PROTREG10 field. */
gkroussos 0:637031152314 2939 #define MPU_PROTENSET0_PROTREG10_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2940 #define MPU_PROTENSET0_PROTREG10_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2941 #define MPU_PROTENSET0_PROTREG10_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2942
gkroussos 0:637031152314 2943 /* Bit 9 : Protection enable for region 9. */
gkroussos 0:637031152314 2944 #define MPU_PROTENSET0_PROTREG9_Pos (9UL) /*!< Position of PROTREG9 field. */
gkroussos 0:637031152314 2945 #define MPU_PROTENSET0_PROTREG9_Msk (0x1UL << MPU_PROTENSET0_PROTREG9_Pos) /*!< Bit mask of PROTREG9 field. */
gkroussos 0:637031152314 2946 #define MPU_PROTENSET0_PROTREG9_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2947 #define MPU_PROTENSET0_PROTREG9_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2948 #define MPU_PROTENSET0_PROTREG9_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2949
gkroussos 0:637031152314 2950 /* Bit 8 : Protection enable for region 8. */
gkroussos 0:637031152314 2951 #define MPU_PROTENSET0_PROTREG8_Pos (8UL) /*!< Position of PROTREG8 field. */
gkroussos 0:637031152314 2952 #define MPU_PROTENSET0_PROTREG8_Msk (0x1UL << MPU_PROTENSET0_PROTREG8_Pos) /*!< Bit mask of PROTREG8 field. */
gkroussos 0:637031152314 2953 #define MPU_PROTENSET0_PROTREG8_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2954 #define MPU_PROTENSET0_PROTREG8_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2955 #define MPU_PROTENSET0_PROTREG8_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2956
gkroussos 0:637031152314 2957 /* Bit 7 : Protection enable for region 7. */
gkroussos 0:637031152314 2958 #define MPU_PROTENSET0_PROTREG7_Pos (7UL) /*!< Position of PROTREG7 field. */
gkroussos 0:637031152314 2959 #define MPU_PROTENSET0_PROTREG7_Msk (0x1UL << MPU_PROTENSET0_PROTREG7_Pos) /*!< Bit mask of PROTREG7 field. */
gkroussos 0:637031152314 2960 #define MPU_PROTENSET0_PROTREG7_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2961 #define MPU_PROTENSET0_PROTREG7_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2962 #define MPU_PROTENSET0_PROTREG7_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2963
gkroussos 0:637031152314 2964 /* Bit 6 : Protection enable for region 6. */
gkroussos 0:637031152314 2965 #define MPU_PROTENSET0_PROTREG6_Pos (6UL) /*!< Position of PROTREG6 field. */
gkroussos 0:637031152314 2966 #define MPU_PROTENSET0_PROTREG6_Msk (0x1UL << MPU_PROTENSET0_PROTREG6_Pos) /*!< Bit mask of PROTREG6 field. */
gkroussos 0:637031152314 2967 #define MPU_PROTENSET0_PROTREG6_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2968 #define MPU_PROTENSET0_PROTREG6_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2969 #define MPU_PROTENSET0_PROTREG6_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2970
gkroussos 0:637031152314 2971 /* Bit 5 : Protection enable for region 5. */
gkroussos 0:637031152314 2972 #define MPU_PROTENSET0_PROTREG5_Pos (5UL) /*!< Position of PROTREG5 field. */
gkroussos 0:637031152314 2973 #define MPU_PROTENSET0_PROTREG5_Msk (0x1UL << MPU_PROTENSET0_PROTREG5_Pos) /*!< Bit mask of PROTREG5 field. */
gkroussos 0:637031152314 2974 #define MPU_PROTENSET0_PROTREG5_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2975 #define MPU_PROTENSET0_PROTREG5_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2976 #define MPU_PROTENSET0_PROTREG5_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2977
gkroussos 0:637031152314 2978 /* Bit 4 : Protection enable for region 4. */
gkroussos 0:637031152314 2979 #define MPU_PROTENSET0_PROTREG4_Pos (4UL) /*!< Position of PROTREG4 field. */
gkroussos 0:637031152314 2980 #define MPU_PROTENSET0_PROTREG4_Msk (0x1UL << MPU_PROTENSET0_PROTREG4_Pos) /*!< Bit mask of PROTREG4 field. */
gkroussos 0:637031152314 2981 #define MPU_PROTENSET0_PROTREG4_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2982 #define MPU_PROTENSET0_PROTREG4_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2983 #define MPU_PROTENSET0_PROTREG4_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2984
gkroussos 0:637031152314 2985 /* Bit 3 : Protection enable for region 3. */
gkroussos 0:637031152314 2986 #define MPU_PROTENSET0_PROTREG3_Pos (3UL) /*!< Position of PROTREG3 field. */
gkroussos 0:637031152314 2987 #define MPU_PROTENSET0_PROTREG3_Msk (0x1UL << MPU_PROTENSET0_PROTREG3_Pos) /*!< Bit mask of PROTREG3 field. */
gkroussos 0:637031152314 2988 #define MPU_PROTENSET0_PROTREG3_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2989 #define MPU_PROTENSET0_PROTREG3_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2990 #define MPU_PROTENSET0_PROTREG3_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2991
gkroussos 0:637031152314 2992 /* Bit 2 : Protection enable for region 2. */
gkroussos 0:637031152314 2993 #define MPU_PROTENSET0_PROTREG2_Pos (2UL) /*!< Position of PROTREG2 field. */
gkroussos 0:637031152314 2994 #define MPU_PROTENSET0_PROTREG2_Msk (0x1UL << MPU_PROTENSET0_PROTREG2_Pos) /*!< Bit mask of PROTREG2 field. */
gkroussos 0:637031152314 2995 #define MPU_PROTENSET0_PROTREG2_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 2996 #define MPU_PROTENSET0_PROTREG2_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 2997 #define MPU_PROTENSET0_PROTREG2_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 2998
gkroussos 0:637031152314 2999 /* Bit 1 : Protection enable for region 1. */
gkroussos 0:637031152314 3000 #define MPU_PROTENSET0_PROTREG1_Pos (1UL) /*!< Position of PROTREG1 field. */
gkroussos 0:637031152314 3001 #define MPU_PROTENSET0_PROTREG1_Msk (0x1UL << MPU_PROTENSET0_PROTREG1_Pos) /*!< Bit mask of PROTREG1 field. */
gkroussos 0:637031152314 3002 #define MPU_PROTENSET0_PROTREG1_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3003 #define MPU_PROTENSET0_PROTREG1_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3004 #define MPU_PROTENSET0_PROTREG1_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3005
gkroussos 0:637031152314 3006 /* Bit 0 : Protection enable for region 0. */
gkroussos 0:637031152314 3007 #define MPU_PROTENSET0_PROTREG0_Pos (0UL) /*!< Position of PROTREG0 field. */
gkroussos 0:637031152314 3008 #define MPU_PROTENSET0_PROTREG0_Msk (0x1UL << MPU_PROTENSET0_PROTREG0_Pos) /*!< Bit mask of PROTREG0 field. */
gkroussos 0:637031152314 3009 #define MPU_PROTENSET0_PROTREG0_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3010 #define MPU_PROTENSET0_PROTREG0_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3011 #define MPU_PROTENSET0_PROTREG0_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3012
gkroussos 0:637031152314 3013 /* Register: MPU_PROTENSET1 */
gkroussos 0:637031152314 3014 /* Description: Protection bit enable set register for high addresses. */
gkroussos 0:637031152314 3015
gkroussos 0:637031152314 3016 /* Bit 31 : Protection enable for region 63. */
gkroussos 0:637031152314 3017 #define MPU_PROTENSET1_PROTREG63_Pos (31UL) /*!< Position of PROTREG63 field. */
gkroussos 0:637031152314 3018 #define MPU_PROTENSET1_PROTREG63_Msk (0x1UL << MPU_PROTENSET1_PROTREG63_Pos) /*!< Bit mask of PROTREG63 field. */
gkroussos 0:637031152314 3019 #define MPU_PROTENSET1_PROTREG63_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3020 #define MPU_PROTENSET1_PROTREG63_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3021 #define MPU_PROTENSET1_PROTREG63_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3022
gkroussos 0:637031152314 3023 /* Bit 30 : Protection enable for region 62. */
gkroussos 0:637031152314 3024 #define MPU_PROTENSET1_PROTREG62_Pos (30UL) /*!< Position of PROTREG62 field. */
gkroussos 0:637031152314 3025 #define MPU_PROTENSET1_PROTREG62_Msk (0x1UL << MPU_PROTENSET1_PROTREG62_Pos) /*!< Bit mask of PROTREG62 field. */
gkroussos 0:637031152314 3026 #define MPU_PROTENSET1_PROTREG62_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3027 #define MPU_PROTENSET1_PROTREG62_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3028 #define MPU_PROTENSET1_PROTREG62_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3029
gkroussos 0:637031152314 3030 /* Bit 29 : Protection enable for region 61. */
gkroussos 0:637031152314 3031 #define MPU_PROTENSET1_PROTREG61_Pos (29UL) /*!< Position of PROTREG61 field. */
gkroussos 0:637031152314 3032 #define MPU_PROTENSET1_PROTREG61_Msk (0x1UL << MPU_PROTENSET1_PROTREG61_Pos) /*!< Bit mask of PROTREG61 field. */
gkroussos 0:637031152314 3033 #define MPU_PROTENSET1_PROTREG61_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3034 #define MPU_PROTENSET1_PROTREG61_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3035 #define MPU_PROTENSET1_PROTREG61_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3036
gkroussos 0:637031152314 3037 /* Bit 28 : Protection enable for region 60. */
gkroussos 0:637031152314 3038 #define MPU_PROTENSET1_PROTREG60_Pos (28UL) /*!< Position of PROTREG60 field. */
gkroussos 0:637031152314 3039 #define MPU_PROTENSET1_PROTREG60_Msk (0x1UL << MPU_PROTENSET1_PROTREG60_Pos) /*!< Bit mask of PROTREG60 field. */
gkroussos 0:637031152314 3040 #define MPU_PROTENSET1_PROTREG60_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3041 #define MPU_PROTENSET1_PROTREG60_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3042 #define MPU_PROTENSET1_PROTREG60_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3043
gkroussos 0:637031152314 3044 /* Bit 27 : Protection enable for region 59. */
gkroussos 0:637031152314 3045 #define MPU_PROTENSET1_PROTREG59_Pos (27UL) /*!< Position of PROTREG59 field. */
gkroussos 0:637031152314 3046 #define MPU_PROTENSET1_PROTREG59_Msk (0x1UL << MPU_PROTENSET1_PROTREG59_Pos) /*!< Bit mask of PROTREG59 field. */
gkroussos 0:637031152314 3047 #define MPU_PROTENSET1_PROTREG59_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3048 #define MPU_PROTENSET1_PROTREG59_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3049 #define MPU_PROTENSET1_PROTREG59_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3050
gkroussos 0:637031152314 3051 /* Bit 26 : Protection enable for region 58. */
gkroussos 0:637031152314 3052 #define MPU_PROTENSET1_PROTREG58_Pos (26UL) /*!< Position of PROTREG58 field. */
gkroussos 0:637031152314 3053 #define MPU_PROTENSET1_PROTREG58_Msk (0x1UL << MPU_PROTENSET1_PROTREG58_Pos) /*!< Bit mask of PROTREG58 field. */
gkroussos 0:637031152314 3054 #define MPU_PROTENSET1_PROTREG58_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3055 #define MPU_PROTENSET1_PROTREG58_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3056 #define MPU_PROTENSET1_PROTREG58_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3057
gkroussos 0:637031152314 3058 /* Bit 25 : Protection enable for region 57. */
gkroussos 0:637031152314 3059 #define MPU_PROTENSET1_PROTREG57_Pos (25UL) /*!< Position of PROTREG57 field. */
gkroussos 0:637031152314 3060 #define MPU_PROTENSET1_PROTREG57_Msk (0x1UL << MPU_PROTENSET1_PROTREG57_Pos) /*!< Bit mask of PROTREG57 field. */
gkroussos 0:637031152314 3061 #define MPU_PROTENSET1_PROTREG57_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3062 #define MPU_PROTENSET1_PROTREG57_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3063 #define MPU_PROTENSET1_PROTREG57_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3064
gkroussos 0:637031152314 3065 /* Bit 24 : Protection enable for region 56. */
gkroussos 0:637031152314 3066 #define MPU_PROTENSET1_PROTREG56_Pos (24UL) /*!< Position of PROTREG56 field. */
gkroussos 0:637031152314 3067 #define MPU_PROTENSET1_PROTREG56_Msk (0x1UL << MPU_PROTENSET1_PROTREG56_Pos) /*!< Bit mask of PROTREG56 field. */
gkroussos 0:637031152314 3068 #define MPU_PROTENSET1_PROTREG56_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3069 #define MPU_PROTENSET1_PROTREG56_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3070 #define MPU_PROTENSET1_PROTREG56_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3071
gkroussos 0:637031152314 3072 /* Bit 23 : Protection enable for region 55. */
gkroussos 0:637031152314 3073 #define MPU_PROTENSET1_PROTREG55_Pos (23UL) /*!< Position of PROTREG55 field. */
gkroussos 0:637031152314 3074 #define MPU_PROTENSET1_PROTREG55_Msk (0x1UL << MPU_PROTENSET1_PROTREG55_Pos) /*!< Bit mask of PROTREG55 field. */
gkroussos 0:637031152314 3075 #define MPU_PROTENSET1_PROTREG55_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3076 #define MPU_PROTENSET1_PROTREG55_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3077 #define MPU_PROTENSET1_PROTREG55_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3078
gkroussos 0:637031152314 3079 /* Bit 22 : Protection enable for region 54. */
gkroussos 0:637031152314 3080 #define MPU_PROTENSET1_PROTREG54_Pos (22UL) /*!< Position of PROTREG54 field. */
gkroussos 0:637031152314 3081 #define MPU_PROTENSET1_PROTREG54_Msk (0x1UL << MPU_PROTENSET1_PROTREG54_Pos) /*!< Bit mask of PROTREG54 field. */
gkroussos 0:637031152314 3082 #define MPU_PROTENSET1_PROTREG54_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3083 #define MPU_PROTENSET1_PROTREG54_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3084 #define MPU_PROTENSET1_PROTREG54_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3085
gkroussos 0:637031152314 3086 /* Bit 21 : Protection enable for region 53. */
gkroussos 0:637031152314 3087 #define MPU_PROTENSET1_PROTREG53_Pos (21UL) /*!< Position of PROTREG53 field. */
gkroussos 0:637031152314 3088 #define MPU_PROTENSET1_PROTREG53_Msk (0x1UL << MPU_PROTENSET1_PROTREG53_Pos) /*!< Bit mask of PROTREG53 field. */
gkroussos 0:637031152314 3089 #define MPU_PROTENSET1_PROTREG53_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3090 #define MPU_PROTENSET1_PROTREG53_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3091 #define MPU_PROTENSET1_PROTREG53_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3092
gkroussos 0:637031152314 3093 /* Bit 20 : Protection enable for region 52. */
gkroussos 0:637031152314 3094 #define MPU_PROTENSET1_PROTREG52_Pos (20UL) /*!< Position of PROTREG52 field. */
gkroussos 0:637031152314 3095 #define MPU_PROTENSET1_PROTREG52_Msk (0x1UL << MPU_PROTENSET1_PROTREG52_Pos) /*!< Bit mask of PROTREG52 field. */
gkroussos 0:637031152314 3096 #define MPU_PROTENSET1_PROTREG52_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3097 #define MPU_PROTENSET1_PROTREG52_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3098 #define MPU_PROTENSET1_PROTREG52_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3099
gkroussos 0:637031152314 3100 /* Bit 19 : Protection enable for region 51. */
gkroussos 0:637031152314 3101 #define MPU_PROTENSET1_PROTREG51_Pos (19UL) /*!< Position of PROTREG51 field. */
gkroussos 0:637031152314 3102 #define MPU_PROTENSET1_PROTREG51_Msk (0x1UL << MPU_PROTENSET1_PROTREG51_Pos) /*!< Bit mask of PROTREG51 field. */
gkroussos 0:637031152314 3103 #define MPU_PROTENSET1_PROTREG51_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3104 #define MPU_PROTENSET1_PROTREG51_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3105 #define MPU_PROTENSET1_PROTREG51_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3106
gkroussos 0:637031152314 3107 /* Bit 18 : Protection enable for region 50. */
gkroussos 0:637031152314 3108 #define MPU_PROTENSET1_PROTREG50_Pos (18UL) /*!< Position of PROTREG50 field. */
gkroussos 0:637031152314 3109 #define MPU_PROTENSET1_PROTREG50_Msk (0x1UL << MPU_PROTENSET1_PROTREG50_Pos) /*!< Bit mask of PROTREG50 field. */
gkroussos 0:637031152314 3110 #define MPU_PROTENSET1_PROTREG50_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3111 #define MPU_PROTENSET1_PROTREG50_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3112 #define MPU_PROTENSET1_PROTREG50_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3113
gkroussos 0:637031152314 3114 /* Bit 17 : Protection enable for region 49. */
gkroussos 0:637031152314 3115 #define MPU_PROTENSET1_PROTREG49_Pos (17UL) /*!< Position of PROTREG49 field. */
gkroussos 0:637031152314 3116 #define MPU_PROTENSET1_PROTREG49_Msk (0x1UL << MPU_PROTENSET1_PROTREG49_Pos) /*!< Bit mask of PROTREG49 field. */
gkroussos 0:637031152314 3117 #define MPU_PROTENSET1_PROTREG49_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3118 #define MPU_PROTENSET1_PROTREG49_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3119 #define MPU_PROTENSET1_PROTREG49_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3120
gkroussos 0:637031152314 3121 /* Bit 16 : Protection enable for region 48. */
gkroussos 0:637031152314 3122 #define MPU_PROTENSET1_PROTREG48_Pos (16UL) /*!< Position of PROTREG48 field. */
gkroussos 0:637031152314 3123 #define MPU_PROTENSET1_PROTREG48_Msk (0x1UL << MPU_PROTENSET1_PROTREG48_Pos) /*!< Bit mask of PROTREG48 field. */
gkroussos 0:637031152314 3124 #define MPU_PROTENSET1_PROTREG48_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3125 #define MPU_PROTENSET1_PROTREG48_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3126 #define MPU_PROTENSET1_PROTREG48_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3127
gkroussos 0:637031152314 3128 /* Bit 15 : Protection enable for region 47. */
gkroussos 0:637031152314 3129 #define MPU_PROTENSET1_PROTREG47_Pos (15UL) /*!< Position of PROTREG47 field. */
gkroussos 0:637031152314 3130 #define MPU_PROTENSET1_PROTREG47_Msk (0x1UL << MPU_PROTENSET1_PROTREG47_Pos) /*!< Bit mask of PROTREG47 field. */
gkroussos 0:637031152314 3131 #define MPU_PROTENSET1_PROTREG47_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3132 #define MPU_PROTENSET1_PROTREG47_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3133 #define MPU_PROTENSET1_PROTREG47_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3134
gkroussos 0:637031152314 3135 /* Bit 14 : Protection enable for region 46. */
gkroussos 0:637031152314 3136 #define MPU_PROTENSET1_PROTREG46_Pos (14UL) /*!< Position of PROTREG46 field. */
gkroussos 0:637031152314 3137 #define MPU_PROTENSET1_PROTREG46_Msk (0x1UL << MPU_PROTENSET1_PROTREG46_Pos) /*!< Bit mask of PROTREG46 field. */
gkroussos 0:637031152314 3138 #define MPU_PROTENSET1_PROTREG46_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3139 #define MPU_PROTENSET1_PROTREG46_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3140 #define MPU_PROTENSET1_PROTREG46_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3141
gkroussos 0:637031152314 3142 /* Bit 13 : Protection enable for region 45. */
gkroussos 0:637031152314 3143 #define MPU_PROTENSET1_PROTREG45_Pos (13UL) /*!< Position of PROTREG45 field. */
gkroussos 0:637031152314 3144 #define MPU_PROTENSET1_PROTREG45_Msk (0x1UL << MPU_PROTENSET1_PROTREG45_Pos) /*!< Bit mask of PROTREG45 field. */
gkroussos 0:637031152314 3145 #define MPU_PROTENSET1_PROTREG45_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3146 #define MPU_PROTENSET1_PROTREG45_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3147 #define MPU_PROTENSET1_PROTREG45_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3148
gkroussos 0:637031152314 3149 /* Bit 12 : Protection enable for region 44. */
gkroussos 0:637031152314 3150 #define MPU_PROTENSET1_PROTREG44_Pos (12UL) /*!< Position of PROTREG44 field. */
gkroussos 0:637031152314 3151 #define MPU_PROTENSET1_PROTREG44_Msk (0x1UL << MPU_PROTENSET1_PROTREG44_Pos) /*!< Bit mask of PROTREG44 field. */
gkroussos 0:637031152314 3152 #define MPU_PROTENSET1_PROTREG44_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3153 #define MPU_PROTENSET1_PROTREG44_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3154 #define MPU_PROTENSET1_PROTREG44_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3155
gkroussos 0:637031152314 3156 /* Bit 11 : Protection enable for region 43. */
gkroussos 0:637031152314 3157 #define MPU_PROTENSET1_PROTREG43_Pos (11UL) /*!< Position of PROTREG43 field. */
gkroussos 0:637031152314 3158 #define MPU_PROTENSET1_PROTREG43_Msk (0x1UL << MPU_PROTENSET1_PROTREG43_Pos) /*!< Bit mask of PROTREG43 field. */
gkroussos 0:637031152314 3159 #define MPU_PROTENSET1_PROTREG43_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3160 #define MPU_PROTENSET1_PROTREG43_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3161 #define MPU_PROTENSET1_PROTREG43_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3162
gkroussos 0:637031152314 3163 /* Bit 10 : Protection enable for region 42. */
gkroussos 0:637031152314 3164 #define MPU_PROTENSET1_PROTREG42_Pos (10UL) /*!< Position of PROTREG42 field. */
gkroussos 0:637031152314 3165 #define MPU_PROTENSET1_PROTREG42_Msk (0x1UL << MPU_PROTENSET1_PROTREG42_Pos) /*!< Bit mask of PROTREG42 field. */
gkroussos 0:637031152314 3166 #define MPU_PROTENSET1_PROTREG42_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3167 #define MPU_PROTENSET1_PROTREG42_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3168 #define MPU_PROTENSET1_PROTREG42_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3169
gkroussos 0:637031152314 3170 /* Bit 9 : Protection enable for region 41. */
gkroussos 0:637031152314 3171 #define MPU_PROTENSET1_PROTREG41_Pos (9UL) /*!< Position of PROTREG41 field. */
gkroussos 0:637031152314 3172 #define MPU_PROTENSET1_PROTREG41_Msk (0x1UL << MPU_PROTENSET1_PROTREG41_Pos) /*!< Bit mask of PROTREG41 field. */
gkroussos 0:637031152314 3173 #define MPU_PROTENSET1_PROTREG41_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3174 #define MPU_PROTENSET1_PROTREG41_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3175 #define MPU_PROTENSET1_PROTREG41_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3176
gkroussos 0:637031152314 3177 /* Bit 8 : Protection enable for region 40. */
gkroussos 0:637031152314 3178 #define MPU_PROTENSET1_PROTREG40_Pos (8UL) /*!< Position of PROTREG40 field. */
gkroussos 0:637031152314 3179 #define MPU_PROTENSET1_PROTREG40_Msk (0x1UL << MPU_PROTENSET1_PROTREG40_Pos) /*!< Bit mask of PROTREG40 field. */
gkroussos 0:637031152314 3180 #define MPU_PROTENSET1_PROTREG40_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3181 #define MPU_PROTENSET1_PROTREG40_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3182 #define MPU_PROTENSET1_PROTREG40_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3183
gkroussos 0:637031152314 3184 /* Bit 7 : Protection enable for region 39. */
gkroussos 0:637031152314 3185 #define MPU_PROTENSET1_PROTREG39_Pos (7UL) /*!< Position of PROTREG39 field. */
gkroussos 0:637031152314 3186 #define MPU_PROTENSET1_PROTREG39_Msk (0x1UL << MPU_PROTENSET1_PROTREG39_Pos) /*!< Bit mask of PROTREG39 field. */
gkroussos 0:637031152314 3187 #define MPU_PROTENSET1_PROTREG39_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3188 #define MPU_PROTENSET1_PROTREG39_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3189 #define MPU_PROTENSET1_PROTREG39_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3190
gkroussos 0:637031152314 3191 /* Bit 6 : Protection enable for region 38. */
gkroussos 0:637031152314 3192 #define MPU_PROTENSET1_PROTREG38_Pos (6UL) /*!< Position of PROTREG38 field. */
gkroussos 0:637031152314 3193 #define MPU_PROTENSET1_PROTREG38_Msk (0x1UL << MPU_PROTENSET1_PROTREG38_Pos) /*!< Bit mask of PROTREG38 field. */
gkroussos 0:637031152314 3194 #define MPU_PROTENSET1_PROTREG38_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3195 #define MPU_PROTENSET1_PROTREG38_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3196 #define MPU_PROTENSET1_PROTREG38_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3197
gkroussos 0:637031152314 3198 /* Bit 5 : Protection enable for region 37. */
gkroussos 0:637031152314 3199 #define MPU_PROTENSET1_PROTREG37_Pos (5UL) /*!< Position of PROTREG37 field. */
gkroussos 0:637031152314 3200 #define MPU_PROTENSET1_PROTREG37_Msk (0x1UL << MPU_PROTENSET1_PROTREG37_Pos) /*!< Bit mask of PROTREG37 field. */
gkroussos 0:637031152314 3201 #define MPU_PROTENSET1_PROTREG37_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3202 #define MPU_PROTENSET1_PROTREG37_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3203 #define MPU_PROTENSET1_PROTREG37_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3204
gkroussos 0:637031152314 3205 /* Bit 4 : Protection enable for region 36. */
gkroussos 0:637031152314 3206 #define MPU_PROTENSET1_PROTREG36_Pos (4UL) /*!< Position of PROTREG36 field. */
gkroussos 0:637031152314 3207 #define MPU_PROTENSET1_PROTREG36_Msk (0x1UL << MPU_PROTENSET1_PROTREG36_Pos) /*!< Bit mask of PROTREG36 field. */
gkroussos 0:637031152314 3208 #define MPU_PROTENSET1_PROTREG36_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3209 #define MPU_PROTENSET1_PROTREG36_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3210 #define MPU_PROTENSET1_PROTREG36_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3211
gkroussos 0:637031152314 3212 /* Bit 3 : Protection enable for region 35. */
gkroussos 0:637031152314 3213 #define MPU_PROTENSET1_PROTREG35_Pos (3UL) /*!< Position of PROTREG35 field. */
gkroussos 0:637031152314 3214 #define MPU_PROTENSET1_PROTREG35_Msk (0x1UL << MPU_PROTENSET1_PROTREG35_Pos) /*!< Bit mask of PROTREG35 field. */
gkroussos 0:637031152314 3215 #define MPU_PROTENSET1_PROTREG35_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3216 #define MPU_PROTENSET1_PROTREG35_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3217 #define MPU_PROTENSET1_PROTREG35_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3218
gkroussos 0:637031152314 3219 /* Bit 2 : Protection enable for region 34. */
gkroussos 0:637031152314 3220 #define MPU_PROTENSET1_PROTREG34_Pos (2UL) /*!< Position of PROTREG34 field. */
gkroussos 0:637031152314 3221 #define MPU_PROTENSET1_PROTREG34_Msk (0x1UL << MPU_PROTENSET1_PROTREG34_Pos) /*!< Bit mask of PROTREG34 field. */
gkroussos 0:637031152314 3222 #define MPU_PROTENSET1_PROTREG34_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3223 #define MPU_PROTENSET1_PROTREG34_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3224 #define MPU_PROTENSET1_PROTREG34_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3225
gkroussos 0:637031152314 3226 /* Bit 1 : Protection enable for region 33. */
gkroussos 0:637031152314 3227 #define MPU_PROTENSET1_PROTREG33_Pos (1UL) /*!< Position of PROTREG33 field. */
gkroussos 0:637031152314 3228 #define MPU_PROTENSET1_PROTREG33_Msk (0x1UL << MPU_PROTENSET1_PROTREG33_Pos) /*!< Bit mask of PROTREG33 field. */
gkroussos 0:637031152314 3229 #define MPU_PROTENSET1_PROTREG33_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3230 #define MPU_PROTENSET1_PROTREG33_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3231 #define MPU_PROTENSET1_PROTREG33_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3232
gkroussos 0:637031152314 3233 /* Bit 0 : Protection enable for region 32. */
gkroussos 0:637031152314 3234 #define MPU_PROTENSET1_PROTREG32_Pos (0UL) /*!< Position of PROTREG32 field. */
gkroussos 0:637031152314 3235 #define MPU_PROTENSET1_PROTREG32_Msk (0x1UL << MPU_PROTENSET1_PROTREG32_Pos) /*!< Bit mask of PROTREG32 field. */
gkroussos 0:637031152314 3236 #define MPU_PROTENSET1_PROTREG32_Disabled (0UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3237 #define MPU_PROTENSET1_PROTREG32_Enabled (1UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3238 #define MPU_PROTENSET1_PROTREG32_Set (1UL) /*!< Enable protection on write. */
gkroussos 0:637031152314 3239
gkroussos 0:637031152314 3240 /* Register: MPU_DISABLEINDEBUG */
gkroussos 0:637031152314 3241 /* Description: Disable protection mechanism in debug mode. */
gkroussos 0:637031152314 3242
gkroussos 0:637031152314 3243 /* Bit 0 : Disable protection mechanism in debug mode. */
gkroussos 0:637031152314 3244 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos (0UL) /*!< Position of DISABLEINDEBUG field. */
gkroussos 0:637031152314 3245 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Msk (0x1UL << MPU_DISABLEINDEBUG_DISABLEINDEBUG_Pos) /*!< Bit mask of DISABLEINDEBUG field. */
gkroussos 0:637031152314 3246 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Enabled (0UL) /*!< Protection enabled. */
gkroussos 0:637031152314 3247 #define MPU_DISABLEINDEBUG_DISABLEINDEBUG_Disabled (1UL) /*!< Protection disabled. */
gkroussos 0:637031152314 3248
gkroussos 0:637031152314 3249
gkroussos 0:637031152314 3250 /* Peripheral: NVMC */
gkroussos 0:637031152314 3251 /* Description: Non Volatile Memory Controller. */
gkroussos 0:637031152314 3252
gkroussos 0:637031152314 3253 /* Register: NVMC_READY */
gkroussos 0:637031152314 3254 /* Description: Ready flag. */
gkroussos 0:637031152314 3255
gkroussos 0:637031152314 3256 /* Bit 0 : NVMC ready. */
gkroussos 0:637031152314 3257 #define NVMC_READY_READY_Pos (0UL) /*!< Position of READY field. */
gkroussos 0:637031152314 3258 #define NVMC_READY_READY_Msk (0x1UL << NVMC_READY_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 3259 #define NVMC_READY_READY_Busy (0UL) /*!< NVMC is busy (on-going write or erase operation). */
gkroussos 0:637031152314 3260 #define NVMC_READY_READY_Ready (1UL) /*!< NVMC is ready. */
gkroussos 0:637031152314 3261
gkroussos 0:637031152314 3262 /* Register: NVMC_CONFIG */
gkroussos 0:637031152314 3263 /* Description: Configuration register. */
gkroussos 0:637031152314 3264
gkroussos 0:637031152314 3265 /* Bits 1..0 : Program write enable. */
gkroussos 0:637031152314 3266 #define NVMC_CONFIG_WEN_Pos (0UL) /*!< Position of WEN field. */
gkroussos 0:637031152314 3267 #define NVMC_CONFIG_WEN_Msk (0x3UL << NVMC_CONFIG_WEN_Pos) /*!< Bit mask of WEN field. */
gkroussos 0:637031152314 3268 #define NVMC_CONFIG_WEN_Ren (0x00UL) /*!< Read only access. */
gkroussos 0:637031152314 3269 #define NVMC_CONFIG_WEN_Wen (0x01UL) /*!< Write enabled. */
gkroussos 0:637031152314 3270 #define NVMC_CONFIG_WEN_Een (0x02UL) /*!< Erase enabled. */
gkroussos 0:637031152314 3271
gkroussos 0:637031152314 3272 /* Register: NVMC_ERASEALL */
gkroussos 0:637031152314 3273 /* Description: Register for erasing all non-volatile user memory. */
gkroussos 0:637031152314 3274
gkroussos 0:637031152314 3275 /* Bit 0 : Starts the erasing of all user NVM (code region 0/1 and UICR registers). */
gkroussos 0:637031152314 3276 #define NVMC_ERASEALL_ERASEALL_Pos (0UL) /*!< Position of ERASEALL field. */
gkroussos 0:637031152314 3277 #define NVMC_ERASEALL_ERASEALL_Msk (0x1UL << NVMC_ERASEALL_ERASEALL_Pos) /*!< Bit mask of ERASEALL field. */
gkroussos 0:637031152314 3278 #define NVMC_ERASEALL_ERASEALL_NoOperation (0UL) /*!< No operation. */
gkroussos 0:637031152314 3279 #define NVMC_ERASEALL_ERASEALL_Erase (1UL) /*!< Start chip erase. */
gkroussos 0:637031152314 3280
gkroussos 0:637031152314 3281 /* Register: NVMC_ERASEUICR */
gkroussos 0:637031152314 3282 /* Description: Register for start erasing User Information Congfiguration Registers. */
gkroussos 0:637031152314 3283
gkroussos 0:637031152314 3284 /* Bit 0 : It can only be used when all contents of code region 1 are erased. */
gkroussos 0:637031152314 3285 #define NVMC_ERASEUICR_ERASEUICR_Pos (0UL) /*!< Position of ERASEUICR field. */
gkroussos 0:637031152314 3286 #define NVMC_ERASEUICR_ERASEUICR_Msk (0x1UL << NVMC_ERASEUICR_ERASEUICR_Pos) /*!< Bit mask of ERASEUICR field. */
gkroussos 0:637031152314 3287 #define NVMC_ERASEUICR_ERASEUICR_NoOperation (0UL) /*!< No operation. */
gkroussos 0:637031152314 3288 #define NVMC_ERASEUICR_ERASEUICR_Erase (1UL) /*!< Start UICR erase. */
gkroussos 0:637031152314 3289
gkroussos 0:637031152314 3290
gkroussos 0:637031152314 3291 /* Peripheral: POWER */
gkroussos 0:637031152314 3292 /* Description: Power Control. */
gkroussos 0:637031152314 3293
gkroussos 0:637031152314 3294 /* Register: POWER_INTENSET */
gkroussos 0:637031152314 3295 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 3296
gkroussos 0:637031152314 3297 /* Bit 2 : Enable interrupt on POFWARN event. */
gkroussos 0:637031152314 3298 #define POWER_INTENSET_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
gkroussos 0:637031152314 3299 #define POWER_INTENSET_POFWARN_Msk (0x1UL << POWER_INTENSET_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
gkroussos 0:637031152314 3300 #define POWER_INTENSET_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 3301 #define POWER_INTENSET_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 3302 #define POWER_INTENSET_POFWARN_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 3303
gkroussos 0:637031152314 3304 /* Register: POWER_INTENCLR */
gkroussos 0:637031152314 3305 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 3306
gkroussos 0:637031152314 3307 /* Bit 2 : Disable interrupt on POFWARN event. */
gkroussos 0:637031152314 3308 #define POWER_INTENCLR_POFWARN_Pos (2UL) /*!< Position of POFWARN field. */
gkroussos 0:637031152314 3309 #define POWER_INTENCLR_POFWARN_Msk (0x1UL << POWER_INTENCLR_POFWARN_Pos) /*!< Bit mask of POFWARN field. */
gkroussos 0:637031152314 3310 #define POWER_INTENCLR_POFWARN_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 3311 #define POWER_INTENCLR_POFWARN_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 3312 #define POWER_INTENCLR_POFWARN_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 3313
gkroussos 0:637031152314 3314 /* Register: POWER_RESETREAS */
gkroussos 0:637031152314 3315 /* Description: Reset reason. */
gkroussos 0:637031152314 3316
gkroussos 0:637031152314 3317 /* Bit 18 : Reset from wake-up from OFF mode detected by entering into debug interface mode. */
gkroussos 0:637031152314 3318 #define POWER_RESETREAS_DIF_Pos (18UL) /*!< Position of DIF field. */
gkroussos 0:637031152314 3319 #define POWER_RESETREAS_DIF_Msk (0x1UL << POWER_RESETREAS_DIF_Pos) /*!< Bit mask of DIF field. */
gkroussos 0:637031152314 3320
gkroussos 0:637031152314 3321 /* Bit 17 : Reset from wake-up from OFF mode detected by the use of ANADETECT signal from LPCOMP. */
gkroussos 0:637031152314 3322 #define POWER_RESETREAS_LPCOMP_Pos (17UL) /*!< Position of LPCOMP field. */
gkroussos 0:637031152314 3323 #define POWER_RESETREAS_LPCOMP_Msk (0x1UL << POWER_RESETREAS_LPCOMP_Pos) /*!< Bit mask of LPCOMP field. */
gkroussos 0:637031152314 3324
gkroussos 0:637031152314 3325 /* Bit 16 : Reset from wake-up from OFF mode detected by the use of DETECT signal from GPIO. */
gkroussos 0:637031152314 3326 #define POWER_RESETREAS_OFF_Pos (16UL) /*!< Position of OFF field. */
gkroussos 0:637031152314 3327 #define POWER_RESETREAS_OFF_Msk (0x1UL << POWER_RESETREAS_OFF_Pos) /*!< Bit mask of OFF field. */
gkroussos 0:637031152314 3328
gkroussos 0:637031152314 3329 /* Bit 3 : Reset from CPU lock-up detected. */
gkroussos 0:637031152314 3330 #define POWER_RESETREAS_LOCKUP_Pos (3UL) /*!< Position of LOCKUP field. */
gkroussos 0:637031152314 3331 #define POWER_RESETREAS_LOCKUP_Msk (0x1UL << POWER_RESETREAS_LOCKUP_Pos) /*!< Bit mask of LOCKUP field. */
gkroussos 0:637031152314 3332
gkroussos 0:637031152314 3333 /* Bit 2 : Reset from AIRCR.SYSRESETREQ detected. */
gkroussos 0:637031152314 3334 #define POWER_RESETREAS_SREQ_Pos (2UL) /*!< Position of SREQ field. */
gkroussos 0:637031152314 3335 #define POWER_RESETREAS_SREQ_Msk (0x1UL << POWER_RESETREAS_SREQ_Pos) /*!< Bit mask of SREQ field. */
gkroussos 0:637031152314 3336
gkroussos 0:637031152314 3337 /* Bit 1 : Reset from watchdog detected. */
gkroussos 0:637031152314 3338 #define POWER_RESETREAS_DOG_Pos (1UL) /*!< Position of DOG field. */
gkroussos 0:637031152314 3339 #define POWER_RESETREAS_DOG_Msk (0x1UL << POWER_RESETREAS_DOG_Pos) /*!< Bit mask of DOG field. */
gkroussos 0:637031152314 3340
gkroussos 0:637031152314 3341 /* Bit 0 : Reset from pin-reset detected. */
gkroussos 0:637031152314 3342 #define POWER_RESETREAS_RESETPIN_Pos (0UL) /*!< Position of RESETPIN field. */
gkroussos 0:637031152314 3343 #define POWER_RESETREAS_RESETPIN_Msk (0x1UL << POWER_RESETREAS_RESETPIN_Pos) /*!< Bit mask of RESETPIN field. */
gkroussos 0:637031152314 3344
gkroussos 0:637031152314 3345 /* Register: POWER_SYSTEMOFF */
gkroussos 0:637031152314 3346 /* Description: System off register. */
gkroussos 0:637031152314 3347
gkroussos 0:637031152314 3348 /* Bit 0 : Enter system off mode. */
gkroussos 0:637031152314 3349 #define POWER_SYSTEMOFF_SYSTEMOFF_Pos (0UL) /*!< Position of SYSTEMOFF field. */
gkroussos 0:637031152314 3350 #define POWER_SYSTEMOFF_SYSTEMOFF_Msk (0x1UL << POWER_SYSTEMOFF_SYSTEMOFF_Pos) /*!< Bit mask of SYSTEMOFF field. */
gkroussos 0:637031152314 3351 #define POWER_SYSTEMOFF_SYSTEMOFF_Enter (1UL) /*!< Enter system off mode. */
gkroussos 0:637031152314 3352
gkroussos 0:637031152314 3353 /* Register: POWER_POFCON */
gkroussos 0:637031152314 3354 /* Description: Power failure configuration. */
gkroussos 0:637031152314 3355
gkroussos 0:637031152314 3356 /* Bits 2..1 : Set threshold level. */
gkroussos 0:637031152314 3357 #define POWER_POFCON_THRESHOLD_Pos (1UL) /*!< Position of THRESHOLD field. */
gkroussos 0:637031152314 3358 #define POWER_POFCON_THRESHOLD_Msk (0x3UL << POWER_POFCON_THRESHOLD_Pos) /*!< Bit mask of THRESHOLD field. */
gkroussos 0:637031152314 3359 #define POWER_POFCON_THRESHOLD_V21 (0x00UL) /*!< Set threshold to 2.1Volts. */
gkroussos 0:637031152314 3360 #define POWER_POFCON_THRESHOLD_V23 (0x01UL) /*!< Set threshold to 2.3Volts. */
gkroussos 0:637031152314 3361 #define POWER_POFCON_THRESHOLD_V25 (0x02UL) /*!< Set threshold to 2.5Volts. */
gkroussos 0:637031152314 3362 #define POWER_POFCON_THRESHOLD_V27 (0x03UL) /*!< Set threshold to 2.7Volts. */
gkroussos 0:637031152314 3363
gkroussos 0:637031152314 3364 /* Bit 0 : Power failure comparator enable. */
gkroussos 0:637031152314 3365 #define POWER_POFCON_POF_Pos (0UL) /*!< Position of POF field. */
gkroussos 0:637031152314 3366 #define POWER_POFCON_POF_Msk (0x1UL << POWER_POFCON_POF_Pos) /*!< Bit mask of POF field. */
gkroussos 0:637031152314 3367 #define POWER_POFCON_POF_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 3368 #define POWER_POFCON_POF_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 3369
gkroussos 0:637031152314 3370 /* Register: POWER_GPREGRET */
gkroussos 0:637031152314 3371 /* Description: General purpose retention register. This register is a retained register. */
gkroussos 0:637031152314 3372
gkroussos 0:637031152314 3373 /* Bits 7..0 : General purpose retention register. */
gkroussos 0:637031152314 3374 #define POWER_GPREGRET_GPREGRET_Pos (0UL) /*!< Position of GPREGRET field. */
gkroussos 0:637031152314 3375 #define POWER_GPREGRET_GPREGRET_Msk (0xFFUL << POWER_GPREGRET_GPREGRET_Pos) /*!< Bit mask of GPREGRET field. */
gkroussos 0:637031152314 3376
gkroussos 0:637031152314 3377 /* Register: POWER_RAMON */
gkroussos 0:637031152314 3378 /* Description: Ram on/off. */
gkroussos 0:637031152314 3379
gkroussos 0:637031152314 3380 /* Bit 19 : RAM block 3 behaviour in OFF mode. */
gkroussos 0:637031152314 3381 #define POWER_RAMON_OFFRAM3_Pos (19UL) /*!< Position of OFFRAM3 field. */
gkroussos 0:637031152314 3382 #define POWER_RAMON_OFFRAM3_Msk (0x1UL << POWER_RAMON_OFFRAM3_Pos) /*!< Bit mask of OFFRAM3 field. */
gkroussos 0:637031152314 3383 #define POWER_RAMON_OFFRAM3_RAM3Off (0UL) /*!< RAM block 3 OFF in OFF mode. */
gkroussos 0:637031152314 3384 #define POWER_RAMON_OFFRAM3_RAM3On (1UL) /*!< RAM block 3 ON in OFF mode. */
gkroussos 0:637031152314 3385
gkroussos 0:637031152314 3386 /* Bit 18 : RAM block 2 behaviour in OFF mode. */
gkroussos 0:637031152314 3387 #define POWER_RAMON_OFFRAM2_Pos (18UL) /*!< Position of OFFRAM2 field. */
gkroussos 0:637031152314 3388 #define POWER_RAMON_OFFRAM2_Msk (0x1UL << POWER_RAMON_OFFRAM2_Pos) /*!< Bit mask of OFFRAM2 field. */
gkroussos 0:637031152314 3389 #define POWER_RAMON_OFFRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in OFF mode. */
gkroussos 0:637031152314 3390 #define POWER_RAMON_OFFRAM2_RAM2On (1UL) /*!< RAM block 2 ON in OFF mode. */
gkroussos 0:637031152314 3391
gkroussos 0:637031152314 3392 /* Bit 17 : RAM block 1 behaviour in OFF mode. */
gkroussos 0:637031152314 3393 #define POWER_RAMON_OFFRAM1_Pos (17UL) /*!< Position of OFFRAM1 field. */
gkroussos 0:637031152314 3394 #define POWER_RAMON_OFFRAM1_Msk (0x1UL << POWER_RAMON_OFFRAM1_Pos) /*!< Bit mask of OFFRAM1 field. */
gkroussos 0:637031152314 3395 #define POWER_RAMON_OFFRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in OFF mode. */
gkroussos 0:637031152314 3396 #define POWER_RAMON_OFFRAM1_RAM1On (1UL) /*!< RAM block 1 ON in OFF mode. */
gkroussos 0:637031152314 3397
gkroussos 0:637031152314 3398 /* Bit 16 : RAM block 0 behaviour in OFF mode. */
gkroussos 0:637031152314 3399 #define POWER_RAMON_OFFRAM0_Pos (16UL) /*!< Position of OFFRAM0 field. */
gkroussos 0:637031152314 3400 #define POWER_RAMON_OFFRAM0_Msk (0x1UL << POWER_RAMON_OFFRAM0_Pos) /*!< Bit mask of OFFRAM0 field. */
gkroussos 0:637031152314 3401 #define POWER_RAMON_OFFRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in OFF mode. */
gkroussos 0:637031152314 3402 #define POWER_RAMON_OFFRAM0_RAM0On (1UL) /*!< RAM block 0 ON in OFF mode. */
gkroussos 0:637031152314 3403
gkroussos 0:637031152314 3404 /* Bit 3 : RAM block 3 behaviour in ON mode. */
gkroussos 0:637031152314 3405 #define POWER_RAMON_ONRAM3_Pos (3UL) /*!< Position of ONRAM3 field. */
gkroussos 0:637031152314 3406 #define POWER_RAMON_ONRAM3_Msk (0x1UL << POWER_RAMON_ONRAM3_Pos) /*!< Bit mask of ONRAM3 field. */
gkroussos 0:637031152314 3407 #define POWER_RAMON_ONRAM3_RAM3Off (0UL) /*!< RAM block 3 OFF in ON mode. */
gkroussos 0:637031152314 3408 #define POWER_RAMON_ONRAM3_RAM3On (1UL) /*!< RAM block 3 ON in ON mode. */
gkroussos 0:637031152314 3409
gkroussos 0:637031152314 3410 /* Bit 2 : RAM block 2 behaviour in ON mode. */
gkroussos 0:637031152314 3411 #define POWER_RAMON_ONRAM2_Pos (2UL) /*!< Position of ONRAM2 field. */
gkroussos 0:637031152314 3412 #define POWER_RAMON_ONRAM2_Msk (0x1UL << POWER_RAMON_ONRAM2_Pos) /*!< Bit mask of ONRAM2 field. */
gkroussos 0:637031152314 3413 #define POWER_RAMON_ONRAM2_RAM2Off (0UL) /*!< RAM block 2 OFF in ON mode. */
gkroussos 0:637031152314 3414 #define POWER_RAMON_ONRAM2_RAM2On (1UL) /*!< RAM block 2 ON in ON mode. */
gkroussos 0:637031152314 3415
gkroussos 0:637031152314 3416 /* Bit 1 : RAM block 1 behaviour in ON mode. */
gkroussos 0:637031152314 3417 #define POWER_RAMON_ONRAM1_Pos (1UL) /*!< Position of ONRAM1 field. */
gkroussos 0:637031152314 3418 #define POWER_RAMON_ONRAM1_Msk (0x1UL << POWER_RAMON_ONRAM1_Pos) /*!< Bit mask of ONRAM1 field. */
gkroussos 0:637031152314 3419 #define POWER_RAMON_ONRAM1_RAM1Off (0UL) /*!< RAM block 1 OFF in ON mode. */
gkroussos 0:637031152314 3420 #define POWER_RAMON_ONRAM1_RAM1On (1UL) /*!< RAM block 1 ON in ON mode. */
gkroussos 0:637031152314 3421
gkroussos 0:637031152314 3422 /* Bit 0 : RAM block 0 behaviour in ON mode. */
gkroussos 0:637031152314 3423 #define POWER_RAMON_ONRAM0_Pos (0UL) /*!< Position of ONRAM0 field. */
gkroussos 0:637031152314 3424 #define POWER_RAMON_ONRAM0_Msk (0x1UL << POWER_RAMON_ONRAM0_Pos) /*!< Bit mask of ONRAM0 field. */
gkroussos 0:637031152314 3425 #define POWER_RAMON_ONRAM0_RAM0Off (0UL) /*!< RAM block 0 OFF in ON mode. */
gkroussos 0:637031152314 3426 #define POWER_RAMON_ONRAM0_RAM0On (1UL) /*!< RAM block 0 ON in ON mode. */
gkroussos 0:637031152314 3427
gkroussos 0:637031152314 3428 /* Register: POWER_RESET */
gkroussos 0:637031152314 3429 /* Description: Pin reset functionality configuration register. This register is a retained register. */
gkroussos 0:637031152314 3430
gkroussos 0:637031152314 3431 /* Bit 0 : Enable pin reset in debug interface mode. */
gkroussos 0:637031152314 3432 #define POWER_RESET_RESET_Pos (0UL) /*!< Position of RESET field. */
gkroussos 0:637031152314 3433 #define POWER_RESET_RESET_Msk (0x1UL << POWER_RESET_RESET_Pos) /*!< Bit mask of RESET field. */
gkroussos 0:637031152314 3434 #define POWER_RESET_RESET_Disabled (0UL) /*!< Pin reset in debug interface mode disabled. */
gkroussos 0:637031152314 3435 #define POWER_RESET_RESET_Enabled (1UL) /*!< Pin reset in debug interface mode enabled. */
gkroussos 0:637031152314 3436
gkroussos 0:637031152314 3437 /* Register: POWER_DCDCEN */
gkroussos 0:637031152314 3438 /* Description: DCDC converter enable configuration register. */
gkroussos 0:637031152314 3439
gkroussos 0:637031152314 3440 /* Bit 0 : Enable DCDC converter. */
gkroussos 0:637031152314 3441 #define POWER_DCDCEN_DCDCEN_Pos (0UL) /*!< Position of DCDCEN field. */
gkroussos 0:637031152314 3442 #define POWER_DCDCEN_DCDCEN_Msk (0x1UL << POWER_DCDCEN_DCDCEN_Pos) /*!< Bit mask of DCDCEN field. */
gkroussos 0:637031152314 3443 #define POWER_DCDCEN_DCDCEN_Disabled (0UL) /*!< DCDC converter disabled. */
gkroussos 0:637031152314 3444 #define POWER_DCDCEN_DCDCEN_Enabled (1UL) /*!< DCDC converter enabled. */
gkroussos 0:637031152314 3445
gkroussos 0:637031152314 3446
gkroussos 0:637031152314 3447 /* Peripheral: PPI */
gkroussos 0:637031152314 3448 /* Description: PPI controller. */
gkroussos 0:637031152314 3449
gkroussos 0:637031152314 3450 /* Register: PPI_CHEN */
gkroussos 0:637031152314 3451 /* Description: Channel enable. */
gkroussos 0:637031152314 3452
gkroussos 0:637031152314 3453 /* Bit 31 : Enable PPI channel 31. */
gkroussos 0:637031152314 3454 #define PPI_CHEN_CH31_Pos (31UL) /*!< Position of CH31 field. */
gkroussos 0:637031152314 3455 #define PPI_CHEN_CH31_Msk (0x1UL << PPI_CHEN_CH31_Pos) /*!< Bit mask of CH31 field. */
gkroussos 0:637031152314 3456 #define PPI_CHEN_CH31_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3457 #define PPI_CHEN_CH31_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3458
gkroussos 0:637031152314 3459 /* Bit 30 : Enable PPI channel 30. */
gkroussos 0:637031152314 3460 #define PPI_CHEN_CH30_Pos (30UL) /*!< Position of CH30 field. */
gkroussos 0:637031152314 3461 #define PPI_CHEN_CH30_Msk (0x1UL << PPI_CHEN_CH30_Pos) /*!< Bit mask of CH30 field. */
gkroussos 0:637031152314 3462 #define PPI_CHEN_CH30_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3463 #define PPI_CHEN_CH30_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3464
gkroussos 0:637031152314 3465 /* Bit 29 : Enable PPI channel 29. */
gkroussos 0:637031152314 3466 #define PPI_CHEN_CH29_Pos (29UL) /*!< Position of CH29 field. */
gkroussos 0:637031152314 3467 #define PPI_CHEN_CH29_Msk (0x1UL << PPI_CHEN_CH29_Pos) /*!< Bit mask of CH29 field. */
gkroussos 0:637031152314 3468 #define PPI_CHEN_CH29_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3469 #define PPI_CHEN_CH29_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3470
gkroussos 0:637031152314 3471 /* Bit 28 : Enable PPI channel 28. */
gkroussos 0:637031152314 3472 #define PPI_CHEN_CH28_Pos (28UL) /*!< Position of CH28 field. */
gkroussos 0:637031152314 3473 #define PPI_CHEN_CH28_Msk (0x1UL << PPI_CHEN_CH28_Pos) /*!< Bit mask of CH28 field. */
gkroussos 0:637031152314 3474 #define PPI_CHEN_CH28_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3475 #define PPI_CHEN_CH28_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3476
gkroussos 0:637031152314 3477 /* Bit 27 : Enable PPI channel 27. */
gkroussos 0:637031152314 3478 #define PPI_CHEN_CH27_Pos (27UL) /*!< Position of CH27 field. */
gkroussos 0:637031152314 3479 #define PPI_CHEN_CH27_Msk (0x1UL << PPI_CHEN_CH27_Pos) /*!< Bit mask of CH27 field. */
gkroussos 0:637031152314 3480 #define PPI_CHEN_CH27_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3481 #define PPI_CHEN_CH27_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3482
gkroussos 0:637031152314 3483 /* Bit 26 : Enable PPI channel 26. */
gkroussos 0:637031152314 3484 #define PPI_CHEN_CH26_Pos (26UL) /*!< Position of CH26 field. */
gkroussos 0:637031152314 3485 #define PPI_CHEN_CH26_Msk (0x1UL << PPI_CHEN_CH26_Pos) /*!< Bit mask of CH26 field. */
gkroussos 0:637031152314 3486 #define PPI_CHEN_CH26_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3487 #define PPI_CHEN_CH26_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3488
gkroussos 0:637031152314 3489 /* Bit 25 : Enable PPI channel 25. */
gkroussos 0:637031152314 3490 #define PPI_CHEN_CH25_Pos (25UL) /*!< Position of CH25 field. */
gkroussos 0:637031152314 3491 #define PPI_CHEN_CH25_Msk (0x1UL << PPI_CHEN_CH25_Pos) /*!< Bit mask of CH25 field. */
gkroussos 0:637031152314 3492 #define PPI_CHEN_CH25_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3493 #define PPI_CHEN_CH25_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3494
gkroussos 0:637031152314 3495 /* Bit 24 : Enable PPI channel 24. */
gkroussos 0:637031152314 3496 #define PPI_CHEN_CH24_Pos (24UL) /*!< Position of CH24 field. */
gkroussos 0:637031152314 3497 #define PPI_CHEN_CH24_Msk (0x1UL << PPI_CHEN_CH24_Pos) /*!< Bit mask of CH24 field. */
gkroussos 0:637031152314 3498 #define PPI_CHEN_CH24_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3499 #define PPI_CHEN_CH24_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3500
gkroussos 0:637031152314 3501 /* Bit 23 : Enable PPI channel 23. */
gkroussos 0:637031152314 3502 #define PPI_CHEN_CH23_Pos (23UL) /*!< Position of CH23 field. */
gkroussos 0:637031152314 3503 #define PPI_CHEN_CH23_Msk (0x1UL << PPI_CHEN_CH23_Pos) /*!< Bit mask of CH23 field. */
gkroussos 0:637031152314 3504 #define PPI_CHEN_CH23_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3505 #define PPI_CHEN_CH23_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3506
gkroussos 0:637031152314 3507 /* Bit 22 : Enable PPI channel 22. */
gkroussos 0:637031152314 3508 #define PPI_CHEN_CH22_Pos (22UL) /*!< Position of CH22 field. */
gkroussos 0:637031152314 3509 #define PPI_CHEN_CH22_Msk (0x1UL << PPI_CHEN_CH22_Pos) /*!< Bit mask of CH22 field. */
gkroussos 0:637031152314 3510 #define PPI_CHEN_CH22_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3511 #define PPI_CHEN_CH22_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3512
gkroussos 0:637031152314 3513 /* Bit 21 : Enable PPI channel 21. */
gkroussos 0:637031152314 3514 #define PPI_CHEN_CH21_Pos (21UL) /*!< Position of CH21 field. */
gkroussos 0:637031152314 3515 #define PPI_CHEN_CH21_Msk (0x1UL << PPI_CHEN_CH21_Pos) /*!< Bit mask of CH21 field. */
gkroussos 0:637031152314 3516 #define PPI_CHEN_CH21_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3517 #define PPI_CHEN_CH21_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3518
gkroussos 0:637031152314 3519 /* Bit 20 : Enable PPI channel 20. */
gkroussos 0:637031152314 3520 #define PPI_CHEN_CH20_Pos (20UL) /*!< Position of CH20 field. */
gkroussos 0:637031152314 3521 #define PPI_CHEN_CH20_Msk (0x1UL << PPI_CHEN_CH20_Pos) /*!< Bit mask of CH20 field. */
gkroussos 0:637031152314 3522 #define PPI_CHEN_CH20_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3523 #define PPI_CHEN_CH20_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3524
gkroussos 0:637031152314 3525 /* Bit 15 : Enable PPI channel 15. */
gkroussos 0:637031152314 3526 #define PPI_CHEN_CH15_Pos (15UL) /*!< Position of CH15 field. */
gkroussos 0:637031152314 3527 #define PPI_CHEN_CH15_Msk (0x1UL << PPI_CHEN_CH15_Pos) /*!< Bit mask of CH15 field. */
gkroussos 0:637031152314 3528 #define PPI_CHEN_CH15_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3529 #define PPI_CHEN_CH15_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3530
gkroussos 0:637031152314 3531 /* Bit 14 : Enable PPI channel 14. */
gkroussos 0:637031152314 3532 #define PPI_CHEN_CH14_Pos (14UL) /*!< Position of CH14 field. */
gkroussos 0:637031152314 3533 #define PPI_CHEN_CH14_Msk (0x1UL << PPI_CHEN_CH14_Pos) /*!< Bit mask of CH14 field. */
gkroussos 0:637031152314 3534 #define PPI_CHEN_CH14_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3535 #define PPI_CHEN_CH14_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3536
gkroussos 0:637031152314 3537 /* Bit 13 : Enable PPI channel 13. */
gkroussos 0:637031152314 3538 #define PPI_CHEN_CH13_Pos (13UL) /*!< Position of CH13 field. */
gkroussos 0:637031152314 3539 #define PPI_CHEN_CH13_Msk (0x1UL << PPI_CHEN_CH13_Pos) /*!< Bit mask of CH13 field. */
gkroussos 0:637031152314 3540 #define PPI_CHEN_CH13_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3541 #define PPI_CHEN_CH13_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3542
gkroussos 0:637031152314 3543 /* Bit 12 : Enable PPI channel 12. */
gkroussos 0:637031152314 3544 #define PPI_CHEN_CH12_Pos (12UL) /*!< Position of CH12 field. */
gkroussos 0:637031152314 3545 #define PPI_CHEN_CH12_Msk (0x1UL << PPI_CHEN_CH12_Pos) /*!< Bit mask of CH12 field. */
gkroussos 0:637031152314 3546 #define PPI_CHEN_CH12_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3547 #define PPI_CHEN_CH12_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3548
gkroussos 0:637031152314 3549 /* Bit 11 : Enable PPI channel 11. */
gkroussos 0:637031152314 3550 #define PPI_CHEN_CH11_Pos (11UL) /*!< Position of CH11 field. */
gkroussos 0:637031152314 3551 #define PPI_CHEN_CH11_Msk (0x1UL << PPI_CHEN_CH11_Pos) /*!< Bit mask of CH11 field. */
gkroussos 0:637031152314 3552 #define PPI_CHEN_CH11_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3553 #define PPI_CHEN_CH11_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3554
gkroussos 0:637031152314 3555 /* Bit 10 : Enable PPI channel 10. */
gkroussos 0:637031152314 3556 #define PPI_CHEN_CH10_Pos (10UL) /*!< Position of CH10 field. */
gkroussos 0:637031152314 3557 #define PPI_CHEN_CH10_Msk (0x1UL << PPI_CHEN_CH10_Pos) /*!< Bit mask of CH10 field. */
gkroussos 0:637031152314 3558 #define PPI_CHEN_CH10_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3559 #define PPI_CHEN_CH10_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3560
gkroussos 0:637031152314 3561 /* Bit 9 : Enable PPI channel 9. */
gkroussos 0:637031152314 3562 #define PPI_CHEN_CH9_Pos (9UL) /*!< Position of CH9 field. */
gkroussos 0:637031152314 3563 #define PPI_CHEN_CH9_Msk (0x1UL << PPI_CHEN_CH9_Pos) /*!< Bit mask of CH9 field. */
gkroussos 0:637031152314 3564 #define PPI_CHEN_CH9_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3565 #define PPI_CHEN_CH9_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3566
gkroussos 0:637031152314 3567 /* Bit 8 : Enable PPI channel 8. */
gkroussos 0:637031152314 3568 #define PPI_CHEN_CH8_Pos (8UL) /*!< Position of CH8 field. */
gkroussos 0:637031152314 3569 #define PPI_CHEN_CH8_Msk (0x1UL << PPI_CHEN_CH8_Pos) /*!< Bit mask of CH8 field. */
gkroussos 0:637031152314 3570 #define PPI_CHEN_CH8_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3571 #define PPI_CHEN_CH8_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3572
gkroussos 0:637031152314 3573 /* Bit 7 : Enable PPI channel 7. */
gkroussos 0:637031152314 3574 #define PPI_CHEN_CH7_Pos (7UL) /*!< Position of CH7 field. */
gkroussos 0:637031152314 3575 #define PPI_CHEN_CH7_Msk (0x1UL << PPI_CHEN_CH7_Pos) /*!< Bit mask of CH7 field. */
gkroussos 0:637031152314 3576 #define PPI_CHEN_CH7_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3577 #define PPI_CHEN_CH7_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3578
gkroussos 0:637031152314 3579 /* Bit 6 : Enable PPI channel 6. */
gkroussos 0:637031152314 3580 #define PPI_CHEN_CH6_Pos (6UL) /*!< Position of CH6 field. */
gkroussos 0:637031152314 3581 #define PPI_CHEN_CH6_Msk (0x1UL << PPI_CHEN_CH6_Pos) /*!< Bit mask of CH6 field. */
gkroussos 0:637031152314 3582 #define PPI_CHEN_CH6_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3583 #define PPI_CHEN_CH6_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3584
gkroussos 0:637031152314 3585 /* Bit 5 : Enable PPI channel 5. */
gkroussos 0:637031152314 3586 #define PPI_CHEN_CH5_Pos (5UL) /*!< Position of CH5 field. */
gkroussos 0:637031152314 3587 #define PPI_CHEN_CH5_Msk (0x1UL << PPI_CHEN_CH5_Pos) /*!< Bit mask of CH5 field. */
gkroussos 0:637031152314 3588 #define PPI_CHEN_CH5_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3589 #define PPI_CHEN_CH5_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3590
gkroussos 0:637031152314 3591 /* Bit 4 : Enable PPI channel 4. */
gkroussos 0:637031152314 3592 #define PPI_CHEN_CH4_Pos (4UL) /*!< Position of CH4 field. */
gkroussos 0:637031152314 3593 #define PPI_CHEN_CH4_Msk (0x1UL << PPI_CHEN_CH4_Pos) /*!< Bit mask of CH4 field. */
gkroussos 0:637031152314 3594 #define PPI_CHEN_CH4_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3595 #define PPI_CHEN_CH4_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3596
gkroussos 0:637031152314 3597 /* Bit 3 : Enable PPI channel 3. */
gkroussos 0:637031152314 3598 #define PPI_CHEN_CH3_Pos (3UL) /*!< Position of CH3 field. */
gkroussos 0:637031152314 3599 #define PPI_CHEN_CH3_Msk (0x1UL << PPI_CHEN_CH3_Pos) /*!< Bit mask of CH3 field. */
gkroussos 0:637031152314 3600 #define PPI_CHEN_CH3_Disabled (0UL) /*!< Channel disabled */
gkroussos 0:637031152314 3601 #define PPI_CHEN_CH3_Enabled (1UL) /*!< Channel enabled */
gkroussos 0:637031152314 3602
gkroussos 0:637031152314 3603 /* Bit 2 : Enable PPI channel 2. */
gkroussos 0:637031152314 3604 #define PPI_CHEN_CH2_Pos (2UL) /*!< Position of CH2 field. */
gkroussos 0:637031152314 3605 #define PPI_CHEN_CH2_Msk (0x1UL << PPI_CHEN_CH2_Pos) /*!< Bit mask of CH2 field. */
gkroussos 0:637031152314 3606 #define PPI_CHEN_CH2_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3607 #define PPI_CHEN_CH2_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3608
gkroussos 0:637031152314 3609 /* Bit 1 : Enable PPI channel 1. */
gkroussos 0:637031152314 3610 #define PPI_CHEN_CH1_Pos (1UL) /*!< Position of CH1 field. */
gkroussos 0:637031152314 3611 #define PPI_CHEN_CH1_Msk (0x1UL << PPI_CHEN_CH1_Pos) /*!< Bit mask of CH1 field. */
gkroussos 0:637031152314 3612 #define PPI_CHEN_CH1_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3613 #define PPI_CHEN_CH1_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3614
gkroussos 0:637031152314 3615 /* Bit 0 : Enable PPI channel 0. */
gkroussos 0:637031152314 3616 #define PPI_CHEN_CH0_Pos (0UL) /*!< Position of CH0 field. */
gkroussos 0:637031152314 3617 #define PPI_CHEN_CH0_Msk (0x1UL << PPI_CHEN_CH0_Pos) /*!< Bit mask of CH0 field. */
gkroussos 0:637031152314 3618 #define PPI_CHEN_CH0_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3619 #define PPI_CHEN_CH0_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3620
gkroussos 0:637031152314 3621 /* Register: PPI_CHENSET */
gkroussos 0:637031152314 3622 /* Description: Channel enable set. */
gkroussos 0:637031152314 3623
gkroussos 0:637031152314 3624 /* Bit 31 : Enable PPI channel 31. */
gkroussos 0:637031152314 3625 #define PPI_CHENSET_CH31_Pos (31UL) /*!< Position of CH31 field. */
gkroussos 0:637031152314 3626 #define PPI_CHENSET_CH31_Msk (0x1UL << PPI_CHENSET_CH31_Pos) /*!< Bit mask of CH31 field. */
gkroussos 0:637031152314 3627 #define PPI_CHENSET_CH31_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3628 #define PPI_CHENSET_CH31_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3629 #define PPI_CHENSET_CH31_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3630
gkroussos 0:637031152314 3631 /* Bit 30 : Enable PPI channel 30. */
gkroussos 0:637031152314 3632 #define PPI_CHENSET_CH30_Pos (30UL) /*!< Position of CH30 field. */
gkroussos 0:637031152314 3633 #define PPI_CHENSET_CH30_Msk (0x1UL << PPI_CHENSET_CH30_Pos) /*!< Bit mask of CH30 field. */
gkroussos 0:637031152314 3634 #define PPI_CHENSET_CH30_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3635 #define PPI_CHENSET_CH30_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3636 #define PPI_CHENSET_CH30_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3637
gkroussos 0:637031152314 3638 /* Bit 29 : Enable PPI channel 29. */
gkroussos 0:637031152314 3639 #define PPI_CHENSET_CH29_Pos (29UL) /*!< Position of CH29 field. */
gkroussos 0:637031152314 3640 #define PPI_CHENSET_CH29_Msk (0x1UL << PPI_CHENSET_CH29_Pos) /*!< Bit mask of CH29 field. */
gkroussos 0:637031152314 3641 #define PPI_CHENSET_CH29_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3642 #define PPI_CHENSET_CH29_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3643 #define PPI_CHENSET_CH29_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3644
gkroussos 0:637031152314 3645 /* Bit 28 : Enable PPI channel 28. */
gkroussos 0:637031152314 3646 #define PPI_CHENSET_CH28_Pos (28UL) /*!< Position of CH28 field. */
gkroussos 0:637031152314 3647 #define PPI_CHENSET_CH28_Msk (0x1UL << PPI_CHENSET_CH28_Pos) /*!< Bit mask of CH28 field. */
gkroussos 0:637031152314 3648 #define PPI_CHENSET_CH28_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3649 #define PPI_CHENSET_CH28_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3650 #define PPI_CHENSET_CH28_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3651
gkroussos 0:637031152314 3652 /* Bit 27 : Enable PPI channel 27. */
gkroussos 0:637031152314 3653 #define PPI_CHENSET_CH27_Pos (27UL) /*!< Position of CH27 field. */
gkroussos 0:637031152314 3654 #define PPI_CHENSET_CH27_Msk (0x1UL << PPI_CHENSET_CH27_Pos) /*!< Bit mask of CH27 field. */
gkroussos 0:637031152314 3655 #define PPI_CHENSET_CH27_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3656 #define PPI_CHENSET_CH27_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3657 #define PPI_CHENSET_CH27_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3658
gkroussos 0:637031152314 3659 /* Bit 26 : Enable PPI channel 26. */
gkroussos 0:637031152314 3660 #define PPI_CHENSET_CH26_Pos (26UL) /*!< Position of CH26 field. */
gkroussos 0:637031152314 3661 #define PPI_CHENSET_CH26_Msk (0x1UL << PPI_CHENSET_CH26_Pos) /*!< Bit mask of CH26 field. */
gkroussos 0:637031152314 3662 #define PPI_CHENSET_CH26_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3663 #define PPI_CHENSET_CH26_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3664 #define PPI_CHENSET_CH26_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3665
gkroussos 0:637031152314 3666 /* Bit 25 : Enable PPI channel 25. */
gkroussos 0:637031152314 3667 #define PPI_CHENSET_CH25_Pos (25UL) /*!< Position of CH25 field. */
gkroussos 0:637031152314 3668 #define PPI_CHENSET_CH25_Msk (0x1UL << PPI_CHENSET_CH25_Pos) /*!< Bit mask of CH25 field. */
gkroussos 0:637031152314 3669 #define PPI_CHENSET_CH25_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3670 #define PPI_CHENSET_CH25_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3671 #define PPI_CHENSET_CH25_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3672
gkroussos 0:637031152314 3673 /* Bit 24 : Enable PPI channel 24. */
gkroussos 0:637031152314 3674 #define PPI_CHENSET_CH24_Pos (24UL) /*!< Position of CH24 field. */
gkroussos 0:637031152314 3675 #define PPI_CHENSET_CH24_Msk (0x1UL << PPI_CHENSET_CH24_Pos) /*!< Bit mask of CH24 field. */
gkroussos 0:637031152314 3676 #define PPI_CHENSET_CH24_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3677 #define PPI_CHENSET_CH24_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3678 #define PPI_CHENSET_CH24_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3679
gkroussos 0:637031152314 3680 /* Bit 23 : Enable PPI channel 23. */
gkroussos 0:637031152314 3681 #define PPI_CHENSET_CH23_Pos (23UL) /*!< Position of CH23 field. */
gkroussos 0:637031152314 3682 #define PPI_CHENSET_CH23_Msk (0x1UL << PPI_CHENSET_CH23_Pos) /*!< Bit mask of CH23 field. */
gkroussos 0:637031152314 3683 #define PPI_CHENSET_CH23_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3684 #define PPI_CHENSET_CH23_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3685 #define PPI_CHENSET_CH23_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3686
gkroussos 0:637031152314 3687 /* Bit 22 : Enable PPI channel 22. */
gkroussos 0:637031152314 3688 #define PPI_CHENSET_CH22_Pos (22UL) /*!< Position of CH22 field. */
gkroussos 0:637031152314 3689 #define PPI_CHENSET_CH22_Msk (0x1UL << PPI_CHENSET_CH22_Pos) /*!< Bit mask of CH22 field. */
gkroussos 0:637031152314 3690 #define PPI_CHENSET_CH22_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3691 #define PPI_CHENSET_CH22_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3692 #define PPI_CHENSET_CH22_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3693
gkroussos 0:637031152314 3694 /* Bit 21 : Enable PPI channel 21. */
gkroussos 0:637031152314 3695 #define PPI_CHENSET_CH21_Pos (21UL) /*!< Position of CH21 field. */
gkroussos 0:637031152314 3696 #define PPI_CHENSET_CH21_Msk (0x1UL << PPI_CHENSET_CH21_Pos) /*!< Bit mask of CH21 field. */
gkroussos 0:637031152314 3697 #define PPI_CHENSET_CH21_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3698 #define PPI_CHENSET_CH21_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3699 #define PPI_CHENSET_CH21_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3700
gkroussos 0:637031152314 3701 /* Bit 20 : Enable PPI channel 20. */
gkroussos 0:637031152314 3702 #define PPI_CHENSET_CH20_Pos (20UL) /*!< Position of CH20 field. */
gkroussos 0:637031152314 3703 #define PPI_CHENSET_CH20_Msk (0x1UL << PPI_CHENSET_CH20_Pos) /*!< Bit mask of CH20 field. */
gkroussos 0:637031152314 3704 #define PPI_CHENSET_CH20_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3705 #define PPI_CHENSET_CH20_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3706 #define PPI_CHENSET_CH20_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3707
gkroussos 0:637031152314 3708 /* Bit 15 : Enable PPI channel 15. */
gkroussos 0:637031152314 3709 #define PPI_CHENSET_CH15_Pos (15UL) /*!< Position of CH15 field. */
gkroussos 0:637031152314 3710 #define PPI_CHENSET_CH15_Msk (0x1UL << PPI_CHENSET_CH15_Pos) /*!< Bit mask of CH15 field. */
gkroussos 0:637031152314 3711 #define PPI_CHENSET_CH15_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3712 #define PPI_CHENSET_CH15_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3713 #define PPI_CHENSET_CH15_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3714
gkroussos 0:637031152314 3715 /* Bit 14 : Enable PPI channel 14. */
gkroussos 0:637031152314 3716 #define PPI_CHENSET_CH14_Pos (14UL) /*!< Position of CH14 field. */
gkroussos 0:637031152314 3717 #define PPI_CHENSET_CH14_Msk (0x1UL << PPI_CHENSET_CH14_Pos) /*!< Bit mask of CH14 field. */
gkroussos 0:637031152314 3718 #define PPI_CHENSET_CH14_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3719 #define PPI_CHENSET_CH14_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3720 #define PPI_CHENSET_CH14_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3721
gkroussos 0:637031152314 3722 /* Bit 13 : Enable PPI channel 13. */
gkroussos 0:637031152314 3723 #define PPI_CHENSET_CH13_Pos (13UL) /*!< Position of CH13 field. */
gkroussos 0:637031152314 3724 #define PPI_CHENSET_CH13_Msk (0x1UL << PPI_CHENSET_CH13_Pos) /*!< Bit mask of CH13 field. */
gkroussos 0:637031152314 3725 #define PPI_CHENSET_CH13_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3726 #define PPI_CHENSET_CH13_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3727 #define PPI_CHENSET_CH13_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3728
gkroussos 0:637031152314 3729 /* Bit 12 : Enable PPI channel 12. */
gkroussos 0:637031152314 3730 #define PPI_CHENSET_CH12_Pos (12UL) /*!< Position of CH12 field. */
gkroussos 0:637031152314 3731 #define PPI_CHENSET_CH12_Msk (0x1UL << PPI_CHENSET_CH12_Pos) /*!< Bit mask of CH12 field. */
gkroussos 0:637031152314 3732 #define PPI_CHENSET_CH12_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3733 #define PPI_CHENSET_CH12_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3734 #define PPI_CHENSET_CH12_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3735
gkroussos 0:637031152314 3736 /* Bit 11 : Enable PPI channel 11. */
gkroussos 0:637031152314 3737 #define PPI_CHENSET_CH11_Pos (11UL) /*!< Position of CH11 field. */
gkroussos 0:637031152314 3738 #define PPI_CHENSET_CH11_Msk (0x1UL << PPI_CHENSET_CH11_Pos) /*!< Bit mask of CH11 field. */
gkroussos 0:637031152314 3739 #define PPI_CHENSET_CH11_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3740 #define PPI_CHENSET_CH11_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3741 #define PPI_CHENSET_CH11_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3742
gkroussos 0:637031152314 3743 /* Bit 10 : Enable PPI channel 10. */
gkroussos 0:637031152314 3744 #define PPI_CHENSET_CH10_Pos (10UL) /*!< Position of CH10 field. */
gkroussos 0:637031152314 3745 #define PPI_CHENSET_CH10_Msk (0x1UL << PPI_CHENSET_CH10_Pos) /*!< Bit mask of CH10 field. */
gkroussos 0:637031152314 3746 #define PPI_CHENSET_CH10_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3747 #define PPI_CHENSET_CH10_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3748 #define PPI_CHENSET_CH10_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3749
gkroussos 0:637031152314 3750 /* Bit 9 : Enable PPI channel 9. */
gkroussos 0:637031152314 3751 #define PPI_CHENSET_CH9_Pos (9UL) /*!< Position of CH9 field. */
gkroussos 0:637031152314 3752 #define PPI_CHENSET_CH9_Msk (0x1UL << PPI_CHENSET_CH9_Pos) /*!< Bit mask of CH9 field. */
gkroussos 0:637031152314 3753 #define PPI_CHENSET_CH9_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3754 #define PPI_CHENSET_CH9_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3755 #define PPI_CHENSET_CH9_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3756
gkroussos 0:637031152314 3757 /* Bit 8 : Enable PPI channel 8. */
gkroussos 0:637031152314 3758 #define PPI_CHENSET_CH8_Pos (8UL) /*!< Position of CH8 field. */
gkroussos 0:637031152314 3759 #define PPI_CHENSET_CH8_Msk (0x1UL << PPI_CHENSET_CH8_Pos) /*!< Bit mask of CH8 field. */
gkroussos 0:637031152314 3760 #define PPI_CHENSET_CH8_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3761 #define PPI_CHENSET_CH8_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3762 #define PPI_CHENSET_CH8_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3763
gkroussos 0:637031152314 3764 /* Bit 7 : Enable PPI channel 7. */
gkroussos 0:637031152314 3765 #define PPI_CHENSET_CH7_Pos (7UL) /*!< Position of CH7 field. */
gkroussos 0:637031152314 3766 #define PPI_CHENSET_CH7_Msk (0x1UL << PPI_CHENSET_CH7_Pos) /*!< Bit mask of CH7 field. */
gkroussos 0:637031152314 3767 #define PPI_CHENSET_CH7_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3768 #define PPI_CHENSET_CH7_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3769 #define PPI_CHENSET_CH7_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3770
gkroussos 0:637031152314 3771 /* Bit 6 : Enable PPI channel 6. */
gkroussos 0:637031152314 3772 #define PPI_CHENSET_CH6_Pos (6UL) /*!< Position of CH6 field. */
gkroussos 0:637031152314 3773 #define PPI_CHENSET_CH6_Msk (0x1UL << PPI_CHENSET_CH6_Pos) /*!< Bit mask of CH6 field. */
gkroussos 0:637031152314 3774 #define PPI_CHENSET_CH6_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3775 #define PPI_CHENSET_CH6_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3776 #define PPI_CHENSET_CH6_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3777
gkroussos 0:637031152314 3778 /* Bit 5 : Enable PPI channel 5. */
gkroussos 0:637031152314 3779 #define PPI_CHENSET_CH5_Pos (5UL) /*!< Position of CH5 field. */
gkroussos 0:637031152314 3780 #define PPI_CHENSET_CH5_Msk (0x1UL << PPI_CHENSET_CH5_Pos) /*!< Bit mask of CH5 field. */
gkroussos 0:637031152314 3781 #define PPI_CHENSET_CH5_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3782 #define PPI_CHENSET_CH5_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3783 #define PPI_CHENSET_CH5_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3784
gkroussos 0:637031152314 3785 /* Bit 4 : Enable PPI channel 4. */
gkroussos 0:637031152314 3786 #define PPI_CHENSET_CH4_Pos (4UL) /*!< Position of CH4 field. */
gkroussos 0:637031152314 3787 #define PPI_CHENSET_CH4_Msk (0x1UL << PPI_CHENSET_CH4_Pos) /*!< Bit mask of CH4 field. */
gkroussos 0:637031152314 3788 #define PPI_CHENSET_CH4_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3789 #define PPI_CHENSET_CH4_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3790 #define PPI_CHENSET_CH4_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3791
gkroussos 0:637031152314 3792 /* Bit 3 : Enable PPI channel 3. */
gkroussos 0:637031152314 3793 #define PPI_CHENSET_CH3_Pos (3UL) /*!< Position of CH3 field. */
gkroussos 0:637031152314 3794 #define PPI_CHENSET_CH3_Msk (0x1UL << PPI_CHENSET_CH3_Pos) /*!< Bit mask of CH3 field. */
gkroussos 0:637031152314 3795 #define PPI_CHENSET_CH3_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3796 #define PPI_CHENSET_CH3_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3797 #define PPI_CHENSET_CH3_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3798
gkroussos 0:637031152314 3799 /* Bit 2 : Enable PPI channel 2. */
gkroussos 0:637031152314 3800 #define PPI_CHENSET_CH2_Pos (2UL) /*!< Position of CH2 field. */
gkroussos 0:637031152314 3801 #define PPI_CHENSET_CH2_Msk (0x1UL << PPI_CHENSET_CH2_Pos) /*!< Bit mask of CH2 field. */
gkroussos 0:637031152314 3802 #define PPI_CHENSET_CH2_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3803 #define PPI_CHENSET_CH2_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3804 #define PPI_CHENSET_CH2_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3805
gkroussos 0:637031152314 3806 /* Bit 1 : Enable PPI channel 1. */
gkroussos 0:637031152314 3807 #define PPI_CHENSET_CH1_Pos (1UL) /*!< Position of CH1 field. */
gkroussos 0:637031152314 3808 #define PPI_CHENSET_CH1_Msk (0x1UL << PPI_CHENSET_CH1_Pos) /*!< Bit mask of CH1 field. */
gkroussos 0:637031152314 3809 #define PPI_CHENSET_CH1_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3810 #define PPI_CHENSET_CH1_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3811 #define PPI_CHENSET_CH1_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3812
gkroussos 0:637031152314 3813 /* Bit 0 : Enable PPI channel 0. */
gkroussos 0:637031152314 3814 #define PPI_CHENSET_CH0_Pos (0UL) /*!< Position of CH0 field. */
gkroussos 0:637031152314 3815 #define PPI_CHENSET_CH0_Msk (0x1UL << PPI_CHENSET_CH0_Pos) /*!< Bit mask of CH0 field. */
gkroussos 0:637031152314 3816 #define PPI_CHENSET_CH0_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3817 #define PPI_CHENSET_CH0_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3818 #define PPI_CHENSET_CH0_Set (1UL) /*!< Enable channel on write. */
gkroussos 0:637031152314 3819
gkroussos 0:637031152314 3820 /* Register: PPI_CHENCLR */
gkroussos 0:637031152314 3821 /* Description: Channel enable clear. */
gkroussos 0:637031152314 3822
gkroussos 0:637031152314 3823 /* Bit 31 : Disable PPI channel 31. */
gkroussos 0:637031152314 3824 #define PPI_CHENCLR_CH31_Pos (31UL) /*!< Position of CH31 field. */
gkroussos 0:637031152314 3825 #define PPI_CHENCLR_CH31_Msk (0x1UL << PPI_CHENCLR_CH31_Pos) /*!< Bit mask of CH31 field. */
gkroussos 0:637031152314 3826 #define PPI_CHENCLR_CH31_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3827 #define PPI_CHENCLR_CH31_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3828 #define PPI_CHENCLR_CH31_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3829
gkroussos 0:637031152314 3830 /* Bit 30 : Disable PPI channel 30. */
gkroussos 0:637031152314 3831 #define PPI_CHENCLR_CH30_Pos (30UL) /*!< Position of CH30 field. */
gkroussos 0:637031152314 3832 #define PPI_CHENCLR_CH30_Msk (0x1UL << PPI_CHENCLR_CH30_Pos) /*!< Bit mask of CH30 field. */
gkroussos 0:637031152314 3833 #define PPI_CHENCLR_CH30_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3834 #define PPI_CHENCLR_CH30_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3835 #define PPI_CHENCLR_CH30_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3836
gkroussos 0:637031152314 3837 /* Bit 29 : Disable PPI channel 29. */
gkroussos 0:637031152314 3838 #define PPI_CHENCLR_CH29_Pos (29UL) /*!< Position of CH29 field. */
gkroussos 0:637031152314 3839 #define PPI_CHENCLR_CH29_Msk (0x1UL << PPI_CHENCLR_CH29_Pos) /*!< Bit mask of CH29 field. */
gkroussos 0:637031152314 3840 #define PPI_CHENCLR_CH29_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3841 #define PPI_CHENCLR_CH29_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3842 #define PPI_CHENCLR_CH29_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3843
gkroussos 0:637031152314 3844 /* Bit 28 : Disable PPI channel 28. */
gkroussos 0:637031152314 3845 #define PPI_CHENCLR_CH28_Pos (28UL) /*!< Position of CH28 field. */
gkroussos 0:637031152314 3846 #define PPI_CHENCLR_CH28_Msk (0x1UL << PPI_CHENCLR_CH28_Pos) /*!< Bit mask of CH28 field. */
gkroussos 0:637031152314 3847 #define PPI_CHENCLR_CH28_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3848 #define PPI_CHENCLR_CH28_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3849 #define PPI_CHENCLR_CH28_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3850
gkroussos 0:637031152314 3851 /* Bit 27 : Disable PPI channel 27. */
gkroussos 0:637031152314 3852 #define PPI_CHENCLR_CH27_Pos (27UL) /*!< Position of CH27 field. */
gkroussos 0:637031152314 3853 #define PPI_CHENCLR_CH27_Msk (0x1UL << PPI_CHENCLR_CH27_Pos) /*!< Bit mask of CH27 field. */
gkroussos 0:637031152314 3854 #define PPI_CHENCLR_CH27_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3855 #define PPI_CHENCLR_CH27_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3856 #define PPI_CHENCLR_CH27_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3857
gkroussos 0:637031152314 3858 /* Bit 26 : Disable PPI channel 26. */
gkroussos 0:637031152314 3859 #define PPI_CHENCLR_CH26_Pos (26UL) /*!< Position of CH26 field. */
gkroussos 0:637031152314 3860 #define PPI_CHENCLR_CH26_Msk (0x1UL << PPI_CHENCLR_CH26_Pos) /*!< Bit mask of CH26 field. */
gkroussos 0:637031152314 3861 #define PPI_CHENCLR_CH26_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3862 #define PPI_CHENCLR_CH26_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3863 #define PPI_CHENCLR_CH26_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3864
gkroussos 0:637031152314 3865 /* Bit 25 : Disable PPI channel 25. */
gkroussos 0:637031152314 3866 #define PPI_CHENCLR_CH25_Pos (25UL) /*!< Position of CH25 field. */
gkroussos 0:637031152314 3867 #define PPI_CHENCLR_CH25_Msk (0x1UL << PPI_CHENCLR_CH25_Pos) /*!< Bit mask of CH25 field. */
gkroussos 0:637031152314 3868 #define PPI_CHENCLR_CH25_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3869 #define PPI_CHENCLR_CH25_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3870 #define PPI_CHENCLR_CH25_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3871
gkroussos 0:637031152314 3872 /* Bit 24 : Disable PPI channel 24. */
gkroussos 0:637031152314 3873 #define PPI_CHENCLR_CH24_Pos (24UL) /*!< Position of CH24 field. */
gkroussos 0:637031152314 3874 #define PPI_CHENCLR_CH24_Msk (0x1UL << PPI_CHENCLR_CH24_Pos) /*!< Bit mask of CH24 field. */
gkroussos 0:637031152314 3875 #define PPI_CHENCLR_CH24_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3876 #define PPI_CHENCLR_CH24_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3877 #define PPI_CHENCLR_CH24_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3878
gkroussos 0:637031152314 3879 /* Bit 23 : Disable PPI channel 23. */
gkroussos 0:637031152314 3880 #define PPI_CHENCLR_CH23_Pos (23UL) /*!< Position of CH23 field. */
gkroussos 0:637031152314 3881 #define PPI_CHENCLR_CH23_Msk (0x1UL << PPI_CHENCLR_CH23_Pos) /*!< Bit mask of CH23 field. */
gkroussos 0:637031152314 3882 #define PPI_CHENCLR_CH23_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3883 #define PPI_CHENCLR_CH23_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3884 #define PPI_CHENCLR_CH23_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3885
gkroussos 0:637031152314 3886 /* Bit 22 : Disable PPI channel 22. */
gkroussos 0:637031152314 3887 #define PPI_CHENCLR_CH22_Pos (22UL) /*!< Position of CH22 field. */
gkroussos 0:637031152314 3888 #define PPI_CHENCLR_CH22_Msk (0x1UL << PPI_CHENCLR_CH22_Pos) /*!< Bit mask of CH22 field. */
gkroussos 0:637031152314 3889 #define PPI_CHENCLR_CH22_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3890 #define PPI_CHENCLR_CH22_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3891 #define PPI_CHENCLR_CH22_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3892
gkroussos 0:637031152314 3893 /* Bit 21 : Disable PPI channel 21. */
gkroussos 0:637031152314 3894 #define PPI_CHENCLR_CH21_Pos (21UL) /*!< Position of CH21 field. */
gkroussos 0:637031152314 3895 #define PPI_CHENCLR_CH21_Msk (0x1UL << PPI_CHENCLR_CH21_Pos) /*!< Bit mask of CH21 field. */
gkroussos 0:637031152314 3896 #define PPI_CHENCLR_CH21_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3897 #define PPI_CHENCLR_CH21_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3898 #define PPI_CHENCLR_CH21_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3899
gkroussos 0:637031152314 3900 /* Bit 20 : Disable PPI channel 20. */
gkroussos 0:637031152314 3901 #define PPI_CHENCLR_CH20_Pos (20UL) /*!< Position of CH20 field. */
gkroussos 0:637031152314 3902 #define PPI_CHENCLR_CH20_Msk (0x1UL << PPI_CHENCLR_CH20_Pos) /*!< Bit mask of CH20 field. */
gkroussos 0:637031152314 3903 #define PPI_CHENCLR_CH20_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3904 #define PPI_CHENCLR_CH20_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3905 #define PPI_CHENCLR_CH20_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3906
gkroussos 0:637031152314 3907 /* Bit 15 : Disable PPI channel 15. */
gkroussos 0:637031152314 3908 #define PPI_CHENCLR_CH15_Pos (15UL) /*!< Position of CH15 field. */
gkroussos 0:637031152314 3909 #define PPI_CHENCLR_CH15_Msk (0x1UL << PPI_CHENCLR_CH15_Pos) /*!< Bit mask of CH15 field. */
gkroussos 0:637031152314 3910 #define PPI_CHENCLR_CH15_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3911 #define PPI_CHENCLR_CH15_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3912 #define PPI_CHENCLR_CH15_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3913
gkroussos 0:637031152314 3914 /* Bit 14 : Disable PPI channel 14. */
gkroussos 0:637031152314 3915 #define PPI_CHENCLR_CH14_Pos (14UL) /*!< Position of CH14 field. */
gkroussos 0:637031152314 3916 #define PPI_CHENCLR_CH14_Msk (0x1UL << PPI_CHENCLR_CH14_Pos) /*!< Bit mask of CH14 field. */
gkroussos 0:637031152314 3917 #define PPI_CHENCLR_CH14_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3918 #define PPI_CHENCLR_CH14_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3919 #define PPI_CHENCLR_CH14_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3920
gkroussos 0:637031152314 3921 /* Bit 13 : Disable PPI channel 13. */
gkroussos 0:637031152314 3922 #define PPI_CHENCLR_CH13_Pos (13UL) /*!< Position of CH13 field. */
gkroussos 0:637031152314 3923 #define PPI_CHENCLR_CH13_Msk (0x1UL << PPI_CHENCLR_CH13_Pos) /*!< Bit mask of CH13 field. */
gkroussos 0:637031152314 3924 #define PPI_CHENCLR_CH13_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3925 #define PPI_CHENCLR_CH13_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3926 #define PPI_CHENCLR_CH13_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3927
gkroussos 0:637031152314 3928 /* Bit 12 : Disable PPI channel 12. */
gkroussos 0:637031152314 3929 #define PPI_CHENCLR_CH12_Pos (12UL) /*!< Position of CH12 field. */
gkroussos 0:637031152314 3930 #define PPI_CHENCLR_CH12_Msk (0x1UL << PPI_CHENCLR_CH12_Pos) /*!< Bit mask of CH12 field. */
gkroussos 0:637031152314 3931 #define PPI_CHENCLR_CH12_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3932 #define PPI_CHENCLR_CH12_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3933 #define PPI_CHENCLR_CH12_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3934
gkroussos 0:637031152314 3935 /* Bit 11 : Disable PPI channel 11. */
gkroussos 0:637031152314 3936 #define PPI_CHENCLR_CH11_Pos (11UL) /*!< Position of CH11 field. */
gkroussos 0:637031152314 3937 #define PPI_CHENCLR_CH11_Msk (0x1UL << PPI_CHENCLR_CH11_Pos) /*!< Bit mask of CH11 field. */
gkroussos 0:637031152314 3938 #define PPI_CHENCLR_CH11_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3939 #define PPI_CHENCLR_CH11_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3940 #define PPI_CHENCLR_CH11_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3941
gkroussos 0:637031152314 3942 /* Bit 10 : Disable PPI channel 10. */
gkroussos 0:637031152314 3943 #define PPI_CHENCLR_CH10_Pos (10UL) /*!< Position of CH10 field. */
gkroussos 0:637031152314 3944 #define PPI_CHENCLR_CH10_Msk (0x1UL << PPI_CHENCLR_CH10_Pos) /*!< Bit mask of CH10 field. */
gkroussos 0:637031152314 3945 #define PPI_CHENCLR_CH10_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3946 #define PPI_CHENCLR_CH10_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3947 #define PPI_CHENCLR_CH10_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3948
gkroussos 0:637031152314 3949 /* Bit 9 : Disable PPI channel 9. */
gkroussos 0:637031152314 3950 #define PPI_CHENCLR_CH9_Pos (9UL) /*!< Position of CH9 field. */
gkroussos 0:637031152314 3951 #define PPI_CHENCLR_CH9_Msk (0x1UL << PPI_CHENCLR_CH9_Pos) /*!< Bit mask of CH9 field. */
gkroussos 0:637031152314 3952 #define PPI_CHENCLR_CH9_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3953 #define PPI_CHENCLR_CH9_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3954 #define PPI_CHENCLR_CH9_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3955
gkroussos 0:637031152314 3956 /* Bit 8 : Disable PPI channel 8. */
gkroussos 0:637031152314 3957 #define PPI_CHENCLR_CH8_Pos (8UL) /*!< Position of CH8 field. */
gkroussos 0:637031152314 3958 #define PPI_CHENCLR_CH8_Msk (0x1UL << PPI_CHENCLR_CH8_Pos) /*!< Bit mask of CH8 field. */
gkroussos 0:637031152314 3959 #define PPI_CHENCLR_CH8_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3960 #define PPI_CHENCLR_CH8_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3961 #define PPI_CHENCLR_CH8_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3962
gkroussos 0:637031152314 3963 /* Bit 7 : Disable PPI channel 7. */
gkroussos 0:637031152314 3964 #define PPI_CHENCLR_CH7_Pos (7UL) /*!< Position of CH7 field. */
gkroussos 0:637031152314 3965 #define PPI_CHENCLR_CH7_Msk (0x1UL << PPI_CHENCLR_CH7_Pos) /*!< Bit mask of CH7 field. */
gkroussos 0:637031152314 3966 #define PPI_CHENCLR_CH7_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3967 #define PPI_CHENCLR_CH7_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3968 #define PPI_CHENCLR_CH7_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3969
gkroussos 0:637031152314 3970 /* Bit 6 : Disable PPI channel 6. */
gkroussos 0:637031152314 3971 #define PPI_CHENCLR_CH6_Pos (6UL) /*!< Position of CH6 field. */
gkroussos 0:637031152314 3972 #define PPI_CHENCLR_CH6_Msk (0x1UL << PPI_CHENCLR_CH6_Pos) /*!< Bit mask of CH6 field. */
gkroussos 0:637031152314 3973 #define PPI_CHENCLR_CH6_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3974 #define PPI_CHENCLR_CH6_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3975 #define PPI_CHENCLR_CH6_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3976
gkroussos 0:637031152314 3977 /* Bit 5 : Disable PPI channel 5. */
gkroussos 0:637031152314 3978 #define PPI_CHENCLR_CH5_Pos (5UL) /*!< Position of CH5 field. */
gkroussos 0:637031152314 3979 #define PPI_CHENCLR_CH5_Msk (0x1UL << PPI_CHENCLR_CH5_Pos) /*!< Bit mask of CH5 field. */
gkroussos 0:637031152314 3980 #define PPI_CHENCLR_CH5_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3981 #define PPI_CHENCLR_CH5_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3982 #define PPI_CHENCLR_CH5_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3983
gkroussos 0:637031152314 3984 /* Bit 4 : Disable PPI channel 4. */
gkroussos 0:637031152314 3985 #define PPI_CHENCLR_CH4_Pos (4UL) /*!< Position of CH4 field. */
gkroussos 0:637031152314 3986 #define PPI_CHENCLR_CH4_Msk (0x1UL << PPI_CHENCLR_CH4_Pos) /*!< Bit mask of CH4 field. */
gkroussos 0:637031152314 3987 #define PPI_CHENCLR_CH4_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3988 #define PPI_CHENCLR_CH4_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3989 #define PPI_CHENCLR_CH4_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3990
gkroussos 0:637031152314 3991 /* Bit 3 : Disable PPI channel 3. */
gkroussos 0:637031152314 3992 #define PPI_CHENCLR_CH3_Pos (3UL) /*!< Position of CH3 field. */
gkroussos 0:637031152314 3993 #define PPI_CHENCLR_CH3_Msk (0x1UL << PPI_CHENCLR_CH3_Pos) /*!< Bit mask of CH3 field. */
gkroussos 0:637031152314 3994 #define PPI_CHENCLR_CH3_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 3995 #define PPI_CHENCLR_CH3_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 3996 #define PPI_CHENCLR_CH3_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 3997
gkroussos 0:637031152314 3998 /* Bit 2 : Disable PPI channel 2. */
gkroussos 0:637031152314 3999 #define PPI_CHENCLR_CH2_Pos (2UL) /*!< Position of CH2 field. */
gkroussos 0:637031152314 4000 #define PPI_CHENCLR_CH2_Msk (0x1UL << PPI_CHENCLR_CH2_Pos) /*!< Bit mask of CH2 field. */
gkroussos 0:637031152314 4001 #define PPI_CHENCLR_CH2_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 4002 #define PPI_CHENCLR_CH2_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 4003 #define PPI_CHENCLR_CH2_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 4004
gkroussos 0:637031152314 4005 /* Bit 1 : Disable PPI channel 1. */
gkroussos 0:637031152314 4006 #define PPI_CHENCLR_CH1_Pos (1UL) /*!< Position of CH1 field. */
gkroussos 0:637031152314 4007 #define PPI_CHENCLR_CH1_Msk (0x1UL << PPI_CHENCLR_CH1_Pos) /*!< Bit mask of CH1 field. */
gkroussos 0:637031152314 4008 #define PPI_CHENCLR_CH1_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 4009 #define PPI_CHENCLR_CH1_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 4010 #define PPI_CHENCLR_CH1_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 4011
gkroussos 0:637031152314 4012 /* Bit 0 : Disable PPI channel 0. */
gkroussos 0:637031152314 4013 #define PPI_CHENCLR_CH0_Pos (0UL) /*!< Position of CH0 field. */
gkroussos 0:637031152314 4014 #define PPI_CHENCLR_CH0_Msk (0x1UL << PPI_CHENCLR_CH0_Pos) /*!< Bit mask of CH0 field. */
gkroussos 0:637031152314 4015 #define PPI_CHENCLR_CH0_Disabled (0UL) /*!< Channel disabled. */
gkroussos 0:637031152314 4016 #define PPI_CHENCLR_CH0_Enabled (1UL) /*!< Channel enabled. */
gkroussos 0:637031152314 4017 #define PPI_CHENCLR_CH0_Clear (1UL) /*!< Disable channel on write. */
gkroussos 0:637031152314 4018
gkroussos 0:637031152314 4019 /* Register: PPI_CHG */
gkroussos 0:637031152314 4020 /* Description: Channel group configuration. */
gkroussos 0:637031152314 4021
gkroussos 0:637031152314 4022 /* Bit 31 : Include CH31 in channel group. */
gkroussos 0:637031152314 4023 #define PPI_CHG_CH31_Pos (31UL) /*!< Position of CH31 field. */
gkroussos 0:637031152314 4024 #define PPI_CHG_CH31_Msk (0x1UL << PPI_CHG_CH31_Pos) /*!< Bit mask of CH31 field. */
gkroussos 0:637031152314 4025 #define PPI_CHG_CH31_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4026 #define PPI_CHG_CH31_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4027
gkroussos 0:637031152314 4028 /* Bit 30 : Include CH30 in channel group. */
gkroussos 0:637031152314 4029 #define PPI_CHG_CH30_Pos (30UL) /*!< Position of CH30 field. */
gkroussos 0:637031152314 4030 #define PPI_CHG_CH30_Msk (0x1UL << PPI_CHG_CH30_Pos) /*!< Bit mask of CH30 field. */
gkroussos 0:637031152314 4031 #define PPI_CHG_CH30_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4032 #define PPI_CHG_CH30_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4033
gkroussos 0:637031152314 4034 /* Bit 29 : Include CH29 in channel group. */
gkroussos 0:637031152314 4035 #define PPI_CHG_CH29_Pos (29UL) /*!< Position of CH29 field. */
gkroussos 0:637031152314 4036 #define PPI_CHG_CH29_Msk (0x1UL << PPI_CHG_CH29_Pos) /*!< Bit mask of CH29 field. */
gkroussos 0:637031152314 4037 #define PPI_CHG_CH29_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4038 #define PPI_CHG_CH29_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4039
gkroussos 0:637031152314 4040 /* Bit 28 : Include CH28 in channel group. */
gkroussos 0:637031152314 4041 #define PPI_CHG_CH28_Pos (28UL) /*!< Position of CH28 field. */
gkroussos 0:637031152314 4042 #define PPI_CHG_CH28_Msk (0x1UL << PPI_CHG_CH28_Pos) /*!< Bit mask of CH28 field. */
gkroussos 0:637031152314 4043 #define PPI_CHG_CH28_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4044 #define PPI_CHG_CH28_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4045
gkroussos 0:637031152314 4046 /* Bit 27 : Include CH27 in channel group. */
gkroussos 0:637031152314 4047 #define PPI_CHG_CH27_Pos (27UL) /*!< Position of CH27 field. */
gkroussos 0:637031152314 4048 #define PPI_CHG_CH27_Msk (0x1UL << PPI_CHG_CH27_Pos) /*!< Bit mask of CH27 field. */
gkroussos 0:637031152314 4049 #define PPI_CHG_CH27_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4050 #define PPI_CHG_CH27_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4051
gkroussos 0:637031152314 4052 /* Bit 26 : Include CH26 in channel group. */
gkroussos 0:637031152314 4053 #define PPI_CHG_CH26_Pos (26UL) /*!< Position of CH26 field. */
gkroussos 0:637031152314 4054 #define PPI_CHG_CH26_Msk (0x1UL << PPI_CHG_CH26_Pos) /*!< Bit mask of CH26 field. */
gkroussos 0:637031152314 4055 #define PPI_CHG_CH26_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4056 #define PPI_CHG_CH26_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4057
gkroussos 0:637031152314 4058 /* Bit 25 : Include CH25 in channel group. */
gkroussos 0:637031152314 4059 #define PPI_CHG_CH25_Pos (25UL) /*!< Position of CH25 field. */
gkroussos 0:637031152314 4060 #define PPI_CHG_CH25_Msk (0x1UL << PPI_CHG_CH25_Pos) /*!< Bit mask of CH25 field. */
gkroussos 0:637031152314 4061 #define PPI_CHG_CH25_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4062 #define PPI_CHG_CH25_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4063
gkroussos 0:637031152314 4064 /* Bit 24 : Include CH24 in channel group. */
gkroussos 0:637031152314 4065 #define PPI_CHG_CH24_Pos (24UL) /*!< Position of CH24 field. */
gkroussos 0:637031152314 4066 #define PPI_CHG_CH24_Msk (0x1UL << PPI_CHG_CH24_Pos) /*!< Bit mask of CH24 field. */
gkroussos 0:637031152314 4067 #define PPI_CHG_CH24_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4068 #define PPI_CHG_CH24_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4069
gkroussos 0:637031152314 4070 /* Bit 23 : Include CH23 in channel group. */
gkroussos 0:637031152314 4071 #define PPI_CHG_CH23_Pos (23UL) /*!< Position of CH23 field. */
gkroussos 0:637031152314 4072 #define PPI_CHG_CH23_Msk (0x1UL << PPI_CHG_CH23_Pos) /*!< Bit mask of CH23 field. */
gkroussos 0:637031152314 4073 #define PPI_CHG_CH23_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4074 #define PPI_CHG_CH23_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4075
gkroussos 0:637031152314 4076 /* Bit 22 : Include CH22 in channel group. */
gkroussos 0:637031152314 4077 #define PPI_CHG_CH22_Pos (22UL) /*!< Position of CH22 field. */
gkroussos 0:637031152314 4078 #define PPI_CHG_CH22_Msk (0x1UL << PPI_CHG_CH22_Pos) /*!< Bit mask of CH22 field. */
gkroussos 0:637031152314 4079 #define PPI_CHG_CH22_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4080 #define PPI_CHG_CH22_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4081
gkroussos 0:637031152314 4082 /* Bit 21 : Include CH21 in channel group. */
gkroussos 0:637031152314 4083 #define PPI_CHG_CH21_Pos (21UL) /*!< Position of CH21 field. */
gkroussos 0:637031152314 4084 #define PPI_CHG_CH21_Msk (0x1UL << PPI_CHG_CH21_Pos) /*!< Bit mask of CH21 field. */
gkroussos 0:637031152314 4085 #define PPI_CHG_CH21_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4086 #define PPI_CHG_CH21_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4087
gkroussos 0:637031152314 4088 /* Bit 20 : Include CH20 in channel group. */
gkroussos 0:637031152314 4089 #define PPI_CHG_CH20_Pos (20UL) /*!< Position of CH20 field. */
gkroussos 0:637031152314 4090 #define PPI_CHG_CH20_Msk (0x1UL << PPI_CHG_CH20_Pos) /*!< Bit mask of CH20 field. */
gkroussos 0:637031152314 4091 #define PPI_CHG_CH20_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4092 #define PPI_CHG_CH20_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4093
gkroussos 0:637031152314 4094 /* Bit 15 : Include CH15 in channel group. */
gkroussos 0:637031152314 4095 #define PPI_CHG_CH15_Pos (15UL) /*!< Position of CH15 field. */
gkroussos 0:637031152314 4096 #define PPI_CHG_CH15_Msk (0x1UL << PPI_CHG_CH15_Pos) /*!< Bit mask of CH15 field. */
gkroussos 0:637031152314 4097 #define PPI_CHG_CH15_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4098 #define PPI_CHG_CH15_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4099
gkroussos 0:637031152314 4100 /* Bit 14 : Include CH14 in channel group. */
gkroussos 0:637031152314 4101 #define PPI_CHG_CH14_Pos (14UL) /*!< Position of CH14 field. */
gkroussos 0:637031152314 4102 #define PPI_CHG_CH14_Msk (0x1UL << PPI_CHG_CH14_Pos) /*!< Bit mask of CH14 field. */
gkroussos 0:637031152314 4103 #define PPI_CHG_CH14_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4104 #define PPI_CHG_CH14_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4105
gkroussos 0:637031152314 4106 /* Bit 13 : Include CH13 in channel group. */
gkroussos 0:637031152314 4107 #define PPI_CHG_CH13_Pos (13UL) /*!< Position of CH13 field. */
gkroussos 0:637031152314 4108 #define PPI_CHG_CH13_Msk (0x1UL << PPI_CHG_CH13_Pos) /*!< Bit mask of CH13 field. */
gkroussos 0:637031152314 4109 #define PPI_CHG_CH13_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4110 #define PPI_CHG_CH13_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4111
gkroussos 0:637031152314 4112 /* Bit 12 : Include CH12 in channel group. */
gkroussos 0:637031152314 4113 #define PPI_CHG_CH12_Pos (12UL) /*!< Position of CH12 field. */
gkroussos 0:637031152314 4114 #define PPI_CHG_CH12_Msk (0x1UL << PPI_CHG_CH12_Pos) /*!< Bit mask of CH12 field. */
gkroussos 0:637031152314 4115 #define PPI_CHG_CH12_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4116 #define PPI_CHG_CH12_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4117
gkroussos 0:637031152314 4118 /* Bit 11 : Include CH11 in channel group. */
gkroussos 0:637031152314 4119 #define PPI_CHG_CH11_Pos (11UL) /*!< Position of CH11 field. */
gkroussos 0:637031152314 4120 #define PPI_CHG_CH11_Msk (0x1UL << PPI_CHG_CH11_Pos) /*!< Bit mask of CH11 field. */
gkroussos 0:637031152314 4121 #define PPI_CHG_CH11_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4122 #define PPI_CHG_CH11_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4123
gkroussos 0:637031152314 4124 /* Bit 10 : Include CH10 in channel group. */
gkroussos 0:637031152314 4125 #define PPI_CHG_CH10_Pos (10UL) /*!< Position of CH10 field. */
gkroussos 0:637031152314 4126 #define PPI_CHG_CH10_Msk (0x1UL << PPI_CHG_CH10_Pos) /*!< Bit mask of CH10 field. */
gkroussos 0:637031152314 4127 #define PPI_CHG_CH10_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4128 #define PPI_CHG_CH10_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4129
gkroussos 0:637031152314 4130 /* Bit 9 : Include CH9 in channel group. */
gkroussos 0:637031152314 4131 #define PPI_CHG_CH9_Pos (9UL) /*!< Position of CH9 field. */
gkroussos 0:637031152314 4132 #define PPI_CHG_CH9_Msk (0x1UL << PPI_CHG_CH9_Pos) /*!< Bit mask of CH9 field. */
gkroussos 0:637031152314 4133 #define PPI_CHG_CH9_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4134 #define PPI_CHG_CH9_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4135
gkroussos 0:637031152314 4136 /* Bit 8 : Include CH8 in channel group. */
gkroussos 0:637031152314 4137 #define PPI_CHG_CH8_Pos (8UL) /*!< Position of CH8 field. */
gkroussos 0:637031152314 4138 #define PPI_CHG_CH8_Msk (0x1UL << PPI_CHG_CH8_Pos) /*!< Bit mask of CH8 field. */
gkroussos 0:637031152314 4139 #define PPI_CHG_CH8_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4140 #define PPI_CHG_CH8_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4141
gkroussos 0:637031152314 4142 /* Bit 7 : Include CH7 in channel group. */
gkroussos 0:637031152314 4143 #define PPI_CHG_CH7_Pos (7UL) /*!< Position of CH7 field. */
gkroussos 0:637031152314 4144 #define PPI_CHG_CH7_Msk (0x1UL << PPI_CHG_CH7_Pos) /*!< Bit mask of CH7 field. */
gkroussos 0:637031152314 4145 #define PPI_CHG_CH7_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4146 #define PPI_CHG_CH7_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4147
gkroussos 0:637031152314 4148 /* Bit 6 : Include CH6 in channel group. */
gkroussos 0:637031152314 4149 #define PPI_CHG_CH6_Pos (6UL) /*!< Position of CH6 field. */
gkroussos 0:637031152314 4150 #define PPI_CHG_CH6_Msk (0x1UL << PPI_CHG_CH6_Pos) /*!< Bit mask of CH6 field. */
gkroussos 0:637031152314 4151 #define PPI_CHG_CH6_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4152 #define PPI_CHG_CH6_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4153
gkroussos 0:637031152314 4154 /* Bit 5 : Include CH5 in channel group. */
gkroussos 0:637031152314 4155 #define PPI_CHG_CH5_Pos (5UL) /*!< Position of CH5 field. */
gkroussos 0:637031152314 4156 #define PPI_CHG_CH5_Msk (0x1UL << PPI_CHG_CH5_Pos) /*!< Bit mask of CH5 field. */
gkroussos 0:637031152314 4157 #define PPI_CHG_CH5_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4158 #define PPI_CHG_CH5_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4159
gkroussos 0:637031152314 4160 /* Bit 4 : Include CH4 in channel group. */
gkroussos 0:637031152314 4161 #define PPI_CHG_CH4_Pos (4UL) /*!< Position of CH4 field. */
gkroussos 0:637031152314 4162 #define PPI_CHG_CH4_Msk (0x1UL << PPI_CHG_CH4_Pos) /*!< Bit mask of CH4 field. */
gkroussos 0:637031152314 4163 #define PPI_CHG_CH4_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4164 #define PPI_CHG_CH4_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4165
gkroussos 0:637031152314 4166 /* Bit 3 : Include CH3 in channel group. */
gkroussos 0:637031152314 4167 #define PPI_CHG_CH3_Pos (3UL) /*!< Position of CH3 field. */
gkroussos 0:637031152314 4168 #define PPI_CHG_CH3_Msk (0x1UL << PPI_CHG_CH3_Pos) /*!< Bit mask of CH3 field. */
gkroussos 0:637031152314 4169 #define PPI_CHG_CH3_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4170 #define PPI_CHG_CH3_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4171
gkroussos 0:637031152314 4172 /* Bit 2 : Include CH2 in channel group. */
gkroussos 0:637031152314 4173 #define PPI_CHG_CH2_Pos (2UL) /*!< Position of CH2 field. */
gkroussos 0:637031152314 4174 #define PPI_CHG_CH2_Msk (0x1UL << PPI_CHG_CH2_Pos) /*!< Bit mask of CH2 field. */
gkroussos 0:637031152314 4175 #define PPI_CHG_CH2_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4176 #define PPI_CHG_CH2_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4177
gkroussos 0:637031152314 4178 /* Bit 1 : Include CH1 in channel group. */
gkroussos 0:637031152314 4179 #define PPI_CHG_CH1_Pos (1UL) /*!< Position of CH1 field. */
gkroussos 0:637031152314 4180 #define PPI_CHG_CH1_Msk (0x1UL << PPI_CHG_CH1_Pos) /*!< Bit mask of CH1 field. */
gkroussos 0:637031152314 4181 #define PPI_CHG_CH1_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4182 #define PPI_CHG_CH1_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4183
gkroussos 0:637031152314 4184 /* Bit 0 : Include CH0 in channel group. */
gkroussos 0:637031152314 4185 #define PPI_CHG_CH0_Pos (0UL) /*!< Position of CH0 field. */
gkroussos 0:637031152314 4186 #define PPI_CHG_CH0_Msk (0x1UL << PPI_CHG_CH0_Pos) /*!< Bit mask of CH0 field. */
gkroussos 0:637031152314 4187 #define PPI_CHG_CH0_Excluded (0UL) /*!< Channel excluded. */
gkroussos 0:637031152314 4188 #define PPI_CHG_CH0_Included (1UL) /*!< Channel included. */
gkroussos 0:637031152314 4189
gkroussos 0:637031152314 4190
gkroussos 0:637031152314 4191 /* Peripheral: PU */
gkroussos 0:637031152314 4192 /* Description: Patch unit. */
gkroussos 0:637031152314 4193
gkroussos 0:637031152314 4194 /* Register: PU_PATCHADDR */
gkroussos 0:637031152314 4195 /* Description: Relative address of patch instructions. */
gkroussos 0:637031152314 4196
gkroussos 0:637031152314 4197 /* Bits 24..0 : Relative address of patch instructions. */
gkroussos 0:637031152314 4198 #define PU_PATCHADDR_PATCHADDR_Pos (0UL) /*!< Position of PATCHADDR field. */
gkroussos 0:637031152314 4199 #define PU_PATCHADDR_PATCHADDR_Msk (0x1FFFFFFUL << PU_PATCHADDR_PATCHADDR_Pos) /*!< Bit mask of PATCHADDR field. */
gkroussos 0:637031152314 4200
gkroussos 0:637031152314 4201 /* Register: PU_PATCHEN */
gkroussos 0:637031152314 4202 /* Description: Patch enable register. */
gkroussos 0:637031152314 4203
gkroussos 0:637031152314 4204 /* Bit 7 : Patch 7 enabled. */
gkroussos 0:637031152314 4205 #define PU_PATCHEN_PATCH7_Pos (7UL) /*!< Position of PATCH7 field. */
gkroussos 0:637031152314 4206 #define PU_PATCHEN_PATCH7_Msk (0x1UL << PU_PATCHEN_PATCH7_Pos) /*!< Bit mask of PATCH7 field. */
gkroussos 0:637031152314 4207 #define PU_PATCHEN_PATCH7_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4208 #define PU_PATCHEN_PATCH7_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4209
gkroussos 0:637031152314 4210 /* Bit 6 : Patch 6 enabled. */
gkroussos 0:637031152314 4211 #define PU_PATCHEN_PATCH6_Pos (6UL) /*!< Position of PATCH6 field. */
gkroussos 0:637031152314 4212 #define PU_PATCHEN_PATCH6_Msk (0x1UL << PU_PATCHEN_PATCH6_Pos) /*!< Bit mask of PATCH6 field. */
gkroussos 0:637031152314 4213 #define PU_PATCHEN_PATCH6_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4214 #define PU_PATCHEN_PATCH6_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4215
gkroussos 0:637031152314 4216 /* Bit 5 : Patch 5 enabled. */
gkroussos 0:637031152314 4217 #define PU_PATCHEN_PATCH5_Pos (5UL) /*!< Position of PATCH5 field. */
gkroussos 0:637031152314 4218 #define PU_PATCHEN_PATCH5_Msk (0x1UL << PU_PATCHEN_PATCH5_Pos) /*!< Bit mask of PATCH5 field. */
gkroussos 0:637031152314 4219 #define PU_PATCHEN_PATCH5_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4220 #define PU_PATCHEN_PATCH5_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4221
gkroussos 0:637031152314 4222 /* Bit 4 : Patch 4 enabled. */
gkroussos 0:637031152314 4223 #define PU_PATCHEN_PATCH4_Pos (4UL) /*!< Position of PATCH4 field. */
gkroussos 0:637031152314 4224 #define PU_PATCHEN_PATCH4_Msk (0x1UL << PU_PATCHEN_PATCH4_Pos) /*!< Bit mask of PATCH4 field. */
gkroussos 0:637031152314 4225 #define PU_PATCHEN_PATCH4_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4226 #define PU_PATCHEN_PATCH4_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4227
gkroussos 0:637031152314 4228 /* Bit 3 : Patch 3 enabled. */
gkroussos 0:637031152314 4229 #define PU_PATCHEN_PATCH3_Pos (3UL) /*!< Position of PATCH3 field. */
gkroussos 0:637031152314 4230 #define PU_PATCHEN_PATCH3_Msk (0x1UL << PU_PATCHEN_PATCH3_Pos) /*!< Bit mask of PATCH3 field. */
gkroussos 0:637031152314 4231 #define PU_PATCHEN_PATCH3_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4232 #define PU_PATCHEN_PATCH3_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4233
gkroussos 0:637031152314 4234 /* Bit 2 : Patch 2 enabled. */
gkroussos 0:637031152314 4235 #define PU_PATCHEN_PATCH2_Pos (2UL) /*!< Position of PATCH2 field. */
gkroussos 0:637031152314 4236 #define PU_PATCHEN_PATCH2_Msk (0x1UL << PU_PATCHEN_PATCH2_Pos) /*!< Bit mask of PATCH2 field. */
gkroussos 0:637031152314 4237 #define PU_PATCHEN_PATCH2_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4238 #define PU_PATCHEN_PATCH2_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4239
gkroussos 0:637031152314 4240 /* Bit 1 : Patch 1 enabled. */
gkroussos 0:637031152314 4241 #define PU_PATCHEN_PATCH1_Pos (1UL) /*!< Position of PATCH1 field. */
gkroussos 0:637031152314 4242 #define PU_PATCHEN_PATCH1_Msk (0x1UL << PU_PATCHEN_PATCH1_Pos) /*!< Bit mask of PATCH1 field. */
gkroussos 0:637031152314 4243 #define PU_PATCHEN_PATCH1_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4244 #define PU_PATCHEN_PATCH1_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4245
gkroussos 0:637031152314 4246 /* Bit 0 : Patch 0 enabled. */
gkroussos 0:637031152314 4247 #define PU_PATCHEN_PATCH0_Pos (0UL) /*!< Position of PATCH0 field. */
gkroussos 0:637031152314 4248 #define PU_PATCHEN_PATCH0_Msk (0x1UL << PU_PATCHEN_PATCH0_Pos) /*!< Bit mask of PATCH0 field. */
gkroussos 0:637031152314 4249 #define PU_PATCHEN_PATCH0_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4250 #define PU_PATCHEN_PATCH0_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4251
gkroussos 0:637031152314 4252 /* Register: PU_PATCHENSET */
gkroussos 0:637031152314 4253 /* Description: Patch enable register. */
gkroussos 0:637031152314 4254
gkroussos 0:637031152314 4255 /* Bit 7 : Patch 7 enabled. */
gkroussos 0:637031152314 4256 #define PU_PATCHENSET_PATCH7_Pos (7UL) /*!< Position of PATCH7 field. */
gkroussos 0:637031152314 4257 #define PU_PATCHENSET_PATCH7_Msk (0x1UL << PU_PATCHENSET_PATCH7_Pos) /*!< Bit mask of PATCH7 field. */
gkroussos 0:637031152314 4258 #define PU_PATCHENSET_PATCH7_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4259 #define PU_PATCHENSET_PATCH7_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4260 #define PU_PATCHENSET_PATCH7_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4261
gkroussos 0:637031152314 4262 /* Bit 6 : Patch 6 enabled. */
gkroussos 0:637031152314 4263 #define PU_PATCHENSET_PATCH6_Pos (6UL) /*!< Position of PATCH6 field. */
gkroussos 0:637031152314 4264 #define PU_PATCHENSET_PATCH6_Msk (0x1UL << PU_PATCHENSET_PATCH6_Pos) /*!< Bit mask of PATCH6 field. */
gkroussos 0:637031152314 4265 #define PU_PATCHENSET_PATCH6_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4266 #define PU_PATCHENSET_PATCH6_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4267 #define PU_PATCHENSET_PATCH6_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4268
gkroussos 0:637031152314 4269 /* Bit 5 : Patch 5 enabled. */
gkroussos 0:637031152314 4270 #define PU_PATCHENSET_PATCH5_Pos (5UL) /*!< Position of PATCH5 field. */
gkroussos 0:637031152314 4271 #define PU_PATCHENSET_PATCH5_Msk (0x1UL << PU_PATCHENSET_PATCH5_Pos) /*!< Bit mask of PATCH5 field. */
gkroussos 0:637031152314 4272 #define PU_PATCHENSET_PATCH5_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4273 #define PU_PATCHENSET_PATCH5_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4274 #define PU_PATCHENSET_PATCH5_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4275
gkroussos 0:637031152314 4276 /* Bit 4 : Patch 4 enabled. */
gkroussos 0:637031152314 4277 #define PU_PATCHENSET_PATCH4_Pos (4UL) /*!< Position of PATCH4 field. */
gkroussos 0:637031152314 4278 #define PU_PATCHENSET_PATCH4_Msk (0x1UL << PU_PATCHENSET_PATCH4_Pos) /*!< Bit mask of PATCH4 field. */
gkroussos 0:637031152314 4279 #define PU_PATCHENSET_PATCH4_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4280 #define PU_PATCHENSET_PATCH4_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4281 #define PU_PATCHENSET_PATCH4_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4282
gkroussos 0:637031152314 4283 /* Bit 3 : Patch 3 enabled. */
gkroussos 0:637031152314 4284 #define PU_PATCHENSET_PATCH3_Pos (3UL) /*!< Position of PATCH3 field. */
gkroussos 0:637031152314 4285 #define PU_PATCHENSET_PATCH3_Msk (0x1UL << PU_PATCHENSET_PATCH3_Pos) /*!< Bit mask of PATCH3 field. */
gkroussos 0:637031152314 4286 #define PU_PATCHENSET_PATCH3_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4287 #define PU_PATCHENSET_PATCH3_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4288 #define PU_PATCHENSET_PATCH3_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4289
gkroussos 0:637031152314 4290 /* Bit 2 : Patch 2 enabled. */
gkroussos 0:637031152314 4291 #define PU_PATCHENSET_PATCH2_Pos (2UL) /*!< Position of PATCH2 field. */
gkroussos 0:637031152314 4292 #define PU_PATCHENSET_PATCH2_Msk (0x1UL << PU_PATCHENSET_PATCH2_Pos) /*!< Bit mask of PATCH2 field. */
gkroussos 0:637031152314 4293 #define PU_PATCHENSET_PATCH2_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4294 #define PU_PATCHENSET_PATCH2_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4295 #define PU_PATCHENSET_PATCH2_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4296
gkroussos 0:637031152314 4297 /* Bit 1 : Patch 1 enabled. */
gkroussos 0:637031152314 4298 #define PU_PATCHENSET_PATCH1_Pos (1UL) /*!< Position of PATCH1 field. */
gkroussos 0:637031152314 4299 #define PU_PATCHENSET_PATCH1_Msk (0x1UL << PU_PATCHENSET_PATCH1_Pos) /*!< Bit mask of PATCH1 field. */
gkroussos 0:637031152314 4300 #define PU_PATCHENSET_PATCH1_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4301 #define PU_PATCHENSET_PATCH1_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4302 #define PU_PATCHENSET_PATCH1_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4303
gkroussos 0:637031152314 4304 /* Bit 0 : Patch 0 enabled. */
gkroussos 0:637031152314 4305 #define PU_PATCHENSET_PATCH0_Pos (0UL) /*!< Position of PATCH0 field. */
gkroussos 0:637031152314 4306 #define PU_PATCHENSET_PATCH0_Msk (0x1UL << PU_PATCHENSET_PATCH0_Pos) /*!< Bit mask of PATCH0 field. */
gkroussos 0:637031152314 4307 #define PU_PATCHENSET_PATCH0_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4308 #define PU_PATCHENSET_PATCH0_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4309 #define PU_PATCHENSET_PATCH0_Set (1UL) /*!< Enable patch on write. */
gkroussos 0:637031152314 4310
gkroussos 0:637031152314 4311 /* Register: PU_PATCHENCLR */
gkroussos 0:637031152314 4312 /* Description: Patch disable register. */
gkroussos 0:637031152314 4313
gkroussos 0:637031152314 4314 /* Bit 7 : Patch 7 enabled. */
gkroussos 0:637031152314 4315 #define PU_PATCHENCLR_PATCH7_Pos (7UL) /*!< Position of PATCH7 field. */
gkroussos 0:637031152314 4316 #define PU_PATCHENCLR_PATCH7_Msk (0x1UL << PU_PATCHENCLR_PATCH7_Pos) /*!< Bit mask of PATCH7 field. */
gkroussos 0:637031152314 4317 #define PU_PATCHENCLR_PATCH7_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4318 #define PU_PATCHENCLR_PATCH7_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4319 #define PU_PATCHENCLR_PATCH7_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4320
gkroussos 0:637031152314 4321 /* Bit 6 : Patch 6 enabled. */
gkroussos 0:637031152314 4322 #define PU_PATCHENCLR_PATCH6_Pos (6UL) /*!< Position of PATCH6 field. */
gkroussos 0:637031152314 4323 #define PU_PATCHENCLR_PATCH6_Msk (0x1UL << PU_PATCHENCLR_PATCH6_Pos) /*!< Bit mask of PATCH6 field. */
gkroussos 0:637031152314 4324 #define PU_PATCHENCLR_PATCH6_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4325 #define PU_PATCHENCLR_PATCH6_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4326 #define PU_PATCHENCLR_PATCH6_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4327
gkroussos 0:637031152314 4328 /* Bit 5 : Patch 5 enabled. */
gkroussos 0:637031152314 4329 #define PU_PATCHENCLR_PATCH5_Pos (5UL) /*!< Position of PATCH5 field. */
gkroussos 0:637031152314 4330 #define PU_PATCHENCLR_PATCH5_Msk (0x1UL << PU_PATCHENCLR_PATCH5_Pos) /*!< Bit mask of PATCH5 field. */
gkroussos 0:637031152314 4331 #define PU_PATCHENCLR_PATCH5_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4332 #define PU_PATCHENCLR_PATCH5_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4333 #define PU_PATCHENCLR_PATCH5_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4334
gkroussos 0:637031152314 4335 /* Bit 4 : Patch 4 enabled. */
gkroussos 0:637031152314 4336 #define PU_PATCHENCLR_PATCH4_Pos (4UL) /*!< Position of PATCH4 field. */
gkroussos 0:637031152314 4337 #define PU_PATCHENCLR_PATCH4_Msk (0x1UL << PU_PATCHENCLR_PATCH4_Pos) /*!< Bit mask of PATCH4 field. */
gkroussos 0:637031152314 4338 #define PU_PATCHENCLR_PATCH4_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4339 #define PU_PATCHENCLR_PATCH4_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4340 #define PU_PATCHENCLR_PATCH4_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4341
gkroussos 0:637031152314 4342 /* Bit 3 : Patch 3 enabled. */
gkroussos 0:637031152314 4343 #define PU_PATCHENCLR_PATCH3_Pos (3UL) /*!< Position of PATCH3 field. */
gkroussos 0:637031152314 4344 #define PU_PATCHENCLR_PATCH3_Msk (0x1UL << PU_PATCHENCLR_PATCH3_Pos) /*!< Bit mask of PATCH3 field. */
gkroussos 0:637031152314 4345 #define PU_PATCHENCLR_PATCH3_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4346 #define PU_PATCHENCLR_PATCH3_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4347 #define PU_PATCHENCLR_PATCH3_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4348
gkroussos 0:637031152314 4349 /* Bit 2 : Patch 2 enabled. */
gkroussos 0:637031152314 4350 #define PU_PATCHENCLR_PATCH2_Pos (2UL) /*!< Position of PATCH2 field. */
gkroussos 0:637031152314 4351 #define PU_PATCHENCLR_PATCH2_Msk (0x1UL << PU_PATCHENCLR_PATCH2_Pos) /*!< Bit mask of PATCH2 field. */
gkroussos 0:637031152314 4352 #define PU_PATCHENCLR_PATCH2_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4353 #define PU_PATCHENCLR_PATCH2_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4354 #define PU_PATCHENCLR_PATCH2_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4355
gkroussos 0:637031152314 4356 /* Bit 1 : Patch 1 enabled. */
gkroussos 0:637031152314 4357 #define PU_PATCHENCLR_PATCH1_Pos (1UL) /*!< Position of PATCH1 field. */
gkroussos 0:637031152314 4358 #define PU_PATCHENCLR_PATCH1_Msk (0x1UL << PU_PATCHENCLR_PATCH1_Pos) /*!< Bit mask of PATCH1 field. */
gkroussos 0:637031152314 4359 #define PU_PATCHENCLR_PATCH1_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4360 #define PU_PATCHENCLR_PATCH1_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4361 #define PU_PATCHENCLR_PATCH1_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4362
gkroussos 0:637031152314 4363 /* Bit 0 : Patch 0 enabled. */
gkroussos 0:637031152314 4364 #define PU_PATCHENCLR_PATCH0_Pos (0UL) /*!< Position of PATCH0 field. */
gkroussos 0:637031152314 4365 #define PU_PATCHENCLR_PATCH0_Msk (0x1UL << PU_PATCHENCLR_PATCH0_Pos) /*!< Bit mask of PATCH0 field. */
gkroussos 0:637031152314 4366 #define PU_PATCHENCLR_PATCH0_Disabled (0UL) /*!< Patch disabled. */
gkroussos 0:637031152314 4367 #define PU_PATCHENCLR_PATCH0_Enabled (1UL) /*!< Patch enabled. */
gkroussos 0:637031152314 4368 #define PU_PATCHENCLR_PATCH0_Clear (1UL) /*!< Disable patch on write. */
gkroussos 0:637031152314 4369
gkroussos 0:637031152314 4370
gkroussos 0:637031152314 4371 /* Peripheral: QDEC */
gkroussos 0:637031152314 4372 /* Description: Rotary decoder. */
gkroussos 0:637031152314 4373
gkroussos 0:637031152314 4374 /* Register: QDEC_SHORTS */
gkroussos 0:637031152314 4375 /* Description: Shortcut for the QDEC. */
gkroussos 0:637031152314 4376
gkroussos 0:637031152314 4377 /* Bit 1 : Short-cut between SAMPLERDY event and STOP task. */
gkroussos 0:637031152314 4378 #define QDEC_SHORTS_SAMPLERDY_STOP_Pos (1UL) /*!< Position of SAMPLERDY_STOP field. */
gkroussos 0:637031152314 4379 #define QDEC_SHORTS_SAMPLERDY_STOP_Msk (0x1UL << QDEC_SHORTS_SAMPLERDY_STOP_Pos) /*!< Bit mask of SAMPLERDY_STOP field. */
gkroussos 0:637031152314 4380 #define QDEC_SHORTS_SAMPLERDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4381 #define QDEC_SHORTS_SAMPLERDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4382
gkroussos 0:637031152314 4383 /* Bit 0 : Short-cut between REPORTRDY event and READCLRACC task. */
gkroussos 0:637031152314 4384 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Pos (0UL) /*!< Position of REPORTRDY_READCLRACC field. */
gkroussos 0:637031152314 4385 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Msk (0x1UL << QDEC_SHORTS_REPORTRDY_READCLRACC_Pos) /*!< Bit mask of REPORTRDY_READCLRACC field. */
gkroussos 0:637031152314 4386 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4387 #define QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4388
gkroussos 0:637031152314 4389 /* Register: QDEC_INTENSET */
gkroussos 0:637031152314 4390 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 4391
gkroussos 0:637031152314 4392 /* Bit 2 : Enable interrupt on ACCOF event. */
gkroussos 0:637031152314 4393 #define QDEC_INTENSET_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
gkroussos 0:637031152314 4394 #define QDEC_INTENSET_ACCOF_Msk (0x1UL << QDEC_INTENSET_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
gkroussos 0:637031152314 4395 #define QDEC_INTENSET_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4396 #define QDEC_INTENSET_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4397 #define QDEC_INTENSET_ACCOF_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4398
gkroussos 0:637031152314 4399 /* Bit 1 : Enable interrupt on REPORTRDY event. */
gkroussos 0:637031152314 4400 #define QDEC_INTENSET_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
gkroussos 0:637031152314 4401 #define QDEC_INTENSET_REPORTRDY_Msk (0x1UL << QDEC_INTENSET_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
gkroussos 0:637031152314 4402 #define QDEC_INTENSET_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4403 #define QDEC_INTENSET_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4404 #define QDEC_INTENSET_REPORTRDY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4405
gkroussos 0:637031152314 4406 /* Bit 0 : Enable interrupt on SAMPLERDY event. */
gkroussos 0:637031152314 4407 #define QDEC_INTENSET_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
gkroussos 0:637031152314 4408 #define QDEC_INTENSET_SAMPLERDY_Msk (0x1UL << QDEC_INTENSET_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
gkroussos 0:637031152314 4409 #define QDEC_INTENSET_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4410 #define QDEC_INTENSET_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4411 #define QDEC_INTENSET_SAMPLERDY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4412
gkroussos 0:637031152314 4413 /* Register: QDEC_INTENCLR */
gkroussos 0:637031152314 4414 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 4415
gkroussos 0:637031152314 4416 /* Bit 2 : Disable interrupt on ACCOF event. */
gkroussos 0:637031152314 4417 #define QDEC_INTENCLR_ACCOF_Pos (2UL) /*!< Position of ACCOF field. */
gkroussos 0:637031152314 4418 #define QDEC_INTENCLR_ACCOF_Msk (0x1UL << QDEC_INTENCLR_ACCOF_Pos) /*!< Bit mask of ACCOF field. */
gkroussos 0:637031152314 4419 #define QDEC_INTENCLR_ACCOF_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4420 #define QDEC_INTENCLR_ACCOF_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4421 #define QDEC_INTENCLR_ACCOF_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4422
gkroussos 0:637031152314 4423 /* Bit 1 : Disable interrupt on REPORTRDY event. */
gkroussos 0:637031152314 4424 #define QDEC_INTENCLR_REPORTRDY_Pos (1UL) /*!< Position of REPORTRDY field. */
gkroussos 0:637031152314 4425 #define QDEC_INTENCLR_REPORTRDY_Msk (0x1UL << QDEC_INTENCLR_REPORTRDY_Pos) /*!< Bit mask of REPORTRDY field. */
gkroussos 0:637031152314 4426 #define QDEC_INTENCLR_REPORTRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4427 #define QDEC_INTENCLR_REPORTRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4428 #define QDEC_INTENCLR_REPORTRDY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4429
gkroussos 0:637031152314 4430 /* Bit 0 : Disable interrupt on SAMPLERDY event. */
gkroussos 0:637031152314 4431 #define QDEC_INTENCLR_SAMPLERDY_Pos (0UL) /*!< Position of SAMPLERDY field. */
gkroussos 0:637031152314 4432 #define QDEC_INTENCLR_SAMPLERDY_Msk (0x1UL << QDEC_INTENCLR_SAMPLERDY_Pos) /*!< Bit mask of SAMPLERDY field. */
gkroussos 0:637031152314 4433 #define QDEC_INTENCLR_SAMPLERDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4434 #define QDEC_INTENCLR_SAMPLERDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4435 #define QDEC_INTENCLR_SAMPLERDY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4436
gkroussos 0:637031152314 4437 /* Register: QDEC_ENABLE */
gkroussos 0:637031152314 4438 /* Description: Enable the QDEC. */
gkroussos 0:637031152314 4439
gkroussos 0:637031152314 4440 /* Bit 0 : Enable or disable QDEC. */
gkroussos 0:637031152314 4441 #define QDEC_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 4442 #define QDEC_ENABLE_ENABLE_Msk (0x1UL << QDEC_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 4443 #define QDEC_ENABLE_ENABLE_Disabled (0UL) /*!< Disabled QDEC. */
gkroussos 0:637031152314 4444 #define QDEC_ENABLE_ENABLE_Enabled (1UL) /*!< Enable QDEC. */
gkroussos 0:637031152314 4445
gkroussos 0:637031152314 4446 /* Register: QDEC_LEDPOL */
gkroussos 0:637031152314 4447 /* Description: LED output pin polarity. */
gkroussos 0:637031152314 4448
gkroussos 0:637031152314 4449 /* Bit 0 : LED output pin polarity. */
gkroussos 0:637031152314 4450 #define QDEC_LEDPOL_LEDPOL_Pos (0UL) /*!< Position of LEDPOL field. */
gkroussos 0:637031152314 4451 #define QDEC_LEDPOL_LEDPOL_Msk (0x1UL << QDEC_LEDPOL_LEDPOL_Pos) /*!< Bit mask of LEDPOL field. */
gkroussos 0:637031152314 4452 #define QDEC_LEDPOL_LEDPOL_ActiveLow (0UL) /*!< LED output is active low. */
gkroussos 0:637031152314 4453 #define QDEC_LEDPOL_LEDPOL_ActiveHigh (1UL) /*!< LED output is active high. */
gkroussos 0:637031152314 4454
gkroussos 0:637031152314 4455 /* Register: QDEC_SAMPLEPER */
gkroussos 0:637031152314 4456 /* Description: Sample period. */
gkroussos 0:637031152314 4457
gkroussos 0:637031152314 4458 /* Bits 2..0 : Sample period. */
gkroussos 0:637031152314 4459 #define QDEC_SAMPLEPER_SAMPLEPER_Pos (0UL) /*!< Position of SAMPLEPER field. */
gkroussos 0:637031152314 4460 #define QDEC_SAMPLEPER_SAMPLEPER_Msk (0x7UL << QDEC_SAMPLEPER_SAMPLEPER_Pos) /*!< Bit mask of SAMPLEPER field. */
gkroussos 0:637031152314 4461 #define QDEC_SAMPLEPER_SAMPLEPER_128us (0x00UL) /*!< 128us sample period. */
gkroussos 0:637031152314 4462 #define QDEC_SAMPLEPER_SAMPLEPER_256us (0x01UL) /*!< 256us sample period. */
gkroussos 0:637031152314 4463 #define QDEC_SAMPLEPER_SAMPLEPER_512us (0x02UL) /*!< 512us sample period. */
gkroussos 0:637031152314 4464 #define QDEC_SAMPLEPER_SAMPLEPER_1024us (0x03UL) /*!< 1024us sample period. */
gkroussos 0:637031152314 4465 #define QDEC_SAMPLEPER_SAMPLEPER_2048us (0x04UL) /*!< 2048us sample period. */
gkroussos 0:637031152314 4466 #define QDEC_SAMPLEPER_SAMPLEPER_4096us (0x05UL) /*!< 4096us sample period. */
gkroussos 0:637031152314 4467 #define QDEC_SAMPLEPER_SAMPLEPER_8192us (0x06UL) /*!< 8192us sample period. */
gkroussos 0:637031152314 4468 #define QDEC_SAMPLEPER_SAMPLEPER_16384us (0x07UL) /*!< 16384us sample period. */
gkroussos 0:637031152314 4469
gkroussos 0:637031152314 4470 /* Register: QDEC_SAMPLE */
gkroussos 0:637031152314 4471 /* Description: Motion sample value. */
gkroussos 0:637031152314 4472
gkroussos 0:637031152314 4473 /* Bits 31..0 : Last sample taken in compliment to 2. */
gkroussos 0:637031152314 4474 #define QDEC_SAMPLE_SAMPLE_Pos (0UL) /*!< Position of SAMPLE field. */
gkroussos 0:637031152314 4475 #define QDEC_SAMPLE_SAMPLE_Msk (0xFFFFFFFFUL << QDEC_SAMPLE_SAMPLE_Pos) /*!< Bit mask of SAMPLE field. */
gkroussos 0:637031152314 4476
gkroussos 0:637031152314 4477 /* Register: QDEC_REPORTPER */
gkroussos 0:637031152314 4478 /* Description: Number of samples to generate an EVENT_REPORTRDY. */
gkroussos 0:637031152314 4479
gkroussos 0:637031152314 4480 /* Bits 2..0 : Number of samples to generate an EVENT_REPORTRDY. */
gkroussos 0:637031152314 4481 #define QDEC_REPORTPER_REPORTPER_Pos (0UL) /*!< Position of REPORTPER field. */
gkroussos 0:637031152314 4482 #define QDEC_REPORTPER_REPORTPER_Msk (0x7UL << QDEC_REPORTPER_REPORTPER_Pos) /*!< Bit mask of REPORTPER field. */
gkroussos 0:637031152314 4483 #define QDEC_REPORTPER_REPORTPER_10Smpl (0x00UL) /*!< 10 samples per report. */
gkroussos 0:637031152314 4484 #define QDEC_REPORTPER_REPORTPER_40Smpl (0x01UL) /*!< 40 samples per report. */
gkroussos 0:637031152314 4485 #define QDEC_REPORTPER_REPORTPER_80Smpl (0x02UL) /*!< 80 samples per report. */
gkroussos 0:637031152314 4486 #define QDEC_REPORTPER_REPORTPER_120Smpl (0x03UL) /*!< 120 samples per report. */
gkroussos 0:637031152314 4487 #define QDEC_REPORTPER_REPORTPER_160Smpl (0x04UL) /*!< 160 samples per report. */
gkroussos 0:637031152314 4488 #define QDEC_REPORTPER_REPORTPER_200Smpl (0x05UL) /*!< 200 samples per report. */
gkroussos 0:637031152314 4489 #define QDEC_REPORTPER_REPORTPER_240Smpl (0x06UL) /*!< 240 samples per report. */
gkroussos 0:637031152314 4490 #define QDEC_REPORTPER_REPORTPER_280Smpl (0x07UL) /*!< 280 samples per report. */
gkroussos 0:637031152314 4491
gkroussos 0:637031152314 4492 /* Register: QDEC_DBFEN */
gkroussos 0:637031152314 4493 /* Description: Enable debouncer input filters. */
gkroussos 0:637031152314 4494
gkroussos 0:637031152314 4495 /* Bit 0 : Enable debounce input filters. */
gkroussos 0:637031152314 4496 #define QDEC_DBFEN_DBFEN_Pos (0UL) /*!< Position of DBFEN field. */
gkroussos 0:637031152314 4497 #define QDEC_DBFEN_DBFEN_Msk (0x1UL << QDEC_DBFEN_DBFEN_Pos) /*!< Bit mask of DBFEN field. */
gkroussos 0:637031152314 4498 #define QDEC_DBFEN_DBFEN_Disabled (0UL) /*!< Debounce input filters disabled. */
gkroussos 0:637031152314 4499 #define QDEC_DBFEN_DBFEN_Enabled (1UL) /*!< Debounce input filters enabled. */
gkroussos 0:637031152314 4500
gkroussos 0:637031152314 4501 /* Register: QDEC_LEDPRE */
gkroussos 0:637031152314 4502 /* Description: Time LED is switched ON before the sample. */
gkroussos 0:637031152314 4503
gkroussos 0:637031152314 4504 /* Bits 7..0 : Period in us the LED in switched on prior to sampling. */
gkroussos 0:637031152314 4505 #define QDEC_LEDPRE_LEDPRE_Pos (0UL) /*!< Position of LEDPRE field. */
gkroussos 0:637031152314 4506 #define QDEC_LEDPRE_LEDPRE_Msk (0xFFUL << QDEC_LEDPRE_LEDPRE_Pos) /*!< Bit mask of LEDPRE field. */
gkroussos 0:637031152314 4507
gkroussos 0:637031152314 4508 /* Register: QDEC_ACCDBL */
gkroussos 0:637031152314 4509 /* Description: Accumulated double (error) transitions register. */
gkroussos 0:637031152314 4510
gkroussos 0:637031152314 4511 /* Bits 3..0 : Accumulated double (error) transitions. */
gkroussos 0:637031152314 4512 #define QDEC_ACCDBL_ACCDBL_Pos (0UL) /*!< Position of ACCDBL field. */
gkroussos 0:637031152314 4513 #define QDEC_ACCDBL_ACCDBL_Msk (0xFUL << QDEC_ACCDBL_ACCDBL_Pos) /*!< Bit mask of ACCDBL field. */
gkroussos 0:637031152314 4514
gkroussos 0:637031152314 4515 /* Register: QDEC_ACCDBLREAD */
gkroussos 0:637031152314 4516 /* Description: Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task. */
gkroussos 0:637031152314 4517
gkroussos 0:637031152314 4518 /* Bits 3..0 : Snapshot of accumulated double (error) transitions. */
gkroussos 0:637031152314 4519 #define QDEC_ACCDBLREAD_ACCDBLREAD_Pos (0UL) /*!< Position of ACCDBLREAD field. */
gkroussos 0:637031152314 4520 #define QDEC_ACCDBLREAD_ACCDBLREAD_Msk (0xFUL << QDEC_ACCDBLREAD_ACCDBLREAD_Pos) /*!< Bit mask of ACCDBLREAD field. */
gkroussos 0:637031152314 4521
gkroussos 0:637031152314 4522 /* Register: QDEC_POWER */
gkroussos 0:637031152314 4523 /* Description: Peripheral power control. */
gkroussos 0:637031152314 4524
gkroussos 0:637031152314 4525 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 4526 #define QDEC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 4527 #define QDEC_POWER_POWER_Msk (0x1UL << QDEC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 4528 #define QDEC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 4529 #define QDEC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 4530
gkroussos 0:637031152314 4531
gkroussos 0:637031152314 4532 /* Peripheral: RADIO */
gkroussos 0:637031152314 4533 /* Description: The radio. */
gkroussos 0:637031152314 4534
gkroussos 0:637031152314 4535 /* Register: RADIO_SHORTS */
gkroussos 0:637031152314 4536 /* Description: Shortcut for the radio. */
gkroussos 0:637031152314 4537
gkroussos 0:637031152314 4538 /* Bit 8 : Shortcut between DISABLED event and RSSISTOP task. */
gkroussos 0:637031152314 4539 #define RADIO_SHORTS_DISABLED_RSSISTOP_Pos (8UL) /*!< Position of DISABLED_RSSISTOP field. */
gkroussos 0:637031152314 4540 #define RADIO_SHORTS_DISABLED_RSSISTOP_Msk (0x1UL << RADIO_SHORTS_DISABLED_RSSISTOP_Pos) /*!< Bit mask of DISABLED_RSSISTOP field. */
gkroussos 0:637031152314 4541 #define RADIO_SHORTS_DISABLED_RSSISTOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4542 #define RADIO_SHORTS_DISABLED_RSSISTOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4543
gkroussos 0:637031152314 4544 /* Bit 6 : Shortcut between ADDRESS event and BCSTART task. */
gkroussos 0:637031152314 4545 #define RADIO_SHORTS_ADDRESS_BCSTART_Pos (6UL) /*!< Position of ADDRESS_BCSTART field. */
gkroussos 0:637031152314 4546 #define RADIO_SHORTS_ADDRESS_BCSTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_BCSTART_Pos) /*!< Bit mask of ADDRESS_BCSTART field. */
gkroussos 0:637031152314 4547 #define RADIO_SHORTS_ADDRESS_BCSTART_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4548 #define RADIO_SHORTS_ADDRESS_BCSTART_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4549
gkroussos 0:637031152314 4550 /* Bit 5 : Shortcut between END event and START task. */
gkroussos 0:637031152314 4551 #define RADIO_SHORTS_END_START_Pos (5UL) /*!< Position of END_START field. */
gkroussos 0:637031152314 4552 #define RADIO_SHORTS_END_START_Msk (0x1UL << RADIO_SHORTS_END_START_Pos) /*!< Bit mask of END_START field. */
gkroussos 0:637031152314 4553 #define RADIO_SHORTS_END_START_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4554 #define RADIO_SHORTS_END_START_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4555
gkroussos 0:637031152314 4556 /* Bit 4 : Shortcut between ADDRESS event and RSSISTART task. */
gkroussos 0:637031152314 4557 #define RADIO_SHORTS_ADDRESS_RSSISTART_Pos (4UL) /*!< Position of ADDRESS_RSSISTART field. */
gkroussos 0:637031152314 4558 #define RADIO_SHORTS_ADDRESS_RSSISTART_Msk (0x1UL << RADIO_SHORTS_ADDRESS_RSSISTART_Pos) /*!< Bit mask of ADDRESS_RSSISTART field. */
gkroussos 0:637031152314 4559 #define RADIO_SHORTS_ADDRESS_RSSISTART_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4560 #define RADIO_SHORTS_ADDRESS_RSSISTART_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4561
gkroussos 0:637031152314 4562 /* Bit 3 : Shortcut between DISABLED event and RXEN task. */
gkroussos 0:637031152314 4563 #define RADIO_SHORTS_DISABLED_RXEN_Pos (3UL) /*!< Position of DISABLED_RXEN field. */
gkroussos 0:637031152314 4564 #define RADIO_SHORTS_DISABLED_RXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_RXEN_Pos) /*!< Bit mask of DISABLED_RXEN field. */
gkroussos 0:637031152314 4565 #define RADIO_SHORTS_DISABLED_RXEN_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4566 #define RADIO_SHORTS_DISABLED_RXEN_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4567
gkroussos 0:637031152314 4568 /* Bit 2 : Shortcut between DISABLED event and TXEN task. */
gkroussos 0:637031152314 4569 #define RADIO_SHORTS_DISABLED_TXEN_Pos (2UL) /*!< Position of DISABLED_TXEN field. */
gkroussos 0:637031152314 4570 #define RADIO_SHORTS_DISABLED_TXEN_Msk (0x1UL << RADIO_SHORTS_DISABLED_TXEN_Pos) /*!< Bit mask of DISABLED_TXEN field. */
gkroussos 0:637031152314 4571 #define RADIO_SHORTS_DISABLED_TXEN_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4572 #define RADIO_SHORTS_DISABLED_TXEN_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4573
gkroussos 0:637031152314 4574 /* Bit 1 : Shortcut between END event and DISABLE task. */
gkroussos 0:637031152314 4575 #define RADIO_SHORTS_END_DISABLE_Pos (1UL) /*!< Position of END_DISABLE field. */
gkroussos 0:637031152314 4576 #define RADIO_SHORTS_END_DISABLE_Msk (0x1UL << RADIO_SHORTS_END_DISABLE_Pos) /*!< Bit mask of END_DISABLE field. */
gkroussos 0:637031152314 4577 #define RADIO_SHORTS_END_DISABLE_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4578 #define RADIO_SHORTS_END_DISABLE_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4579
gkroussos 0:637031152314 4580 /* Bit 0 : Shortcut between READY event and START task. */
gkroussos 0:637031152314 4581 #define RADIO_SHORTS_READY_START_Pos (0UL) /*!< Position of READY_START field. */
gkroussos 0:637031152314 4582 #define RADIO_SHORTS_READY_START_Msk (0x1UL << RADIO_SHORTS_READY_START_Pos) /*!< Bit mask of READY_START field. */
gkroussos 0:637031152314 4583 #define RADIO_SHORTS_READY_START_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 4584 #define RADIO_SHORTS_READY_START_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 4585
gkroussos 0:637031152314 4586 /* Register: RADIO_INTENSET */
gkroussos 0:637031152314 4587 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 4588
gkroussos 0:637031152314 4589 /* Bit 10 : Enable interrupt on BCMATCH event. */
gkroussos 0:637031152314 4590 #define RADIO_INTENSET_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
gkroussos 0:637031152314 4591 #define RADIO_INTENSET_BCMATCH_Msk (0x1UL << RADIO_INTENSET_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
gkroussos 0:637031152314 4592 #define RADIO_INTENSET_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4593 #define RADIO_INTENSET_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4594 #define RADIO_INTENSET_BCMATCH_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4595
gkroussos 0:637031152314 4596 /* Bit 7 : Enable interrupt on RSSIEND event. */
gkroussos 0:637031152314 4597 #define RADIO_INTENSET_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
gkroussos 0:637031152314 4598 #define RADIO_INTENSET_RSSIEND_Msk (0x1UL << RADIO_INTENSET_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
gkroussos 0:637031152314 4599 #define RADIO_INTENSET_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4600 #define RADIO_INTENSET_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4601 #define RADIO_INTENSET_RSSIEND_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4602
gkroussos 0:637031152314 4603 /* Bit 6 : Enable interrupt on DEVMISS event. */
gkroussos 0:637031152314 4604 #define RADIO_INTENSET_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
gkroussos 0:637031152314 4605 #define RADIO_INTENSET_DEVMISS_Msk (0x1UL << RADIO_INTENSET_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
gkroussos 0:637031152314 4606 #define RADIO_INTENSET_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4607 #define RADIO_INTENSET_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4608 #define RADIO_INTENSET_DEVMISS_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4609
gkroussos 0:637031152314 4610 /* Bit 5 : Enable interrupt on DEVMATCH event. */
gkroussos 0:637031152314 4611 #define RADIO_INTENSET_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
gkroussos 0:637031152314 4612 #define RADIO_INTENSET_DEVMATCH_Msk (0x1UL << RADIO_INTENSET_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
gkroussos 0:637031152314 4613 #define RADIO_INTENSET_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4614 #define RADIO_INTENSET_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4615 #define RADIO_INTENSET_DEVMATCH_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4616
gkroussos 0:637031152314 4617 /* Bit 4 : Enable interrupt on DISABLED event. */
gkroussos 0:637031152314 4618 #define RADIO_INTENSET_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
gkroussos 0:637031152314 4619 #define RADIO_INTENSET_DISABLED_Msk (0x1UL << RADIO_INTENSET_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
gkroussos 0:637031152314 4620 #define RADIO_INTENSET_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4621 #define RADIO_INTENSET_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4622 #define RADIO_INTENSET_DISABLED_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4623
gkroussos 0:637031152314 4624 /* Bit 3 : Enable interrupt on END event. */
gkroussos 0:637031152314 4625 #define RADIO_INTENSET_END_Pos (3UL) /*!< Position of END field. */
gkroussos 0:637031152314 4626 #define RADIO_INTENSET_END_Msk (0x1UL << RADIO_INTENSET_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 4627 #define RADIO_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4628 #define RADIO_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4629 #define RADIO_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4630
gkroussos 0:637031152314 4631 /* Bit 2 : Enable interrupt on PAYLOAD event. */
gkroussos 0:637031152314 4632 #define RADIO_INTENSET_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
gkroussos 0:637031152314 4633 #define RADIO_INTENSET_PAYLOAD_Msk (0x1UL << RADIO_INTENSET_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
gkroussos 0:637031152314 4634 #define RADIO_INTENSET_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4635 #define RADIO_INTENSET_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4636 #define RADIO_INTENSET_PAYLOAD_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4637
gkroussos 0:637031152314 4638 /* Bit 1 : Enable interrupt on ADDRESS event. */
gkroussos 0:637031152314 4639 #define RADIO_INTENSET_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
gkroussos 0:637031152314 4640 #define RADIO_INTENSET_ADDRESS_Msk (0x1UL << RADIO_INTENSET_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
gkroussos 0:637031152314 4641 #define RADIO_INTENSET_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4642 #define RADIO_INTENSET_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4643 #define RADIO_INTENSET_ADDRESS_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4644
gkroussos 0:637031152314 4645 /* Bit 0 : Enable interrupt on READY event. */
gkroussos 0:637031152314 4646 #define RADIO_INTENSET_READY_Pos (0UL) /*!< Position of READY field. */
gkroussos 0:637031152314 4647 #define RADIO_INTENSET_READY_Msk (0x1UL << RADIO_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 4648 #define RADIO_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4649 #define RADIO_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4650 #define RADIO_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 4651
gkroussos 0:637031152314 4652 /* Register: RADIO_INTENCLR */
gkroussos 0:637031152314 4653 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 4654
gkroussos 0:637031152314 4655 /* Bit 10 : Disable interrupt on BCMATCH event. */
gkroussos 0:637031152314 4656 #define RADIO_INTENCLR_BCMATCH_Pos (10UL) /*!< Position of BCMATCH field. */
gkroussos 0:637031152314 4657 #define RADIO_INTENCLR_BCMATCH_Msk (0x1UL << RADIO_INTENCLR_BCMATCH_Pos) /*!< Bit mask of BCMATCH field. */
gkroussos 0:637031152314 4658 #define RADIO_INTENCLR_BCMATCH_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4659 #define RADIO_INTENCLR_BCMATCH_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4660 #define RADIO_INTENCLR_BCMATCH_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4661
gkroussos 0:637031152314 4662 /* Bit 7 : Disable interrupt on RSSIEND event. */
gkroussos 0:637031152314 4663 #define RADIO_INTENCLR_RSSIEND_Pos (7UL) /*!< Position of RSSIEND field. */
gkroussos 0:637031152314 4664 #define RADIO_INTENCLR_RSSIEND_Msk (0x1UL << RADIO_INTENCLR_RSSIEND_Pos) /*!< Bit mask of RSSIEND field. */
gkroussos 0:637031152314 4665 #define RADIO_INTENCLR_RSSIEND_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4666 #define RADIO_INTENCLR_RSSIEND_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4667 #define RADIO_INTENCLR_RSSIEND_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4668
gkroussos 0:637031152314 4669 /* Bit 6 : Disable interrupt on DEVMISS event. */
gkroussos 0:637031152314 4670 #define RADIO_INTENCLR_DEVMISS_Pos (6UL) /*!< Position of DEVMISS field. */
gkroussos 0:637031152314 4671 #define RADIO_INTENCLR_DEVMISS_Msk (0x1UL << RADIO_INTENCLR_DEVMISS_Pos) /*!< Bit mask of DEVMISS field. */
gkroussos 0:637031152314 4672 #define RADIO_INTENCLR_DEVMISS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4673 #define RADIO_INTENCLR_DEVMISS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4674 #define RADIO_INTENCLR_DEVMISS_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4675
gkroussos 0:637031152314 4676 /* Bit 5 : Disable interrupt on DEVMATCH event. */
gkroussos 0:637031152314 4677 #define RADIO_INTENCLR_DEVMATCH_Pos (5UL) /*!< Position of DEVMATCH field. */
gkroussos 0:637031152314 4678 #define RADIO_INTENCLR_DEVMATCH_Msk (0x1UL << RADIO_INTENCLR_DEVMATCH_Pos) /*!< Bit mask of DEVMATCH field. */
gkroussos 0:637031152314 4679 #define RADIO_INTENCLR_DEVMATCH_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4680 #define RADIO_INTENCLR_DEVMATCH_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4681 #define RADIO_INTENCLR_DEVMATCH_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4682
gkroussos 0:637031152314 4683 /* Bit 4 : Disable interrupt on DISABLED event. */
gkroussos 0:637031152314 4684 #define RADIO_INTENCLR_DISABLED_Pos (4UL) /*!< Position of DISABLED field. */
gkroussos 0:637031152314 4685 #define RADIO_INTENCLR_DISABLED_Msk (0x1UL << RADIO_INTENCLR_DISABLED_Pos) /*!< Bit mask of DISABLED field. */
gkroussos 0:637031152314 4686 #define RADIO_INTENCLR_DISABLED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4687 #define RADIO_INTENCLR_DISABLED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4688 #define RADIO_INTENCLR_DISABLED_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4689
gkroussos 0:637031152314 4690 /* Bit 3 : Disable interrupt on END event. */
gkroussos 0:637031152314 4691 #define RADIO_INTENCLR_END_Pos (3UL) /*!< Position of END field. */
gkroussos 0:637031152314 4692 #define RADIO_INTENCLR_END_Msk (0x1UL << RADIO_INTENCLR_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 4693 #define RADIO_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4694 #define RADIO_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4695 #define RADIO_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4696
gkroussos 0:637031152314 4697 /* Bit 2 : Disable interrupt on PAYLOAD event. */
gkroussos 0:637031152314 4698 #define RADIO_INTENCLR_PAYLOAD_Pos (2UL) /*!< Position of PAYLOAD field. */
gkroussos 0:637031152314 4699 #define RADIO_INTENCLR_PAYLOAD_Msk (0x1UL << RADIO_INTENCLR_PAYLOAD_Pos) /*!< Bit mask of PAYLOAD field. */
gkroussos 0:637031152314 4700 #define RADIO_INTENCLR_PAYLOAD_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4701 #define RADIO_INTENCLR_PAYLOAD_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4702 #define RADIO_INTENCLR_PAYLOAD_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4703
gkroussos 0:637031152314 4704 /* Bit 1 : Disable interrupt on ADDRESS event. */
gkroussos 0:637031152314 4705 #define RADIO_INTENCLR_ADDRESS_Pos (1UL) /*!< Position of ADDRESS field. */
gkroussos 0:637031152314 4706 #define RADIO_INTENCLR_ADDRESS_Msk (0x1UL << RADIO_INTENCLR_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
gkroussos 0:637031152314 4707 #define RADIO_INTENCLR_ADDRESS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4708 #define RADIO_INTENCLR_ADDRESS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4709 #define RADIO_INTENCLR_ADDRESS_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4710
gkroussos 0:637031152314 4711 /* Bit 0 : Disable interrupt on READY event. */
gkroussos 0:637031152314 4712 #define RADIO_INTENCLR_READY_Pos (0UL) /*!< Position of READY field. */
gkroussos 0:637031152314 4713 #define RADIO_INTENCLR_READY_Msk (0x1UL << RADIO_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 4714 #define RADIO_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 4715 #define RADIO_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 4716 #define RADIO_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 4717
gkroussos 0:637031152314 4718 /* Register: RADIO_CRCSTATUS */
gkroussos 0:637031152314 4719 /* Description: CRC status of received packet. */
gkroussos 0:637031152314 4720
gkroussos 0:637031152314 4721 /* Bit 0 : CRC status of received packet. */
gkroussos 0:637031152314 4722 #define RADIO_CRCSTATUS_CRCSTATUS_Pos (0UL) /*!< Position of CRCSTATUS field. */
gkroussos 0:637031152314 4723 #define RADIO_CRCSTATUS_CRCSTATUS_Msk (0x1UL << RADIO_CRCSTATUS_CRCSTATUS_Pos) /*!< Bit mask of CRCSTATUS field. */
gkroussos 0:637031152314 4724 #define RADIO_CRCSTATUS_CRCSTATUS_CRCError (0UL) /*!< Packet received with CRC error. */
gkroussos 0:637031152314 4725 #define RADIO_CRCSTATUS_CRCSTATUS_CRCOk (1UL) /*!< Packet received with CRC ok. */
gkroussos 0:637031152314 4726
gkroussos 0:637031152314 4727 /* Register: RADIO_RXMATCH */
gkroussos 0:637031152314 4728 /* Description: Received address. */
gkroussos 0:637031152314 4729
gkroussos 0:637031152314 4730 /* Bits 2..0 : Logical address in which previous packet was received. */
gkroussos 0:637031152314 4731 #define RADIO_RXMATCH_RXMATCH_Pos (0UL) /*!< Position of RXMATCH field. */
gkroussos 0:637031152314 4732 #define RADIO_RXMATCH_RXMATCH_Msk (0x7UL << RADIO_RXMATCH_RXMATCH_Pos) /*!< Bit mask of RXMATCH field. */
gkroussos 0:637031152314 4733
gkroussos 0:637031152314 4734 /* Register: RADIO_RXCRC */
gkroussos 0:637031152314 4735 /* Description: Received CRC. */
gkroussos 0:637031152314 4736
gkroussos 0:637031152314 4737 /* Bits 23..0 : CRC field of previously received packet. */
gkroussos 0:637031152314 4738 #define RADIO_RXCRC_RXCRC_Pos (0UL) /*!< Position of RXCRC field. */
gkroussos 0:637031152314 4739 #define RADIO_RXCRC_RXCRC_Msk (0xFFFFFFUL << RADIO_RXCRC_RXCRC_Pos) /*!< Bit mask of RXCRC field. */
gkroussos 0:637031152314 4740
gkroussos 0:637031152314 4741 /* Register: RADIO_DAI */
gkroussos 0:637031152314 4742 /* Description: Device address match index. */
gkroussos 0:637031152314 4743
gkroussos 0:637031152314 4744 /* Bits 2..0 : Index (n) of device address (see DAB[n] and DAP[n]) that got an address match. */
gkroussos 0:637031152314 4745 #define RADIO_DAI_DAI_Pos (0UL) /*!< Position of DAI field. */
gkroussos 0:637031152314 4746 #define RADIO_DAI_DAI_Msk (0x7UL << RADIO_DAI_DAI_Pos) /*!< Bit mask of DAI field. */
gkroussos 0:637031152314 4747
gkroussos 0:637031152314 4748 /* Register: RADIO_FREQUENCY */
gkroussos 0:637031152314 4749 /* Description: Frequency. */
gkroussos 0:637031152314 4750
gkroussos 0:637031152314 4751 /* Bits 6..0 : Radio channel frequency offset in MHz: RF Frequency = 2400 + FREQUENCY (MHz). Decision point: TXEN or RXEN task. */
gkroussos 0:637031152314 4752 #define RADIO_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
gkroussos 0:637031152314 4753 #define RADIO_FREQUENCY_FREQUENCY_Msk (0x7FUL << RADIO_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
gkroussos 0:637031152314 4754
gkroussos 0:637031152314 4755 /* Register: RADIO_TXPOWER */
gkroussos 0:637031152314 4756 /* Description: Output power. */
gkroussos 0:637031152314 4757
gkroussos 0:637031152314 4758 /* Bits 7..0 : Radio output power. Decision point: TXEN task. */
gkroussos 0:637031152314 4759 #define RADIO_TXPOWER_TXPOWER_Pos (0UL) /*!< Position of TXPOWER field. */
gkroussos 0:637031152314 4760 #define RADIO_TXPOWER_TXPOWER_Msk (0xFFUL << RADIO_TXPOWER_TXPOWER_Pos) /*!< Bit mask of TXPOWER field. */
gkroussos 0:637031152314 4761 #define RADIO_TXPOWER_TXPOWER_Pos4dBm (0x04UL) /*!< +4dBm. */
gkroussos 0:637031152314 4762 #define RADIO_TXPOWER_TXPOWER_0dBm (0x00UL) /*!< 0dBm. */
gkroussos 0:637031152314 4763 #define RADIO_TXPOWER_TXPOWER_Neg4dBm (0xFCUL) /*!< -4dBm. */
gkroussos 0:637031152314 4764 #define RADIO_TXPOWER_TXPOWER_Neg8dBm (0xF8UL) /*!< -8dBm. */
gkroussos 0:637031152314 4765 #define RADIO_TXPOWER_TXPOWER_Neg12dBm (0xF4UL) /*!< -12dBm. */
gkroussos 0:637031152314 4766 #define RADIO_TXPOWER_TXPOWER_Neg16dBm (0xF0UL) /*!< -16dBm. */
gkroussos 0:637031152314 4767 #define RADIO_TXPOWER_TXPOWER_Neg20dBm (0xECUL) /*!< -20dBm. */
gkroussos 0:637031152314 4768 #define RADIO_TXPOWER_TXPOWER_Neg30dBm (0xD8UL) /*!< -30dBm. */
gkroussos 0:637031152314 4769
gkroussos 0:637031152314 4770 /* Register: RADIO_MODE */
gkroussos 0:637031152314 4771 /* Description: Data rate and modulation. */
gkroussos 0:637031152314 4772
gkroussos 0:637031152314 4773 /* Bits 1..0 : Radio data rate and modulation setting. Decision point: TXEN or RXEN task. */
gkroussos 0:637031152314 4774 #define RADIO_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
gkroussos 0:637031152314 4775 #define RADIO_MODE_MODE_Msk (0x3UL << RADIO_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
gkroussos 0:637031152314 4776 #define RADIO_MODE_MODE_Nrf_1Mbit (0x00UL) /*!< 1Mbit/s Nordic propietary radio mode. */
gkroussos 0:637031152314 4777 #define RADIO_MODE_MODE_Nrf_2Mbit (0x01UL) /*!< 2Mbit/s Nordic propietary radio mode. */
gkroussos 0:637031152314 4778 #define RADIO_MODE_MODE_Nrf_250Kbit (0x02UL) /*!< 250kbit/s Nordic propietary radio mode. */
gkroussos 0:637031152314 4779 #define RADIO_MODE_MODE_Ble_1Mbit (0x03UL) /*!< 1Mbit/s Bluetooth Low Energy */
gkroussos 0:637031152314 4780
gkroussos 0:637031152314 4781 /* Register: RADIO_PCNF0 */
gkroussos 0:637031152314 4782 /* Description: Packet configuration 0. */
gkroussos 0:637031152314 4783
gkroussos 0:637031152314 4784 /* Bits 19..16 : Length of S1 field in number of bits. Decision point: START task. */
gkroussos 0:637031152314 4785 #define RADIO_PCNF0_S1LEN_Pos (16UL) /*!< Position of S1LEN field. */
gkroussos 0:637031152314 4786 #define RADIO_PCNF0_S1LEN_Msk (0xFUL << RADIO_PCNF0_S1LEN_Pos) /*!< Bit mask of S1LEN field. */
gkroussos 0:637031152314 4787
gkroussos 0:637031152314 4788 /* Bit 8 : Length of S0 field in number of bytes. Decision point: START task. */
gkroussos 0:637031152314 4789 #define RADIO_PCNF0_S0LEN_Pos (8UL) /*!< Position of S0LEN field. */
gkroussos 0:637031152314 4790 #define RADIO_PCNF0_S0LEN_Msk (0x1UL << RADIO_PCNF0_S0LEN_Pos) /*!< Bit mask of S0LEN field. */
gkroussos 0:637031152314 4791
gkroussos 0:637031152314 4792 /* Bits 3..0 : Length of length field in number of bits. Decision point: START task. */
gkroussos 0:637031152314 4793 #define RADIO_PCNF0_LFLEN_Pos (0UL) /*!< Position of LFLEN field. */
gkroussos 0:637031152314 4794 #define RADIO_PCNF0_LFLEN_Msk (0xFUL << RADIO_PCNF0_LFLEN_Pos) /*!< Bit mask of LFLEN field. */
gkroussos 0:637031152314 4795
gkroussos 0:637031152314 4796 /* Register: RADIO_PCNF1 */
gkroussos 0:637031152314 4797 /* Description: Packet configuration 1. */
gkroussos 0:637031152314 4798
gkroussos 0:637031152314 4799 /* Bit 25 : Packet whitening enable. */
gkroussos 0:637031152314 4800 #define RADIO_PCNF1_WHITEEN_Pos (25UL) /*!< Position of WHITEEN field. */
gkroussos 0:637031152314 4801 #define RADIO_PCNF1_WHITEEN_Msk (0x1UL << RADIO_PCNF1_WHITEEN_Pos) /*!< Bit mask of WHITEEN field. */
gkroussos 0:637031152314 4802 #define RADIO_PCNF1_WHITEEN_Disabled (0UL) /*!< Whitening disabled. */
gkroussos 0:637031152314 4803 #define RADIO_PCNF1_WHITEEN_Enabled (1UL) /*!< Whitening enabled. */
gkroussos 0:637031152314 4804
gkroussos 0:637031152314 4805 /* Bit 24 : On air endianness of packet length field. Decision point: START task. */
gkroussos 0:637031152314 4806 #define RADIO_PCNF1_ENDIAN_Pos (24UL) /*!< Position of ENDIAN field. */
gkroussos 0:637031152314 4807 #define RADIO_PCNF1_ENDIAN_Msk (0x1UL << RADIO_PCNF1_ENDIAN_Pos) /*!< Bit mask of ENDIAN field. */
gkroussos 0:637031152314 4808 #define RADIO_PCNF1_ENDIAN_Little (0UL) /*!< Least significant bit on air first */
gkroussos 0:637031152314 4809 #define RADIO_PCNF1_ENDIAN_Big (1UL) /*!< Most significant bit on air first */
gkroussos 0:637031152314 4810
gkroussos 0:637031152314 4811 /* Bits 18..16 : Base address length in number of bytes. Decision point: START task. */
gkroussos 0:637031152314 4812 #define RADIO_PCNF1_BALEN_Pos (16UL) /*!< Position of BALEN field. */
gkroussos 0:637031152314 4813 #define RADIO_PCNF1_BALEN_Msk (0x7UL << RADIO_PCNF1_BALEN_Pos) /*!< Bit mask of BALEN field. */
gkroussos 0:637031152314 4814
gkroussos 0:637031152314 4815 /* Bits 15..8 : Static length in number of bytes. Decision point: START task. */
gkroussos 0:637031152314 4816 #define RADIO_PCNF1_STATLEN_Pos (8UL) /*!< Position of STATLEN field. */
gkroussos 0:637031152314 4817 #define RADIO_PCNF1_STATLEN_Msk (0xFFUL << RADIO_PCNF1_STATLEN_Pos) /*!< Bit mask of STATLEN field. */
gkroussos 0:637031152314 4818
gkroussos 0:637031152314 4819 /* Bits 7..0 : Maximum length of packet payload in number of bytes. */
gkroussos 0:637031152314 4820 #define RADIO_PCNF1_MAXLEN_Pos (0UL) /*!< Position of MAXLEN field. */
gkroussos 0:637031152314 4821 #define RADIO_PCNF1_MAXLEN_Msk (0xFFUL << RADIO_PCNF1_MAXLEN_Pos) /*!< Bit mask of MAXLEN field. */
gkroussos 0:637031152314 4822
gkroussos 0:637031152314 4823 /* Register: RADIO_PREFIX0 */
gkroussos 0:637031152314 4824 /* Description: Prefixes bytes for logical addresses 0 to 3. */
gkroussos 0:637031152314 4825
gkroussos 0:637031152314 4826 /* Bits 31..24 : Address prefix 3. Decision point: START task. */
gkroussos 0:637031152314 4827 #define RADIO_PREFIX0_AP3_Pos (24UL) /*!< Position of AP3 field. */
gkroussos 0:637031152314 4828 #define RADIO_PREFIX0_AP3_Msk (0xFFUL << RADIO_PREFIX0_AP3_Pos) /*!< Bit mask of AP3 field. */
gkroussos 0:637031152314 4829
gkroussos 0:637031152314 4830 /* Bits 23..16 : Address prefix 2. Decision point: START task. */
gkroussos 0:637031152314 4831 #define RADIO_PREFIX0_AP2_Pos (16UL) /*!< Position of AP2 field. */
gkroussos 0:637031152314 4832 #define RADIO_PREFIX0_AP2_Msk (0xFFUL << RADIO_PREFIX0_AP2_Pos) /*!< Bit mask of AP2 field. */
gkroussos 0:637031152314 4833
gkroussos 0:637031152314 4834 /* Bits 15..8 : Address prefix 1. Decision point: START task. */
gkroussos 0:637031152314 4835 #define RADIO_PREFIX0_AP1_Pos (8UL) /*!< Position of AP1 field. */
gkroussos 0:637031152314 4836 #define RADIO_PREFIX0_AP1_Msk (0xFFUL << RADIO_PREFIX0_AP1_Pos) /*!< Bit mask of AP1 field. */
gkroussos 0:637031152314 4837
gkroussos 0:637031152314 4838 /* Bits 7..0 : Address prefix 0. Decision point: START task. */
gkroussos 0:637031152314 4839 #define RADIO_PREFIX0_AP0_Pos (0UL) /*!< Position of AP0 field. */
gkroussos 0:637031152314 4840 #define RADIO_PREFIX0_AP0_Msk (0xFFUL << RADIO_PREFIX0_AP0_Pos) /*!< Bit mask of AP0 field. */
gkroussos 0:637031152314 4841
gkroussos 0:637031152314 4842 /* Register: RADIO_PREFIX1 */
gkroussos 0:637031152314 4843 /* Description: Prefixes bytes for logical addresses 4 to 7. */
gkroussos 0:637031152314 4844
gkroussos 0:637031152314 4845 /* Bits 31..24 : Address prefix 7. Decision point: START task. */
gkroussos 0:637031152314 4846 #define RADIO_PREFIX1_AP7_Pos (24UL) /*!< Position of AP7 field. */
gkroussos 0:637031152314 4847 #define RADIO_PREFIX1_AP7_Msk (0xFFUL << RADIO_PREFIX1_AP7_Pos) /*!< Bit mask of AP7 field. */
gkroussos 0:637031152314 4848
gkroussos 0:637031152314 4849 /* Bits 23..16 : Address prefix 6. Decision point: START task. */
gkroussos 0:637031152314 4850 #define RADIO_PREFIX1_AP6_Pos (16UL) /*!< Position of AP6 field. */
gkroussos 0:637031152314 4851 #define RADIO_PREFIX1_AP6_Msk (0xFFUL << RADIO_PREFIX1_AP6_Pos) /*!< Bit mask of AP6 field. */
gkroussos 0:637031152314 4852
gkroussos 0:637031152314 4853 /* Bits 15..8 : Address prefix 5. Decision point: START task. */
gkroussos 0:637031152314 4854 #define RADIO_PREFIX1_AP5_Pos (8UL) /*!< Position of AP5 field. */
gkroussos 0:637031152314 4855 #define RADIO_PREFIX1_AP5_Msk (0xFFUL << RADIO_PREFIX1_AP5_Pos) /*!< Bit mask of AP5 field. */
gkroussos 0:637031152314 4856
gkroussos 0:637031152314 4857 /* Bits 7..0 : Address prefix 4. Decision point: START task. */
gkroussos 0:637031152314 4858 #define RADIO_PREFIX1_AP4_Pos (0UL) /*!< Position of AP4 field. */
gkroussos 0:637031152314 4859 #define RADIO_PREFIX1_AP4_Msk (0xFFUL << RADIO_PREFIX1_AP4_Pos) /*!< Bit mask of AP4 field. */
gkroussos 0:637031152314 4860
gkroussos 0:637031152314 4861 /* Register: RADIO_TXADDRESS */
gkroussos 0:637031152314 4862 /* Description: Transmit address select. */
gkroussos 0:637031152314 4863
gkroussos 0:637031152314 4864 /* Bits 2..0 : Logical address to be used when transmitting a packet. Decision point: START task. */
gkroussos 0:637031152314 4865 #define RADIO_TXADDRESS_TXADDRESS_Pos (0UL) /*!< Position of TXADDRESS field. */
gkroussos 0:637031152314 4866 #define RADIO_TXADDRESS_TXADDRESS_Msk (0x7UL << RADIO_TXADDRESS_TXADDRESS_Pos) /*!< Bit mask of TXADDRESS field. */
gkroussos 0:637031152314 4867
gkroussos 0:637031152314 4868 /* Register: RADIO_RXADDRESSES */
gkroussos 0:637031152314 4869 /* Description: Receive address select. */
gkroussos 0:637031152314 4870
gkroussos 0:637031152314 4871 /* Bit 7 : Enable reception on logical address 7. Decision point: START task. */
gkroussos 0:637031152314 4872 #define RADIO_RXADDRESSES_ADDR7_Pos (7UL) /*!< Position of ADDR7 field. */
gkroussos 0:637031152314 4873 #define RADIO_RXADDRESSES_ADDR7_Msk (0x1UL << RADIO_RXADDRESSES_ADDR7_Pos) /*!< Bit mask of ADDR7 field. */
gkroussos 0:637031152314 4874 #define RADIO_RXADDRESSES_ADDR7_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4875 #define RADIO_RXADDRESSES_ADDR7_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4876
gkroussos 0:637031152314 4877 /* Bit 6 : Enable reception on logical address 6. Decision point: START task. */
gkroussos 0:637031152314 4878 #define RADIO_RXADDRESSES_ADDR6_Pos (6UL) /*!< Position of ADDR6 field. */
gkroussos 0:637031152314 4879 #define RADIO_RXADDRESSES_ADDR6_Msk (0x1UL << RADIO_RXADDRESSES_ADDR6_Pos) /*!< Bit mask of ADDR6 field. */
gkroussos 0:637031152314 4880 #define RADIO_RXADDRESSES_ADDR6_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4881 #define RADIO_RXADDRESSES_ADDR6_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4882
gkroussos 0:637031152314 4883 /* Bit 5 : Enable reception on logical address 5. Decision point: START task. */
gkroussos 0:637031152314 4884 #define RADIO_RXADDRESSES_ADDR5_Pos (5UL) /*!< Position of ADDR5 field. */
gkroussos 0:637031152314 4885 #define RADIO_RXADDRESSES_ADDR5_Msk (0x1UL << RADIO_RXADDRESSES_ADDR5_Pos) /*!< Bit mask of ADDR5 field. */
gkroussos 0:637031152314 4886 #define RADIO_RXADDRESSES_ADDR5_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4887 #define RADIO_RXADDRESSES_ADDR5_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4888
gkroussos 0:637031152314 4889 /* Bit 4 : Enable reception on logical address 4. Decision point: START task. */
gkroussos 0:637031152314 4890 #define RADIO_RXADDRESSES_ADDR4_Pos (4UL) /*!< Position of ADDR4 field. */
gkroussos 0:637031152314 4891 #define RADIO_RXADDRESSES_ADDR4_Msk (0x1UL << RADIO_RXADDRESSES_ADDR4_Pos) /*!< Bit mask of ADDR4 field. */
gkroussos 0:637031152314 4892 #define RADIO_RXADDRESSES_ADDR4_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4893 #define RADIO_RXADDRESSES_ADDR4_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4894
gkroussos 0:637031152314 4895 /* Bit 3 : Enable reception on logical address 3. Decision point: START task. */
gkroussos 0:637031152314 4896 #define RADIO_RXADDRESSES_ADDR3_Pos (3UL) /*!< Position of ADDR3 field. */
gkroussos 0:637031152314 4897 #define RADIO_RXADDRESSES_ADDR3_Msk (0x1UL << RADIO_RXADDRESSES_ADDR3_Pos) /*!< Bit mask of ADDR3 field. */
gkroussos 0:637031152314 4898 #define RADIO_RXADDRESSES_ADDR3_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4899 #define RADIO_RXADDRESSES_ADDR3_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4900
gkroussos 0:637031152314 4901 /* Bit 2 : Enable reception on logical address 2. Decision point: START task. */
gkroussos 0:637031152314 4902 #define RADIO_RXADDRESSES_ADDR2_Pos (2UL) /*!< Position of ADDR2 field. */
gkroussos 0:637031152314 4903 #define RADIO_RXADDRESSES_ADDR2_Msk (0x1UL << RADIO_RXADDRESSES_ADDR2_Pos) /*!< Bit mask of ADDR2 field. */
gkroussos 0:637031152314 4904 #define RADIO_RXADDRESSES_ADDR2_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4905 #define RADIO_RXADDRESSES_ADDR2_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4906
gkroussos 0:637031152314 4907 /* Bit 1 : Enable reception on logical address 1. Decision point: START task. */
gkroussos 0:637031152314 4908 #define RADIO_RXADDRESSES_ADDR1_Pos (1UL) /*!< Position of ADDR1 field. */
gkroussos 0:637031152314 4909 #define RADIO_RXADDRESSES_ADDR1_Msk (0x1UL << RADIO_RXADDRESSES_ADDR1_Pos) /*!< Bit mask of ADDR1 field. */
gkroussos 0:637031152314 4910 #define RADIO_RXADDRESSES_ADDR1_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4911 #define RADIO_RXADDRESSES_ADDR1_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4912
gkroussos 0:637031152314 4913 /* Bit 0 : Enable reception on logical address 0. Decision point: START task. */
gkroussos 0:637031152314 4914 #define RADIO_RXADDRESSES_ADDR0_Pos (0UL) /*!< Position of ADDR0 field. */
gkroussos 0:637031152314 4915 #define RADIO_RXADDRESSES_ADDR0_Msk (0x1UL << RADIO_RXADDRESSES_ADDR0_Pos) /*!< Bit mask of ADDR0 field. */
gkroussos 0:637031152314 4916 #define RADIO_RXADDRESSES_ADDR0_Disabled (0UL) /*!< Reception disabled. */
gkroussos 0:637031152314 4917 #define RADIO_RXADDRESSES_ADDR0_Enabled (1UL) /*!< Reception enabled. */
gkroussos 0:637031152314 4918
gkroussos 0:637031152314 4919 /* Register: RADIO_CRCCNF */
gkroussos 0:637031152314 4920 /* Description: CRC configuration. */
gkroussos 0:637031152314 4921
gkroussos 0:637031152314 4922 /* Bit 8 : Leave packet address field out of the CRC calculation. Decision point: START task. */
gkroussos 0:637031152314 4923 #define RADIO_CRCCNF_SKIP_ADDR_Pos (8UL) /*!< Position of SKIP_ADDR field. */
gkroussos 0:637031152314 4924 #define RADIO_CRCCNF_SKIP_ADDR_Msk (0x1UL << RADIO_CRCCNF_SKIP_ADDR_Pos) /*!< Bit mask of SKIP_ADDR field. */
gkroussos 0:637031152314 4925 #define RADIO_CRCCNF_SKIP_ADDR_Include (0UL) /*!< Include packet address in CRC calculation. */
gkroussos 0:637031152314 4926 #define RADIO_CRCCNF_SKIP_ADDR_Skip (1UL) /*!< Packet address is skipped in CRC calculation. The CRC calculation will start at the first byte after the address. */
gkroussos 0:637031152314 4927
gkroussos 0:637031152314 4928 /* Bits 1..0 : CRC length. Decision point: START task. */
gkroussos 0:637031152314 4929 #define RADIO_CRCCNF_LEN_Pos (0UL) /*!< Position of LEN field. */
gkroussos 0:637031152314 4930 #define RADIO_CRCCNF_LEN_Msk (0x3UL << RADIO_CRCCNF_LEN_Pos) /*!< Bit mask of LEN field. */
gkroussos 0:637031152314 4931 #define RADIO_CRCCNF_LEN_Disabled (0UL) /*!< CRC calculation disabled. */
gkroussos 0:637031152314 4932 #define RADIO_CRCCNF_LEN_One (1UL) /*!< One byte long CRC. */
gkroussos 0:637031152314 4933 #define RADIO_CRCCNF_LEN_Two (2UL) /*!< Two bytes long CRC. */
gkroussos 0:637031152314 4934 #define RADIO_CRCCNF_LEN_Three (3UL) /*!< Three bytes long CRC. */
gkroussos 0:637031152314 4935
gkroussos 0:637031152314 4936 /* Register: RADIO_CRCPOLY */
gkroussos 0:637031152314 4937 /* Description: CRC polynomial. */
gkroussos 0:637031152314 4938
gkroussos 0:637031152314 4939 /* Bits 23..1 : CRC polynomial. Decision point: START task. */
gkroussos 0:637031152314 4940 #define RADIO_CRCPOLY_CRCPOLY_Pos (1UL) /*!< Position of CRCPOLY field. */
gkroussos 0:637031152314 4941 #define RADIO_CRCPOLY_CRCPOLY_Msk (0x7FFFFFUL << RADIO_CRCPOLY_CRCPOLY_Pos) /*!< Bit mask of CRCPOLY field. */
gkroussos 0:637031152314 4942
gkroussos 0:637031152314 4943 /* Register: RADIO_CRCINIT */
gkroussos 0:637031152314 4944 /* Description: CRC initial value. */
gkroussos 0:637031152314 4945
gkroussos 0:637031152314 4946 /* Bits 23..0 : Initial value for CRC calculation. Decision point: START task. */
gkroussos 0:637031152314 4947 #define RADIO_CRCINIT_CRCINIT_Pos (0UL) /*!< Position of CRCINIT field. */
gkroussos 0:637031152314 4948 #define RADIO_CRCINIT_CRCINIT_Msk (0xFFFFFFUL << RADIO_CRCINIT_CRCINIT_Pos) /*!< Bit mask of CRCINIT field. */
gkroussos 0:637031152314 4949
gkroussos 0:637031152314 4950 /* Register: RADIO_TEST */
gkroussos 0:637031152314 4951 /* Description: Test features enable register. */
gkroussos 0:637031152314 4952
gkroussos 0:637031152314 4953 /* Bit 1 : PLL lock. Decision point: TXEN or RXEN task. */
gkroussos 0:637031152314 4954 #define RADIO_TEST_PLL_LOCK_Pos (1UL) /*!< Position of PLL_LOCK field. */
gkroussos 0:637031152314 4955 #define RADIO_TEST_PLL_LOCK_Msk (0x1UL << RADIO_TEST_PLL_LOCK_Pos) /*!< Bit mask of PLL_LOCK field. */
gkroussos 0:637031152314 4956 #define RADIO_TEST_PLL_LOCK_Disabled (0UL) /*!< PLL lock disabled. */
gkroussos 0:637031152314 4957 #define RADIO_TEST_PLL_LOCK_Enabled (1UL) /*!< PLL lock enabled. */
gkroussos 0:637031152314 4958
gkroussos 0:637031152314 4959 /* Bit 0 : Constant carrier. Decision point: TXEN task. */
gkroussos 0:637031152314 4960 #define RADIO_TEST_CONST_CARRIER_Pos (0UL) /*!< Position of CONST_CARRIER field. */
gkroussos 0:637031152314 4961 #define RADIO_TEST_CONST_CARRIER_Msk (0x1UL << RADIO_TEST_CONST_CARRIER_Pos) /*!< Bit mask of CONST_CARRIER field. */
gkroussos 0:637031152314 4962 #define RADIO_TEST_CONST_CARRIER_Disabled (0UL) /*!< Constant carrier disabled. */
gkroussos 0:637031152314 4963 #define RADIO_TEST_CONST_CARRIER_Enabled (1UL) /*!< Constant carrier enabled. */
gkroussos 0:637031152314 4964
gkroussos 0:637031152314 4965 /* Register: RADIO_TIFS */
gkroussos 0:637031152314 4966 /* Description: Inter Frame Spacing in microseconds. */
gkroussos 0:637031152314 4967
gkroussos 0:637031152314 4968 /* Bits 7..0 : Inter frame spacing in microseconds. Decision point: START rask */
gkroussos 0:637031152314 4969 #define RADIO_TIFS_TIFS_Pos (0UL) /*!< Position of TIFS field. */
gkroussos 0:637031152314 4970 #define RADIO_TIFS_TIFS_Msk (0xFFUL << RADIO_TIFS_TIFS_Pos) /*!< Bit mask of TIFS field. */
gkroussos 0:637031152314 4971
gkroussos 0:637031152314 4972 /* Register: RADIO_RSSISAMPLE */
gkroussos 0:637031152314 4973 /* Description: RSSI sample. */
gkroussos 0:637031152314 4974
gkroussos 0:637031152314 4975 /* Bits 6..0 : RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm */
gkroussos 0:637031152314 4976 #define RADIO_RSSISAMPLE_RSSISAMPLE_Pos (0UL) /*!< Position of RSSISAMPLE field. */
gkroussos 0:637031152314 4977 #define RADIO_RSSISAMPLE_RSSISAMPLE_Msk (0x7FUL << RADIO_RSSISAMPLE_RSSISAMPLE_Pos) /*!< Bit mask of RSSISAMPLE field. */
gkroussos 0:637031152314 4978
gkroussos 0:637031152314 4979 /* Register: RADIO_STATE */
gkroussos 0:637031152314 4980 /* Description: Current radio state. */
gkroussos 0:637031152314 4981
gkroussos 0:637031152314 4982 /* Bits 3..0 : Current radio state. */
gkroussos 0:637031152314 4983 #define RADIO_STATE_STATE_Pos (0UL) /*!< Position of STATE field. */
gkroussos 0:637031152314 4984 #define RADIO_STATE_STATE_Msk (0xFUL << RADIO_STATE_STATE_Pos) /*!< Bit mask of STATE field. */
gkroussos 0:637031152314 4985 #define RADIO_STATE_STATE_Disabled (0x00UL) /*!< Radio is in the Disabled state. */
gkroussos 0:637031152314 4986 #define RADIO_STATE_STATE_RxRu (0x01UL) /*!< Radio is in the Rx Ramp Up state. */
gkroussos 0:637031152314 4987 #define RADIO_STATE_STATE_RxIdle (0x02UL) /*!< Radio is in the Rx Idle state. */
gkroussos 0:637031152314 4988 #define RADIO_STATE_STATE_Rx (0x03UL) /*!< Radio is in the Rx state. */
gkroussos 0:637031152314 4989 #define RADIO_STATE_STATE_RxDisable (0x04UL) /*!< Radio is in the Rx Disable state. */
gkroussos 0:637031152314 4990 #define RADIO_STATE_STATE_TxRu (0x09UL) /*!< Radio is in the Tx Ramp Up state. */
gkroussos 0:637031152314 4991 #define RADIO_STATE_STATE_TxIdle (0x0AUL) /*!< Radio is in the Tx Idle state. */
gkroussos 0:637031152314 4992 #define RADIO_STATE_STATE_Tx (0x0BUL) /*!< Radio is in the Tx state. */
gkroussos 0:637031152314 4993 #define RADIO_STATE_STATE_TxDisable (0x0CUL) /*!< Radio is in the Tx Disable state. */
gkroussos 0:637031152314 4994
gkroussos 0:637031152314 4995 /* Register: RADIO_DATAWHITEIV */
gkroussos 0:637031152314 4996 /* Description: Data whitening initial value. */
gkroussos 0:637031152314 4997
gkroussos 0:637031152314 4998 /* Bits 5..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. */
gkroussos 0:637031152314 4999 #define RADIO_DATAWHITEIV_DATAWHITEIV_Pos (0UL) /*!< Position of DATAWHITEIV field. */
gkroussos 0:637031152314 5000 #define RADIO_DATAWHITEIV_DATAWHITEIV_Msk (0x3FUL << RADIO_DATAWHITEIV_DATAWHITEIV_Pos) /*!< Bit mask of DATAWHITEIV field. */
gkroussos 0:637031152314 5001
gkroussos 0:637031152314 5002 /* Register: RADIO_DAP */
gkroussos 0:637031152314 5003 /* Description: Device address prefix. */
gkroussos 0:637031152314 5004
gkroussos 0:637031152314 5005 /* Bits 15..0 : Device address prefix. */
gkroussos 0:637031152314 5006 #define RADIO_DAP_DAP_Pos (0UL) /*!< Position of DAP field. */
gkroussos 0:637031152314 5007 #define RADIO_DAP_DAP_Msk (0xFFFFUL << RADIO_DAP_DAP_Pos) /*!< Bit mask of DAP field. */
gkroussos 0:637031152314 5008
gkroussos 0:637031152314 5009 /* Register: RADIO_DACNF */
gkroussos 0:637031152314 5010 /* Description: Device address match configuration. */
gkroussos 0:637031152314 5011
gkroussos 0:637031152314 5012 /* Bit 15 : TxAdd for device address 7. */
gkroussos 0:637031152314 5013 #define RADIO_DACNF_TXADD7_Pos (15UL) /*!< Position of TXADD7 field. */
gkroussos 0:637031152314 5014 #define RADIO_DACNF_TXADD7_Msk (0x1UL << RADIO_DACNF_TXADD7_Pos) /*!< Bit mask of TXADD7 field. */
gkroussos 0:637031152314 5015
gkroussos 0:637031152314 5016 /* Bit 14 : TxAdd for device address 6. */
gkroussos 0:637031152314 5017 #define RADIO_DACNF_TXADD6_Pos (14UL) /*!< Position of TXADD6 field. */
gkroussos 0:637031152314 5018 #define RADIO_DACNF_TXADD6_Msk (0x1UL << RADIO_DACNF_TXADD6_Pos) /*!< Bit mask of TXADD6 field. */
gkroussos 0:637031152314 5019
gkroussos 0:637031152314 5020 /* Bit 13 : TxAdd for device address 5. */
gkroussos 0:637031152314 5021 #define RADIO_DACNF_TXADD5_Pos (13UL) /*!< Position of TXADD5 field. */
gkroussos 0:637031152314 5022 #define RADIO_DACNF_TXADD5_Msk (0x1UL << RADIO_DACNF_TXADD5_Pos) /*!< Bit mask of TXADD5 field. */
gkroussos 0:637031152314 5023
gkroussos 0:637031152314 5024 /* Bit 12 : TxAdd for device address 4. */
gkroussos 0:637031152314 5025 #define RADIO_DACNF_TXADD4_Pos (12UL) /*!< Position of TXADD4 field. */
gkroussos 0:637031152314 5026 #define RADIO_DACNF_TXADD4_Msk (0x1UL << RADIO_DACNF_TXADD4_Pos) /*!< Bit mask of TXADD4 field. */
gkroussos 0:637031152314 5027
gkroussos 0:637031152314 5028 /* Bit 11 : TxAdd for device address 3. */
gkroussos 0:637031152314 5029 #define RADIO_DACNF_TXADD3_Pos (11UL) /*!< Position of TXADD3 field. */
gkroussos 0:637031152314 5030 #define RADIO_DACNF_TXADD3_Msk (0x1UL << RADIO_DACNF_TXADD3_Pos) /*!< Bit mask of TXADD3 field. */
gkroussos 0:637031152314 5031
gkroussos 0:637031152314 5032 /* Bit 10 : TxAdd for device address 2. */
gkroussos 0:637031152314 5033 #define RADIO_DACNF_TXADD2_Pos (10UL) /*!< Position of TXADD2 field. */
gkroussos 0:637031152314 5034 #define RADIO_DACNF_TXADD2_Msk (0x1UL << RADIO_DACNF_TXADD2_Pos) /*!< Bit mask of TXADD2 field. */
gkroussos 0:637031152314 5035
gkroussos 0:637031152314 5036 /* Bit 9 : TxAdd for device address 1. */
gkroussos 0:637031152314 5037 #define RADIO_DACNF_TXADD1_Pos (9UL) /*!< Position of TXADD1 field. */
gkroussos 0:637031152314 5038 #define RADIO_DACNF_TXADD1_Msk (0x1UL << RADIO_DACNF_TXADD1_Pos) /*!< Bit mask of TXADD1 field. */
gkroussos 0:637031152314 5039
gkroussos 0:637031152314 5040 /* Bit 8 : TxAdd for device address 0. */
gkroussos 0:637031152314 5041 #define RADIO_DACNF_TXADD0_Pos (8UL) /*!< Position of TXADD0 field. */
gkroussos 0:637031152314 5042 #define RADIO_DACNF_TXADD0_Msk (0x1UL << RADIO_DACNF_TXADD0_Pos) /*!< Bit mask of TXADD0 field. */
gkroussos 0:637031152314 5043
gkroussos 0:637031152314 5044 /* Bit 7 : Enable or disable device address matching using device address 7. */
gkroussos 0:637031152314 5045 #define RADIO_DACNF_ENA7_Pos (7UL) /*!< Position of ENA7 field. */
gkroussos 0:637031152314 5046 #define RADIO_DACNF_ENA7_Msk (0x1UL << RADIO_DACNF_ENA7_Pos) /*!< Bit mask of ENA7 field. */
gkroussos 0:637031152314 5047 #define RADIO_DACNF_ENA7_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5048 #define RADIO_DACNF_ENA7_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5049
gkroussos 0:637031152314 5050 /* Bit 6 : Enable or disable device address matching using device address 6. */
gkroussos 0:637031152314 5051 #define RADIO_DACNF_ENA6_Pos (6UL) /*!< Position of ENA6 field. */
gkroussos 0:637031152314 5052 #define RADIO_DACNF_ENA6_Msk (0x1UL << RADIO_DACNF_ENA6_Pos) /*!< Bit mask of ENA6 field. */
gkroussos 0:637031152314 5053 #define RADIO_DACNF_ENA6_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5054 #define RADIO_DACNF_ENA6_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5055
gkroussos 0:637031152314 5056 /* Bit 5 : Enable or disable device address matching using device address 5. */
gkroussos 0:637031152314 5057 #define RADIO_DACNF_ENA5_Pos (5UL) /*!< Position of ENA5 field. */
gkroussos 0:637031152314 5058 #define RADIO_DACNF_ENA5_Msk (0x1UL << RADIO_DACNF_ENA5_Pos) /*!< Bit mask of ENA5 field. */
gkroussos 0:637031152314 5059 #define RADIO_DACNF_ENA5_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5060 #define RADIO_DACNF_ENA5_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5061
gkroussos 0:637031152314 5062 /* Bit 4 : Enable or disable device address matching using device address 4. */
gkroussos 0:637031152314 5063 #define RADIO_DACNF_ENA4_Pos (4UL) /*!< Position of ENA4 field. */
gkroussos 0:637031152314 5064 #define RADIO_DACNF_ENA4_Msk (0x1UL << RADIO_DACNF_ENA4_Pos) /*!< Bit mask of ENA4 field. */
gkroussos 0:637031152314 5065 #define RADIO_DACNF_ENA4_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5066 #define RADIO_DACNF_ENA4_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5067
gkroussos 0:637031152314 5068 /* Bit 3 : Enable or disable device address matching using device address 3. */
gkroussos 0:637031152314 5069 #define RADIO_DACNF_ENA3_Pos (3UL) /*!< Position of ENA3 field. */
gkroussos 0:637031152314 5070 #define RADIO_DACNF_ENA3_Msk (0x1UL << RADIO_DACNF_ENA3_Pos) /*!< Bit mask of ENA3 field. */
gkroussos 0:637031152314 5071 #define RADIO_DACNF_ENA3_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5072 #define RADIO_DACNF_ENA3_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5073
gkroussos 0:637031152314 5074 /* Bit 2 : Enable or disable device address matching using device address 2. */
gkroussos 0:637031152314 5075 #define RADIO_DACNF_ENA2_Pos (2UL) /*!< Position of ENA2 field. */
gkroussos 0:637031152314 5076 #define RADIO_DACNF_ENA2_Msk (0x1UL << RADIO_DACNF_ENA2_Pos) /*!< Bit mask of ENA2 field. */
gkroussos 0:637031152314 5077 #define RADIO_DACNF_ENA2_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5078 #define RADIO_DACNF_ENA2_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5079
gkroussos 0:637031152314 5080 /* Bit 1 : Enable or disable device address matching using device address 1. */
gkroussos 0:637031152314 5081 #define RADIO_DACNF_ENA1_Pos (1UL) /*!< Position of ENA1 field. */
gkroussos 0:637031152314 5082 #define RADIO_DACNF_ENA1_Msk (0x1UL << RADIO_DACNF_ENA1_Pos) /*!< Bit mask of ENA1 field. */
gkroussos 0:637031152314 5083 #define RADIO_DACNF_ENA1_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5084 #define RADIO_DACNF_ENA1_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5085
gkroussos 0:637031152314 5086 /* Bit 0 : Enable or disable device address matching using device address 0. */
gkroussos 0:637031152314 5087 #define RADIO_DACNF_ENA0_Pos (0UL) /*!< Position of ENA0 field. */
gkroussos 0:637031152314 5088 #define RADIO_DACNF_ENA0_Msk (0x1UL << RADIO_DACNF_ENA0_Pos) /*!< Bit mask of ENA0 field. */
gkroussos 0:637031152314 5089 #define RADIO_DACNF_ENA0_Disabled (0UL) /*!< Disabled. */
gkroussos 0:637031152314 5090 #define RADIO_DACNF_ENA0_Enabled (1UL) /*!< Enabled. */
gkroussos 0:637031152314 5091
gkroussos 0:637031152314 5092 /* Register: RADIO_OVERRIDE0 */
gkroussos 0:637031152314 5093 /* Description: Trim value override register 0. */
gkroussos 0:637031152314 5094
gkroussos 0:637031152314 5095 /* Bits 31..0 : Trim value override register 0. */
gkroussos 0:637031152314 5096 #define RADIO_OVERRIDE0_OVERRIDE0_Pos (0UL) /*!< Position of OVERRIDE0 field. */
gkroussos 0:637031152314 5097 #define RADIO_OVERRIDE0_OVERRIDE0_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE0_OVERRIDE0_Pos) /*!< Bit mask of OVERRIDE0 field. */
gkroussos 0:637031152314 5098
gkroussos 0:637031152314 5099 /* Register: RADIO_OVERRIDE1 */
gkroussos 0:637031152314 5100 /* Description: Trim value override register 1. */
gkroussos 0:637031152314 5101
gkroussos 0:637031152314 5102 /* Bits 31..0 : Trim value override register 1. */
gkroussos 0:637031152314 5103 #define RADIO_OVERRIDE1_OVERRIDE1_Pos (0UL) /*!< Position of OVERRIDE1 field. */
gkroussos 0:637031152314 5104 #define RADIO_OVERRIDE1_OVERRIDE1_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE1_OVERRIDE1_Pos) /*!< Bit mask of OVERRIDE1 field. */
gkroussos 0:637031152314 5105
gkroussos 0:637031152314 5106 /* Register: RADIO_OVERRIDE2 */
gkroussos 0:637031152314 5107 /* Description: Trim value override register 2. */
gkroussos 0:637031152314 5108
gkroussos 0:637031152314 5109 /* Bits 31..0 : Trim value override register 2. */
gkroussos 0:637031152314 5110 #define RADIO_OVERRIDE2_OVERRIDE2_Pos (0UL) /*!< Position of OVERRIDE2 field. */
gkroussos 0:637031152314 5111 #define RADIO_OVERRIDE2_OVERRIDE2_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE2_OVERRIDE2_Pos) /*!< Bit mask of OVERRIDE2 field. */
gkroussos 0:637031152314 5112
gkroussos 0:637031152314 5113 /* Register: RADIO_OVERRIDE3 */
gkroussos 0:637031152314 5114 /* Description: Trim value override register 3. */
gkroussos 0:637031152314 5115
gkroussos 0:637031152314 5116 /* Bits 31..0 : Trim value override register 3. */
gkroussos 0:637031152314 5117 #define RADIO_OVERRIDE3_OVERRIDE3_Pos (0UL) /*!< Position of OVERRIDE3 field. */
gkroussos 0:637031152314 5118 #define RADIO_OVERRIDE3_OVERRIDE3_Msk (0xFFFFFFFFUL << RADIO_OVERRIDE3_OVERRIDE3_Pos) /*!< Bit mask of OVERRIDE3 field. */
gkroussos 0:637031152314 5119
gkroussos 0:637031152314 5120 /* Register: RADIO_OVERRIDE4 */
gkroussos 0:637031152314 5121 /* Description: Trim value override register 4. */
gkroussos 0:637031152314 5122
gkroussos 0:637031152314 5123 /* Bit 31 : Enable or disable override of default trim values. */
gkroussos 0:637031152314 5124 #define RADIO_OVERRIDE4_ENABLE_Pos (31UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 5125 #define RADIO_OVERRIDE4_ENABLE_Msk (0x1UL << RADIO_OVERRIDE4_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 5126 #define RADIO_OVERRIDE4_ENABLE_Disabled (0UL) /*!< Override trim values disabled. */
gkroussos 0:637031152314 5127 #define RADIO_OVERRIDE4_ENABLE_Enabled (1UL) /*!< Override trim values enabled. */
gkroussos 0:637031152314 5128
gkroussos 0:637031152314 5129 /* Bits 27..0 : Trim value override register 4. */
gkroussos 0:637031152314 5130 #define RADIO_OVERRIDE4_OVERRIDE4_Pos (0UL) /*!< Position of OVERRIDE4 field. */
gkroussos 0:637031152314 5131 #define RADIO_OVERRIDE4_OVERRIDE4_Msk (0xFFFFFFFUL << RADIO_OVERRIDE4_OVERRIDE4_Pos) /*!< Bit mask of OVERRIDE4 field. */
gkroussos 0:637031152314 5132
gkroussos 0:637031152314 5133 /* Register: RADIO_POWER */
gkroussos 0:637031152314 5134 /* Description: Peripheral power control. */
gkroussos 0:637031152314 5135
gkroussos 0:637031152314 5136 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 5137 #define RADIO_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 5138 #define RADIO_POWER_POWER_Msk (0x1UL << RADIO_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 5139 #define RADIO_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 5140 #define RADIO_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 5141
gkroussos 0:637031152314 5142
gkroussos 0:637031152314 5143 /* Peripheral: RNG */
gkroussos 0:637031152314 5144 /* Description: Random Number Generator. */
gkroussos 0:637031152314 5145
gkroussos 0:637031152314 5146 /* Register: RNG_SHORTS */
gkroussos 0:637031152314 5147 /* Description: Shortcut for the RNG. */
gkroussos 0:637031152314 5148
gkroussos 0:637031152314 5149 /* Bit 0 : Short-cut between VALRDY event and STOP task. */
gkroussos 0:637031152314 5150 #define RNG_SHORTS_VALRDY_STOP_Pos (0UL) /*!< Position of VALRDY_STOP field. */
gkroussos 0:637031152314 5151 #define RNG_SHORTS_VALRDY_STOP_Msk (0x1UL << RNG_SHORTS_VALRDY_STOP_Pos) /*!< Bit mask of VALRDY_STOP field. */
gkroussos 0:637031152314 5152 #define RNG_SHORTS_VALRDY_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5153 #define RNG_SHORTS_VALRDY_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5154
gkroussos 0:637031152314 5155 /* Register: RNG_INTENSET */
gkroussos 0:637031152314 5156 /* Description: Interrupt enable set register */
gkroussos 0:637031152314 5157
gkroussos 0:637031152314 5158 /* Bit 0 : Enable interrupt on VALRDY event. */
gkroussos 0:637031152314 5159 #define RNG_INTENSET_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
gkroussos 0:637031152314 5160 #define RNG_INTENSET_VALRDY_Msk (0x1UL << RNG_INTENSET_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
gkroussos 0:637031152314 5161 #define RNG_INTENSET_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5162 #define RNG_INTENSET_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5163 #define RNG_INTENSET_VALRDY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5164
gkroussos 0:637031152314 5165 /* Register: RNG_INTENCLR */
gkroussos 0:637031152314 5166 /* Description: Interrupt enable clear register */
gkroussos 0:637031152314 5167
gkroussos 0:637031152314 5168 /* Bit 0 : Disable interrupt on VALRDY event. */
gkroussos 0:637031152314 5169 #define RNG_INTENCLR_VALRDY_Pos (0UL) /*!< Position of VALRDY field. */
gkroussos 0:637031152314 5170 #define RNG_INTENCLR_VALRDY_Msk (0x1UL << RNG_INTENCLR_VALRDY_Pos) /*!< Bit mask of VALRDY field. */
gkroussos 0:637031152314 5171 #define RNG_INTENCLR_VALRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5172 #define RNG_INTENCLR_VALRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5173 #define RNG_INTENCLR_VALRDY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5174
gkroussos 0:637031152314 5175 /* Register: RNG_CONFIG */
gkroussos 0:637031152314 5176 /* Description: Configuration register. */
gkroussos 0:637031152314 5177
gkroussos 0:637031152314 5178 /* Bit 0 : Digital error correction enable. */
gkroussos 0:637031152314 5179 #define RNG_CONFIG_DERCEN_Pos (0UL) /*!< Position of DERCEN field. */
gkroussos 0:637031152314 5180 #define RNG_CONFIG_DERCEN_Msk (0x1UL << RNG_CONFIG_DERCEN_Pos) /*!< Bit mask of DERCEN field. */
gkroussos 0:637031152314 5181 #define RNG_CONFIG_DERCEN_Disabled (0UL) /*!< Digital error correction disabled. */
gkroussos 0:637031152314 5182 #define RNG_CONFIG_DERCEN_Enabled (1UL) /*!< Digital error correction enabled. */
gkroussos 0:637031152314 5183
gkroussos 0:637031152314 5184 /* Register: RNG_VALUE */
gkroussos 0:637031152314 5185 /* Description: RNG random number. */
gkroussos 0:637031152314 5186
gkroussos 0:637031152314 5187 /* Bits 7..0 : Generated random number. */
gkroussos 0:637031152314 5188 #define RNG_VALUE_VALUE_Pos (0UL) /*!< Position of VALUE field. */
gkroussos 0:637031152314 5189 #define RNG_VALUE_VALUE_Msk (0xFFUL << RNG_VALUE_VALUE_Pos) /*!< Bit mask of VALUE field. */
gkroussos 0:637031152314 5190
gkroussos 0:637031152314 5191 /* Register: RNG_POWER */
gkroussos 0:637031152314 5192 /* Description: Peripheral power control. */
gkroussos 0:637031152314 5193
gkroussos 0:637031152314 5194 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 5195 #define RNG_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 5196 #define RNG_POWER_POWER_Msk (0x1UL << RNG_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 5197 #define RNG_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 5198 #define RNG_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 5199
gkroussos 0:637031152314 5200
gkroussos 0:637031152314 5201 /* Peripheral: RTC */
gkroussos 0:637031152314 5202 /* Description: Real time counter 0. */
gkroussos 0:637031152314 5203
gkroussos 0:637031152314 5204 /* Register: RTC_INTENSET */
gkroussos 0:637031152314 5205 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 5206
gkroussos 0:637031152314 5207 /* Bit 19 : Enable interrupt on COMPARE[3] event. */
gkroussos 0:637031152314 5208 #define RTC_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
gkroussos 0:637031152314 5209 #define RTC_INTENSET_COMPARE3_Msk (0x1UL << RTC_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
gkroussos 0:637031152314 5210 #define RTC_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5211 #define RTC_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5212 #define RTC_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5213
gkroussos 0:637031152314 5214 /* Bit 18 : Enable interrupt on COMPARE[2] event. */
gkroussos 0:637031152314 5215 #define RTC_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
gkroussos 0:637031152314 5216 #define RTC_INTENSET_COMPARE2_Msk (0x1UL << RTC_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
gkroussos 0:637031152314 5217 #define RTC_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5218 #define RTC_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5219 #define RTC_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5220
gkroussos 0:637031152314 5221 /* Bit 17 : Enable interrupt on COMPARE[1] event. */
gkroussos 0:637031152314 5222 #define RTC_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
gkroussos 0:637031152314 5223 #define RTC_INTENSET_COMPARE1_Msk (0x1UL << RTC_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
gkroussos 0:637031152314 5224 #define RTC_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5225 #define RTC_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5226 #define RTC_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5227
gkroussos 0:637031152314 5228 /* Bit 16 : Enable interrupt on COMPARE[0] event. */
gkroussos 0:637031152314 5229 #define RTC_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
gkroussos 0:637031152314 5230 #define RTC_INTENSET_COMPARE0_Msk (0x1UL << RTC_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
gkroussos 0:637031152314 5231 #define RTC_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5232 #define RTC_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5233 #define RTC_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5234
gkroussos 0:637031152314 5235 /* Bit 1 : Enable interrupt on OVRFLW event. */
gkroussos 0:637031152314 5236 #define RTC_INTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
gkroussos 0:637031152314 5237 #define RTC_INTENSET_OVRFLW_Msk (0x1UL << RTC_INTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
gkroussos 0:637031152314 5238 #define RTC_INTENSET_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5239 #define RTC_INTENSET_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5240 #define RTC_INTENSET_OVRFLW_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5241
gkroussos 0:637031152314 5242 /* Bit 0 : Enable interrupt on TICK event. */
gkroussos 0:637031152314 5243 #define RTC_INTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
gkroussos 0:637031152314 5244 #define RTC_INTENSET_TICK_Msk (0x1UL << RTC_INTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
gkroussos 0:637031152314 5245 #define RTC_INTENSET_TICK_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5246 #define RTC_INTENSET_TICK_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5247 #define RTC_INTENSET_TICK_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5248
gkroussos 0:637031152314 5249 /* Register: RTC_INTENCLR */
gkroussos 0:637031152314 5250 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 5251
gkroussos 0:637031152314 5252 /* Bit 19 : Disable interrupt on COMPARE[3] event. */
gkroussos 0:637031152314 5253 #define RTC_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
gkroussos 0:637031152314 5254 #define RTC_INTENCLR_COMPARE3_Msk (0x1UL << RTC_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
gkroussos 0:637031152314 5255 #define RTC_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5256 #define RTC_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5257 #define RTC_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5258
gkroussos 0:637031152314 5259 /* Bit 18 : Disable interrupt on COMPARE[2] event. */
gkroussos 0:637031152314 5260 #define RTC_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
gkroussos 0:637031152314 5261 #define RTC_INTENCLR_COMPARE2_Msk (0x1UL << RTC_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
gkroussos 0:637031152314 5262 #define RTC_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5263 #define RTC_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5264 #define RTC_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5265
gkroussos 0:637031152314 5266 /* Bit 17 : Disable interrupt on COMPARE[1] event. */
gkroussos 0:637031152314 5267 #define RTC_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
gkroussos 0:637031152314 5268 #define RTC_INTENCLR_COMPARE1_Msk (0x1UL << RTC_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
gkroussos 0:637031152314 5269 #define RTC_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5270 #define RTC_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5271 #define RTC_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5272
gkroussos 0:637031152314 5273 /* Bit 16 : Disable interrupt on COMPARE[0] event. */
gkroussos 0:637031152314 5274 #define RTC_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
gkroussos 0:637031152314 5275 #define RTC_INTENCLR_COMPARE0_Msk (0x1UL << RTC_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
gkroussos 0:637031152314 5276 #define RTC_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5277 #define RTC_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5278 #define RTC_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5279
gkroussos 0:637031152314 5280 /* Bit 1 : Disable interrupt on OVRFLW event. */
gkroussos 0:637031152314 5281 #define RTC_INTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
gkroussos 0:637031152314 5282 #define RTC_INTENCLR_OVRFLW_Msk (0x1UL << RTC_INTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
gkroussos 0:637031152314 5283 #define RTC_INTENCLR_OVRFLW_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5284 #define RTC_INTENCLR_OVRFLW_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5285 #define RTC_INTENCLR_OVRFLW_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5286
gkroussos 0:637031152314 5287 /* Bit 0 : Disable interrupt on TICK event. */
gkroussos 0:637031152314 5288 #define RTC_INTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
gkroussos 0:637031152314 5289 #define RTC_INTENCLR_TICK_Msk (0x1UL << RTC_INTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
gkroussos 0:637031152314 5290 #define RTC_INTENCLR_TICK_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5291 #define RTC_INTENCLR_TICK_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5292 #define RTC_INTENCLR_TICK_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5293
gkroussos 0:637031152314 5294 /* Register: RTC_EVTEN */
gkroussos 0:637031152314 5295 /* Description: Configures event enable routing to PPI for each RTC event. */
gkroussos 0:637031152314 5296
gkroussos 0:637031152314 5297 /* Bit 19 : COMPARE[3] event enable. */
gkroussos 0:637031152314 5298 #define RTC_EVTEN_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
gkroussos 0:637031152314 5299 #define RTC_EVTEN_COMPARE3_Msk (0x1UL << RTC_EVTEN_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
gkroussos 0:637031152314 5300 #define RTC_EVTEN_COMPARE3_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5301 #define RTC_EVTEN_COMPARE3_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5302
gkroussos 0:637031152314 5303 /* Bit 18 : COMPARE[2] event enable. */
gkroussos 0:637031152314 5304 #define RTC_EVTEN_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
gkroussos 0:637031152314 5305 #define RTC_EVTEN_COMPARE2_Msk (0x1UL << RTC_EVTEN_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
gkroussos 0:637031152314 5306 #define RTC_EVTEN_COMPARE2_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5307 #define RTC_EVTEN_COMPARE2_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5308
gkroussos 0:637031152314 5309 /* Bit 17 : COMPARE[1] event enable. */
gkroussos 0:637031152314 5310 #define RTC_EVTEN_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
gkroussos 0:637031152314 5311 #define RTC_EVTEN_COMPARE1_Msk (0x1UL << RTC_EVTEN_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
gkroussos 0:637031152314 5312 #define RTC_EVTEN_COMPARE1_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5313 #define RTC_EVTEN_COMPARE1_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5314
gkroussos 0:637031152314 5315 /* Bit 16 : COMPARE[0] event enable. */
gkroussos 0:637031152314 5316 #define RTC_EVTEN_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
gkroussos 0:637031152314 5317 #define RTC_EVTEN_COMPARE0_Msk (0x1UL << RTC_EVTEN_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
gkroussos 0:637031152314 5318 #define RTC_EVTEN_COMPARE0_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5319 #define RTC_EVTEN_COMPARE0_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5320
gkroussos 0:637031152314 5321 /* Bit 1 : OVRFLW event enable. */
gkroussos 0:637031152314 5322 #define RTC_EVTEN_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
gkroussos 0:637031152314 5323 #define RTC_EVTEN_OVRFLW_Msk (0x1UL << RTC_EVTEN_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
gkroussos 0:637031152314 5324 #define RTC_EVTEN_OVRFLW_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5325 #define RTC_EVTEN_OVRFLW_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5326
gkroussos 0:637031152314 5327 /* Bit 0 : TICK event enable. */
gkroussos 0:637031152314 5328 #define RTC_EVTEN_TICK_Pos (0UL) /*!< Position of TICK field. */
gkroussos 0:637031152314 5329 #define RTC_EVTEN_TICK_Msk (0x1UL << RTC_EVTEN_TICK_Pos) /*!< Bit mask of TICK field. */
gkroussos 0:637031152314 5330 #define RTC_EVTEN_TICK_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5331 #define RTC_EVTEN_TICK_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5332
gkroussos 0:637031152314 5333 /* Register: RTC_EVTENSET */
gkroussos 0:637031152314 5334 /* Description: Enable events routing to PPI. The reading of this register gives the value of EVTEN. */
gkroussos 0:637031152314 5335
gkroussos 0:637031152314 5336 /* Bit 19 : Enable routing to PPI of COMPARE[3] event. */
gkroussos 0:637031152314 5337 #define RTC_EVTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
gkroussos 0:637031152314 5338 #define RTC_EVTENSET_COMPARE3_Msk (0x1UL << RTC_EVTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
gkroussos 0:637031152314 5339 #define RTC_EVTENSET_COMPARE3_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5340 #define RTC_EVTENSET_COMPARE3_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5341 #define RTC_EVTENSET_COMPARE3_Set (1UL) /*!< Enable event on write. */
gkroussos 0:637031152314 5342
gkroussos 0:637031152314 5343 /* Bit 18 : Enable routing to PPI of COMPARE[2] event. */
gkroussos 0:637031152314 5344 #define RTC_EVTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
gkroussos 0:637031152314 5345 #define RTC_EVTENSET_COMPARE2_Msk (0x1UL << RTC_EVTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
gkroussos 0:637031152314 5346 #define RTC_EVTENSET_COMPARE2_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5347 #define RTC_EVTENSET_COMPARE2_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5348 #define RTC_EVTENSET_COMPARE2_Set (1UL) /*!< Enable event on write. */
gkroussos 0:637031152314 5349
gkroussos 0:637031152314 5350 /* Bit 17 : Enable routing to PPI of COMPARE[1] event. */
gkroussos 0:637031152314 5351 #define RTC_EVTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
gkroussos 0:637031152314 5352 #define RTC_EVTENSET_COMPARE1_Msk (0x1UL << RTC_EVTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
gkroussos 0:637031152314 5353 #define RTC_EVTENSET_COMPARE1_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5354 #define RTC_EVTENSET_COMPARE1_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5355 #define RTC_EVTENSET_COMPARE1_Set (1UL) /*!< Enable event on write. */
gkroussos 0:637031152314 5356
gkroussos 0:637031152314 5357 /* Bit 16 : Enable routing to PPI of COMPARE[0] event. */
gkroussos 0:637031152314 5358 #define RTC_EVTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
gkroussos 0:637031152314 5359 #define RTC_EVTENSET_COMPARE0_Msk (0x1UL << RTC_EVTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
gkroussos 0:637031152314 5360 #define RTC_EVTENSET_COMPARE0_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5361 #define RTC_EVTENSET_COMPARE0_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5362 #define RTC_EVTENSET_COMPARE0_Set (1UL) /*!< Enable event on write. */
gkroussos 0:637031152314 5363
gkroussos 0:637031152314 5364 /* Bit 1 : Enable routing to PPI of OVRFLW event. */
gkroussos 0:637031152314 5365 #define RTC_EVTENSET_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
gkroussos 0:637031152314 5366 #define RTC_EVTENSET_OVRFLW_Msk (0x1UL << RTC_EVTENSET_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
gkroussos 0:637031152314 5367 #define RTC_EVTENSET_OVRFLW_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5368 #define RTC_EVTENSET_OVRFLW_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5369 #define RTC_EVTENSET_OVRFLW_Set (1UL) /*!< Enable event on write. */
gkroussos 0:637031152314 5370
gkroussos 0:637031152314 5371 /* Bit 0 : Enable routing to PPI of TICK event. */
gkroussos 0:637031152314 5372 #define RTC_EVTENSET_TICK_Pos (0UL) /*!< Position of TICK field. */
gkroussos 0:637031152314 5373 #define RTC_EVTENSET_TICK_Msk (0x1UL << RTC_EVTENSET_TICK_Pos) /*!< Bit mask of TICK field. */
gkroussos 0:637031152314 5374 #define RTC_EVTENSET_TICK_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5375 #define RTC_EVTENSET_TICK_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5376 #define RTC_EVTENSET_TICK_Set (1UL) /*!< Enable event on write. */
gkroussos 0:637031152314 5377
gkroussos 0:637031152314 5378 /* Register: RTC_EVTENCLR */
gkroussos 0:637031152314 5379 /* Description: Disable events routing to PPI. The reading of this register gives the value of EVTEN. */
gkroussos 0:637031152314 5380
gkroussos 0:637031152314 5381 /* Bit 19 : Disable routing to PPI of COMPARE[3] event. */
gkroussos 0:637031152314 5382 #define RTC_EVTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
gkroussos 0:637031152314 5383 #define RTC_EVTENCLR_COMPARE3_Msk (0x1UL << RTC_EVTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
gkroussos 0:637031152314 5384 #define RTC_EVTENCLR_COMPARE3_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5385 #define RTC_EVTENCLR_COMPARE3_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5386 #define RTC_EVTENCLR_COMPARE3_Clear (1UL) /*!< Disable event on write. */
gkroussos 0:637031152314 5387
gkroussos 0:637031152314 5388 /* Bit 18 : Disable routing to PPI of COMPARE[2] event. */
gkroussos 0:637031152314 5389 #define RTC_EVTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
gkroussos 0:637031152314 5390 #define RTC_EVTENCLR_COMPARE2_Msk (0x1UL << RTC_EVTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
gkroussos 0:637031152314 5391 #define RTC_EVTENCLR_COMPARE2_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5392 #define RTC_EVTENCLR_COMPARE2_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5393 #define RTC_EVTENCLR_COMPARE2_Clear (1UL) /*!< Disable event on write. */
gkroussos 0:637031152314 5394
gkroussos 0:637031152314 5395 /* Bit 17 : Disable routing to PPI of COMPARE[1] event. */
gkroussos 0:637031152314 5396 #define RTC_EVTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
gkroussos 0:637031152314 5397 #define RTC_EVTENCLR_COMPARE1_Msk (0x1UL << RTC_EVTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
gkroussos 0:637031152314 5398 #define RTC_EVTENCLR_COMPARE1_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5399 #define RTC_EVTENCLR_COMPARE1_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5400 #define RTC_EVTENCLR_COMPARE1_Clear (1UL) /*!< Disable event on write. */
gkroussos 0:637031152314 5401
gkroussos 0:637031152314 5402 /* Bit 16 : Disable routing to PPI of COMPARE[0] event. */
gkroussos 0:637031152314 5403 #define RTC_EVTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
gkroussos 0:637031152314 5404 #define RTC_EVTENCLR_COMPARE0_Msk (0x1UL << RTC_EVTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
gkroussos 0:637031152314 5405 #define RTC_EVTENCLR_COMPARE0_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5406 #define RTC_EVTENCLR_COMPARE0_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5407 #define RTC_EVTENCLR_COMPARE0_Clear (1UL) /*!< Disable event on write. */
gkroussos 0:637031152314 5408
gkroussos 0:637031152314 5409 /* Bit 1 : Disable routing to PPI of OVRFLW event. */
gkroussos 0:637031152314 5410 #define RTC_EVTENCLR_OVRFLW_Pos (1UL) /*!< Position of OVRFLW field. */
gkroussos 0:637031152314 5411 #define RTC_EVTENCLR_OVRFLW_Msk (0x1UL << RTC_EVTENCLR_OVRFLW_Pos) /*!< Bit mask of OVRFLW field. */
gkroussos 0:637031152314 5412 #define RTC_EVTENCLR_OVRFLW_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5413 #define RTC_EVTENCLR_OVRFLW_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5414 #define RTC_EVTENCLR_OVRFLW_Clear (1UL) /*!< Disable event on write. */
gkroussos 0:637031152314 5415
gkroussos 0:637031152314 5416 /* Bit 0 : Disable routing to PPI of TICK event. */
gkroussos 0:637031152314 5417 #define RTC_EVTENCLR_TICK_Pos (0UL) /*!< Position of TICK field. */
gkroussos 0:637031152314 5418 #define RTC_EVTENCLR_TICK_Msk (0x1UL << RTC_EVTENCLR_TICK_Pos) /*!< Bit mask of TICK field. */
gkroussos 0:637031152314 5419 #define RTC_EVTENCLR_TICK_Disabled (0UL) /*!< Event disabled. */
gkroussos 0:637031152314 5420 #define RTC_EVTENCLR_TICK_Enabled (1UL) /*!< Event enabled. */
gkroussos 0:637031152314 5421 #define RTC_EVTENCLR_TICK_Clear (1UL) /*!< Disable event on write. */
gkroussos 0:637031152314 5422
gkroussos 0:637031152314 5423 /* Register: RTC_COUNTER */
gkroussos 0:637031152314 5424 /* Description: Current COUNTER value. */
gkroussos 0:637031152314 5425
gkroussos 0:637031152314 5426 /* Bits 23..0 : Counter value. */
gkroussos 0:637031152314 5427 #define RTC_COUNTER_COUNTER_Pos (0UL) /*!< Position of COUNTER field. */
gkroussos 0:637031152314 5428 #define RTC_COUNTER_COUNTER_Msk (0xFFFFFFUL << RTC_COUNTER_COUNTER_Pos) /*!< Bit mask of COUNTER field. */
gkroussos 0:637031152314 5429
gkroussos 0:637031152314 5430 /* Register: RTC_PRESCALER */
gkroussos 0:637031152314 5431 /* Description: 12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is STOPed. */
gkroussos 0:637031152314 5432
gkroussos 0:637031152314 5433 /* Bits 11..0 : RTC PRESCALER value. */
gkroussos 0:637031152314 5434 #define RTC_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
gkroussos 0:637031152314 5435 #define RTC_PRESCALER_PRESCALER_Msk (0xFFFUL << RTC_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
gkroussos 0:637031152314 5436
gkroussos 0:637031152314 5437 /* Register: RTC_CC */
gkroussos 0:637031152314 5438 /* Description: Capture/compare registers. */
gkroussos 0:637031152314 5439
gkroussos 0:637031152314 5440 /* Bits 23..0 : Compare value. */
gkroussos 0:637031152314 5441 #define RTC_CC_COMPARE_Pos (0UL) /*!< Position of COMPARE field. */
gkroussos 0:637031152314 5442 #define RTC_CC_COMPARE_Msk (0xFFFFFFUL << RTC_CC_COMPARE_Pos) /*!< Bit mask of COMPARE field. */
gkroussos 0:637031152314 5443
gkroussos 0:637031152314 5444 /* Register: RTC_POWER */
gkroussos 0:637031152314 5445 /* Description: Peripheral power control. */
gkroussos 0:637031152314 5446
gkroussos 0:637031152314 5447 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 5448 #define RTC_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 5449 #define RTC_POWER_POWER_Msk (0x1UL << RTC_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 5450 #define RTC_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 5451 #define RTC_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 5452
gkroussos 0:637031152314 5453
gkroussos 0:637031152314 5454 /* Peripheral: SPI */
gkroussos 0:637031152314 5455 /* Description: SPI master 0. */
gkroussos 0:637031152314 5456
gkroussos 0:637031152314 5457 /* Register: SPI_INTENSET */
gkroussos 0:637031152314 5458 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 5459
gkroussos 0:637031152314 5460 /* Bit 2 : Enable interrupt on READY event. */
gkroussos 0:637031152314 5461 #define SPI_INTENSET_READY_Pos (2UL) /*!< Position of READY field. */
gkroussos 0:637031152314 5462 #define SPI_INTENSET_READY_Msk (0x1UL << SPI_INTENSET_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 5463 #define SPI_INTENSET_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5464 #define SPI_INTENSET_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5465 #define SPI_INTENSET_READY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5466
gkroussos 0:637031152314 5467 /* Register: SPI_INTENCLR */
gkroussos 0:637031152314 5468 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 5469
gkroussos 0:637031152314 5470 /* Bit 2 : Disable interrupt on READY event. */
gkroussos 0:637031152314 5471 #define SPI_INTENCLR_READY_Pos (2UL) /*!< Position of READY field. */
gkroussos 0:637031152314 5472 #define SPI_INTENCLR_READY_Msk (0x1UL << SPI_INTENCLR_READY_Pos) /*!< Bit mask of READY field. */
gkroussos 0:637031152314 5473 #define SPI_INTENCLR_READY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5474 #define SPI_INTENCLR_READY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5475 #define SPI_INTENCLR_READY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5476
gkroussos 0:637031152314 5477 /* Register: SPI_ENABLE */
gkroussos 0:637031152314 5478 /* Description: Enable SPI. */
gkroussos 0:637031152314 5479
gkroussos 0:637031152314 5480 /* Bits 2..0 : Enable or disable SPI. */
gkroussos 0:637031152314 5481 #define SPI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 5482 #define SPI_ENABLE_ENABLE_Msk (0x7UL << SPI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 5483 #define SPI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPI. */
gkroussos 0:637031152314 5484 #define SPI_ENABLE_ENABLE_Enabled (0x01UL) /*!< Enable SPI. */
gkroussos 0:637031152314 5485
gkroussos 0:637031152314 5486 /* Register: SPI_RXD */
gkroussos 0:637031152314 5487 /* Description: RX data. */
gkroussos 0:637031152314 5488
gkroussos 0:637031152314 5489 /* Bits 7..0 : RX data from last transfer. */
gkroussos 0:637031152314 5490 #define SPI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
gkroussos 0:637031152314 5491 #define SPI_RXD_RXD_Msk (0xFFUL << SPI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
gkroussos 0:637031152314 5492
gkroussos 0:637031152314 5493 /* Register: SPI_TXD */
gkroussos 0:637031152314 5494 /* Description: TX data. */
gkroussos 0:637031152314 5495
gkroussos 0:637031152314 5496 /* Bits 7..0 : TX data for next transfer. */
gkroussos 0:637031152314 5497 #define SPI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
gkroussos 0:637031152314 5498 #define SPI_TXD_TXD_Msk (0xFFUL << SPI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
gkroussos 0:637031152314 5499
gkroussos 0:637031152314 5500 /* Register: SPI_FREQUENCY */
gkroussos 0:637031152314 5501 /* Description: SPI frequency */
gkroussos 0:637031152314 5502
gkroussos 0:637031152314 5503 /* Bits 31..0 : SPI data rate. */
gkroussos 0:637031152314 5504 #define SPI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
gkroussos 0:637031152314 5505 #define SPI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << SPI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
gkroussos 0:637031152314 5506 #define SPI_FREQUENCY_FREQUENCY_K125 (0x02000000UL) /*!< 125kbps. */
gkroussos 0:637031152314 5507 #define SPI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250kbps. */
gkroussos 0:637031152314 5508 #define SPI_FREQUENCY_FREQUENCY_K500 (0x08000000UL) /*!< 500kbps. */
gkroussos 0:637031152314 5509 #define SPI_FREQUENCY_FREQUENCY_M1 (0x10000000UL) /*!< 1Mbps. */
gkroussos 0:637031152314 5510 #define SPI_FREQUENCY_FREQUENCY_M2 (0x20000000UL) /*!< 2Mbps. */
gkroussos 0:637031152314 5511 #define SPI_FREQUENCY_FREQUENCY_M4 (0x40000000UL) /*!< 4Mbps. */
gkroussos 0:637031152314 5512 #define SPI_FREQUENCY_FREQUENCY_M8 (0x80000000UL) /*!< 8Mbps. */
gkroussos 0:637031152314 5513
gkroussos 0:637031152314 5514 /* Register: SPI_CONFIG */
gkroussos 0:637031152314 5515 /* Description: Configuration register. */
gkroussos 0:637031152314 5516
gkroussos 0:637031152314 5517 /* Bit 2 : Serial clock (SCK) polarity. */
gkroussos 0:637031152314 5518 #define SPI_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
gkroussos 0:637031152314 5519 #define SPI_CONFIG_CPOL_Msk (0x1UL << SPI_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
gkroussos 0:637031152314 5520 #define SPI_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */
gkroussos 0:637031152314 5521 #define SPI_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */
gkroussos 0:637031152314 5522
gkroussos 0:637031152314 5523 /* Bit 1 : Serial clock (SCK) phase. */
gkroussos 0:637031152314 5524 #define SPI_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
gkroussos 0:637031152314 5525 #define SPI_CONFIG_CPHA_Msk (0x1UL << SPI_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
gkroussos 0:637031152314 5526 #define SPI_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */
gkroussos 0:637031152314 5527 #define SPI_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */
gkroussos 0:637031152314 5528
gkroussos 0:637031152314 5529 /* Bit 0 : Bit order. */
gkroussos 0:637031152314 5530 #define SPI_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
gkroussos 0:637031152314 5531 #define SPI_CONFIG_ORDER_Msk (0x1UL << SPI_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
gkroussos 0:637031152314 5532 #define SPI_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */
gkroussos 0:637031152314 5533 #define SPI_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */
gkroussos 0:637031152314 5534
gkroussos 0:637031152314 5535 /* Register: SPI_POWER */
gkroussos 0:637031152314 5536 /* Description: Peripheral power control. */
gkroussos 0:637031152314 5537
gkroussos 0:637031152314 5538 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 5539 #define SPI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 5540 #define SPI_POWER_POWER_Msk (0x1UL << SPI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 5541 #define SPI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 5542 #define SPI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 5543
gkroussos 0:637031152314 5544
gkroussos 0:637031152314 5545 /* Peripheral: SPIS */
gkroussos 0:637031152314 5546 /* Description: SPI slave 1. */
gkroussos 0:637031152314 5547
gkroussos 0:637031152314 5548 /* Register: SPIS_SHORTS */
gkroussos 0:637031152314 5549 /* Description: Shortcuts for SPIS. */
gkroussos 0:637031152314 5550
gkroussos 0:637031152314 5551 /* Bit 2 : Shortcut between END event and the ACQUIRE task. */
gkroussos 0:637031152314 5552 #define SPIS_SHORTS_END_ACQUIRE_Pos (2UL) /*!< Position of END_ACQUIRE field. */
gkroussos 0:637031152314 5553 #define SPIS_SHORTS_END_ACQUIRE_Msk (0x1UL << SPIS_SHORTS_END_ACQUIRE_Pos) /*!< Bit mask of END_ACQUIRE field. */
gkroussos 0:637031152314 5554 #define SPIS_SHORTS_END_ACQUIRE_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5555 #define SPIS_SHORTS_END_ACQUIRE_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5556
gkroussos 0:637031152314 5557 /* Register: SPIS_INTENSET */
gkroussos 0:637031152314 5558 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 5559
gkroussos 0:637031152314 5560 /* Bit 10 : Enable interrupt on ACQUIRED event. */
gkroussos 0:637031152314 5561 #define SPIS_INTENSET_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
gkroussos 0:637031152314 5562 #define SPIS_INTENSET_ACQUIRED_Msk (0x1UL << SPIS_INTENSET_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
gkroussos 0:637031152314 5563 #define SPIS_INTENSET_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5564 #define SPIS_INTENSET_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5565 #define SPIS_INTENSET_ACQUIRED_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5566
gkroussos 0:637031152314 5567 /* Bit 1 : Enable interrupt on END event. */
gkroussos 0:637031152314 5568 #define SPIS_INTENSET_END_Pos (1UL) /*!< Position of END field. */
gkroussos 0:637031152314 5569 #define SPIS_INTENSET_END_Msk (0x1UL << SPIS_INTENSET_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 5570 #define SPIS_INTENSET_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5571 #define SPIS_INTENSET_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5572 #define SPIS_INTENSET_END_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5573
gkroussos 0:637031152314 5574 /* Register: SPIS_INTENCLR */
gkroussos 0:637031152314 5575 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 5576
gkroussos 0:637031152314 5577 /* Bit 10 : Disable interrupt on ACQUIRED event. */
gkroussos 0:637031152314 5578 #define SPIS_INTENCLR_ACQUIRED_Pos (10UL) /*!< Position of ACQUIRED field. */
gkroussos 0:637031152314 5579 #define SPIS_INTENCLR_ACQUIRED_Msk (0x1UL << SPIS_INTENCLR_ACQUIRED_Pos) /*!< Bit mask of ACQUIRED field. */
gkroussos 0:637031152314 5580 #define SPIS_INTENCLR_ACQUIRED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5581 #define SPIS_INTENCLR_ACQUIRED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5582 #define SPIS_INTENCLR_ACQUIRED_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5583
gkroussos 0:637031152314 5584 /* Bit 1 : Disable interrupt on END event. */
gkroussos 0:637031152314 5585 #define SPIS_INTENCLR_END_Pos (1UL) /*!< Position of END field. */
gkroussos 0:637031152314 5586 #define SPIS_INTENCLR_END_Msk (0x1UL << SPIS_INTENCLR_END_Pos) /*!< Bit mask of END field. */
gkroussos 0:637031152314 5587 #define SPIS_INTENCLR_END_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5588 #define SPIS_INTENCLR_END_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5589 #define SPIS_INTENCLR_END_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5590
gkroussos 0:637031152314 5591 /* Register: SPIS_SEMSTAT */
gkroussos 0:637031152314 5592 /* Description: Semaphore status. */
gkroussos 0:637031152314 5593
gkroussos 0:637031152314 5594 /* Bits 1..0 : Semaphore status. */
gkroussos 0:637031152314 5595 #define SPIS_SEMSTAT_SEMSTAT_Pos (0UL) /*!< Position of SEMSTAT field. */
gkroussos 0:637031152314 5596 #define SPIS_SEMSTAT_SEMSTAT_Msk (0x3UL << SPIS_SEMSTAT_SEMSTAT_Pos) /*!< Bit mask of SEMSTAT field. */
gkroussos 0:637031152314 5597 #define SPIS_SEMSTAT_SEMSTAT_Free (0x00UL) /*!< Semaphore is free. */
gkroussos 0:637031152314 5598 #define SPIS_SEMSTAT_SEMSTAT_CPU (0x01UL) /*!< Semaphore is assigned to the CPU. */
gkroussos 0:637031152314 5599 #define SPIS_SEMSTAT_SEMSTAT_SPIS (0x02UL) /*!< Semaphore is assigned to the SPIS. */
gkroussos 0:637031152314 5600 #define SPIS_SEMSTAT_SEMSTAT_CPUPending (0x03UL) /*!< Semaphore is assigned to the SPIS, but a handover to the CPU is pending. */
gkroussos 0:637031152314 5601
gkroussos 0:637031152314 5602 /* Register: SPIS_STATUS */
gkroussos 0:637031152314 5603 /* Description: Status from last transaction. */
gkroussos 0:637031152314 5604
gkroussos 0:637031152314 5605 /* Bit 1 : RX buffer overflow detected, and prevented. */
gkroussos 0:637031152314 5606 #define SPIS_STATUS_OVERFLOW_Pos (1UL) /*!< Position of OVERFLOW field. */
gkroussos 0:637031152314 5607 #define SPIS_STATUS_OVERFLOW_Msk (0x1UL << SPIS_STATUS_OVERFLOW_Pos) /*!< Bit mask of OVERFLOW field. */
gkroussos 0:637031152314 5608 #define SPIS_STATUS_OVERFLOW_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 5609 #define SPIS_STATUS_OVERFLOW_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 5610 #define SPIS_STATUS_OVERFLOW_Clear (1UL) /*!< Clear on write. */
gkroussos 0:637031152314 5611
gkroussos 0:637031152314 5612 /* Bit 0 : TX buffer overread detected, and prevented. */
gkroussos 0:637031152314 5613 #define SPIS_STATUS_OVERREAD_Pos (0UL) /*!< Position of OVERREAD field. */
gkroussos 0:637031152314 5614 #define SPIS_STATUS_OVERREAD_Msk (0x1UL << SPIS_STATUS_OVERREAD_Pos) /*!< Bit mask of OVERREAD field. */
gkroussos 0:637031152314 5615 #define SPIS_STATUS_OVERREAD_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 5616 #define SPIS_STATUS_OVERREAD_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 5617 #define SPIS_STATUS_OVERREAD_Clear (1UL) /*!< Clear on write. */
gkroussos 0:637031152314 5618
gkroussos 0:637031152314 5619 /* Register: SPIS_ENABLE */
gkroussos 0:637031152314 5620 /* Description: Enable SPIS. */
gkroussos 0:637031152314 5621
gkroussos 0:637031152314 5622 /* Bits 2..0 : Enable or disable SPIS. */
gkroussos 0:637031152314 5623 #define SPIS_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 5624 #define SPIS_ENABLE_ENABLE_Msk (0x7UL << SPIS_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 5625 #define SPIS_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled SPIS. */
gkroussos 0:637031152314 5626 #define SPIS_ENABLE_ENABLE_Enabled (0x02UL) /*!< Enable SPIS. */
gkroussos 0:637031152314 5627
gkroussos 0:637031152314 5628 /* Register: SPIS_MAXRX */
gkroussos 0:637031152314 5629 /* Description: Maximum number of bytes in the receive buffer. */
gkroussos 0:637031152314 5630
gkroussos 0:637031152314 5631 /* Bits 7..0 : Maximum number of bytes in the receive buffer. */
gkroussos 0:637031152314 5632 #define SPIS_MAXRX_MAXRX_Pos (0UL) /*!< Position of MAXRX field. */
gkroussos 0:637031152314 5633 #define SPIS_MAXRX_MAXRX_Msk (0xFFUL << SPIS_MAXRX_MAXRX_Pos) /*!< Bit mask of MAXRX field. */
gkroussos 0:637031152314 5634
gkroussos 0:637031152314 5635 /* Register: SPIS_AMOUNTRX */
gkroussos 0:637031152314 5636 /* Description: Number of bytes received in last granted transaction. */
gkroussos 0:637031152314 5637
gkroussos 0:637031152314 5638 /* Bits 7..0 : Number of bytes received in last granted transaction. */
gkroussos 0:637031152314 5639 #define SPIS_AMOUNTRX_AMOUNTRX_Pos (0UL) /*!< Position of AMOUNTRX field. */
gkroussos 0:637031152314 5640 #define SPIS_AMOUNTRX_AMOUNTRX_Msk (0xFFUL << SPIS_AMOUNTRX_AMOUNTRX_Pos) /*!< Bit mask of AMOUNTRX field. */
gkroussos 0:637031152314 5641
gkroussos 0:637031152314 5642 /* Register: SPIS_MAXTX */
gkroussos 0:637031152314 5643 /* Description: Maximum number of bytes in the transmit buffer. */
gkroussos 0:637031152314 5644
gkroussos 0:637031152314 5645 /* Bits 7..0 : Maximum number of bytes in the transmit buffer. */
gkroussos 0:637031152314 5646 #define SPIS_MAXTX_MAXTX_Pos (0UL) /*!< Position of MAXTX field. */
gkroussos 0:637031152314 5647 #define SPIS_MAXTX_MAXTX_Msk (0xFFUL << SPIS_MAXTX_MAXTX_Pos) /*!< Bit mask of MAXTX field. */
gkroussos 0:637031152314 5648
gkroussos 0:637031152314 5649 /* Register: SPIS_AMOUNTTX */
gkroussos 0:637031152314 5650 /* Description: Number of bytes transmitted in last granted transaction. */
gkroussos 0:637031152314 5651
gkroussos 0:637031152314 5652 /* Bits 7..0 : Number of bytes transmitted in last granted transaction. */
gkroussos 0:637031152314 5653 #define SPIS_AMOUNTTX_AMOUNTTX_Pos (0UL) /*!< Position of AMOUNTTX field. */
gkroussos 0:637031152314 5654 #define SPIS_AMOUNTTX_AMOUNTTX_Msk (0xFFUL << SPIS_AMOUNTTX_AMOUNTTX_Pos) /*!< Bit mask of AMOUNTTX field. */
gkroussos 0:637031152314 5655
gkroussos 0:637031152314 5656 /* Register: SPIS_CONFIG */
gkroussos 0:637031152314 5657 /* Description: Configuration register. */
gkroussos 0:637031152314 5658
gkroussos 0:637031152314 5659 /* Bit 2 : Serial clock (SCK) polarity. */
gkroussos 0:637031152314 5660 #define SPIS_CONFIG_CPOL_Pos (2UL) /*!< Position of CPOL field. */
gkroussos 0:637031152314 5661 #define SPIS_CONFIG_CPOL_Msk (0x1UL << SPIS_CONFIG_CPOL_Pos) /*!< Bit mask of CPOL field. */
gkroussos 0:637031152314 5662 #define SPIS_CONFIG_CPOL_ActiveHigh (0UL) /*!< Active high. */
gkroussos 0:637031152314 5663 #define SPIS_CONFIG_CPOL_ActiveLow (1UL) /*!< Active low. */
gkroussos 0:637031152314 5664
gkroussos 0:637031152314 5665 /* Bit 1 : Serial clock (SCK) phase. */
gkroussos 0:637031152314 5666 #define SPIS_CONFIG_CPHA_Pos (1UL) /*!< Position of CPHA field. */
gkroussos 0:637031152314 5667 #define SPIS_CONFIG_CPHA_Msk (0x1UL << SPIS_CONFIG_CPHA_Pos) /*!< Bit mask of CPHA field. */
gkroussos 0:637031152314 5668 #define SPIS_CONFIG_CPHA_Leading (0UL) /*!< Sample on leading edge of the clock. Shift serial data on trailing edge. */
gkroussos 0:637031152314 5669 #define SPIS_CONFIG_CPHA_Trailing (1UL) /*!< Sample on trailing edge of the clock. Shift serial data on leading edge. */
gkroussos 0:637031152314 5670
gkroussos 0:637031152314 5671 /* Bit 0 : Bit order. */
gkroussos 0:637031152314 5672 #define SPIS_CONFIG_ORDER_Pos (0UL) /*!< Position of ORDER field. */
gkroussos 0:637031152314 5673 #define SPIS_CONFIG_ORDER_Msk (0x1UL << SPIS_CONFIG_ORDER_Pos) /*!< Bit mask of ORDER field. */
gkroussos 0:637031152314 5674 #define SPIS_CONFIG_ORDER_MsbFirst (0UL) /*!< Most significant bit transmitted out first. */
gkroussos 0:637031152314 5675 #define SPIS_CONFIG_ORDER_LsbFirst (1UL) /*!< Least significant bit transmitted out first. */
gkroussos 0:637031152314 5676
gkroussos 0:637031152314 5677 /* Register: SPIS_DEF */
gkroussos 0:637031152314 5678 /* Description: Default character. */
gkroussos 0:637031152314 5679
gkroussos 0:637031152314 5680 /* Bits 7..0 : Default character. */
gkroussos 0:637031152314 5681 #define SPIS_DEF_DEF_Pos (0UL) /*!< Position of DEF field. */
gkroussos 0:637031152314 5682 #define SPIS_DEF_DEF_Msk (0xFFUL << SPIS_DEF_DEF_Pos) /*!< Bit mask of DEF field. */
gkroussos 0:637031152314 5683
gkroussos 0:637031152314 5684 /* Register: SPIS_ORC */
gkroussos 0:637031152314 5685 /* Description: Over-read character. */
gkroussos 0:637031152314 5686
gkroussos 0:637031152314 5687 /* Bits 7..0 : Over-read character. */
gkroussos 0:637031152314 5688 #define SPIS_ORC_ORC_Pos (0UL) /*!< Position of ORC field. */
gkroussos 0:637031152314 5689 #define SPIS_ORC_ORC_Msk (0xFFUL << SPIS_ORC_ORC_Pos) /*!< Bit mask of ORC field. */
gkroussos 0:637031152314 5690
gkroussos 0:637031152314 5691 /* Register: SPIS_POWER */
gkroussos 0:637031152314 5692 /* Description: Peripheral power control. */
gkroussos 0:637031152314 5693
gkroussos 0:637031152314 5694 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 5695 #define SPIS_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 5696 #define SPIS_POWER_POWER_Msk (0x1UL << SPIS_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 5697 #define SPIS_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 5698 #define SPIS_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 5699
gkroussos 0:637031152314 5700
gkroussos 0:637031152314 5701 /* Peripheral: TEMP */
gkroussos 0:637031152314 5702 /* Description: Temperature Sensor. */
gkroussos 0:637031152314 5703
gkroussos 0:637031152314 5704 /* Register: TEMP_INTENSET */
gkroussos 0:637031152314 5705 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 5706
gkroussos 0:637031152314 5707 /* Bit 0 : Enable interrupt on DATARDY event. */
gkroussos 0:637031152314 5708 #define TEMP_INTENSET_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
gkroussos 0:637031152314 5709 #define TEMP_INTENSET_DATARDY_Msk (0x1UL << TEMP_INTENSET_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
gkroussos 0:637031152314 5710 #define TEMP_INTENSET_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5711 #define TEMP_INTENSET_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5712 #define TEMP_INTENSET_DATARDY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5713
gkroussos 0:637031152314 5714 /* Register: TEMP_INTENCLR */
gkroussos 0:637031152314 5715 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 5716
gkroussos 0:637031152314 5717 /* Bit 0 : Disable interrupt on DATARDY event. */
gkroussos 0:637031152314 5718 #define TEMP_INTENCLR_DATARDY_Pos (0UL) /*!< Position of DATARDY field. */
gkroussos 0:637031152314 5719 #define TEMP_INTENCLR_DATARDY_Msk (0x1UL << TEMP_INTENCLR_DATARDY_Pos) /*!< Bit mask of DATARDY field. */
gkroussos 0:637031152314 5720 #define TEMP_INTENCLR_DATARDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5721 #define TEMP_INTENCLR_DATARDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5722 #define TEMP_INTENCLR_DATARDY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5723
gkroussos 0:637031152314 5724 /* Register: TEMP_POWER */
gkroussos 0:637031152314 5725 /* Description: Peripheral power control. */
gkroussos 0:637031152314 5726
gkroussos 0:637031152314 5727 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 5728 #define TEMP_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 5729 #define TEMP_POWER_POWER_Msk (0x1UL << TEMP_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 5730 #define TEMP_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 5731 #define TEMP_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 5732
gkroussos 0:637031152314 5733
gkroussos 0:637031152314 5734 /* Peripheral: TIMER */
gkroussos 0:637031152314 5735 /* Description: Timer 0. */
gkroussos 0:637031152314 5736
gkroussos 0:637031152314 5737 /* Register: TIMER_SHORTS */
gkroussos 0:637031152314 5738 /* Description: Shortcuts for Timer. */
gkroussos 0:637031152314 5739
gkroussos 0:637031152314 5740 /* Bit 11 : Shortcut between CC[3] event and the STOP task. */
gkroussos 0:637031152314 5741 #define TIMER_SHORTS_COMPARE3_STOP_Pos (11UL) /*!< Position of COMPARE3_STOP field. */
gkroussos 0:637031152314 5742 #define TIMER_SHORTS_COMPARE3_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE3_STOP_Pos) /*!< Bit mask of COMPARE3_STOP field. */
gkroussos 0:637031152314 5743 #define TIMER_SHORTS_COMPARE3_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5744 #define TIMER_SHORTS_COMPARE3_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5745
gkroussos 0:637031152314 5746 /* Bit 10 : Shortcut between CC[2] event and the STOP task. */
gkroussos 0:637031152314 5747 #define TIMER_SHORTS_COMPARE2_STOP_Pos (10UL) /*!< Position of COMPARE2_STOP field. */
gkroussos 0:637031152314 5748 #define TIMER_SHORTS_COMPARE2_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE2_STOP_Pos) /*!< Bit mask of COMPARE2_STOP field. */
gkroussos 0:637031152314 5749 #define TIMER_SHORTS_COMPARE2_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5750 #define TIMER_SHORTS_COMPARE2_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5751
gkroussos 0:637031152314 5752 /* Bit 9 : Shortcut between CC[1] event and the STOP task. */
gkroussos 0:637031152314 5753 #define TIMER_SHORTS_COMPARE1_STOP_Pos (9UL) /*!< Position of COMPARE1_STOP field. */
gkroussos 0:637031152314 5754 #define TIMER_SHORTS_COMPARE1_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE1_STOP_Pos) /*!< Bit mask of COMPARE1_STOP field. */
gkroussos 0:637031152314 5755 #define TIMER_SHORTS_COMPARE1_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5756 #define TIMER_SHORTS_COMPARE1_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5757
gkroussos 0:637031152314 5758 /* Bit 8 : Shortcut between CC[0] event and the STOP task. */
gkroussos 0:637031152314 5759 #define TIMER_SHORTS_COMPARE0_STOP_Pos (8UL) /*!< Position of COMPARE0_STOP field. */
gkroussos 0:637031152314 5760 #define TIMER_SHORTS_COMPARE0_STOP_Msk (0x1UL << TIMER_SHORTS_COMPARE0_STOP_Pos) /*!< Bit mask of COMPARE0_STOP field. */
gkroussos 0:637031152314 5761 #define TIMER_SHORTS_COMPARE0_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5762 #define TIMER_SHORTS_COMPARE0_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5763
gkroussos 0:637031152314 5764 /* Bit 3 : Shortcut between CC[3] event and the CLEAR task. */
gkroussos 0:637031152314 5765 #define TIMER_SHORTS_COMPARE3_CLEAR_Pos (3UL) /*!< Position of COMPARE3_CLEAR field. */
gkroussos 0:637031152314 5766 #define TIMER_SHORTS_COMPARE3_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE3_CLEAR_Pos) /*!< Bit mask of COMPARE3_CLEAR field. */
gkroussos 0:637031152314 5767 #define TIMER_SHORTS_COMPARE3_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5768 #define TIMER_SHORTS_COMPARE3_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5769
gkroussos 0:637031152314 5770 /* Bit 2 : Shortcut between CC[2] event and the CLEAR task. */
gkroussos 0:637031152314 5771 #define TIMER_SHORTS_COMPARE2_CLEAR_Pos (2UL) /*!< Position of COMPARE2_CLEAR field. */
gkroussos 0:637031152314 5772 #define TIMER_SHORTS_COMPARE2_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE2_CLEAR_Pos) /*!< Bit mask of COMPARE2_CLEAR field. */
gkroussos 0:637031152314 5773 #define TIMER_SHORTS_COMPARE2_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5774 #define TIMER_SHORTS_COMPARE2_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5775
gkroussos 0:637031152314 5776 /* Bit 1 : Shortcut between CC[1] event and the CLEAR task. */
gkroussos 0:637031152314 5777 #define TIMER_SHORTS_COMPARE1_CLEAR_Pos (1UL) /*!< Position of COMPARE1_CLEAR field. */
gkroussos 0:637031152314 5778 #define TIMER_SHORTS_COMPARE1_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE1_CLEAR_Pos) /*!< Bit mask of COMPARE1_CLEAR field. */
gkroussos 0:637031152314 5779 #define TIMER_SHORTS_COMPARE1_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5780 #define TIMER_SHORTS_COMPARE1_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5781
gkroussos 0:637031152314 5782 /* Bit 0 : Shortcut between CC[0] event and the CLEAR task. */
gkroussos 0:637031152314 5783 #define TIMER_SHORTS_COMPARE0_CLEAR_Pos (0UL) /*!< Position of COMPARE0_CLEAR field. */
gkroussos 0:637031152314 5784 #define TIMER_SHORTS_COMPARE0_CLEAR_Msk (0x1UL << TIMER_SHORTS_COMPARE0_CLEAR_Pos) /*!< Bit mask of COMPARE0_CLEAR field. */
gkroussos 0:637031152314 5785 #define TIMER_SHORTS_COMPARE0_CLEAR_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5786 #define TIMER_SHORTS_COMPARE0_CLEAR_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5787
gkroussos 0:637031152314 5788 /* Register: TIMER_INTENSET */
gkroussos 0:637031152314 5789 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 5790
gkroussos 0:637031152314 5791 /* Bit 19 : Enable interrupt on COMPARE[3] */
gkroussos 0:637031152314 5792 #define TIMER_INTENSET_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
gkroussos 0:637031152314 5793 #define TIMER_INTENSET_COMPARE3_Msk (0x1UL << TIMER_INTENSET_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
gkroussos 0:637031152314 5794 #define TIMER_INTENSET_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5795 #define TIMER_INTENSET_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5796 #define TIMER_INTENSET_COMPARE3_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5797
gkroussos 0:637031152314 5798 /* Bit 18 : Enable interrupt on COMPARE[2] */
gkroussos 0:637031152314 5799 #define TIMER_INTENSET_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
gkroussos 0:637031152314 5800 #define TIMER_INTENSET_COMPARE2_Msk (0x1UL << TIMER_INTENSET_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
gkroussos 0:637031152314 5801 #define TIMER_INTENSET_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5802 #define TIMER_INTENSET_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5803 #define TIMER_INTENSET_COMPARE2_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5804
gkroussos 0:637031152314 5805 /* Bit 17 : Enable interrupt on COMPARE[1] */
gkroussos 0:637031152314 5806 #define TIMER_INTENSET_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
gkroussos 0:637031152314 5807 #define TIMER_INTENSET_COMPARE1_Msk (0x1UL << TIMER_INTENSET_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
gkroussos 0:637031152314 5808 #define TIMER_INTENSET_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5809 #define TIMER_INTENSET_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5810 #define TIMER_INTENSET_COMPARE1_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5811
gkroussos 0:637031152314 5812 /* Bit 16 : Enable interrupt on COMPARE[0] */
gkroussos 0:637031152314 5813 #define TIMER_INTENSET_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
gkroussos 0:637031152314 5814 #define TIMER_INTENSET_COMPARE0_Msk (0x1UL << TIMER_INTENSET_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
gkroussos 0:637031152314 5815 #define TIMER_INTENSET_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5816 #define TIMER_INTENSET_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5817 #define TIMER_INTENSET_COMPARE0_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5818
gkroussos 0:637031152314 5819 /* Register: TIMER_INTENCLR */
gkroussos 0:637031152314 5820 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 5821
gkroussos 0:637031152314 5822 /* Bit 19 : Disable interrupt on COMPARE[3] */
gkroussos 0:637031152314 5823 #define TIMER_INTENCLR_COMPARE3_Pos (19UL) /*!< Position of COMPARE3 field. */
gkroussos 0:637031152314 5824 #define TIMER_INTENCLR_COMPARE3_Msk (0x1UL << TIMER_INTENCLR_COMPARE3_Pos) /*!< Bit mask of COMPARE3 field. */
gkroussos 0:637031152314 5825 #define TIMER_INTENCLR_COMPARE3_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5826 #define TIMER_INTENCLR_COMPARE3_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5827 #define TIMER_INTENCLR_COMPARE3_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5828
gkroussos 0:637031152314 5829 /* Bit 18 : Disable interrupt on COMPARE[2] */
gkroussos 0:637031152314 5830 #define TIMER_INTENCLR_COMPARE2_Pos (18UL) /*!< Position of COMPARE2 field. */
gkroussos 0:637031152314 5831 #define TIMER_INTENCLR_COMPARE2_Msk (0x1UL << TIMER_INTENCLR_COMPARE2_Pos) /*!< Bit mask of COMPARE2 field. */
gkroussos 0:637031152314 5832 #define TIMER_INTENCLR_COMPARE2_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5833 #define TIMER_INTENCLR_COMPARE2_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5834 #define TIMER_INTENCLR_COMPARE2_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5835
gkroussos 0:637031152314 5836 /* Bit 17 : Disable interrupt on COMPARE[1] */
gkroussos 0:637031152314 5837 #define TIMER_INTENCLR_COMPARE1_Pos (17UL) /*!< Position of COMPARE1 field. */
gkroussos 0:637031152314 5838 #define TIMER_INTENCLR_COMPARE1_Msk (0x1UL << TIMER_INTENCLR_COMPARE1_Pos) /*!< Bit mask of COMPARE1 field. */
gkroussos 0:637031152314 5839 #define TIMER_INTENCLR_COMPARE1_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5840 #define TIMER_INTENCLR_COMPARE1_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5841 #define TIMER_INTENCLR_COMPARE1_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5842
gkroussos 0:637031152314 5843 /* Bit 16 : Disable interrupt on COMPARE[0] */
gkroussos 0:637031152314 5844 #define TIMER_INTENCLR_COMPARE0_Pos (16UL) /*!< Position of COMPARE0 field. */
gkroussos 0:637031152314 5845 #define TIMER_INTENCLR_COMPARE0_Msk (0x1UL << TIMER_INTENCLR_COMPARE0_Pos) /*!< Bit mask of COMPARE0 field. */
gkroussos 0:637031152314 5846 #define TIMER_INTENCLR_COMPARE0_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5847 #define TIMER_INTENCLR_COMPARE0_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5848 #define TIMER_INTENCLR_COMPARE0_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5849
gkroussos 0:637031152314 5850 /* Register: TIMER_MODE */
gkroussos 0:637031152314 5851 /* Description: Timer Mode selection. */
gkroussos 0:637031152314 5852
gkroussos 0:637031152314 5853 /* Bit 0 : Select Normal or Counter mode. */
gkroussos 0:637031152314 5854 #define TIMER_MODE_MODE_Pos (0UL) /*!< Position of MODE field. */
gkroussos 0:637031152314 5855 #define TIMER_MODE_MODE_Msk (0x1UL << TIMER_MODE_MODE_Pos) /*!< Bit mask of MODE field. */
gkroussos 0:637031152314 5856 #define TIMER_MODE_MODE_Timer (0UL) /*!< Timer in Normal mode. */
gkroussos 0:637031152314 5857 #define TIMER_MODE_MODE_Counter (1UL) /*!< Timer in Counter mode. */
gkroussos 0:637031152314 5858
gkroussos 0:637031152314 5859 /* Register: TIMER_BITMODE */
gkroussos 0:637031152314 5860 /* Description: Sets timer behaviour. */
gkroussos 0:637031152314 5861
gkroussos 0:637031152314 5862 /* Bits 1..0 : Sets timer behaviour ro be like the implementation of a timer with width as indicated. */
gkroussos 0:637031152314 5863 #define TIMER_BITMODE_BITMODE_Pos (0UL) /*!< Position of BITMODE field. */
gkroussos 0:637031152314 5864 #define TIMER_BITMODE_BITMODE_Msk (0x3UL << TIMER_BITMODE_BITMODE_Pos) /*!< Bit mask of BITMODE field. */
gkroussos 0:637031152314 5865 #define TIMER_BITMODE_BITMODE_16Bit (0x00UL) /*!< 16-bit timer behaviour. */
gkroussos 0:637031152314 5866 #define TIMER_BITMODE_BITMODE_08Bit (0x01UL) /*!< 8-bit timer behaviour. */
gkroussos 0:637031152314 5867 #define TIMER_BITMODE_BITMODE_24Bit (0x02UL) /*!< 24-bit timer behaviour. */
gkroussos 0:637031152314 5868 #define TIMER_BITMODE_BITMODE_32Bit (0x03UL) /*!< 32-bit timer behaviour. */
gkroussos 0:637031152314 5869
gkroussos 0:637031152314 5870 /* Register: TIMER_PRESCALER */
gkroussos 0:637031152314 5871 /* Description: 4-bit prescaler to source clock frequency (max value 9). Source clock frequency is divided by 2^SCALE. */
gkroussos 0:637031152314 5872
gkroussos 0:637031152314 5873 /* Bits 3..0 : Timer PRESCALER value. Max value is 9. */
gkroussos 0:637031152314 5874 #define TIMER_PRESCALER_PRESCALER_Pos (0UL) /*!< Position of PRESCALER field. */
gkroussos 0:637031152314 5875 #define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */
gkroussos 0:637031152314 5876
gkroussos 0:637031152314 5877 /* Register: TIMER_POWER */
gkroussos 0:637031152314 5878 /* Description: Peripheral power control. */
gkroussos 0:637031152314 5879
gkroussos 0:637031152314 5880 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 5881 #define TIMER_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 5882 #define TIMER_POWER_POWER_Msk (0x1UL << TIMER_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 5883 #define TIMER_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 5884 #define TIMER_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 5885
gkroussos 0:637031152314 5886
gkroussos 0:637031152314 5887 /* Peripheral: TWI */
gkroussos 0:637031152314 5888 /* Description: Two-wire interface master 0. */
gkroussos 0:637031152314 5889
gkroussos 0:637031152314 5890 /* Register: TWI_SHORTS */
gkroussos 0:637031152314 5891 /* Description: Shortcuts for TWI. */
gkroussos 0:637031152314 5892
gkroussos 0:637031152314 5893 /* Bit 1 : Shortcut between BB event and the STOP task. */
gkroussos 0:637031152314 5894 #define TWI_SHORTS_BB_STOP_Pos (1UL) /*!< Position of BB_STOP field. */
gkroussos 0:637031152314 5895 #define TWI_SHORTS_BB_STOP_Msk (0x1UL << TWI_SHORTS_BB_STOP_Pos) /*!< Bit mask of BB_STOP field. */
gkroussos 0:637031152314 5896 #define TWI_SHORTS_BB_STOP_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5897 #define TWI_SHORTS_BB_STOP_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5898
gkroussos 0:637031152314 5899 /* Bit 0 : Shortcut between BB event and the SUSPEND task. */
gkroussos 0:637031152314 5900 #define TWI_SHORTS_BB_SUSPEND_Pos (0UL) /*!< Position of BB_SUSPEND field. */
gkroussos 0:637031152314 5901 #define TWI_SHORTS_BB_SUSPEND_Msk (0x1UL << TWI_SHORTS_BB_SUSPEND_Pos) /*!< Bit mask of BB_SUSPEND field. */
gkroussos 0:637031152314 5902 #define TWI_SHORTS_BB_SUSPEND_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 5903 #define TWI_SHORTS_BB_SUSPEND_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 5904
gkroussos 0:637031152314 5905 /* Register: TWI_INTENSET */
gkroussos 0:637031152314 5906 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 5907
gkroussos 0:637031152314 5908 /* Bit 14 : Enable interrupt on BB event. */
gkroussos 0:637031152314 5909 #define TWI_INTENSET_BB_Pos (14UL) /*!< Position of BB field. */
gkroussos 0:637031152314 5910 #define TWI_INTENSET_BB_Msk (0x1UL << TWI_INTENSET_BB_Pos) /*!< Bit mask of BB field. */
gkroussos 0:637031152314 5911 #define TWI_INTENSET_BB_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5912 #define TWI_INTENSET_BB_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5913 #define TWI_INTENSET_BB_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5914
gkroussos 0:637031152314 5915 /* Bit 9 : Enable interrupt on ERROR event. */
gkroussos 0:637031152314 5916 #define TWI_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
gkroussos 0:637031152314 5917 #define TWI_INTENSET_ERROR_Msk (0x1UL << TWI_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
gkroussos 0:637031152314 5918 #define TWI_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5919 #define TWI_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5920 #define TWI_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5921
gkroussos 0:637031152314 5922 /* Bit 7 : Enable interrupt on TXDSENT event. */
gkroussos 0:637031152314 5923 #define TWI_INTENSET_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
gkroussos 0:637031152314 5924 #define TWI_INTENSET_TXDSENT_Msk (0x1UL << TWI_INTENSET_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
gkroussos 0:637031152314 5925 #define TWI_INTENSET_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5926 #define TWI_INTENSET_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5927 #define TWI_INTENSET_TXDSENT_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5928
gkroussos 0:637031152314 5929 /* Bit 2 : Enable interrupt on READY event. */
gkroussos 0:637031152314 5930 #define TWI_INTENSET_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
gkroussos 0:637031152314 5931 #define TWI_INTENSET_RXDREADY_Msk (0x1UL << TWI_INTENSET_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
gkroussos 0:637031152314 5932 #define TWI_INTENSET_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5933 #define TWI_INTENSET_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5934 #define TWI_INTENSET_RXDREADY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5935
gkroussos 0:637031152314 5936 /* Bit 1 : Enable interrupt on STOPPED event. */
gkroussos 0:637031152314 5937 #define TWI_INTENSET_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
gkroussos 0:637031152314 5938 #define TWI_INTENSET_STOPPED_Msk (0x1UL << TWI_INTENSET_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
gkroussos 0:637031152314 5939 #define TWI_INTENSET_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5940 #define TWI_INTENSET_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5941 #define TWI_INTENSET_STOPPED_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 5942
gkroussos 0:637031152314 5943 /* Register: TWI_INTENCLR */
gkroussos 0:637031152314 5944 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 5945
gkroussos 0:637031152314 5946 /* Bit 14 : Disable interrupt on BB event. */
gkroussos 0:637031152314 5947 #define TWI_INTENCLR_BB_Pos (14UL) /*!< Position of BB field. */
gkroussos 0:637031152314 5948 #define TWI_INTENCLR_BB_Msk (0x1UL << TWI_INTENCLR_BB_Pos) /*!< Bit mask of BB field. */
gkroussos 0:637031152314 5949 #define TWI_INTENCLR_BB_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5950 #define TWI_INTENCLR_BB_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5951 #define TWI_INTENCLR_BB_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5952
gkroussos 0:637031152314 5953 /* Bit 9 : Disable interrupt on ERROR event. */
gkroussos 0:637031152314 5954 #define TWI_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
gkroussos 0:637031152314 5955 #define TWI_INTENCLR_ERROR_Msk (0x1UL << TWI_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
gkroussos 0:637031152314 5956 #define TWI_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5957 #define TWI_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5958 #define TWI_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5959
gkroussos 0:637031152314 5960 /* Bit 7 : Disable interrupt on TXDSENT event. */
gkroussos 0:637031152314 5961 #define TWI_INTENCLR_TXDSENT_Pos (7UL) /*!< Position of TXDSENT field. */
gkroussos 0:637031152314 5962 #define TWI_INTENCLR_TXDSENT_Msk (0x1UL << TWI_INTENCLR_TXDSENT_Pos) /*!< Bit mask of TXDSENT field. */
gkroussos 0:637031152314 5963 #define TWI_INTENCLR_TXDSENT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5964 #define TWI_INTENCLR_TXDSENT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5965 #define TWI_INTENCLR_TXDSENT_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5966
gkroussos 0:637031152314 5967 /* Bit 2 : Disable interrupt on RXDREADY event. */
gkroussos 0:637031152314 5968 #define TWI_INTENCLR_RXDREADY_Pos (2UL) /*!< Position of RXDREADY field. */
gkroussos 0:637031152314 5969 #define TWI_INTENCLR_RXDREADY_Msk (0x1UL << TWI_INTENCLR_RXDREADY_Pos) /*!< Bit mask of RXDREADY field. */
gkroussos 0:637031152314 5970 #define TWI_INTENCLR_RXDREADY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5971 #define TWI_INTENCLR_RXDREADY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5972 #define TWI_INTENCLR_RXDREADY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5973
gkroussos 0:637031152314 5974 /* Bit 1 : Disable interrupt on STOPPED event. */
gkroussos 0:637031152314 5975 #define TWI_INTENCLR_STOPPED_Pos (1UL) /*!< Position of STOPPED field. */
gkroussos 0:637031152314 5976 #define TWI_INTENCLR_STOPPED_Msk (0x1UL << TWI_INTENCLR_STOPPED_Pos) /*!< Bit mask of STOPPED field. */
gkroussos 0:637031152314 5977 #define TWI_INTENCLR_STOPPED_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 5978 #define TWI_INTENCLR_STOPPED_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 5979 #define TWI_INTENCLR_STOPPED_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 5980
gkroussos 0:637031152314 5981 /* Register: TWI_ERRORSRC */
gkroussos 0:637031152314 5982 /* Description: Two-wire error source. Write error field to 1 to clear error. */
gkroussos 0:637031152314 5983
gkroussos 0:637031152314 5984 /* Bit 2 : NACK received after sending a data byte. */
gkroussos 0:637031152314 5985 #define TWI_ERRORSRC_DNACK_Pos (2UL) /*!< Position of DNACK field. */
gkroussos 0:637031152314 5986 #define TWI_ERRORSRC_DNACK_Msk (0x1UL << TWI_ERRORSRC_DNACK_Pos) /*!< Bit mask of DNACK field. */
gkroussos 0:637031152314 5987 #define TWI_ERRORSRC_DNACK_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 5988 #define TWI_ERRORSRC_DNACK_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 5989 #define TWI_ERRORSRC_DNACK_Clear (1UL) /*!< Clear error on write. */
gkroussos 0:637031152314 5990
gkroussos 0:637031152314 5991 /* Bit 1 : NACK received after sending the address. */
gkroussos 0:637031152314 5992 #define TWI_ERRORSRC_ANACK_Pos (1UL) /*!< Position of ANACK field. */
gkroussos 0:637031152314 5993 #define TWI_ERRORSRC_ANACK_Msk (0x1UL << TWI_ERRORSRC_ANACK_Pos) /*!< Bit mask of ANACK field. */
gkroussos 0:637031152314 5994 #define TWI_ERRORSRC_ANACK_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 5995 #define TWI_ERRORSRC_ANACK_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 5996 #define TWI_ERRORSRC_ANACK_Clear (1UL) /*!< Clear error on write. */
gkroussos 0:637031152314 5997
gkroussos 0:637031152314 5998 /* Register: TWI_ENABLE */
gkroussos 0:637031152314 5999 /* Description: Enable two-wire master. */
gkroussos 0:637031152314 6000
gkroussos 0:637031152314 6001 /* Bits 2..0 : Enable or disable W2M */
gkroussos 0:637031152314 6002 #define TWI_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 6003 #define TWI_ENABLE_ENABLE_Msk (0x7UL << TWI_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 6004 #define TWI_ENABLE_ENABLE_Disabled (0x00UL) /*!< Disabled. */
gkroussos 0:637031152314 6005 #define TWI_ENABLE_ENABLE_Enabled (0x05UL) /*!< Enabled. */
gkroussos 0:637031152314 6006
gkroussos 0:637031152314 6007 /* Register: TWI_RXD */
gkroussos 0:637031152314 6008 /* Description: RX data register. */
gkroussos 0:637031152314 6009
gkroussos 0:637031152314 6010 /* Bits 7..0 : RX data from last transfer. */
gkroussos 0:637031152314 6011 #define TWI_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
gkroussos 0:637031152314 6012 #define TWI_RXD_RXD_Msk (0xFFUL << TWI_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
gkroussos 0:637031152314 6013
gkroussos 0:637031152314 6014 /* Register: TWI_TXD */
gkroussos 0:637031152314 6015 /* Description: TX data register. */
gkroussos 0:637031152314 6016
gkroussos 0:637031152314 6017 /* Bits 7..0 : TX data for next transfer. */
gkroussos 0:637031152314 6018 #define TWI_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
gkroussos 0:637031152314 6019 #define TWI_TXD_TXD_Msk (0xFFUL << TWI_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
gkroussos 0:637031152314 6020
gkroussos 0:637031152314 6021 /* Register: TWI_FREQUENCY */
gkroussos 0:637031152314 6022 /* Description: Two-wire frequency. */
gkroussos 0:637031152314 6023
gkroussos 0:637031152314 6024 /* Bits 31..0 : Two-wire master clock frequency. */
gkroussos 0:637031152314 6025 #define TWI_FREQUENCY_FREQUENCY_Pos (0UL) /*!< Position of FREQUENCY field. */
gkroussos 0:637031152314 6026 #define TWI_FREQUENCY_FREQUENCY_Msk (0xFFFFFFFFUL << TWI_FREQUENCY_FREQUENCY_Pos) /*!< Bit mask of FREQUENCY field. */
gkroussos 0:637031152314 6027 #define TWI_FREQUENCY_FREQUENCY_K100 (0x01980000UL) /*!< 100 kbps. */
gkroussos 0:637031152314 6028 #define TWI_FREQUENCY_FREQUENCY_K250 (0x04000000UL) /*!< 250 kbps. */
gkroussos 0:637031152314 6029 #define TWI_FREQUENCY_FREQUENCY_K400 (0x06680000UL) /*!< 400 kbps. */
gkroussos 0:637031152314 6030
gkroussos 0:637031152314 6031 /* Register: TWI_ADDRESS */
gkroussos 0:637031152314 6032 /* Description: Address used in the two-wire transfer. */
gkroussos 0:637031152314 6033
gkroussos 0:637031152314 6034 /* Bits 6..0 : Two-wire address. */
gkroussos 0:637031152314 6035 #define TWI_ADDRESS_ADDRESS_Pos (0UL) /*!< Position of ADDRESS field. */
gkroussos 0:637031152314 6036 #define TWI_ADDRESS_ADDRESS_Msk (0x7FUL << TWI_ADDRESS_ADDRESS_Pos) /*!< Bit mask of ADDRESS field. */
gkroussos 0:637031152314 6037
gkroussos 0:637031152314 6038 /* Register: TWI_POWER */
gkroussos 0:637031152314 6039 /* Description: Peripheral power control. */
gkroussos 0:637031152314 6040
gkroussos 0:637031152314 6041 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 6042 #define TWI_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 6043 #define TWI_POWER_POWER_Msk (0x1UL << TWI_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 6044 #define TWI_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 6045 #define TWI_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 6046
gkroussos 0:637031152314 6047
gkroussos 0:637031152314 6048 /* Peripheral: UART */
gkroussos 0:637031152314 6049 /* Description: Universal Asynchronous Receiver/Transmitter. */
gkroussos 0:637031152314 6050
gkroussos 0:637031152314 6051 /* Register: UART_SHORTS */
gkroussos 0:637031152314 6052 /* Description: Shortcuts for TWI. */
gkroussos 0:637031152314 6053
gkroussos 0:637031152314 6054 /* Bit 4 : Shortcut between NCTS event and the STOPRX task. */
gkroussos 0:637031152314 6055 #define UART_SHORTS_NCTS_STOPRX_Pos (4UL) /*!< Position of NCTS_STOPRX field. */
gkroussos 0:637031152314 6056 #define UART_SHORTS_NCTS_STOPRX_Msk (0x1UL << UART_SHORTS_NCTS_STOPRX_Pos) /*!< Bit mask of NCTS_STOPRX field. */
gkroussos 0:637031152314 6057 #define UART_SHORTS_NCTS_STOPRX_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 6058 #define UART_SHORTS_NCTS_STOPRX_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 6059
gkroussos 0:637031152314 6060 /* Bit 3 : Shortcut between CTS event and the STARTRX task. */
gkroussos 0:637031152314 6061 #define UART_SHORTS_CTS_STARTRX_Pos (3UL) /*!< Position of CTS_STARTRX field. */
gkroussos 0:637031152314 6062 #define UART_SHORTS_CTS_STARTRX_Msk (0x1UL << UART_SHORTS_CTS_STARTRX_Pos) /*!< Bit mask of CTS_STARTRX field. */
gkroussos 0:637031152314 6063 #define UART_SHORTS_CTS_STARTRX_Disabled (0UL) /*!< Shortcut disabled. */
gkroussos 0:637031152314 6064 #define UART_SHORTS_CTS_STARTRX_Enabled (1UL) /*!< Shortcut enabled. */
gkroussos 0:637031152314 6065
gkroussos 0:637031152314 6066 /* Register: UART_INTENSET */
gkroussos 0:637031152314 6067 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 6068
gkroussos 0:637031152314 6069 /* Bit 17 : Enable interrupt on RXTO event. */
gkroussos 0:637031152314 6070 #define UART_INTENSET_RXTO_Pos (17UL) /*!< Position of RXTO field. */
gkroussos 0:637031152314 6071 #define UART_INTENSET_RXTO_Msk (0x1UL << UART_INTENSET_RXTO_Pos) /*!< Bit mask of RXTO field. */
gkroussos 0:637031152314 6072 #define UART_INTENSET_RXTO_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6073 #define UART_INTENSET_RXTO_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6074 #define UART_INTENSET_RXTO_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 6075
gkroussos 0:637031152314 6076 /* Bit 9 : Enable interrupt on ERROR event. */
gkroussos 0:637031152314 6077 #define UART_INTENSET_ERROR_Pos (9UL) /*!< Position of ERROR field. */
gkroussos 0:637031152314 6078 #define UART_INTENSET_ERROR_Msk (0x1UL << UART_INTENSET_ERROR_Pos) /*!< Bit mask of ERROR field. */
gkroussos 0:637031152314 6079 #define UART_INTENSET_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6080 #define UART_INTENSET_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6081 #define UART_INTENSET_ERROR_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 6082
gkroussos 0:637031152314 6083 /* Bit 7 : Enable interrupt on TXRDY event. */
gkroussos 0:637031152314 6084 #define UART_INTENSET_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
gkroussos 0:637031152314 6085 #define UART_INTENSET_TXDRDY_Msk (0x1UL << UART_INTENSET_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
gkroussos 0:637031152314 6086 #define UART_INTENSET_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6087 #define UART_INTENSET_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6088 #define UART_INTENSET_TXDRDY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 6089
gkroussos 0:637031152314 6090 /* Bit 2 : Enable interrupt on RXRDY event. */
gkroussos 0:637031152314 6091 #define UART_INTENSET_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
gkroussos 0:637031152314 6092 #define UART_INTENSET_RXDRDY_Msk (0x1UL << UART_INTENSET_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
gkroussos 0:637031152314 6093 #define UART_INTENSET_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6094 #define UART_INTENSET_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6095 #define UART_INTENSET_RXDRDY_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 6096
gkroussos 0:637031152314 6097 /* Bit 1 : Enable interrupt on NCTS event. */
gkroussos 0:637031152314 6098 #define UART_INTENSET_NCTS_Pos (1UL) /*!< Position of NCTS field. */
gkroussos 0:637031152314 6099 #define UART_INTENSET_NCTS_Msk (0x1UL << UART_INTENSET_NCTS_Pos) /*!< Bit mask of NCTS field. */
gkroussos 0:637031152314 6100 #define UART_INTENSET_NCTS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6101 #define UART_INTENSET_NCTS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6102 #define UART_INTENSET_NCTS_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 6103
gkroussos 0:637031152314 6104 /* Bit 0 : Enable interrupt on CTS event. */
gkroussos 0:637031152314 6105 #define UART_INTENSET_CTS_Pos (0UL) /*!< Position of CTS field. */
gkroussos 0:637031152314 6106 #define UART_INTENSET_CTS_Msk (0x1UL << UART_INTENSET_CTS_Pos) /*!< Bit mask of CTS field. */
gkroussos 0:637031152314 6107 #define UART_INTENSET_CTS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6108 #define UART_INTENSET_CTS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6109 #define UART_INTENSET_CTS_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 6110
gkroussos 0:637031152314 6111 /* Register: UART_INTENCLR */
gkroussos 0:637031152314 6112 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 6113
gkroussos 0:637031152314 6114 /* Bit 17 : Disable interrupt on RXTO event. */
gkroussos 0:637031152314 6115 #define UART_INTENCLR_RXTO_Pos (17UL) /*!< Position of RXTO field. */
gkroussos 0:637031152314 6116 #define UART_INTENCLR_RXTO_Msk (0x1UL << UART_INTENCLR_RXTO_Pos) /*!< Bit mask of RXTO field. */
gkroussos 0:637031152314 6117 #define UART_INTENCLR_RXTO_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6118 #define UART_INTENCLR_RXTO_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6119 #define UART_INTENCLR_RXTO_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 6120
gkroussos 0:637031152314 6121 /* Bit 9 : Disable interrupt on ERROR event. */
gkroussos 0:637031152314 6122 #define UART_INTENCLR_ERROR_Pos (9UL) /*!< Position of ERROR field. */
gkroussos 0:637031152314 6123 #define UART_INTENCLR_ERROR_Msk (0x1UL << UART_INTENCLR_ERROR_Pos) /*!< Bit mask of ERROR field. */
gkroussos 0:637031152314 6124 #define UART_INTENCLR_ERROR_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6125 #define UART_INTENCLR_ERROR_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6126 #define UART_INTENCLR_ERROR_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 6127
gkroussos 0:637031152314 6128 /* Bit 7 : Disable interrupt on TXRDY event. */
gkroussos 0:637031152314 6129 #define UART_INTENCLR_TXDRDY_Pos (7UL) /*!< Position of TXDRDY field. */
gkroussos 0:637031152314 6130 #define UART_INTENCLR_TXDRDY_Msk (0x1UL << UART_INTENCLR_TXDRDY_Pos) /*!< Bit mask of TXDRDY field. */
gkroussos 0:637031152314 6131 #define UART_INTENCLR_TXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6132 #define UART_INTENCLR_TXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6133 #define UART_INTENCLR_TXDRDY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 6134
gkroussos 0:637031152314 6135 /* Bit 2 : Disable interrupt on RXRDY event. */
gkroussos 0:637031152314 6136 #define UART_INTENCLR_RXDRDY_Pos (2UL) /*!< Position of RXDRDY field. */
gkroussos 0:637031152314 6137 #define UART_INTENCLR_RXDRDY_Msk (0x1UL << UART_INTENCLR_RXDRDY_Pos) /*!< Bit mask of RXDRDY field. */
gkroussos 0:637031152314 6138 #define UART_INTENCLR_RXDRDY_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6139 #define UART_INTENCLR_RXDRDY_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6140 #define UART_INTENCLR_RXDRDY_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 6141
gkroussos 0:637031152314 6142 /* Bit 1 : Disable interrupt on NCTS event. */
gkroussos 0:637031152314 6143 #define UART_INTENCLR_NCTS_Pos (1UL) /*!< Position of NCTS field. */
gkroussos 0:637031152314 6144 #define UART_INTENCLR_NCTS_Msk (0x1UL << UART_INTENCLR_NCTS_Pos) /*!< Bit mask of NCTS field. */
gkroussos 0:637031152314 6145 #define UART_INTENCLR_NCTS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6146 #define UART_INTENCLR_NCTS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6147 #define UART_INTENCLR_NCTS_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 6148
gkroussos 0:637031152314 6149 /* Bit 0 : Disable interrupt on CTS event. */
gkroussos 0:637031152314 6150 #define UART_INTENCLR_CTS_Pos (0UL) /*!< Position of CTS field. */
gkroussos 0:637031152314 6151 #define UART_INTENCLR_CTS_Msk (0x1UL << UART_INTENCLR_CTS_Pos) /*!< Bit mask of CTS field. */
gkroussos 0:637031152314 6152 #define UART_INTENCLR_CTS_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6153 #define UART_INTENCLR_CTS_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6154 #define UART_INTENCLR_CTS_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 6155
gkroussos 0:637031152314 6156 /* Register: UART_ERRORSRC */
gkroussos 0:637031152314 6157 /* Description: Error source. Write error field to 1 to clear error. */
gkroussos 0:637031152314 6158
gkroussos 0:637031152314 6159 /* Bit 3 : The serial data input is '0' for longer than the length of a data frame. */
gkroussos 0:637031152314 6160 #define UART_ERRORSRC_BREAK_Pos (3UL) /*!< Position of BREAK field. */
gkroussos 0:637031152314 6161 #define UART_ERRORSRC_BREAK_Msk (0x1UL << UART_ERRORSRC_BREAK_Pos) /*!< Bit mask of BREAK field. */
gkroussos 0:637031152314 6162 #define UART_ERRORSRC_BREAK_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 6163 #define UART_ERRORSRC_BREAK_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 6164 #define UART_ERRORSRC_BREAK_Clear (1UL) /*!< Clear error on write. */
gkroussos 0:637031152314 6165
gkroussos 0:637031152314 6166 /* Bit 2 : A valid stop bit is not detected on the serial data input after all bits in a character have been received. */
gkroussos 0:637031152314 6167 #define UART_ERRORSRC_FRAMING_Pos (2UL) /*!< Position of FRAMING field. */
gkroussos 0:637031152314 6168 #define UART_ERRORSRC_FRAMING_Msk (0x1UL << UART_ERRORSRC_FRAMING_Pos) /*!< Bit mask of FRAMING field. */
gkroussos 0:637031152314 6169 #define UART_ERRORSRC_FRAMING_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 6170 #define UART_ERRORSRC_FRAMING_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 6171 #define UART_ERRORSRC_FRAMING_Clear (1UL) /*!< Clear error on write. */
gkroussos 0:637031152314 6172
gkroussos 0:637031152314 6173 /* Bit 1 : A character with bad parity is received. Only checked if HW parity control is enabled. */
gkroussos 0:637031152314 6174 #define UART_ERRORSRC_PARITY_Pos (1UL) /*!< Position of PARITY field. */
gkroussos 0:637031152314 6175 #define UART_ERRORSRC_PARITY_Msk (0x1UL << UART_ERRORSRC_PARITY_Pos) /*!< Bit mask of PARITY field. */
gkroussos 0:637031152314 6176 #define UART_ERRORSRC_PARITY_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 6177 #define UART_ERRORSRC_PARITY_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 6178 #define UART_ERRORSRC_PARITY_Clear (1UL) /*!< Clear error on write. */
gkroussos 0:637031152314 6179
gkroussos 0:637031152314 6180 /* Bit 0 : A start bit is received while the previous data still lies in RXD. (Data loss). */
gkroussos 0:637031152314 6181 #define UART_ERRORSRC_OVERRUN_Pos (0UL) /*!< Position of OVERRUN field. */
gkroussos 0:637031152314 6182 #define UART_ERRORSRC_OVERRUN_Msk (0x1UL << UART_ERRORSRC_OVERRUN_Pos) /*!< Bit mask of OVERRUN field. */
gkroussos 0:637031152314 6183 #define UART_ERRORSRC_OVERRUN_NotPresent (0UL) /*!< Error not present. */
gkroussos 0:637031152314 6184 #define UART_ERRORSRC_OVERRUN_Present (1UL) /*!< Error present. */
gkroussos 0:637031152314 6185 #define UART_ERRORSRC_OVERRUN_Clear (1UL) /*!< Clear error on write. */
gkroussos 0:637031152314 6186
gkroussos 0:637031152314 6187 /* Register: UART_ENABLE */
gkroussos 0:637031152314 6188 /* Description: Enable UART and acquire IOs. */
gkroussos 0:637031152314 6189
gkroussos 0:637031152314 6190 /* Bits 2..0 : Enable or disable UART and acquire IOs. */
gkroussos 0:637031152314 6191 #define UART_ENABLE_ENABLE_Pos (0UL) /*!< Position of ENABLE field. */
gkroussos 0:637031152314 6192 #define UART_ENABLE_ENABLE_Msk (0x7UL << UART_ENABLE_ENABLE_Pos) /*!< Bit mask of ENABLE field. */
gkroussos 0:637031152314 6193 #define UART_ENABLE_ENABLE_Disabled (0x00UL) /*!< UART disabled. */
gkroussos 0:637031152314 6194 #define UART_ENABLE_ENABLE_Enabled (0x04UL) /*!< UART enabled. */
gkroussos 0:637031152314 6195
gkroussos 0:637031152314 6196 /* Register: UART_RXD */
gkroussos 0:637031152314 6197 /* Description: RXD register. On read action the buffer pointer is displaced. Once read the character is consummed. If read when no character available, the UART will stop working. */
gkroussos 0:637031152314 6198
gkroussos 0:637031152314 6199 /* Bits 7..0 : RX data from previous transfer. Double buffered. */
gkroussos 0:637031152314 6200 #define UART_RXD_RXD_Pos (0UL) /*!< Position of RXD field. */
gkroussos 0:637031152314 6201 #define UART_RXD_RXD_Msk (0xFFUL << UART_RXD_RXD_Pos) /*!< Bit mask of RXD field. */
gkroussos 0:637031152314 6202
gkroussos 0:637031152314 6203 /* Register: UART_TXD */
gkroussos 0:637031152314 6204 /* Description: TXD register. */
gkroussos 0:637031152314 6205
gkroussos 0:637031152314 6206 /* Bits 7..0 : TX data for transfer. */
gkroussos 0:637031152314 6207 #define UART_TXD_TXD_Pos (0UL) /*!< Position of TXD field. */
gkroussos 0:637031152314 6208 #define UART_TXD_TXD_Msk (0xFFUL << UART_TXD_TXD_Pos) /*!< Bit mask of TXD field. */
gkroussos 0:637031152314 6209
gkroussos 0:637031152314 6210 /* Register: UART_BAUDRATE */
gkroussos 0:637031152314 6211 /* Description: UART Baudrate. */
gkroussos 0:637031152314 6212
gkroussos 0:637031152314 6213 /* Bits 31..0 : UART baudrate. */
gkroussos 0:637031152314 6214 #define UART_BAUDRATE_BAUDRATE_Pos (0UL) /*!< Position of BAUDRATE field. */
gkroussos 0:637031152314 6215 #define UART_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL << UART_BAUDRATE_BAUDRATE_Pos) /*!< Bit mask of BAUDRATE field. */
gkroussos 0:637031152314 6216 #define UART_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /*!< 1200 baud. */
gkroussos 0:637031152314 6217 #define UART_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /*!< 2400 baud. */
gkroussos 0:637031152314 6218 #define UART_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /*!< 4800 baud. */
gkroussos 0:637031152314 6219 #define UART_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /*!< 9600 baud. */
gkroussos 0:637031152314 6220 #define UART_BAUDRATE_BAUDRATE_Baud14400 (0x003B0000UL) /*!< 14400 baud. */
gkroussos 0:637031152314 6221 #define UART_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /*!< 19200 baud. */
gkroussos 0:637031152314 6222 #define UART_BAUDRATE_BAUDRATE_Baud28800 (0x0075F000UL) /*!< 28800 baud. */
gkroussos 0:637031152314 6223 #define UART_BAUDRATE_BAUDRATE_Baud38400 (0x009D5000UL) /*!< 38400 baud. */
gkroussos 0:637031152314 6224 #define UART_BAUDRATE_BAUDRATE_Baud57600 (0x00EBF000UL) /*!< 57600 baud. */
gkroussos 0:637031152314 6225 #define UART_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /*!< 76800 baud. */
gkroussos 0:637031152314 6226 #define UART_BAUDRATE_BAUDRATE_Baud115200 (0x01D7E000UL) /*!< 115200 baud. */
gkroussos 0:637031152314 6227 #define UART_BAUDRATE_BAUDRATE_Baud230400 (0x03AFB000UL) /*!< 230400 baud. */
gkroussos 0:637031152314 6228 #define UART_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /*!< 250000 baud. */
gkroussos 0:637031152314 6229 #define UART_BAUDRATE_BAUDRATE_Baud460800 (0x075F7000UL) /*!< 460800 baud. */
gkroussos 0:637031152314 6230 #define UART_BAUDRATE_BAUDRATE_Baud921600 (0x0EBEDFA4UL) /*!< 921600 baud. */
gkroussos 0:637031152314 6231 #define UART_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /*!< 1M baud. */
gkroussos 0:637031152314 6232
gkroussos 0:637031152314 6233 /* Register: UART_CONFIG */
gkroussos 0:637031152314 6234 /* Description: Configuration of parity and hardware flow control register. */
gkroussos 0:637031152314 6235
gkroussos 0:637031152314 6236 /* Bits 3..1 : Include parity bit. */
gkroussos 0:637031152314 6237 #define UART_CONFIG_PARITY_Pos (1UL) /*!< Position of PARITY field. */
gkroussos 0:637031152314 6238 #define UART_CONFIG_PARITY_Msk (0x7UL << UART_CONFIG_PARITY_Pos) /*!< Bit mask of PARITY field. */
gkroussos 0:637031152314 6239 #define UART_CONFIG_PARITY_Excluded (0UL) /*!< Parity bit excluded. */
gkroussos 0:637031152314 6240 #define UART_CONFIG_PARITY_Included (7UL) /*!< Parity bit included. */
gkroussos 0:637031152314 6241
gkroussos 0:637031152314 6242 /* Bit 0 : Hardware flow control. */
gkroussos 0:637031152314 6243 #define UART_CONFIG_HWFC_Pos (0UL) /*!< Position of HWFC field. */
gkroussos 0:637031152314 6244 #define UART_CONFIG_HWFC_Msk (0x1UL << UART_CONFIG_HWFC_Pos) /*!< Bit mask of HWFC field. */
gkroussos 0:637031152314 6245 #define UART_CONFIG_HWFC_Disabled (0UL) /*!< Hardware flow control disabled. */
gkroussos 0:637031152314 6246 #define UART_CONFIG_HWFC_Enabled (1UL) /*!< Hardware flow control enabled. */
gkroussos 0:637031152314 6247
gkroussos 0:637031152314 6248 /* Register: UART_POWER */
gkroussos 0:637031152314 6249 /* Description: Peripheral power control. */
gkroussos 0:637031152314 6250
gkroussos 0:637031152314 6251 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 6252 #define UART_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 6253 #define UART_POWER_POWER_Msk (0x1UL << UART_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 6254 #define UART_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 6255 #define UART_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 6256
gkroussos 0:637031152314 6257
gkroussos 0:637031152314 6258 /* Peripheral: UICR */
gkroussos 0:637031152314 6259 /* Description: User Information Configuration. */
gkroussos 0:637031152314 6260
gkroussos 0:637031152314 6261 /* Register: UICR_RBPCONF */
gkroussos 0:637031152314 6262 /* Description: Readback protection configuration. */
gkroussos 0:637031152314 6263
gkroussos 0:637031152314 6264 /* Bits 15..8 : Readback protect all code in the device. */
gkroussos 0:637031152314 6265 #define UICR_RBPCONF_PALL_Pos (8UL) /*!< Position of PALL field. */
gkroussos 0:637031152314 6266 #define UICR_RBPCONF_PALL_Msk (0xFFUL << UICR_RBPCONF_PALL_Pos) /*!< Bit mask of PALL field. */
gkroussos 0:637031152314 6267 #define UICR_RBPCONF_PALL_Disabled (0xFFUL) /*!< Disabled. */
gkroussos 0:637031152314 6268 #define UICR_RBPCONF_PALL_Enabled (0x00UL) /*!< Enabled. */
gkroussos 0:637031152314 6269
gkroussos 0:637031152314 6270 /* Bits 7..0 : Readback protect region 0. Will be ignored if pre-programmed factory code is present on the chip. */
gkroussos 0:637031152314 6271 #define UICR_RBPCONF_PR0_Pos (0UL) /*!< Position of PR0 field. */
gkroussos 0:637031152314 6272 #define UICR_RBPCONF_PR0_Msk (0xFFUL << UICR_RBPCONF_PR0_Pos) /*!< Bit mask of PR0 field. */
gkroussos 0:637031152314 6273 #define UICR_RBPCONF_PR0_Disabled (0xFFUL) /*!< Disabled. */
gkroussos 0:637031152314 6274 #define UICR_RBPCONF_PR0_Enabled (0x00UL) /*!< Enabled. */
gkroussos 0:637031152314 6275
gkroussos 0:637031152314 6276 /* Register: UICR_XTALFREQ */
gkroussos 0:637031152314 6277 /* Description: Reset value for CLOCK XTALFREQ register. */
gkroussos 0:637031152314 6278
gkroussos 0:637031152314 6279 /* Bits 7..0 : Reset value for CLOCK XTALFREQ register. */
gkroussos 0:637031152314 6280 #define UICR_XTALFREQ_XTALFREQ_Pos (0UL) /*!< Position of XTALFREQ field. */
gkroussos 0:637031152314 6281 #define UICR_XTALFREQ_XTALFREQ_Msk (0xFFUL << UICR_XTALFREQ_XTALFREQ_Pos) /*!< Bit mask of XTALFREQ field. */
gkroussos 0:637031152314 6282 #define UICR_XTALFREQ_XTALFREQ_16MHz (0xFFUL) /*!< 16MHz Xtal is used. */
gkroussos 0:637031152314 6283 #define UICR_XTALFREQ_XTALFREQ_32MHz (0x00UL) /*!< 32MHz Xtal is used. */
gkroussos 0:637031152314 6284
gkroussos 0:637031152314 6285 /* Register: UICR_FWID */
gkroussos 0:637031152314 6286 /* Description: Firmware ID. */
gkroussos 0:637031152314 6287
gkroussos 0:637031152314 6288 /* Bits 15..0 : Identification number for the firmware loaded into the chip. */
gkroussos 0:637031152314 6289 #define UICR_FWID_FWID_Pos (0UL) /*!< Position of FWID field. */
gkroussos 0:637031152314 6290 #define UICR_FWID_FWID_Msk (0xFFFFUL << UICR_FWID_FWID_Pos) /*!< Bit mask of FWID field. */
gkroussos 0:637031152314 6291
gkroussos 0:637031152314 6292
gkroussos 0:637031152314 6293 /* Peripheral: WDT */
gkroussos 0:637031152314 6294 /* Description: Watchdog Timer. */
gkroussos 0:637031152314 6295
gkroussos 0:637031152314 6296 /* Register: WDT_INTENSET */
gkroussos 0:637031152314 6297 /* Description: Interrupt enable set register. */
gkroussos 0:637031152314 6298
gkroussos 0:637031152314 6299 /* Bit 0 : Enable interrupt on TIMEOUT event. */
gkroussos 0:637031152314 6300 #define WDT_INTENSET_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
gkroussos 0:637031152314 6301 #define WDT_INTENSET_TIMEOUT_Msk (0x1UL << WDT_INTENSET_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
gkroussos 0:637031152314 6302 #define WDT_INTENSET_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6303 #define WDT_INTENSET_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6304 #define WDT_INTENSET_TIMEOUT_Set (1UL) /*!< Enable interrupt on write. */
gkroussos 0:637031152314 6305
gkroussos 0:637031152314 6306 /* Register: WDT_INTENCLR */
gkroussos 0:637031152314 6307 /* Description: Interrupt enable clear register. */
gkroussos 0:637031152314 6308
gkroussos 0:637031152314 6309 /* Bit 0 : Disable interrupt on TIMEOUT event. */
gkroussos 0:637031152314 6310 #define WDT_INTENCLR_TIMEOUT_Pos (0UL) /*!< Position of TIMEOUT field. */
gkroussos 0:637031152314 6311 #define WDT_INTENCLR_TIMEOUT_Msk (0x1UL << WDT_INTENCLR_TIMEOUT_Pos) /*!< Bit mask of TIMEOUT field. */
gkroussos 0:637031152314 6312 #define WDT_INTENCLR_TIMEOUT_Disabled (0UL) /*!< Interrupt disabled. */
gkroussos 0:637031152314 6313 #define WDT_INTENCLR_TIMEOUT_Enabled (1UL) /*!< Interrupt enabled. */
gkroussos 0:637031152314 6314 #define WDT_INTENCLR_TIMEOUT_Clear (1UL) /*!< Disable interrupt on write. */
gkroussos 0:637031152314 6315
gkroussos 0:637031152314 6316 /* Register: WDT_RUNSTATUS */
gkroussos 0:637031152314 6317 /* Description: Watchdog running status. */
gkroussos 0:637031152314 6318
gkroussos 0:637031152314 6319 /* Bit 0 : Watchdog running status. */
gkroussos 0:637031152314 6320 #define WDT_RUNSTATUS_RUNSTATUS_Pos (0UL) /*!< Position of RUNSTATUS field. */
gkroussos 0:637031152314 6321 #define WDT_RUNSTATUS_RUNSTATUS_Msk (0x1UL << WDT_RUNSTATUS_RUNSTATUS_Pos) /*!< Bit mask of RUNSTATUS field. */
gkroussos 0:637031152314 6322 #define WDT_RUNSTATUS_RUNSTATUS_NotRunning (0UL) /*!< Watchdog timer is not running. */
gkroussos 0:637031152314 6323 #define WDT_RUNSTATUS_RUNSTATUS_Running (1UL) /*!< Watchdog timer is running. */
gkroussos 0:637031152314 6324
gkroussos 0:637031152314 6325 /* Register: WDT_REQSTATUS */
gkroussos 0:637031152314 6326 /* Description: Request status. */
gkroussos 0:637031152314 6327
gkroussos 0:637031152314 6328 /* Bit 7 : Request status for RR[7]. */
gkroussos 0:637031152314 6329 #define WDT_REQSTATUS_RR7_Pos (7UL) /*!< Position of RR7 field. */
gkroussos 0:637031152314 6330 #define WDT_REQSTATUS_RR7_Msk (0x1UL << WDT_REQSTATUS_RR7_Pos) /*!< Bit mask of RR7 field. */
gkroussos 0:637031152314 6331 #define WDT_REQSTATUS_RR7_DisabledOrRequested (0UL) /*!< RR[7] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6332 #define WDT_REQSTATUS_RR7_EnabledAndUnrequested (1UL) /*!< RR[7] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6333
gkroussos 0:637031152314 6334 /* Bit 6 : Request status for RR[6]. */
gkroussos 0:637031152314 6335 #define WDT_REQSTATUS_RR6_Pos (6UL) /*!< Position of RR6 field. */
gkroussos 0:637031152314 6336 #define WDT_REQSTATUS_RR6_Msk (0x1UL << WDT_REQSTATUS_RR6_Pos) /*!< Bit mask of RR6 field. */
gkroussos 0:637031152314 6337 #define WDT_REQSTATUS_RR6_DisabledOrRequested (0UL) /*!< RR[6] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6338 #define WDT_REQSTATUS_RR6_EnabledAndUnrequested (1UL) /*!< RR[6] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6339
gkroussos 0:637031152314 6340 /* Bit 5 : Request status for RR[5]. */
gkroussos 0:637031152314 6341 #define WDT_REQSTATUS_RR5_Pos (5UL) /*!< Position of RR5 field. */
gkroussos 0:637031152314 6342 #define WDT_REQSTATUS_RR5_Msk (0x1UL << WDT_REQSTATUS_RR5_Pos) /*!< Bit mask of RR5 field. */
gkroussos 0:637031152314 6343 #define WDT_REQSTATUS_RR5_DisabledOrRequested (0UL) /*!< RR[5] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6344 #define WDT_REQSTATUS_RR5_EnabledAndUnrequested (1UL) /*!< RR[5] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6345
gkroussos 0:637031152314 6346 /* Bit 4 : Request status for RR[4]. */
gkroussos 0:637031152314 6347 #define WDT_REQSTATUS_RR4_Pos (4UL) /*!< Position of RR4 field. */
gkroussos 0:637031152314 6348 #define WDT_REQSTATUS_RR4_Msk (0x1UL << WDT_REQSTATUS_RR4_Pos) /*!< Bit mask of RR4 field. */
gkroussos 0:637031152314 6349 #define WDT_REQSTATUS_RR4_DisabledOrRequested (0UL) /*!< RR[4] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6350 #define WDT_REQSTATUS_RR4_EnabledAndUnrequested (1UL) /*!< RR[4] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6351
gkroussos 0:637031152314 6352 /* Bit 3 : Request status for RR[3]. */
gkroussos 0:637031152314 6353 #define WDT_REQSTATUS_RR3_Pos (3UL) /*!< Position of RR3 field. */
gkroussos 0:637031152314 6354 #define WDT_REQSTATUS_RR3_Msk (0x1UL << WDT_REQSTATUS_RR3_Pos) /*!< Bit mask of RR3 field. */
gkroussos 0:637031152314 6355 #define WDT_REQSTATUS_RR3_DisabledOrRequested (0UL) /*!< RR[3] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6356 #define WDT_REQSTATUS_RR3_EnabledAndUnrequested (1UL) /*!< RR[3] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6357
gkroussos 0:637031152314 6358 /* Bit 2 : Request status for RR[2]. */
gkroussos 0:637031152314 6359 #define WDT_REQSTATUS_RR2_Pos (2UL) /*!< Position of RR2 field. */
gkroussos 0:637031152314 6360 #define WDT_REQSTATUS_RR2_Msk (0x1UL << WDT_REQSTATUS_RR2_Pos) /*!< Bit mask of RR2 field. */
gkroussos 0:637031152314 6361 #define WDT_REQSTATUS_RR2_DisabledOrRequested (0UL) /*!< RR[2] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6362 #define WDT_REQSTATUS_RR2_EnabledAndUnrequested (1UL) /*!< RR[2] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6363
gkroussos 0:637031152314 6364 /* Bit 1 : Request status for RR[1]. */
gkroussos 0:637031152314 6365 #define WDT_REQSTATUS_RR1_Pos (1UL) /*!< Position of RR1 field. */
gkroussos 0:637031152314 6366 #define WDT_REQSTATUS_RR1_Msk (0x1UL << WDT_REQSTATUS_RR1_Pos) /*!< Bit mask of RR1 field. */
gkroussos 0:637031152314 6367 #define WDT_REQSTATUS_RR1_DisabledOrRequested (0UL) /*!< RR[1] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6368 #define WDT_REQSTATUS_RR1_EnabledAndUnrequested (1UL) /*!< RR[1] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6369
gkroussos 0:637031152314 6370 /* Bit 0 : Request status for RR[0]. */
gkroussos 0:637031152314 6371 #define WDT_REQSTATUS_RR0_Pos (0UL) /*!< Position of RR0 field. */
gkroussos 0:637031152314 6372 #define WDT_REQSTATUS_RR0_Msk (0x1UL << WDT_REQSTATUS_RR0_Pos) /*!< Bit mask of RR0 field. */
gkroussos 0:637031152314 6373 #define WDT_REQSTATUS_RR0_DisabledOrRequested (0UL) /*!< RR[0] register is not enabled or has already requested reload. */
gkroussos 0:637031152314 6374 #define WDT_REQSTATUS_RR0_EnabledAndUnrequested (1UL) /*!< RR[0] register is enabled and has not jet requested. */
gkroussos 0:637031152314 6375
gkroussos 0:637031152314 6376 /* Register: WDT_RREN */
gkroussos 0:637031152314 6377 /* Description: Reload request enable. */
gkroussos 0:637031152314 6378
gkroussos 0:637031152314 6379 /* Bit 7 : Enable or disable RR[7] register. */
gkroussos 0:637031152314 6380 #define WDT_RREN_RR7_Pos (7UL) /*!< Position of RR7 field. */
gkroussos 0:637031152314 6381 #define WDT_RREN_RR7_Msk (0x1UL << WDT_RREN_RR7_Pos) /*!< Bit mask of RR7 field. */
gkroussos 0:637031152314 6382 #define WDT_RREN_RR7_Disabled (0UL) /*!< RR[7] register is disabled. */
gkroussos 0:637031152314 6383 #define WDT_RREN_RR7_Enabled (1UL) /*!< RR[7] register is enabled. */
gkroussos 0:637031152314 6384
gkroussos 0:637031152314 6385 /* Bit 6 : Enable or disable RR[6] register. */
gkroussos 0:637031152314 6386 #define WDT_RREN_RR6_Pos (6UL) /*!< Position of RR6 field. */
gkroussos 0:637031152314 6387 #define WDT_RREN_RR6_Msk (0x1UL << WDT_RREN_RR6_Pos) /*!< Bit mask of RR6 field. */
gkroussos 0:637031152314 6388 #define WDT_RREN_RR6_Disabled (0UL) /*!< RR[6] register is disabled. */
gkroussos 0:637031152314 6389 #define WDT_RREN_RR6_Enabled (1UL) /*!< RR[6] register is enabled. */
gkroussos 0:637031152314 6390
gkroussos 0:637031152314 6391 /* Bit 5 : Enable or disable RR[5] register. */
gkroussos 0:637031152314 6392 #define WDT_RREN_RR5_Pos (5UL) /*!< Position of RR5 field. */
gkroussos 0:637031152314 6393 #define WDT_RREN_RR5_Msk (0x1UL << WDT_RREN_RR5_Pos) /*!< Bit mask of RR5 field. */
gkroussos 0:637031152314 6394 #define WDT_RREN_RR5_Disabled (0UL) /*!< RR[5] register is disabled. */
gkroussos 0:637031152314 6395 #define WDT_RREN_RR5_Enabled (1UL) /*!< RR[5] register is enabled. */
gkroussos 0:637031152314 6396
gkroussos 0:637031152314 6397 /* Bit 4 : Enable or disable RR[4] register. */
gkroussos 0:637031152314 6398 #define WDT_RREN_RR4_Pos (4UL) /*!< Position of RR4 field. */
gkroussos 0:637031152314 6399 #define WDT_RREN_RR4_Msk (0x1UL << WDT_RREN_RR4_Pos) /*!< Bit mask of RR4 field. */
gkroussos 0:637031152314 6400 #define WDT_RREN_RR4_Disabled (0UL) /*!< RR[4] register is disabled. */
gkroussos 0:637031152314 6401 #define WDT_RREN_RR4_Enabled (1UL) /*!< RR[4] register is enabled. */
gkroussos 0:637031152314 6402
gkroussos 0:637031152314 6403 /* Bit 3 : Enable or disable RR[3] register. */
gkroussos 0:637031152314 6404 #define WDT_RREN_RR3_Pos (3UL) /*!< Position of RR3 field. */
gkroussos 0:637031152314 6405 #define WDT_RREN_RR3_Msk (0x1UL << WDT_RREN_RR3_Pos) /*!< Bit mask of RR3 field. */
gkroussos 0:637031152314 6406 #define WDT_RREN_RR3_Disabled (0UL) /*!< RR[3] register is disabled. */
gkroussos 0:637031152314 6407 #define WDT_RREN_RR3_Enabled (1UL) /*!< RR[3] register is enabled. */
gkroussos 0:637031152314 6408
gkroussos 0:637031152314 6409 /* Bit 2 : Enable or disable RR[2] register. */
gkroussos 0:637031152314 6410 #define WDT_RREN_RR2_Pos (2UL) /*!< Position of RR2 field. */
gkroussos 0:637031152314 6411 #define WDT_RREN_RR2_Msk (0x1UL << WDT_RREN_RR2_Pos) /*!< Bit mask of RR2 field. */
gkroussos 0:637031152314 6412 #define WDT_RREN_RR2_Disabled (0UL) /*!< RR[2] register is disabled. */
gkroussos 0:637031152314 6413 #define WDT_RREN_RR2_Enabled (1UL) /*!< RR[2] register is enabled. */
gkroussos 0:637031152314 6414
gkroussos 0:637031152314 6415 /* Bit 1 : Enable or disable RR[1] register. */
gkroussos 0:637031152314 6416 #define WDT_RREN_RR1_Pos (1UL) /*!< Position of RR1 field. */
gkroussos 0:637031152314 6417 #define WDT_RREN_RR1_Msk (0x1UL << WDT_RREN_RR1_Pos) /*!< Bit mask of RR1 field. */
gkroussos 0:637031152314 6418 #define WDT_RREN_RR1_Disabled (0UL) /*!< RR[1] register is disabled. */
gkroussos 0:637031152314 6419 #define WDT_RREN_RR1_Enabled (1UL) /*!< RR[1] register is enabled. */
gkroussos 0:637031152314 6420
gkroussos 0:637031152314 6421 /* Bit 0 : Enable or disable RR[0] register. */
gkroussos 0:637031152314 6422 #define WDT_RREN_RR0_Pos (0UL) /*!< Position of RR0 field. */
gkroussos 0:637031152314 6423 #define WDT_RREN_RR0_Msk (0x1UL << WDT_RREN_RR0_Pos) /*!< Bit mask of RR0 field. */
gkroussos 0:637031152314 6424 #define WDT_RREN_RR0_Disabled (0UL) /*!< RR[0] register is disabled. */
gkroussos 0:637031152314 6425 #define WDT_RREN_RR0_Enabled (1UL) /*!< RR[0] register is enabled. */
gkroussos 0:637031152314 6426
gkroussos 0:637031152314 6427 /* Register: WDT_CONFIG */
gkroussos 0:637031152314 6428 /* Description: Configuration register. */
gkroussos 0:637031152314 6429
gkroussos 0:637031152314 6430 /* Bit 3 : Configure the watchdog to pause or not while the CPU is halted by the debugger. */
gkroussos 0:637031152314 6431 #define WDT_CONFIG_HALT_Pos (3UL) /*!< Position of HALT field. */
gkroussos 0:637031152314 6432 #define WDT_CONFIG_HALT_Msk (0x1UL << WDT_CONFIG_HALT_Pos) /*!< Bit mask of HALT field. */
gkroussos 0:637031152314 6433 #define WDT_CONFIG_HALT_Pause (0UL) /*!< Pause watchdog while the CPU is halted by the debugger. */
gkroussos 0:637031152314 6434 #define WDT_CONFIG_HALT_Run (1UL) /*!< Do not pause watchdog while the CPU is halted by the debugger. */
gkroussos 0:637031152314 6435
gkroussos 0:637031152314 6436 /* Bit 0 : Configure the watchdog to pause or not while the CPU is sleeping. */
gkroussos 0:637031152314 6437 #define WDT_CONFIG_SLEEP_Pos (0UL) /*!< Position of SLEEP field. */
gkroussos 0:637031152314 6438 #define WDT_CONFIG_SLEEP_Msk (0x1UL << WDT_CONFIG_SLEEP_Pos) /*!< Bit mask of SLEEP field. */
gkroussos 0:637031152314 6439 #define WDT_CONFIG_SLEEP_Pause (0UL) /*!< Pause watchdog while the CPU is asleep. */
gkroussos 0:637031152314 6440 #define WDT_CONFIG_SLEEP_Run (1UL) /*!< Do not pause watchdog while the CPU is asleep. */
gkroussos 0:637031152314 6441
gkroussos 0:637031152314 6442 /* Register: WDT_RR */
gkroussos 0:637031152314 6443 /* Description: Reload requests registers. */
gkroussos 0:637031152314 6444
gkroussos 0:637031152314 6445 /* Bits 31..0 : Reload register. */
gkroussos 0:637031152314 6446 #define WDT_RR_RR_Pos (0UL) /*!< Position of RR field. */
gkroussos 0:637031152314 6447 #define WDT_RR_RR_Msk (0xFFFFFFFFUL << WDT_RR_RR_Pos) /*!< Bit mask of RR field. */
gkroussos 0:637031152314 6448 #define WDT_RR_RR_Reload (0x6E524635UL) /*!< Value to request a reload of the watchdog timer. */
gkroussos 0:637031152314 6449
gkroussos 0:637031152314 6450 /* Register: WDT_POWER */
gkroussos 0:637031152314 6451 /* Description: Peripheral power control. */
gkroussos 0:637031152314 6452
gkroussos 0:637031152314 6453 /* Bit 0 : Peripheral power control. */
gkroussos 0:637031152314 6454 #define WDT_POWER_POWER_Pos (0UL) /*!< Position of POWER field. */
gkroussos 0:637031152314 6455 #define WDT_POWER_POWER_Msk (0x1UL << WDT_POWER_POWER_Pos) /*!< Bit mask of POWER field. */
gkroussos 0:637031152314 6456 #define WDT_POWER_POWER_Disabled (0UL) /*!< Module power disabled. */
gkroussos 0:637031152314 6457 #define WDT_POWER_POWER_Enabled (1UL) /*!< Module power enabled. */
gkroussos 0:637031152314 6458
gkroussos 0:637031152314 6459
gkroussos 0:637031152314 6460 /*lint --flb "Leave library region" */
gkroussos 0:637031152314 6461 #endif