Data Structures | Macros | Enumerations | Functions
usbdmsc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tMSCDMedia
 Media Access functions. More...
 
struct  tMSCInstance
 
struct  tUSBDMSCDevice
 

Macros

#define DEVICE_BLOCK_SIZE   512
 
#define MSCINTERFACE_SIZE   (23)
 
#define COMPOSITE_DMSC_SIZE   (MSCINTERFACE_SIZE)
 
#define USBD_MSC_EVENT_IDLE   (USBD_MSC_EVENT_BASE + 0)
 
#define USBD_MSC_EVENT_READING   (USBD_MSC_EVENT_BASE + 1)
 This event indicates that the host is reading the storage media. More...
 
#define USBD_MSC_EVENT_WRITING   (USBD_MSC_EVENT_BASE + 2)
 This event indicates that the host is writing to the storage media. More...
 

Enumerations

enum  tUSBDMSCMediaStatus { eUSBDMSCMediaPresent, eUSBDMSCMediaNotPresent, eUSBDMSCMediaStopped, eUSBDMSCMediaUnknown }
 

Functions

void * USBDMSCInit (uint32_t ui32Index, tUSBDMSCDevice *psMSCDevice)
 
void * USBDMSCCompositeInit (uint32_t ui32Index, tUSBDMSCDevice *psMSCDevice, tCompositeEntry *psCompEntry)
 
void USBDMSCTerm (void *pvMSCDevice)
 
void USBDMSCMediaChange (void *pvMSCDevice, tUSBDMSCMediaStatus iMediaStatus)
 
Copyright 2017, Texas Instruments Incorporated