共用方式為


UCMTCPCI_PORT_CONTROLLER_ALERT_TYPE列舉 (ucmtcpciportcontroller.h)

定義泛型警示值,用來指出埠控制器上收到的硬體警示類型。

Syntax

typedef enum _UCMTCPCI_PORT_CONTROLLER_ALERT_TYPE {
  UcmTcpciPortControllerAlertInvalid,
  UcmTcpciPortControllerAlertCCStatus,
  UcmTcpciPortControllerAlertPowerStatus,
  UcmTcpciPortControllerAlertReceiveSOPMessageStatus,
  UcmTcpciPortControllerAlertReceivedHardReset,
  UcmTcpciPortControllerAlertTransmitSOPMessageFailed,
  UcmTcpciPortControllerAlertTransmitSOPMessageDiscarded,
  UcmTcpciPortControllerAlertTransmitSOPMessageSuccessful,
  UcmTcpciPortControllerAlertVbusVoltageAlarmHi,
  UcmTcpciPortControllerAlertVbusVoltageAlarmLo,
  UcmTcpciPortControllerAlertFault,
  UcmTcpciPortControllerAlertRxBufferOverflow,
  UcmTcpciPortControllerAlertVbusSinkDisconnectDetected
} UCMTCPCI_PORT_CONTROLLER_ALERT_TYPE;

常數

 
UcmTcpciPortControllerAlertInvalid
警示無效。
UcmTcpciPortControllerAlertCCStatus
表示

CC 狀態變更警示。
UcmTcpciPortControllerAlertPowerStatus
表示

電源狀態變更警示。
UcmTcpciPortControllerAlertReceiveSOPMessageStatus
指出SOP訊息警示。
UcmTcpciPortControllerAlertReceivedHardReset
表示硬式重設警示。
UcmTcpciPortControllerAlertTransmitSOPMessageFailed
表示 SOP 訊息傳輸未成功。
UcmTcpciPortControllerAlertTransmitSOPMessageDiscarded
表示

SOP 訊息傳輸未因為傳入接收訊息而傳送。
UcmTcpciPortControllerAlertTransmitSOPMessageSuccessful
表示 SOP 訊息傳輸成功。
UcmTcpciPortControllerAlertVbusVoltageAlarmHi
表示高電壓警示。
UcmTcpciPortControllerAlertVbusVoltageAlarmLo
表示低電壓警示。
UcmTcpciPortControllerAlertFault
表示發生錯誤。
UcmTcpciPortControllerAlertRxBufferOverflow
表示

TCPC Rx 緩衝區已溢位。
UcmTcpciPortControllerAlertVbusSinkDisconnectDetected
指出已偵測到 VBUS 接收中斷連線閾值跨越

規格需求

需求
標頭 ucmtcpciportcontroller.h

另請參閱

UCMTCPCI_PORT_CONTROLLER_ALERT_DATA