AIROC™ BTSDK v4.7 - Documentation | ||||
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... | |
#define _countof | ( | x | ) | (sizeof(x) / sizeof(x[0])) |
Determine the number of elements in an array.
#define WICED_NTOH16 | ( | val | ) |
Load 16-bit value from unaligned big-endian byte array.
#define WICED_NTOH32 | ( | val | ) |
Load 32-bit value from unaligned big-endian byte array.
#define WICED_NTOH64 | ( | val | ) |
Load 64-bit value from unaligned big-endian byte array.
#define WICED_SWAP16 | ( | val | ) |
Macro to reverse bytes in a 16-bit value.
#define WICED_SWAP32 | ( | val | ) |
Macro to reverse bytes in a 32-bit value.
#define WICED_SWAP64 | ( | val | ) |
Macro to reverse bytes in a 64-bit value.