|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Encoder status register (ENC_STATUS) More...
#include <tmc51x0_registers.hpp>
Public Attributes | ||
| uint32_t | value | |
| struct { | ||
| uint32_t n_event: 1 | ||
| Bit 0: N event detected (Write '1' to clear) More... | ||
| uint32_t deviation_warn: 1 | ||
| uint32_t reserved: 30 | ||
| Reserved bits (2..31) More... | ||
| } | bits | |
Encoder status register (ENC_STATUS)
Status information about encoder operation and deviation detection.
Bit assignments per datasheet:
| struct { ... } tmc51x0::ENC_STATUS_Register::bits |
| uint32_t tmc51x0::ENC_STATUS_Register::deviation_warn |
Bit 1: Deviation between X_ACTUAL and X_ENC detected (Write '1' to clear, but only if warning no longer persists)
| uint32_t tmc51x0::ENC_STATUS_Register::n_event |
Bit 0: N event detected (Write '1' to clear)
| uint32_t tmc51x0::ENC_STATUS_Register::reserved |
Reserved bits (2..31)
| uint32_t tmc51x0::ENC_STATUS_Register::value |