source: rtems/c/src/libchip/serial/mc68681_p.h @ aa0da6b

4.104.114.84.95
Last change on this file since aa0da6b was cd58d82, checked in by Joel Sherrill <joel.sherrill@…>, on 06/22/98 at 09:28:03

Initial version of these files.

  • Property mode set to 100644
File size: 1.4 KB
Line 
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_P_H_
15#define _MC68681_P_H_
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20typedef struct _mc68681_context
21{
22        unsigned8       ucModemCtrl;
23} mc68681_context;
24
25/*
26 * Driver functions
27 */
28static boolean mc68681_probe(int minor);
29
30static void mc68681_init(int minor);
31
32static int mc68681_open(
33        int     major,
34        int     minor,
35        void    * arg
36);
37
38static int mc68681_close(
39        int     major,
40        int     minor,
41        void    * arg
42);
43
44static void mc68681_write_polled(
45        int   minor,
46        char  cChar
47);
48
49static int mc68681_assert_RTS(
50        int minor
51);
52
53static int mc68681_negate_RTS(
54        int minor
55);
56
57static int mc68681_assert_DTR(
58        int minor
59);
60
61static int mc68681_negate_DTR(
62        int minor
63);
64
65static void mc68681_initialize_interrupts(int minor);
66
67static int mc68681_flush(int major, int minor, void *arg);
68
69static int mc68681_write_support_int(
70        int   minor,
71        const char *buf,
72        int   len
73);
74
75static int mc68681_write_support_polled(
76        int   minor,
77        const char *buf,
78        int   len
79        );
80
81static int mc68681_inbyte_nonblocking_polled(
82        int minor
83);
84
85#ifdef __cplusplus
86}
87#endif
88
89#endif /* _MC68681_P_H_ */
Note: See TracBrowser for help on using the repository browser.