Accumulating register of alerts that have occurred on this motor. Intended for use in Step and Direction mode.
Accumulating register of alerts that have occurred on this motor. Intended for use in Step and Direction mode.
More...
#include <MotorDriver.h>
◆ AlertRegMotor() [1/2]
ClearCore::MotorDriver::AlertRegMotor::AlertRegMotor |
( |
| ) |
|
|
inline |
◆ AlertRegMotor() [2/2]
ClearCore::MotorDriver::AlertRegMotor::AlertRegMotor |
( |
uint32_t |
val | ) |
|
|
inline |
◆ [struct]
struct { ... } ClearCore::MotorDriver::AlertRegMotor::bit |
Field access to the motor alert register
◆ MotionCanceledInAlert
uint16_t ClearCore::MotorDriver::AlertRegMotor::MotionCanceledInAlert |
TRUE whenever a command is rejected due to an existing alert register bit being asserted.
◆ MotionCanceledMotorDisabled
uint16_t ClearCore::MotorDriver::AlertRegMotor::MotionCanceledMotorDisabled |
TRUE whenever executing motion is canceled due to the enable output deasserting or whenever a command is rejected while the enable output is deasserted.
◆ MotionCanceledNegativeLimit
uint16_t ClearCore::MotorDriver::AlertRegMotor::MotionCanceledNegativeLimit |
TRUE whenever executing motion is canceled due to a negative limit switch being asserted or whenever a command is rejected while in the limit.
◆ MotionCanceledPositiveLimit
uint16_t ClearCore::MotorDriver::AlertRegMotor::MotionCanceledPositiveLimit |
TRUE whenever executing motion is canceled due to a positive limit switch being asserted or whenever a command is rejected while in the limit.
◆ MotionCanceledSensorEStop
uint16_t ClearCore::MotorDriver::AlertRegMotor::MotionCanceledSensorEStop |
TRUE whenever executing motion is canceled due to an E-Stop triggered by the specified E-Stop sensor or whenever a command is rejected while the E-Stop is asserted.
◆ MotorFaulted
uint16_t ClearCore::MotorDriver::AlertRegMotor::MotorFaulted |
TRUE whenever the MotorInFault status is set in the motor status register.
◆ reg
uint32_t ClearCore::MotorDriver::AlertRegMotor::reg |
Broad access to the whole register
The documentation for this union was generated from the following file: