SERVICE FUNCTIONS
svcCom3SetHandshake()
M
X
800 SERIES PROGRAMMERS GUIDE 183
svcCom3SetHandshake()
The svcCom3SetHandshake() function sets the handshake byte to the value
indicated.
Return Values
This function returns 0 upon success and a negative value if unsuccessful. The
value of the handshake control byte can be read using the
svcCom3ReqExtStatus() function.
Each bit of the handshake value indicates a specific state defined as follows:
Where:
Table 18
Bit Mnemonic Description
b7 RE Receive enable
b6 HW Handshake wait
b5 AO Auxiliary Out (N/A)
b4 CO Control Out
b3 RO Ready Out (N/A)
b2 * Reserved
b1 * Reserved
b0 * Reserved
0 Receive disabled
1 Receive enabled
0 Transmit unconditionally
1 Transmit waits on Handshake
0 Aux Out is in Idle state
1 Aux Out is in Asserted state
0 Control Out is in Idle state (RTS)
1 Control Out is in Asserted state (RTS)
0 Ready Out is in Idle state
1 Ready Out is in Asserted state