harmony 鸿蒙ScsiPeripheral_IORequest

2025-06-12 浏览 (1)

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

NameDescription
uint32_t lbAddressStart address of a logical block.
uint16_t transferLengthNumber of consecutive logical blocks to be operated.
uint8_t controlControl field used to specify control information.
uint8_t byte1First byte of the CDB.
uint8_t byte6Sixth byte of the CDB.
ScsiPeripheral_DeviceMemMap * dataBuffer for data transmission.
uint32_t timeoutTimeout 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

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/5rFrK3