1 ;/* BEGIN INCLUDE FILE: rs232err.mac */ 2 3 ; HISTORY COMMENTS: 4 ; 1) change(86-06-05,Westcott), approve(87-07-13,mcr7580), 5 ; audit(87-07-13,Leskiw), install(87-08-07,MR12.1-1072): 6 ; Created. 7 ; END HISTORY COMMENTS 8 9 ;/* : FUNCTION 10 ; 11 ;This include file identifies the error messages that can be created by the 12 ;hardware interrupt handler and it's support routines. Notification of errors 13 ;is placed in the rs232 input buffer by means of a two character sequence. 14 ;The first character identifies the class of error message and the second 15 ;character identifies the error within the class. 16 ;*/ 17 18 ;ERROR MESSAGE CLASSES 19 20 LINE_STATUS = 3 21 MODEM_STATUS = 4 22 INTERRUPT_STATUS = 5 23 ESCAPE_STATUS = 6 24 25 ;LINE STATUS ERRORS 26 27 LSROR = 00000001b ; OVERRUN IN RECEIVE BUFFER 28 LSRPE = 00000010b ; PARITY ERROR DETECTED BY HARDWARE 29 LSRFE = 00000100b ; FRAMING ERROR DETECTED BY HARDWARE 30 LSRBI = 00001000b ; BREAK DETECTED BY HARDWARE 31 32 ;MODEM STATUS ERRORS 33 34 MSRDCTS = 00000001b ; DELTA CLEAR TO SEND 35 MSRDDSR = 00000010b ; DELTA DATA SET READY 36 MSRTERI = 00000100b ; DELTA RING INDICATOR 37 MSRDRLSD = 00001000b ; DELTA LINE SIGNAL DETECTOR 38 39 ;INTERRUPT STATUS ERRORS 40 41 ISIBO = 00000001b ; INPUT BUFFER OVERFLOW 42 ISCTSTO = 00000010b ; CTS TIMEOUT 43 ISTHRETO = 00000100b ; TRANSMITTER HOLDING REGISTER TIMEOUT 44 45 ;ESCAPE STATUS 46 47 ; Used to escape a genuine received data value equal to one of the 48 ; above status register values 49 50 ;/* END INCLUDE FILE rs232err.mac */ 51 ^Z