Data Sheet

Table Of Contents
39
AdvertizedCurrent
When WithAccessory setting is PD_TRUE: indicates advertised
current level on Rp.
Default: CC_RP_CUR_1_5
StartWithSNK
Applies when WithAccessory setting is PD_TRUE. If is set to
PD_FALSE, SINKAS state machine starts from Unattached.Accessory
state instead of Unattached.SNK state.
Default: PD_TRUE
AccessoryStateDuration
When WithAccessory setting is PD_TRUE: indicates the time that
Execiser stays in Powered.Accessory or Audio.Accessory states.
Default: 1000000 us
PoweredAccessoryExitState
When WithAccessory setting is PD_TRUE: indicates the exit state
from Powered.Accessory state.
Default: PD_TYPE_C_STATE_NONE
Result
None
Examples
$startsnk_setting = PD_Start_Sink_Settings
{
WithAccessory = PD_TRUE
}
Call PD_SetStartSinkSetting( $startsnk_setting )
3.15 PD_StartSink
It starts SINK or SINKAS state machine for connecting to a Type-C device. The command is
terminated if timeout occurs or Exerciser transitions to Attached.SNK. When Exerciser acts
as SINKAS, with no exit state for Powered.Accessory state, that state will be the last state
and command is terminated after specified time for this state duration.
Format
Call PD_StartSink()
Parameters
None
Result
Result Values
Description
PD_RESULT_OK
PD_RESULT_FAILED
Examples
Call PD_StartSink()