|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Register printer subsystem for debugging. More...
#include <tmc51x0.hpp>
Public Member Functions | |
| Printer (TMC51x0 &driver) noexcept | |
| Construct printer subsystem. | |
| void | PrintGconf () noexcept |
| Print GCONF register. | |
| void | PrintGstat () noexcept |
| Print GSTAT register (read and clear) | |
| void | PrintRampStat () noexcept |
| Print RAMP_STAT register. | |
| void | PrintDrvStatus () noexcept |
| Print DRV_STATUS register. | |
| void | PrintChopconf () noexcept |
| Print CHOPCONF register. | |
| void | PrintPwmconf () noexcept |
| Print PWMCONF register. | |
| void | PrintPwmScale () noexcept |
| Print PWM_SCALE register. | |
| void | PrintSwMode () noexcept |
| Print SW_MODE register. | |
| void | PrintIoin () noexcept |
| Print IOIN register. | |
| void | PrintAll () noexcept |
| Print all common registers. | |
Private Member Functions | |
| void | PrintRegisterField (const char *name, uint32_t value, const char *format="0x%08X") noexcept |
Private Attributes | |
| TMC51x0 & | driver_ |
Register printer subsystem for debugging.
Prints register values using the communication interface's LogDebug() method. All methods use TMC51X0_LOG_DEBUG() macro which respects TMC51X0_DISABLE_DEBUG_LOGGING.
|
inlineexplicitnoexcept |
Construct printer subsystem.
| driver | Reference to parent TMC51x0 driver instance |
|
noexcept |
Print all common registers.
|
noexcept |
Print CHOPCONF register.
|
noexcept |
Print DRV_STATUS register.
|
noexcept |
Print GCONF register.
|
noexcept |
Print GSTAT register (read and clear)
|
noexcept |
Print IOIN register.
|
noexcept |
Print PWMCONF register.
|
noexcept |
Print PWM_SCALE register.
|
noexcept |
Print RAMP_STAT register.
|
privatenoexcept |
|
noexcept |
Print SW_MODE register.
|
private |