Data Sheet

Table Of Contents
33
3 Type-C Commands
In addition to Power Delivery commands, PD Exerciser also provides a command set to
manage USB Type-C connection . It includes some low level commands for manipulating
voltages, capacitors and resistors as well as some high level commands that let you have
SINK, SINKAS, SOURCE and DRP state machines, described in Type-C specification, with the
facilities to customize different behaviors and characteristics. Note that at the present,
Type-C state machines are just followed when related commands are running. In other
words, Type-C state machines are not followed in parallel to other Power Delivery
commands execution.
3.1 PD_SetResistorRp
Sets resistor Rp On/Off.
Format
Call PD_SetResistorRp( state, current, line )
Parameters
state
Possible values: PD_ON, PD_OFF
current
Possible values:
CC_RP_CUR_DEFAULT
CC_RP_CUR_1_5
CC_RP_CUR_3_0
line
Possible values:
CC_LINE_1
CC_LINE_2
CC_LINE_ALL
Examples
Call PD_SetResistorRP( PD_ON, CC_RP_CUR_1_5, CC_LINE_2 )
3.2 PD_SetResistorRd
Sets resistor Rd On/Off.
Format
Call PD_SetResistorRd( state, line )
Parameters
state
Possible values:
PD_ON
PD_OFF
line
Possible values:
CC_LINE_1
CC_LINE_2