mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Use doxygen style comments for enumration value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6062 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d16ce4dd11
commit
8048b3f575
@ -141,43 +141,38 @@ EFI_STATUS
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Enumration value for status of USB HC.
|
||||||
@param EfiUsbHcStateHalt The host controller is in halt
|
|
||||||
state. No USB transactions can occur
|
|
||||||
while in this state. The host
|
|
||||||
controller can enter this state for
|
|
||||||
three reasons: 1) After host
|
|
||||||
controller hardware reset. 2)
|
|
||||||
Explicitly set by software. 3)
|
|
||||||
Triggered by a fatal error such as
|
|
||||||
consistency check failure.
|
|
||||||
|
|
||||||
|
|
||||||
@param EfiUsbHcStateOperational The host controller is in an
|
|
||||||
operational state. When in
|
|
||||||
this state, the host
|
|
||||||
controller can execute bus
|
|
||||||
traffic. This state must be
|
|
||||||
explicitly set to enable the
|
|
||||||
USB bus traffic.
|
|
||||||
|
|
||||||
|
|
||||||
@param EfiUsbHcStateSuspend The host controller is in the
|
|
||||||
suspend state. No USB
|
|
||||||
transactions can occur while in
|
|
||||||
this state. The host controller
|
|
||||||
enters this state for the
|
|
||||||
following reasons: 1) Explicitly
|
|
||||||
set by software. 2) Triggered
|
|
||||||
when there is no bus traffic for
|
|
||||||
3 microseconds.
|
|
||||||
|
|
||||||
**/
|
**/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
EfiUsbHcStateHalt,
|
EfiUsbHcStateHalt, ///< The host controller is in halt
|
||||||
EfiUsbHcStateOperational,
|
///< state. No USB transactions can occur
|
||||||
EfiUsbHcStateSuspend,
|
///< while in this state. The host
|
||||||
EfiUsbHcStateMaximum
|
///< controller can enter this state for
|
||||||
|
///< three reasons: 1) After host
|
||||||
|
///< controller hardware reset. 2)
|
||||||
|
///< Explicitly set by software. 3)
|
||||||
|
///< Triggered by a fatal error such as
|
||||||
|
///< consistency check failure.
|
||||||
|
|
||||||
|
EfiUsbHcStateOperational, ///< The host controller is in an
|
||||||
|
///< operational state. When in
|
||||||
|
///< this state, the host
|
||||||
|
///< controller can execute bus
|
||||||
|
///< traffic. This state must be
|
||||||
|
///< explicitly set to enable the
|
||||||
|
///< USB bus traffic.
|
||||||
|
|
||||||
|
EfiUsbHcStateSuspend, ///< The host controller is in the
|
||||||
|
///< suspend state. No USB
|
||||||
|
///< transactions can occur while in
|
||||||
|
///< this state. The host controller
|
||||||
|
///< enters this state for the
|
||||||
|
///< following reasons: 1) Explicitly
|
||||||
|
///< set by software. 2) Triggered
|
||||||
|
///< when there is no bus traffic for
|
||||||
|
///< 3 microseconds.
|
||||||
|
|
||||||
|
EfiUsbHcStateMaximum ///< Maximum value for enumration value of HC status.
|
||||||
} EFI_USB_HC_STATE;
|
} EFI_USB_HC_STATE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user