#[repr(transparent)]pub struct Fdebug(pub u32);
Expand description
FIFO debug register
Tuple Fields§
§0: u32
Implementations§
source§impl Fdebug
impl Fdebug
sourcepub const fn rxstall(&self) -> u8
pub const fn rxstall(&self) -> u8
State machine has stalled on full RX FIFO during a blocking PUSH, or an IN with autopush enabled. This flag is also set when a nonblocking PUSH to a full FIFO took place, in which case the state machine has dropped data. Write 1 to clear.
sourcepub fn set_rxstall(&mut self, val: u8)
pub fn set_rxstall(&mut self, val: u8)
State machine has stalled on full RX FIFO during a blocking PUSH, or an IN with autopush enabled. This flag is also set when a nonblocking PUSH to a full FIFO took place, in which case the state machine has dropped data. Write 1 to clear.
sourcepub const fn rxunder(&self) -> u8
pub const fn rxunder(&self) -> u8
RX FIFO underflow (i.e. read-on-empty by the system) has occurred. Write 1 to clear. Note that read-on-empty does not perturb the state of the FIFO in any way, but the data returned by reading from an empty FIFO is undefined, so this flag generally only becomes set due to some kind of software error.
sourcepub fn set_rxunder(&mut self, val: u8)
pub fn set_rxunder(&mut self, val: u8)
RX FIFO underflow (i.e. read-on-empty by the system) has occurred. Write 1 to clear. Note that read-on-empty does not perturb the state of the FIFO in any way, but the data returned by reading from an empty FIFO is undefined, so this flag generally only becomes set due to some kind of software error.
sourcepub const fn txover(&self) -> u8
pub const fn txover(&self) -> u8
TX FIFO overflow (i.e. write-on-full by the system) has occurred. Write 1 to clear. Note that write-on-full does not alter the state or contents of the FIFO in any way, but the data that the system attempted to write is dropped, so if this flag is set, your software has quite likely dropped some data on the floor.
sourcepub fn set_txover(&mut self, val: u8)
pub fn set_txover(&mut self, val: u8)
TX FIFO overflow (i.e. write-on-full by the system) has occurred. Write 1 to clear. Note that write-on-full does not alter the state or contents of the FIFO in any way, but the data that the system attempted to write is dropped, so if this flag is set, your software has quite likely dropped some data on the floor.
sourcepub const fn txstall(&self) -> u8
pub const fn txstall(&self) -> u8
State machine has stalled on empty TX FIFO during a blocking PULL, or an OUT with autopull enabled. Write 1 to clear.
sourcepub fn set_txstall(&mut self, val: u8)
pub fn set_txstall(&mut self, val: u8)
State machine has stalled on empty TX FIFO during a blocking PULL, or an OUT with autopull enabled. Write 1 to clear.
Trait Implementations§
impl Copy for Fdebug
impl Eq for Fdebug
impl StructuralPartialEq for Fdebug
Auto Trait Implementations§
impl Freeze for Fdebug
impl RefUnwindSafe for Fdebug
impl Send for Fdebug
impl Sync for Fdebug
impl Unpin for Fdebug
impl UnwindSafe for Fdebug
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
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)
clone_to_uninit
)