-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuart_term.h
More file actions
36 lines (36 loc) · 791 Bytes
/
uart_term.h
File metadata and controls
36 lines (36 loc) · 791 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
//#ifndef __UART_IF_H__
//#define __UART_IF_H__
//
//// TI-Driver includes
//#include <ti/drivers/UART.h>
//#include "Board.h"
//
////Defines
//
//#define UART_PRINT Report
//#define DBG_PRINT Report
//#define ERR_PRINT(x) Report("Error [%d] at line [%d] in function [%s] \n\r",\
// x, __LINE__, \
// __FUNCTION__)
//
///* API */
//
//UART_Handle InitTerm(void);
//
//int Report(const char *pcFormat,
// ...);
//
//int TrimSpace(char * pcInput);
//
//int GetCmd(char *pcBuffer,
// unsigned int uiBufLen);
//
//void Message(const char *str);
//
//void ClearTerm();
//
//char getch(void);
//
//void putch(char ch);
//
//#endif // __UART_IF_H__