GRL-USB-PD-C2/C2-EPR API 1.1.9
GRL-USB-PD-C2/C2-EPR API Documentation
|
Classes | |
class | AMSDetailsHTMLView |
class | AMSElement |
Each message of an AMS sequence. More... | |
class | AMSError |
class | AMSGenerator |
class | AMSValidationEngine |
Validates AMS - Timing parameters, message fields, voltage levels, etc. More... | |
class | AMSValidationModel |
To store validation details of a particular AMS. Ex: Time diff between msgs in AMS, Retry count, etc. More... | |
class | AtomicMessageSequence |
class | ChunkDetails |
class | DUTPortBehaviour |
class | Enum |
class | ExpectedAMSSequence |
Expected AMS sequence. More... | |
class | GetDesiredAMS_Param |
class | MergeAMS |
class | PDStateMachine |
Constructs AMS. More... | |
class | PowerDataRoles |
class | ValidateMsgSeq |
To define the packet content. More... | |
Enumerations | |
enum | ChunkTy { ChunkReq , ChunkResp , None } |
enum | PDErrorID { PreambleErr_1 , GoodCRC_Missing_3 , GoodCRC_Timing_Error_3 , B15_Res_3 , B11_9_MsgID_3 , B8_PortPowerRole_3 , B7_6_SpecRevision_3 , B5_PortDataRole_3 , B4_0_Msg_Type_3 , DUT_GoodCRCMissing_3 , DUT_Response_Missing_4 , Incorrect_DUT_Response_Time_4 , DataObjFieldInHeader_6 , ObtByteCountAfterHeader_6 , DataObjFldChkInHeader_8 , B31_Reserved_8 , B30_28_ObjPosition_8 , B27_GiveBackFlag_8 , B27_Reserved_8 , B26_Capability_Mismatch , B25_USB_Comm_Cap_8 , B24_No_USB_Sus_8 , B23_Unchunked_Ext_Msgs_Sup_8 , B22_20_Reserved_8 , B19_10_Op_Curr_8 , B19_10_Op_Power_8 , B_6_0_Op_Power_8 , SVID_Gen_9 , SVID_Specific_9 , VDM_Version_9 , B12_11_Reserved_9 , B10_8_Obj_Pos_9 , B5_Res_9 , B4_0_DM_Cmd_9 , B15_Chunked_0_10 , B15_Chunked_1_10 , Zero_Padding_10 , B14_11_Chunk_Number_10 , B9_Res_10 , B8_0_DataSize_10 , B0_1_LoadStep_11 , B_Reserved_11 , Touch_Temp_Field_11 , B_0_1_Src_IP_Field_11 , B_3_7_Src_IP_Field_11 , BatterySlot_UN_11 , BatterySlot_LN_11 , PDP_SRC_11 , SCEDB_PeakCurrent_11 , Before_ExplicitContract , InNon_Interruptible_AMS , Tester_GC_Delay_1 , SRC_ONLY_INIT_3 , SNK_ONLY_INIT_3 , Sink_Init_4 , Req_PRS_SRC_5 , Req_PRS_SNK_5 , VDMInit_PD2Mode_7 , VDMInit_PD3Mode_7 , Att_Disc_SOP_7 , VDM_Init_SOP_2_7 , VDM_CMD_Ty_7 , VDM_Cmd_7 , TstrResp_SOP_1_7 , TstrResp_SOP_7 , Captive_cab_VDM_Resp_7 , VDM_Resp_Captive_Tstr_7 , SOP_2_VDM_Init_7 , DUT_Wait_tSenderResponseTimer_8 , AttentionInit_PD2Mode_9 , AttentionInit_PD3Mode_9 , ModalOperationCheck_9 , SOPCheck_9 , VDM_CmdTyCheck_9 , VDm_Cmd_Check_9 , Request_WO_SourceCap_10 , Request_Pwr_Role_Mismatch_10 , Src_Cap_SNK_DUT_11 , No_Accept_PDC_11 , No_PS_RDY_PDC_11 , B30_28_ObjPosition_11 , B27_GiveBackFlag_11 , B26_Capability_Mismatch_11 , B25_USB_Comm_Cap_11 , B24_No_USB_Sus_11 , B19_10_op_current_11 , B9_0_MaxCurrent_11 , DR_Swap_DFP , DR_Swap_UFP , NONE } |
enum | AMSErrorType { PDMSG_CONTENT_ERROR , PDMSG_TIMING_PARAM_ERROR , PDMSG_SEQUENCE_ERROR , VOLTAGE_ERROR , NONE } |
enum | AMSStatus { COMPLETE , PARTIAL_TESTER_GOODCRC_MISSING , PARTIAL_DUT_GOODCRC_MISSING , PARTIAL_TESTER_PACKET_MISSING , PARTIAL_DUT_PACKET_MISSING , UNKNOWN , NOT_VERIFIED } |
enum | AMSStatus_Secondary { NOT_SET , COMPLETE_WAIT , SEQUENCE_REJECTED , UNKNOWN } |
AMS status secondary info Case: If AMS is completed with wait message then use this to update the status. More... | |
enum | AMSType { INTERRUPTIBLE , NON_INTERRUPTIBLE , UNKNOWN } |
enum | AMSName { Power_Negotiation , GotoMin , Soft_Reset , Data_Reset , Hard_Reset , Cable_Reset , Get_Source_Capabilities , Get_Sink_Capabilities , Power_Role_Swap , Fast_Role_Swap , Data_Role_Swap , VCONN_Swap , Source_Alert , Getting_Source_Extended_Capabilities , Getting_Source_Sink_Status , Getting_Battery_Capabilities , Getting_Battery_Status , Getting_Manufacturer_Information , Security , Firmware_Update , Discover_Identity , Source_startup_Cable_Plug_Discover_Identity , Discover_SVIDs , Discover_Modes , DFP_to_UFP_Enter_Mode , DFP_to_UFP_Exit_Mode , DFP_to_Cable_Plug_Enter_Mode1 , DFP_to_Cable_Plug_Exit_Mode , Attention , Built_in_Self_Test_BIST , Sequence_of_Unstructured_VDMs , Sequence_of_Structured_VDMs_using_Vendor_Commands , Country_Info , Enter_USB , Country_Codes , Get_PPS_Status , Getting_Sink_Extended_Capabilities , Get_Status , Request , Alert , Reserved , Ping , DpConfigure , DpStatusUpdate , Get_Source_Info , EPR_Mode_Enter , EPR_Mode_Success , EPR_Mode_Fail , EPR_Mode_Exit , EPR_Mode_Reserved , EPR_Request , EPR_Source_Capabilities , EPR_Get_Src_Cap , EPR_Get_Snk_Cap , EPR_KeepAlive , UnstructuredVDM , Get_Revision , UKNOWN , NONE } |
enum | BringUpProcedure { COMMON_PROC_BU_1_Bring_up_Source_UUT , COMMON_PROC_BU_2_Bring_up_Sink_UUT , COMMON_PROC_BU_3_Bring_up_Cable_Plug_UUT , COMMON_PROC_BU_4_Bring_up_Source_UUT_for_PPS_Test , COMMON_PROC_BU_5_Bring_up_Sink_UUT_for_PPS_Test , COMMON_PROC_BU_6_Bring_up_Sink_UUT_for_Captive_Cable_Test , COMMON_PROC_BU_7_Bring_up_Consumer_Provider_as_Source_UUT , COMMON_PROC_BU_8_Bring_up_Provider_Consumer_as_Sink_UUT , COMMON_PROC_BU_9_Bring_up_Consumer_Provider_as_Source_UUT_PPS , COMMON_PROC_BU_10_Bring_up_VPD , COMMON_PROC_BU_11_Bring_up_Source_UUT_for_Captive_Cable_Test , COMMON_PROC_BU_12_Bring_up_Provider_Consumer_as_Sink_UUT_PPS , NOT_REQUIRED , NONE } |
AMS status secondary info Case: If AMS is completed with wait message then use this to update the status.