Currently the PIO Exec register configuration bit SIDE_EN is supported in the parser, but not support for SIDE_PINDIR:
This means that in the line
.side_set 1 opt pindirs
the opt token is recognized but not pindirs:
... elif line.startswith(".side_set"):
sideset_count = int(line.split()[1], 0)
sideset_enable = "opt" in line
elif line.endswith(":"):
...
If a sideset_dir variable is added, that can apply to the delay limit adjustment too, currently:
max_delay = 2 ** (5 - sideset_count - sideset_enable) - 1
Additional detail in the request for the corresponding CP StateMachine() support is here,
[https://github.com/adafruit/circuitpython/issues/9630]
Currently the PIO Exec register configuration bit SIDE_EN is supported in the parser, but not support for SIDE_PINDIR: This means that in the line
.side_set 1 opt pindirs
theopt
token is recognized but notpindirs
:If a
sideset_dir
variable is added, that can apply to the delay limit adjustment too, currently:max_delay = 2 ** (5 - sideset_count - sideset_enable) - 1
Additional detail in the request for the corresponding CP
StateMachine()
support is here, [https://github.com/adafruit/circuitpython/issues/9630]