USBLib API Guide  1.00.00.01
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 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale