TMC5160 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
tmc5160::Switches Struct Reference

Reference switches and stop behaviour (SW_MODE, page 43). More...

#include <tmc5160_types.hpp>

Public Attributes

bool stop_left {false}
 Stop at an active left switch.
 
bool stop_right {false}
 Stop at an active right switch.
 
bool left_active_low {false}
 The left switch is active low.
 
bool right_active_low {false}
 The right switch is active low.
 
bool swap {false}
 Swap left and right.
 
bool latch_left_active {false}
 Latch XACTUAL on the active edge of left.
 
bool latch_left_inactive {false}
 Latch XACTUAL on the inactive edge of left.
 
bool latch_right_active {false}
 Latch XACTUAL on the active edge of right.
 
bool latch_right_inactive {false}
 Latch XACTUAL on the inactive edge of right.
 
bool latch_encoder {false}
 Latch X_ENC as well.
 
bool stop_on_stall {false}
 Stop on stall (sg_stop).
 
bool soft_stop {false}
 Stop with the deceleration ramp.
 

Detailed Description

Reference switches and stop behaviour (SW_MODE, page 43).


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