#include <sys/types.h>
#include <stdlib.h>
#include <math.h>
#include <unistd.h>
#include <stdint.h>
#include "di194.h"
Go to the source code of this file.
Functions | |
| void | sighandler (int signal) |
| Control-break handler. Sets global flag to indicate exit request. | |
| int | main (int argc, char *argv[]) |
| Driver / test routine to exercise the DI code. | |
Variables | |
| bool | do_exit |
| Global boolean set by signal handler to force exit. | |
Definition in file di_simplest.c.
|
||||||||||||
|
Driver / test routine to exercise the DI code.
Too: -p port parsing, will need for USB serial. getopt!
Definition at line 67 of file di_simplest.c. References daq_reading_t::analog, di_close(), di_daq_sync(), di_open(), di_read(), di_start(), daq_reading_t::digital, do_exit, and sighandler(). |
|
|
Control-break handler. Sets global flag to indicate exit request. Assumes Installed in interrupt chain by someone else
Definition at line 34 of file di_simplest.c. References do_exit. Referenced by main(). |
|
|
Global boolean set by signal handler to force exit.
Definition at line 21 of file di_simplest.c. |
1.3