UART base setup functions.
More...
#include <Cuart.h>
|
|
static void | termios_def (struct termios &_termios) |
|
static int | termios_get (int _fd, struct termios &_termios) |
|
static int | termios_set (int _fd, struct termios &_termios) |
|
|
static void | mode_def (struct serial_rs485 &_c, CuartMode_t _m) |
| Helps to define struct serial_rs485 fields for mode ...
|
|
static int | mode_set (int _fd, struct serial_rs485 &_c) |
|
static int | mode_get (int _fd, struct serial_rs485 &_c) |
|
UART base setup functions.
static int Cuart::mode_set |
( |
int |
_fd, |
|
|
struct serial_rs485 & |
_c |
|
) |
| |
|
inlinestatic |
ioctls get/set for port mode
- Return values
-
0 | Success |
<0 | Not associated |
- Examples:
- tty485.cpp.
static void Cuart::termios_def |
( |
struct termios & |
_termios | ) |
|
|
static |
Helps to define struct termios fields default speed is 115200
- Examples:
- tty485.cpp.
static int Cuart::termios_get |
( |
int |
_fd, |
|
|
struct termios & |
_termios |
|
) |
| |
|
inlinestatic |
ioctls get/set for port mode
- Return values
-
0 | Success |
<0 | Not associated |
The documentation for this class was generated from the following file: