version 1.0

Dependencies:   CMSIS_DSP_401 GPS MPU9150_DMP PID QuaternionMath Servo mbed

Fork of SolarOnFoils_MainModule_20150518 by Dannis Brugman

uart.h

Committer:
Dannis_mbed
Date:
2015-08-11
Revision:
2:f6d058931b17
Parent:
0:81b21910454e

File content as of revision 2:f6d058931b17:

/******************************************************************************
 * Module         : UART
 * Copyright      : 2008 - H. Arends
 * Description    : STK525 Driver
 ******************************************************************************
   Change History:
 
   Version 0.1 - March 2008
    > Initial revision

******************************************************************************/

/******************************************************************************

******************************************************************************/

#ifndef _UART_H_
#define _UART_H_

/******************************************************************************
  Defines
******************************************************************************/
#define BAUDRATE            9600

#define CR                  ('\r')
#define LF                  ('\n')
#define BACKSPACE           ('\b')
#define SPACE               (' ')
#define ESC                 0x1B


/******************************************************************************
  Function prototypes
******************************************************************************/
void          UART_vInitIO  (void);
void          UART_vPutStr  (char *p);
void          UART_vGetStr  (unsigned short l, char *p);
int           UART_iPutCh   (int c);
unsigned char UART_ucGetCh  (void);
void          UART_vPutInt  (int c);

void          UART_vPutStr_P(uint8_t *p);

#endif // _UART_H_

/******************************************************************************
  EOF
******************************************************************************/