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