RTXI 1.3
comedilib/testing/cmd_1.c File Reference
#include <stdio.h>
#include <comedilib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <getopt.h>
#include <ctype.h>
#include <math.h>
#include <sys/time.h>
#include <string.h>
#include "comedi_test.h"

Go to the source code of this file.

Defines

#define BUFSZ   2000

Functions

void probe_max_1chan (comedi_t *it, int s)
char * tobinary (char *s, int bits, int n)
char * cmd_src (int src, char *buf)
int count_bits (unsigned int bits)
int test_cmd_no_cmd (void)
int test_cmd_probe_src_mask (void)
int test_cmd_probe_fast_1chan (void)
int test_cmd_read_fast_1chan (void)
int test_cmd_write_fast_1chan (void)
int test_cmd_logic_bug (void)

Define Documentation

#define BUFSZ   2000

Definition at line 103 of file cmd_1.c.


Function Documentation

char* cmd_src ( int  src,
char *  buf 
)

Definition at line 93 of file common.c.

int count_bits ( unsigned int  bits)

Definition at line 313 of file cmd_1.c.

void probe_max_1chan ( comedi_t it,
int  s 
)

Definition at line 154 of file info.c.

int test_cmd_logic_bug ( void  )

Definition at line 273 of file cmd_1.c.

int test_cmd_no_cmd ( void  )

Definition at line 20 of file cmd_1.c.

int test_cmd_probe_fast_1chan ( void  )

Definition at line 74 of file cmd_1.c.

int test_cmd_probe_src_mask ( void  )

Definition at line 45 of file cmd_1.c.

int test_cmd_read_fast_1chan ( void  )

Definition at line 105 of file cmd_1.c.

int test_cmd_write_fast_1chan ( void  )

Definition at line 155 of file cmd_1.c.

char* tobinary ( char *  s,
int  bits,
int  n 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines