#[repr(transparent)]pub struct P1stat(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl P1stat
impl P1stat
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 P1stat
impl Eq for P1stat
impl StructuralPartialEq for P1stat
Auto Trait Implementations§
impl Freeze for P1stat
impl RefUnwindSafe for P1stat
impl Send for P1stat
impl Sync for P1stat
impl Unpin for P1stat
impl UnwindSafe for P1stat
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