property.h 718 B

12345678910111213141516
  1. #ifndef _PCILIB_PROTOCOL_PROPERTY_H
  2. #define _PCILIB_PROTOCOL_PROPERTY_H
  3. #include "pcilib.h"
  4. #include "version.h"
  5. #include "model.h"
  6. int pcilib_property_registers_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value);
  7. int pcilib_property_registers_write(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t value);
  8. #ifdef _PCILIB_EXPORT_C
  9. const pcilib_register_protocol_api_description_t pcilib_property_protocol_api =
  10. { PCILIB_VERSION, NULL, NULL, NULL, pcilib_property_registers_read, pcilib_property_registers_write };
  11. #endif /* _PCILIB_EXPORT_C */
  12. #endif /* _PCILIB_PROTOCOL_PROPERTY_H */