4.104.114.84.95
Last change
on this file since a5d0c7c was
a5d0c7c,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/23/98 at 15:54:33
|
Added concept of "mate" -- the other port on the same DUART. This is
needed to properly handle the interrupt mask register since it is
shared.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[cd58d82] | 1 | /* |
---|
| 2 | * |
---|
| 3 | * COPYRIGHT (c) 1989-1998. |
---|
| 4 | * On-Line Applications Research Corporation (OAR). |
---|
| 5 | * Copyright assigned to U.S. Government, 1994. |
---|
| 6 | * |
---|
| 7 | * The license and distribution terms for this file may be |
---|
| 8 | * found in the file LICENSE in this distribution or at |
---|
| 9 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 10 | * |
---|
| 11 | * $Id$ |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | #ifndef _MC68681_H_ |
---|
| 15 | #define _MC68681_H_ |
---|
| 16 | |
---|
| 17 | #ifdef __cplusplus |
---|
| 18 | extern "C" { |
---|
| 19 | #endif |
---|
| 20 | |
---|
[ab2dbd7] | 21 | /* |
---|
| 22 | * These are just used in the interface between this driver and |
---|
[7deeb16] | 23 | * the read/write register routines when accessing the first |
---|
| 24 | * control port. |
---|
[ab2dbd7] | 25 | */ |
---|
| 26 | |
---|
[7deeb16] | 27 | #define MC68681_STATUS 1 |
---|
| 28 | #define MC68681_RX_BUFFER 2 |
---|
| 29 | |
---|
[790d421] | 30 | #define MC68681_MODE 0 |
---|
[7deeb16] | 31 | #define MC68681_CLOCK_SELECT 1 |
---|
| 32 | #define MC68681_COMMAND 2 |
---|
| 33 | #define MC68681_TX_BUFFER 3 |
---|
[ab2dbd7] | 34 | |
---|
[790d421] | 35 | /* |
---|
| 36 | * Data Port bit map configuration |
---|
| 37 | */ |
---|
| 38 | |
---|
| 39 | #define MC68681_DATA_BAUD_RATE_SET_1 0 |
---|
[a5d0c7c] | 40 | #define MC68681_DATA_BAUD_RATE_SET_2 1 |
---|
[790d421] | 41 | |
---|
[cd58d82] | 42 | /* |
---|
| 43 | * Driver function table |
---|
| 44 | */ |
---|
[ab2dbd7] | 45 | |
---|
[cd58d82] | 46 | extern console_fns mc68681_fns; |
---|
| 47 | extern console_fns mc68681_fns_polled; |
---|
| 48 | |
---|
| 49 | /* |
---|
| 50 | * Flow control function tables |
---|
| 51 | */ |
---|
[ab2dbd7] | 52 | |
---|
[cd58d82] | 53 | extern console_flow mc68681_flow_RTSCTS; |
---|
| 54 | extern console_flow mc68681_flow_DTRCTS; |
---|
| 55 | |
---|
| 56 | #ifdef __cplusplus |
---|
| 57 | } |
---|
| 58 | #endif |
---|
| 59 | |
---|
| 60 | #endif /* _MC68681_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.