Functions
urg_serial_windows.c File Reference

シリアル通信 More...

#include "urg_c/urg_serial.h"
#include <stdio.h>
Include dependency graph for urg_serial_windows.c:

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)
 接続を閉じる More...
 
static void serial_initialize (urg_serial_t *serial)
 
int serial_open (urg_serial_t *serial, const char *device, long baudrate)
 接続を開く More...
 
int serial_read (urg_serial_t *serial, char *data, int max_size, int timeout)
 データを受信する More...
 
int serial_set_baudrate (urg_serial_t *serial, long baudrate)
 ボーレートを設定する More...
 
int serial_write (urg_serial_t *serial, const char *data, int size)
 データを送信する More...
 
static void set_timeout (urg_serial_t *serial, int timeout)
 

Detailed Description

シリアル通信

Author
Satofumi KAMIMURA

$Id$

Definition in file urg_serial_windows.c.

Function Documentation

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.



urg_c
Author(s): Satofumi Kamimura , Katsumi Kimoto, Adrian Boeing
autogenerated on Thu Jun 6 2019 19:27:49