IceCube display
LED display to show IceCube event data
device.h
Go to the documentation of this file.
1 #ifndef USB_DEVICE_H
2 #define USB_DEVICE_H
3 
20 enum usb_device_state_t {
34 };
35 
45 void set_device_state(enum usb_device_state_t state);
46 
49 
51 
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