5.2.1 - Updated I2C files
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
targets/TARGET_Atmel/common/utils/parts.h@1:f30bdcd2b33b, 2017-02-27 (annotated)
- Committer:
- jacobjohnson
- Date:
- Mon Feb 27 17:45:05 2017 +0000
- Revision:
- 1:f30bdcd2b33b
- Parent:
- 0:098463de4c5d
changed the inputscale from 1 to 7 in analogin_api.c. This will need to be changed later, and accessed from the main level, but for now this allows the adc to read a value from 0 to 3.7V, instead of just up to 1V.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
group-onsemi | 0:098463de4c5d | 1 | #ifndef ATMEL_PARTS_H |
group-onsemi | 0:098463de4c5d | 2 | #define ATMEL_PARTS_H |
group-onsemi | 0:098463de4c5d | 3 | |
group-onsemi | 0:098463de4c5d | 4 | /** |
group-onsemi | 0:098463de4c5d | 5 | * \defgroup part_macros_group Atmel part identification macros |
group-onsemi | 0:098463de4c5d | 6 | * |
group-onsemi | 0:098463de4c5d | 7 | * This collection of macros identify which series and families that the various |
group-onsemi | 0:098463de4c5d | 8 | * Atmel parts belong to. These can be used to select part-dependent sections of |
group-onsemi | 0:098463de4c5d | 9 | * code at compile time. |
group-onsemi | 0:098463de4c5d | 10 | * |
group-onsemi | 0:098463de4c5d | 11 | * @{ |
group-onsemi | 0:098463de4c5d | 12 | */ |
group-onsemi | 0:098463de4c5d | 13 | |
group-onsemi | 0:098463de4c5d | 14 | /** |
group-onsemi | 0:098463de4c5d | 15 | * \name Convenience macros for part checking |
group-onsemi | 0:098463de4c5d | 16 | * @{ |
group-onsemi | 0:098463de4c5d | 17 | */ |
group-onsemi | 0:098463de4c5d | 18 | /* ! Check GCC and IAR part definition for 8-bit AVR */ |
group-onsemi | 0:098463de4c5d | 19 | #define AVR8_PART_IS_DEFINED(part) \ |
group-onsemi | 0:098463de4c5d | 20 | (defined(__ ## part ## __) || defined(__AVR_ ## part ## __)) |
group-onsemi | 0:098463de4c5d | 21 | |
group-onsemi | 0:098463de4c5d | 22 | /* ! Check GCC and IAR part definition for 32-bit AVR */ |
group-onsemi | 0:098463de4c5d | 23 | #define AVR32_PART_IS_DEFINED(part) \ |
group-onsemi | 0:098463de4c5d | 24 | (defined(__AT32 ## part ## __) || defined(__AVR32_ ## part ## __)) |
group-onsemi | 0:098463de4c5d | 25 | |
group-onsemi | 0:098463de4c5d | 26 | /* ! Check GCC and IAR part definition for SAM */ |
group-onsemi | 0:098463de4c5d | 27 | #define SAM_PART_IS_DEFINED(part) (defined(__ ## part ## __)) |
group-onsemi | 0:098463de4c5d | 28 | /** @} */ |
group-onsemi | 0:098463de4c5d | 29 | |
group-onsemi | 0:098463de4c5d | 30 | /** |
group-onsemi | 0:098463de4c5d | 31 | * \defgroup uc3_part_macros_group AVR UC3 parts |
group-onsemi | 0:098463de4c5d | 32 | * @{ |
group-onsemi | 0:098463de4c5d | 33 | */ |
group-onsemi | 0:098463de4c5d | 34 | |
group-onsemi | 0:098463de4c5d | 35 | /** |
group-onsemi | 0:098463de4c5d | 36 | * \name AVR UC3 A series |
group-onsemi | 0:098463de4c5d | 37 | * @{ |
group-onsemi | 0:098463de4c5d | 38 | */ |
group-onsemi | 0:098463de4c5d | 39 | #define UC3A0 ( \ |
group-onsemi | 0:098463de4c5d | 40 | AVR32_PART_IS_DEFINED(UC3A0128) || \ |
group-onsemi | 0:098463de4c5d | 41 | AVR32_PART_IS_DEFINED(UC3A0256) || \ |
group-onsemi | 0:098463de4c5d | 42 | AVR32_PART_IS_DEFINED(UC3A0512) \ |
group-onsemi | 0:098463de4c5d | 43 | ) |
group-onsemi | 0:098463de4c5d | 44 | |
group-onsemi | 0:098463de4c5d | 45 | #define UC3A1 ( \ |
group-onsemi | 0:098463de4c5d | 46 | AVR32_PART_IS_DEFINED(UC3A1128) || \ |
group-onsemi | 0:098463de4c5d | 47 | AVR32_PART_IS_DEFINED(UC3A1256) || \ |
group-onsemi | 0:098463de4c5d | 48 | AVR32_PART_IS_DEFINED(UC3A1512) \ |
group-onsemi | 0:098463de4c5d | 49 | ) |
group-onsemi | 0:098463de4c5d | 50 | |
group-onsemi | 0:098463de4c5d | 51 | #define UC3A3 ( \ |
group-onsemi | 0:098463de4c5d | 52 | AVR32_PART_IS_DEFINED(UC3A364) || \ |
group-onsemi | 0:098463de4c5d | 53 | AVR32_PART_IS_DEFINED(UC3A364S) || \ |
group-onsemi | 0:098463de4c5d | 54 | AVR32_PART_IS_DEFINED(UC3A3128) || \ |
group-onsemi | 0:098463de4c5d | 55 | AVR32_PART_IS_DEFINED(UC3A3128S) || \ |
group-onsemi | 0:098463de4c5d | 56 | AVR32_PART_IS_DEFINED(UC3A3256) || \ |
group-onsemi | 0:098463de4c5d | 57 | AVR32_PART_IS_DEFINED(UC3A3256S) \ |
group-onsemi | 0:098463de4c5d | 58 | ) |
group-onsemi | 0:098463de4c5d | 59 | |
group-onsemi | 0:098463de4c5d | 60 | #define UC3A4 ( \ |
group-onsemi | 0:098463de4c5d | 61 | AVR32_PART_IS_DEFINED(UC3A464) || \ |
group-onsemi | 0:098463de4c5d | 62 | AVR32_PART_IS_DEFINED(UC3A464S) || \ |
group-onsemi | 0:098463de4c5d | 63 | AVR32_PART_IS_DEFINED(UC3A4128) || \ |
group-onsemi | 0:098463de4c5d | 64 | AVR32_PART_IS_DEFINED(UC3A4128S) || \ |
group-onsemi | 0:098463de4c5d | 65 | AVR32_PART_IS_DEFINED(UC3A4256) || \ |
group-onsemi | 0:098463de4c5d | 66 | AVR32_PART_IS_DEFINED(UC3A4256S) \ |
group-onsemi | 0:098463de4c5d | 67 | ) |
group-onsemi | 0:098463de4c5d | 68 | /** @} */ |
group-onsemi | 0:098463de4c5d | 69 | |
group-onsemi | 0:098463de4c5d | 70 | /** |
group-onsemi | 0:098463de4c5d | 71 | * \name AVR UC3 B series |
group-onsemi | 0:098463de4c5d | 72 | * @{ |
group-onsemi | 0:098463de4c5d | 73 | */ |
group-onsemi | 0:098463de4c5d | 74 | #define UC3B0 ( \ |
group-onsemi | 0:098463de4c5d | 75 | AVR32_PART_IS_DEFINED(UC3B064) || \ |
group-onsemi | 0:098463de4c5d | 76 | AVR32_PART_IS_DEFINED(UC3B0128) || \ |
group-onsemi | 0:098463de4c5d | 77 | AVR32_PART_IS_DEFINED(UC3B0256) || \ |
group-onsemi | 0:098463de4c5d | 78 | AVR32_PART_IS_DEFINED(UC3B0512) \ |
group-onsemi | 0:098463de4c5d | 79 | ) |
group-onsemi | 0:098463de4c5d | 80 | |
group-onsemi | 0:098463de4c5d | 81 | #define UC3B1 ( \ |
group-onsemi | 0:098463de4c5d | 82 | AVR32_PART_IS_DEFINED(UC3B164) || \ |
group-onsemi | 0:098463de4c5d | 83 | AVR32_PART_IS_DEFINED(UC3B1128) || \ |
group-onsemi | 0:098463de4c5d | 84 | AVR32_PART_IS_DEFINED(UC3B1256) || \ |
group-onsemi | 0:098463de4c5d | 85 | AVR32_PART_IS_DEFINED(UC3B1512) \ |
group-onsemi | 0:098463de4c5d | 86 | ) |
group-onsemi | 0:098463de4c5d | 87 | /** @} */ |
group-onsemi | 0:098463de4c5d | 88 | |
group-onsemi | 0:098463de4c5d | 89 | /** |
group-onsemi | 0:098463de4c5d | 90 | * \name AVR UC3 C series |
group-onsemi | 0:098463de4c5d | 91 | * @{ |
group-onsemi | 0:098463de4c5d | 92 | */ |
group-onsemi | 0:098463de4c5d | 93 | #define UC3C0 ( \ |
group-onsemi | 0:098463de4c5d | 94 | AVR32_PART_IS_DEFINED(UC3C064C) || \ |
group-onsemi | 0:098463de4c5d | 95 | AVR32_PART_IS_DEFINED(UC3C0128C) || \ |
group-onsemi | 0:098463de4c5d | 96 | AVR32_PART_IS_DEFINED(UC3C0256C) || \ |
group-onsemi | 0:098463de4c5d | 97 | AVR32_PART_IS_DEFINED(UC3C0512C) \ |
group-onsemi | 0:098463de4c5d | 98 | ) |
group-onsemi | 0:098463de4c5d | 99 | |
group-onsemi | 0:098463de4c5d | 100 | #define UC3C1 ( \ |
group-onsemi | 0:098463de4c5d | 101 | AVR32_PART_IS_DEFINED(UC3C164C) || \ |
group-onsemi | 0:098463de4c5d | 102 | AVR32_PART_IS_DEFINED(UC3C1128C) || \ |
group-onsemi | 0:098463de4c5d | 103 | AVR32_PART_IS_DEFINED(UC3C1256C) || \ |
group-onsemi | 0:098463de4c5d | 104 | AVR32_PART_IS_DEFINED(UC3C1512C) \ |
group-onsemi | 0:098463de4c5d | 105 | ) |
group-onsemi | 0:098463de4c5d | 106 | |
group-onsemi | 0:098463de4c5d | 107 | #define UC3C2 ( \ |
group-onsemi | 0:098463de4c5d | 108 | AVR32_PART_IS_DEFINED(UC3C264C) || \ |
group-onsemi | 0:098463de4c5d | 109 | AVR32_PART_IS_DEFINED(UC3C2128C) || \ |
group-onsemi | 0:098463de4c5d | 110 | AVR32_PART_IS_DEFINED(UC3C2256C) || \ |
group-onsemi | 0:098463de4c5d | 111 | AVR32_PART_IS_DEFINED(UC3C2512C) \ |
group-onsemi | 0:098463de4c5d | 112 | ) |
group-onsemi | 0:098463de4c5d | 113 | /** @} */ |
group-onsemi | 0:098463de4c5d | 114 | |
group-onsemi | 0:098463de4c5d | 115 | /** |
group-onsemi | 0:098463de4c5d | 116 | * \name AVR UC3 D series |
group-onsemi | 0:098463de4c5d | 117 | * @{ |
group-onsemi | 0:098463de4c5d | 118 | */ |
group-onsemi | 0:098463de4c5d | 119 | #define UC3D3 ( \ |
group-onsemi | 0:098463de4c5d | 120 | AVR32_PART_IS_DEFINED(UC64D3) || \ |
group-onsemi | 0:098463de4c5d | 121 | AVR32_PART_IS_DEFINED(UC128D3) \ |
group-onsemi | 0:098463de4c5d | 122 | ) |
group-onsemi | 0:098463de4c5d | 123 | |
group-onsemi | 0:098463de4c5d | 124 | #define UC3D4 ( \ |
group-onsemi | 0:098463de4c5d | 125 | AVR32_PART_IS_DEFINED(UC64D4) || \ |
group-onsemi | 0:098463de4c5d | 126 | AVR32_PART_IS_DEFINED(UC128D4) \ |
group-onsemi | 0:098463de4c5d | 127 | ) |
group-onsemi | 0:098463de4c5d | 128 | /** @} */ |
group-onsemi | 0:098463de4c5d | 129 | |
group-onsemi | 0:098463de4c5d | 130 | /** |
group-onsemi | 0:098463de4c5d | 131 | * \name AVR UC3 L series |
group-onsemi | 0:098463de4c5d | 132 | * @{ |
group-onsemi | 0:098463de4c5d | 133 | */ |
group-onsemi | 0:098463de4c5d | 134 | #define UC3L0 ( \ |
group-onsemi | 0:098463de4c5d | 135 | AVR32_PART_IS_DEFINED(UC3L016) || \ |
group-onsemi | 0:098463de4c5d | 136 | AVR32_PART_IS_DEFINED(UC3L032) || \ |
group-onsemi | 0:098463de4c5d | 137 | AVR32_PART_IS_DEFINED(UC3L064) \ |
group-onsemi | 0:098463de4c5d | 138 | ) |
group-onsemi | 0:098463de4c5d | 139 | |
group-onsemi | 0:098463de4c5d | 140 | #define UC3L0128 ( \ |
group-onsemi | 0:098463de4c5d | 141 | AVR32_PART_IS_DEFINED(UC3L0128) \ |
group-onsemi | 0:098463de4c5d | 142 | ) |
group-onsemi | 0:098463de4c5d | 143 | |
group-onsemi | 0:098463de4c5d | 144 | #define UC3L0256 ( \ |
group-onsemi | 0:098463de4c5d | 145 | AVR32_PART_IS_DEFINED(UC3L0256) \ |
group-onsemi | 0:098463de4c5d | 146 | ) |
group-onsemi | 0:098463de4c5d | 147 | |
group-onsemi | 0:098463de4c5d | 148 | #define UC3L3 ( \ |
group-onsemi | 0:098463de4c5d | 149 | AVR32_PART_IS_DEFINED(UC64L3U) || \ |
group-onsemi | 0:098463de4c5d | 150 | AVR32_PART_IS_DEFINED(UC128L3U) || \ |
group-onsemi | 0:098463de4c5d | 151 | AVR32_PART_IS_DEFINED(UC256L3U) \ |
group-onsemi | 0:098463de4c5d | 152 | ) |
group-onsemi | 0:098463de4c5d | 153 | |
group-onsemi | 0:098463de4c5d | 154 | #define UC3L4 ( \ |
group-onsemi | 0:098463de4c5d | 155 | AVR32_PART_IS_DEFINED(UC64L4U) || \ |
group-onsemi | 0:098463de4c5d | 156 | AVR32_PART_IS_DEFINED(UC128L4U) || \ |
group-onsemi | 0:098463de4c5d | 157 | AVR32_PART_IS_DEFINED(UC256L4U) \ |
group-onsemi | 0:098463de4c5d | 158 | ) |
group-onsemi | 0:098463de4c5d | 159 | |
group-onsemi | 0:098463de4c5d | 160 | #define UC3L3_L4 (UC3L3 || UC3L4) |
group-onsemi | 0:098463de4c5d | 161 | /** @} */ |
group-onsemi | 0:098463de4c5d | 162 | |
group-onsemi | 0:098463de4c5d | 163 | /** |
group-onsemi | 0:098463de4c5d | 164 | * \name AVR UC3 families |
group-onsemi | 0:098463de4c5d | 165 | * @{ |
group-onsemi | 0:098463de4c5d | 166 | */ |
group-onsemi | 0:098463de4c5d | 167 | /** AVR UC3 A family */ |
group-onsemi | 0:098463de4c5d | 168 | #define UC3A (UC3A0 || UC3A1 || UC3A3 || UC3A4) |
group-onsemi | 0:098463de4c5d | 169 | |
group-onsemi | 0:098463de4c5d | 170 | /** AVR UC3 B family */ |
group-onsemi | 0:098463de4c5d | 171 | #define UC3B (UC3B0 || UC3B1) |
group-onsemi | 0:098463de4c5d | 172 | |
group-onsemi | 0:098463de4c5d | 173 | /** AVR UC3 C family */ |
group-onsemi | 0:098463de4c5d | 174 | #define UC3C (UC3C0 || UC3C1 || UC3C2) |
group-onsemi | 0:098463de4c5d | 175 | |
group-onsemi | 0:098463de4c5d | 176 | /** AVR UC3 D family */ |
group-onsemi | 0:098463de4c5d | 177 | #define UC3D (UC3D3 || UC3D4) |
group-onsemi | 0:098463de4c5d | 178 | |
group-onsemi | 0:098463de4c5d | 179 | /** AVR UC3 L family */ |
group-onsemi | 0:098463de4c5d | 180 | #define UC3L (UC3L0 || UC3L0128 || UC3L0256 || UC3L3_L4) |
group-onsemi | 0:098463de4c5d | 181 | /** @} */ |
group-onsemi | 0:098463de4c5d | 182 | |
group-onsemi | 0:098463de4c5d | 183 | /** AVR UC3 product line */ |
group-onsemi | 0:098463de4c5d | 184 | #define UC3 (UC3A || UC3B || UC3C || UC3D || UC3L) |
group-onsemi | 0:098463de4c5d | 185 | |
group-onsemi | 0:098463de4c5d | 186 | /** @} */ |
group-onsemi | 0:098463de4c5d | 187 | |
group-onsemi | 0:098463de4c5d | 188 | /** |
group-onsemi | 0:098463de4c5d | 189 | * \defgroup xmega_part_macros_group AVR XMEGA parts |
group-onsemi | 0:098463de4c5d | 190 | * @{ |
group-onsemi | 0:098463de4c5d | 191 | */ |
group-onsemi | 0:098463de4c5d | 192 | |
group-onsemi | 0:098463de4c5d | 193 | /** |
group-onsemi | 0:098463de4c5d | 194 | * \name AVR XMEGA A series |
group-onsemi | 0:098463de4c5d | 195 | * @{ |
group-onsemi | 0:098463de4c5d | 196 | */ |
group-onsemi | 0:098463de4c5d | 197 | #define XMEGA_A1 ( \ |
group-onsemi | 0:098463de4c5d | 198 | AVR8_PART_IS_DEFINED(ATxmega64A1) || \ |
group-onsemi | 0:098463de4c5d | 199 | AVR8_PART_IS_DEFINED(ATxmega128A1) \ |
group-onsemi | 0:098463de4c5d | 200 | ) |
group-onsemi | 0:098463de4c5d | 201 | |
group-onsemi | 0:098463de4c5d | 202 | #define XMEGA_A3 ( \ |
group-onsemi | 0:098463de4c5d | 203 | AVR8_PART_IS_DEFINED(ATxmega64A3) || \ |
group-onsemi | 0:098463de4c5d | 204 | AVR8_PART_IS_DEFINED(ATxmega128A3) || \ |
group-onsemi | 0:098463de4c5d | 205 | AVR8_PART_IS_DEFINED(ATxmega192A3) || \ |
group-onsemi | 0:098463de4c5d | 206 | AVR8_PART_IS_DEFINED(ATxmega256A3) \ |
group-onsemi | 0:098463de4c5d | 207 | ) |
group-onsemi | 0:098463de4c5d | 208 | |
group-onsemi | 0:098463de4c5d | 209 | #define XMEGA_A3B ( \ |
group-onsemi | 0:098463de4c5d | 210 | AVR8_PART_IS_DEFINED(ATxmega256A3B) \ |
group-onsemi | 0:098463de4c5d | 211 | ) |
group-onsemi | 0:098463de4c5d | 212 | |
group-onsemi | 0:098463de4c5d | 213 | #define XMEGA_A4 ( \ |
group-onsemi | 0:098463de4c5d | 214 | AVR8_PART_IS_DEFINED(ATxmega16A4) || \ |
group-onsemi | 0:098463de4c5d | 215 | AVR8_PART_IS_DEFINED(ATxmega32A4) \ |
group-onsemi | 0:098463de4c5d | 216 | ) |
group-onsemi | 0:098463de4c5d | 217 | /** @} */ |
group-onsemi | 0:098463de4c5d | 218 | |
group-onsemi | 0:098463de4c5d | 219 | /** |
group-onsemi | 0:098463de4c5d | 220 | * \name AVR XMEGA AU series |
group-onsemi | 0:098463de4c5d | 221 | * @{ |
group-onsemi | 0:098463de4c5d | 222 | */ |
group-onsemi | 0:098463de4c5d | 223 | #define XMEGA_A1U ( \ |
group-onsemi | 0:098463de4c5d | 224 | AVR8_PART_IS_DEFINED(ATxmega64A1U) || \ |
group-onsemi | 0:098463de4c5d | 225 | AVR8_PART_IS_DEFINED(ATxmega128A1U) \ |
group-onsemi | 0:098463de4c5d | 226 | ) |
group-onsemi | 0:098463de4c5d | 227 | |
group-onsemi | 0:098463de4c5d | 228 | #define XMEGA_A3U ( \ |
group-onsemi | 0:098463de4c5d | 229 | AVR8_PART_IS_DEFINED(ATxmega64A3U) || \ |
group-onsemi | 0:098463de4c5d | 230 | AVR8_PART_IS_DEFINED(ATxmega128A3U) || \ |
group-onsemi | 0:098463de4c5d | 231 | AVR8_PART_IS_DEFINED(ATxmega192A3U) || \ |
group-onsemi | 0:098463de4c5d | 232 | AVR8_PART_IS_DEFINED(ATxmega256A3U) \ |
group-onsemi | 0:098463de4c5d | 233 | ) |
group-onsemi | 0:098463de4c5d | 234 | |
group-onsemi | 0:098463de4c5d | 235 | #define XMEGA_A3BU ( \ |
group-onsemi | 0:098463de4c5d | 236 | AVR8_PART_IS_DEFINED(ATxmega256A3BU) \ |
group-onsemi | 0:098463de4c5d | 237 | ) |
group-onsemi | 0:098463de4c5d | 238 | |
group-onsemi | 0:098463de4c5d | 239 | #define XMEGA_A4U ( \ |
group-onsemi | 0:098463de4c5d | 240 | AVR8_PART_IS_DEFINED(ATxmega16A4U) || \ |
group-onsemi | 0:098463de4c5d | 241 | AVR8_PART_IS_DEFINED(ATxmega32A4U) || \ |
group-onsemi | 0:098463de4c5d | 242 | AVR8_PART_IS_DEFINED(ATxmega64A4U) || \ |
group-onsemi | 0:098463de4c5d | 243 | AVR8_PART_IS_DEFINED(ATxmega128A4U) \ |
group-onsemi | 0:098463de4c5d | 244 | ) |
group-onsemi | 0:098463de4c5d | 245 | /** @} */ |
group-onsemi | 0:098463de4c5d | 246 | |
group-onsemi | 0:098463de4c5d | 247 | /** |
group-onsemi | 0:098463de4c5d | 248 | * \name AVR XMEGA B series |
group-onsemi | 0:098463de4c5d | 249 | * @{ |
group-onsemi | 0:098463de4c5d | 250 | */ |
group-onsemi | 0:098463de4c5d | 251 | #define XMEGA_B1 ( \ |
group-onsemi | 0:098463de4c5d | 252 | AVR8_PART_IS_DEFINED(ATxmega64B1) || \ |
group-onsemi | 0:098463de4c5d | 253 | AVR8_PART_IS_DEFINED(ATxmega128B1) \ |
group-onsemi | 0:098463de4c5d | 254 | ) |
group-onsemi | 0:098463de4c5d | 255 | |
group-onsemi | 0:098463de4c5d | 256 | #define XMEGA_B3 ( \ |
group-onsemi | 0:098463de4c5d | 257 | AVR8_PART_IS_DEFINED(ATxmega64B3) || \ |
group-onsemi | 0:098463de4c5d | 258 | AVR8_PART_IS_DEFINED(ATxmega128B3) \ |
group-onsemi | 0:098463de4c5d | 259 | ) |
group-onsemi | 0:098463de4c5d | 260 | /** @} */ |
group-onsemi | 0:098463de4c5d | 261 | |
group-onsemi | 0:098463de4c5d | 262 | /** |
group-onsemi | 0:098463de4c5d | 263 | * \name AVR XMEGA C series |
group-onsemi | 0:098463de4c5d | 264 | * @{ |
group-onsemi | 0:098463de4c5d | 265 | */ |
group-onsemi | 0:098463de4c5d | 266 | #define XMEGA_C3 ( \ |
group-onsemi | 0:098463de4c5d | 267 | AVR8_PART_IS_DEFINED(ATxmega384C3) || \ |
group-onsemi | 0:098463de4c5d | 268 | AVR8_PART_IS_DEFINED(ATxmega256C3) || \ |
group-onsemi | 0:098463de4c5d | 269 | AVR8_PART_IS_DEFINED(ATxmega192C3) || \ |
group-onsemi | 0:098463de4c5d | 270 | AVR8_PART_IS_DEFINED(ATxmega128C3) || \ |
group-onsemi | 0:098463de4c5d | 271 | AVR8_PART_IS_DEFINED(ATxmega64C3) || \ |
group-onsemi | 0:098463de4c5d | 272 | AVR8_PART_IS_DEFINED(ATxmega32C3) \ |
group-onsemi | 0:098463de4c5d | 273 | ) |
group-onsemi | 0:098463de4c5d | 274 | |
group-onsemi | 0:098463de4c5d | 275 | #define XMEGA_C4 ( \ |
group-onsemi | 0:098463de4c5d | 276 | AVR8_PART_IS_DEFINED(ATxmega32C4) || \ |
group-onsemi | 0:098463de4c5d | 277 | AVR8_PART_IS_DEFINED(ATxmega16C4) \ |
group-onsemi | 0:098463de4c5d | 278 | ) |
group-onsemi | 0:098463de4c5d | 279 | /** @} */ |
group-onsemi | 0:098463de4c5d | 280 | |
group-onsemi | 0:098463de4c5d | 281 | /** |
group-onsemi | 0:098463de4c5d | 282 | * \name AVR XMEGA D series |
group-onsemi | 0:098463de4c5d | 283 | * @{ |
group-onsemi | 0:098463de4c5d | 284 | */ |
group-onsemi | 0:098463de4c5d | 285 | #define XMEGA_D3 ( \ |
group-onsemi | 0:098463de4c5d | 286 | AVR8_PART_IS_DEFINED(ATxmega32D3) || \ |
group-onsemi | 0:098463de4c5d | 287 | AVR8_PART_IS_DEFINED(ATxmega64D3) || \ |
group-onsemi | 0:098463de4c5d | 288 | AVR8_PART_IS_DEFINED(ATxmega128D3) || \ |
group-onsemi | 0:098463de4c5d | 289 | AVR8_PART_IS_DEFINED(ATxmega192D3) || \ |
group-onsemi | 0:098463de4c5d | 290 | AVR8_PART_IS_DEFINED(ATxmega256D3) || \ |
group-onsemi | 0:098463de4c5d | 291 | AVR8_PART_IS_DEFINED(ATxmega384D3) \ |
group-onsemi | 0:098463de4c5d | 292 | ) |
group-onsemi | 0:098463de4c5d | 293 | |
group-onsemi | 0:098463de4c5d | 294 | #define XMEGA_D4 ( \ |
group-onsemi | 0:098463de4c5d | 295 | AVR8_PART_IS_DEFINED(ATxmega16D4) || \ |
group-onsemi | 0:098463de4c5d | 296 | AVR8_PART_IS_DEFINED(ATxmega32D4) || \ |
group-onsemi | 0:098463de4c5d | 297 | AVR8_PART_IS_DEFINED(ATxmega64D4) || \ |
group-onsemi | 0:098463de4c5d | 298 | AVR8_PART_IS_DEFINED(ATxmega128D4) \ |
group-onsemi | 0:098463de4c5d | 299 | ) |
group-onsemi | 0:098463de4c5d | 300 | /** @} */ |
group-onsemi | 0:098463de4c5d | 301 | |
group-onsemi | 0:098463de4c5d | 302 | /** |
group-onsemi | 0:098463de4c5d | 303 | * \name AVR XMEGA E series |
group-onsemi | 0:098463de4c5d | 304 | * @{ |
group-onsemi | 0:098463de4c5d | 305 | */ |
group-onsemi | 0:098463de4c5d | 306 | #define XMEGA_E5 ( \ |
group-onsemi | 0:098463de4c5d | 307 | AVR8_PART_IS_DEFINED(ATxmega8E5) || \ |
group-onsemi | 0:098463de4c5d | 308 | AVR8_PART_IS_DEFINED(ATxmega16E5) || \ |
group-onsemi | 0:098463de4c5d | 309 | AVR8_PART_IS_DEFINED(ATxmega32E5) \ |
group-onsemi | 0:098463de4c5d | 310 | ) |
group-onsemi | 0:098463de4c5d | 311 | /** @} */ |
group-onsemi | 0:098463de4c5d | 312 | |
group-onsemi | 0:098463de4c5d | 313 | |
group-onsemi | 0:098463de4c5d | 314 | /** |
group-onsemi | 0:098463de4c5d | 315 | * \name AVR XMEGA families |
group-onsemi | 0:098463de4c5d | 316 | * @{ |
group-onsemi | 0:098463de4c5d | 317 | */ |
group-onsemi | 0:098463de4c5d | 318 | /** AVR XMEGA A family */ |
group-onsemi | 0:098463de4c5d | 319 | #define XMEGA_A (XMEGA_A1 || XMEGA_A3 || XMEGA_A3B || XMEGA_A4) |
group-onsemi | 0:098463de4c5d | 320 | |
group-onsemi | 0:098463de4c5d | 321 | /** AVR XMEGA AU family */ |
group-onsemi | 0:098463de4c5d | 322 | #define XMEGA_AU (XMEGA_A1U || XMEGA_A3U || XMEGA_A3BU || XMEGA_A4U) |
group-onsemi | 0:098463de4c5d | 323 | |
group-onsemi | 0:098463de4c5d | 324 | /** AVR XMEGA B family */ |
group-onsemi | 0:098463de4c5d | 325 | #define XMEGA_B (XMEGA_B1 || XMEGA_B3) |
group-onsemi | 0:098463de4c5d | 326 | |
group-onsemi | 0:098463de4c5d | 327 | /** AVR XMEGA C family */ |
group-onsemi | 0:098463de4c5d | 328 | #define XMEGA_C (XMEGA_C3 || XMEGA_C4) |
group-onsemi | 0:098463de4c5d | 329 | |
group-onsemi | 0:098463de4c5d | 330 | /** AVR XMEGA D family */ |
group-onsemi | 0:098463de4c5d | 331 | #define XMEGA_D (XMEGA_D3 || XMEGA_D4) |
group-onsemi | 0:098463de4c5d | 332 | |
group-onsemi | 0:098463de4c5d | 333 | /** AVR XMEGA E family */ |
group-onsemi | 0:098463de4c5d | 334 | #define XMEGA_E (XMEGA_E5) |
group-onsemi | 0:098463de4c5d | 335 | /** @} */ |
group-onsemi | 0:098463de4c5d | 336 | |
group-onsemi | 0:098463de4c5d | 337 | |
group-onsemi | 0:098463de4c5d | 338 | /** AVR XMEGA product line */ |
group-onsemi | 0:098463de4c5d | 339 | #define XMEGA (XMEGA_A || XMEGA_AU || XMEGA_B || XMEGA_C || XMEGA_D || XMEGA_E) |
group-onsemi | 0:098463de4c5d | 340 | |
group-onsemi | 0:098463de4c5d | 341 | /** @} */ |
group-onsemi | 0:098463de4c5d | 342 | |
group-onsemi | 0:098463de4c5d | 343 | /** |
group-onsemi | 0:098463de4c5d | 344 | * \defgroup mega_part_macros_group megaAVR parts |
group-onsemi | 0:098463de4c5d | 345 | * |
group-onsemi | 0:098463de4c5d | 346 | * \note These megaAVR groupings are based on the groups in AVR Libc for the |
group-onsemi | 0:098463de4c5d | 347 | * part header files. They are not names of official megaAVR device series or |
group-onsemi | 0:098463de4c5d | 348 | * families. |
group-onsemi | 0:098463de4c5d | 349 | * |
group-onsemi | 0:098463de4c5d | 350 | * @{ |
group-onsemi | 0:098463de4c5d | 351 | */ |
group-onsemi | 0:098463de4c5d | 352 | |
group-onsemi | 0:098463de4c5d | 353 | /** |
group-onsemi | 0:098463de4c5d | 354 | * \name ATmegaxx0/xx1 subgroups |
group-onsemi | 0:098463de4c5d | 355 | * @{ |
group-onsemi | 0:098463de4c5d | 356 | */ |
group-onsemi | 0:098463de4c5d | 357 | #define MEGA_XX0 ( \ |
group-onsemi | 0:098463de4c5d | 358 | AVR8_PART_IS_DEFINED(ATmega640) || \ |
group-onsemi | 0:098463de4c5d | 359 | AVR8_PART_IS_DEFINED(ATmega1280) || \ |
group-onsemi | 0:098463de4c5d | 360 | AVR8_PART_IS_DEFINED(ATmega2560) \ |
group-onsemi | 0:098463de4c5d | 361 | ) |
group-onsemi | 0:098463de4c5d | 362 | |
group-onsemi | 0:098463de4c5d | 363 | #define MEGA_XX1 ( \ |
group-onsemi | 0:098463de4c5d | 364 | AVR8_PART_IS_DEFINED(ATmega1281) || \ |
group-onsemi | 0:098463de4c5d | 365 | AVR8_PART_IS_DEFINED(ATmega2561) \ |
group-onsemi | 0:098463de4c5d | 366 | ) |
group-onsemi | 0:098463de4c5d | 367 | /** @} */ |
group-onsemi | 0:098463de4c5d | 368 | |
group-onsemi | 0:098463de4c5d | 369 | /** |
group-onsemi | 0:098463de4c5d | 370 | * \name megaAVR groups |
group-onsemi | 0:098463de4c5d | 371 | * @{ |
group-onsemi | 0:098463de4c5d | 372 | */ |
group-onsemi | 0:098463de4c5d | 373 | /** ATmegaxx0/xx1 group */ |
group-onsemi | 0:098463de4c5d | 374 | #define MEGA_XX0_1 (MEGA_XX0 || MEGA_XX1) |
group-onsemi | 0:098463de4c5d | 375 | |
group-onsemi | 0:098463de4c5d | 376 | /** ATmegaxx4 group */ |
group-onsemi | 0:098463de4c5d | 377 | #define MEGA_XX4 ( \ |
group-onsemi | 0:098463de4c5d | 378 | AVR8_PART_IS_DEFINED(ATmega164A) || \ |
group-onsemi | 0:098463de4c5d | 379 | AVR8_PART_IS_DEFINED(ATmega164PA) || \ |
group-onsemi | 0:098463de4c5d | 380 | AVR8_PART_IS_DEFINED(ATmega324A) || \ |
group-onsemi | 0:098463de4c5d | 381 | AVR8_PART_IS_DEFINED(ATmega324PA) || \ |
group-onsemi | 0:098463de4c5d | 382 | AVR8_PART_IS_DEFINED(ATmega644) || \ |
group-onsemi | 0:098463de4c5d | 383 | AVR8_PART_IS_DEFINED(ATmega644A) || \ |
group-onsemi | 0:098463de4c5d | 384 | AVR8_PART_IS_DEFINED(ATmega644PA) || \ |
group-onsemi | 0:098463de4c5d | 385 | AVR8_PART_IS_DEFINED(ATmega1284P) || \ |
group-onsemi | 0:098463de4c5d | 386 | AVR8_PART_IS_DEFINED(ATmega128RFA1) \ |
group-onsemi | 0:098463de4c5d | 387 | ) |
group-onsemi | 0:098463de4c5d | 388 | |
group-onsemi | 0:098463de4c5d | 389 | /** ATmegaxx4 group */ |
group-onsemi | 0:098463de4c5d | 390 | #define MEGA_XX4_A ( \ |
group-onsemi | 0:098463de4c5d | 391 | AVR8_PART_IS_DEFINED(ATmega164A) || \ |
group-onsemi | 0:098463de4c5d | 392 | AVR8_PART_IS_DEFINED(ATmega164PA) || \ |
group-onsemi | 0:098463de4c5d | 393 | AVR8_PART_IS_DEFINED(ATmega324A) || \ |
group-onsemi | 0:098463de4c5d | 394 | AVR8_PART_IS_DEFINED(ATmega324PA) || \ |
group-onsemi | 0:098463de4c5d | 395 | AVR8_PART_IS_DEFINED(ATmega644A) || \ |
group-onsemi | 0:098463de4c5d | 396 | AVR8_PART_IS_DEFINED(ATmega644PA) || \ |
group-onsemi | 0:098463de4c5d | 397 | AVR8_PART_IS_DEFINED(ATmega1284P) \ |
group-onsemi | 0:098463de4c5d | 398 | ) |
group-onsemi | 0:098463de4c5d | 399 | |
group-onsemi | 0:098463de4c5d | 400 | /** ATmegaxx8 group */ |
group-onsemi | 0:098463de4c5d | 401 | #define MEGA_XX8 ( \ |
group-onsemi | 0:098463de4c5d | 402 | AVR8_PART_IS_DEFINED(ATmega48) || \ |
group-onsemi | 0:098463de4c5d | 403 | AVR8_PART_IS_DEFINED(ATmega48A) || \ |
group-onsemi | 0:098463de4c5d | 404 | AVR8_PART_IS_DEFINED(ATmega48PA) || \ |
group-onsemi | 0:098463de4c5d | 405 | AVR8_PART_IS_DEFINED(ATmega88) || \ |
group-onsemi | 0:098463de4c5d | 406 | AVR8_PART_IS_DEFINED(ATmega88A) || \ |
group-onsemi | 0:098463de4c5d | 407 | AVR8_PART_IS_DEFINED(ATmega88PA) || \ |
group-onsemi | 0:098463de4c5d | 408 | AVR8_PART_IS_DEFINED(ATmega168) || \ |
group-onsemi | 0:098463de4c5d | 409 | AVR8_PART_IS_DEFINED(ATmega168A) || \ |
group-onsemi | 0:098463de4c5d | 410 | AVR8_PART_IS_DEFINED(ATmega168PA) || \ |
group-onsemi | 0:098463de4c5d | 411 | AVR8_PART_IS_DEFINED(ATmega328) || \ |
group-onsemi | 0:098463de4c5d | 412 | AVR8_PART_IS_DEFINED(ATmega328P) \ |
group-onsemi | 0:098463de4c5d | 413 | ) |
group-onsemi | 0:098463de4c5d | 414 | |
group-onsemi | 0:098463de4c5d | 415 | /** ATmegaxx8A/P/PA group */ |
group-onsemi | 0:098463de4c5d | 416 | #define MEGA_XX8_A ( \ |
group-onsemi | 0:098463de4c5d | 417 | AVR8_PART_IS_DEFINED(ATmega48A) || \ |
group-onsemi | 0:098463de4c5d | 418 | AVR8_PART_IS_DEFINED(ATmega48PA) || \ |
group-onsemi | 0:098463de4c5d | 419 | AVR8_PART_IS_DEFINED(ATmega88A) || \ |
group-onsemi | 0:098463de4c5d | 420 | AVR8_PART_IS_DEFINED(ATmega88PA) || \ |
group-onsemi | 0:098463de4c5d | 421 | AVR8_PART_IS_DEFINED(ATmega168A) || \ |
group-onsemi | 0:098463de4c5d | 422 | AVR8_PART_IS_DEFINED(ATmega168PA) || \ |
group-onsemi | 0:098463de4c5d | 423 | AVR8_PART_IS_DEFINED(ATmega328P) \ |
group-onsemi | 0:098463de4c5d | 424 | ) |
group-onsemi | 0:098463de4c5d | 425 | |
group-onsemi | 0:098463de4c5d | 426 | /** ATmegaxx group */ |
group-onsemi | 0:098463de4c5d | 427 | #define MEGA_XX ( \ |
group-onsemi | 0:098463de4c5d | 428 | AVR8_PART_IS_DEFINED(ATmega16) || \ |
group-onsemi | 0:098463de4c5d | 429 | AVR8_PART_IS_DEFINED(ATmega16A) || \ |
group-onsemi | 0:098463de4c5d | 430 | AVR8_PART_IS_DEFINED(ATmega32) || \ |
group-onsemi | 0:098463de4c5d | 431 | AVR8_PART_IS_DEFINED(ATmega32A) || \ |
group-onsemi | 0:098463de4c5d | 432 | AVR8_PART_IS_DEFINED(ATmega64) || \ |
group-onsemi | 0:098463de4c5d | 433 | AVR8_PART_IS_DEFINED(ATmega64A) || \ |
group-onsemi | 0:098463de4c5d | 434 | AVR8_PART_IS_DEFINED(ATmega128) || \ |
group-onsemi | 0:098463de4c5d | 435 | AVR8_PART_IS_DEFINED(ATmega128A) \ |
group-onsemi | 0:098463de4c5d | 436 | ) |
group-onsemi | 0:098463de4c5d | 437 | |
group-onsemi | 0:098463de4c5d | 438 | /** ATmegaxxA/P/PA group */ |
group-onsemi | 0:098463de4c5d | 439 | #define MEGA_XX_A ( \ |
group-onsemi | 0:098463de4c5d | 440 | AVR8_PART_IS_DEFINED(ATmega16A) || \ |
group-onsemi | 0:098463de4c5d | 441 | AVR8_PART_IS_DEFINED(ATmega32A) || \ |
group-onsemi | 0:098463de4c5d | 442 | AVR8_PART_IS_DEFINED(ATmega64A) || \ |
group-onsemi | 0:098463de4c5d | 443 | AVR8_PART_IS_DEFINED(ATmega128A) \ |
group-onsemi | 0:098463de4c5d | 444 | ) |
group-onsemi | 0:098463de4c5d | 445 | /** ATmegaxxRFA1 group */ |
group-onsemi | 0:098463de4c5d | 446 | #define MEGA_RFA1 ( \ |
group-onsemi | 0:098463de4c5d | 447 | AVR8_PART_IS_DEFINED(ATmega128RFA1) \ |
group-onsemi | 0:098463de4c5d | 448 | ) |
group-onsemi | 0:098463de4c5d | 449 | |
group-onsemi | 0:098463de4c5d | 450 | /** ATmegaxxRFR2 group */ |
group-onsemi | 0:098463de4c5d | 451 | #define MEGA_RFR2 ( \ |
group-onsemi | 0:098463de4c5d | 452 | AVR8_PART_IS_DEFINED(ATmega64RFR2) || \ |
group-onsemi | 0:098463de4c5d | 453 | AVR8_PART_IS_DEFINED(ATmega128RFR2) || \ |
group-onsemi | 0:098463de4c5d | 454 | AVR8_PART_IS_DEFINED(ATmega256RFR2) || \ |
group-onsemi | 0:098463de4c5d | 455 | AVR8_PART_IS_DEFINED(ATmega644RFR2) || \ |
group-onsemi | 0:098463de4c5d | 456 | AVR8_PART_IS_DEFINED(ATmega1284RFR2) || \ |
group-onsemi | 0:098463de4c5d | 457 | AVR8_PART_IS_DEFINED(ATmega2564RFR2) \ |
group-onsemi | 0:098463de4c5d | 458 | ) |
group-onsemi | 0:098463de4c5d | 459 | |
group-onsemi | 0:098463de4c5d | 460 | |
group-onsemi | 0:098463de4c5d | 461 | /** ATmegaxxRFxx group */ |
group-onsemi | 0:098463de4c5d | 462 | #define MEGA_RF (MEGA_RFA1 || MEGA_RFR2) |
group-onsemi | 0:098463de4c5d | 463 | |
group-onsemi | 0:098463de4c5d | 464 | /** |
group-onsemi | 0:098463de4c5d | 465 | * \name ATmegaxx_un0/un1/un2 subgroups |
group-onsemi | 0:098463de4c5d | 466 | * @{ |
group-onsemi | 0:098463de4c5d | 467 | */ |
group-onsemi | 0:098463de4c5d | 468 | #define MEGA_XX_UN0 ( \ |
group-onsemi | 0:098463de4c5d | 469 | AVR8_PART_IS_DEFINED(ATmega16) || \ |
group-onsemi | 0:098463de4c5d | 470 | AVR8_PART_IS_DEFINED(ATmega16A) || \ |
group-onsemi | 0:098463de4c5d | 471 | AVR8_PART_IS_DEFINED(ATmega32) || \ |
group-onsemi | 0:098463de4c5d | 472 | AVR8_PART_IS_DEFINED(ATmega32A) \ |
group-onsemi | 0:098463de4c5d | 473 | ) |
group-onsemi | 0:098463de4c5d | 474 | |
group-onsemi | 0:098463de4c5d | 475 | /** ATmegaxx group without power reduction and |
group-onsemi | 0:098463de4c5d | 476 | * And interrupt sense register. |
group-onsemi | 0:098463de4c5d | 477 | */ |
group-onsemi | 0:098463de4c5d | 478 | #define MEGA_XX_UN1 ( \ |
group-onsemi | 0:098463de4c5d | 479 | AVR8_PART_IS_DEFINED(ATmega64) || \ |
group-onsemi | 0:098463de4c5d | 480 | AVR8_PART_IS_DEFINED(ATmega64A) || \ |
group-onsemi | 0:098463de4c5d | 481 | AVR8_PART_IS_DEFINED(ATmega128) || \ |
group-onsemi | 0:098463de4c5d | 482 | AVR8_PART_IS_DEFINED(ATmega128A) \ |
group-onsemi | 0:098463de4c5d | 483 | ) |
group-onsemi | 0:098463de4c5d | 484 | |
group-onsemi | 0:098463de4c5d | 485 | /** ATmegaxx group without power reduction and |
group-onsemi | 0:098463de4c5d | 486 | * And interrupt sense register. |
group-onsemi | 0:098463de4c5d | 487 | */ |
group-onsemi | 0:098463de4c5d | 488 | #define MEGA_XX_UN2 ( \ |
group-onsemi | 0:098463de4c5d | 489 | AVR8_PART_IS_DEFINED(ATmega169P) || \ |
group-onsemi | 0:098463de4c5d | 490 | AVR8_PART_IS_DEFINED(ATmega169PA) || \ |
group-onsemi | 0:098463de4c5d | 491 | AVR8_PART_IS_DEFINED(ATmega329P) || \ |
group-onsemi | 0:098463de4c5d | 492 | AVR8_PART_IS_DEFINED(ATmega329PA) \ |
group-onsemi | 0:098463de4c5d | 493 | ) |
group-onsemi | 0:098463de4c5d | 494 | |
group-onsemi | 0:098463de4c5d | 495 | /** Devices added to complete megaAVR offering. |
group-onsemi | 0:098463de4c5d | 496 | * Please do not use this group symbol as it is not intended |
group-onsemi | 0:098463de4c5d | 497 | * to be permanent: the devices should be regrouped. |
group-onsemi | 0:098463de4c5d | 498 | */ |
group-onsemi | 0:098463de4c5d | 499 | #define MEGA_UNCATEGORIZED ( \ |
group-onsemi | 0:098463de4c5d | 500 | AVR8_PART_IS_DEFINED(AT90CAN128) || \ |
group-onsemi | 0:098463de4c5d | 501 | AVR8_PART_IS_DEFINED(AT90CAN32) || \ |
group-onsemi | 0:098463de4c5d | 502 | AVR8_PART_IS_DEFINED(AT90CAN64) || \ |
group-onsemi | 0:098463de4c5d | 503 | AVR8_PART_IS_DEFINED(AT90PWM1) || \ |
group-onsemi | 0:098463de4c5d | 504 | AVR8_PART_IS_DEFINED(AT90PWM216) || \ |
group-onsemi | 0:098463de4c5d | 505 | AVR8_PART_IS_DEFINED(AT90PWM2B) || \ |
group-onsemi | 0:098463de4c5d | 506 | AVR8_PART_IS_DEFINED(AT90PWM316) || \ |
group-onsemi | 0:098463de4c5d | 507 | AVR8_PART_IS_DEFINED(AT90PWM3B) || \ |
group-onsemi | 0:098463de4c5d | 508 | AVR8_PART_IS_DEFINED(AT90PWM81) || \ |
group-onsemi | 0:098463de4c5d | 509 | AVR8_PART_IS_DEFINED(AT90USB1286) || \ |
group-onsemi | 0:098463de4c5d | 510 | AVR8_PART_IS_DEFINED(AT90USB1287) || \ |
group-onsemi | 0:098463de4c5d | 511 | AVR8_PART_IS_DEFINED(AT90USB162) || \ |
group-onsemi | 0:098463de4c5d | 512 | AVR8_PART_IS_DEFINED(AT90USB646) || \ |
group-onsemi | 0:098463de4c5d | 513 | AVR8_PART_IS_DEFINED(AT90USB647) || \ |
group-onsemi | 0:098463de4c5d | 514 | AVR8_PART_IS_DEFINED(AT90USB82) || \ |
group-onsemi | 0:098463de4c5d | 515 | AVR8_PART_IS_DEFINED(ATmega1284) || \ |
group-onsemi | 0:098463de4c5d | 516 | AVR8_PART_IS_DEFINED(ATmega162) || \ |
group-onsemi | 0:098463de4c5d | 517 | AVR8_PART_IS_DEFINED(ATmega164P) || \ |
group-onsemi | 0:098463de4c5d | 518 | AVR8_PART_IS_DEFINED(ATmega165A) || \ |
group-onsemi | 0:098463de4c5d | 519 | AVR8_PART_IS_DEFINED(ATmega165P) || \ |
group-onsemi | 0:098463de4c5d | 520 | AVR8_PART_IS_DEFINED(ATmega165PA) || \ |
group-onsemi | 0:098463de4c5d | 521 | AVR8_PART_IS_DEFINED(ATmega168P) || \ |
group-onsemi | 0:098463de4c5d | 522 | AVR8_PART_IS_DEFINED(ATmega169A) || \ |
group-onsemi | 0:098463de4c5d | 523 | AVR8_PART_IS_DEFINED(ATmega16M1) || \ |
group-onsemi | 0:098463de4c5d | 524 | AVR8_PART_IS_DEFINED(ATmega16U2) || \ |
group-onsemi | 0:098463de4c5d | 525 | AVR8_PART_IS_DEFINED(ATmega16U4) || \ |
group-onsemi | 0:098463de4c5d | 526 | AVR8_PART_IS_DEFINED(ATmega256RFA2) || \ |
group-onsemi | 0:098463de4c5d | 527 | AVR8_PART_IS_DEFINED(ATmega324P) || \ |
group-onsemi | 0:098463de4c5d | 528 | AVR8_PART_IS_DEFINED(ATmega325) || \ |
group-onsemi | 0:098463de4c5d | 529 | AVR8_PART_IS_DEFINED(ATmega3250) || \ |
group-onsemi | 0:098463de4c5d | 530 | AVR8_PART_IS_DEFINED(ATmega3250A) || \ |
group-onsemi | 0:098463de4c5d | 531 | AVR8_PART_IS_DEFINED(ATmega3250P) || \ |
group-onsemi | 0:098463de4c5d | 532 | AVR8_PART_IS_DEFINED(ATmega3250PA) || \ |
group-onsemi | 0:098463de4c5d | 533 | AVR8_PART_IS_DEFINED(ATmega325A) || \ |
group-onsemi | 0:098463de4c5d | 534 | AVR8_PART_IS_DEFINED(ATmega325P) || \ |
group-onsemi | 0:098463de4c5d | 535 | AVR8_PART_IS_DEFINED(ATmega325PA) || \ |
group-onsemi | 0:098463de4c5d | 536 | AVR8_PART_IS_DEFINED(ATmega329) || \ |
group-onsemi | 0:098463de4c5d | 537 | AVR8_PART_IS_DEFINED(ATmega3290) || \ |
group-onsemi | 0:098463de4c5d | 538 | AVR8_PART_IS_DEFINED(ATmega3290A) || \ |
group-onsemi | 0:098463de4c5d | 539 | AVR8_PART_IS_DEFINED(ATmega3290P) || \ |
group-onsemi | 0:098463de4c5d | 540 | AVR8_PART_IS_DEFINED(ATmega3290PA) || \ |
group-onsemi | 0:098463de4c5d | 541 | AVR8_PART_IS_DEFINED(ATmega329A) || \ |
group-onsemi | 0:098463de4c5d | 542 | AVR8_PART_IS_DEFINED(ATmega32M1) || \ |
group-onsemi | 0:098463de4c5d | 543 | AVR8_PART_IS_DEFINED(ATmega32U2) || \ |
group-onsemi | 0:098463de4c5d | 544 | AVR8_PART_IS_DEFINED(ATmega32U4) || \ |
group-onsemi | 0:098463de4c5d | 545 | AVR8_PART_IS_DEFINED(ATmega48P) || \ |
group-onsemi | 0:098463de4c5d | 546 | AVR8_PART_IS_DEFINED(ATmega644P) || \ |
group-onsemi | 0:098463de4c5d | 547 | AVR8_PART_IS_DEFINED(ATmega645) || \ |
group-onsemi | 0:098463de4c5d | 548 | AVR8_PART_IS_DEFINED(ATmega6450) || \ |
group-onsemi | 0:098463de4c5d | 549 | AVR8_PART_IS_DEFINED(ATmega6450A) || \ |
group-onsemi | 0:098463de4c5d | 550 | AVR8_PART_IS_DEFINED(ATmega6450P) || \ |
group-onsemi | 0:098463de4c5d | 551 | AVR8_PART_IS_DEFINED(ATmega645A) || \ |
group-onsemi | 0:098463de4c5d | 552 | AVR8_PART_IS_DEFINED(ATmega645P) || \ |
group-onsemi | 0:098463de4c5d | 553 | AVR8_PART_IS_DEFINED(ATmega649) || \ |
group-onsemi | 0:098463de4c5d | 554 | AVR8_PART_IS_DEFINED(ATmega6490) || \ |
group-onsemi | 0:098463de4c5d | 555 | AVR8_PART_IS_DEFINED(ATmega6490A) || \ |
group-onsemi | 0:098463de4c5d | 556 | AVR8_PART_IS_DEFINED(ATmega6490P) || \ |
group-onsemi | 0:098463de4c5d | 557 | AVR8_PART_IS_DEFINED(ATmega649A) || \ |
group-onsemi | 0:098463de4c5d | 558 | AVR8_PART_IS_DEFINED(ATmega649P) || \ |
group-onsemi | 0:098463de4c5d | 559 | AVR8_PART_IS_DEFINED(ATmega64M1) || \ |
group-onsemi | 0:098463de4c5d | 560 | AVR8_PART_IS_DEFINED(ATmega64RFA2) || \ |
group-onsemi | 0:098463de4c5d | 561 | AVR8_PART_IS_DEFINED(ATmega8) || \ |
group-onsemi | 0:098463de4c5d | 562 | AVR8_PART_IS_DEFINED(ATmega8515) || \ |
group-onsemi | 0:098463de4c5d | 563 | AVR8_PART_IS_DEFINED(ATmega8535) || \ |
group-onsemi | 0:098463de4c5d | 564 | AVR8_PART_IS_DEFINED(ATmega88P) || \ |
group-onsemi | 0:098463de4c5d | 565 | AVR8_PART_IS_DEFINED(ATmega8A) || \ |
group-onsemi | 0:098463de4c5d | 566 | AVR8_PART_IS_DEFINED(ATmega8U2) \ |
group-onsemi | 0:098463de4c5d | 567 | ) |
group-onsemi | 0:098463de4c5d | 568 | |
group-onsemi | 0:098463de4c5d | 569 | /** Unspecified group */ |
group-onsemi | 0:098463de4c5d | 570 | #define MEGA_UNSPECIFIED (MEGA_XX_UN0 || MEGA_XX_UN1 || MEGA_XX_UN2 || \ |
group-onsemi | 0:098463de4c5d | 571 | MEGA_UNCATEGORIZED) |
group-onsemi | 0:098463de4c5d | 572 | |
group-onsemi | 0:098463de4c5d | 573 | /** @} */ |
group-onsemi | 0:098463de4c5d | 574 | |
group-onsemi | 0:098463de4c5d | 575 | /** megaAVR product line */ |
group-onsemi | 0:098463de4c5d | 576 | #define MEGA (MEGA_XX0_1 || MEGA_XX4 || MEGA_XX8 || MEGA_XX || MEGA_RF || \ |
group-onsemi | 0:098463de4c5d | 577 | MEGA_UNSPECIFIED) |
group-onsemi | 0:098463de4c5d | 578 | |
group-onsemi | 0:098463de4c5d | 579 | /** @} */ |
group-onsemi | 0:098463de4c5d | 580 | |
group-onsemi | 0:098463de4c5d | 581 | /** |
group-onsemi | 0:098463de4c5d | 582 | * \defgroup tiny_part_macros_group tinyAVR parts |
group-onsemi | 0:098463de4c5d | 583 | * |
group-onsemi | 0:098463de4c5d | 584 | * @{ |
group-onsemi | 0:098463de4c5d | 585 | */ |
group-onsemi | 0:098463de4c5d | 586 | |
group-onsemi | 0:098463de4c5d | 587 | /** |
group-onsemi | 0:098463de4c5d | 588 | * \name tinyAVR groups |
group-onsemi | 0:098463de4c5d | 589 | * @{ |
group-onsemi | 0:098463de4c5d | 590 | */ |
group-onsemi | 0:098463de4c5d | 591 | |
group-onsemi | 0:098463de4c5d | 592 | /** Devices added to complete tinyAVR offering. |
group-onsemi | 0:098463de4c5d | 593 | * Please do not use this group symbol as it is not intended |
group-onsemi | 0:098463de4c5d | 594 | * to be permanent: the devices should be regrouped. |
group-onsemi | 0:098463de4c5d | 595 | */ |
group-onsemi | 0:098463de4c5d | 596 | #define TINY_UNCATEGORIZED ( \ |
group-onsemi | 0:098463de4c5d | 597 | AVR8_PART_IS_DEFINED(ATtiny10) || \ |
group-onsemi | 0:098463de4c5d | 598 | AVR8_PART_IS_DEFINED(ATtiny13) || \ |
group-onsemi | 0:098463de4c5d | 599 | AVR8_PART_IS_DEFINED(ATtiny13A) || \ |
group-onsemi | 0:098463de4c5d | 600 | AVR8_PART_IS_DEFINED(ATtiny1634) || \ |
group-onsemi | 0:098463de4c5d | 601 | AVR8_PART_IS_DEFINED(ATtiny167) || \ |
group-onsemi | 0:098463de4c5d | 602 | AVR8_PART_IS_DEFINED(ATtiny20) || \ |
group-onsemi | 0:098463de4c5d | 603 | AVR8_PART_IS_DEFINED(ATtiny2313) || \ |
group-onsemi | 0:098463de4c5d | 604 | AVR8_PART_IS_DEFINED(ATtiny2313A) || \ |
group-onsemi | 0:098463de4c5d | 605 | AVR8_PART_IS_DEFINED(ATtiny24) || \ |
group-onsemi | 0:098463de4c5d | 606 | AVR8_PART_IS_DEFINED(ATtiny24A) || \ |
group-onsemi | 0:098463de4c5d | 607 | AVR8_PART_IS_DEFINED(ATtiny25) || \ |
group-onsemi | 0:098463de4c5d | 608 | AVR8_PART_IS_DEFINED(ATtiny26) || \ |
group-onsemi | 0:098463de4c5d | 609 | AVR8_PART_IS_DEFINED(ATtiny261) || \ |
group-onsemi | 0:098463de4c5d | 610 | AVR8_PART_IS_DEFINED(ATtiny261A) || \ |
group-onsemi | 0:098463de4c5d | 611 | AVR8_PART_IS_DEFINED(ATtiny4) || \ |
group-onsemi | 0:098463de4c5d | 612 | AVR8_PART_IS_DEFINED(ATtiny40) || \ |
group-onsemi | 0:098463de4c5d | 613 | AVR8_PART_IS_DEFINED(ATtiny4313) || \ |
group-onsemi | 0:098463de4c5d | 614 | AVR8_PART_IS_DEFINED(ATtiny43U) || \ |
group-onsemi | 0:098463de4c5d | 615 | AVR8_PART_IS_DEFINED(ATtiny44) || \ |
group-onsemi | 0:098463de4c5d | 616 | AVR8_PART_IS_DEFINED(ATtiny44A) || \ |
group-onsemi | 0:098463de4c5d | 617 | AVR8_PART_IS_DEFINED(ATtiny45) || \ |
group-onsemi | 0:098463de4c5d | 618 | AVR8_PART_IS_DEFINED(ATtiny461) || \ |
group-onsemi | 0:098463de4c5d | 619 | AVR8_PART_IS_DEFINED(ATtiny461A) || \ |
group-onsemi | 0:098463de4c5d | 620 | AVR8_PART_IS_DEFINED(ATtiny48) || \ |
group-onsemi | 0:098463de4c5d | 621 | AVR8_PART_IS_DEFINED(ATtiny5) || \ |
group-onsemi | 0:098463de4c5d | 622 | AVR8_PART_IS_DEFINED(ATtiny828) || \ |
group-onsemi | 0:098463de4c5d | 623 | AVR8_PART_IS_DEFINED(ATtiny84) || \ |
group-onsemi | 0:098463de4c5d | 624 | AVR8_PART_IS_DEFINED(ATtiny84A) || \ |
group-onsemi | 0:098463de4c5d | 625 | AVR8_PART_IS_DEFINED(ATtiny85) || \ |
group-onsemi | 0:098463de4c5d | 626 | AVR8_PART_IS_DEFINED(ATtiny861) || \ |
group-onsemi | 0:098463de4c5d | 627 | AVR8_PART_IS_DEFINED(ATtiny861A) || \ |
group-onsemi | 0:098463de4c5d | 628 | AVR8_PART_IS_DEFINED(ATtiny87) || \ |
group-onsemi | 0:098463de4c5d | 629 | AVR8_PART_IS_DEFINED(ATtiny88) || \ |
group-onsemi | 0:098463de4c5d | 630 | AVR8_PART_IS_DEFINED(ATtiny9) \ |
group-onsemi | 0:098463de4c5d | 631 | ) |
group-onsemi | 0:098463de4c5d | 632 | |
group-onsemi | 0:098463de4c5d | 633 | /** @} */ |
group-onsemi | 0:098463de4c5d | 634 | |
group-onsemi | 0:098463de4c5d | 635 | /** tinyAVR product line */ |
group-onsemi | 0:098463de4c5d | 636 | #define TINY (TINY_UNCATEGORIZED) |
group-onsemi | 0:098463de4c5d | 637 | |
group-onsemi | 0:098463de4c5d | 638 | /** @} */ |
group-onsemi | 0:098463de4c5d | 639 | |
group-onsemi | 0:098463de4c5d | 640 | /** |
group-onsemi | 0:098463de4c5d | 641 | * \defgroup sam_part_macros_group SAM parts |
group-onsemi | 0:098463de4c5d | 642 | * @{ |
group-onsemi | 0:098463de4c5d | 643 | */ |
group-onsemi | 0:098463de4c5d | 644 | |
group-onsemi | 0:098463de4c5d | 645 | /** |
group-onsemi | 0:098463de4c5d | 646 | * \name SAM3S series |
group-onsemi | 0:098463de4c5d | 647 | * @{ |
group-onsemi | 0:098463de4c5d | 648 | */ |
group-onsemi | 0:098463de4c5d | 649 | #define SAM3S1 ( \ |
group-onsemi | 0:098463de4c5d | 650 | SAM_PART_IS_DEFINED(SAM3S1A) || \ |
group-onsemi | 0:098463de4c5d | 651 | SAM_PART_IS_DEFINED(SAM3S1B) || \ |
group-onsemi | 0:098463de4c5d | 652 | SAM_PART_IS_DEFINED(SAM3S1C) \ |
group-onsemi | 0:098463de4c5d | 653 | ) |
group-onsemi | 0:098463de4c5d | 654 | |
group-onsemi | 0:098463de4c5d | 655 | #define SAM3S2 ( \ |
group-onsemi | 0:098463de4c5d | 656 | SAM_PART_IS_DEFINED(SAM3S2A) || \ |
group-onsemi | 0:098463de4c5d | 657 | SAM_PART_IS_DEFINED(SAM3S2B) || \ |
group-onsemi | 0:098463de4c5d | 658 | SAM_PART_IS_DEFINED(SAM3S2C) \ |
group-onsemi | 0:098463de4c5d | 659 | ) |
group-onsemi | 0:098463de4c5d | 660 | |
group-onsemi | 0:098463de4c5d | 661 | #define SAM3S4 ( \ |
group-onsemi | 0:098463de4c5d | 662 | SAM_PART_IS_DEFINED(SAM3S4A) || \ |
group-onsemi | 0:098463de4c5d | 663 | SAM_PART_IS_DEFINED(SAM3S4B) || \ |
group-onsemi | 0:098463de4c5d | 664 | SAM_PART_IS_DEFINED(SAM3S4C) \ |
group-onsemi | 0:098463de4c5d | 665 | ) |
group-onsemi | 0:098463de4c5d | 666 | |
group-onsemi | 0:098463de4c5d | 667 | #define SAM3S8 ( \ |
group-onsemi | 0:098463de4c5d | 668 | SAM_PART_IS_DEFINED(SAM3S8B) || \ |
group-onsemi | 0:098463de4c5d | 669 | SAM_PART_IS_DEFINED(SAM3S8C) \ |
group-onsemi | 0:098463de4c5d | 670 | ) |
group-onsemi | 0:098463de4c5d | 671 | |
group-onsemi | 0:098463de4c5d | 672 | #define SAM3SD8 ( \ |
group-onsemi | 0:098463de4c5d | 673 | SAM_PART_IS_DEFINED(SAM3SD8B) || \ |
group-onsemi | 0:098463de4c5d | 674 | SAM_PART_IS_DEFINED(SAM3SD8C) \ |
group-onsemi | 0:098463de4c5d | 675 | ) |
group-onsemi | 0:098463de4c5d | 676 | /** @} */ |
group-onsemi | 0:098463de4c5d | 677 | |
group-onsemi | 0:098463de4c5d | 678 | /** |
group-onsemi | 0:098463de4c5d | 679 | * \name SAM3U series |
group-onsemi | 0:098463de4c5d | 680 | * @{ |
group-onsemi | 0:098463de4c5d | 681 | */ |
group-onsemi | 0:098463de4c5d | 682 | #define SAM3U1 ( \ |
group-onsemi | 0:098463de4c5d | 683 | SAM_PART_IS_DEFINED(SAM3U1C) || \ |
group-onsemi | 0:098463de4c5d | 684 | SAM_PART_IS_DEFINED(SAM3U1E) \ |
group-onsemi | 0:098463de4c5d | 685 | ) |
group-onsemi | 0:098463de4c5d | 686 | |
group-onsemi | 0:098463de4c5d | 687 | #define SAM3U2 ( \ |
group-onsemi | 0:098463de4c5d | 688 | SAM_PART_IS_DEFINED(SAM3U2C) || \ |
group-onsemi | 0:098463de4c5d | 689 | SAM_PART_IS_DEFINED(SAM3U2E) \ |
group-onsemi | 0:098463de4c5d | 690 | ) |
group-onsemi | 0:098463de4c5d | 691 | |
group-onsemi | 0:098463de4c5d | 692 | #define SAM3U4 ( \ |
group-onsemi | 0:098463de4c5d | 693 | SAM_PART_IS_DEFINED(SAM3U4C) || \ |
group-onsemi | 0:098463de4c5d | 694 | SAM_PART_IS_DEFINED(SAM3U4E) \ |
group-onsemi | 0:098463de4c5d | 695 | ) |
group-onsemi | 0:098463de4c5d | 696 | /** @} */ |
group-onsemi | 0:098463de4c5d | 697 | |
group-onsemi | 0:098463de4c5d | 698 | /** |
group-onsemi | 0:098463de4c5d | 699 | * \name SAM3N series |
group-onsemi | 0:098463de4c5d | 700 | * @{ |
group-onsemi | 0:098463de4c5d | 701 | */ |
group-onsemi | 0:098463de4c5d | 702 | #define SAM3N00 ( \ |
group-onsemi | 0:098463de4c5d | 703 | SAM_PART_IS_DEFINED(SAM3N00A) || \ |
group-onsemi | 0:098463de4c5d | 704 | SAM_PART_IS_DEFINED(SAM3N00B) \ |
group-onsemi | 0:098463de4c5d | 705 | ) |
group-onsemi | 0:098463de4c5d | 706 | |
group-onsemi | 0:098463de4c5d | 707 | #define SAM3N0 ( \ |
group-onsemi | 0:098463de4c5d | 708 | SAM_PART_IS_DEFINED(SAM3N0A) || \ |
group-onsemi | 0:098463de4c5d | 709 | SAM_PART_IS_DEFINED(SAM3N0B) || \ |
group-onsemi | 0:098463de4c5d | 710 | SAM_PART_IS_DEFINED(SAM3N0C) \ |
group-onsemi | 0:098463de4c5d | 711 | ) |
group-onsemi | 0:098463de4c5d | 712 | |
group-onsemi | 0:098463de4c5d | 713 | #define SAM3N1 ( \ |
group-onsemi | 0:098463de4c5d | 714 | SAM_PART_IS_DEFINED(SAM3N1A) || \ |
group-onsemi | 0:098463de4c5d | 715 | SAM_PART_IS_DEFINED(SAM3N1B) || \ |
group-onsemi | 0:098463de4c5d | 716 | SAM_PART_IS_DEFINED(SAM3N1C) \ |
group-onsemi | 0:098463de4c5d | 717 | ) |
group-onsemi | 0:098463de4c5d | 718 | |
group-onsemi | 0:098463de4c5d | 719 | #define SAM3N2 ( \ |
group-onsemi | 0:098463de4c5d | 720 | SAM_PART_IS_DEFINED(SAM3N2A) || \ |
group-onsemi | 0:098463de4c5d | 721 | SAM_PART_IS_DEFINED(SAM3N2B) || \ |
group-onsemi | 0:098463de4c5d | 722 | SAM_PART_IS_DEFINED(SAM3N2C) \ |
group-onsemi | 0:098463de4c5d | 723 | ) |
group-onsemi | 0:098463de4c5d | 724 | |
group-onsemi | 0:098463de4c5d | 725 | #define SAM3N4 ( \ |
group-onsemi | 0:098463de4c5d | 726 | SAM_PART_IS_DEFINED(SAM3N4A) || \ |
group-onsemi | 0:098463de4c5d | 727 | SAM_PART_IS_DEFINED(SAM3N4B) || \ |
group-onsemi | 0:098463de4c5d | 728 | SAM_PART_IS_DEFINED(SAM3N4C) \ |
group-onsemi | 0:098463de4c5d | 729 | ) |
group-onsemi | 0:098463de4c5d | 730 | /** @} */ |
group-onsemi | 0:098463de4c5d | 731 | |
group-onsemi | 0:098463de4c5d | 732 | /** |
group-onsemi | 0:098463de4c5d | 733 | * \name SAM3X series |
group-onsemi | 0:098463de4c5d | 734 | * @{ |
group-onsemi | 0:098463de4c5d | 735 | */ |
group-onsemi | 0:098463de4c5d | 736 | #define SAM3X4 ( \ |
group-onsemi | 0:098463de4c5d | 737 | SAM_PART_IS_DEFINED(SAM3X4C) || \ |
group-onsemi | 0:098463de4c5d | 738 | SAM_PART_IS_DEFINED(SAM3X4E) \ |
group-onsemi | 0:098463de4c5d | 739 | ) |
group-onsemi | 0:098463de4c5d | 740 | |
group-onsemi | 0:098463de4c5d | 741 | #define SAM3X8 ( \ |
group-onsemi | 0:098463de4c5d | 742 | SAM_PART_IS_DEFINED(SAM3X8C) || \ |
group-onsemi | 0:098463de4c5d | 743 | SAM_PART_IS_DEFINED(SAM3X8E) || \ |
group-onsemi | 0:098463de4c5d | 744 | SAM_PART_IS_DEFINED(SAM3X8H) \ |
group-onsemi | 0:098463de4c5d | 745 | ) |
group-onsemi | 0:098463de4c5d | 746 | /** @} */ |
group-onsemi | 0:098463de4c5d | 747 | |
group-onsemi | 0:098463de4c5d | 748 | /** |
group-onsemi | 0:098463de4c5d | 749 | * \name SAM3A series |
group-onsemi | 0:098463de4c5d | 750 | * @{ |
group-onsemi | 0:098463de4c5d | 751 | */ |
group-onsemi | 0:098463de4c5d | 752 | #define SAM3A4 ( \ |
group-onsemi | 0:098463de4c5d | 753 | SAM_PART_IS_DEFINED(SAM3A4C) \ |
group-onsemi | 0:098463de4c5d | 754 | ) |
group-onsemi | 0:098463de4c5d | 755 | |
group-onsemi | 0:098463de4c5d | 756 | #define SAM3A8 ( \ |
group-onsemi | 0:098463de4c5d | 757 | SAM_PART_IS_DEFINED(SAM3A8C) \ |
group-onsemi | 0:098463de4c5d | 758 | ) |
group-onsemi | 0:098463de4c5d | 759 | /** @} */ |
group-onsemi | 0:098463de4c5d | 760 | |
group-onsemi | 0:098463de4c5d | 761 | /** |
group-onsemi | 0:098463de4c5d | 762 | * \name SAM4S series |
group-onsemi | 0:098463de4c5d | 763 | * @{ |
group-onsemi | 0:098463de4c5d | 764 | */ |
group-onsemi | 0:098463de4c5d | 765 | #define SAM4S2 ( \ |
group-onsemi | 0:098463de4c5d | 766 | SAM_PART_IS_DEFINED(SAM4S2A) || \ |
group-onsemi | 0:098463de4c5d | 767 | SAM_PART_IS_DEFINED(SAM4S2B) || \ |
group-onsemi | 0:098463de4c5d | 768 | SAM_PART_IS_DEFINED(SAM4S2C) \ |
group-onsemi | 0:098463de4c5d | 769 | ) |
group-onsemi | 0:098463de4c5d | 770 | |
group-onsemi | 0:098463de4c5d | 771 | #define SAM4S4 ( \ |
group-onsemi | 0:098463de4c5d | 772 | SAM_PART_IS_DEFINED(SAM4S4A) || \ |
group-onsemi | 0:098463de4c5d | 773 | SAM_PART_IS_DEFINED(SAM4S4B) || \ |
group-onsemi | 0:098463de4c5d | 774 | SAM_PART_IS_DEFINED(SAM4S4C) \ |
group-onsemi | 0:098463de4c5d | 775 | ) |
group-onsemi | 0:098463de4c5d | 776 | |
group-onsemi | 0:098463de4c5d | 777 | #define SAM4S8 ( \ |
group-onsemi | 0:098463de4c5d | 778 | SAM_PART_IS_DEFINED(SAM4S8B) || \ |
group-onsemi | 0:098463de4c5d | 779 | SAM_PART_IS_DEFINED(SAM4S8C) \ |
group-onsemi | 0:098463de4c5d | 780 | ) |
group-onsemi | 0:098463de4c5d | 781 | |
group-onsemi | 0:098463de4c5d | 782 | #define SAM4S16 ( \ |
group-onsemi | 0:098463de4c5d | 783 | SAM_PART_IS_DEFINED(SAM4S16B) || \ |
group-onsemi | 0:098463de4c5d | 784 | SAM_PART_IS_DEFINED(SAM4S16C) \ |
group-onsemi | 0:098463de4c5d | 785 | ) |
group-onsemi | 0:098463de4c5d | 786 | |
group-onsemi | 0:098463de4c5d | 787 | #define SAM4SA16 ( \ |
group-onsemi | 0:098463de4c5d | 788 | SAM_PART_IS_DEFINED(SAM4SA16B) || \ |
group-onsemi | 0:098463de4c5d | 789 | SAM_PART_IS_DEFINED(SAM4SA16C) \ |
group-onsemi | 0:098463de4c5d | 790 | ) |
group-onsemi | 0:098463de4c5d | 791 | |
group-onsemi | 0:098463de4c5d | 792 | #define SAM4SD16 ( \ |
group-onsemi | 0:098463de4c5d | 793 | SAM_PART_IS_DEFINED(SAM4SD16B) || \ |
group-onsemi | 0:098463de4c5d | 794 | SAM_PART_IS_DEFINED(SAM4SD16C) \ |
group-onsemi | 0:098463de4c5d | 795 | ) |
group-onsemi | 0:098463de4c5d | 796 | |
group-onsemi | 0:098463de4c5d | 797 | #define SAM4SD32 ( \ |
group-onsemi | 0:098463de4c5d | 798 | SAM_PART_IS_DEFINED(SAM4SD32B) || \ |
group-onsemi | 0:098463de4c5d | 799 | SAM_PART_IS_DEFINED(SAM4SD32C) \ |
group-onsemi | 0:098463de4c5d | 800 | ) |
group-onsemi | 0:098463de4c5d | 801 | /** @} */ |
group-onsemi | 0:098463de4c5d | 802 | |
group-onsemi | 0:098463de4c5d | 803 | /** |
group-onsemi | 0:098463de4c5d | 804 | * \name SAM4L series |
group-onsemi | 0:098463de4c5d | 805 | * @{ |
group-onsemi | 0:098463de4c5d | 806 | */ |
group-onsemi | 0:098463de4c5d | 807 | #define SAM4LS ( \ |
group-onsemi | 0:098463de4c5d | 808 | SAM_PART_IS_DEFINED(SAM4LS2A) || \ |
group-onsemi | 0:098463de4c5d | 809 | SAM_PART_IS_DEFINED(SAM4LS2B) || \ |
group-onsemi | 0:098463de4c5d | 810 | SAM_PART_IS_DEFINED(SAM4LS2C) || \ |
group-onsemi | 0:098463de4c5d | 811 | SAM_PART_IS_DEFINED(SAM4LS4A) || \ |
group-onsemi | 0:098463de4c5d | 812 | SAM_PART_IS_DEFINED(SAM4LS4B) || \ |
group-onsemi | 0:098463de4c5d | 813 | SAM_PART_IS_DEFINED(SAM4LS4C) || \ |
group-onsemi | 0:098463de4c5d | 814 | SAM_PART_IS_DEFINED(SAM4LS8A) || \ |
group-onsemi | 0:098463de4c5d | 815 | SAM_PART_IS_DEFINED(SAM4LS8B) || \ |
group-onsemi | 0:098463de4c5d | 816 | SAM_PART_IS_DEFINED(SAM4LS8C) \ |
group-onsemi | 0:098463de4c5d | 817 | ) |
group-onsemi | 0:098463de4c5d | 818 | |
group-onsemi | 0:098463de4c5d | 819 | #define SAM4LC ( \ |
group-onsemi | 0:098463de4c5d | 820 | SAM_PART_IS_DEFINED(SAM4LC2A) || \ |
group-onsemi | 0:098463de4c5d | 821 | SAM_PART_IS_DEFINED(SAM4LC2B) || \ |
group-onsemi | 0:098463de4c5d | 822 | SAM_PART_IS_DEFINED(SAM4LC2C) || \ |
group-onsemi | 0:098463de4c5d | 823 | SAM_PART_IS_DEFINED(SAM4LC4A) || \ |
group-onsemi | 0:098463de4c5d | 824 | SAM_PART_IS_DEFINED(SAM4LC4B) || \ |
group-onsemi | 0:098463de4c5d | 825 | SAM_PART_IS_DEFINED(SAM4LC4C) || \ |
group-onsemi | 0:098463de4c5d | 826 | SAM_PART_IS_DEFINED(SAM4LC8A) || \ |
group-onsemi | 0:098463de4c5d | 827 | SAM_PART_IS_DEFINED(SAM4LC8B) || \ |
group-onsemi | 0:098463de4c5d | 828 | SAM_PART_IS_DEFINED(SAM4LC8C) \ |
group-onsemi | 0:098463de4c5d | 829 | ) |
group-onsemi | 0:098463de4c5d | 830 | /** @} */ |
group-onsemi | 0:098463de4c5d | 831 | |
group-onsemi | 0:098463de4c5d | 832 | /** |
group-onsemi | 0:098463de4c5d | 833 | * \name SAMD20 series |
group-onsemi | 0:098463de4c5d | 834 | * @{ |
group-onsemi | 0:098463de4c5d | 835 | */ |
group-onsemi | 0:098463de4c5d | 836 | #define SAMD20J ( \ |
group-onsemi | 0:098463de4c5d | 837 | SAM_PART_IS_DEFINED(SAMD20J14) || \ |
group-onsemi | 0:098463de4c5d | 838 | SAM_PART_IS_DEFINED(SAMD20J15) || \ |
group-onsemi | 0:098463de4c5d | 839 | SAM_PART_IS_DEFINED(SAMD20J16) || \ |
group-onsemi | 0:098463de4c5d | 840 | SAM_PART_IS_DEFINED(SAMD20J17) || \ |
group-onsemi | 0:098463de4c5d | 841 | SAM_PART_IS_DEFINED(SAMD20J18) \ |
group-onsemi | 0:098463de4c5d | 842 | ) |
group-onsemi | 0:098463de4c5d | 843 | |
group-onsemi | 0:098463de4c5d | 844 | #define SAMD20G ( \ |
group-onsemi | 0:098463de4c5d | 845 | SAM_PART_IS_DEFINED(SAMD20G14) || \ |
group-onsemi | 0:098463de4c5d | 846 | SAM_PART_IS_DEFINED(SAMD20G15) || \ |
group-onsemi | 0:098463de4c5d | 847 | SAM_PART_IS_DEFINED(SAMD20G16) || \ |
group-onsemi | 0:098463de4c5d | 848 | SAM_PART_IS_DEFINED(SAMD20G17) || \ |
group-onsemi | 0:098463de4c5d | 849 | SAM_PART_IS_DEFINED(SAMD20G17U) || \ |
group-onsemi | 0:098463de4c5d | 850 | SAM_PART_IS_DEFINED(SAMD20G18) || \ |
group-onsemi | 0:098463de4c5d | 851 | SAM_PART_IS_DEFINED(SAMD20G18U) \ |
group-onsemi | 0:098463de4c5d | 852 | ) |
group-onsemi | 0:098463de4c5d | 853 | |
group-onsemi | 0:098463de4c5d | 854 | #define SAMD20E ( \ |
group-onsemi | 0:098463de4c5d | 855 | SAM_PART_IS_DEFINED(SAMD20E14) || \ |
group-onsemi | 0:098463de4c5d | 856 | SAM_PART_IS_DEFINED(SAMD20E15) || \ |
group-onsemi | 0:098463de4c5d | 857 | SAM_PART_IS_DEFINED(SAMD20E16) || \ |
group-onsemi | 0:098463de4c5d | 858 | SAM_PART_IS_DEFINED(SAMD20E17) || \ |
group-onsemi | 0:098463de4c5d | 859 | SAM_PART_IS_DEFINED(SAMD20E18) || \ |
group-onsemi | 0:098463de4c5d | 860 | SAM_PART_IS_DEFINED(SAMD20E1F) \ |
group-onsemi | 0:098463de4c5d | 861 | ) |
group-onsemi | 0:098463de4c5d | 862 | /** @} */ |
group-onsemi | 0:098463de4c5d | 863 | |
group-onsemi | 0:098463de4c5d | 864 | /** |
group-onsemi | 0:098463de4c5d | 865 | * \name SAMD21 series |
group-onsemi | 0:098463de4c5d | 866 | * @{ |
group-onsemi | 0:098463de4c5d | 867 | */ |
group-onsemi | 0:098463de4c5d | 868 | #define SAMD21J ( \ |
group-onsemi | 0:098463de4c5d | 869 | SAM_PART_IS_DEFINED(SAMD21J15A) || \ |
group-onsemi | 0:098463de4c5d | 870 | SAM_PART_IS_DEFINED(SAMD21J16A) || \ |
group-onsemi | 0:098463de4c5d | 871 | SAM_PART_IS_DEFINED(SAMD21J17A) || \ |
group-onsemi | 0:098463de4c5d | 872 | SAM_PART_IS_DEFINED(SAMD21J18A) \ |
group-onsemi | 0:098463de4c5d | 873 | ) |
group-onsemi | 0:098463de4c5d | 874 | |
group-onsemi | 0:098463de4c5d | 875 | #define SAMD21G ( \ |
group-onsemi | 0:098463de4c5d | 876 | SAM_PART_IS_DEFINED(SAMD21G15A) || \ |
group-onsemi | 0:098463de4c5d | 877 | SAM_PART_IS_DEFINED(SAMD21G16A) || \ |
group-onsemi | 0:098463de4c5d | 878 | SAM_PART_IS_DEFINED(SAMD21G17A) || \ |
group-onsemi | 0:098463de4c5d | 879 | SAM_PART_IS_DEFINED(SAMD21G18A) \ |
group-onsemi | 0:098463de4c5d | 880 | ) |
group-onsemi | 0:098463de4c5d | 881 | |
group-onsemi | 0:098463de4c5d | 882 | #define SAMD21E ( \ |
group-onsemi | 0:098463de4c5d | 883 | SAM_PART_IS_DEFINED(SAMD21E15A) || \ |
group-onsemi | 0:098463de4c5d | 884 | SAM_PART_IS_DEFINED(SAMD21E16A) || \ |
group-onsemi | 0:098463de4c5d | 885 | SAM_PART_IS_DEFINED(SAMD21E17A) || \ |
group-onsemi | 0:098463de4c5d | 886 | SAM_PART_IS_DEFINED(SAMD21E18A) \ |
group-onsemi | 0:098463de4c5d | 887 | ) |
group-onsemi | 0:098463de4c5d | 888 | /** @} */ |
group-onsemi | 0:098463de4c5d | 889 | |
group-onsemi | 0:098463de4c5d | 890 | /** |
group-onsemi | 0:098463de4c5d | 891 | * \name SAMR21 series |
group-onsemi | 0:098463de4c5d | 892 | * @{ |
group-onsemi | 0:098463de4c5d | 893 | */ |
group-onsemi | 0:098463de4c5d | 894 | #define SAMR21G ( \ |
group-onsemi | 0:098463de4c5d | 895 | SAM_PART_IS_DEFINED(SAMR21G16A) || \ |
group-onsemi | 0:098463de4c5d | 896 | SAM_PART_IS_DEFINED(SAMR21G17A) || \ |
group-onsemi | 0:098463de4c5d | 897 | SAM_PART_IS_DEFINED(SAMR21G18A) \ |
group-onsemi | 0:098463de4c5d | 898 | ) |
group-onsemi | 0:098463de4c5d | 899 | |
group-onsemi | 0:098463de4c5d | 900 | #define SAMR21E ( \ |
group-onsemi | 0:098463de4c5d | 901 | SAM_PART_IS_DEFINED(SAMR21E16A) || \ |
group-onsemi | 0:098463de4c5d | 902 | SAM_PART_IS_DEFINED(SAMR21E17A) || \ |
group-onsemi | 0:098463de4c5d | 903 | SAM_PART_IS_DEFINED(SAMR21E18A) \ |
group-onsemi | 0:098463de4c5d | 904 | ) |
group-onsemi | 0:098463de4c5d | 905 | /** @} */ |
group-onsemi | 0:098463de4c5d | 906 | |
group-onsemi | 0:098463de4c5d | 907 | /** |
group-onsemi | 0:098463de4c5d | 908 | * \name SAMD10 series |
group-onsemi | 0:098463de4c5d | 909 | * @{ |
group-onsemi | 0:098463de4c5d | 910 | */ |
group-onsemi | 0:098463de4c5d | 911 | #define SAMD10C ( \ |
group-onsemi | 0:098463de4c5d | 912 | SAM_PART_IS_DEFINED(SAMD10C12A) || \ |
group-onsemi | 0:098463de4c5d | 913 | SAM_PART_IS_DEFINED(SAMD10C13A) || \ |
group-onsemi | 0:098463de4c5d | 914 | SAM_PART_IS_DEFINED(SAMD10C14A) \ |
group-onsemi | 0:098463de4c5d | 915 | ) |
group-onsemi | 0:098463de4c5d | 916 | |
group-onsemi | 0:098463de4c5d | 917 | #define SAMD10DS ( \ |
group-onsemi | 0:098463de4c5d | 918 | SAM_PART_IS_DEFINED(SAMD10D12AS) || \ |
group-onsemi | 0:098463de4c5d | 919 | SAM_PART_IS_DEFINED(SAMD10D13AS) || \ |
group-onsemi | 0:098463de4c5d | 920 | SAM_PART_IS_DEFINED(SAMD10D14AS) \ |
group-onsemi | 0:098463de4c5d | 921 | ) |
group-onsemi | 0:098463de4c5d | 922 | |
group-onsemi | 0:098463de4c5d | 923 | #define SAMD10DM ( \ |
group-onsemi | 0:098463de4c5d | 924 | SAM_PART_IS_DEFINED(SAMD10D12AM) || \ |
group-onsemi | 0:098463de4c5d | 925 | SAM_PART_IS_DEFINED(SAMD10D13AM) || \ |
group-onsemi | 0:098463de4c5d | 926 | SAM_PART_IS_DEFINED(SAMD10D14AM) \ |
group-onsemi | 0:098463de4c5d | 927 | ) |
group-onsemi | 0:098463de4c5d | 928 | /** @} */ |
group-onsemi | 0:098463de4c5d | 929 | |
group-onsemi | 0:098463de4c5d | 930 | /** |
group-onsemi | 0:098463de4c5d | 931 | * \name SAMD11 series |
group-onsemi | 0:098463de4c5d | 932 | * @{ |
group-onsemi | 0:098463de4c5d | 933 | */ |
group-onsemi | 0:098463de4c5d | 934 | #define SAMD11C ( \ |
group-onsemi | 0:098463de4c5d | 935 | SAM_PART_IS_DEFINED(SAMD11C14A) \ |
group-onsemi | 0:098463de4c5d | 936 | ) |
group-onsemi | 0:098463de4c5d | 937 | |
group-onsemi | 0:098463de4c5d | 938 | #define SAMD11DS ( \ |
group-onsemi | 0:098463de4c5d | 939 | SAM_PART_IS_DEFINED(SAMD11D14AS) \ |
group-onsemi | 0:098463de4c5d | 940 | ) |
group-onsemi | 0:098463de4c5d | 941 | |
group-onsemi | 0:098463de4c5d | 942 | #define SAMD11DM ( \ |
group-onsemi | 0:098463de4c5d | 943 | SAM_PART_IS_DEFINED(SAMD11D14AM) \ |
group-onsemi | 0:098463de4c5d | 944 | ) |
group-onsemi | 0:098463de4c5d | 945 | /** @} */ |
group-onsemi | 0:098463de4c5d | 946 | |
group-onsemi | 0:098463de4c5d | 947 | /** |
group-onsemi | 0:098463de4c5d | 948 | * \name SAML21 series |
group-onsemi | 0:098463de4c5d | 949 | * @{ |
group-onsemi | 0:098463de4c5d | 950 | */ |
group-onsemi | 0:098463de4c5d | 951 | #define SAML21E ( \ |
group-onsemi | 0:098463de4c5d | 952 | SAM_PART_IS_DEFINED(SAML21E15A) || \ |
group-onsemi | 0:098463de4c5d | 953 | SAM_PART_IS_DEFINED(SAML21E16A) || \ |
group-onsemi | 0:098463de4c5d | 954 | SAM_PART_IS_DEFINED(SAML21E17A) || \ |
group-onsemi | 0:098463de4c5d | 955 | SAM_PART_IS_DEFINED(SAML21E18A) \ |
group-onsemi | 0:098463de4c5d | 956 | ) |
group-onsemi | 0:098463de4c5d | 957 | |
group-onsemi | 0:098463de4c5d | 958 | #define SAML21G ( \ |
group-onsemi | 0:098463de4c5d | 959 | SAM_PART_IS_DEFINED(SAML21G16A) || \ |
group-onsemi | 0:098463de4c5d | 960 | SAM_PART_IS_DEFINED(SAML21G17A) || \ |
group-onsemi | 0:098463de4c5d | 961 | SAM_PART_IS_DEFINED(SAML21G18A) \ |
group-onsemi | 0:098463de4c5d | 962 | ) |
group-onsemi | 0:098463de4c5d | 963 | |
group-onsemi | 0:098463de4c5d | 964 | #define SAML21J ( \ |
group-onsemi | 0:098463de4c5d | 965 | SAM_PART_IS_DEFINED(SAML21J16A) || \ |
group-onsemi | 0:098463de4c5d | 966 | SAM_PART_IS_DEFINED(SAML21J17A) || \ |
group-onsemi | 0:098463de4c5d | 967 | SAM_PART_IS_DEFINED(SAML21J18A) \ |
group-onsemi | 0:098463de4c5d | 968 | ) |
group-onsemi | 0:098463de4c5d | 969 | /** @} */ |
group-onsemi | 0:098463de4c5d | 970 | |
group-onsemi | 0:098463de4c5d | 971 | /** |
group-onsemi | 0:098463de4c5d | 972 | * \name SAM4E series |
group-onsemi | 0:098463de4c5d | 973 | * @{ |
group-onsemi | 0:098463de4c5d | 974 | */ |
group-onsemi | 0:098463de4c5d | 975 | #define SAM4E8 ( \ |
group-onsemi | 0:098463de4c5d | 976 | SAM_PART_IS_DEFINED(SAM4E8C) || \ |
group-onsemi | 0:098463de4c5d | 977 | SAM_PART_IS_DEFINED(SAM4E8E) \ |
group-onsemi | 0:098463de4c5d | 978 | ) |
group-onsemi | 0:098463de4c5d | 979 | |
group-onsemi | 0:098463de4c5d | 980 | #define SAM4E16 ( \ |
group-onsemi | 0:098463de4c5d | 981 | SAM_PART_IS_DEFINED(SAM4E16C) || \ |
group-onsemi | 0:098463de4c5d | 982 | SAM_PART_IS_DEFINED(SAM4E16E) \ |
group-onsemi | 0:098463de4c5d | 983 | ) |
group-onsemi | 0:098463de4c5d | 984 | /** @} */ |
group-onsemi | 0:098463de4c5d | 985 | |
group-onsemi | 0:098463de4c5d | 986 | /** |
group-onsemi | 0:098463de4c5d | 987 | * \name SAM4N series |
group-onsemi | 0:098463de4c5d | 988 | * @{ |
group-onsemi | 0:098463de4c5d | 989 | */ |
group-onsemi | 0:098463de4c5d | 990 | #define SAM4N8 ( \ |
group-onsemi | 0:098463de4c5d | 991 | SAM_PART_IS_DEFINED(SAM4N8A) || \ |
group-onsemi | 0:098463de4c5d | 992 | SAM_PART_IS_DEFINED(SAM4N8B) || \ |
group-onsemi | 0:098463de4c5d | 993 | SAM_PART_IS_DEFINED(SAM4N8C) \ |
group-onsemi | 0:098463de4c5d | 994 | ) |
group-onsemi | 0:098463de4c5d | 995 | |
group-onsemi | 0:098463de4c5d | 996 | #define SAM4N16 ( \ |
group-onsemi | 0:098463de4c5d | 997 | SAM_PART_IS_DEFINED(SAM4N16B) || \ |
group-onsemi | 0:098463de4c5d | 998 | SAM_PART_IS_DEFINED(SAM4N16C) \ |
group-onsemi | 0:098463de4c5d | 999 | ) |
group-onsemi | 0:098463de4c5d | 1000 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1001 | |
group-onsemi | 0:098463de4c5d | 1002 | /** |
group-onsemi | 0:098463de4c5d | 1003 | * \name SAM4C series |
group-onsemi | 0:098463de4c5d | 1004 | * @{ |
group-onsemi | 0:098463de4c5d | 1005 | */ |
group-onsemi | 0:098463de4c5d | 1006 | #define SAM4C8_0 ( \ |
group-onsemi | 0:098463de4c5d | 1007 | SAM_PART_IS_DEFINED(SAM4C8C_0) \ |
group-onsemi | 0:098463de4c5d | 1008 | ) |
group-onsemi | 0:098463de4c5d | 1009 | |
group-onsemi | 0:098463de4c5d | 1010 | #define SAM4C8_1 ( \ |
group-onsemi | 0:098463de4c5d | 1011 | SAM_PART_IS_DEFINED(SAM4C8C_1) \ |
group-onsemi | 0:098463de4c5d | 1012 | ) |
group-onsemi | 0:098463de4c5d | 1013 | |
group-onsemi | 0:098463de4c5d | 1014 | #define SAM4C8 (SAM4C8_0 || SAM4C8_1) |
group-onsemi | 0:098463de4c5d | 1015 | |
group-onsemi | 0:098463de4c5d | 1016 | #define SAM4C16_0 ( \ |
group-onsemi | 0:098463de4c5d | 1017 | SAM_PART_IS_DEFINED(SAM4C16C_0) \ |
group-onsemi | 0:098463de4c5d | 1018 | ) |
group-onsemi | 0:098463de4c5d | 1019 | |
group-onsemi | 0:098463de4c5d | 1020 | #define SAM4C16_1 ( \ |
group-onsemi | 0:098463de4c5d | 1021 | SAM_PART_IS_DEFINED(SAM4C16C_1) \ |
group-onsemi | 0:098463de4c5d | 1022 | ) |
group-onsemi | 0:098463de4c5d | 1023 | |
group-onsemi | 0:098463de4c5d | 1024 | #define SAM4C16 (SAM4C16_0 || SAM4C16_1) |
group-onsemi | 0:098463de4c5d | 1025 | |
group-onsemi | 0:098463de4c5d | 1026 | #define SAM4C32_0 ( \ |
group-onsemi | 0:098463de4c5d | 1027 | SAM_PART_IS_DEFINED(SAM4C32C_0) ||\ |
group-onsemi | 0:098463de4c5d | 1028 | SAM_PART_IS_DEFINED(SAM4C32E_0) \ |
group-onsemi | 0:098463de4c5d | 1029 | ) |
group-onsemi | 0:098463de4c5d | 1030 | |
group-onsemi | 0:098463de4c5d | 1031 | #define SAM4C32_1 ( \ |
group-onsemi | 0:098463de4c5d | 1032 | SAM_PART_IS_DEFINED(SAM4C32C_1) ||\ |
group-onsemi | 0:098463de4c5d | 1033 | SAM_PART_IS_DEFINED(SAM4C32E_1) \ |
group-onsemi | 0:098463de4c5d | 1034 | ) |
group-onsemi | 0:098463de4c5d | 1035 | |
group-onsemi | 0:098463de4c5d | 1036 | |
group-onsemi | 0:098463de4c5d | 1037 | #define SAM4C32 (SAM4C32_0 || SAM4C32_1) |
group-onsemi | 0:098463de4c5d | 1038 | |
group-onsemi | 0:098463de4c5d | 1039 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1040 | |
group-onsemi | 0:098463de4c5d | 1041 | /** |
group-onsemi | 0:098463de4c5d | 1042 | * \name SAM4CM series |
group-onsemi | 0:098463de4c5d | 1043 | * @{ |
group-onsemi | 0:098463de4c5d | 1044 | */ |
group-onsemi | 0:098463de4c5d | 1045 | #define SAM4CMP8_0 ( \ |
group-onsemi | 0:098463de4c5d | 1046 | SAM_PART_IS_DEFINED(SAM4CMP8C_0) \ |
group-onsemi | 0:098463de4c5d | 1047 | ) |
group-onsemi | 0:098463de4c5d | 1048 | |
group-onsemi | 0:098463de4c5d | 1049 | #define SAM4CMP8_1 ( \ |
group-onsemi | 0:098463de4c5d | 1050 | SAM_PART_IS_DEFINED(SAM4CMP8C_1) \ |
group-onsemi | 0:098463de4c5d | 1051 | ) |
group-onsemi | 0:098463de4c5d | 1052 | |
group-onsemi | 0:098463de4c5d | 1053 | #define SAM4CMP8 (SAM4CMP8_0 || SAM4CMP8_1) |
group-onsemi | 0:098463de4c5d | 1054 | |
group-onsemi | 0:098463de4c5d | 1055 | #define SAM4CMP16_0 ( \ |
group-onsemi | 0:098463de4c5d | 1056 | SAM_PART_IS_DEFINED(SAM4CMP16C_0) \ |
group-onsemi | 0:098463de4c5d | 1057 | ) |
group-onsemi | 0:098463de4c5d | 1058 | |
group-onsemi | 0:098463de4c5d | 1059 | #define SAM4CMP16_1 ( \ |
group-onsemi | 0:098463de4c5d | 1060 | SAM_PART_IS_DEFINED(SAM4CMP16C_1) \ |
group-onsemi | 0:098463de4c5d | 1061 | ) |
group-onsemi | 0:098463de4c5d | 1062 | |
group-onsemi | 0:098463de4c5d | 1063 | #define SAM4CMP16 (SAM4CMP16_0 || SAM4CMP16_1) |
group-onsemi | 0:098463de4c5d | 1064 | |
group-onsemi | 0:098463de4c5d | 1065 | #define SAM4CMP32_0 ( \ |
group-onsemi | 0:098463de4c5d | 1066 | SAM_PART_IS_DEFINED(SAM4CMP32C_0) \ |
group-onsemi | 0:098463de4c5d | 1067 | ) |
group-onsemi | 0:098463de4c5d | 1068 | |
group-onsemi | 0:098463de4c5d | 1069 | #define SAM4CMP32_1 ( \ |
group-onsemi | 0:098463de4c5d | 1070 | SAM_PART_IS_DEFINED(SAM4CMP32C_1) \ |
group-onsemi | 0:098463de4c5d | 1071 | ) |
group-onsemi | 0:098463de4c5d | 1072 | |
group-onsemi | 0:098463de4c5d | 1073 | #define SAM4CMP32 (SAM4CMP32_0 || SAM4CMP32_1) |
group-onsemi | 0:098463de4c5d | 1074 | |
group-onsemi | 0:098463de4c5d | 1075 | #define SAM4CMS8_0 ( \ |
group-onsemi | 0:098463de4c5d | 1076 | SAM_PART_IS_DEFINED(SAM4CMS8C_0) \ |
group-onsemi | 0:098463de4c5d | 1077 | ) |
group-onsemi | 0:098463de4c5d | 1078 | |
group-onsemi | 0:098463de4c5d | 1079 | #define SAM4CMS8_1 ( \ |
group-onsemi | 0:098463de4c5d | 1080 | SAM_PART_IS_DEFINED(SAM4CMS8C_1) \ |
group-onsemi | 0:098463de4c5d | 1081 | ) |
group-onsemi | 0:098463de4c5d | 1082 | |
group-onsemi | 0:098463de4c5d | 1083 | #define SAM4CMS8 (SAM4CMS8_0 || SAM4CMS8_1) |
group-onsemi | 0:098463de4c5d | 1084 | |
group-onsemi | 0:098463de4c5d | 1085 | #define SAM4CMS16_0 ( \ |
group-onsemi | 0:098463de4c5d | 1086 | SAM_PART_IS_DEFINED(SAM4CMS16C_0) \ |
group-onsemi | 0:098463de4c5d | 1087 | ) |
group-onsemi | 0:098463de4c5d | 1088 | |
group-onsemi | 0:098463de4c5d | 1089 | #define SAM4CMS16_1 ( \ |
group-onsemi | 0:098463de4c5d | 1090 | SAM_PART_IS_DEFINED(SAM4CMS16C_1) \ |
group-onsemi | 0:098463de4c5d | 1091 | ) |
group-onsemi | 0:098463de4c5d | 1092 | |
group-onsemi | 0:098463de4c5d | 1093 | #define SAM4CMS16 (SAM4CMS16_0 || SAM4CMS16_1) |
group-onsemi | 0:098463de4c5d | 1094 | |
group-onsemi | 0:098463de4c5d | 1095 | #define SAM4CMS32_0 ( \ |
group-onsemi | 0:098463de4c5d | 1096 | SAM_PART_IS_DEFINED(SAM4CMS32C_0) \ |
group-onsemi | 0:098463de4c5d | 1097 | ) |
group-onsemi | 0:098463de4c5d | 1098 | |
group-onsemi | 0:098463de4c5d | 1099 | #define SAM4CMS32_1 ( \ |
group-onsemi | 0:098463de4c5d | 1100 | SAM_PART_IS_DEFINED(SAM4CMS32C_1) \ |
group-onsemi | 0:098463de4c5d | 1101 | ) |
group-onsemi | 0:098463de4c5d | 1102 | |
group-onsemi | 0:098463de4c5d | 1103 | #define SAM4CMS32 (SAM4CMS32_0 || SAM4CMS32_1) |
group-onsemi | 0:098463de4c5d | 1104 | |
group-onsemi | 0:098463de4c5d | 1105 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1106 | |
group-onsemi | 0:098463de4c5d | 1107 | /** |
group-onsemi | 0:098463de4c5d | 1108 | * \name SAM4CP series |
group-onsemi | 0:098463de4c5d | 1109 | * @{ |
group-onsemi | 0:098463de4c5d | 1110 | */ |
group-onsemi | 0:098463de4c5d | 1111 | #define SAM4CP16_0 ( \ |
group-onsemi | 0:098463de4c5d | 1112 | SAM_PART_IS_DEFINED(SAM4CP16B_0) \ |
group-onsemi | 0:098463de4c5d | 1113 | ) |
group-onsemi | 0:098463de4c5d | 1114 | |
group-onsemi | 0:098463de4c5d | 1115 | #define SAM4CP16_1 ( \ |
group-onsemi | 0:098463de4c5d | 1116 | SAM_PART_IS_DEFINED(SAM4CP16B_1) \ |
group-onsemi | 0:098463de4c5d | 1117 | ) |
group-onsemi | 0:098463de4c5d | 1118 | |
group-onsemi | 0:098463de4c5d | 1119 | #define SAM4CP16 (SAM4CP16_0 || SAM4CP16_1) |
group-onsemi | 0:098463de4c5d | 1120 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1121 | |
group-onsemi | 0:098463de4c5d | 1122 | /** |
group-onsemi | 0:098463de4c5d | 1123 | * \name SAMG series |
group-onsemi | 0:098463de4c5d | 1124 | * @{ |
group-onsemi | 0:098463de4c5d | 1125 | */ |
group-onsemi | 0:098463de4c5d | 1126 | #define SAMG51 ( \ |
group-onsemi | 0:098463de4c5d | 1127 | SAM_PART_IS_DEFINED(SAMG51G18) \ |
group-onsemi | 0:098463de4c5d | 1128 | ) |
group-onsemi | 0:098463de4c5d | 1129 | |
group-onsemi | 0:098463de4c5d | 1130 | #define SAMG53 ( \ |
group-onsemi | 0:098463de4c5d | 1131 | SAM_PART_IS_DEFINED(SAMG53G19) ||\ |
group-onsemi | 0:098463de4c5d | 1132 | SAM_PART_IS_DEFINED(SAMG53N19) \ |
group-onsemi | 0:098463de4c5d | 1133 | ) |
group-onsemi | 0:098463de4c5d | 1134 | |
group-onsemi | 0:098463de4c5d | 1135 | #define SAMG54 ( \ |
group-onsemi | 0:098463de4c5d | 1136 | SAM_PART_IS_DEFINED(SAMG54G19) ||\ |
group-onsemi | 0:098463de4c5d | 1137 | SAM_PART_IS_DEFINED(SAMG54J19) ||\ |
group-onsemi | 0:098463de4c5d | 1138 | SAM_PART_IS_DEFINED(SAMG54N19) \ |
group-onsemi | 0:098463de4c5d | 1139 | ) |
group-onsemi | 0:098463de4c5d | 1140 | |
group-onsemi | 0:098463de4c5d | 1141 | #define SAMG55 ( \ |
group-onsemi | 0:098463de4c5d | 1142 | SAM_PART_IS_DEFINED(SAMG55G18) ||\ |
group-onsemi | 0:098463de4c5d | 1143 | SAM_PART_IS_DEFINED(SAMG55G19) ||\ |
group-onsemi | 0:098463de4c5d | 1144 | SAM_PART_IS_DEFINED(SAMG55J18) ||\ |
group-onsemi | 0:098463de4c5d | 1145 | SAM_PART_IS_DEFINED(SAMG55J19) ||\ |
group-onsemi | 0:098463de4c5d | 1146 | SAM_PART_IS_DEFINED(SAMG55N19) \ |
group-onsemi | 0:098463de4c5d | 1147 | ) |
group-onsemi | 0:098463de4c5d | 1148 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1149 | /** |
group-onsemi | 0:098463de4c5d | 1150 | * \name SAM families |
group-onsemi | 0:098463de4c5d | 1151 | * @{ |
group-onsemi | 0:098463de4c5d | 1152 | */ |
group-onsemi | 0:098463de4c5d | 1153 | /** SAM3S Family */ |
group-onsemi | 0:098463de4c5d | 1154 | #define SAM3S (SAM3S1 || SAM3S2 || SAM3S4 || SAM3S8 || SAM3SD8) |
group-onsemi | 0:098463de4c5d | 1155 | |
group-onsemi | 0:098463de4c5d | 1156 | /** SAM3U Family */ |
group-onsemi | 0:098463de4c5d | 1157 | #define SAM3U (SAM3U1 || SAM3U2 || SAM3U4) |
group-onsemi | 0:098463de4c5d | 1158 | |
group-onsemi | 0:098463de4c5d | 1159 | /** SAM3N Family */ |
group-onsemi | 0:098463de4c5d | 1160 | #define SAM3N (SAM3N00 || SAM3N0 || SAM3N1 || SAM3N2 || SAM3N4) |
group-onsemi | 0:098463de4c5d | 1161 | |
group-onsemi | 0:098463de4c5d | 1162 | /** SAM3XA Family */ |
group-onsemi | 0:098463de4c5d | 1163 | #define SAM3XA (SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8) |
group-onsemi | 0:098463de4c5d | 1164 | |
group-onsemi | 0:098463de4c5d | 1165 | /** SAM4S Family */ |
group-onsemi | 0:098463de4c5d | 1166 | #define SAM4S (SAM4S2 || SAM4S4 || SAM4S8 || SAM4S16 || SAM4SA16 || SAM4SD16 || SAM4SD32) |
group-onsemi | 0:098463de4c5d | 1167 | |
group-onsemi | 0:098463de4c5d | 1168 | /** SAM4L Family */ |
group-onsemi | 0:098463de4c5d | 1169 | #define SAM4L (SAM4LS || SAM4LC) |
group-onsemi | 0:098463de4c5d | 1170 | |
group-onsemi | 0:098463de4c5d | 1171 | /** SAMD20 Family */ |
group-onsemi | 0:098463de4c5d | 1172 | #define SAMD20 (SAMD20J || SAMD20G || SAMD20E) |
group-onsemi | 0:098463de4c5d | 1173 | |
group-onsemi | 0:098463de4c5d | 1174 | /** SAMD21 Family */ |
group-onsemi | 0:098463de4c5d | 1175 | #define SAMD21 (SAMD21J || SAMD21G || SAMD21E) |
group-onsemi | 0:098463de4c5d | 1176 | |
group-onsemi | 0:098463de4c5d | 1177 | /** SAMD10 Family */ |
group-onsemi | 0:098463de4c5d | 1178 | #define SAMD10 (SAMD10C || SAMD10DS || SAMD10DM) |
group-onsemi | 0:098463de4c5d | 1179 | |
group-onsemi | 0:098463de4c5d | 1180 | /** SAMD11 Family */ |
group-onsemi | 0:098463de4c5d | 1181 | #define SAMD11 (SAMD11C || SAMD11DS || SAMD11DM) |
group-onsemi | 0:098463de4c5d | 1182 | |
group-onsemi | 0:098463de4c5d | 1183 | /** SAMD Family */ |
group-onsemi | 0:098463de4c5d | 1184 | #define SAMD (SAMD20 || SAMD21 || SAMD10 || SAMD11) |
group-onsemi | 0:098463de4c5d | 1185 | |
group-onsemi | 0:098463de4c5d | 1186 | /** SAMR21 Family */ |
group-onsemi | 0:098463de4c5d | 1187 | #define SAMR21 (SAMR21G || SAMR21E) |
group-onsemi | 0:098463de4c5d | 1188 | |
group-onsemi | 0:098463de4c5d | 1189 | /** SAML21 Family */ |
group-onsemi | 0:098463de4c5d | 1190 | #define SAML21 (SAML21J || SAML21G || SAML21E) |
group-onsemi | 0:098463de4c5d | 1191 | |
group-onsemi | 0:098463de4c5d | 1192 | /** SAM4E Family */ |
group-onsemi | 0:098463de4c5d | 1193 | #define SAM4E (SAM4E8 || SAM4E16) |
group-onsemi | 0:098463de4c5d | 1194 | |
group-onsemi | 0:098463de4c5d | 1195 | /** SAM4N Family */ |
group-onsemi | 0:098463de4c5d | 1196 | #define SAM4N (SAM4N8 || SAM4N16) |
group-onsemi | 0:098463de4c5d | 1197 | |
group-onsemi | 0:098463de4c5d | 1198 | /** SAM4C Family */ |
group-onsemi | 0:098463de4c5d | 1199 | #define SAM4C_0 (SAM4C8_0 || SAM4C16_0 || SAM4C32_0) |
group-onsemi | 0:098463de4c5d | 1200 | #define SAM4C_1 (SAM4C8_1 || SAM4C16_1 || SAM4C32_1) |
group-onsemi | 0:098463de4c5d | 1201 | #define SAM4C (SAM4C8 || SAM4C16 || SAM4C32) |
group-onsemi | 0:098463de4c5d | 1202 | |
group-onsemi | 0:098463de4c5d | 1203 | /** SAM4CM Family */ |
group-onsemi | 0:098463de4c5d | 1204 | #define SAM4CM_0 (SAM4CMP8_0 || SAM4CMP16_0 || SAM4CMP32_0 || SAM4CMS8_0 || \ |
group-onsemi | 0:098463de4c5d | 1205 | SAM4CMS16_0 || SAM4CMS32_0) |
group-onsemi | 0:098463de4c5d | 1206 | #define SAM4CM_1 (SAM4CMP8_1 || SAM4CMP16_1 || SAM4CMP32_1 || SAM4CMS8_1 || \ |
group-onsemi | 0:098463de4c5d | 1207 | SAM4CMS16_1 || SAM4CMS32_1) |
group-onsemi | 0:098463de4c5d | 1208 | #define SAM4CM (SAM4CMP8 || SAM4CMP16 || SAM4CMP32 || SAM4CMS8 || \ |
group-onsemi | 0:098463de4c5d | 1209 | SAM4CMS16 || SAM4CMS32) |
group-onsemi | 0:098463de4c5d | 1210 | |
group-onsemi | 0:098463de4c5d | 1211 | /** SAM4CP Family */ |
group-onsemi | 0:098463de4c5d | 1212 | #define SAM4CP_0 (SAM4CP16_0) |
group-onsemi | 0:098463de4c5d | 1213 | #define SAM4CP_1 (SAM4CP16_1) |
group-onsemi | 0:098463de4c5d | 1214 | #define SAM4CP (SAM4CP16) |
group-onsemi | 0:098463de4c5d | 1215 | |
group-onsemi | 0:098463de4c5d | 1216 | /** SAMG Family */ |
group-onsemi | 0:098463de4c5d | 1217 | #define SAMG (SAMG51 || SAMG53 || SAMG54 || SAMG55) |
group-onsemi | 0:098463de4c5d | 1218 | |
group-onsemi | 0:098463de4c5d | 1219 | /** SAM0 product line (cortex-m0+) */ |
group-onsemi | 0:098463de4c5d | 1220 | #define SAM0 (SAMD20 || SAMD21 || SAMR21 || SAMD10 || SAMD11 || SAML21) |
group-onsemi | 0:098463de4c5d | 1221 | |
group-onsemi | 0:098463de4c5d | 1222 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1223 | |
group-onsemi | 0:098463de4c5d | 1224 | /** SAM product line */ |
group-onsemi | 0:098463de4c5d | 1225 | #define SAM (SAM3S || SAM3U || SAM3N || SAM3XA || SAM4S || SAM4L || SAM4E || \ |
group-onsemi | 0:098463de4c5d | 1226 | SAM0 || SAM4N || SAM4C || SAM4CM || SAM4CP || SAMG) |
group-onsemi | 0:098463de4c5d | 1227 | |
group-onsemi | 0:098463de4c5d | 1228 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1229 | |
group-onsemi | 0:098463de4c5d | 1230 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1231 | |
group-onsemi | 0:098463de4c5d | 1232 | /** @} */ |
group-onsemi | 0:098463de4c5d | 1233 | |
group-onsemi | 0:098463de4c5d | 1234 | #endif /* ATMEL_PARTS_H */ |