Skip to content

Commit baf2a56

Browse files
committed
docs: update rst
Signed-off-by: sakumisu <1203593632@qq.com>
1 parent 7b9b396 commit baf2a56

File tree

8 files changed

+210
-117
lines changed

8 files changed

+210
-117
lines changed

docs/source/api/api_config.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ CONFIG_USB_PRINTF_COLOR_ENABLE
1919

2020
控制 log 颜色打印,默认开启
2121

22+
CONFIG_USB_DCACHE_ENABLE
23+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24+
25+
不使用 nocache ram 时,开启此宏以保证数据一致性。 **使用 EHCI 时,内部依旧需要使用 nocache ram**。
26+
2227
CONFIG_USB_ALIGN_SIZE
2328
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2429

@@ -126,7 +131,7 @@ rndis 与 lwip 接口的对接
126131

127132
.. code-block:: C
128133
129-
#define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4
134+
#define CONFIG_USBHOST_MAX_SERIAL_CLASS 4
130135
#define CONFIG_USBHOST_MAX_HID_CLASS 4
131136
#define CONFIG_USBHOST_MAX_MSC_CLASS 2
132137
#define CONFIG_USBHOST_MAX_AUDIO_CLASS 1
@@ -150,7 +155,7 @@ CONFIG_USBHOST_REQUEST_BUFFER_LEN
150155
CONFIG_USBHOST_CONTROL_TRANSFER_TIMEOUT
151156
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152157

153-
控制传输发送或者接收的超时时间,默认 1s
158+
控制传输发送或者接收的超时时间,默认 500 ms
154159

155160
CONFIG_USBHOST_MSC_TIMEOUT
156161
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)