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>
ClearCore::MotorDriver::PolarityInversionsSD::PolarityInversionsSD |
( |
| ) |
|
|
inline |
ClearCore::MotorDriver::PolarityInversionsSD::PolarityInversionsSD |
( |
int16_t |
val | ) |
|
|
inline |
struct { ... } ClearCore::MotorDriver::PolarityInversionsSD::bit |
Field access to the motor polarity inversions.
uint32_t ClearCore::MotorDriver::PolarityInversionsSD::directionInverted |
Invert the sense of the motor's direction.
uint32_t ClearCore::MotorDriver::PolarityInversionsSD::enableInverted |
Invert the sense of the motor's enable input.
uint32_t ClearCore::MotorDriver::PolarityInversionsSD::hlfbInverted |
Invert the sense of the motor's HLFB output.
int16_t ClearCore::MotorDriver::PolarityInversionsSD::reg |
Broad access to the whole register
The documentation for this union was generated from the following file: