Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ports/raspberrypi/bindings/rp2pio/StateMachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
//| """A type representing one of the strings ``"auto"``, ``"txrx"``, ``"tx"``, or ``"rx"``. These values are supported on both RP2350 and RP2040. For type-checking only, not actually defined in CircuitPython."""
//| MovStatusType = Literal["txfifo", "rxfifo", "irq"]
//| """A type representing one of the strings ``"txfifo"``, ``"rxfifo"``, or ``"irq"``. These values are supported on RP2350. For type-checking only, not actually defined in CircuitPython."""
//| MovStatusType_piov0 = Literal["txfifo"]
//| """A type representing the string ``"txfifo"``. This value is supported on RP2350 and RP2040. For type-checking only, not actually defined in CircuitPython."""
//| MovStatusType_piov0 = Literal["txfifo", "rxfifo"]
//| """A type representing one of the strings ``"txfifo"``, ``"rxfifo"``. These values are supported on RP2350 and RP2040. For type-checking only, not actually defined in CircuitPython."""
//|
//|
//| class StateMachine:
Expand Down
3 changes: 2 additions & 1 deletion ports/raspberrypi/common-hal/rp2pio/StateMachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,9 @@ bool rp2pio_statemachine_construct(rp2pio_statemachine_obj_t *self,

sm_config_set_fifo_join(&c, join);

sm_config_set_mov_status(&c, mov_status_type, mov_status_n);

// TODO: these arguments
// int mov_status_type, int mov_status_n,
// int set_count, int out_count

self->sm_config = c;
Expand Down
Loading