![]() |
LibL6474-C-Library 1.0
Library Code documentation
|
#include <LibL6474.h>
Data Fields | |
| L6474x_StepMode_t | stepMode |
| L6474x_OCD_TH_t | OcdTh |
| char | TimeOnMin |
| char | TimeOffMin |
| char | TorqueVal |
| char | TFast |
The L6474_BaseParameter_t structure is used to set default initialization values for the library whenever a reset has been called or the library is used the first time. It can be filled with the global defaults by calling L6474_SetBaseParameter and it then can be adapted or directly passed into L6474_Initialize which always needs to be called after resetting the stepper driver or the library
| L6474x_OCD_TH_t L6474_BaseParameter_t::OcdTh |
OcdTh describes the overcurrent detection threshold, see L6474x_OCD_TH_t
| L6474x_StepMode_t L6474_BaseParameter_t::stepMode |
stepMode describes the stepping operation mode, see L6474x_StepMode_t
| char L6474_BaseParameter_t::TFast |
L6474_PROP_TFAST is used to change switching times
| char L6474_BaseParameter_t::TimeOffMin |
TimeOffMin is used to change the minimum time for the OFF-part of the current control loop
| char L6474_BaseParameter_t::TimeOnMin |
TimeOnMin is used to change the minimum time for the ON-part of the current control loop
| char L6474_BaseParameter_t::TorqueVal |
TorqueVal is used to change the current setpoint of the controller which follows directly the torque