Contiki 2.6

rs232.c File Reference

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

#include "contiki.h"
#include <string.h>
#include "dev/msb430-uart1.h"
#include "rs232.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 (enum rs232_speed speed)
 Configure the speed of the RS232 hardware.
void rs232_print (char *text)
 Print a text string on RS232.
void rs232_set_input (uart_handler_t f)
 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.