#include <descriptor.h>
Data Fields | |
| uint8_t | attributes |
| Attribute bitmap. | |
| uint8_t | configuration_number |
| Configuration value used when setting this configuration. | |
| uint8_t | descriptor_type |
| Descriptor type (USB_DESCTYPE_CONFIGURATION). | |
| uint8_t | interface_count |
| Number of possible interfaces under this configuration. | |
| uint8_t | length |
| Size of this descriptor in bytes. | |
| uint8_t | max_power |
| Maximum power consumption from the USB under this configuration. | |
| uint8_t | str_configuration |
| String descriptor describing this configuration. | |
| uint16_t | total_length |
| Total length of all data of this configuration. | |
Definition at line 93 of file descriptor.h.
| uint8_t max_power |
Maximum power consumption from the USB under this configuration.
Expressed in 2mA unit (e.g. 50 ~ 100mA).
Definition at line 115 of file descriptor.h.
| uint16_t total_length |
Total length of all data of this configuration.
This includes the combined length of all descriptors (configuration, interface, endpoint, class-specific and vendor-specific) valid for this configuration.
Definition at line 103 of file descriptor.h.
1.4.7