GD32F1x0
|
usbd_msc_scsi.h File Reference
Header file for the usbd_msc_scsi.c file. More...
Go to the source code of this file.
Data Structures | |
struct | _SENSE_ITEM |
Typedefs | |
typedef struct _SENSE_ITEM | SCSI_Sense_TypeDef |
Functions | |
int8_t | SCSI_ProcessCmd (USB_DEVICE_HANDLE *pudev, uint8_t Lun, uint8_t *cmd) |
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... | |
Variables | |
uint8_t | Page00_Inquiry_Data [] |
uint8_t | Standard_Inquiry_Data [] |
uint8_t | Standard_Inquiry_Data2 [] |
uint8_t | Mode_Sense6_data [] |
uint8_t | Mode_Sense10_data [] |
uint8_t | Scsi_Sense_Data [] |
uint8_t | ReadCapacity10_Data [] |
uint8_t | ReadFormatCapacity_Data [] |
SCSI_Sense_TypeDef | SCSI_Sense [SENSE_LIST_DEEPTH] |
uint8_t | SCSI_Sense_Head |
uint8_t | SCSI_Sense_Tail |
Detailed Description
Header file for the usbd_msc_scsi.c file.
- Author
- MCU SD
- Version
- V1.0.1
- Date
- 6-Sep-2014
Definition in file usbd_msc_scsi.h.
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 57 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 575 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 615 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 351 of file usbd_msc_scsi.c.
Generated by
