Go to the source code of this file.
Classes | |
struct | dc7085regs |
Macros | |
#define | dc_rbuf dc_rbuf_lpr |
#define | dc_lpr dc_rbuf_lpr |
#define | dc_msr dc_msr_tdr |
#define | dc_tdr dc_msr_tdr |
#define | CSR_TRDY 0x8000 |
#define | CSR_TIE 0x4000 |
#define | CSR_TX_LINE_NUM 0x0300 |
#define | CSR_RDONE 0x0080 |
#define | CSR_RIE 0x0040 |
#define | CSR_MSE 0x0020 |
#define | CSR_CLR 0x0010 |
#define | CSR_MAINT 0x0008 |
#define | RBUF_DVAL 0x8000 |
#define | RBUF_OERR 0x4000 |
#define | RBUF_FERR 0x2000 |
#define | RBUF_PERR 0x1000 |
#define | RBUF_LINE_NUM 0x0300 |
#define | RBUF_LINE_NUM_SHIFT 8 |
#define | RBUF_CHAR 0x00FF |
#define | TCR_DTR2 0x400 |
#define | TCR_EN3 0x008 |
#define | TCR_EN2 0x004 |
#define | TCR_EN1 0x002 |
#define | TCR_EN0 0x001 |
#define | TCR_RTS2 0x800 |
#define | TCR_RTS3 0x200 |
#define | TCR_DTR3 0x100 |
#define | LPR_RXENAB 0x1000 |
#define | LPR_B50 0x0000 |
#define | LPR_B75 0x0100 |
#define | LPR_B110 0x0200 |
#define | LPR_B134 0x0300 |
#define | LPR_B150 0x0400 |
#define | LPR_B300 0x0500 |
#define | LPR_B600 0x0600 |
#define | LPR_B1200 0x0700 |
#define | LPR_B1800 0x0800 |
#define | LPR_B2000 0x0900 |
#define | LPR_B2400 0x0A00 |
#define | LPR_B3600 0x0B00 |
#define | LPR_B4800 0x0C00 |
#define | LPR_B7200 0x0D00 |
#define | LPR_B9600 0x0E00 |
#define | LPR_B19200 0x0F00 |
#define | LPR_B38400 0x0F00 |
#define | LPR_OPAR 0x0080 |
#define | LPR_PARENB 0x0040 |
#define | LPR_2_STOP 0x0020 |
#define | LPR_8_BIT_CHAR 0x0018 |
#define | LPR_7_BIT_CHAR 0x0010 |
#define | LPR_6_BIT_CHAR 0x0008 |
#define | LPR_5_BIT_CHAR 0x0000 |
#define | MSR_DSR2 0x0200 |
#define | MSR_RI2 0x0800 |
#define | MSR_CD2 0x0400 |
#define | MSR_CTS2 0x0100 |
#define | MSR_RI3 0x0008 |
#define | MSR_CD3 0x0004 |
#define | MSR_DSR3 0x0002 |
#define | MSR_CTS3 0x0001 |
#define | DCKBD_PORT 0 |
#define | DCMOUSE_PORT 1 |
#define | DCCOMM_PORT 2 |
#define | DCPRINTER_PORT 3 |
#define | DML_DSR 0000400 /* data set ready, not a real DM bit */ |
#define | DML_RNG 0000200 /* ring */ |
#define | DML_CAR 0000100 /* carrier detect */ |
#define | DML_CTS 0000040 /* clear to send */ |
#define | DML_SR 0000020 /* secondary receive */ |
#define | DML_ST 0000010 /* secondary transmit */ |
#define | DML_RTS 0000004 /* request to send */ |
#define | DML_DTR 0000002 /* data terminal ready */ |
#define | DML_LE 0000001 /* line enable */ |
Typedefs | |
typedef volatile struct dc7085regs | dcregs |
#define CSR_CLR 0x0010 |
Definition at line 84 of file dc7085.h.
Referenced by DEVICE_ACCESS().
#define CSR_MAINT 0x0008 |
Definition at line 85 of file dc7085.h.
Referenced by DEVICE_ACCESS().
#define CSR_MSE 0x0020 |
Definition at line 83 of file dc7085.h.
Referenced by dev_dc7085_init(), DEVICE_ACCESS(), and DEVICE_TICK().
#define CSR_RDONE 0x0080 |
Definition at line 81 of file dc7085.h.
Referenced by DEVICE_ACCESS(), and DEVICE_TICK().
#define CSR_RIE 0x0040 |
Definition at line 82 of file dc7085.h.
Referenced by DEVICE_ACCESS(), and DEVICE_TICK().
#define CSR_TIE 0x4000 |
Definition at line 79 of file dc7085.h.
Referenced by DEVICE_ACCESS(), and DEVICE_TICK().
#define CSR_TRDY 0x8000 |
Definition at line 78 of file dc7085.h.
Referenced by dev_dc7085_init(), DEVICE_ACCESS(), and DEVICE_TICK().
#define CSR_TX_LINE_NUM 0x0300 |
Definition at line 80 of file dc7085.h.
Referenced by DEVICE_TICK().
#define DCCOMM_PORT 2 |
Definition at line 158 of file dc7085.h.
Referenced by lk201_tick(), and lk201_tx_data().
#define DCKBD_PORT 0 |
Definition at line 156 of file dc7085.h.
Referenced by lk201_init(), lk201_tick(), and lk201_tx_data().
#define DCMOUSE_PORT 1 |
Definition at line 157 of file dc7085.h.
Referenced by add_to_rx_queue(), and lk201_tx_data().
#define DCPRINTER_PORT 3 |
Definition at line 159 of file dc7085.h.
Referenced by lk201_tick(), and lk201_tx_data().
#define DML_DSR 0000400 /* data set ready, not a real DM bit */ |
#define MSR_CD2 0x0400 |
Definition at line 146 of file dc7085.h.
Referenced by DEVICE_ACCESS().
#define MSR_CD3 0x0004 |
Definition at line 149 of file dc7085.h.
Referenced by DEVICE_ACCESS().
#define MSR_DSR2 0x0200 |
Definition at line 143 of file dc7085.h.
Referenced by DEVICE_ACCESS().
#define MSR_DSR3 0x0002 |
Definition at line 150 of file dc7085.h.
Referenced by DEVICE_ACCESS().
#define RBUF_DVAL 0x8000 |
Definition at line 90 of file dc7085.h.
Referenced by DEVICE_ACCESS().
#define RBUF_LINE_NUM_SHIFT 8 |
Definition at line 95 of file dc7085.h.
Referenced by DEVICE_ACCESS().
typedef volatile struct dc7085regs dcregs |