|
Embedded SDK
Embedded SDK
|
#include <stddef.h>#include <stdint.h>#include <stdbool.h>

Go to the source code of this file.
Classes | |
| struct | TLV_reception_internal_t |
Macros | |
| #define | __X_DEFINE_TLV__TAG_ASSIGN(value, name, callback, unicity) name = value, |
| Internal macro — assigns the tag's enum value. | |
| #define | __X_DEFINE_TLV__TAG_INDEX(value, name, callback, unicity) name##_INDEX, |
| Internal macro — creates an index enum for mapping tags to their order in the list. | |
| #define | __X_DEFINE_TLV__TAG_FLAG(value, name, callback, unicity) name##_FLAG = ((TLV_flag_t) 1 << name##_INDEX), |
| Internal macro — creates a flag enum for mapping tags to their reception flag. | |
| #define | __X_DEFINE_TLV__TAG_TO_FLAG_CASE(value, name, callback, unicity) |
| Internal macro — expands to a switch case that maps a tag to its flag. | |
| #define | __X_DEFINE_TLV__TAG_CALLBACKS(value, name, callback, unicity) |
| Internal macro — expands each tag into an _internal_tlv_handler_t array element. | |
Typedefs | |
| typedef uint32_t | TLV_tag_t |
| typedef uint64_t | TLV_flag_t |
| typedef TLV_flag_t() | tag_to_flag_function_t(TLV_tag_t tag) |
| #define __X_DEFINE_TLV__TAG_ASSIGN | ( | value, | |
| name, | |||
| callback, | |||
| unicity | |||
| ) | name = value, |
Internal macro — assigns the tag's enum value.
Definition at line 32 of file tlv_internals.h.
| #define __X_DEFINE_TLV__TAG_CALLBACKS | ( | value, | |
| name, | |||
| callback, | |||
| unicity | |||
| ) |
Internal macro — expands each tag into an _internal_tlv_handler_t array element.
Definition at line 59 of file tlv_internals.h.
| #define __X_DEFINE_TLV__TAG_FLAG | ( | value, | |
| name, | |||
| callback, | |||
| unicity | |||
| ) | name##_FLAG = ((TLV_flag_t) 1 << name##_INDEX), |
Internal macro — creates a flag enum for mapping tags to their reception flag.
Definition at line 44 of file tlv_internals.h.
| #define __X_DEFINE_TLV__TAG_INDEX | ( | value, | |
| name, | |||
| callback, | |||
| unicity | |||
| ) | name##_INDEX, |
Internal macro — creates an index enum for mapping tags to their order in the list.
Definition at line 38 of file tlv_internals.h.
| #define __X_DEFINE_TLV__TAG_TO_FLAG_CASE | ( | value, | |
| name, | |||
| callback, | |||
| unicity | |||
| ) |
Internal macro — expands to a switch case that maps a tag to its flag.
Definition at line 51 of file tlv_internals.h.
| typedef TLV_flag_t() tag_to_flag_function_t(TLV_tag_t tag) |
Definition at line 68 of file tlv_internals.h.
| typedef uint64_t TLV_flag_t |
Definition at line 67 of file tlv_internals.h.
| typedef uint32_t TLV_tag_t |
Definition at line 66 of file tlv_internals.h.