#[repr(transparent)]pub struct Scfgr1(pub u32);Expand description
Target Configuration 1
Tuple Fields§
§0: u32Implementations§
Source§impl Scfgr1
impl Scfgr1
Sourcepub const fn set_adrstall(&mut self, val: bool)
pub const fn set_adrstall(&mut self, val: bool)
Address SCL Stall
Sourcepub const fn set_rxstall(&mut self, val: bool)
pub const fn set_rxstall(&mut self, val: bool)
RX SCL Stall
Sourcepub const fn set_txdstall(&mut self, val: bool)
pub const fn set_txdstall(&mut self, val: bool)
Transmit Data SCL Stall
Sourcepub const fn set_ackstall(&mut self, val: bool)
pub const fn set_ackstall(&mut self, val: bool)
ACK SCL Stall
Sourcepub const fn set_rxnack(&mut self, val: Rxnack)
pub const fn set_rxnack(&mut self, val: Rxnack)
Receive NACK
Sourcepub const fn ignack(&self) -> Scfgr1Ignack
pub const fn ignack(&self) -> Scfgr1Ignack
Ignore NACK
Sourcepub const fn set_ignack(&mut self, val: Scfgr1Ignack)
pub const fn set_ignack(&mut self, val: Scfgr1Ignack)
Ignore NACK
Sourcepub const fn set_addrcfg(&mut self, val: Addrcfg)
pub const fn set_addrcfg(&mut self, val: Addrcfg)
Address Configuration
Trait Implementations§
impl Copy for Scfgr1
impl Eq for Scfgr1
impl StructuralPartialEq for Scfgr1
Auto Trait Implementations§
impl Freeze for Scfgr1
impl RefUnwindSafe for Scfgr1
impl Send for Scfgr1
impl Sync for Scfgr1
impl Unpin for Scfgr1
impl UnwindSafe for Scfgr1
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