harmony 鸿蒙ScsiPeripheral_IORequest

  • 2025-06-12
  • 浏览 (5)

ScsiPeripheral_IORequest

Overview

Defines the read/write operation request.

Since: 18

Related module: SCSI Peripheral DDK

Header file: scsi_peripheral_types.h

Summary

Member Variables

Name Description
uint32_t lbAddress Start address of a logical block.
uint16_t transferLength Number of consecutive logical blocks to be operated.
uint8_t control Control field used to specify control information.
uint8_t byte1 First byte of the CDB.
uint8_t byte6 Sixth byte of the CDB.
ScsiPeripheral_DeviceMemMap * data Buffer for data transmission.
uint32_t timeout Timeout duration, in ms.

Member Variable Description

byte1

uint8_t ScsiPeripheral_IORequest::byte1

Description

First byte of the CDB.

byte6

uint8_t ScsiPeripheral_IORequest::byte6

Description

Sixth byte of the CDB.

control

uint8_t ScsiPeripheral_IORequest::control

Description

Control field used to specify control information.

data

ScsiPeripheral_DeviceMemMap* ScsiPeripheral_IORequest::data

Description

Buffer for data transmission.

lbAddress

uint32_t ScsiPeripheral_IORequest::lbAddress

Description

Start address of a logical block.

timeout

uint32_t ScsiPeripheral_IORequest::timeout

Description

Timeout duration, in ms.

transferLength

uint16_t ScsiPeripheral_IORequest::transferLength

Description

Number of consecutive logical blocks to be operated.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Driver Development Kit

harmony 鸿蒙Base DDK

harmony 鸿蒙DDK_Ashmem

harmony 鸿蒙Hid_AbsAxesArray

harmony 鸿蒙Hid_Device

harmony 鸿蒙Hid_EmitItem

harmony 鸿蒙Hid_EventProperties

harmony 鸿蒙Hid_EventTypeArray

harmony 鸿蒙Hid_KeyCodeArray

harmony 鸿蒙Hid_MscEventArray

0  赞