⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usbutil.h

📁 Next BIOS Source code : Extensible Firmware Interface
💻 H
字号:
/*++
 
Copyright (c)  1999 - 2002 Intel Corporation. All rights reserved
This software and associated documentation (if any) is furnished
under a license and may only be used or copied in accordance
with the terms of the license. Except as permitted by such
license, no part of this software or documentation may be
reproduced, stored in a retrieval system, or transmitted in any
form or by any means without the express written consent of
Intel Corporation.

 
  Module Name:
    usbutil.h
  
  Abstract:
 
    Helper functions for USB
 
  Revision History
 
  
--*/
 
#ifndef _USB_UTIL_H
#define _USB_UTIL_H

//
// Following APIs are used to query Port Status
//
BOOLEAN
IsPortConnect (
  UINT16  PortStatus
);

BOOLEAN
IsPortEnable (
  UINT16  PortStatus
);

BOOLEAN
IsPortInReset (
  UINT16  PortStatus
);

BOOLEAN
IsPortPowerApplied (
  UINT16  PortStatus
);

BOOLEAN
IsPortLowSpeedDeviceAttached (
  UINT16  PortStatus
);

BOOLEAN
IsPortSuspend (
  UINT16  PortStatus
);

//
// Following APIs are used to query Port Change Status
//
BOOLEAN
IsPortConnectChange (
  UINT16  PortChangeStatus
);

BOOLEAN
IsPortEnableDisableChange (
  UINT16  PortChangeStatus
);

BOOLEAN
IsPortResetChange (
  UINT16  PortChangeStatus
);

BOOLEAN
IsPortSuspendChange (
  UINT16  PortChangeStatus
);

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -