#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.
Classes | |
struct | server_msg_t |
Macros | |
#define | cfsetspeed(term, baudrate) |
#define | DATA_LENGTH 27 |
#define | min(a, b) ((a) < (b) ? (a) : (b)) |
Functions | |
int | io_read (resmgr_context_t *ctp, io_read_t *msg, RESMGR_OCB_T *ocb) |
int | main (int argc, char **argv) |
int | message_callback (message_context_t *ctp, int type, unsigned flags, void *handle) |
int | ReadCom (int fdc, unsigned short *data) |
int | SetComAttr (int fdc) |
void | wait_t (void) |
Variables | |
static char * | buffer = (char *) "Hello world\n" |
static resmgr_connect_funcs_t | ConnectFuncs |
unsigned short | force_sensor_data_0 [6] |
unsigned short | force_sensor_data_1 [6] |
static iofunc_attr_t | IoFuncAttr |
static resmgr_io_funcs_t | IoFuncs |
#define cfsetspeed | ( | term, | |
baudrate | |||
) |
Definition at line 59 of file dynpick_driver.cpp.
#define DATA_LENGTH 27 |
int io_read | ( | resmgr_context_t * | ctp, |
io_read_t * | msg, | ||
RESMGR_OCB_T * | ocb | ||
) |
Definition at line 384 of file dynpick_driver.cpp.
Definition at line 290 of file dynpick_driver.cpp.
Definition at line 203 of file dynpick_driver.cpp.
Definition at line 137 of file dynpick_driver.cpp.
added
Definition at line 63 of file dynpick_driver.cpp.
Definition at line 438 of file dynpick_driver.cpp.
|
static |
Definition at line 190 of file dynpick_driver.cpp.
|
static |
Definition at line 194 of file dynpick_driver.cpp.
unsigned short force_sensor_data_0[6] |
Definition at line 52 of file dynpick_driver.cpp.
unsigned short force_sensor_data_1[6] |
Definition at line 53 of file dynpick_driver.cpp.
|
static |
Definition at line 196 of file dynpick_driver.cpp.
|
static |
Definition at line 195 of file dynpick_driver.cpp.