#[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.
pub const ALL: &'static [Self]
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.
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
.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
Serialize this value into the given Serde serializer. Read more
The type returned in the event of a conversion error.
Formats the value using the given formatter
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.