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