EFM32 Giant Gecko Software Documentation  efm32gg-doc-4.2.1
msdd.h File Reference

Mass Storage class Device (MSD) driver. More...

Go to the source code of this file.

Data Structures

struct  MSDD_CmdStatus_TypeDef
 Status info for one BOT CBW -> Data I/O -> CSW cycle. More...
 

Macros

#define MEDIA_BUFSIZ   4096
 

Functions

bool MSDD_Handler (void)
 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. More...
 
void MSDD_Init (int activityLedPort, uint32_t activityLedPin)
 Initialize MSD device. More...
 
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". More...
 
void MSDD_StateChangeEvent (USBD_State_TypeDef oldState, USBD_State_TypeDef newState)
 Called whenever the USB device has changed its device state. More...
 

Detailed Description

Version
4.2.1

License

(C) Copyright 2014 Silicon Labs, 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 msdd.h.