Tiny protocol
0.11.0
Tiny communication protocol for microcontrollers
src
proto
hal
serial
linux_serial.h
1
/*
2
Copyright 2017,2020 (C) Alexey Dynda
3
4
This file is part of Tiny Protocol Library.
5
6
Protocol Library is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
Protocol Library is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with Protocol Library. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#include <stdint.h>
27
29
typedef
int
tiny_serial_handle_t
;
30
32
#define TINY_SERIAL_INVALID (-1)
33
34
#ifdef __cplusplus
35
}
36
#endif
tiny_serial_handle_t
HANDLE tiny_serial_handle_t
Unique port handle.
Definition:
win32_serial.h:35
Generated by
1.8.13