#include <rl_usb.h>
BOOL usbh_msc_read (
U8 ctrl, // USB Host Controller index
U8 dev_idx, // Device instance index
U32 blk_adr, // Starting block address
U8 *ptr_data, // Pointer to data location
U16 blk_num // Number of blocks to be read
);
Description
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 the device instance. The
argument blk_adr is the address of the 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 function is part of the RL-USB Host Class Driver
software layer.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.