ubinos
dtty.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2009 Sung Ho Park
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef UBINOS_BSP_DTTY_H_
8 #define UBINOS_BSP_DTTY_H_
9 
10 #ifdef __cplusplus
11 extern "C"
12 {
13 #endif
14 
23 #include <ubinos_config.h>
24 #include <ubinos/type.h>
25 
33 int dtty_init(void);
34 
45 int dtty_enable(void);
46 
55 int dtty_disable(void);
56 
63 int dtty_geterror(void);
64 
75 int dtty_getc(char * ch_p);
76 
87 int dtty_getc_unblocked(char * ch_p);
88 
98 int dtty_putc(int ch);
99 
107 int dtty_flush(void);
108 
121 int dtty_putn(const char * str, int len);
122 
129 int dtty_kbhit(void);
130 
145 int dtty_puts(const char * str, int max);
146 
162 int dtty_gets(char * str, int max);
163 
175 int dtty_setecho(int echo);
176 
184 
198 int dtty_setautocr(int autocr);
199 
207 
215 void dtty_write_process(void *arg);
216 
217 #ifdef __cplusplus
218 }
219 #endif
220 
221 #endif /* UBINOS_BSP_DTTY_H_ */
int dtty_getecho()
void dtty_write_process(void *arg)
int dtty_flush(void)
int dtty_enable(void)
int dtty_geterror(void)
int dtty_setautocr(int autocr)
int dtty_getc(char *ch_p)
int dtty_puts(const char *str, int max)
int dtty_kbhit(void)
int dtty_putn(const char *str, int len)
int dtty_setecho(int echo)
int dtty_gets(char *str, int max)
int dtty_getc_unblocked(char *ch_p)
int dtty_disable(void)
int dtty_putc(int ch)
int dtty_init(void)
int dtty_getautocr()
ubinos basic data type