シリアル通信 More...
Go to the source code of this file.
Functions | |
static int | internal_receive (char data[], int max_size, urg_serial_t *serial, int timeout) |
void | serial_close (urg_serial_t *serial) |
接続を閉じる | |
static void | serial_initialize (urg_serial_t *serial) |
int | serial_open (urg_serial_t *serial, const char *device, long baudrate) |
接続を開く | |
int | serial_read (urg_serial_t *serial, char *data, int max_size, int timeout) |
データを受信する | |
int | serial_set_baudrate (urg_serial_t *serial, long baudrate) |
ボーレートを設定する | |
int | serial_write (urg_serial_t *serial, const char *data, int size) |
データを送信する | |
static void | set_timeout (urg_serial_t *serial, int timeout) |
static int internal_receive | ( | char | data[], |
int | max_size, | ||
urg_serial_t * | serial, | ||
int | timeout | ||
) | [static] |
Definition at line 150 of file urg_serial_windows.c.
void serial_close | ( | urg_serial_t * | serial | ) |
接続を閉じる
Definition at line 77 of file urg_serial_windows.c.
static void serial_initialize | ( | urg_serial_t * | serial | ) | [static] |
Definition at line 18 of file urg_serial_windows.c.
int serial_open | ( | urg_serial_t * | serial, |
const char * | device, | ||
long | baudrate | ||
) |
接続を開く
Definition at line 40 of file urg_serial_windows.c.
int serial_read | ( | urg_serial_t * | serial, |
char * | data, | ||
int | max_size, | ||
int | timeout | ||
) |
データを受信する
Definition at line 167 of file urg_serial_windows.c.
int serial_set_baudrate | ( | urg_serial_t * | serial, |
long | baudrate | ||
) |
ボーレートを設定する
Definition at line 86 of file urg_serial_windows.c.
int serial_write | ( | urg_serial_t * | serial, |
const char * | data, | ||
int | size | ||
) |
データを送信する
Definition at line 133 of file urg_serial_windows.c.
static void set_timeout | ( | urg_serial_t * | serial, |
int | timeout | ||
) | [static] |
Definition at line 27 of file urg_serial_windows.c.