First commit
This commit is contained in:
commit
0a28bac78a
37 changed files with 1963 additions and 0 deletions
20
diygeiger.h
Normal file
20
diygeiger.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef _DIYGEIGER_H_
|
||||
#define _DIYGEIGER_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
/*
|
||||
Specification of GC10 Data I/O Interface: http://netiodev.com/GC10/GC10_UART_SPEC.pdf
|
||||
*/
|
||||
|
||||
int diy_open(const char *device);
|
||||
void diy_close(int device);
|
||||
int diy_get_cpm(int device);
|
||||
int diy_read(int device, char *buf, unsigned int len);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue