Struct stm32_metapac::octospi::regs::Wpir
#[repr(transparent)]pub struct Wpir(pub u32);
Expand description
wrap instruction register
Tuple Fields§
§0: u32
Implementations§
§impl Wpir
impl Wpir
pub const fn instruction(&self) -> u32
pub const fn instruction(&self) -> u32
31: 0]: Instruction Instruction to be sent to the external SPI device
pub fn set_instruction(&mut self, val: u32)
pub fn set_instruction(&mut self, val: u32)
31: 0]: Instruction Instruction to be sent to the external SPI device
Trait Implementations§
impl Copy for Wpir
impl Eq for Wpir
impl StructuralPartialEq for Wpir
Auto Trait Implementations§
impl Freeze for Wpir
impl RefUnwindSafe for Wpir
impl Send for Wpir
impl Sync for Wpir
impl Unpin for Wpir
impl UnwindSafe for Wpir
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
)