![]() |
SimpleFOClibrary
2.1
|
#include <StepperDriver.h>
Public Member Functions | |
| virtual int | init ()=0 |
| virtual void | enable ()=0 |
| virtual void | disable ()=0 |
| virtual void | setPwm (float Ua, float Ub)=0 |
Public Attributes | |
| long | pwm_frequency |
| pwm frequency value in hertz More... | |
| float | voltage_power_supply |
| power supply voltage More... | |
| float | voltage_limit |
| limiting voltage set to the motor More... | |
Definition at line 4 of file StepperDriver.h.
|
pure virtual |
Disable hardware
Implemented in StepperDriver2PWM, and StepperDriver4PWM.
|
pure virtual |
Enable hardware
Implemented in StepperDriver2PWM, and StepperDriver4PWM.
|
pure virtual |
Initialise hardware
Implemented in StepperDriver2PWM, and StepperDriver4PWM.
|
pure virtual |
Set phase voltages to the harware
| Ua | phase A voltage |
| Ub | phase B voltage |
Implemented in StepperDriver2PWM, and StepperDriver4PWM.
| long StepperDriver::pwm_frequency |
pwm frequency value in hertz
Definition at line 14 of file StepperDriver.h.
| float StepperDriver::voltage_limit |
limiting voltage set to the motor
Definition at line 16 of file StepperDriver.h.
| float StepperDriver::voltage_power_supply |
power supply voltage
Definition at line 15 of file StepperDriver.h.