1
#ifndef _PCILIB_VIEW_TRANSFORM_H
2
#define _PCILIB_VIEW_TRANSFORM_H
5
#include <pcilib/view.h>
8
pcilib_view_description_t base;
9
const char *read_from_reg; /**< Formula explaining how to convert the register value to the view value */
10
const char *write_to_reg; /**< Formula explaining how to convert from the view value to the register value */
11
} pcilib_transform_view_description_t;
13
#ifndef _PCILIB_VIEW_TRANSFORM_C
14
const pcilib_view_api_description_t pcilib_transform_view_api;
15
#endif /* _PCILIB_VIEW_TRANSFORM_C */
17
#endif /* _PCILIB_VIEW_TRANSFORM_H */