source: rtems/c/src/lib/libcpu/sh/sh7045/include/sci.h @ c8f3e82

Last change on this file since c8f3e82 was fc0ac39c, checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/01 at 21:00:52

2001-10-12 Joel Sherrill <joel@…>

  • clock/ckinit.c, include/iosh7045.h, include/ispsh7045.h, include/sci.h, include/sh7_pfc.h, include/sh7_sci.h, sci/sci.c, score/cpu_asm.c, score/ispsh7045.c, timer/timer.c: Fixed typo.
  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[4a238002]1/*
2 *  Driver for the sh2 704x on-chip serial devices (sci)
3 *
4 *  Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
5 *           Bernd Becker (becker@faw.uni-ulm.de)
6 *
7 *  COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
8 *
9 *  This program is distributed in the hope that it will be useful,
10 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 *
13 *
14 *  COPYRIGHT (c) 1998.
15 *  On-Line Applications Research Corporation (OAR).
16 *
17 *  The license and distribution terms for this file may be
18 *  found in the file LICENSE in this distribution or at
19 *  http://www.OARcorp.com/rtems/license.html.
20 *
21 *  $Id$
22 */
23
24#ifndef _sh_sci_h
25#define _sh_sci_h
26
[7ae5125]27#include <rtems/libio.h>
28
[4a238002]29#ifdef __cplusplus
[1c98d28]30extern "C" {
[4a238002]31#endif
32
33/*
34 * Devices are set to 9600 bps, 8 databits, 1 stopbit, no
35 * parity and asynchronous mode by default.
36 *
37 * NOTE:
38 *       The onboard serial devices of the SH do not support hardware
39 *       handshake.
40 */
41
42#define DEVSCI_DRIVER_TABLE_ENTRY \
43  { sh_sci_initialize, sh_sci_open, sh_sci_close, sh_sci_read, \
44      sh_sci_write, sh_sci_control }
45
46extern rtems_device_driver sh_sci_initialize(
47  rtems_device_major_number,
48  rtems_device_minor_number,
49  void *
50);
51
52extern rtems_device_driver sh_sci_open(
53  rtems_device_major_number,
54  rtems_device_minor_number,
55  void *
56);
57
58extern rtems_device_driver sh_sci_close(
59  rtems_device_major_number,
60  rtems_device_minor_number,
61  void *
62);
63
64extern rtems_device_driver sh_sci_read(
65  rtems_device_major_number,
66  rtems_device_minor_number,
67  void *
68);
69
70extern rtems_device_driver sh_sci_write(
71  rtems_device_major_number,
72  rtems_device_minor_number,
73  void *
74);
75
76extern rtems_device_driver sh_sci_control(
77  rtems_device_major_number,
78  rtems_device_minor_number,
79  void *
80);
[7ae5125]81   
82extern const rtems_termios_callbacks * sh_sci_get_termios_handlers(
83  rtems_boolean poll
84);
85   
[4a238002]86
87#ifdef __cplusplus
88}
89#endif
90
91#endif
Note: See TracBrowser for help on using the repository browser.