50extern int usbh_umas_disk_status(
void);
51extern DRESULT usbh_umas_ioctl(
int cmd,
void *buff);
52extern DRESULT usbh_umas_read(uint8_t *buff, uint32_t sector_no,
int number_of_sector);
53extern DRESULT usbh_umas_write(uint8_t *buff, uint32_t sector_no,
int number_of_sector);
HIDDEN_SYMBOLS struct usb_device USB_DEV_T
int32_t USBH_MassGetDiskList(mass_disk_t *dlist[], int max)
Obtain the list of currently connected USB Mass Storage disk.
int32_t USBH_MassRawRead(mass_disk_t *disk, uint32_t sectorN, int32_t scnt, uint8_t *buff)
Read raw data from connected USB Mass Storage disk.
int32_t USBH_MassRawWrite(mass_disk_t *disk, uint32_t sectorN, int32_t scnt, uint8_t *buff)
Write raw data to connected USB Mass Storage disk.
int32_t USBH_MassInit(void)
Initialize USB Host Mass Storage driver.