-
Notifications
You must be signed in to change notification settings - Fork 1
/
usb_control_mass_storage.h
38 lines (34 loc) · 1.35 KB
/
usb_control_mass_storage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
*
* Copyright 2018 The wookey project team <wookey@ssi.gouv.fr>
* - Ryad Benadjila
* - Arnauld Michelizza
* - Mathieu Renard
* - Philippe Thierry
* - Philippe Trebuchet
*
* This package is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* the Free Software Foundation; either version 2.1 of the License, or (at
* ur option) any later version.
*
* This package is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along
* with this package; if not, write to the Free Software Foundation, Inc., 51
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
/** @file usb_control_mass_storage.h
*
*/
#ifndef _USB_CONTROL_MASS_STORAGE_H
#define _USB_CONTROL_MASS_STORAGE_H
#include "libusbctrl.h"
typedef void (*mass_storage_reset_trigger_t)(void);
typedef void (*device_reset_trigger_t)(void);
mbed_error_t mass_storage_class_rqst_handler(uint32_t usbdci_handler __attribute__((unused)),
usbctrl_setup_pkt_t *packet);
#endif /* _USB_CONTROL_MASS_STORAGE_H */