Compiler definitions#
Compiler definitions.
Macros#
#define
__has_builtin (x)
#define
__ASM __asm
#define
__STATIC_FORCEINLINE __attribute__((always_inline)) static inline
#define
__NO_RETURN __attribute__((__noreturn__))
#define
__USED __attribute__((used))
#define
__WEAK __attribute__((weak))
#define
__PACKED __attribute__((packed, aligned(1)))
#define
__PACKED_STRUCT struct __attribute__((packed, aligned(1)))
#define
__PACKED_UNION union __attribute__((packed, aligned(1)))
#define
__ALIGNED (x)
#define
__RESTRICT __restrict
#define
__I volatile const
Defines 'read only' permissions.
#define
__O volatile
Defines 'write only' permissions.
#define
__IO volatile
Defines 'read / write' permissions.
#define
__IM volatile const
Defines 'read only' structure member permissions.
#define
__OM volatile
Defines 'write only' structure member permissions.
#define
__IOM volatile
Defines 'read / write' structure member permissions.
Macro Definition Documentation#
__has_builtin#
#define __has_builtinValue:
(x)
Definition at line
48
of file platform/common/inc/sl_compiler.h
__STATIC_FORCEINLINE#
#define __STATIC_FORCEINLINEValue:
__attribute__((always_inline)) static inline
Definition at line
62
of file platform/common/inc/sl_compiler.h
__NO_RETURN#
#define __NO_RETURNValue:
__attribute__((__noreturn__))
Definition at line
65
of file platform/common/inc/sl_compiler.h
__USED#
#define __USEDValue:
__attribute__((used))
Definition at line
68
of file platform/common/inc/sl_compiler.h
__WEAK#
#define __WEAKValue:
__attribute__((weak))
Definition at line
71
of file platform/common/inc/sl_compiler.h
__PACKED#
#define __PACKEDValue:
__attribute__((packed, aligned(1)))
Definition at line
74
of file platform/common/inc/sl_compiler.h
__PACKED_STRUCT#
#define __PACKED_STRUCTValue:
struct __attribute__((packed, aligned(1)))
Definition at line
77
of file platform/common/inc/sl_compiler.h
__PACKED_UNION#
#define __PACKED_UNIONValue:
union __attribute__((packed, aligned(1)))
Definition at line
80
of file platform/common/inc/sl_compiler.h
__RESTRICT#
#define __RESTRICTValue:
__restrict
Definition at line
86
of file platform/common/inc/sl_compiler.h
__I#
#define __IValue:
volatile const
Defines 'read only' permissions.
Definition at line
194
of file platform/common/inc/sl_compiler.h
__O#
#define __OValue:
volatile
Defines 'write only' permissions.
Definition at line
196
of file platform/common/inc/sl_compiler.h
__IO#
#define __IOValue:
volatile
Defines 'read / write' permissions.
Definition at line
197
of file platform/common/inc/sl_compiler.h
__IM#
#define __IMValue:
volatile const
Defines 'read only' structure member permissions.
Definition at line
200
of file platform/common/inc/sl_compiler.h
__OM#
#define __OMValue:
volatile
Defines 'write only' structure member permissions.
Definition at line
201
of file platform/common/inc/sl_compiler.h
__IOM#
#define __IOMValue:
volatile
Defines 'read / write' structure member permissions.
Definition at line
202
of file platform/common/inc/sl_compiler.h