OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libcpu/] [sh/] [sh7032/] [include/] [sci.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
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
 *  sci.h,v 1.4 2001/10/12 21:01:15 joel Exp
22
 */
23
 
24
#ifndef _sh_sci_h
25
#define _sh_sci_h
26
 
27
#ifdef __cplusplus
28
extern "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
 
44
extern rtems_device_driver sh_sci_initialize(
45
  rtems_device_major_number,
46
  rtems_device_minor_number,
47
  void *
48
);
49
 
50
extern rtems_device_driver sh_sci_open(
51
  rtems_device_major_number,
52
  rtems_device_minor_number,
53
  void *
54
);
55
 
56
extern rtems_device_driver sh_sci_close(
57
  rtems_device_major_number,
58
  rtems_device_minor_number,
59
  void *
60
);
61
 
62
extern rtems_device_driver sh_sci_read(
63
  rtems_device_major_number,
64
  rtems_device_minor_number,
65
  void *
66
);
67
 
68
extern rtems_device_driver sh_sci_write(
69
  rtems_device_major_number,
70
  rtems_device_minor_number,
71
  void *
72
);
73
 
74
extern 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

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.