Data Sheet

Table Of Contents
57
5 Transaction Engine™
Power Delivery Transaction Engine™ includes high level commands and auto response
capability.
5.1 High Level Commands
5.1.1 PD_SetWorkingRevision
Sets the Exerciser working revision along with Specification Revision. It should call once in
whole Exerciser script. The default working revision is PD_SPEC_REVISION_2.
Format
Call PD_SetWorkingRevision( revision )
Parameters
revision
Indicates the target revision.
Possible values:
PD_SPEC_REVISION_2(default),
PD_SPEC_REVISION_3
Result
None
Examples
Call PD_SetWorkingRevision( PD_SPEC_REVISION_3 )
5.1.2 PD_SetNegotiationSetting_Source
Applies settings to power negotiation related commands as Source in PD Exerciser. If the
user wants to change default settings for Source Power Negotiation, must call this
command before PD_NegotiatePower_Source or PD_NegotiatePower or PD_WaitForNegotiatePower
commands to take effect.
Format
Call PD_SetNegotiationSetting_Source( PD_Negotiation_Source_Settings $settings )
Parameters
$settings
Defines negotiation settings for source. Should be in type of PD_Negotiation_Source_Settings template.
Table below shows all available fields of PD_Negotiation_Source_Settings template:
Field Name
Description
NegotiationResponse
Indicates the response type. Possible values:
PD_NEGOTIATION_ACCEPT(default)
PD_NEGOTIATION_WAIT
PD_NEGOTIATION_REJECT
SourceCapsRetryCount
Source capabilities retry count.
VBusVoltage_mv
VBus voltage in millivolt.
SourceCapMsgSpecRev
If the value is not PD_INVALID_VALUE then SourceCap