Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
serial.h
Go to the documentation of this file.
1
2
3
extern
int
fd
;
4
5
#include "
std.h
"
6
7
int
serial_init
(
char
*port_name);
8
9
static
inline
int
ttyUSB0ChAvailable
(
void
)
10
{
11
return
FALSE
;
12
}
13
14
#define ttyUSB0Transmit(_char) \
15
{ \
16
char c = _char; \
17
int __attribute__((unused)) ret = write(fd,&c,1); \
18
}
19
20
#define ttyUSB0Getch() ({char c;int ret=read(fd, &c,1);c;})
serial_init
int serial_init(char *port_name)
Definition:
serial.c:28
FALSE
#define FALSE
Definition:
std.h:5
std.h
fd
int fd
Definition:
serial.c:26
ttyUSB0ChAvailable
static int ttyUSB0ChAvailable(void)
Definition:
serial.h:9
sw
airborne
modules
digital_cam
catia
serial.h
Generated on Tue Jun 21 2016 14:01:18 for Paparazzi UAS by
1.8.8