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

Encoder N-channel event conditions (ENCMODE, page 46). More...

#include <tmc5160_types.hpp>

Public Attributes

bool pol_a {false}
 Required A polarity.
 
bool pol_b {false}
 Required B polarity.
 
bool pol_n {false}
 Active polarity of N.
 
bool ignore_ab {false}
 Ignore A and B.
 
bool repeat {false}
 Latch or clear on every N event (clr_cont).
 
bool once {false}
 Latch or clear on the next N event only (clr_once).
 
bool pos_edge {false}
 Sensitive to the active-going edge.
 
bool neg_edge {false}
 Sensitive to the inactive-going edge.
 
bool clear_counter {false}
 Clear X_ENC at the event.
 
bool latch_xactual {false}
 Latch XACTUAL at the event.
 

Detailed Description

Encoder N-channel event conditions (ENCMODE, page 46).


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