|
|
@ -82,19 +82,19 @@
|
|
|
|
#define COMMAND_DIRECTION_DATA_IN (1 << 7)
|
|
|
|
#define COMMAND_DIRECTION_DATA_IN (1 << 7)
|
|
|
|
|
|
|
|
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
|
|
|
|
#define LEDMASK_USB_NOTREADY LEDS_LED1
|
|
|
|
#define LEDMASK_USB_NOTREADY LEDS_LED1
|
|
|
|
|
|
|
|
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is enumerating. */
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is enumerating. */
|
|
|
|
#define LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)
|
|
|
|
#define LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)
|
|
|
|
|
|
|
|
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is ready. */
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is ready. */
|
|
|
|
#define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
|
|
|
|
#define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
|
|
|
|
|
|
|
|
|
|
|
|
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
|
|
|
|
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
|
|
|
|
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
|
|
|
|
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
|
|
|
|
|
|
|
|
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
|
|
|
|
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
|
|
|
|
#define LEDMASK_USB_BUSY LEDS_LED2
|
|
|
|
#define LEDMASK_USB_BUSY LEDS_LED2
|
|
|
|
|
|
|
|
|
|
|
|
/* Type defines: */
|
|
|
|
/* Type defines: */
|
|
|
|
/** Type define for a Command Block Wrapper, used in the Mass Storage Bulk-Only Transport protocol. */
|
|
|
|
/** Type define for a Command Block Wrapper, used in the Mass Storage Bulk-Only Transport protocol. */
|
|
|
|