Data Sheet

Table Of Contents
37
StartWithSNK
If is set to PD_TRUE, DRP state machine starts from Unattached.SNK
state instead of Unattached.SRC state.
Default: PD_FALSE
WithTrySRC
If is set to PD_TRUE, Exerciser supports Try.SRC state machine.
Default: PD_FALSE
WithTrySNK
If is set to PD_TRUE, Exerciser supports Try.SNK state machine.
Default: PD_FALSE
Result
None
Examples
$startdrp_setting = PD_Start_DRP_Settings
{
WithTrySRC = PD_TRUE
}
Call PD_SetStartDRPSetting( $startdrp_setting )
3.11 PD_StartDRP
It starts DRP state machine for connecting to a Type-C device. The command quits if
timeouts or Exerciser transitions to Attached.Src or Attached.SNK.
Format
Call PD_StartDRP()
Parameters
None
Result
Result Values
Description
PD_RESULT_OK
PD_RESULT_FAILED
Examples
Call PD_StartDRP()
3.12 PD_SetStartSourceSetting
It is used to customize behavior and characteristics of the Exerciser when acts as a
SOURCE device. Settings are applied to PD_StartSource command.
Format
Call PD_SetStartSourceSetting( PD_Start_Source_Settings $settings )
Parameters
$settings
Parameter type is PD_Start_Source_Settings. Available fields for this type are:
Field Names
Description
Timeout
Indicates the timeout (micro seconds) for connecting as SOURCE.
Should be greater than 5000us.
Default: PD_DEFAULT_TIMEOUT_INFINIT
WithRa
Indicates whether to provide Ra on CC2 line or not.
Default: PD_FALSE