Zephyr Project API 4.0.99
A Scalable Open Source RTOS
|
Bluetooth byteorder API. More...
Go to the source code of this file.
Macros | |
#define | BT_BYTES_LIST_LE16(_v) |
Encode 16-bit value into array values in little-endian format. | |
#define | BT_BYTES_LIST_LE24(_v) |
Encode 24-bit value into array values in little-endian format. | |
#define | BT_BYTES_LIST_LE32(_v) |
Encode 32-bit value into array values in little-endian format. | |
#define | BT_BYTES_LIST_LE40(_v) |
Encode 40-bit value into array values in little-endian format. | |
#define | BT_BYTES_LIST_LE48(_v) |
Encode 48-bit value into array values in little-endian format. | |
#define | BT_BYTES_LIST_LE64(_v) |
Encode 64-bit value into array values in little-endian format. | |
#define | BT_BYTES_LIST_BE16(_v) (((_v) >> 8) & 0xFFU), (((_v) >> 0) & 0xFFU) |
Encode 16-bit value into array values in big-endian format. | |
#define | BT_BYTES_LIST_BE24(_v) (((_v) >> 16) & 0xFFU), BT_BYTES_LIST_BE16(_v) |
Encode 24-bit value into array values in big-endian format. | |
#define | BT_BYTES_LIST_BE32(_v) (((_v) >> 24) & 0xFFU), BT_BYTES_LIST_BE24(_v) |
Encode 32-bit value into array values in big-endian format. | |
#define | BT_BYTES_LIST_BE40(_v) BT_BYTES_LIST_BE16((_v) >> 24), BT_BYTES_LIST_BE24(_v) |
Encode 40-bit value into array values in big-endian format. | |
#define | BT_BYTES_LIST_BE48(_v) BT_BYTES_LIST_BE16((_v) >> 32), BT_BYTES_LIST_BE32(_v) |
Encode 48-bit value into array values in big-endian format. | |
#define | BT_BYTES_LIST_BE64(_v) BT_BYTES_LIST_BE32((_v) >> 32), BT_BYTES_LIST_BE32(_v) |
Encode 64-bit value into array values in big-endian format. | |
Bluetooth byteorder API.