Assembly Code
Pin Configuration
Shift & FIFO Control
Timing Chart Signals
State STOPPED Clock: 0
| SM | Program | Status | PC | Instruction | X | Y | Cycles |
|---|
FIFOs
TX FIFO system → state machine
RX FIFO state machine → system
GPIO State (32-bit)
Right-Click/Shift+Click: Toggle Direction (In/Out).
Alt+Click: Toggle INPUT_SYNC_BYPASS for this GPIO.
Inputs reach the state machine 1 system clock late when bypassed and 3 through the synchronizer, so it sees its own outputs 2 / 4 system clocks later (measured on RP2040 and RP2350). JMP PIN is faster: 1 / 3 on RP2040, 2 / 3 on RP2350 (also measured; see Chip).
Output High Output Low Input Low Input High S Synchronizer engaged (hardware default; 2 extra cycles of input latency) W Driven by a
#pragma pio_sim waveform
Timing Chart (GPIO 0-3)
set pindirs)
pragma waveform
IRQ flag