|
MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
#include <microstrain/common/platform.h>#include <poll.h>#include <fcntl.h>#include <errno.h>#include <string.h>#include <unistd.h>#include <termios.h>#include <sys/ioctl.h>#include <stdio.h>#include <stdint.h>#include <stdbool.h>Go to the source code of this file.
Classes | |
| struct | serial_port |
Typedefs | |
| typedef struct serial_port | serial_port |
Functions | |
| void | serial_port_init (serial_port *port) |
| bool | serial_port_open (serial_port *port, const char *port_str, int baudrate) |
| bool | serial_port_close (serial_port *port) |
| bool | serial_port_write (serial_port *port, const void *buffer, size_t num_bytes, size_t *bytes_written) |
| bool | serial_port_read (serial_port *port, void *buffer, size_t num_bytes, int wait_time, size_t *bytes_read) |
| uint32_t | serial_port_read_count (serial_port *port) |
| bool | serial_port_is_open (const serial_port *port) |
1.8.17