pico-feedback icon indicating copy to clipboard operation
pico-feedback copied to clipboard

Document MicroPython `@asm_pio` syntax explicitly

Open Wren6991 opened this issue 5 years ago • 1 comments

Originally raised on Discord. There is generally a 1:1 relationship between the syntax inside @asm_pio decorators in MicroPython, and the instructions listed in the datasheet, but there are some wrinkles like the use of in_() for in instructions due to this being a reserved keyword in Python.

I think we need to expand the MP PIO docs to call out the syntax explicitly (now that it is stable) and generally provide more non-code-example docs of the PIO API.

Wren6991 avatar Jan 29 '21 15:01 Wren6991

Is this now sufficiently covered by https://docs.micropython.org/en/latest/rp2/tutorial/pio.html ?

lurch avatar Jul 09 '25 15:07 lurch