|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
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) | |
Input pin status structure.
Represents the state of the TMC51x0 input pins as read from the IOIN register.
| bool tmc51x0::InputStatus::drv_enn {false} |
Driver enable (inverted)
| bool tmc51x0::InputStatus::enc_n_dco_cfg6 {false} |
Encoder N / DCO / CFG6.
| bool tmc51x0::InputStatus::enca_dcin_cfg5 {false} |
Encoder A / DCIN / CFG5.
| bool tmc51x0::InputStatus::encb_dcen_cfg4 {false} |
Encoder B / DCEN / CFG4.
| bool tmc51x0::InputStatus::refl_step {false} |
Reference left / step input.
| bool tmc51x0::InputStatus::refr_dir {false} |
Reference right / direction input.
| bool tmc51x0::InputStatus::sd_mode {false} |
SD_MODE pin (1=External step and dir source)
| bool tmc51x0::InputStatus::swcomp_in {false} |
Software comparator input.
| uint8_t tmc51x0::InputStatus::version {0} |
IC version (0x11 for TMC5130, 0x30 for TMC5160)