Trait tock_registers::fields::TryFromValue
source · pub trait TryFromValue<V> {
type EnumType;
// Required method
fn try_from_value(v: V) -> Option<Self::EnumType>;
}
Expand description
Conversion of raw register value into enumerated values member. Implemented inside register_bitfields! macro for each bit field.
Required Associated Types§
Required Methods§
fn try_from_value(v: V) -> Option<Self::EnumType>
Object Safety§
This trait is not object safe.