|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Short detector configuration register (SHORT_CONF) More...
#include <tmc51x0_registers.hpp>
Public Attributes | ||
| uint32_t | value | |
| struct { | ||
| uint32_t s2vs_level: 4 | ||
| uint32_t reserved1: 4 | ||
| Bits 7..4: Reserved. More... | ||
| uint32_t s2g_level: 4 | ||
| uint32_t reserved2: 4 | ||
| Bits 15..12: Reserved. More... | ||
| uint32_t shortfilter: 2 | ||
| uint32_t shortdelay: 1 | ||
| uint32_t reserved3: 13 | ||
| Bits 31..19: Reserved. More... | ||
| } | bits | |
Short detector configuration register (SHORT_CONF)
Configuration for short circuit detection sensitivity and filtering.
Bit assignments per datasheet:
| struct { ... } tmc51x0::SHORT_CONF_Register::bits |
| uint32_t tmc51x0::SHORT_CONF_Register::reserved1 |
Bits 7..4: Reserved.
| uint32_t tmc51x0::SHORT_CONF_Register::reserved2 |
Bits 15..12: Reserved.
| uint32_t tmc51x0::SHORT_CONF_Register::reserved3 |
Bits 31..19: Reserved.
| uint32_t tmc51x0::SHORT_CONF_Register::s2g_level |
Bits 11..8: Short to GND detector for high side FETs (2-15, highest to lowest sensitivity)
| uint32_t tmc51x0::SHORT_CONF_Register::s2vs_level |
Bits 3..0: Short to VS detector for low side FETs (4-15, highest to lowest sensitivity)
| uint32_t tmc51x0::SHORT_CONF_Register::shortdelay |
Bit 18: Short detection delay (0=750ns normal, 1=1500ns high)
| uint32_t tmc51x0::SHORT_CONF_Register::shortfilter |
Bits 17..16: Spike filtering bandwidth (0=100ns, 1=1μs, 2=2μs, 3=3μs)
| uint32_t tmc51x0::SHORT_CONF_Register::value |