source: rtems/c/src/lib/libcpu/sh/sh7045/include/sci_termios.h @ a5fb3d1b

4.104.11
Last change on this file since a5fb3d1b was a5fb3d1b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 15, 2010 at 8:39:26 AM

Reflect termios API changes.

  • Property mode set to 100644
File size: 1008 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2001.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 * $Id$
10 *
11 */
12
13#ifndef _SH_SCI_TERMIOS_H_
14#define _SH_SCI_TERMIOS_H_
15
16#ifdef __cplusplus
17extern "C"{
18#endif
19
20
21int sh_sci_set_attributes(
22  int minor,
23  const struct termios *t
24);
25
26void sh_sci_initialize_interrupts(int minor);
27
28void sh_sci_init(int minor);
29
30ssize_t sh_sci_write_support_int(
31    int         minor,
32    const char *buf,
33    size_t      len
34);
35
36ssize_t sh_sci_write_support_polled(
37  int         minor,
38  const char *buf,
39  size_t      len
40);
41
42void sh_sci_write_polled(
43    int minor,
44    char c
45);
46
47int sh_sci_inbyte_nonblocking_polled(int minor);
48
49
50int sh_sci_first_open(
51  int major,
52  int minor,
53  void *arg
54);
55
56int sh_sci_last_close(
57  int major,
58  int minor,
59  void *arg
60);
61
62#ifdef __cplusplus
63}
64#endif
65
66
67#endif /* _SH_SCI_TERMIOS_H_ */
Note: See TracBrowser for help on using the repository browser.