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