XBee Firmware Library  1.6.0
Typedefs

Typedefs

typedef JSUint64 zcl64_t
 

Detailed Description

Macros for working with 64-bit integers via the zcl64_t datatype. Makes use of the JSInt64 type and support functions included in the platform support code (jslong.h, jslong.c).

On some platforms (Win32), zcl64_t is simply a uint64_t. Most embedded platforms represent a zcl64_t value as a structure. Because of that difference, you can't just write "c = a + b" or "a.lo = ~a.lo, a.hi = ~a.hi" – neither statement is portable to the other platform type.

Therefore, it is necessary to use the macro functions in this file to manipulate zcl64_t variables.

add a ZCL64_SPLIT macro to split zcl64_t into high and low halves