4.104.115
Rev | Line | |
---|
[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 |
---|
| 17 | extern "C"{ |
---|
| 18 | #endif |
---|
| 19 | |
---|
| 20 | |
---|
[3906b3ea] | 21 | int sh_sci_set_attributes( |
---|
[3a5fec8] | 22 | int minor, |
---|
| 23 | const struct termios *t |
---|
| 24 | ); |
---|
| 25 | |
---|
| 26 | void sh_sci_initialize_interrupts(int minor); |
---|
| 27 | |
---|
| 28 | void sh_sci_init(int minor); |
---|
[3906b3ea] | 29 | |
---|
[a5fb3d1b] | 30 | ssize_t sh_sci_write_support_int( |
---|
[3906b3ea] | 31 | int minor, |
---|
| 32 | const char *buf, |
---|
[a5fb3d1b] | 33 | size_t len |
---|
[3a5fec8] | 34 | ); |
---|
[3906b3ea] | 35 | |
---|
[a5fb3d1b] | 36 | ssize_t sh_sci_write_support_polled( |
---|
[3a5fec8] | 37 | int minor, |
---|
| 38 | const char *buf, |
---|
[a5fb3d1b] | 39 | size_t len |
---|
[3a5fec8] | 40 | ); |
---|
[3906b3ea] | 41 | |
---|
[3a5fec8] | 42 | void sh_sci_write_polled( |
---|
| 43 | int minor, |
---|
| 44 | char c |
---|
| 45 | ); |
---|
| 46 | |
---|
| 47 | int sh_sci_inbyte_nonblocking_polled(int minor); |
---|
[3906b3ea] | 48 | |
---|
[3a5fec8] | 49 | |
---|
| 50 | int sh_sci_first_open( |
---|
| 51 | int major, |
---|
| 52 | int minor, |
---|
[3906b3ea] | 53 | void *arg |
---|
[3a5fec8] | 54 | ); |
---|
| 55 | |
---|
| 56 | int 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.