.binding = { \
.name = STRINGIFY(_name), \
.version = 1, \
.pkt_header = 0, \
.pkt_trailer = 0, \
.tx_storage = _name.tx_storage, \
.start = mctp_usb_start, \
.tx = mctp_usb_tx \
}, \
.usb_class_data = NULL, \
.rx_pkt = NULL, \
.rx_data_idx = 0, \
.rx_state = STATE_WAIT_HDR_DMTF0 \
}; \
\
.sublcass = _subclass, \
.mctp_protocol = _protocol, \
.mctp_binding = &_name, \
};
#define STRUCT_SECTION_ITERABLE(struct_type, varname)
Defines a new element for an iterable section.
Definition iterable_sections.h:216
#define MCTP_USB_MAX_PACKET_LENGTH
Definition mctp_usb.h:26
An MCTP binding for Zephyr's USB device stack.
Definition mctp_usb.h:31
INTERNAL_HIDDEN.