52 #endif // USB_DEVICE_H The USB device is configured with only the default endpoint zero, and address zero.
Definition: device.h:27
USB VBUS is connected, i.e. the 5V USB power supply is present.
Definition: device.h:25
The USB device is in a device defined configuration.
Definition: device.h:31
usb_device_state_t
USB device states.
Definition: device.h:21
The USB device is configured with only the default endpoint zero, and a unique address.
Definition: device.h:29
void set_device_state(enum usb_device_state_t state)
Set the USB device state.
The USB device is suspended, i.e. no bus communication has been seen for at least 3ms...
Definition: device.h:33
enum usb_device_state_t get_device_state()
Get the current USB device state.
USB hardware is initialised.
Definition: device.h:23