#include <rl_usb.h>
BOOL usbh_msc_read_config (
U8 ctrl, // USB Host controller index
U8 dev_idx, // Device instance index
U32 *tot_blk_num, // Pointer; Total number of blocks in a device
U32 *blk_sz // Pointer; block size in bytes
);
Description
The function usbh_msc_read_config reads the configuration
parameters of 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 tot_blk_num is a pointer
indicating the total number of blocks on the device. The argument
blk_sz is a pointer indicating the block size.
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.