pub enum RegisterAddress {
Show 21 variants
CRC = 0,
FAR = 1,
FDRI = 2,
FDRO = 3,
CMD = 4,
CTL0 = 5,
MASK = 6,
STAT = 7,
LOUT = 8,
COR0 = 9,
MFWR = 10,
CBC = 11,
IDCODE = 12,
AXSS = 13,
COR1 = 14,
WBSTAR = 16,
TIMER = 17,
UNKNOWN_1 = 19,
BOOTSTS = 22,
CTL1 = 24,
BSPI = 31,
}Variants§
CRC = 0
FAR = 1
FDRI = 2
FDRO = 3
CMD = 4
CTL0 = 5
MASK = 6
STAT = 7
LOUT = 8
COR0 = 9
MFWR = 10
CBC = 11
IDCODE = 12
AXSS = 13
COR1 = 14
WBSTAR = 16
TIMER = 17
UNKNOWN_1 = 19
BOOTSTS = 22
CTL1 = 24
BSPI = 31
Trait Implementations§
Source§impl Clone for RegisterAddress
impl Clone for RegisterAddress
Source§fn clone(&self) -> RegisterAddress
fn clone(&self) -> RegisterAddress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisterAddress
impl Debug for RegisterAddress
Source§impl Default for RegisterAddress
impl Default for RegisterAddress
Source§impl Display for RegisterAddress
impl Display for RegisterAddress
Source§impl PartialEq for RegisterAddress
impl PartialEq for RegisterAddress
Source§impl PrimitiveEnum<u8> for RegisterAddress
impl PrimitiveEnum<u8> for RegisterAddress
Source§fn from_primitive(val: u8) -> Option<Self>
fn from_primitive(val: u8) -> Option<Self>
Convert from a primitive, might fail.
Source§fn to_primitive(&self) -> u8
fn to_primitive(&self) -> u8
Convert to a primitive value.
Source§fn to_display_str(&self) -> &'static str
fn to_display_str(&self) -> &'static str
Display value, same as the name of a particular variant.
Source§fn from_str(s: &str) -> Option<Self>
fn from_str(s: &str) -> Option<Self>
Convert from a string value representing the variant. Case sensitive.
Source§fn from_str_lower(s: &str) -> Option<Self>
fn from_str_lower(s: &str) -> Option<Self>
Convert from a string value representing the variant. Lowercase.
Source§fn all_variants() -> &'static [Self]
fn all_variants() -> &'static [Self]
A list all possible string variants.
impl Copy for RegisterAddress
impl StructuralPartialEq for RegisterAddress
Auto Trait Implementations§
impl Freeze for RegisterAddress
impl RefUnwindSafe for RegisterAddress
impl Send for RegisterAddress
impl Sync for RegisterAddress
impl Unpin for RegisterAddress
impl UnwindSafe for RegisterAddress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more