The function usbh_msc_read reads data from a mass storage device. The argument ctrl is the index of USB Host Controller. The argument dev_idx is the index of device instance. The argument blk_adr is the address of starting block to be read. The argument ptr_data is a pointer indicating the location where data will be read. The argument blk_num is a value indicating the number of blocks to be read. The usbh_msc_read function is part of the RL-USB Host Class Driver software layer. |