Functions | Variables
adinput.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <shvel-param.h>
#include <serial.h>
#include <odometry.h>
#include <utility.h>
#include <ypspur.h>
Include dependency graph for adinput.c:

Go to the source code of this file.

Functions

int admask_receive (char *buf, int len, double receive_time, void *data)
int get_ad_num (void)
int get_addata (int num)
const int * get_addataptr ()
int get_dio_num (void)
int process_addata (unsigned char *buf, int len)
int set_admask (unsigned char mask)
int set_diomask (unsigned char enable)

Variables

int ad [16]
int ad_num = 0
int dio_num = 0

Function Documentation

int admask_receive ( char *  buf,
int  len,
double  receive_time,
void *  data 
)

Definition at line 95 of file adinput.c.

int get_ad_num ( void  )

Definition at line 85 of file adinput.c.

int get_addata ( int  num)

Definition at line 76 of file adinput.c.

const int* get_addataptr ( )

Definition at line 71 of file adinput.c.

int get_dio_num ( void  )

Definition at line 90 of file adinput.c.

int process_addata ( unsigned char *  buf,
int  len 
)

Definition at line 52 of file adinput.c.

int set_admask ( unsigned char  mask)

Definition at line 106 of file adinput.c.

int set_diomask ( unsigned char  enable)

Definition at line 140 of file adinput.c.


Variable Documentation

int ad[16]

Definition at line 48 of file adinput.c.

int ad_num = 0

Definition at line 49 of file adinput.c.

int dio_num = 0

Definition at line 50 of file adinput.c.



yp-spur
Author(s):
autogenerated on Fri May 10 2019 02:52:19