LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Attributes.h File Reference

Go to the source code of this file.

Macros

#define ATTR_NO_RETURN   __attribute__ ((noreturn))
 
#define ATTR_WARN_UNUSED_RESULT   __attribute__ ((warn_unused_result))
 
#define ATTR_NON_NULL_PTR_ARG(...)   __attribute__ ((nonnull (__VA_ARGS__)))
 
#define ATTR_NAKED   __attribute__ ((naked))
 
#define ATTR_NO_INLINE   __attribute__ ((noinline))
 
#define PRAGMA_ALWAYS_INLINE
 
#define ATTR_ALWAYS_INLINE   __attribute__ ((always_inline))
 
#define ATTR_PURE   __attribute__ ((pure))
 
#define ATTR_CONST   __attribute__ ((const))
 
#define ATTR_DEPRECATED   __attribute__ ((deprecated))
 
#define PRAGMA_WEAK(func, alias)
 
#define ATTR_WEAK   __attribute__ ((weak))
 
#define ATTR_ALIAS(Func)   __attribute__ ((alias( #Func )))
 
#define ATTR_NO_INIT   __attribute__ ((section (".noinit")))
 
#define PRAGMA_ALIGN_4096
 
#define PRAGMA_ALIGN_2048
 
#define PRAGMA_ALIGN_256
 
#define PRAGMA_ALIGN_128
 
#define PRAGMA_ALIGN_64
 
#define PRAGMA_ALIGN_48
 
#define PRAGMA_ALIGN_32
 
#define PRAGMA_ALIGN_4
 
#define ATTR_ALIGNED(Bytes)   __attribute__ ((aligned(Bytes)))
 
#define ATTR_DEPRECATED   __attribute__ ((deprecated))
 
#define ATTR_ERROR(Message)   __attribute__ (( error(Message) ))
 
#define ATTR_WARNING(Message)   __attribute__ (( warning(Message) ))
 
#define ATTR_IAR_PACKED
 
#define ATTR_PACKED   __attribute__ ((packed))
 
#define ATTR_INIT_SECTION(SectionIndex)   __attribute__ ((naked, section (".init" #SectionIndex )))