KISS Data Aquisition and Control System
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
549 B

/*
*
* PRU Debug Program - UIO routine header file
* (c) Copyright 2011,2013 by Arctica Technologies
* Written by Steven Anderson
*
*/
#ifndef H_UIO
#define H_UIO
#define UIO_MAX_UIO_FILEPATH 100 // maximum length of the path and name for a uio file (ex. /sys/class/uio/uio7/name)
#define UIO_MAX_DEV_NAME 50
struct uiomap {
unsigned long address;
unsigned long length;
};
struct uiodev {
char *uio_file;
char *name;
char *version;
struct uiomap *maps;
};
// prototypes
int uio_getprussfile(char *devname);
#endif