#[repr(u8)]pub enum Saddr2 {
NoStatic = 0,
Static = 1,
HwControl = 2,
Config = 3,
}Variants§
NoStatic = 0
No static address.
Static = 1
Static address is fixed in hardware.
HwControl = 2
Hardware controls the static address dynamically (for example, from the pin strap).
Config = 3
SCONFIG register supplies the static address.
Implementations§
Trait Implementations§
Source§impl Ord for Saddr2
impl Ord for Saddr2
Source§impl PartialOrd for Saddr2
impl PartialOrd for Saddr2
impl Copy for Saddr2
impl Eq for Saddr2
impl StructuralPartialEq for Saddr2
Auto Trait Implementations§
impl Freeze for Saddr2
impl RefUnwindSafe for Saddr2
impl Send for Saddr2
impl Sync for Saddr2
impl Unpin for Saddr2
impl UnwindSafe for Saddr2
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