Macros | |
#define | USB_HOST_POWER_MAX 500 |
#define | USBConfigurationDescriptor_BUSPOWERED_NORWAKEUP 0x80 |
#define | USBConfigurationDescriptor_BUSPOWERED_RWAKEUP 0xA0 |
#define | USBConfigurationDescriptor_POWER(power) (power / 2) |
#define | USBConfigurationDescriptor_REMOTE_WAKEUP 0x20 |
#define | USBConfigurationDescriptor_SELFPOWERED_NORWAKEUP 0xC0 |
#define | USBConfigurationDescriptor_SELFPOWERED_RWAKEUP 0xE0 |
This section lists the codes of the usb attributes.
#define USB_HOST_POWER_MAX 500 |
Definition at line 255 of file USBDescriptors.h.
#define USBConfigurationDescriptor_BUSPOWERED_NORWAKEUP 0x80 |
Device is bus-powered and not support remote wake-up.
Definition at line 239 of file USBDescriptors.h.
#define USBConfigurationDescriptor_BUSPOWERED_RWAKEUP 0xA0 |
Device is bus-powered and supports remote wake-up.
Definition at line 243 of file USBDescriptors.h.
#define USBConfigurationDescriptor_POWER | ( | power | ) | (power / 2) |
Device is bus-powered and supports remote wake-up. Calculates the value of the power consumption field given the value in mA.
power | The power consumption value in mA |
Definition at line 253 of file USBDescriptors.h.
#define USBConfigurationDescriptor_REMOTE_WAKEUP 0x20 |
Device is self-powered and supports remote wake-up.
Definition at line 247 of file USBDescriptors.h.
#define USBConfigurationDescriptor_SELFPOWERED_NORWAKEUP 0xC0 |
Device is self-powered and not support remote wake-up.
Definition at line 241 of file USBDescriptors.h.
#define USBConfigurationDescriptor_SELFPOWERED_RWAKEUP 0xE0 |
Device is self-powered and supports remote wake-up.
Definition at line 245 of file USBDescriptors.h.