Go to the source code of this file.
Defines | |
#define | DEFAULT_BAUDRATE 38400 |
#define | DISABLE 0 |
#define | ENABLE 1 |
#define | SER_INTERVAL 0.0050 |
(Byte/sec) シリアルの通信速度 | |
Functions | |
int | encode_write (char *data, int len) |
int | serial_change_baudrate (int baud) |
ボーレートを変更する | |
int | serial_close (void) |
int | serial_connect (char *device_name) |
void | serial_flush_in (void) |
void | serial_flush_out (void) |
int | serial_recieve (int(*serial_event)(char *, int, double, void *), void *data) |
int | serial_tryconnect (char *device_name) |
int | serial_write (char *buf, int len) |
Variables | |
double | SER_BAUDRATE |
#define DEFAULT_BAUDRATE 38400 |
#define SER_INTERVAL 0.0050 |
int encode_write | ( | char * | data, |
int | len | ||
) |
int serial_change_baudrate | ( | int | baud | ) |
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 | ||
) |
double SER_BAUDRATE |