From f72b49756d08d4fa8571a88663fe4c094e5ef60c Mon Sep 17 00:00:00 2001 From: oli Date: Sat, 9 Oct 2021 11:50:50 +0100 Subject: [PATCH] docs/library/rp2.rst: Update function asm_pio_encode to add sideset_opt. --- docs/library/rp2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/rp2.rst b/docs/library/rp2.rst index 43143fe089..05d3b80f3a 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.