Please enable JavaScript to view this site.

Function to read the status word of the specified serial channel.

Syntax

i32 ser_r_sts (i32 nSer)

nSer

Number of the serial channel

Result

Contains the status word of the serial channel as follows:

Value

Meaning

1

DTR

2

RTS

4

DSR

8

CTS

16

All sent

32

CRC/framing error

64

RX overrun

128

Parity error

256

RX character available

512

TX buffer empty

Validity

Rule, Task

Note

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

 

  

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