Prusa3d Marlin fork
pat9125.h
1 #pragma once
2 
3 #include <inttypes.h>
4 
5 extern int16_t pat9125_x;
6 extern int16_t pat9125_y;
7 extern uint8_t pat9125_b;
8 extern uint8_t pat9125_s;
9 
10 extern uint8_t pat9125_probe(void); // Return non-zero if PAT9125 can be trivially detected
11 extern uint8_t pat9125_init(void);
12 extern uint8_t pat9125_update(void); // update all sensor data
13 extern uint8_t pat9125_update_y(void); // update _y only
14 extern uint8_t pat9125_update_bs(void); // update _b/_s only