docs/library/rp2.rst: Update function asm_pio_encode to add sideset_opt.

pull/7979/head
oli 2021-10-09 11:50:50 +01:00 zatwierdzone przez Damien George
rodzic 0a9335ecaa
commit f72b49756d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -58,7 +58,7 @@ For running PIO programs, see :class:`rp2.StateMachine`.
combined into a single 8-word FIFO for one direction only. The options
are `PIO.JOIN_NONE`, `PIO.JOIN_RX` and `PIO.JOIN_TX`.
.. function:: asm_pio_encode(instr, sideset_count)
.. function:: asm_pio_encode(instr, sideset_count, sideset_opt=False)
Assemble a single PIO instruction. You usually want to use `asm_pio()`
instead.