41 #define STORAGE_LUN_NBR 1 42 #define STORAGE_BLK_NBR 0x10000 43 #define STORAGE_BLK_SIZ 0x200 49 uint16_t *block_size);
79 'S',
'T',
'M',
' ',
' ',
' ',
' ',
' ',
80 'P',
'r',
'o',
'd',
'u',
'c',
't',
' ',
81 ' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
USBD_StorageTypeDef USBD_MSC_Template_fops
int8_t STORAGE_IsWriteProtected(uint8_t lun)
#define STANDARD_INQUIRY_DATA_LEN
int8_t STORAGE_Read(uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len)
int8_t STORAGE_GetCapacity(uint8_t lun, uint32_t *block_num, uint16_t *block_size)
int8_t STORAGE_GetMaxLun(void)
int8_t STORAGE_Inquirydata[]
int8_t STORAGE_Write(uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len)
int8_t STORAGE_Init(uint8_t lun)
int8_t STORAGE_IsReady(uint8_t lun)