AG903ライブラリリファレンス
Body Source
Usbh_Api_EnumRootHub 関数
本文ソース
コピコード
1:
struct
usbd_usb_deviceinfo
* Usbh_Api_EnumRootHub(
struct
usbd_usb_deviceinfo
* pRootHub ) 2: { 3:
struct
usbd_usb_deviceinfo
* rh = NULL; 4: 5:
#ifdef
SUPPORT_HCDEHCI 6: 7: 8: 9:
if
(( pRootHub == NULL ) && ( ehci_rh != NULL )) { 10: rh = (
struct
usbd_usb_deviceinfo
*)ehci_rh->usbdev; 11: } 12:
else
{ 13: rh = NULL; 14: } 15:
#endif
16: 17:
return
rh; 18: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム