Jump to main content

##

# 2.8.3.3 Configuration on MCC

## Max Sectors To Buffer

Symbol name: CONFIG_USB_DEVICE_FUNCTION_MSD_MAX_SECTORS_COMMON

This symbol can be used to configure the number of data sectors to be buffered before initiating a transfer(Read/Write) with the attached media.

## LUN x

Symbol name: CONFIG_USB_DEVICE_FUNCTION_MSD_LUN_IDX

This option allows the user to configure the media type for the LUN.

## Media Type

Symbol name: CONFIG_USB_DEVICE_FUNCTION_MSD_LUN_MEDIA_TYPE_IDX

Select the LUN media type from the list of support media. NVM uses internal program memory. SDCARD SPI uses SD CARD as memory with SPI as an interface. SDCARD MMC uses SD CARD as memory with MMC interface. SPIFLASH uses external SPI based Flash memory.

## Bulk OUT Endpoint Number

Symbol name: CONFIG_USB_DEVICE_FUNCTION_BULK_OUT_ENDPOINT_NUMBER

This option is used to specify the endpoint number of the Bulk OUT endpoint to be used by this Mass Storage Interface. Refer to device datasheets for details on available endpoints and limitations.

## Bulk IN Endpoint Number

Symbol name: CONFIG_USB_DEVICE_FUNCTION_BULK_IN_ENDPOINT_NUMBER

This option is used to specify the endpoint number of the Bulk IN endpoint to be used by this Mass Storage Interface. Refer to device datasheets for details on available endpoints and limitations.