SS.ComSt_Set_Status

Used by the SCF manager to configure a serial port.

Entry Conditions

A
path number

B
SS.ComSt ($28)

Y
high byte: parity

 
low byte: baud rate

Error Output

CC
carry set on error

B
error code

Additional Information

Baud Configuration. The high order byte of Y determines the baud rate, the word length, and number of stop bits. The byte is configured as follows:

PD.BAU  7 6 5 4 3 2 1 0
        | | | | |     |
        | +-+ | +-----+
        |  |  |    |
        |  |  |    +----- Baud rate
        |  |  +---------- Reserved
        |  +------------- Word length
        +---------------- Stop bits

Stop bits:

0
1

1
2

Word length:

00
8 bit

01
7 bit

Baud rate

0000
110

0001
300

0010
600

0011
1200

0100
2400

0101
4800

0110
9600

0111
19200

1xxx
undefined

Parity Configuration. The low order byte of Y determines parity. The byte is configured as follows:

PD.BAU  7 6 5 4 3 2 1 0
        |   | |       |
        +---+ +-------+
          |       |
          |       +----- Special use
          +------------- Parity

Parity

xx0
none

001
odd (ACIAPAK or MODPAK only)

011
even (ACIAPAK or MODPAK only)

101
transmit: mark

 
receive: ignore

111
transmit: space

 
receive: ignore

  • The SCF manager uses SS.ComSt to inform a driver that serial port configuration information has been changed in the path descriptor. After calling SS.ComSt, a user routine must call the SS.Opt SetStat to correctly update the path descriptor.
  • This call is for the use of the SCF manager. Use SS.Opt for changing baud, stop bit, and parity values.

MongoDB Logo MongoDB