From 902cb0f9f4f39c083290dbc28308b3f1a2fceb2e Mon Sep 17 00:00:00 2001 From: king_he <6384784@qq.com> Date: Thu, 30 Jun 2022 03:28:17 +0000 Subject: [PATCH] update en/device-dev/subsystems/subsys-usbservice-overview.md. Signed-off-by: king_he <6384784@qq.com> --- en/device-dev/subsystems/subsys-usbservice-overview.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/device-dev/subsystems/subsys-usbservice-overview.md b/en/device-dev/subsystems/subsys-usbservice-overview.md index f74a933955..f4ed4c4d9a 100644 --- a/en/device-dev/subsystems/subsys-usbservice-overview.md +++ b/en/device-dev/subsystems/subsys-usbservice-overview.md @@ -8,9 +8,10 @@ USB devices are classified into two types: USB host and USB device. On OpenHarmo **Figure 1** USB service architecture ![USB service architecture](figure/en-us_image_0000001267088285.png) +The USB service architecture consists of three layers: - USB API: a layer that provides JS APIs for the upper layer through NAPI. -- USB Service: a layer implemented by using the C++ programming language and logically divided into the Host, Device, and Port modules. HDI-based APIs provided by USB Service are mainly used to implement management of USB device list, USB functions, USB ports, and USB device access permissions. +- USB service: a layer implemented by using the C++ programming language and logically divided into the Host, Device, and Port modules. HDI-based APIs provided by USB Service are mainly used to implement management of USB device list, USB functions, USB ports, and USB device access permissions. - USB HAL: a layer implemented by using the C programming language. Based on the Host Driver Development Kit (SDK) and Device DDK, USB HAL encapsulates basic USB device operations, provides C++ APIs for the upper layer, and receives information from the kernel through the Hardware Driver Foundation (HDF) framework. -- GitLab