home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Pascal / MAXONPASCAL2.DMS / in.adf / INCLUDE / prefs / serial.h < prev    next >
Encoding:
Text File  |  1994-07-25  |  954 b   |  39 lines

  1. {$if not def PREFS_SERIAL_H} CONST PREFS_SERIAL_H=TRUE;
  2.  
  3. { ****************************************************************
  4.   ** KickPascal-Include-Datei "prefs/serial.h" zu Kickstart 3.0 **
  5.   **************************************************************** }
  6.  
  7. {$if not def LIBRARIES_IFFPARSE_H;incl "libraries/iffparse.h";endif}
  8.  
  9. CONST
  10.  ID_SERL = $5345524c; { "SERL" }
  11.  
  12. TYPE
  13.  p_SerialPrefs=^SerialPrefs;
  14.  SerialPrefs = RECORD
  15.   sp_Reserved           : array[0..2] of Long;
  16.   sp_Unit0Map           : Long;
  17.   sp_BaudRate           : Long;
  18.   sp_InputBuffer        : Long;
  19.   sp_OutputBuffer       : Long;
  20.   sp_InputHandshake     : Byte;
  21.   sp_OutputHandshake    : Byte;
  22.   sp_Parity             : Byte;
  23.   sp_BitsPerChar        : Byte;
  24.   sp_StopBits           : Byte;
  25.  end;
  26.  
  27. CONST
  28.  PARITY_NONE    = 0;
  29.  PARITY_EVEN    = 1;
  30.  PARITY_ODD     = 2;
  31.  PARITY_MARK    = 3;
  32.  PARITY_SPACE   = 4;
  33.  
  34.  HSHAKE_XON     = 0;
  35.  HSHAKE_RTS     = 1;
  36.  HSHAKE_NONE    = 2;
  37.  
  38. {$endif}
  39.