Data Sheet

Table Of Contents
60
Examples
call PD_NegotiatePower_Source()
5.1.6 PD_SetNegotiationSetting_Sink
Applies power negotiation settings as Sink. If the user wants to change default settings for
Sink Power Negotiation, must call this command before PD_NegotiatePower_Sink or
PD_NegotiatePower or PD_WaitForNegotiatePower or PD_DelayAutoResponse commands to take
effect.
Format
Call PD_SetNegotiationSetting_Sink( PD_Negotiation_Sink_Settings $settings )
Parameters
$settings
Should be from PD_Negotiation_Sink_Settings type.
Table below shows all available fields of PD_Negotiation_Sink_Settings template:
Field Name
Description
WaitTimeout
Indicates the wait timeout(micro second) to receive
SourceCapabilities Message.
(default = PD_DEFAULT_TIMEOUT_INFINIT)
SinkRequestData
Defines data object of Request message.
AutoSinkRequest
Builds the SinkRequestData automatically according
to current sink capabilities and received source
capabilities. Possible values:
PD_TRUE(Default)
PD_FALSE
RetryCountOnWait
Indicates the retry count upon receiving Wait Message
after sending the Request.
Default: 2
RetryDelayOnWait
Indicates the delay time before retrying the Request,
upon receiving Wait Message.
Default: 100000 us
RequestMsgSpecRev
If the value is not PD_INVALID_VALUE then Request
Message in Negotiation sequence will be transferred
using this Specification Revision.
Possible values:
PD_INVALID_VALUE(default)
Or other user defined value.
ExTriggerOnAccept
Indicates whether to notify PD Exerciser through
External Trigger on receiving Accept message or not.
Possible values:
PD_FALSE(default)
PD_TRUE
ExTriggerOnPSRDY
Indicates whether to notify PD Exerciser through
External Trigger on receiving PS_RDY message or not.
Possible values:
PD_FALSE(default)
PD_TRUE
AutoSpecRev
Rev3.0 only. Indicates whether the Exerciser should
detect the Specification Revision automatically from
Negotiation sequence or not.
Possible values:
PD_FALSE,
PD_TRUE(default)
AutoUnchunkedSupport
Rev3.0 only. Indicates whether the Exerciser should
detect the Un-chunked Support automatically from
Negotiation sequence or not.