A small register with bit and field views. This allows easy configuration for steppers that use an inverted signal on one of the main input signals. See PolarityInvertSDEnable(bool invert), PolarityInvertSDDirection(bool invert), and PolarityInvertSDHlfb(bool invert).
A small register with bit and field views. This allows easy configuration for steppers that use an inverted signal on one of the main input signals. See PolarityInvertSDEnable(bool invert), PolarityInvertSDDirection(bool invert), and PolarityInvertSDHlfb(bool invert).
More...
#include <MotorDriver.h>
◆ PolarityInversionsSD() [1/2]
ClearCore::MotorDriver::PolarityInversionsSD::PolarityInversionsSD |
( |
| ) |
|
|
inline |
◆ PolarityInversionsSD() [2/2]
ClearCore::MotorDriver::PolarityInversionsSD::PolarityInversionsSD |
( |
int16_t |
val | ) |
|
|
inline |
◆ [struct]
struct { ... } ClearCore::MotorDriver::PolarityInversionsSD::bit |
Field access to the motor polarity inversions.
◆ directionInverted
uint32_t ClearCore::MotorDriver::PolarityInversionsSD::directionInverted |
Invert the sense of the motor's direction.
◆ enableInverted
uint32_t ClearCore::MotorDriver::PolarityInversionsSD::enableInverted |
Invert the sense of the motor's enable input.
◆ hlfbInverted
uint32_t ClearCore::MotorDriver::PolarityInversionsSD::hlfbInverted |
Invert the sense of the motor's HLFB output.
◆ reg
int16_t ClearCore::MotorDriver::PolarityInversionsSD::reg |
Broad access to the whole register
The documentation for this union was generated from the following file: