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

4.104.115
Last change on this file since a5fb3d1b was a5fb3d1b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/15/10 at 08:39:26

Reflect termios API changes.

  • Property mode set to 100644
File size: 1008 bytes
RevLine 
[3a5fec8]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
[85a18cc]7 *  http://www.rtems.com/license/LICENSE.
[3a5fec8]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
[3906b3ea]21int sh_sci_set_attributes(
[3a5fec8]22  int minor,
23  const struct termios *t
24);
25
26void sh_sci_initialize_interrupts(int minor);
27
28void sh_sci_init(int minor);
[3906b3ea]29
[a5fb3d1b]30ssize_t sh_sci_write_support_int(
[3906b3ea]31    int         minor,
32    const char *buf,
[a5fb3d1b]33    size_t      len
[3a5fec8]34);
[3906b3ea]35
[a5fb3d1b]36ssize_t sh_sci_write_support_polled(
[3a5fec8]37  int         minor,
38  const char *buf,
[a5fb3d1b]39  size_t      len
[3a5fec8]40);
[3906b3ea]41
[3a5fec8]42void sh_sci_write_polled(
43    int minor,
44    char c
45);
46
47int sh_sci_inbyte_nonblocking_polled(int minor);
[3906b3ea]48
[3a5fec8]49
50int sh_sci_first_open(
51  int major,
52  int minor,
[3906b3ea]53  void *arg
[3a5fec8]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.