52 #define MSC_EVENT_OPEN 1 53 #define MSC_EVENT_CLOSE 2 74 uint32_t ui32LBA, uint8_t *pui8Data,
75 uint32_t ui32NumBlocks);
77 uint32_t ui32LBA, uint8_t *pui8Data,
78 uint32_t ui32NumBlocks);
97 #endif // __USBHMSC_H__ tUSBHMSCInstance * USBHMSCDriveOpen(uint32_t ui32Drive, tUSBHMSCCallback pfnCallback)
Definition: usbhmsc.c:530
void(* tUSBHMSCCallback)(tUSBHMSCInstance *psMSCInstance, uint32_t ui32Event, void *pvEventData)
Definition: usbhmsc.h:60
int32_t USBHMSCBlockRead(tUSBHMSCInstance *psMSCInstance, uint32_t ui32LBA, uint8_t *pui8Data, uint32_t ui32NumBlocks)
Definition: usbhmsc.c:600
int32_t USBHMSCDriveReady(tUSBHMSCInstance *psMSCInstance)
Definition: usbhmsc.c:371
void USBHMSCDriveClose(tUSBHMSCInstance *psMSCInstance)
Definition: usbhmsc.c:566
struct tUSBHMSCInstance tUSBHMSCInstance
Definition: usbhmsc.h:44
uint32_t USBHMSCLPMStatus(tUSBHMSCInstance *psMSCInstance)
Definition: usbhmsc.c:741
uint32_t USBHMSCLPMSleep(tUSBHMSCInstance *psMSCInstance)
Definition: usbhmsc.c:713
int32_t USBHMSCBlockWrite(tUSBHMSCInstance *psMSCInstance, uint32_t ui32LBA, uint8_t *pui8Data, uint32_t ui32NumBlocks)
Definition: usbhmsc.c:656