Struct 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