Data Sheet

Table Of Contents
38
AdvertizedCurrent
Indicates advertised current level on Rp.
Default: CC_RP_CUR_1_5
WithVConn
Indicates whether to turn on VConn or not.
Default: PD_FALSE
Result
None
Examples
$startsrc_setting = PD_Start_Source_Settings
{
WithRa = PD_TRUE
}
Call PD_SetStartSourceSetting( $startsrc_setting )
3.13 PD_StartSource
It starts SOURCE state machine for connecting to a Type-C device. The command is
terminated if timeout occurs or the Exerciser transitions to Attached.SRC state.
Format
Call PD_StartSource()
Parameters
None
Result
Result Values
Description
PD_RESULT_OK
PD_RESULT_FAILED
Examples
Call PD_StartSource()
3.14 PD_SetStartSinkSetting
It is used to customize behavior and characteristics of the Exerciser when acts as a SINK
device. Settings are applied to PD_StartSink command.
Format
Call PD_SetStartSinkSetting( PD_Start_Sink_Settings $settings )
Parameters
$settings
Parameter type is PD_Start_Sink_Settings. Available fields of this type are:
Field Name
Description
Timeout
Indicates the timeout (micro second) for connecting as a SINK.
Should be greater than 5000us.
Default: PD_DEFAULT_TIMEOUT_INFINIT
WithRa
Indicates whether to provide Ra on CC2 line or not.
Default: PD_FALSE
WithAccessory
Indicates whether to support SINKAS state machine or not.
Default: PD_FALSE