Atmel Software Framework

parts.h File Reference

Atmel part identification macros.

Copyright (C) 2012-2014 Atmel Corporation. All rights reserved.

Macros

#define MEGA
 megaAVR product line More...
 
#define SAM
 SAM product line. More...
 
#define TINY   (TINY_UNCATEGORIZED)
 tinyAVR product line More...
 
#define UC3   (UC3A || UC3B || UC3C || UC3D || UC3L)
 AVR UC3 product line. More...
 
#define XMEGA   (XMEGA_A || XMEGA_AU || XMEGA_B || XMEGA_C || XMEGA_D || XMEGA_E)
 AVR XMEGA product line. More...
 
Convenience macros for part checking
#define AVR8_PART_IS_DEFINED(part)   (defined(__ ## part ## __) || defined(__AVR_ ## part ## __))
 
#define AVR32_PART_IS_DEFINED(part)   (defined(__AT32 ## part ## __) || defined(__AVR32_ ## part ## __))
 
#define SAM_PART_IS_DEFINED(part)   (defined(__ ## part ## __))
 
AVR UC3 A series
#define UC3A0
 
#define UC3A1
 
#define UC3A3
 
#define UC3A4
 
AVR UC3 B series
#define UC3B0
 
#define UC3B1
 
AVR UC3 C series
#define UC3C0
 
#define UC3C1
 
#define UC3C2
 
AVR UC3 D series
#define UC3D3
 
#define UC3D4
 
AVR UC3 L series
#define UC3L0
 
#define UC3L0128
 
#define UC3L0256
 
#define UC3L3
 
#define UC3L4
 
#define UC3L3_L4   (UC3L3 || UC3L4)
 
AVR UC3 families
#define UC3A   (UC3A0 || UC3A1 || UC3A3 || UC3A4)
 AVR UC3 A family. More...
 
#define UC3B   (UC3B0 || UC3B1)
 AVR UC3 B family. More...
 
#define UC3C   (UC3C0 || UC3C1 || UC3C2)
 AVR UC3 C family. More...
 
#define UC3D   (UC3D3 || UC3D4)
 AVR UC3 D family. More...
 
#define UC3L   (UC3L0 || UC3L0128 || UC3L0256 || UC3L3_L4)
 AVR UC3 L family. More...
 
AVR XMEGA A series
#define XMEGA_A1
 
#define XMEGA_A3
 
#define XMEGA_A3B
 
#define XMEGA_A4
 
AVR XMEGA AU series
#define XMEGA_A1U
 
#define XMEGA_A3U
 
#define XMEGA_A3BU
 
#define XMEGA_A4U
 
AVR XMEGA B series
#define XMEGA_B1
 
#define XMEGA_B3
 
AVR XMEGA C series
#define XMEGA_C3
 
#define XMEGA_C4
 
AVR XMEGA D series
#define XMEGA_D3
 
#define XMEGA_D4
 
AVR XMEGA E series
#define XMEGA_E5
 
AVR XMEGA families
#define XMEGA_A   (XMEGA_A1 || XMEGA_A3 || XMEGA_A3B || XMEGA_A4)
 AVR XMEGA A family. More...
 
#define XMEGA_AU   (XMEGA_A1U || XMEGA_A3U || XMEGA_A3BU || XMEGA_A4U)
 AVR XMEGA AU family. More...
 
#define XMEGA_B   (XMEGA_B1 || XMEGA_B3)
 AVR XMEGA B family. More...
 
#define XMEGA_C   (XMEGA_C3 || XMEGA_C4)
 AVR XMEGA C family. More...
 
#define XMEGA_D   (XMEGA_D3 || XMEGA_D4)
 AVR XMEGA D family. More...
 
#define XMEGA_E   (XMEGA_E5)
 AVR XMEGA E family. More...
 
ATmegaxx0/xx1 subgroups
#define MEGA_XX0
 
#define MEGA_XX1
 
megaAVR groups
#define MEGA_XX0_1   (MEGA_XX0 || MEGA_XX1)
 ATmegaxx0/xx1 group. More...
 
#define MEGA_XX4
 ATmegaxx4 group. More...
 
#define MEGA_XX4_A
 ATmegaxx4 group. More...
 
#define MEGA_XX8
 ATmegaxx8 group. More...
 
#define MEGA_XX8_A
 ATmegaxx8A/P/PA group. More...
 
#define MEGA_XX
 ATmegaxx group. More...
 
#define MEGA_XX_A
 ATmegaxxA/P/PA group. More...
 
#define MEGA_RFA1
 ATmegaxxRFA1 group. More...
 
#define MEGA_RFR2
 ATmegaxxRFR2 group. More...
 
#define MEGA_RF   (MEGA_RFA1 || MEGA_RFR2)
 ATmegaxxRFxx group. More...
 
ATmegaxx_un0/un1/un2 subgroups
#define MEGA_XX_UN0
 
#define MEGA_XX_UN1
 ATmegaxx group without power reduction and And interrupt sense register. More...
 
#define MEGA_XX_UN2
 ATmegaxx group without power reduction and And interrupt sense register. More...
 
#define MEGA_UNCATEGORIZED
 Devices added to complete megaAVR offering. More...
 
#define MEGA_UNSPECIFIED
 Unspecified group. More...
 
tinyAVR groups
#define TINY_UNCATEGORIZED
 Devices added to complete tinyAVR offering. More...
 
SAM3S series
#define SAM3S1
 
#define SAM3S2
 
#define SAM3S4
 
#define SAM3S8
 
#define SAM3SD8
 
SAM3U series
#define SAM3U1
 
#define SAM3U2
 
#define SAM3U4
 
