XBee Firmware Library  1.6.0
Files | Typedefs | Functions
64-bit integer support

Files

file  jslong.c
 
file  zcl64.h
 

Typedefs

typedef JSUint64 zcl64_t
 

Functions

int jsll_decstr (char *buffer, const JSInt64 *v)
 
void jsll_div (JSUint64 *r, const JSUint64 *a, const JSUint64 *b)
 
void jsll_mod (JSUint64 *r, const JSUint64 *a, const JSUint64 *b)
 
void jsll_mul (JSUint64 *rp, JSUint64 a, JSUint64 b)
 
void jsll_mul32 (JSUint64 *rp, JSUint32 a, JSUint32 b)
 
void jsll_shl (JSUint64 *r, JSUint64 a, uint_fast8_t b)
 
void jsll_shr (JSInt64 *r, JSInt64 a, uint_fast8_t b)
 
int jsll_udecstr (char *buffer, const JSUint64 *v)
 
void jsll_udivmod (JSUint64 *qp, JSUint64 *rp, JSUint64 a, JSUint64 b)
 
void jsll_ushr (JSInt64 *r, JSInt64 a, uint_fast8_t b)
 

Detailed Description

Typedef Documentation

typedef JSUint64 zcl64_t

64-bit integer in host-byte-order Use for 56-bit values as well – ZCL layer will make sure top byte is sign-extended. Actually code up support for 56-bit values like we did for 24 bit.

Function Documentation

int jsll_decstr ( char *  buffer,
const JSInt64 v 
)
void jsll_div ( JSUint64 r,
const JSUint64 a,
const JSUint64 b 
)
void jsll_mod ( JSUint64 r,
const JSUint64 a,
const JSUint64 b 
)
void jsll_mul ( JSUint64 rp,
JSUint64  a,
JSUint64  b 
)
void jsll_mul32 ( JSUint64 rp,
JSUint32  a,
JSUint32  b 
)
void jsll_shl ( JSUint64 r,
JSUint64  a,
uint_fast8_t  b 
)
void jsll_shr ( JSInt64 r,
JSInt64  a,
uint_fast8_t  b 
)
int jsll_udecstr ( char *  buffer,
const JSUint64 v 
)
void jsll_udivmod ( JSUint64 qp,
JSUint64 rp,
JSUint64  a,
JSUint64  b 
)
void jsll_ushr ( JSInt64 r,
JSInt64  a,
uint_fast8_t  b 
)