USBConfigurationDescriptor.h
Default mainpageat91libusbcommoncoreUSBConfigurationDescriptor.h
Description Overview
Methods Brief description
 USBConfigurationDescriptor_GetNumInterfaces Returns the number of interfaces in a configuration.
 USBConfigurationDescriptor_GetTotalLength Returns the total length of a configuration, i.e.
 USBConfigurationDescriptor_IsSelfPowered Indicates if the device is self-powered when in a given configuration.
 USBConfigurationDescriptor_Parse Parses the given Configuration descriptor (followed by relevant interface, endpoint and class-specific descriptors) into three arrays.
Macros  
 USBConfigurationDescriptor_POWER Calculates the value of the power consumption field given the value in mA.
Defines  
 USBConfigurationDescriptor_BUSPOWERED_NORWAKEUP Device is bus-powered and not support remote wake-up.
 USBConfigurationDescriptor_BUSPOWERED_RWAKEUP Device is bus-powered and supports remote wake-up.
 USBConfigurationDescriptor_SELFPOWERED_NORWAKEUP Device is self-powered and not support remote wake-up.
 USBConfigurationDescriptor_SELFPOWERED_RWAKEUP Device is self-powered and supports remote wake-up.