#[repr(u8)]pub enum Address {
Show 24 variants
Gconf = 0,
Gstat = 1,
Ifcnt = 2,
Slaveconf = 3,
OtpProg = 4,
OtpRead = 5,
Ioin = 6,
FactoryConf = 7,
IholdIrun = 16,
Tpowerdown = 17,
Tstep = 18,
Tpwmthrs = 19,
Tcoolthrs = 20,
Vactual = 34,
Sgthrs = 64,
SgResult = 65,
Coolconf = 66,
Mscnt = 106,
Mscuract = 107,
Chopconf = 108,
DrvStatus = 111,
Pwmconf = 112,
PwmScale = 113,
PwmAuto = 114,
}Expand description
TMC2209 register addresses.
All registers in the TMC2209 and their 7-bit addresses.
Variants§
Gconf = 0
Global configuration (0x00) - RW
Gstat = 1
Global status flags (0x01) - R+WC
Ifcnt = 2
Interface transmission counter (0x02) - R
Slaveconf = 3
UART slave configuration (0x03) - W
OtpProg = 4
OTP programming (0x04) - W
OtpRead = 5
OTP memory read (0x05) - R
Ioin = 6
Input pin states (0x06) - R
FactoryConf = 7
Factory configuration (0x07) - RW
IholdIrun = 16
Hold/run current (0x10) - W
Tpowerdown = 17
Power down delay (0x11) - W
Tstep = 18
Measured step time (0x12) - R
Tpwmthrs = 19
StealthChop threshold (0x13) - W
Tcoolthrs = 20
CoolStep threshold (0x14) - W
Vactual = 34
UART velocity control (0x22) - W
Sgthrs = 64
StallGuard threshold (0x40) - W
SgResult = 65
StallGuard result (0x41) - R
Coolconf = 66
CoolStep configuration (0x42) - W
Mscnt = 106
Microstep counter (0x6A) - R
Mscuract = 107
Microstep current (0x6B) - R
Chopconf = 108
Chopper configuration (0x6C) - RW
DrvStatus = 111
Driver status (0x6F) - R
Pwmconf = 112
StealthChop PWM configuration (0x70) - RW
PwmScale = 113
PWM scaling result (0x71) - R
PwmAuto = 114
Automatic PWM values (0x72) - R
Implementations§
Source§impl Address
impl Address
Sourcepub fn is_readable(self) -> bool
pub fn is_readable(self) -> bool
Check if this register is readable.
Sourcepub fn is_writable(self) -> bool
pub fn is_writable(self) -> bool
Check if this register is writable.