msdd.h File Reference
Mass Storage class Device (MSD) driver.
Copyright 2015 Silicon Labs, Inc. http://www.silabs.com
This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file
|Status info for one BOT CBW -> Data I/O -> CSW cycle. |
|Serve the MSD state machine. This function should be called on a regular basis from your main loop. It cannot be called from within an interrupt handler. |
|void||MSDD_Init (int activityLedPort, uint32_t activityLedPin)|
|Initialize MSD device. |
|int||MSDD_SetupCmd (const USB_Setup_TypeDef *setup)|
|Called whenever a USB setup command is received. This function overrides standard CLEAR_FEATURE commands, and implements MSD class commands "Bulk-Only Mass Storage Reset" and "Get Max LUN". |
|void||MSDD_StateChangeEvent (USBD_State_TypeDef oldState, USBD_State_TypeDef newState)|
|Called whenever the USB device has changed its device state. |