-
Notifications
You must be signed in to change notification settings - Fork 0
/
Serial.h
25 lines (22 loc) · 1014 Bytes
/
Serial.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*----------------------------------------------------------------------------
* Name: Serial.h
* Purpose: MCB1700 Low level serial definitions
* Note(s):
*----------------------------------------------------------------------------
* This file is part of the uVision/ARM development tools.
* This software may only be used under the terms of a valid, current,
* end user licence from KEIL for a compatible version of KEIL software
* development tools. Nothing else gives you the right to use this software.
*
* This software is supplied "AS IS" without warranties of any kind.
*
* Copyright (c) 2009 Keil - An ARM Company. All rights reserved.
*----------------------------------------------------------------------------*/
#ifndef __SERIAL_H
#define __SERIAL_H
extern void SER_init (int uart_port, int baudrate);
extern int SER_getChar (int uart);
extern int SER_getChar_nb(int uart);
extern int SER_putChar (int uart, int c);
extern void SER_putString (int uart, char *s);
#endif