RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sci_termios.h
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.org/license/LICENSE.
8 *
9 */
10
11#ifndef _SH_SCI_TERMIOS_H_
12#define _SH_SCI_TERMIOS_H_
13
14#ifdef __cplusplus
15extern "C"{
16#endif
17
18
19int sh_sci_set_attributes(
20 int minor,
21 const struct termios *t
22);
23
24void sh_sci_initialize_interrupts(int minor);
25
26void sh_sci_init(int minor);
27
28ssize_t sh_sci_write_support_int(
29 int minor,
30 const char *buf,
31 size_t len
32);
33
34ssize_t sh_sci_write_support_polled(
35 int minor,
36 const char *buf,
37 size_t len
38);
39
40void sh_sci_write_polled(
41 int minor,
42 char c
43);
44
45int sh_sci_inbyte_nonblocking_polled(int minor);
46
47
48int sh_sci_first_open(
49 int major,
50 int minor,
51 void *arg
52);
53
54int sh_sci_last_close(
55 int major,
56 int minor,
57 void *arg
58);
59
60#ifdef __cplusplus
61}
62#endif
63
64
65#endif /* _SH_SCI_TERMIOS_H_ */