USB Mass Storage Class Bulk-only device interface driver. More...
Go to the source code of this file.
Defines | |
| #define | MSC_MAX_SERIAL_LEN 20 |
| Maximum number of characters in the device serial number. | |
Functions | |
| status_t | udi_msc_enable (struct udc *udc, struct udm_interface *iface, uint16_t setting) |
| Enable the MSC interface. | |
| void | udi_msc_disable (struct udc *udc, struct udm_interface *iface) |
| Disable the MSC interface. | |
| status_t | udi_msc_setup (struct udc *udc, struct udm_interface *iface, struct usb_setup_req *req) |
| Handle a setup request directed at the MSC interface. | |
| status_t | udi_msc_get_iface_descriptor (struct udm_interface *iface, struct usb_request *req, enum usb_device_speed speed, uint16_t len) |
| Get the interface descriptor for the MSC interface. | |
| void | udi_msc_free_descriptor (struct udm_interface *iface, struct usb_request *req) |
| Free the memory allocated by msc_get_iface_descriptor(). | |
| void | udi_msc_set_ready (struct udm_interface *iface) |
| Allow data transfer requests. | |
| void | udi_msc_set_busy (struct udm_interface *iface, uint16_t asc, void(*queue_empty)(void *data), void *data) |
| Reject data transfer requests. | |
USB Mass Storage Class Bulk-only device interface driver.
Copyright (C) 2009 Atmel Corporation. All rights reserved.
Definition in file udi_msc_bulk.h.
1.6.3