#[repr(transparent)]pub struct Sctrl2(pub u32);Expand description
Target Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Sctrl2
impl Sctrl2
Sourcepub const fn extdata(&self) -> bool
pub const fn extdata(&self) -> bool
Extended Data. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_extdata(&mut self, val: bool)
pub const fn set_extdata(&mut self, val: bool)
Extended Data. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_ibidata(&mut self, val: u8)
pub const fn set_ibidata(&mut self, val: u8)
In-Band Interrupt Data.
Sourcepub const fn set_pendint(&mut self, val: u8)
pub const fn set_pendint(&mut self, val: u8)
Pending Interrupt.
Sourcepub const fn set_actstate(&mut self, val: u8)
pub const fn set_actstate(&mut self, val: u8)
Activity State of Target.
Sourcepub const fn set_vendinfo(&mut self, val: u8)
pub const fn set_vendinfo(&mut self, val: u8)
Vendor Information.
Trait Implementations§
impl Copy for Sctrl2
impl Eq for Sctrl2
impl StructuralPartialEq for Sctrl2
Auto Trait Implementations§
impl Freeze for Sctrl2
impl RefUnwindSafe for Sctrl2
impl Send for Sctrl2
impl Sync for Sctrl2
impl Unpin for Sctrl2
impl UnwindSafe for Sctrl2
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