Data Sheet

Table Of Contents
103
5.1.88 PD_WaitForEnterMode
Waits for user-defined time-out to receive ENTERMODE command. It will respond to
incoming messages as part of EnterMode AMS.
Format
Call PD_WaitForEnterMode()
Parameters
None
Result
User can evaluate the command results(including sub-results) using IfMatched/ElseMatched
command.
Result Value
Description
PD_RESULT_OK
Command succeeded
PD_RESULT_FAILED
Command failed. In this case corresponding sub
results for PD_SendPacket and
PD_ReceivePacket are valid also (depends on the
error type which has been occurred during sending
or receiving data).
PD_SUBRESULT_MSG_NOT_RECEIVED
Subresult - ENERMODE message not received
PD_SUBRESULT_RESPONSE_NAK
Subresult - NAK has been sent as response
Examples
call PD_WaitForEnterMode()
5.1.89 PD_SetExitModeSetting
Applies settings to ExitMode related commands in PD Exerciser. It must be called before
PD_WaitForExitMode or PD_DelayAutoResponse commands to take effect.
Format
Call PD_SetExitModeSetting( PD_ExitMode_Settings $settings )
Parameters
$settings
Should be from PD_ExitMode_Settings type. Table below describes the PD_ExitMode_Settings
template:
Field Name
Description
ExitModeResponse
Indicates the response type. Possible values :
PD_EXITMODE_ACK(default)
PD_EXITMODE_NAK
WaitTimeout
Timeout(micro second) to wait for receiving the Exit Mode
command
Default: PD_DEFAULT_TIMEOUT_INFINIT
Result
None
Examples