OWBasic for Pocketviewer

Home INTRO Group SERIAL Alphabetical Index

Status of the serial interface

SRLSTAT%()

The function returns the status of the interface.

Meaning of the bits after CASIO:


Hex-ValueBinary ValueMeaning
IX_SRL_TXEMP0x002000000000 00100000sending register empty
IX_SRL_FE0x000800000000 00001000framing error
IX_SRL_PE0x000400000000 00000100parity error
IX_SRL_OE0x000200000000 00000010over run error
IX_SRL_RXRDY0x000100000000 00000001receive data ready
IX_SRL_CB0x020000000010 00000000DCE busy
IX_SRL_TB0x040000000100 00000000DTE busy
IX_SRL_OV0x010000000001 00000000receive buffer over flow error


  • SRLRBUF - Status of the serial interface receive buffer
  • SRLTBUF - Status of the serial interface transmitter buffer
Home INTRO Group SERIAL Alphabetical Index