SAM3N series
#define SAM3N00
 
#define SAM3N0
 
#define SAM3N1
 
#define SAM3N2
 
#define SAM3N4
 
SAM3X series
#define SAM3X4
 
#define SAM3X8
 
SAM3A series
#define SAM3A4
 
#define SAM3A8
 
SAM4S series
#define SAM4S2
 
#define SAM4S4
 
#define SAM4S8
 
#define SAM4S16
 
#define SAM4SA16
 
#define SAM4SD16
 
#define SAM4SD32
 
SAM4L series
#define SAM4LS
 
#define SAM4LC
 
SAMD20 series
#define SAMD20J
 
#define SAMD20G
 
#define SAMD20E
 
SAMD21 series
#define SAMD21J
 
#define SAMD21G
 
#define SAMD21E
 
SAMR21 series
#define SAMR21G
 
#define SAMR21E
 
SAMD10 series
#define SAMD10C
 
#define SAMD10DS
 
#define SAMD10DM
 
SAMD11 series
#define SAMD11C
 
#define SAMD11DS
 
#define SAMD11DM
 
SAM4E series
#define SAM4E8
 
#define SAM4E16
 
SAM4N series
#define SAM4N8
 
#define SAM4N16
 
SAM4C series
#define SAM4C8_0
 
#define SAM4C8_1
 
#define SAM4C8   (SAM4C8_0 || SAM4C8_1)
 
#define SAM4C16_0
 
#define SAM4C16_1
 
#define SAM4C16   (SAM4C16_0 || SAM4C16_1)
 
#define SAM4C32_0
 
#define SAM4C32_1
 
#define SAM4C32   (SAM4C32_0 || SAM4C32_1)
 
SAM4CM series
#define SAM4CMP8_0
 
#define SAM4CMP8_1
 
#define SAM4CMP8   (SAM4CMP8_0 || SAM4CMP8_1)
 
#define SAM4CMP16_0
 
#define SAM4CMP16_1
 
#define SAM4CMP16   (SAM4CMP16_0 || SAM4CMP16_1)
 
#define SAM4CMP32_0
 
#define SAM4CMP32_1
 
#define SAM4CMP32   (SAM4CMP32_0 || SAM4CMP32_1)
 
#define SAM4CMS8_0
 
#define SAM4CMS8_1
 
#define SAM4CMS8   (SAM4CMS8_0 || SAM4CMS8_1)
 
#define SAM4CMS16_0
 
#define SAM4CMS16_1
 
#define SAM4CMS16   (SAM4CMS16_0 || SAM4CMS16_1)
 
#define SAM4CMS32_0
 
#define SAM4CMS32_1
 
#define SAM4CMS32   (SAM4CMS32_0 || SAM4CMS32_1)
 
SAM4CP series
#define SAM4CP16_0
 
#define SAM4CP16_1
 
#define SAM4CP16   (SAM4CP16_0 || SAM4CP16_1)
 
SAMG series
#define SAMG51
 
#define SAMG53
 
#define SAMG54
 
#define SAMG55
 
SAM families
#define SAM3S   (SAM3S1 || SAM3S2 || SAM3S4 || SAM3S8 || SAM3SD8)
 SAM3S Family. More...
 
#define SAM3U   (SAM3U1 || SAM3U2 || SAM3U4)
 SAM3U Family. More...
 
#define SAM3N   (SAM3N00 || SAM3N0 || SAM3N1 || SAM3N2 || SAM3N4)
 SAM3N Family. More...
 
#define SAM3XA   (SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8)
 SAM3XA Family. More...
 
#define SAM4S   (SAM4S2 || SAM4S4 || SAM4S8 || SAM4S16 || SAM4SA16 || SAM4SD16 || SAM4SD32)
 SAM4S Family. More...
 
#define SAM4L   (SAM4LS || SAM4LC)
 SAM4L Family. More...
 
#define SAMD20   (SAMD20J || SAMD20G || SAMD20E)
 SAMD20 Family. More...
 
#define SAMD21   (SAMD21J || SAMD21G || SAMD21E)
 SAMD21 Family. More...
 
#define SAMD10   (SAMD10C || SAMD10DS || SAMD10DM)
 SAMD10 Family. More...
 
#define SAMD11   (SAMD11C || SAMD11DS || SAMD11DM)
 SAMD11 Family. More...
 
#define SAMD   (SAMD20 || SAMD21 || SAMD10 || SAMD11)
 SAMD Family. More...
 
#define SAMR21   (SAMR21G || SAMR21E)
 SAMR21 Family. More...
 
#define SAM4E   (SAM4E8 || SAM4E16)
 SAM4E Family. More...
 
#define SAM4N   (SAM4N8 || SAM4N16)
 SAM4N Family. More...
 
#define SAM4C_0   (SAM4C8_0 || SAM4C16_0 || SAM4C32_0)
 SAM4C Family. More...
 
#define SAM4C_1   (SAM4C8_1 || SAM4C16_1 || SAM4C32_1)
 
#define SAM4C   (SAM4C8 || SAM4C16 || SAM4C32)
 
#define SAM4CM_0
 SAM4CM Family. More...
 
#define SAM4CM_1
 
#define SAM4CM
 
#define SAM4CP_0   (SAM4CP16_0)
 SAM4CP Family. More...
 
#define SAM4CP_1   (SAM4CP16_1)
 
#define SAM4CP   (SAM4CP16)
 
#define SAMG   (SAMG51 || SAMG53 || SAMG54)
 SAMG Family. More...
 
#define SAM0   (SAMD20 || SAMD21 || SAMR21 || SAMD10 || SAMD11)
 SAM0 product line (cortex-m0+) More...