1: struct  djdevice    {
   2:     short   djcsr;
   3:     short   djrbuf;
   4:     short   djtcr;
   5: #define djbcr   djtcr
   6:     struct  {
   7:         char    djtbufl;
   8:         char    djtbufh;
   9:     } dj_un;
  10: };
  11: 
  12: /* bits in djcsr */
  13: #define DJ_TRDY     0100000     /* transmitter ready */
  14: #define DJ_TIE      0040000     /* transmitter interrupt enable */
  15: #define DJ_FIFO     0020000     /* FIFO full */
  16: #define DJ_BSIE     0010000     /* FIFO buffer status interrupt enable*/
  17: /* bit 11 is unused */
  18: #define DJ_BRS      0002000     /* break register select */
  19: /* bit 9 is unused */
  20: #define DJ_MTSE     0000400     /* master transmit scan enable */
  21: #define DJ_RDONE    0000200     /* receiver done */
  22: #define DJ_RIE      0000100     /* receiver interrupt enable */
  23: /* bit 5 is unused */
  24: #define DJ_BCLR     0000020     /* busy clear */
  25: #define DJ_MCLR     0000010     /* MOS clear */
  26: #define DJ_MM       0000004     /* maintenance mode */
  27: #define DJ_HDX      0000002     /* half duplex select */
  28: #define DJ_RE       0000001     /* receiver enable */
  29: #define DJ_BITS     \
  30: "\10\20TRDY\17TIE\16FIFO\15BSIE\13BRS\11MTSE\10RDONE\
  31: \7RIE\5BCLR\4MCLR\3MM\2HDX\1RE"
  32: 
  33: /* bits in djrbuf */
  34: #define DJRBUF_DPR  0100000     /* data present */
  35: #define DJRBUF_OVERRUN  0040000     /* overrun */
  36: #define DJRBUF_FE   0020000     /* framing error */
  37: #define DJRBUF_RDPE 0010000     /* received data parity error */
  38: /* bits 11-8 are the line number */
  39: /* bits 7-0 are the received data */
  40: #define DJRBUF_BITS "\10\20DPR\17OVERRUN\16FE\15RDPE"

Defined struct's

djdevice defined in line 1; never used

Defined macros

DJRBUF_BITS defined in line 40; never used
DJRBUF_DPR defined in line 34; never used
DJRBUF_FE defined in line 36; never used
DJRBUF_OVERRUN defined in line 35; never used
DJRBUF_RDPE defined in line 37; never used
DJ_BCLR defined in line 24; never used
DJ_BITS defined in line 29; never used
DJ_BRS defined in line 18; never used
DJ_BSIE defined in line 16; never used
DJ_FIFO defined in line 15; never used
DJ_HDX defined in line 27; never used
DJ_MCLR defined in line 25; never used
DJ_MM defined in line 26; never used
DJ_MTSE defined in line 20; never used
DJ_RDONE defined in line 21; never used
DJ_RE defined in line 28; never used
DJ_RIE defined in line 22; never used
DJ_TIE defined in line 14; never used
DJ_TRDY defined in line 13; never used
djbcr defined in line 5; never used
Last modified: 1982-10-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 520
Valid CSS Valid XHTML 1.0 Strict