#include <rl_usb.h>
BOOL usbh_msc_write (
U8 ctrl, // USB Host Controller index
U8 dev_idx, // USB Device index
U32 blk_adr, // Starting block address
U8 *ptr_data, // Pointer to data location
U16 blk_num // Number of blocks to write
);
Description
The function usbh_msc_write writes data to 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 staring block to be
written. The argument ptr_data is a pointer indicating the
location of data to be written. The argument blk_num is a
value indicating the number of blocks to be written.
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.