Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Byteorder. More...
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. | |
Byteorder.
#define BT_BYTES_LIST_LE16 | ( | _v | ) |
#include <zephyr/bluetooth/byteorder.h>
Encode 16-bit value into array values in little-endian format.
Helper macro to encode 16-bit values into comma separated values.
_v
is evaluated 2 times._v | 16-bit integer in host endianness. |
#define BT_BYTES_LIST_LE24 | ( | _v | ) |
#include <zephyr/bluetooth/byteorder.h>
Encode 24-bit value into array values in little-endian format.
Helper macro to encode 24-bit values into comma separated values.
_v
is evaluated 3 times._v | 24-bit integer in host endianness. |
#define BT_BYTES_LIST_LE32 | ( | _v | ) |
#include <zephyr/bluetooth/byteorder.h>
Encode 32-bit value into array values in little-endian format.
Helper macro to encode 32-bit values into comma separated values.
_v
is evaluated 4 times._v | 32-bit integer in host endianness. |
#define BT_BYTES_LIST_LE40 | ( | _v | ) |
#include <zephyr/bluetooth/byteorder.h>
Encode 40-bit value into array values in little-endian format.
Helper macro to encode 40-bit values into comma separated values.
_v
is evaluated 5 times._v | 40-bit integer in host endianness. |
#define BT_BYTES_LIST_LE48 | ( | _v | ) |
#include <zephyr/bluetooth/byteorder.h>
Encode 48-bit value into array values in little-endian format.
Helper macro to encode 48-bit values into comma separated values.
_v
is evaluated 6 times._v | 48-bit integer in host endianness. |
#define BT_BYTES_LIST_LE64 | ( | _v | ) |
#include <zephyr/bluetooth/byteorder.h>
Encode 64-bit value into array values in little-endian format.
Helper macro to encode 64-bit values into comma separated values.
_v
is evaluated 8 times._v | 64-bit integer in host endianness. |