APM:Libraries
|
Functions | |
int8_t | SCSI_ProcessCmd (USB_OTG_CORE_HANDLE *pdev, uint8_t lun, uint8_t *cmd) |
SCSI_ProcessCmd Process SCSI commands. More... | |
void | SCSI_SenseCode (uint8_t lun, uint8_t sKey, uint8_t ASC) |
SCSI_SenseCode Load the last error code in the error list. More... | |
void | SCSI_Init () |
void SCSI_Init | ( | ) |
int8_t SCSI_ProcessCmd | ( | USB_OTG_CORE_HANDLE * | pdev, |
uint8_t | lun, | ||
uint8_t * | params | ||
) |
SCSI_ProcessCmd Process SCSI commands.
pdev | device instance |
lun | Logical unit number |
params | Command parameters |
status |
Definition at line 198 of file usbd_msc_scsi.c.
Referenced by MSC_BOT_CBW_Decode(), MSC_BOT_DataIn(), and MSC_BOT_DataOut().
void SCSI_SenseCode | ( | uint8_t | lun, |
uint8_t | sKey, | ||
uint8_t | ASC | ||
) |
SCSI_SenseCode Load the last error code in the error list.
lun | Logical unit number |
sKey | Sense Key |
ASC | Additional Sense Key |
none |
Definition at line 518 of file usbd_msc_scsi.c.
Referenced by MSC_BOT_CBW_Decode(), SCSI_CheckAddressRange(), SCSI_ProcessCmd(), SCSI_ProcessRead(), SCSI_ProcessWrite(), SCSI_Read10(), SCSI_ReadCapacity10(), SCSI_ReadFormatCapacity(), SCSI_TestUnitReady(), SCSI_Verify10(), and SCSI_Write10().