#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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.