pio wait irq next/prev: Documentation and pioasm disagree #440
Labels
documentation
Improvements or additions to documentation
pdf
pio
A query about PIO.
rp2350
Concerning the RP2350 chip
In what I think is the latest version of the rp2350 datasheet (build-date: 2024-10-16, build-version: 5e790a3-clean), “11.4.3.3. Assembler Syntax” describes the following:
However, pioasm's parser.yy defines the following syntax (abridgred except):
Experimentation confirms this:
My best guess is that the documentation is incorrect. For the
.mov_status irq <(next|prev)> set <n>
directive, both agree that thenext|prev
keyword should go after theirq
keyword, and the way the parser specifies the syntax seems to be clearly intentional.So I guess the documentation should explicitly mention two alternatives as
rel
must be at the end:The text was updated successfully, but these errors were encountered: