#include <RTL.h>
#include <rl_usb.h>
void usbd_msc_read_sect (
U32 block, // Starting data block to be read
U8* buf, // Pointer to the buffer to store the data
U32 num_of_blocks // Number of blocks to be read
);
Description
The function usbd_msc_read_sect reads the data that should
be returned to the USB Host that requested it. The argument
block specifies the starting block from where the data should
be read. The argument buf is a pointer to the buffer where the
read data should be stored. The argument num_of_blocks
specifies the number of blocks that should be read.
The function usbd_msc_read_sect is part of the USB Device
Function Driver layer of the RL-USB Device Software Stack.
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.