#include <math.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <shvel-param.h>
#include <serial.h>
#include <communication.h>
#include <utility.h>
#include <param.h>
#include <ypspur-coordinator.h>
#include <yprintf.h>
#include <errno.h>
#include <sys/select.h>
#include <sys/termios.h>
Go to the source code of this file.
int baud2i |
( |
speed_t |
baud | ) |
|
int encode_write |
( |
char * |
data, |
|
|
int |
len |
|
) |
| |
speed_t i2baud |
( |
int |
baud | ) |
|
int recieve_throw |
( |
char * |
buf, |
|
|
int |
len, |
|
|
double |
t, |
|
|
void * |
data |
|
) |
| |
int serial_change_baudrate |
( |
int |
baud | ) |
|
ボーレートを変更する
- Parameters
-
baud<a | href="bit/sec">in ボーレート |
Definition at line 216 of file serial.c.
int serial_close |
( |
void |
| ) |
|
int serial_connect |
( |
char * |
device_name | ) |
|
void serial_flush_in |
( |
void |
| ) |
|
void serial_flush_out |
( |
void |
| ) |
|
int serial_recieve |
( |
int(*)(char *, int, double, void *) |
serial_event, |
|
|
void * |
data |
|
) |
| |
int serial_tryconnect |
( |
char * |
device_name | ) |
|
int serial_write |
( |
char * |
buf, |
|
|
int |
len |
|
) |
| |