transform.h 668 B

123456789101112131415161718
  1. #ifndef _PCILIB_VIEW_TRANSFORM_H
  2. #define _PCILIB_VIEW_TRANSFORM_H
  3. #include <pcilib.h>
  4. #include <pcilib/view.h>
  5. typedef struct {
  6. pcilib_view_description_t base;
  7. const char *script; /**< Python script module name */
  8. const char *read_from_reg; /**< Formula explaining how to convert the register value to the view value */
  9. const char *write_to_reg; /**< Formula explaining how to convert from the view value to the register value */
  10. } pcilib_transform_view_description_t;
  11. #ifndef _PCILIB_VIEW_TRANSFORM_C
  12. const pcilib_view_api_description_t pcilib_transform_view_api;
  13. #endif /* _PCILIB_VIEW_TRANSFORM_C */
  14. #endif /* _PCILIB_VIEW_TRANSFORM_H */