home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / communic / rsutil / baudtab.h next >
Encoding:
C/C++ Source or Header  |  1990-09-12  |  825 b   |  32 lines

  1. /*=================== Deklaration der Baudraten-Tabelle ================*/
  2.  
  3.  #ifndef __BD_DEFINED__
  4.  
  5.  #define BDMAX 19
  6.  
  7.  long bd[BDMAX][3] = {
  8.      {50l    , 0x09    , 0x00}, /* Baudrate, Divisor High, Divisor Low */
  9.      {75l    , 0x06    , 0x00},
  10.      {110l    , 0x04    , 0x17},
  11.      {134l    , 0x03    , 0x59},    /* Korrekter : 134.5 Baud    */
  12.      {150l    , 0x03    , 0x00},
  13.      {300l    , 0x01    , 0x80},
  14.      {600l    , 0x00    , 0xC0},
  15.      {1200l , 0x00    , 0x60},
  16.      {1800l , 0x00    , 0x40},
  17.      {2000l , 0x00    , 0x3A},
  18.      {2400l , 0x00    , 0x30},
  19.      {3600l , 0x00    , 0x20},
  20.      {4800l , 0x00    , 0x18},
  21.      {7200l , 0x00    , 0x10},
  22.      {9600l , 0x00    , 0x0C},
  23.      {19200l, 0x00    , 0x06},
  24.      {38400l, 0x00    , 0x03},
  25.      {57600l, 0x00    , 0x02},
  26.      {115200l,0x00    , 0x01}   };
  27.  
  28.  #define __BD_DEFINED__
  29.  #endif
  30.  
  31. /*=======================================================================*/
  32.