Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reason code    Action
SI_HRD ($00)   Hard reset the serial port
SI_SFT ($03)   Soft reset the serial port
SI_INT ($06)   Interrupt entry point (System use only).
SI_GBT ($09)   Get byte from serial port
SI_PBT ($0C)   Put byte to serial port
SI_ENQ ($0F)   Status enquiry
SI_FTX ($12)   Flush Tx (transmit) buffer
SI_FRX ($15)   Flush Rx (receive) buffer
SI_TMO ($18)   Set timeout
SI_GX  ($1B)   Get multiple bytes from serial port, using default timeout (OZ 4.5)
SI_PX  ($1E)   Put multiple bytes to serial port, using default timeout (OZ 4.5)
SI_GXT ($21)   Get multiple bytes from serial port until terminator using default timeout (OZ 4.5)

This operating system call used for low level serial port communication uses the following interface, however is unstable for application-level serial port communication (SI_GBT & SI_PBT):

...