#[repr(transparent)]pub struct Control(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Control
impl Control
Sourcepub const fn if_(&self) -> bool
pub const fn if_(&self) -> bool
Read-only interrupt flag. Writes ignored; acknowledge with IACK.
Sourcepub const fn set_if_(&mut self, val: bool)
pub const fn set_if_(&mut self, val: bool)
Read-only interrupt flag. Writes ignored; acknowledge with IACK.
pub const fn ie(&self) -> bool
pub const fn set_ie(&mut self, val: bool)
Sourcepub const fn bc12(&self) -> bool
pub const fn bc12(&self) -> bool
One selects BC1.2, zero BC1.1. Must not change after detection starts.
Sourcepub const fn set_bc12(&mut self, val: bool)
pub const fn set_bc12(&mut self, val: bool)
One selects BC1.2, zero BC1.1. Must not change after detection starts.
Sourcepub const fn start(&self) -> bool
pub const fn start(&self) -> bool
Start detection after software reset and configuration. Writes of zero or writes during an active sequence have no effect.
Sourcepub const fn set_start(&mut self, val: bool)
pub const fn set_start(&mut self, val: bool)
Start detection after software reset and configuration. Writes of zero or writes during an active sequence have no effect.
Trait Implementations§
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnwindSafe for Control
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