Data Sheet

Table Of Contents
116
Parameters
$ModeVdo
Should be from PD_Vdo type. Table below describes the PD_VDO template that can be use as ModeVdo:
Field Name
Description
Data
Result
None
Examples
PD_Set $PdGlobalSettings.EnableCableEmulator = PD_TRUE
.
.
local $vdo_1 = PD_VDO
{
Data = 0x01
}
call PD_AddModeVDO_Cable($vdo_1)
5.1.112 PD_AddMode_Cable
Adds Mode in PD Exerciser. It must be called before PD_WaitForDiscoverModes_Cable or
PD_DelayAutoResponse commands to take effect.
Note - PD Exerciser should also act as Cable Plug to be able to process this command.
Format
Call PD_AddMode_Cable(Mode)
Parameters
Mode
Mode to add
Result
None
Examples
PD_Set $PdGlobalSettings.EnableCableEmulator = PD_TRUE
.
.
call PD_AddMode_Cable(0x00000001)
5.1.113 PD_ResetModes_Cable
Clears Modes(for cable) which are added to PD Exerciser. Could be called before adding
one or more Mode.
Note - PD Exerciser should also act as Cable Plug to be able to process this command.
Format
Call PD_ResetModes_Cable()