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

Input pin status structure. More...

#include <tmc51x0_types.hpp>

Public Attributes

bool refl_step {false}
 Reference left / step input.
 
bool refr_dir {false}
 Reference right / direction input.
 
bool encb_dcen_cfg4 {false}
 Encoder B / DCEN / CFG4.
 
bool enca_dcin_cfg5 {false}
 Encoder A / DCIN / CFG5.
 
bool drv_enn {false}
 Driver enable (inverted)
 
bool enc_n_dco_cfg6 {false}
 Encoder N / DCO / CFG6.
 
bool sd_mode {false}
 SD_MODE pin (1=External step and dir source)
 
bool swcomp_in {false}
 Software comparator input.
 
uint8_t version {0}
 IC version (0x11 for TMC5130, 0x30 for TMC5160)
 

Detailed Description

Input pin status structure.

Represents the state of the TMC51x0 input pins as read from the IOIN register.

Member Data Documentation

◆ drv_enn

bool tmc51x0::InputStatus::drv_enn {false}

Driver enable (inverted)

◆ enc_n_dco_cfg6

bool tmc51x0::InputStatus::enc_n_dco_cfg6 {false}

Encoder N / DCO / CFG6.

◆ enca_dcin_cfg5

bool tmc51x0::InputStatus::enca_dcin_cfg5 {false}

Encoder A / DCIN / CFG5.

◆ encb_dcen_cfg4

bool tmc51x0::InputStatus::encb_dcen_cfg4 {false}

Encoder B / DCEN / CFG4.

◆ refl_step

bool tmc51x0::InputStatus::refl_step {false}

Reference left / step input.

◆ refr_dir

bool tmc51x0::InputStatus::refr_dir {false}

Reference right / direction input.

◆ sd_mode

bool tmc51x0::InputStatus::sd_mode {false}

SD_MODE pin (1=External step and dir source)

◆ swcomp_in

bool tmc51x0::InputStatus::swcomp_in {false}

Software comparator input.

◆ version

uint8_t tmc51x0::InputStatus::version {0}

IC version (0x11 for TMC5130, 0x30 for TMC5160)


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