AIROC™ BTSDK v4.9 - Documentation | ||||
This file constains general utilities for AIROC BTSDK. More...
Macros | |
#define | MIN(x, y) ((x) < (y) ? (x) : (y)) |
Macro to get the minimum from 2 arguments. | |
#define | MAX(x, y) ((x) > (y) ? (x) : (y)) |
Macro to get the maximum from 2 arguments. | |
#define | _countof(x) (sizeof(x) / sizeof(x[0])) |
Determine the number of elements in an array. More... | |
#define | WICED_SWAP16(val) |
Macro to reverse bytes in a 16-bit value. More... | |
#define | WICED_SWAP32(val) |
Macro to reverse bytes in a 32-bit value. More... | |
#define | WICED_SWAP64(val) |
Macro to reverse bytes in a 64-bit value. More... | |
#define | WICED_NTOH16(val) |
Load 16-bit value from unaligned big-endian byte array. More... | |
#define | WICED_NTOH32(val) |
Load 32-bit value from unaligned big-endian byte array. More... | |
#define | WICED_NTOH64(val) |
Load 64-bit value from unaligned big-endian byte array. More... | |
This file constains general utilities for AIROC BTSDK.