#[repr(transparent)]pub struct Ctrl(pub u32);Expand description
Input sampling and buffering control (used by the VPR coprocessor for emulating a QSPI peripheral)
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn set_rxdelay(&mut self, val: u8)
pub const fn set_rxdelay(&mut self, val: u8)
Delay selection
Sourcepub const fn set_sckphase(&mut self, val: Sckphase)
pub const fn set_sckphase(&mut self, val: Sckphase)
SCK phase
Sourcepub const fn dataenable(&self) -> Dataenable
pub const fn dataenable(&self) -> Dataenable
Enable delayed sampling
Sourcepub const fn set_dataenable(&mut self, val: Dataenable)
pub const fn set_dataenable(&mut self, val: Dataenable)
Enable delayed sampling
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)