Enum tmc2209::reg::Address[][src]

#[repr(u8)]
pub enum Address {
Show variants GCONF, GSTAT, IFCNT, SLAVECONF, OTP_PROG, OTP_READ, IOIN, FACTORY_CONF, IHOLD_IRUN, TPOWERDOWN, TSTEP, TPWMTHRS, VACTUAL, TCOOLTHRS, SGTHRS, SG_RESULT, COOLCONF, MSCNT, MSCURACT, CHOPCONF, DRV_STATUS, PWMCONF, PWM_SCALE, PWM_AUTO,
}
Expand description

A dynamic representation of a register’s 8-bit address.

Variants

GCONF
GSTAT
IFCNT
SLAVECONF
OTP_PROG
OTP_READ
IOIN
FACTORY_CONF
IHOLD_IRUN
TPOWERDOWN
TSTEP
TPWMTHRS
VACTUAL
TCOOLTHRS
SGTHRS
SG_RESULT
COOLCONF
MSCNT
MSCURACT
CHOPCONF
DRV_STATUS
PWMCONF
PWM_SCALE
PWM_AUTO

Implementations

All register addresses.

Whether or not we can send a read request to the register address.

Whether or not we can send a write request to the register address.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

Feeds this value into the given Hasher.

Feeds a slice of this type into the given Hasher.

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Formats the value using the given formatter

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.