Macros
Collaboration diagram for megaAVR parts:

Macros

#define MEGA
 

ATmegaxx0/xx1 subgroups

#define MEGA_XX0
 
#define MEGA_XX1
 

megaAVR groups

#define MEGA_XX0_1   (MEGA_XX0 || MEGA_XX1)
 
#define MEGA_XX4
 
#define MEGA_XX4_A
 
#define MEGA_XX8
 
#define MEGA_XX8_A
 
#define MEGA_XX
 
#define MEGA_XX_A
 
#define MEGA_RFA1
 
#define MEGA_RFR2
 
#define MEGA_RF   (MEGA_RFA1 || MEGA_RFR2)
 

ATmegaxx_un0/un1/un2 subgroups

#define MEGA_XX_UN0
 
#define MEGA_XX_UN1
 
#define MEGA_XX_UN2
 
#define MEGA_UNCATEGORIZED
 
#define MEGA_UNSPECIFIED
 

Detailed Description

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.

Macro Definition Documentation

◆ MEGA

#define MEGA
Value:
MEGA_UNSPECIFIED)
#define MEGA_XX
Definition: parts.h:468
#define MEGA_XX4
Definition: parts.h:413
#define MEGA_XX0_1
Definition: parts.h:410
#define MEGA_XX8
Definition: parts.h:438
#define MEGA_RF
Definition: parts.h:503

megaAVR product line

Definition at line 617 of file parts.h.

◆ MEGA_RF

#define MEGA_RF   (MEGA_RFA1 || MEGA_RFR2)

ATmegaxxRFxx group

Definition at line 503 of file parts.h.

◆ MEGA_RFA1

#define MEGA_RFA1
Value:
( \
AVR8_PART_IS_DEFINED(ATmega128RFA1) \
)

ATmegaxxRFA1 group

Definition at line 487 of file parts.h.

◆ MEGA_RFR2

#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) \
)

ATmegaxxRFR2 group

Definition at line 492 of file parts.h.

◆ MEGA_UNCATEGORIZED

#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.

Definition at line 540 of file parts.h.

◆ MEGA_UNSPECIFIED

#define MEGA_UNSPECIFIED
Value:
MEGA_UNCATEGORIZED)
#define MEGA_XX_UN2
Definition: parts.h:529
#define MEGA_XX_UN1
Definition: parts.h:519
#define MEGA_XX_UN0
Definition: parts.h:509

Unspecified group

Definition at line 611 of file parts.h.

◆ MEGA_XX

#define MEGA_XX
Value:
( \
AVR8_PART_IS_DEFINED(ATmega16) || \
AVR8_PART_IS_DEFINED(ATmega16A) || \
AVR8_PART_IS_DEFINED(ATmega32) || \
AVR8_PART_IS_DEFINED(ATmega32A) || \
AVR8_PART_IS_DEFINED(ATmega64) || \
AVR8_PART_IS_DEFINED(ATmega64A) || \
AVR8_PART_IS_DEFINED(ATmega128) || \
AVR8_PART_IS_DEFINED(ATmega128A) \
)

ATmegaxx group

Definition at line 468 of file parts.h.

◆ MEGA_XX0

#define MEGA_XX0
Value:
( \
AVR8_PART_IS_DEFINED(ATmega640) || \
AVR8_PART_IS_DEFINED(ATmega1280) || \
AVR8_PART_IS_DEFINED(ATmega2560) \
)

Definition at line 393 of file parts.h.

◆ MEGA_XX0_1

#define MEGA_XX0_1   (MEGA_XX0 || MEGA_XX1)

ATmegaxx0/xx1 group

Definition at line 410 of file parts.h.

◆ MEGA_XX1

#define MEGA_XX1
Value:
( \
AVR8_PART_IS_DEFINED(ATmega1281) || \
AVR8_PART_IS_DEFINED(ATmega2561) \
)

Definition at line 399 of file parts.h.

◆ MEGA_XX4

#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) \
)

ATmegaxx4 group

Definition at line 413 of file parts.h.

◆ MEGA_XX4_A

#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) \
)

ATmegaxx4 group

Definition at line 427 of file parts.h.

◆ MEGA_XX8

#define MEGA_XX8
Value:
( \
AVR8_PART_IS_DEFINED(ATmega48) || \
AVR8_PART_IS_DEFINED(ATmega48A) || \
AVR8_PART_IS_DEFINED(ATmega48PA) || \
AVR8_PART_IS_DEFINED(ATmega48PB) || \
AVR8_PART_IS_DEFINED(ATmega88) || \
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) \
)

ATmegaxx8 group

Definition at line 438 of file parts.h.

◆ MEGA_XX8_A

#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) \
)

ATmegaxx8A/P/PA group

Definition at line 457 of file parts.h.

◆ MEGA_XX_A

#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) \
)

ATmegaxxA/P/PA group

Definition at line 480 of file parts.h.

◆ MEGA_XX_UN0

#define MEGA_XX_UN0
Value:
( \
AVR8_PART_IS_DEFINED(ATmega16) || \
AVR8_PART_IS_DEFINED(ATmega16A) || \
AVR8_PART_IS_DEFINED(ATmega32) || \
AVR8_PART_IS_DEFINED(ATmega32A) \
)

Definition at line 509 of file parts.h.

◆ MEGA_XX_UN1

#define MEGA_XX_UN1
Value:
( \
AVR8_PART_IS_DEFINED(ATmega64) || \
AVR8_PART_IS_DEFINED(ATmega64A) || \
AVR8_PART_IS_DEFINED(ATmega128) || \
AVR8_PART_IS_DEFINED(ATmega128A) \
)

ATmegaxx group without power reduction and And interrupt sense register.

Definition at line 519 of file parts.h.

◆ MEGA_XX_UN2

#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) \
)

ATmegaxx group without power reduction and And interrupt sense register.

Definition at line 529 of file parts.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:01