|
LAT Hologramm-Software 2.0
|

Go to the source code of this file.
Macros | |
| #define | SPINDLE_NO_SYNC false |
| #define | SPINDLE_FORCE_SYNC true |
| #define | SPINDLE_STATE_DISABLE 0 |
| #define | SPINDLE_STATE_CW bit(0) |
| #define | SPINDLE_STATE_CCW bit(1) |
| #define | spindle_sync(state, rpm) _spindle_sync(state) |
| #define | spindle_set_state(state, rpm) _spindle_set_state(state) |
Functions | |
| void | spindle_init () |
| uint8_t | spindle_get_state () |
| void | _spindle_sync (uint8_t state) |
| void | _spindle_set_state (uint8_t state) |
| void | spindle_stop () |
| #define SPINDLE_FORCE_SYNC true |
Definition at line 26 of file spindle_control.h.
| #define SPINDLE_NO_SYNC false |
Definition at line 25 of file spindle_control.h.
| #define spindle_set_state | ( | state, | |
| rpm | |||
| ) | _spindle_set_state(state) |
Definition at line 64 of file spindle_control.h.
| #define SPINDLE_STATE_CCW bit(1) |
Definition at line 30 of file spindle_control.h.
| #define SPINDLE_STATE_CW bit(0) |
Definition at line 29 of file spindle_control.h.
| #define SPINDLE_STATE_DISABLE 0 |
Definition at line 28 of file spindle_control.h.
| #define spindle_sync | ( | state, | |
| rpm | |||
| ) | _spindle_sync(state) |
Definition at line 60 of file spindle_control.h.
| void _spindle_set_state | ( | uint8_t | state | ) |
| void _spindle_sync | ( | uint8_t | state | ) |
| uint8_t spindle_get_state | ( | ) |
Definition at line 57 of file spindle_control.c.
| void spindle_init | ( | ) |
Definition at line 30 of file spindle_control.c.
| void spindle_stop | ( | ) |
Definition at line 98 of file spindle_control.c.