diff --git a/en/device-dev/subsystems/subsys-usbservice-overview.md b/en/device-dev/subsystems/subsys-usbservice-overview.md index 9cbbcae2cb8004b27242ab89410444ea668c6132..8c7932295d187d50424f95cfb1afe70474a9f080 100644 --- a/en/device-dev/subsystems/subsys-usbservice-overview.md +++ b/en/device-dev/subsystems/subsys-usbservice-overview.md @@ -57,7 +57,7 @@

int32_t ClaimInterface(USBDevicePipe &pip, const UsbInterface &interface, bool force);

-The

Claims a USB interface exclusively. This must be done before data transfer.

+

Claims a USB interface exclusively. This must be done before data transfer.

int32_t ReleaseInterface(USBDevicePipe &pip, const UsbInterface &interface);

@@ -67,12 +67,12 @@ The

int32_t BulkTransfer(USBDevicePipe &pip, const USBEndpoint &endpoint, std::vector &vdata, int32_t timeout);

-The

Performs a bulk transfer on a specified endpoint. The data transfer direction is determined by the endpoint direction.

+

Performs a bulk transfer on a specified endpoint. The data transfer direction is determined by the endpoint direction.

int32_t ControlTransfer(USBDevicePipe &pip, const UsbCtrlTransfer &ctrl, std::vector &vdata);

-The

Performs control transaction for endpoint 0 of the device. The transmission direction is determined by the request type.

+

Performs control transaction for endpoint 0 of the device. The transmission direction is determined by the request type.

int32_t SetConfiguration(USBDevicePipe &pip, const USBConfig &config);

@@ -123,7 +123,7 @@ The

int32_t RequestQueue(UsbRequest &request);

-

Sends or receives isochronous data requests on a specified endpoint. The data transfer direction is determined by the endpoint direction.

+

Sends or receives isochronous transfer requests on a specified endpoint. The data transfer direction is determined by the endpoint direction.

int32_t BulkRequstDataSize(const UsbDev &dev, const UsbPipe &pipe, uint32_t &length);

@@ -133,7 +133,7 @@ The

int32_t BulkReadData(const UsbDev &dev, const UsbPipe &pipe, std::vector &data);

-

Obtains the data reading result. Use this method together with BulkReadData. +

Obtains the data reading result. Use this method together with BulkReadData.

int32_t BulkWriteData(const UsbDev &dev, const UsbPipe &pipe, const std::vector &data);