uart.h

Go to the documentation of this file.
00001 /*
00002  * File:        uart.h
00003  * Purpose:     Serial interface functions header
00004  * Author:      Peter Ivanov
00005  * Modified by:
00006  * Created:     2007-05-19 11:31:29
00007  * Last modify: 2007-05-19 11:58:17 ivanovp {Time-stamp}
00008  * Copyright:   (C) Peter Ivanov, 2007
00009  * Licence:     GPL
00010  */
00011 /**
00012  * \file uart.h
00013  * \brief Serial interface functions header
00014  * \author Peter Ivanov
00015  */
00016 #ifndef __INCLUDE_UART_H
00017 #define __INCLUDE_UART_H
00018 
00019 #include <msp430x44x.h>
00020 #include <msp430/basic_clock.h>
00021 #include <msp430/system_clock.h>
00022 #include <stdarg.h>
00023 #include <stdlib.h>
00024 #include <stdio.h>
00025 #include <string.h>
00026 #include <sys/types.h>
00027 
00028 #define UART_PRINTF_BUF_SIZE    256
00029 
00030 void UART_init (void);
00031 void UART_putChar (char c);
00032 char UART_getCharIsReady ();
00033 char UART_getChar ();
00034 void UART_write (const char *buf, int length);
00035 void UART_printf (const char *fmt, ...);
00036 
00037 #endif // __INCLUDE_UART_H

Generated on Thu Dec 27 14:21:51 2007 for Sample MSP430-449STK2 project by  doxygen 1.5.1