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.

15 lines
340 B

1 year ago
  1. #pragma once
  2. #include <stdint.h>
  3. #include <functional>
  4. #include "apibasic/basic.hpp"
  5. namespace iflytop {
  6. using namespace std;
  7. class ZIBoard {
  8. public:
  9. virtual ~ZIBoard() {}
  10. virtual int32_t board_read_io(int32_t ioindex, int32_t *val) = 0;
  11. virtual int32_t board_write_io(int32_t ioindex, int32_t val) = 0;
  12. };
  13. } // namespace iflytop