Deploying to gh-pages from @ cherry-embedded/CherryUSB@5d5b61a606 🚀

This commit is contained in:
Egahp
2025-08-30 11:24:27 +00:00
parent 51a6407460
commit 2c9eb9baba
9 changed files with 13 additions and 11 deletions

View File

@@ -126,10 +126,11 @@ usbh_initialize
.. code-block:: C
int usbh_initialize(uint8_t busid, uint32_t reg_base);
int usbh_initialize(uint8_t busid, uint32_t reg_base, usbh_event_handler_t event_handler);
- **busid** bus id从 0开始不能超过 `CONFIG_USBHOST_MAX_BUS`
- **reg_base** hcd 寄存器基地址
- **event_handler** host 事件回调函数可以为NULL
- **return** 0 表示正常其他表示错误
usbh_find_class_instance