1: /*
   2:  *  KL11/DL11 registers and bits
   3:  */
   4: struct  dldevice
   5: {
   6:     short   dlrcsr;
   7:     short   dlrbuf;
   8:     short   dlxcsr;
   9:     short   dlxbuf;
  10: };
  11: 
  12: /* bits in dlrcsr */
  13: #define DL_DSC      0100000     /* data status change (read only) */
  14: #define DL_RNG      0040000     /* ring indicator (read only) */
  15: #define DL_CTS      0020000     /* clear to send (read only) */
  16: #define DL_CD       0010000     /* carrier detector (read only) */
  17: #define DL_RA       0004000     /* receiver active (read only) */
  18: #define DL_SRD      0002000     /* secondary received data (read only) */
  19: /* bits 9-8 are unused */
  20: #define DL_RDONE    0000200     /* receiver done (read only) */
  21: #define DL_RIE      0000100     /* receiver interrupt enable */
  22: #define DL_DIE      0000040     /* dataset interrupt enable */
  23: /* bit 4 is unused */
  24: #define DL_STD      0000010     /* secondary transmitted data */
  25: #define DL_RTS      0000004     /* request to send */
  26: #define DL_DTR      0000002     /* data terminal ready */
  27: #define DL_RE       0000001     /* reader enable (write only) */
  28: #define DL_BITS     \
  29: "\10\20DSC\17RNG\16CTS\15CD\14RA\13SRD\10RDONE\7RIE\6DIE\4STD\3RTS\2DTR\1RE"
  30: 
  31: /* bits in dlrbuf */
  32: #define DLRBUF_ERR  0100000     /* error (read only) */
  33: #define DLRBUF_OVR  0040000     /* overrun (read only) */
  34: #define DLRBUF_FRE  0020000     /* framing error (read only) */
  35: #define DLRBUF_RDPE 0010000     /* receive data parity error (read only) */
  36: #define DLRBUF_BITS \
  37: "\10\20ERR\17OVR\16FRE\15RDPE"
  38: 
  39: /* bits in dlxcsr */
  40: /* bits 15-8 are unused */
  41: #define DLXCSR_TRDY 0000200     /* transmitter ready (read only) */
  42: #define DLXCSR_TIE  0000100     /* transmitter interrupt enable */
  43: /* bits 5-3 are unused */
  44: #define DLXCSR_MM   0000004     /* maintenance */
  45: /* bit 1 is unused */
  46: #define DLXCSR_BRK  0000001     /* break */
  47: #define DLXCSR_BITS \
  48: "\10\10TRDY\7TIE\3MM\1BRK"
  49: 
  50: #define DLDELAY     0000004     /* Extra delay for DLs */

Defined struct's

dldevice defined in line 4; used 18 times

Defined macros

DLDELAY defined in line 50; used 1 times
DLRBUF_BITS defined in line 36; never used
DLRBUF_ERR defined in line 32; never used
DLRBUF_FRE defined in line 34; never used
DLRBUF_OVR defined in line 33; never used
DLRBUF_RDPE defined in line 35; never used
DLXCSR_BITS defined in line 47; never used
DLXCSR_BRK defined in line 46; never used
DLXCSR_MM defined in line 44; never used
DLXCSR_TIE defined in line 42; used 2 times
DLXCSR_TRDY defined in line 41; used 2 times
DL_BITS defined in line 28; never used
DL_CD defined in line 16; never used
DL_CTS defined in line 15; never used
DL_DIE defined in line 22; never used
DL_DSC defined in line 13; never used
DL_DTR defined in line 26; used 1 times
DL_RA defined in line 17; never used
DL_RDONE defined in line 20; never used
DL_RE defined in line 27; used 2 times
DL_RIE defined in line 21; used 1 times
DL_RNG defined in line 14; never used
DL_RTS defined in line 25; never used
DL_SRD defined in line 18; never used
DL_STD defined in line 24; never used

Usage of this include

Last modified: 1983-03-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 922
Valid CSS Valid XHTML 1.0 Strict