Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
Z-Wave Typedefs
+ Collaboration diagram for Z-Wave Typedefs:

Macros

#define ZW_WEAK   __attribute__((weak))
 
#define EOF   (-1)
 
#define NULL   ((void*)0)
 
#define NO_RETURN
 
#define VOID_CALLBACKFUNC(completedFunc)   void (*completedFunc)
 
#define IS_NULL(x)   (NULL == x)
 
#define NON_NULL(x)   (NULL != x)
 
#define UIP_HTONL(x)   ( ((x >> 24) & 0x000000FF) | ((x >> 8) & 0x0000FF00) | ((x << 8 ) & 0x00FF0000) | ((x << 24) & 0xFF000000) )
 

Detailed Description

Macro Definition Documentation

◆ EOF

#define EOF   (-1)

◆ IS_NULL

#define IS_NULL ( x)    (NULL == x)

Safe null pointer check

◆ NO_RETURN

#define NO_RETURN

This definition is used for task-functions and allows the compiler to know this detail and therefore do optimizations on the function.

◆ NON_NULL

#define NON_NULL ( x)    (NULL != x)

◆ NULL

#define NULL   ((void*)0)

◆ UIP_HTONL

#define UIP_HTONL ( x)    ( ((x >> 24) & 0x000000FF) | ((x >> 8) & 0x0000FF00) | ((x << 8 ) & 0x00FF0000) | ((x << 24) & 0xFF000000) )

◆ VOID_CALLBACKFUNC

#define VOID_CALLBACKFUNC ( completedFunc)    void (*completedFunc)

Define for making easy and consistent callback definitions

◆ ZW_WEAK

#define ZW_WEAK   __attribute__((weak))