diff options
Diffstat (limited to 'firmware/usbstack/usb_storage.h')
| -rw-r--r-- | firmware/usbstack/usb_storage.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/firmware/usbstack/usb_storage.h b/firmware/usbstack/usb_storage.h new file mode 100644 index 0000000..9067c92 --- /dev/null +++ b/firmware/usbstack/usb_storage.h @@ -0,0 +1,30 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id: $ + * + * Copyright (C) 2007 by Björn Stenberg + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#ifndef USB_STORAGE_H +#define USB_STORAGE_H + +#include "usb_ch9.h" + +void usb_storage_init(void); +void usb_storage_transfer(void* data); +void usb_storage_transfer_complete(int endpoint); +bool usb_storage_control_request(struct usb_ctrlrequest* req); + +#endif + |