Please enable JavaScript to view this site.

Instruction to set the two signals DTR and RTS of the specified serial channel.

Syntax

ser_w_sts (i32 nSer, i32 mask, i32 sts)

nSer

Serial channel number

mask

Mask to enable the bits of the status word to be changed.

It can take the following values:

Value

Meaning

0

No modification enabled

1

Enable modification for DTR signal

2

Enable modification for RTS signal

4

Enable modification for DTR and RTS signals

sts

It is the value of the DTR, RTS signals that are intended to be forced.

Forcing a signal to 1 means bringing it to its active condition; therefore, we do not refer to the physical levels of the signals, but to the logical levels

Validity

Rule, Task

Note

You can only change the status of these signals if you have previously selected MODEM mode for the specified serial channel (see the ser_mod instruction)

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC