Closed kevindawson closed 3 years ago
I have been having a little hack around - see below re: 6832 the following is a stub tweak please
from -> rp2.pyi
def asm_pio( set_init: int = None, out_shiftdir: int = None, autopull: bool = None, pull_thresh: int = None, set_pins: Iterable[Sequence[int]] = None, sideset_pins: int = None, sideset_init: int = None, out_init: int = None, autopush: bool = None, push_thresh: int = None, in_base: int = None, out_base: int = None, ) -> Any:
from -> https://github.com/micropython/micropython/blob/master/ports/rp2/modules/rp2.py
class PIOASMEmit: def __init__( self, *, out_init=None, set_init=None, sideset_init=None, in_shiftdir=0, out_shiftdir=0, autopush=False, autopull=False, push_thresh=32, pull_thresh=32 ):
Should be:
def asm_pio( out_init: int = None, set_init: int = None, sideset_init: int = None, in_shiftdir: int = 0, out_shiftdir: int = 0, autopush: bool = False, autopull: bool = False, push_thresh: int = 32, pull_thresh: int = 32, ) -> Any:
nb. fifo_join=0 -> pioasme due soon
fifo_join=0 it's been committed rp2/rp2_pio: Add fifo_join support for PIO.
fifo_join=0
plus
class PIO: ... JOIN_NONE = 0 JOIN_TX = 1 JOIN_RX = 2
see pull #15
I have been having a little hack around - see below re: 6832 the following is a stub tweak please
from -> rp2.pyi
from -> https://github.com/micropython/micropython/blob/master/ports/rp2/modules/rp2.py
Should be:
nb. fifo_join=0 -> pioasme due soon