Compiler definitions#

Compiler definitions.

Macros#

#define
#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
#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_builtin
Value:
(x)

Definition at line 48 of file platform/common/inc/sl_compiler.h

__ASM#

#define __ASM
Value:
__asm

Definition at line 53 of file platform/common/inc/sl_compiler.h

__STATIC_FORCEINLINE#

#define __STATIC_FORCEINLINE
Value:
__attribute__((always_inline)) static inline

Definition at line 62 of file platform/common/inc/sl_compiler.h

__NO_RETURN#

#define __NO_RETURN
Value:
__attribute__((__noreturn__))

Definition at line 65 of file platform/common/inc/sl_compiler.h

__USED#

#define __USED
Value:
__attribute__((used))

Definition at line 68 of file platform/common/inc/sl_compiler.h

__WEAK#

#define __WEAK
Value:
__attribute__((weak))

Definition at line 71 of file platform/common/inc/sl_compiler.h

__PACKED#

#define __PACKED
Value:
__attribute__((packed, aligned(1)))

Definition at line 74 of file platform/common/inc/sl_compiler.h

__PACKED_STRUCT#

#define __PACKED_STRUCT
Value:
struct __attribute__((packed, aligned(1)))

Definition at line 77 of file platform/common/inc/sl_compiler.h

__PACKED_UNION#

#define __PACKED_UNION
Value:
union __attribute__((packed, aligned(1)))

Definition at line 80 of file platform/common/inc/sl_compiler.h

__ALIGNED#

#define __ALIGNED
Value:
(x)

Definition at line 83 of file platform/common/inc/sl_compiler.h

__RESTRICT#

#define __RESTRICT
Value:
__restrict

Definition at line 86 of file platform/common/inc/sl_compiler.h

__I#

#define __I
Value:
volatile const

Defines 'read only' permissions.


Definition at line 194 of file platform/common/inc/sl_compiler.h

__O#

#define __O
Value:
volatile

Defines 'write only' permissions.


Definition at line 196 of file platform/common/inc/sl_compiler.h

__IO#

#define __IO
Value:
volatile

Defines 'read / write' permissions.


Definition at line 197 of file platform/common/inc/sl_compiler.h

__IM#

#define __IM
Value:
volatile const

Defines 'read only' structure member permissions.


Definition at line 200 of file platform/common/inc/sl_compiler.h

__OM#

#define __OM
Value:
volatile

Defines 'write only' structure member permissions.


Definition at line 201 of file platform/common/inc/sl_compiler.h

__IOM#

#define __IOM
Value:
volatile

Defines 'read / write' structure member permissions.


Definition at line 202 of file platform/common/inc/sl_compiler.h