Macros | Typedefs | Functions
usbhmsc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MSC_EVENT_OPEN   1
 
#define MSC_EVENT_CLOSE   2
 

Typedefs

typedef struct tUSBHMSCInstance tUSBHMSCInstance
 
typedef void(* tUSBHMSCCallback) (tUSBHMSCInstance *psMSCInstance, uint32_t ui32Event, void *pvEventData)
 

Functions

tUSBHMSCInstanceUSBHMSCDriveOpen (uint32_t ui32Drive, tUSBHMSCCallback pfnCallback)
 
void USBHMSCDriveClose (tUSBHMSCInstance *psMSCInstance)
 
int32_t USBHMSCDriveReady (tUSBHMSCInstance *psMSCInstance)
 
int32_t USBHMSCBlockRead (tUSBHMSCInstance *psMSCInstance, uint32_t ui32LBA, uint8_t *pui8Data, uint32_t ui32NumBlocks)
 
int32_t USBHMSCBlockWrite (tUSBHMSCInstance *psMSCInstance, uint32_t ui32LBA, uint8_t *pui8Data, uint32_t ui32NumBlocks)
 
uint32_t USBHMSCLPMSleep (tUSBHMSCInstance *psMSCInstance)
 
uint32_t USBHMSCLPMStatus (tUSBHMSCInstance *psMSCInstance)
 
Copyright 2018, Texas Instruments Incorporated