#[repr(transparent)]pub struct Pstat(pub u32);Expand description
Status register for channel pair
Tuple Fields§
§0: u32Implementations§
Source§impl Pstat
impl Pstat
Sourcepub const fn set_slvfrmerr(&mut self, val: bool)
pub const fn set_slvfrmerr(&mut self, val: bool)
Save Frame Error flag.
Sourcepub const fn datapaused(&self) -> bool
pub const fn datapaused(&self) -> bool
Data Paused status flag.
Sourcepub const fn set_datapaused(&mut self, val: bool)
pub const fn set_datapaused(&mut self, val: bool)
Data Paused status flag.
Trait Implementations§
impl Copy for Pstat
impl Eq for Pstat
impl StructuralPartialEq for Pstat
Auto Trait Implementations§
impl Freeze for Pstat
impl RefUnwindSafe for Pstat
impl Send for Pstat
impl Sync for Pstat
impl Unpin for Pstat
impl UnwindSafe for Pstat
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