#[repr(transparent)]pub struct Fstat(pub u32);
Expand description
FIFO status register
Tuple Fields§
§0: u32
Implementations§
source§impl Fstat
impl Fstat
sourcepub fn set_rxfull(&mut self, val: u8)
pub fn set_rxfull(&mut self, val: u8)
State machine RX FIFO is full
sourcepub fn set_rxempty(&mut self, val: u8)
pub fn set_rxempty(&mut self, val: u8)
State machine RX FIFO is empty
sourcepub fn set_txfull(&mut self, val: u8)
pub fn set_txfull(&mut self, val: u8)
State machine TX FIFO is full
sourcepub fn set_txempty(&mut self, val: u8)
pub fn set_txempty(&mut self, val: u8)
State machine TX FIFO is empty
Trait Implementations§
impl Copy for Fstat
impl Eq for Fstat
impl StructuralPartialEq for Fstat
Auto Trait Implementations§
impl Freeze for Fstat
impl RefUnwindSafe for Fstat
impl Send for Fstat
impl Sync for Fstat
impl Unpin for Fstat
impl UnwindSafe for Fstat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)