nRF5 SDK for Thread v0.9.0
Macros

This module defines a toolchain abstraction layer through macros. More...

Macros

#define OT_TOOL_PACKED_BEGIN
 
#define OT_TOOL_PACKED_FIELD
 
#define OT_TOOL_PACKED_END
 
#define OT_TOOL_ALIGN(X)
 
#define OT_CALL
 
#define OT_CDECL
 
#define OTAPI
 
#define OTCALL
 

Detailed Description

This module defines a toolchain abstraction layer through macros.

Usage:

typedef
struct
{
char mField1;
union
{
char mField2;
long mField3;
} OT_TOOL_PACKED_END packed_struct_t;

Macro Definition Documentation

#define OT_TOOL_PACKED_BEGIN

Compiler-specific indication that a class or struct must be byte packed.

OT_TOOL_PACKED_BEGIN struct otIcmp6Header OT_TOOL_PACKED_END

Compiler-specific indication at the end of a byte packed class or struct.

#define OT_TOOL_PACKED_FIELD

Indicate to the compiler a nested struct or union to be packed within byte packed class or struct.


Documentation feedback | Developer Zone | Subscribe | Updated