HF-TMC9660 Driver
Hardware Agnostic C++ Driver for the TMC9660
|
Subsystem for configuring the communication watchdog (heartbeat). More...
#include <TMC9660.hpp>
Public Member Functions | |
bool | configure (tmc9660::tmcl::HeartbeatMonitoringConfig mode, uint32_t timeout_ms) noexcept |
Enable the heartbeat monitor and set timeout. | |
Private Member Functions | |
Heartbeat (TMC9660 &parent) noexcept | |
Private Attributes | |
TMC9660 & | driver |
Friends | |
class | TMC9660 |
Subsystem for configuring the communication watchdog (heartbeat).
If enabled, the TMC9660 monitors the time since the last command. If no communication occurs before timeout expires, the chip faults or disables motor outputs.
Refer to Parameters #10 & #11 in Global Bank 0 (Table 43). See datasheet page 89 for details.
|
inlineexplicitprivatenoexcept |
|
noexcept |
Enable the heartbeat monitor and set timeout.
mode | ENABLE or DISABLE the watchdog |
timeout_ms | Timeout in milliseconds |
HEARTBEAT_MONITORING_CONFIG
HEARTBEAT_MONITORING_TIMEOUT
|
friend |
|
private |