]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - embedded/libs4c/usb/more/usb/usb_loader.h
Embedded code-base updated to actual version from uLan repository.
[lincan.git] / embedded / libs4c / usb / more / usb / usb_loader.h
index 5c215e433701bac839d8f52da00703faab7e8cdc..124653458531956f3d5b25105a0d5f66eda4edc0 100644 (file)
 
 #define USB_VENDOR_MEMORY_BY_BULK    0x80
 
-#if 0 /* MSP430 */
+/* COMMON */
+#define USB_VENDOR_TARGET_RAM        0x01
+#define USB_VENDOR_TARGET_FLASH      0x02
+/* MSP430 */
 #define USB_VENDOR_TARGET_ADAPTER    0x01
 #define USB_VENDOR_TARGET_MSP430     0x02
-#else /* MSC1210 */
+/* MSC1210 */
 #define USB_VENDOR_TARGET_DATA       0x01
 #define USB_VENDOR_TARGET_XDATA      0x02
-#endif
 
 #define USB_VENDOR_TARGET_MASK       0x07
 
+/* bRequest - type of request */
+/* wValue - lower address word */
+/* wIndex - higher address word */
+/* wLength - data or length of data */
+
 #endif /*_USB_LOADER_H*/