Contiki 2.6

rs232.c File Reference

RS232 communication device driver for the MSP430. More...

#include "contiki.h"
#include <string.h>
#include "contiki-esb.h"
#include "isr_compat.h"

Go to the source code of this file.

Functions

void rs232_init (void)
 Initialize the RS232 module.
void rs232_send (char c)
 Print a character on RS232.
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_set_input (int(*f)(unsigned char))
 Set an input handler for incoming RS232 data.

Detailed Description

RS232 communication device driver for the MSP430.

Author:
Adam Dunkels <adam@sics.se>

This file contains an RS232 device driver for the MSP430 microcontroller.

Definition in file rs232.c.