HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
tmc51x0::TMC51x0< CommType >::HardResetOptions Struct Reference

Options for HardReset() More...

#include <tmc51x0.hpp>

Public Attributes

uint32_t power_off_ms {20}
 Power-off duration for power-cycle.
 
uint32_t power_on_settle_ms {20}
 Post power-on settle time before IO.
 
bool reinitialize {true}
 Re-run Initialize() after reset.
 
bool prefer_power_cycle {true}
 Use comm_.PowerCycle() when supported.
 
bool uart_assume_accessible_at_0 {true}
 
bool verbose {true}
 

Detailed Description

template<typename CommType>
struct tmc51x0::TMC51x0< CommType >::HardResetOptions

Options for HardReset()

Member Data Documentation

◆ power_off_ms

template<typename CommType >
uint32_t tmc51x0::TMC51x0< CommType >::HardResetOptions::power_off_ms {20}

Power-off duration for power-cycle.

◆ power_on_settle_ms

template<typename CommType >
uint32_t tmc51x0::TMC51x0< CommType >::HardResetOptions::power_on_settle_ms {20}

Post power-on settle time before IO.

◆ prefer_power_cycle

template<typename CommType >
bool tmc51x0::TMC51x0< CommType >::HardResetOptions::prefer_power_cycle {true}

Use comm_.PowerCycle() when supported.

◆ reinitialize

template<typename CommType >
bool tmc51x0::TMC51x0< CommType >::HardResetOptions::reinitialize {true}

Re-run Initialize() after reset.

◆ uart_assume_accessible_at_0

template<typename CommType >
bool tmc51x0::TMC51x0< CommType >::HardResetOptions::uart_assume_accessible_at_0 {true}

After power-cycle, assume the device is reachable at UART address 0 for re-init

◆ verbose

template<typename CommType >
bool tmc51x0::TMC51x0< CommType >::HardResetOptions::verbose {true}

Print config summary during reinitialize (set to false for quiet reinitializations)


The documentation for this struct was generated from the following file: