-
Notifications
You must be signed in to change notification settings - Fork 21
/
serial.h
42 lines (33 loc) · 1.18 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*****************************************************************************
*
* Copyright (C) 2010 Circuits At Home, LTD. All rights reserved.
*
* This software may be distributed and modified under the terms of the GNU
* General Public License version 2 (GPL) as published by the Free Software
* Foundation and appearing in the file GPL.TXT included in the packaging of
* this file. Please note that GPL Section 2[b] requires that all works based
* on this software must also be made publicly available under the terms of
* the GPL ("Copyleft").
*
* Contact information:
* Circuits At Home Web site: http://www.circuitsathome.com
* e-mail: [email protected]
*****************************************************************************/
#ifndef _SERIAL_H_
#define _SERIAL_H_
//#ifdef __cplusplus
//extern "C" {
//#endif
#define INBUF_SIZE 50
#define EOL_SYM 0x0d
#include <stdint.h>
uint8_t InbufAnalyse(uint16_t Aincount, int8_t *Ainbuf);
void SerialHandler(void);
void dbg(const int8_t * str);
void dbgn(const int8_t * str);
void welcome_banner(void);
int8_t strcmp_(int8_t Astr1[], int8_t Astr2[], uint16_t Acnt);
//#ifdef __cplusplus
//}
//#endif
#endif