Data Sheet

Table Of Contents
36
Examples
Call PD_SetLoadOnVBus( PD_ON )
3.9 PD_TerminateCCLines
Terminates CC lines with the specified resistors in parameters.
Format
Call PD_TerminateCCLines( CC1_Resistor, CC2_Resistor )
Parameters
CC1_Resistor
Possible values:
CC_OPEN
CC_RP
CC_RP_1_5
CC_RP_3_0
CC_RD
CC_RA
CC2_Resistor
Possible values:
CC_OPEN
CC_RP
CC_RP_1_5
CC_RP_3_0
CC_RD
CC_RA
Result
None
Examples
Call PD_TerminateCCLines( CC_RP_1_5, CC_OPEN )
3.10 PD_SetStartDRPSetting
It is used to customize behavior and characteristics of the Exerciser when acts as a DRP
device. Settings are applied to PD_StartDRP command.
Format
Call PD_SetStartDRPSetting( PD_Start_DRP_Settings $settings )
Parameters
$settings
Parameter type is PD_Start_DRP_Settings. This type contains following data fields:
Field Name
Description
Timeout
Indicates the timeout in micro second for connecting as a SINK or
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
AdvertizedCurrent
Indicates advertised current level on Rp.
Default: CC_RP_CUR_1_5
WithVConn
Indicates whether to turn on the VConn or not.
Default: PD_FALSE