ScsiPeripheral_Request
typedef struct ScsiPeripheral_Request {...} ScsiPeripheral_Request
Overview
Defines the request structure.
Since: 18
Related module: ScsiPeripheralDDK
Header file: scsi_peripheral_types.h
Summary
Member Variables
| Name | Description |
|---|---|
| uint8_t commandDescriptorBlock[SCSIPERIPHERAL_MAX_CMD_DESC_BLOCK_LEN] | Command descriptor block. |
| uint8_t cdbLength | Length of the command descriptor block. |
| int8_t dataTransferDirection | Data transfer direction: –1 indicates no data transfer, –2 indicates data transfer (write) from the host to the device, –3 indicates data transfer (read) from the device to the host, and –4 indicates bidirectional data transfer. |
| ScsiPeripheral_DeviceMemMap* data | Buffer for data transmission. |
| uint32_t timeout | Timeout duration, in ms. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor
openharmony 鸿蒙 capi-hidddk-hid-absaxesarray
openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response
openharmony 鸿蒙 capi-scsi-peripheral-api-h
openharmony 鸿蒙 capi-hidddk-hid-relaxesarray
openharmony 鸿蒙 js-apis-driver-deviceManager