Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

SDK • Re: jmp vs .wrap

$
0
0
Otherwise with jmp low side 0b11 your state machine is waiting 2 cycles before reaching the label named low. In a real world signaling app, would it matter? Likely not, but you get my point.
Actually it matters a lot (symmetry, jitter, max. frequency etc.).

A tighter and symmetric version, doing the same thing:

Code:

.wrap_targetWAIT 0 PIN x side 0b11WAIT 1 PIN xside 0b00.wrap
With RP2350 can also use the newer
wait <polarity> jmppin (+ <pin_offset>)

Statistics: Posted by gmx — Fri Jan 16, 2026 1:47 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles