USBFN_ATTACH_ACTION enumeration (usbfnattach.h)
Defines the actions that the Universal Serial Bus (USB) function stack takes when a device is attached to a USB port.
Syntax
typedef enum _USBFN_ATTACH_ACTION {
UsbfnPortDetected,
UsbfnPortDetectedNoCad,
UsbfnProceedWithAttach,
UsbfnIgnoreAttach,
UsbfnDetectProprietaryCharger,
UsbfnHwBasedChargerDetection
} USBFN_ATTACH_ACTION, *PUSBFN_ATTACH_ACTION;
Constants
UsbfnPortDetected The USB function stack uses the returned port type to determine charging current and notify the Charging Aggregation Driver (CAD) of the power source change. If the detected port type is UsbFnStandardDownstreamPort or UsbfnChargingDownstreamPort, the USB function stack will attempt to connect to the host (see USBFN_PORT_TYPE for more information). |
UsbfnPortDetectedNoCad The USB function stack does not notify the CAD of the power source change. If the detected port type is UsbFnStandardDownstreamPort or UsbfnChargingDownstreamPort, the USB function stack attempts to connect to the host (see USBFN_PORT_TYPE for more information). |
UsbfnProceedWithAttach The USB function stack continues with the legacy software-based detection that exists in the client drivers, and issues the CAD notifications about power source notifications. |
UsbfnIgnoreAttach The USB function stack discontinues further port detection operations and does not notify CAD of a power source update. |
UsbfnDetectProprietaryCharger The USB function stack calls the UFX_PROPRIETARY_CHARGER_DETECT event callback function implemented by the USB lower filter driver, to perform proprietary charger detection. |
UsbfnHwBasedChargerDetection |
Requirements
Requirement | Value |
---|---|
Header | usbfnattach.h |