Type Alias rp2040_pac::pio0::fdebug::R

source ·
pub type R = R<FDEBUG_SPEC>;
Expand description

Register FDEBUG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn rxstall(&self) -> RXSTALL_R

Bits 0:3 - 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.

source

pub fn rxunder(&self) -> RXUNDER_R

Bits 8:11 - 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.

source

pub fn txover(&self) -> TXOVER_R

Bits 16:19 - 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.

source

pub fn txstall(&self) -> TXSTALL_R

Bits 24:27 - State machine has stalled on empty TX FIFO during a blocking PULL, or an OUT with autopull enabled. Write 1 to clear.