1 //----------------------------------------------------------------------------
2 //Written by Dmitry S. Obukhov, 1996
4 //----------------------------------------------------------------------------
5 //This module implements serial interrupt handler and IO routinwes using
6 //two 256 byte cyclic buffers. Bit variables can be used as flags for
7 //real-time kernel tasks
8 //Last modified 6 Apr 97
9 //----------------------------------------------------------------------------
11 void serial_init(void);
12 void serial_interrupt_handler(void) __interrupt 4 __using 1;
13 void serial_putc(unsigned char);
14 unsigned char serial_getc(void);