Device memory map created by calling OH_Usb_CreateDeviceMemMap(). A buffer using the device memory map can provide better performance.
Since
10
Related Modules
| Name | Description |
|---|---|
| address | Buffer address. |
| size | Buffer size. |
| offset | Offset of the used buffer. The default value is 0, indicating that there is no offset and the buffer starts from the specified address. |
| bufferLength | Length of the used buffer. By default, the value is equal to the size, indicating that the entire buffer is used. |
| transferedLength | Length of the transferred data. |
uint32_t UsbDeviceMemMap::bufferLength
Description
Length of the used buffer. By default, the value is equal to the size, indicating that the entire buffer is used.