diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-23 12:40:14 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-23 12:40:14 +0000 |
commit | aaa0bed556d0fa424b831418a7ce2531653a8b03 (patch) | |
tree | 53cbc38a5510a8a769e8ad0078c1e1124290554d /LUFA/Drivers/USB/LowLevel/LowLevel.h | |
parent | 6e867f7d9bc279a118fc774ab1ee05e99b4d8b7c (diff) | |
download | lufa-aaa0bed556d0fa424b831418a7ce2531653a8b03.tar.gz lufa-aaa0bed556d0fa424b831418a7ce2531653a8b03.tar.bz2 lufa-aaa0bed556d0fa424b831418a7ce2531653a8b03.zip |
The incomplete StandaloneProgrammer project now uses Host and Device Mass storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick.
The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR).
The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only.
The USB_MODE_HOST token is now defined even when host mode is not available.
Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/LowLevel.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/LowLevel.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/LowLevel.h b/LUFA/Drivers/USB/LowLevel/LowLevel.h index e2610c528..743a318ad 100644 --- a/LUFA/Drivers/USB/LowLevel/LowLevel.h +++ b/LUFA/Drivers/USB/LowLevel/LowLevel.h @@ -112,14 +112,10 @@ */
#define USB_MODE_DEVICE 1
- #if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)
- /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the
- * USB interface is or should be initialized in the USB host mode.
- *
- * \note This token is not available on AVR models which do not support host mode.
- */
- #define USB_MODE_HOST 2
- #endif
+ /** Mode mask for the \ref USB_CurrentMode global and the \ref USB_Init() function. This indicates that the
+ * USB interface is or should be initialized in the USB host mode.
+ */
+ #define USB_MODE_HOST 2
#if defined(USB_CAN_BE_BOTH) || defined(__DOXYGEN__)
/** Mode mask for the the \ref USB_Init() function. This indicates that the USB interface should be
|