Modules
Atmel part identification macros
Collaboration diagram for Atmel part identification macros:

Modules

 AVR UC3 parts
 
 AVR XMEGA parts
 
 megaAVR parts
 
 SAM parts
 

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

Detailed Description

This collection of macros identify which series and families that the various Atmel parts belong to. These can be used to select part-dependent sections of code at compile time.

Macro Definition Documentation

◆ AVR32_PART_IS_DEFINED

#define AVR32_PART_IS_DEFINED (   part)    (defined(__AT32 ## part ## __) || defined(__AVR32_ ## part ## __))

Definition at line 59 of file parts.h.

◆ AVR8_PART_IS_DEFINED

#define AVR8_PART_IS_DEFINED (   part)    (defined(__ ## part ## __) || defined(__AVR_ ## part ## __))

Definition at line 55 of file parts.h.

◆ SAM_PART_IS_DEFINED

#define SAM_PART_IS_DEFINED (   part)    (defined(__ ## part ## __))

Definition at line 63 of file parts.h.



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