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

Last change on this file since c8f3e82 was 650a5397, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 12, 2001 at 9:01:15 PM

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

  • clock/ckinit.c, delay/delay.c, include/iosh7032.h, include/ispsh7032.h, include/sci.h, include/sh7_pfc.h, include/sh7_sci.h, sci/sci.c, score/cpu_asm.c, score/ispsh7032.c, timer/timer.c: Fixed typo.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*
2 *  Driver for the sh1 703x 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
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/*
32 * Devices are set to 9600 bps, 8 databits, 1 stopbit, no
33 * parity and asynchronous mode by default.
34 *
35 * NOTE:
36 *       The onboard serial devices of the SH do not support hardware
37 *       handshake.
38 */ 
39
40#define DEVSCI_DRIVER_TABLE_ENTRY \
41  { sh_sci_initialize, sh_sci_open, sh_sci_close, sh_sci_read, \
42      sh_sci_write, sh_sci_control }
43
44extern rtems_device_driver sh_sci_initialize(
45  rtems_device_major_number,
46  rtems_device_minor_number,
47  void *
48);
49
50extern rtems_device_driver sh_sci_open(
51  rtems_device_major_number,
52  rtems_device_minor_number,
53  void *
54);
55
56extern rtems_device_driver sh_sci_close(
57  rtems_device_major_number,
58  rtems_device_minor_number,
59  void *
60);
61
62extern rtems_device_driver sh_sci_read(
63  rtems_device_major_number,
64  rtems_device_minor_number,
65  void *
66);
67
68extern rtems_device_driver sh_sci_write(
69  rtems_device_major_number,
70  rtems_device_minor_number,
71  void *
72);
73
74extern rtems_device_driver sh_sci_control(
75  rtems_device_major_number,
76  rtems_device_minor_number,
77  void *
78);
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif
Note: See TracBrowser for help on using the repository browser.