File: serial.h

package info (click to toggle)
emile 0.10-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,716 kB
  • ctags: 2,737
  • sloc: ansic: 18,908; makefile: 726; asm: 622; sh: 2
file content (19 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * 
 * (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
 *
 */

#include "head.h"

extern int setserial(short refNum, unsigned int bitrate, unsigned int datasize,
                            int parity, int stopbits);

extern void serial_put(char c);
#ifdef USE_CLI
extern void serial_cursor_save(void);
extern void serial_cursor_restore(void);
extern int serial_keypressed(void);
extern int serial_getchar(void);
#endif
extern void serial_init(emile_l2_header_t* info);