#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/iofunc.h>
#include <sys/dispatch.h>
#include <sys/mman.h>
#include <sys/neutrino.h>
#include <sys/slog.h>
#include <sys/time.h>
#include <termios.h>
#include <unistd.h>
Go to the source code of this file.
◆ cfsetspeed
#define cfsetspeed |
( |
|
term, |
|
|
|
baudrate |
|
) |
| |
Value:cfsetispeed(term, baudrate);\
cfsetospeed(term, baudrate);
Definition at line 59 of file dynpick_driver.cpp.
◆ DATA_LENGTH
◆ min
#define min |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
◆ io_read()
int io_read |
( |
resmgr_context_t * |
ctp, |
|
|
io_read_t * |
msg, |
|
|
RESMGR_OCB_T * |
ocb |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ message_callback()
int message_callback |
( |
message_context_t * |
ctp, |
|
|
int |
type, |
|
|
unsigned |
flags, |
|
|
void * |
handle |
|
) |
| |
◆ ReadCom()
int ReadCom |
( |
int |
fdc, |
|
|
unsigned short * |
data |
|
) |
| |
◆ SetComAttr()
◆ wait_t()
◆ buffer
char* buffer = (char *) "Hello world\n" |
|
static |
◆ ConnectFuncs
resmgr_connect_funcs_t ConnectFuncs |
|
static |
◆ force_sensor_data_0
unsigned short force_sensor_data_0[6] |
◆ force_sensor_data_1
unsigned short force_sensor_data_1[6] |
◆ IoFuncAttr
◆ IoFuncs
resmgr_io_funcs_t IoFuncs |
|
static |