Atmel Software Framework

parts.h File Reference

Atmel part identification macros.

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

Macros

#define MEGA
 megaAVR product line More...
 
#define SAM
 SAM 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...
 
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 SAMD21GXXL
 
#define SAMD21E
 
#define SAMD21EXXL
 
SAMR21 series
#define SAMR21G
 
#define SAMR21E
 
SAMR30 series
#define SAMR30G
 
#define SAMR30E
 
SAMB11 series
#define SAMB11G
 
#define BTLC1000
 
SAMD09 series
#define SAMD09C
 
#define SAMD09D
 
SAMD10 series
#define SAMD10C
 
#define SAMD10DS
 
#define SAMD10DM
 
#define SAMD10DU
 
SAMD11 series
#define SAMD11C
 
#define SAMD11DS
 
#define SAMD11DM
 
#define SAMD11DU
 
SAML21 series
#define SAML21E
 
#define SAML21G
 
#define SAML21J
 
#define SAML21XXXA
 
#define SAML21XXXB
 
SAML22 series
#define SAML22N
 
#define SAML22G
 
#define SAML22J
 
SAMDA1 series
#define SAMDA1J
 
#define SAMDA1G
 
#define SAMDA1E
 
SAMHA1 series
#define SAMHA1G
 
SAMC20 series
#define SAMC20E
 
#define SAMC20G
 
#define SAMC20J
 
SAMC21 series
#define SAMC21E
 
#define SAMC21G
 
#define SAMC21J
 
SAM4E series
#define SAM4E8
 
#define SAM4E16
 
SAM4N series
#define SAM4N8
 
#define SAM4N16
 
SAM4C series
#define SAM4C4_0
 
#define SAM4C4_1
 
#define SAM4C4   (SAM4C4_0 || SAM4C4_1)
 
#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 SAM4CMS4_0
 
#define SAM4CMS4_1
 
#define SAM4CMS4   (SAM4CMS4_0 || SAM4CMS4_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
 
SAMV71 series
#define SAMV71J
 
#define SAMV71N
 
#define SAMV71Q
 
SAMV70 series
#define SAMV70J
 
#define SAMV70N
 
#define SAMV70Q
 
SAMS70 series
#define SAMS70J
 
#define SAMS70N
 
#define SAMS70Q
 
SAME70 series
#define SAME70J
 
#define SAME70N
 
#define SAME70Q
 
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 SAMD09   (SAMD09C || SAMD09D)
 SAMD09 Family. More...
 
#define SAMD10   (SAMD10C || SAMD10DS || SAMD10DM || SAMD10DU)
 SAMD10 Family. More...
 
#define SAMD11   (SAMD11C || SAMD11DS || SAMD11DM || SAMD11DU)
 SAMD11 Family. More...
 
#define SAMDA1   (SAMDA1J || SAMDA1G || SAMDA1E)
 SAMDA1 Family. More...
 
#define SAMHA1   (SAMHA1G)
 SAMHA1 Family. More...
 
#define SAMD   (SAMD20 || SAMD21 || SAMD09 || SAMD10 || SAMD11 || SAMDA1)
 SAMD Family. More...
 
#define SAMR21   (SAMR21G || SAMR21E)
 SAMR21 Family. More...
 
#define SAMR30   (SAMR30G || SAMR30E)
 SAMR30 Family. More...
 
#define SAMB11   (SAMB11G || BTLC1000)
 SAMB11 Family. More...
 
#define SAML21   (SAML21J || SAML21G || SAML21E)
 SAML21 Family. More...
 
#define SAML22   (SAML22J || SAML22G || SAML22N)
 SAML22 Family. More...
 
#define SAMC20   (SAMC20J || SAMC20G || SAMC20E)
 SAMC20 Family. More...
 
#define SAMC21   (SAMC21J || SAMC21G || SAMC21E)
 SAMC21 Family. More...
 
#define SAM4E   (SAM4E8 || SAM4E16)
 SAM4E Family. More...
 
#define SAM4N   (SAM4N8 || SAM4N16)
 SAM4N Family. More...
 
#define SAM4C_0   (SAM4C4_0 || SAM4C8_0 || SAM4C16_0 || SAM4C32_0)
 SAM4C Family. More...
 
#define SAM4C_1   (SAM4C4_1 || SAM4C8_1 || SAM4C16_1 || SAM4C32_1)
 
#define SAM4C   (SAM4C4 || 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 || SAMG55)
 SAMG Family. More...
 
#define SAMB   (SAMB11)
 SAMB Family. More...
 
#define SAMV71   (SAMV71J || SAMV71N || SAMV71Q)
 SAMV71 Family. More...
 
#define SAMV70   (SAMV70J || SAMV70N || SAMV70Q)
 SAMV70 Family. More...
 
#define SAME70   (SAME70J || SAME70N || SAME70Q)
 SAME70 Family. More...
 
#define SAMS70   (SAMS70J || SAMS70N || SAMS70Q)
 SAMS70 Family. More...
 
#define SAM0
 SAM0 product line (cortex-m0+) More...