home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / HF-SCL1.DMS / in.adf / inclib.lha / Inc / prefs / serial.inc < prev    next >
Encoding:
Text File  |  1996-09-01  |  495 b   |  27 lines

  1. include "inc/exec/types.inc";
  2. include "inc/libraries/iffparse.inc";
  3.  
  4. struct SerialPrefs is
  5.   sp_Reserved[3]:long;
  6.   sp_Unit0Map:ulong;
  7.   sp_BaudRate:ulong;
  8.   sp_InputBuffer:ulong;
  9.   sp_OutputBuffer:ulong;
  10.   sp_InputHandshake:ubyte;
  11.   sp_OutputHandshake:ubyte;
  12.   sp_Parity:ubyte;
  13.   sp_BitsPerChar:ubyte;
  14.   sp_StopBits:ubyte;
  15. ;
  16.  
  17. def PARITY_NONE = 0;
  18. def PARITY_EVEN = 1;
  19. def PARITY_ODD = 2;
  20. def PARITY_MARK = 3;
  21. def PARITY_SPACE = 4;
  22.  
  23. def HSHAKE_XON = 0;
  24. def HSHAKE_RTS = 1;
  25. def HSHAKE_NONE = 2;
  26.  
  27.