Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Lock the storage medium.

Files

usbd_storage.h / usbd_storage.c

Prototype

Arguments

p_storage_lun

Pointer to logical unit storage structure

timeout_ms

Timeout in milliseconds.

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE
USBD_ERR_SCSI_LOCK_TIMEOUT
USBD_ERR_SCSI_LOCK

Returned Value

None.

Callers

Mass Storage Class.

Notes / Warnings

None.

  • No labels