bzr branch
http://suren.me/webbzr/alps/pcitool
307
by Suren A. Chilingaryan
Finalyze XML support and provide initial support for views (only descriptions so far) |
1 |
#ifndef _PCILIB_VIEW_TRANSFORM_H
|
2 |
#define _PCILIB_VIEW_TRANSFORM_H
|
|
3 |
||
4 |
#include <pcilib.h> |
|
5 |
#include <pcilib/view.h> |
|
6 |
||
7 |
typedef struct { |
|
8 |
pcilib_view_description_t base; |
|
353
by Suren A. Chilingaryan
Merge Python scripting support from Vasiliy Chernov |
9 |
const char *script; /**< Python script module name */ |
307
by Suren A. Chilingaryan
Finalyze XML support and provide initial support for views (only descriptions so far) |
10 |
const char *read_from_reg; /**< Formula explaining how to convert the register value to the view value */ |
11 |
const char *write_to_reg; /**< Formula explaining how to convert from the view value to the register value */ |
|
12 |
} pcilib_transform_view_description_t; |
|
13 |
||
14 |
#ifndef _PCILIB_VIEW_TRANSFORM_C
|
|
15 |
const pcilib_view_api_description_t pcilib_transform_view_api; |
|
16 |
#endif /* _PCILIB_VIEW_TRANSFORM_C */ |
|
17 |
||
18 |
#endif /* _PCILIB_VIEW_TRANSFORM_H */ |