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