summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroli <oli@example.com>2021-10-09 11:50:50 +0100
committerDamien George <damien@micropython.org>2021-11-19 13:38:56 +1100
commitf72b49756d08d4fa8571a88663fe4c094e5ef60c (patch)
treebeffda7fc6a366d134e0012e65798f4cfbfe38cf
parent0a9335ecaa2bda2de1af86be426c9ed6c8849f16 (diff)
docs/library/rp2.rst: Update function asm_pio_encode to add sideset_opt.
-rw-r--r--docs/library/rp2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/rp2.rst b/docs/library/rp2.rst
index 43143fe08..05d3b80f3 100644
--- a/docs/library/rp2.rst
+++ b/docs/library/rp2.rst
@@ -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.