/
USBD_StorageAdd
USBD_StorageAdd
Description
Initialize the storage medium.
Files
usbd_storage.h / usbd_storage.c
Prototype
void USBD_StorageAdd (USBD_STORAGE_LUN *p_storage_lun) USBD_ERR *p_err)
Arguments
p_storage_lun
Pointer to logical unit storage structure.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_SCSI_LU_NOTRDY
Returned Value
None.
Callers
Mass Storage Class.
Notes / Warnings
None.
Related content
USBD_StorageInit
USBD_StorageInit
More like this
USBD_StorageWr
USBD_StorageWr
More like this
USBD_StorageRd
USBD_StorageRd
More like this
USBD_StorageStatusGet
USBD_StorageStatusGet
More like this
USBD_StorageCapacityGet
USBD_StorageCapacityGet
More like this
USBD_StorageUnlock
USBD_StorageUnlock
More like this