|
24 | 24 | //| import memorymap
|
25 | 25 | //|
|
26 | 26 | //| FifoType = Literal["auto", "txrx", "tx", "rx", "txput", "txget", "putget"]
|
| 27 | +//| """A type representing one of the strings ``"auto"``, ``"txrx"``, ``"tx"``, ``"rx"``, ``"txput"``, ``"txget"`` or ``"putget"``. These values are supported on RP2350. For type-checking only, not actually defined in CircuitPython.""" |
27 | 28 | //| FifoType_piov0 = Literal["auto", "txrx", "tx", "rx"]
|
| 29 | +//| """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.""" |
28 | 30 | //| MovStatusType = Literal["txfifo", "rxfifo", "irq"]
|
| 31 | +//| """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.""" |
29 | 32 | //| MovStatusType_piov0 = Literal["txfifo"]
|
| 33 | +//| """A type representing the string ``"txfifo"``. This value is supported on RP2350 and RP2040. For type-checking only, not actually defined in CircuitPython.""" |
30 | 34 | //|
|
31 | 35 | //| class StateMachine:
|
32 | 36 | //| """A single PIO StateMachine
|
|
152 | 156 | //| :param int wrap: The instruction after which to wrap to the ``wrap``
|
153 | 157 | //| instruction. As a special case, -1 (the default) indicates the
|
154 | 158 | //| last instruction of the program.
|
155 |
| -//| :param FifoType fifo_type: How the program accessess the FIFOs. PIO version 0 only supports a subset of values. |
156 |
| -//| :param MovStatusType mov_status_type: What condition the ``mov status`` instruction checks. PIO version 0 only supports a subset of values. |
| 159 | +//| :param FifoType fifo_type: How the program accessess the FIFOs. PIO version 0 in the RP2040 only supports a subset of values, `FifoType_piov0`. |
| 160 | +//| :param MovStatusType mov_status_type: What condition the ``mov status`` instruction checks. PIO version 0 in the RP2040 only supports a subset of values, `MovStatusType_piov0`. |
157 | 161 | //| :param MovStatusType mov_status_n: The FIFO depth or IRQ the ``mov status`` instruction checks for. For ``mov_status irq`` this includes the encoding of the ``next``/``prev`` selection bits.
|
158 | 162 | //| """
|
159 | 163 | //| ...
|
|
0 commit comments