Jump to main content

##

# 3.7.3.2 USB_HOST_MSD_LUNS_NUMBER Macro

## C

    #define USB_HOST_MSD_LUNS_NUMBER

## Summary

USB Host MSD Client Driver LUNs Number.

An MSD device may have multiple storage units, each addressable through a LUN number. An example is a USB Card reader with multiple card slots. Each card slot has a LUN number. The USB_HOST_MSD_LUNS_NUMBER constant defines the maximum number of such logical units that can be managed by the USB Host application. This number should atleast be equal to USB_HOST_MSD_INSTANCES_NUMBER. To configure this value, consider an example of an application that will support a maximum of 2 USB Storage device. These 2 storage devices are expected to have at the most 3 LUNs each. Then the USB_HOST_MSD_LUNS_NUMBER constant should be set to 6 (2 devices and 3 LUNs per device)

## Remarks

None.