Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Examples

rs232.h File Reference


Detailed Description

Header file for MSP430 RS232 driver.

Author:
Adam Dunkels <adam@sics.se>

Definition in file rs232.h.

Go to the source code of this file.

Defines

#define RS232_19200   1
#define RS232_38400   2
#define RS232_57600   3
#define RS232_115200   4

Functions

void rs232_init (void)
 Initialize the RS232 module.
void rs232_set_input (int(*f)(unsigned char))
 Set an input handler for incoming RS232 data.
void rs232_set_speed (unsigned char speed)
 Configure the speed of the RS232 hardware.
void rs232_print (char *text)
 Print a text string on RS232.
void rs232_send (char c)
 Print a character on RS232.


Generated on Thu Jun 22 17:45:43 2006 for Contiki 2.x by  doxygen 1.4.4