pat9125.h 537 B

12345678910111213141516171819202122232425262728293031
  1. //pat9125.h
  2. #ifndef PAT9125_H
  3. #define PAT9125_H
  4. #include <inttypes.h>
  5. #if defined(__cplusplus)
  6. extern "C" {
  7. #endif //defined(__cplusplus)
  8. extern uint8_t pat9125_PID1;
  9. extern uint8_t pat9125_PID2;
  10. extern int16_t pat9125_x;
  11. extern int16_t pat9125_y;
  12. extern uint8_t pat9125_b;
  13. extern uint8_t pat9125_s;
  14. extern uint8_t pat9125_init(void);
  15. extern uint8_t pat9125_update(void);
  16. extern uint8_t pat9125_update_y(void);
  17. extern uint8_t pat9125_update_y2(void);
  18. #if defined(__cplusplus)
  19. }
  20. #endif //defined(__cplusplus)
  21. #endif //PAT9125_H