#[repr(transparent)]pub struct Mstat(pub u32);Expand description
Master Status
Tuple Fields§
§0: u32Implementations§
Source§impl Mstat
impl Mstat
Sourcepub const fn set_portint(&mut self, val: u8)
pub const fn set_portint(&mut self, val: u8)
Port Interrupt
Sourcepub const fn set_p80int(&mut self, val: bool)
pub const fn set_p80int(&mut self, val: bool)
Port80 Interrupt Request
Sourcepub const fn set_busrst(&mut self, val: bool)
pub const fn set_busrst(&mut self, val: bool)
Bus Reset
Sourcepub const fn set_irqupd(&mut self, val: bool)
pub const fn set_irqupd(&mut self, val: bool)
Interrupt Request Update Completion
Sourcepub const fn set_wirechg(&mut self, val: bool)
pub const fn set_wirechg(&mut self, val: bool)
Wire Change
Sourcepub const fn set_hstall(&mut self, val: bool)
pub const fn set_hstall(&mut self, val: bool)
Host Stall
Sourcepub const fn set_crcerr(&mut self, val: bool)
pub const fn set_crcerr(&mut self, val: bool)
Cyclic Redundancy Check (CRC) Error
Sourcepub const fn set_comppend(&mut self, val: bool)
pub const fn set_comppend(&mut self, val: bool)
Completion Pending
Sourcepub const fn set_mastpend(&mut self, val: bool)
pub const fn set_mastpend(&mut self, val: bool)
Master Pending
Sourcepub const fn set_alertpend(&mut self, val: bool)
pub const fn set_alertpend(&mut self, val: bool)
Alert Pending
Trait Implementations§
impl Copy for Mstat
impl Eq for Mstat
impl StructuralPartialEq for Mstat
Auto Trait Implementations§
impl Freeze for Mstat
impl RefUnwindSafe for Mstat
impl Send for Mstat
impl Sync for Mstat
impl Unpin for Mstat
impl UnwindSafe for Mstat
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