1: /*
   2:  * Copyright (c) 1982, 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)dmreg.h	7.1 (Berkeley) 6/5/86
   7:  */
   8: 
   9: /*
  10:  * DM-11 device register definitions.
  11:  */
  12: struct dmdevice {
  13:     short   dmcsr;      /* control status register */
  14:     short   dmlstat;    /* line status register */
  15:     short   dmpad1[2];
  16: };
  17: 
  18: /* bits in dm csr */
  19: #define DM_RF       0100000     /* ring flag */
  20: #define DM_CF       0040000     /* carrier flag */
  21: #define DM_CTS      0020000     /* clear to send */
  22: #define DM_SRF      0010000     /* secondary receive flag */
  23: #define DM_CS       0004000     /* clear scan */
  24: #define DM_CM       0002000     /* clear multiplexor */
  25: #define DM_MM       0001000     /* maintenance mode */
  26: #define DM_STP      0000400     /* step */
  27: #define DM_DONE     0000200     /* scanner is done */
  28: #define DM_IE       0000100     /* interrupt enable */
  29: #define DM_SE       0000040     /* scan enable */
  30: #define DM_BUSY     0000020     /* scan busy */
  31: 
  32: /* bits in dm lsr */
  33: #define DML_RNG     0000200     /* ring */
  34: #define DML_CAR     0000100     /* carrier detect */
  35: #define DML_CTS     0000040     /* clear to send */
  36: #define DML_SR      0000020     /* secondary receive */
  37: #define DML_ST      0000010     /* secondary transmit */
  38: #define DML_RTS     0000004     /* request to send */
  39: #define DML_DTR     0000002     /* data terminal ready */
  40: #define DML_LE      0000001     /* line enable */
  41: 
  42: #define DML_ON      (DML_DTR|DML_RTS|DML_LE)
  43: #define DML_OFF     (DML_LE)

Defined struct's

dmdevice defined in line 12; used 16 times

Defined macros

DML_CAR defined in line 34; used 2 times
DML_CTS defined in line 35; never used
DML_DTR defined in line 39; used 5 times
DML_LE defined in line 40; used 3 times
DML_OFF defined in line 43; used 2 times
DML_ON defined in line 42; used 2 times
DML_RNG defined in line 33; never used
DML_RTS defined in line 38; used 5 times
DML_SR defined in line 36; never used
DML_ST defined in line 37; used 2 times
DM_BUSY defined in line 30; used 2 times
DM_CF defined in line 20; used 1 times
DM_CM defined in line 24; never used
DM_CS defined in line 23; never used
DM_CTS defined in line 21; never used
DM_DONE defined in line 27; used 2 times
DM_IE defined in line 28; used 4 times
DM_MM defined in line 25; never used
DM_RF defined in line 19; never used
DM_SE defined in line 29; used 5 times
DM_SRF defined in line 22; never used
DM_STP defined in line 26; never used

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 958
Valid CSS Valid XHTML 1.0 Strict