Imported Upstream version 2.9.0
[debian/cc1111] / device / include / serial.h
1 /*----------------------------------------------------------------------------
2   Written by Dmitry S. Obukhov, 1996
3    dso@usa.net
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   ----------------------------------------------------------------------------*/
10
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);
15 void autobaud();