openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-devicememmap

2026-08-25 浏览 (1)

ScsiPeripheral_DeviceMemMap

typedef struct ScsiPeripheral_DeviceMemMap {...} ScsiPeripheral_DeviceMemMap

Overview

Represents the device memory mapping created by calling OH_ScsiPeripheral_CreateDeviceMemMap. The buffer that uses the device memory mapping can provide better performance.

Since: 18

Related module: ScsiPeripheralDDK

Header file: scsi_peripheral_types.h

Summary

Member Variables

NameDescription
uint8_t* const addressBuffer address.
const size_t sizeBuffer size.
uint32_t offsetOffset of the used buffer. The default value is 0, indicating that there is no offset and the buffer starts from the specified address.
uint32_t bufferLengthLength of the used buffer. By default, the value is equal to the size of the buffer, indicating that the entire buffer is used.
uint32_t transferredLengthLength of the transferred data.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request

openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor

openharmony 鸿蒙 capi-hidddk

openharmony 鸿蒙 capi-usbddk

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

openharmony 鸿蒙 capi-hidddk-hid-eventtypearray

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