The function usbh_msc_read_config reads the configuration parameters of 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 tot_blk_num is a pointer indicating the total number of blocks on the device. The argument blk_sz is a pointer indicating the block size. The usbh_msc_read_config function is part of the RL-USB Host Class Driver software layer. |