#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <glob.h>
#include <termios.h>
#include <stdlib.h>
#include <glib.h>
#include "sigrok.h"
#include "sigrok-internal.h"
Go to the source code of this file.
|
SR_PRIV GSList * | list_serial_ports (void) |
|
SR_PRIV int | serial_open (const char *pathname, int flags) |
|
SR_PRIV int | serial_close (int fd) |
|
SR_PRIV int | serial_flush (int fd) |
|
SR_PRIV int | serial_write (int fd, const void *buf, size_t count) |
|
SR_PRIV int | serial_read (int fd, void *buf, size_t count) |
|
SR_PRIV void * | serial_backup_params (int fd) |
|
SR_PRIV void | serial_restore_params (int fd, void *backup) |
|
SR_PRIV int | serial_set_params (int fd, int baudrate, int bits, int parity, int stopbits, int flowcontrol) |
|
SR_PRIV GSList* list_serial_ports |
( |
void |
| ) |
|
SR_PRIV void* serial_backup_params |
( |
int |
fd | ) |
|
SR_PRIV int serial_open |
( |
const char * |
pathname, |
|
|
int |
flags |
|
) |
| |
SR_PRIV int serial_read |
( |
int |
fd, |
|
|
void * |
buf, |
|
|
size_t |
count |
|
) |
| |
SR_PRIV void serial_restore_params |
( |
int |
fd, |
|
|
void * |
backup |
|
) |
| |
SR_PRIV int serial_set_params |
( |
int |
fd, |
|
|
int |
baudrate, |
|
|
int |
bits, |
|
|
int |
parity, |
|
|
int |
stopbits, |
|
|
int |
flowcontrol |
|
) |
| |
SR_PRIV int serial_write |
( |
int |
fd, |
|
|
const void * |
buf, |
|
|
size_t |
count |
|
) |
| |