home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / network / src_1218.zip / 8536.H < prev    next >
C/C++ Source or Header  |  1990-09-02  |  1KB  |  33 lines

  1. #ifndef    _8536_H
  2. #define    _8536_H
  3.  
  4. /* 8536 register definitions */
  5.  
  6. #define CIO_MICR    0x00    /* Master interrupt control register */
  7. #define CIO_MCCR    0x01    /* Master configuration control register */
  8. #define CIO_CTMS1    0x1c    /* Counter/timer mode specification #1 */
  9. #define CIO_CTMS2    0x1d    /* Counter/timer mode specification #2 */
  10. #define CIO_CTMS3    0x1e    /* Counter/timer mode specification #3 */
  11. #define CIO_IVR     0x04    /* Interrupt vector register */
  12.  
  13. #define CIO_CSR1    0x0a    /* Command and status register CTC #1 */
  14. #define CIO_CSR2    0x0b    /* Command and status register CTC #2 */
  15. #define CIO_CSR3    0x0c    /* Command and status register CTC #3 */
  16.  
  17. #define CIO_CT1MSB    0x16    /* CTC #1 Timer constant - MSB */
  18. #define CIO_CT1LSB    0x17    /* CTC #1 Timer constant - LSB */
  19. #define CIO_CT2MSB    0x18    /* CTC #2 Timer constant - MSB */
  20. #define CIO_CT2LSB    0x19    /* CTC #2 Timer constant - LSB */
  21. #define CIO_CT3MSB    0x1a    /* CTC #3 Timer constant - MSB */
  22. #define CIO_CT3LSB    0x1b    /* CTC #3 Timer constant - LSB */
  23. #define CIO_PDCA    0x23    /* Port A data direction control */
  24. #define CIO_PDCB    0x2b    /* Port B data direction control */
  25.  
  26. #define CIO_GCB     0x04    /* CTC Gate command bit */
  27. #define CIO_TCB     0x02    /* CTC Trigger command bit */
  28. #define CIO_IE        0xc0    /* CTC Interrupt enable (set) */
  29. #define CIO_CIP     0x20    /* CTC Clear interrupt pending */
  30. #define CIO_IP        0x20    /* CTC Interrupt pending */
  31.  
  32. #endif    /* _8536_H */
  33.