Rev 373 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 373 | Rev 378 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | struct MM3_calib_struct |
19 | struct MM3_calib_struct |
20 | { |
20 | { |
21 | int8_t X_off; |
21 | int8_t X_off; |
22 | int8_t Y_off; |
22 | int8_t Y_off; |
23 | int8_t Z_off; |
23 | int8_t Z_off; |
- | 24 | uint16_t X_range; |
|
- | 25 | uint16_t Y_range; |
|
- | 26 | uint16_t Z_range; |
|
24 | }; |
27 | }; |
Line 25... | Line 28... | ||
25 | 28 | ||
26 | extern struct MM3_working_struct MM3; |
29 | extern struct MM3_working_struct MM3; |
Line 35... | Line 38... | ||
35 | 38 | ||
36 | // Die Werte der Statemachine |
39 | // Die Werte der Statemachine |
37 | #define MM3_RESET 0 |
40 | #define MM3_RESET 0 |
38 | #define MM3_START_TRANSFER 1 |
41 | #define MM3_START_TRANSFER 1 |
39 | #define MM3_WAIT_DRDY 2 |
42 | #define MM3_WAIT_DRDY 2 |
40 | #define MM3_DRDY 4 |
43 | #define MM3_DRDY 3 |
41 | #define MM3_BYTE2 8 |
44 | #define MM3_BYTE2 4 |
42 | #define MM3_X 16 |
45 | #define MM3_X 5 |
43 | #define MM3_Y 32 |
46 | #define MM3_Y 6 |
44 | #define MM3_Z 64 |
47 | #define MM3_Z 7 |
- | 48 | #define MM3_TILT 8 |