USBFN_PORT_TYPE enumeration (usbfnbase.h)
Defines the possible port types that can be returned by the client driver during port detection.
Syntax
typedef enum _USBFN_PORT_TYPE {
UsbfnUnknownPort,
UsbfnStandardDownstreamPort,
UsbfnChargingDownstreamPort,
UsbfnDedicatedChargingPort,
UsbfnInvalidDedicatedChargingPort,
UsbfnProprietaryDedicatedChargingPort,
UsbfnPortTypeMaximum
} USBFN_PORT_TYPE, *PUSBFN_PORT_TYPE;
Constants
UsbfnUnknownPort Port detection was unable to determine the port type. |
UsbfnStandardDownstreamPort The upstream port has been detected as a standard downstream port (SDP) (as defined in the Battery Charging Specification, revision 1.2). |
UsbfnChargingDownstreamPort The upstream port has been detected as a charging downstream port (CDP), as defined in the Battery Charging Specification, revision 1.2. |
UsbfnDedicatedChargingPort The upstream port has been detected as a dedicated charging port (DCP) (as defined in the Battery Charging Specification, revision 1.2). |
UsbfnInvalidDedicatedChargingPort The upstream port has been detected as a dedicated charging port that does not comply with the Battery Charging Specification, revision 1.2. |
UsbfnProprietaryDedicatedChargingPort A proprietary charger was attached. |
UsbfnPortTypeMaximum The maximum value of the enumeration. |
Requirements
Requirement | Value |
---|---|
Header | usbfnbase.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for