#include <RTL.h>
#include <rl_usb.h>
void usbd_msc_write_sect (
U32 block, // Starting block to where write data
U8* buf, // Pointer to the buffer that stores the data
U32 num_of_blocks // Number of blocks to be written
);
Description
The function usbd_msc_write_sect writes data received from
the USB Host. The argument block specifies the starting block
to where data should be written. The argument buf is a pointer
to the buffer that holds the data that should be written. The
argument num_of_blocks specifies the number of blocks that
should be written.
The function usbd_msc_write_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.