EMILE/second/serial.h

20 lines
472 B
C
Raw Normal View History

2004-06-21 22:39:25 +00:00
/*
*
* (c) 2004 Laurent Vivier <Laurent@lvivier.info>
2004-06-21 22:39:25 +00:00
*
*/
2004-06-22 22:05:24 +00:00
#include "head.h"
2004-06-21 22:39:25 +00:00
extern int setserial(short refNum, unsigned int bitrate, unsigned int datasize,
int parity, int stopbits);
2004-06-22 22:05:24 +00:00
extern void serial_put(char c);
2005-08-25 21:46:47 +00:00
#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);
2005-08-25 21:46:47 +00:00
#endif
2004-06-22 22:05:24 +00:00
extern void serial_init(emile_l2_header_t* info);