|
rusEFI
The most advanced open source ECU
|
#include <stepper.h>


Public Member Functions | |
| StepperMotor () | |
| void | initialize (StepperHw *hardware, int totalSteps) |
| void | ThreadTask () override |
Public Member Functions inherited from StepperMotorBase | |
| void | doIteration () |
| void | setTargetPosition (float targetPositionSteps) |
| float | getTargetPosition () const |
| bool | isBusy () const |
Additional Inherited Members | |
Data Fields inherited from StepperMotorBase | |
| int | m_currentPosition = 0 |
| int | m_totalSteps = 0 |
Protected Member Functions inherited from StepperMotorBase | |
| void | setInitialPosition (void) |
| void | saveStepperPos (int pos) |
| int | loadStepperPos () |
| void | changeCurrentPosition (bool positive) |
| void | postCurrentPosition (void) |
Protected Attributes inherited from StepperMotorBase | |
| StepperHw * | m_hw = nullptr |
| float | m_targetPosition = 0 |
| bool | initialPositionSet = false |
| bool | m_isBusy = false |
Private Member Functions inherited from ThreadController< UTILITY_THREAD_STACK_SIZE > | |
| ThreadController (const char *name, tprio_t priority) | |
| void | start () |
| Start the thread. | |
| void | stop () |
| Request thread termination and waits for termination. | |
| void | main () override |
Private Attributes inherited from ThreadController< UTILITY_THREAD_STACK_SIZE > | |
| const char *const | m_name |
|
inline |
Definition at line 99 of file stepper.h.
|
virtual |
Reimplemented from StepperMotorBase.
Definition at line 211 of file stepper.cpp.

|
inlineoverridevirtual |
Implements ThreadController< UTILITY_THREAD_STACK_SIZE >.
Definition at line 103 of file stepper.h.
