1 #ifndef UTIL_TLV_LIST_H 2 #define UTIL_TLV_LIST_H 27 #define TLV_TYPE_END 0xFF 34 #define TLV_ENTRY(type, memspace, address) {type, sizeof(*address), memspace, address} 37 #define TLV_END {TLV_TYPE_END, 0, MEMSPACE_NONE, 0} 39 #endif // UTIL_TLV_LIST_H const void * data
Pointer to the memory block contain the TLV data.
Definition: tlv_list.h:22
Non-uniform memory access.
uint8_t length
Length of this field's data not including the two type and length bytes.
Definition: tlv_list.h:20
memspace_t
Define which memory space the body of a data block is in.
Definition: memspace.h:15
Item in a TLV list.
Definition: tlv_list.h:18
uint8_t type
Type of display data.
Definition: tlv_list.h:19
enum memspace_t memspace
Memory region the TLV data resides in.
Definition: tlv_list.h:21
uint16_t get_tlv_list_length_P(const struct dp_tlv_item_t *tlv_data)