#[repr(transparent)]pub struct P4stat(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl P4stat
impl P4stat
Sourcepub const fn set_rdstat(&mut self, val: u8)
pub const fn set_rdstat(&mut self, val: u8)
Status of Host Read data
Sourcepub const fn set_wrstat(&mut self, val: u8)
pub const fn set_wrstat(&mut self, val: u8)
Status of Host Writes
Sourcepub const fn set_interr(&mut self, val: bool)
pub const fn set_interr(&mut self, val: bool)
Interrupt was caused by error
Sourcepub const fn intrd(&self) -> bool
pub const fn intrd(&self) -> bool
Interrupt was caused by Read or 1st Read or Bus master Started.
Sourcepub const fn set_intrd(&mut self, val: bool)
pub const fn set_intrd(&mut self, val: bool)
Interrupt was caused by Read or 1st Read or Bus master Started.
Sourcepub const fn intwr(&self) -> bool
pub const fn intwr(&self) -> bool
Interrupt was caused by Write or 1st Write or Bus master Started.
Sourcepub const fn set_intwr(&mut self, val: bool)
pub const fn set_intwr(&mut self, val: bool)
Interrupt was caused by Write or 1st Write or Bus master Started.
Sourcepub const fn intspc(&self) -> u8
pub const fn intspc(&self) -> u8
Interrupt was caused by: Bit Endpoint Idx/Data Mbox BusMaster/Flash SPC0 CMD Idx Change Write 0 Completed SPC1 - - Read 0 - SPC2 - - Write Last - SPC3 - - Read Last -
Sourcepub const fn set_intspc(&mut self, val: u8)
pub const fn set_intspc(&mut self, val: u8)
Interrupt was caused by: Bit Endpoint Idx/Data Mbox BusMaster/Flash SPC0 CMD Idx Change Write 0 Completed SPC1 - - Read 0 - SPC2 - - Write Last - SPC3 - - Read Last -
Trait Implementations§
impl Copy for P4stat
impl Eq for P4stat
impl StructuralPartialEq for P4stat
Auto Trait Implementations§
impl Freeze for P4stat
impl RefUnwindSafe for P4stat
impl Send for P4stat
impl Sync for P4stat
impl Unpin for P4stat
impl UnwindSafe for P4stat
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