UM10503 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.User manual Rev. 1.3 — 6 July 2012 675 of 1269NXP Semiconductors UM10503Chapter 25: LPC43xx USB APITable 528. USBD_MSC_INIT_PARAM class structureMember Descriptionmem_base uint32_tuint32_t USBD_MSC_INIT_PARAM::mem_baseBase memory location from where the stack can allocate data and buffers.Remark: The memory address set in this field should be accessible by USB DMA controller.Also this value should be aligned on 4 byte boundary.mem_size uint32_tuint32_t USBD_MSC_INIT_PARAM::mem_sizeThe size of memory buffer which stack can use.Remark: The mem_size should be greater than the size returned byUSBD_MSC_API::GetMemSize() routine.InquiryStr uint8_t *uint8_t* USBD_MSC_INIT_PARAM::InquiryStrPointer to the 28 character string. This string is sent in response to the SCSI Inquirycommand.Remark: The data pointed by the pointer should be of global scope.BlockCount uint32_tuint32_t USBD_MSC_INIT_PARAM::BlockCountNumber of blocks present in the mass storage deviceBlockSize uint32_tuint32_t USBD_MSC_INIT_PARAM::BlockSizeBlock size in number of bytesMemorySize uint32_tuint32_t USBD_MSC_INIT_PARAM::MemorySizeMemory size in number of bytesintf_desc uint8_t *uint8_t* USBD_MSC_INIT_PARAM::intf_descPointer to the interface descriptor within the descriptor array (MSC_Write void(*void(* USBD_MSC_INIT_PARAM::MSC_Write)(uint32_t offset, uint8_t **src, uint32_t length))(uint32_toffset, uint8_t **src, uint32_t length)MSC Write callback function.This function is provided by the application software. This function gets called when hostsends a write command.Parameters:1. offset = Destination start address.2. src = Pointer to a pointer to the source of data. Pointer-to-pointer is used to implementzero-copy buffers. See Zero-Copy Data Transfer model for more details on zero-copyconcept.3. length = Number of bytes to be written.Returns:Nothing.