GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
USB_MSC_Scsi_Private_Function
Functions | |
int8_t | SCSI_ProcessCmd (USB_DEVICE_HANDLE *pudev, uint8_t Lun, uint8_t *params) |
Process SCSI commands. More... | |
void | SCSI_SenseCode (uint8_t Lun, uint8_t SKey, uint8_t ASC) |
Load the last error code in the error list. More... | |
int8_t | SCSI_ProcessRead (uint8_t Lun) |
Handle Read Process. More... | |
int8_t | SCSI_ProcessWrite (uint8_t Lun) |
Handle write process. More... | |
Detailed Description
Function Documentation
int8_t SCSI_ProcessCmd | ( | USB_DEVICE_HANDLE * | pudev, |
uint8_t | Lun, | ||
uint8_t * | params | ||
) |
Process SCSI commands.
- Parameters
-
pudev pointer to device instance Lun logical unit number params Command parameters
- Return values
-
status
Definition at line 87 of file usbd_msc_scsi.c.
int8_t SCSI_ProcessRead | ( | uint8_t | Lun | ) |
Handle Read Process.
- Parameters
-
Lun logical unit number
- Return values
-
status
Definition at line 599 of file usbd_msc_scsi.c.
int8_t SCSI_ProcessWrite | ( | uint8_t | Lun | ) |
Handle write process.
- Parameters
-
Lun logical unit number
- Return values
-
status
Definition at line 639 of file usbd_msc_scsi.c.
void SCSI_SenseCode | ( | uint8_t | Lun, |
uint8_t | SKey, | ||
uint8_t | ASC | ||
) |
Load the last error code in the error list.
- Parameters
-
Lun logical unit number SKey sense key ASC additional aense key
- Return values
-
None
Definition at line 376 of file usbd_msc_scsi.c.
Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by 1.8.8