This section lists the device states of the USB device driver.
◆ USBD_STATE_ADDRESS
#define USBD_STATE_ADDRESS 4 |
The device has been given an address on the bus.
Definition at line 141 of file USBD.h.
◆ USBD_STATE_ATTACHED
#define USBD_STATE_ATTACHED 1 |
USB cable is plugged into the device.
Definition at line 135 of file USBD.h.
◆ USBD_STATE_CONFIGURED
#define USBD_STATE_CONFIGURED 5 |
A valid configuration has been selected.
Definition at line 143 of file USBD.h.
◆ USBD_STATE_DEFAULT
#define USBD_STATE_DEFAULT 3 |
Device has been reset.
Definition at line 139 of file USBD.h.
◆ USBD_STATE_POWERED
#define USBD_STATE_POWERED 2 |
Host is providing +5V through the USB cable.
Definition at line 137 of file USBD.h.
◆ USBD_STATE_SUSPENDED
#define USBD_STATE_SUSPENDED 0 |
The device is currently suspended.
Definition at line 133 of file USBD.h.