Go to the source code of this file.
| #define DEFAULT_BAUDRATE 38400 |
| #define SER_INTERVAL 0.0050 |
(Byte/sec) シリアルの通信速度
Definition at line 31 of file serial.h.
| int encode_write |
( |
char * |
data, |
|
|
int |
len |
|
) |
| |
| 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 |
|
) |
| |