2.2.4.37 USB_DEVICE_POWER_STATE Enumeration

C

typedef enum {
  USB_DEVICE_POWER_STATE_BUS_POWERED,
  USB_DEVICE_POWER_STATE_SELF_POWERED
} USB_DEVICE_POWER_STATE;

Summary

Device Power state

This enumeration defines the possible power states of the device. The application specifies this state to the device layer (through the USB_DEVICE_PowerStateSet function) to let the device layer know if this USB Device is presently bus or self powered.

Members

Members Description
USB_DEVICE_POWER_STATE_BUS_POWERED Device is bus powered
USB_DEVICE_POWER_STATE_SELF_POWERED Device is self powered

Remarks

None.