#[repr(transparent)]pub struct Ctrl(pub u32);Expand description
FLEXIO Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn set_flexen(&mut self, val: bool)
pub const fn set_flexen(&mut self, val: bool)
FLEXIO Enable.
Sourcepub const fn swrst(&self) -> bool
pub const fn swrst(&self) -> bool
Not a self-clearing pulse: software must clear it; other registers ignore accesses while reset remains asserted or crossing the functional clock domain.
Sourcepub const fn set_swrst(&mut self, val: bool)
pub const fn set_swrst(&mut self, val: bool)
Not a self-clearing pulse: software must clear it; other registers ignore accesses while reset remains asserted or crossing the functional clock domain.
Sourcepub const fn set_fastacc(&mut self, val: Fastacc)
pub const fn set_fastacc(&mut self, val: Fastacc)
Fast Access. Requires functional clock >= bus clock.
Trait Implementations§
impl Copy for Ctrl
impl Eq for Ctrl
impl StructuralPartialEq for Ctrl
Auto Trait Implementations§
impl Freeze for Ctrl
impl RefUnwindSafe for Ctrl
impl Send for Ctrl
impl Sync for Ctrl
impl Unpin for Ctrl
impl UnwindSafe for Ctrl
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