Struct QspiEnable
#[repr(transparent)]pub struct QspiEnable(pub u32);Expand description
Enable QSPI peripheral and acquire the pins selected in PSELn registers.
Tuple Fields§
§0: u32Implementations§
§impl QspiEnable
impl QspiEnable
pub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
Enable or disable QSPI.
Trait Implementations§
§impl Clone for QspiEnable
impl Clone for QspiEnable
§fn clone(&self) -> QspiEnable
fn clone(&self) -> QspiEnable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QspiEnable
§impl Debug for QspiEnable
impl Debug for QspiEnable
§impl Default for QspiEnable
impl Default for QspiEnable
§fn default() -> QspiEnable
fn default() -> QspiEnable
Returns the “default value” for a type. Read more
impl Eq for QspiEnable
§impl PartialEq for QspiEnable
impl PartialEq for QspiEnable
impl StructuralPartialEq for QspiEnable
Auto Trait Implementations§
impl Freeze for QspiEnable
impl RefUnwindSafe for QspiEnable
impl Send for QspiEnable
impl Sync for QspiEnable
impl Unpin for QspiEnable
impl UnsafeUnpin for QspiEnable
impl UnwindSafe for QspiEnable
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