User Manual

TMC5031-EVAL Manual / Firmware V1.00 (Rev. 1.00 / 2013-FEB-22) 18
www.trinamic.com
0X35, 0X55: RAMP_STAT RAMP AND REFERENCE SWITCH STATUS REGISTER OF TMC5031
R/W
Bit
Name
Comment
4
event_stop_l
1: Signals an active stop left condition due to stop switch.
This bit is ORed to the interrupt output signal.
R+C
3
status_latch_r
1: Latch right ready
(enable position latching using SWITCH_MODE settings
latch_r_active or latch_r_inactive)
This bit is ORed to the interrupt output signal.
(Flag is cleared upon reading)
2
status_latch_l
1: Latch left ready
(enable position latching using SWITCH_MODE settings
latch_l_active or latch_l_inactive)
This bit is ORed to the interrupt output signal.
(Flag is cleared upon reading)
R
1
status_stop_r
Reference switch right status (1=active)
0
status_stop_l
Reference switch left status (1=active)
Table 6.2 RAMP_STAT register