Atmel Software Framework

Note
These megaAVR groupings are based on the groups in AVR Libc for the part header files. They are not names of official megaAVR device series or families.

Macros

#define MEGA
 megaAVR product line 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...
 

#define MEGA
Value:
#define MEGA_XX
ATmegaxx group.
Definition: parts.h:478
#define MEGA_XX4
ATmegaxx4 group.
Definition: parts.h:423
#define MEGA_XX0_1
ATmegaxx0/xx1 group.
Definition: parts.h:420
#define MEGA_XX8
ATmegaxx8 group.
Definition: parts.h:448
#define MEGA_RF
ATmegaxxRFxx group.
Definition: parts.h:513
#define MEGA_UNSPECIFIED
Unspecified group.
Definition: parts.h:621

megaAVR product line

#define MEGA_RF   (MEGA_RFA1 || MEGA_RFR2)

ATmegaxxRFxx group.

#define MEGA_RFA1
Value:
( \
AVR8_PART_IS_DEFINED(ATmega128RFA1) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxxRFA1 group.

#define MEGA_RFR2
Value:
( \
AVR8_PART_IS_DEFINED(ATmega64RFR2) || \
AVR8_PART_IS_DEFINED(ATmega128RFR2) || \
AVR8_PART_IS_DEFINED(ATmega256RFR2) || \
AVR8_PART_IS_DEFINED(ATmega644RFR2) || \
AVR8_PART_IS_DEFINED(ATmega1284RFR2) || \
AVR8_PART_IS_DEFINED(ATmega2564RFR2) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxxRFR2 group.

#define MEGA_UNCATEGORIZED

Devices added to complete megaAVR offering.

Please do not use this group symbol as it is not intended to be permanent: the devices should be regrouped.

#define MEGA_UNSPECIFIED
Value:
#define MEGA_XX_UN2
ATmegaxx group without power reduction and And interrupt sense register.
Definition: parts.h:539
#define MEGA_XX_UN1
ATmegaxx group without power reduction and And interrupt sense register.
Definition: parts.h:529
#define MEGA_UNCATEGORIZED
Devices added to complete megaAVR offering.
Definition: parts.h:550
#define MEGA_XX_UN0
Definition: parts.h:519

Unspecified group.

#define MEGA_XX
Value:
( \
AVR8_PART_IS_DEFINED(ATmega16A) || \
AVR8_PART_IS_DEFINED(ATmega32A) || \
AVR8_PART_IS_DEFINED(ATmega64A) || \
AVR8_PART_IS_DEFINED(ATmega128) || \
AVR8_PART_IS_DEFINED(ATmega128A) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxx group.

#define MEGA_XX0
Value:
( \
AVR8_PART_IS_DEFINED(ATmega640) || \
AVR8_PART_IS_DEFINED(ATmega1280) || \
AVR8_PART_IS_DEFINED(ATmega2560) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65
#define MEGA_XX0_1   (MEGA_XX0 || MEGA_XX1)

ATmegaxx0/xx1 group.

#define MEGA_XX1
Value:
( \
AVR8_PART_IS_DEFINED(ATmega1281) || \
AVR8_PART_IS_DEFINED(ATmega2561) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65
#define MEGA_XX4
Value:
( \
AVR8_PART_IS_DEFINED(ATmega164A) || \
AVR8_PART_IS_DEFINED(ATmega164PA) || \
AVR8_PART_IS_DEFINED(ATmega324A) || \
AVR8_PART_IS_DEFINED(ATmega324PA) || \
AVR8_PART_IS_DEFINED(ATmega324PB) || \
AVR8_PART_IS_DEFINED(ATmega644) || \
AVR8_PART_IS_DEFINED(ATmega644A) || \
AVR8_PART_IS_DEFINED(ATmega644PA) || \
AVR8_PART_IS_DEFINED(ATmega1284P) || \
AVR8_PART_IS_DEFINED(ATmega128RFA1) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxx4 group.

#define MEGA_XX4_A
Value:
( \
AVR8_PART_IS_DEFINED(ATmega164A) || \
AVR8_PART_IS_DEFINED(ATmega164PA) || \
AVR8_PART_IS_DEFINED(ATmega324A) || \
AVR8_PART_IS_DEFINED(ATmega324PA) || \
AVR8_PART_IS_DEFINED(ATmega644A) || \
AVR8_PART_IS_DEFINED(ATmega644PA) || \
AVR8_PART_IS_DEFINED(ATmega1284P) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxx4 group.

#define MEGA_XX8
Value:
( \
AVR8_PART_IS_DEFINED(ATmega48A) || \
AVR8_PART_IS_DEFINED(ATmega48PA) || \
AVR8_PART_IS_DEFINED(ATmega48PB) || \
AVR8_PART_IS_DEFINED(ATmega88A) || \
AVR8_PART_IS_DEFINED(ATmega88PA) || \
AVR8_PART_IS_DEFINED(ATmega88PB) || \
AVR8_PART_IS_DEFINED(ATmega168) || \
AVR8_PART_IS_DEFINED(ATmega168A) || \
AVR8_PART_IS_DEFINED(ATmega168PA) || \
AVR8_PART_IS_DEFINED(ATmega168PB) || \
AVR8_PART_IS_DEFINED(ATmega328) || \
AVR8_PART_IS_DEFINED(ATmega328P) || \
AVR8_PART_IS_DEFINED(ATmega328PB) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxx8 group.

#define MEGA_XX8_A
Value:
( \
AVR8_PART_IS_DEFINED(ATmega48A) || \
AVR8_PART_IS_DEFINED(ATmega48PA) || \
AVR8_PART_IS_DEFINED(ATmega88A) || \
AVR8_PART_IS_DEFINED(ATmega88PA) || \
AVR8_PART_IS_DEFINED(ATmega168A) || \
AVR8_PART_IS_DEFINED(ATmega168PA) || \
AVR8_PART_IS_DEFINED(ATmega328P) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxx8A/P/PA group.

#define MEGA_XX_A
Value:
( \
AVR8_PART_IS_DEFINED(ATmega16A) || \
AVR8_PART_IS_DEFINED(ATmega32A) || \
AVR8_PART_IS_DEFINED(ATmega64A) || \
AVR8_PART_IS_DEFINED(ATmega128A) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxxA/P/PA group.

#define MEGA_XX_UN0
Value:
( \
AVR8_PART_IS_DEFINED(ATmega16A) || \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65
#define MEGA_XX_UN1
Value:
( \
AVR8_PART_IS_DEFINED(ATmega64A) || \
AVR8_PART_IS_DEFINED(ATmega128) || \
AVR8_PART_IS_DEFINED(ATmega128A) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxx group without power reduction and And interrupt sense register.

#define MEGA_XX_UN2
Value:
( \
AVR8_PART_IS_DEFINED(ATmega169P) || \
AVR8_PART_IS_DEFINED(ATmega169PA) || \
AVR8_PART_IS_DEFINED(ATmega329P) || \
AVR8_PART_IS_DEFINED(ATmega329PA) \
)
#define AVR8_PART_IS_DEFINED(part)
Definition: parts.h:65

ATmegaxx group without power reduction and And interrupt sense register.