1: struct  dzdevice
   2: {
   3:     short   dzcsr;      /* control-status register */
   4:     short   dzrbuf;     /* receiver buffer register (read only) */
   5: #define dzlpr   dzrbuf      /* line parameter register (write only) */
   6:     char    dztcr;      /* transmitter control register */
   7:     char    dzdtr;      /* data terminal ready register */
   8:     char    dztbuf;     /* transmitter buffer (write only) */
   9: #define dzring  dztbuf;     /* ring register (read only) */
  10:     char    dzbrk;      /* break register (write only) */
  11: #define dzcar   dzbrk       /* carrier register (read only) */
  12: };
  13: 
  14: /* Bits in dzcsr */
  15: #define DZ_MM   0000010     /* Maintenance mode */
  16: #define DZ_CLR  0000020     /* Clear */
  17: #define DZ_MSE  0000040     /* Master Scan Enable */
  18: #define DZ_RIE  0000100     /* Receiver Interrupt Enable */
  19: #define DZ_RDO  0000200     /* Receiver Done (read only) */
  20: #define DZ_SAE  0010000     /* Silo Alarm Enable (read/write) */
  21: #define DZ_SA   0020000     /* Silo Alarm Enable (read only) */
  22: #define DZ_TIE  0040000     /* Transmit Interrupt Enable */
  23: #define DZ_TRDY 0100000     /* Transmitter Ready (read only) */
  24: #ifdef  DZ_SILO
  25: #define DZ_IEN  (DZ_MSE|DZ_RIE|DZ_TIE|DZ_SAE)
  26: #else
  27: #define DZ_IEN  (DZ_MSE|DZ_RIE|DZ_TIE)
  28: #endif
  29: 
  30: /* Bits in dzlpr */
  31: #define BITS7   020
  32: #define BITS8   030
  33: #define TWOSB   040
  34: #define PENABLE 0100
  35: #define OPAR    0200
  36: 
  37: /* Bits in dzrbuf */
  38: #define DZ_PE   010000      /* parity error */
  39: #define DZ_FE   020000      /* framing error */
  40: #define DZ_DO   040000      /* overrun */
  41: 
  42: /* Flags for modem control */
  43: #define DZ_ON   1
  44: #define DZ_OFF  0

Defined struct's

dzdevice defined in line 1; used 22 times

Defined macros

BITS7 defined in line 31; used 3 times
BITS8 defined in line 32; used 2 times
DZ_CLR defined in line 16; used 1 times
DZ_DO defined in line 40; used 1 times
DZ_FE defined in line 39; used 2 times
DZ_IEN defined in line 27; used 1 times
DZ_MM defined in line 15; never used
DZ_MSE defined in line 17; used 3 times
DZ_OFF defined in line 44; used 4 times
DZ_ON defined in line 43; used 2 times
DZ_PE defined in line 38; used 2 times
DZ_RDO defined in line 19; used 1 times
DZ_RIE defined in line 18; used 2 times
DZ_SA defined in line 21; never used
DZ_SAE defined in line 20; used 1 times
  • in line 25
DZ_TIE defined in line 22; used 3 times
DZ_TRDY defined in line 23; never used
OPAR defined in line 35; used 2 times
PENABLE defined in line 34; used 3 times
TWOSB defined in line 33; used 2 times
dzcar defined in line 11; used 1 times
dzlpr defined in line 5; used 1 times
dzring defined in line 9; never used

Usage of this include

Last modified: 1982-10-23
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 999
Valid CSS Valid XHTML 1.0 Strict