Type Alias rp2040_pac::pio0::ctrl::SM_RESTART_W

source ·
pub type SM_RESTART_W<'a, REG> = FieldWriter<'a, REG, 4>;
Expand description

Field SM_RESTART writer - Write 1 to instantly clear internal SM state which may be otherwise difficult to access and will affect future execution.

Specifically, the following are cleared: input and output shift counters; the contents of the input shift register; the delay counter; the waiting-on-IRQ state; any stalled instruction written to SMx_INSTR or run by OUT/MOV EXEC; any pin write left asserted due to OUT_STICKY.

The program counter, the contents of the output shift register and the X/Y scratch registers are not affected.

Aliased Type§

struct SM_RESTART_W<'a, REG> { /* private fields */ }