Single item of a linked list of descriptors. More...
Data Fields | |
struct usb_descriptor_header_t | header |
Descriptor header. | |
enum memspace_t | memspace |
Memory space the descriptor body resides in. | |
const void * | body |
Pointer to the descriptor body. | |
struct descriptor_list_t * | next |
Pointer to the next item or NULL if this is the last one. | |
Single item of a linked list of descriptors.
Although descriptor list lengths are very likely to be constant throughout the runtime of the firmware, lists are allocated at runtime. To be able to allocate variable length lists, items are allocated one at a time. next is used to refer to the next item in the list. If this is the last item in the list, next will be equal to NULL.