circuitpython/ports
robert-hh 22554cf8e2 rp2/rp2_pio: Add StateMachine restart,rx_fifo,tx_fifo helper functions.
StateMachine.restart: Restarts the state machine
StateMachine.rx_fifo: Return the number of RX FIFO items, 0 if empty
StateMachine.tx_fifo: Return the number of TX FIFO items, 0 if empty

restart() seems to be the most useful one, as it resets the state machine
to the initial state without the need to re-initialise/re-create.  It also
makes PIO code easier, because then stalling as an error state can be
unlocked.

rx_fifo() is also useful, for MP code to check for data and timeout if no
data arrived.  Complex logic is easier handled in Python code than in PIO
code.

tx_fifo() can be useful to check states where data is not processed, and is
mostly for symmetry.
2021-04-11 22:41:54 +10:00
..
bare-arm bare-arm: Clean up the code, make it run on an F405, and add a README. 2021-03-19 14:20:26 +11:00
cc3200 tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
esp32 esp32: Enable btree module. 2021-04-09 13:33:26 +10:00
esp8266 esp8266/modules: Fix fs_corrupted() to use start_sec not START_SEC. 2021-02-09 10:46:07 +11:00
javascript tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
mimxrt mimxrt/boards: Add MIMXRT1050_EVK board, based on MIMXRT1060_EVK. 2021-03-11 16:42:38 +11:00
minimal ports: Disable MICROPY_PY_ASSIGN_EXPR in bare-arm and minimal ports. 2020-06-16 22:06:21 +10:00
nrf nrf/drivers/usb: Add USBD_IRQHandler which calls tud_int_handler. 2021-02-13 13:52:53 +11:00
pic16bit ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default. 2021-02-04 22:39:17 +11:00
powerpc ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default. 2021-02-04 22:39:17 +11:00
qemu-arm tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
rp2 rp2/rp2_pio: Add StateMachine restart,rx_fifo,tx_fifo helper functions. 2021-04-11 22:41:54 +10:00
samd samd/mphalport: Fix USB CDC tx handling to work reliably. 2021-02-12 14:09:01 +11:00
stm32 stm32/boards/NUCLEO_L476RG: Add 5 remaining UARTs. 2021-04-09 15:00:55 +10:00
teensy ports: Remove def of MP_PLAT_PRINT_STRN if it's the same as the default. 2021-02-04 22:39:17 +11:00
unix unix: Improve command line argument processing. 2021-04-07 12:41:25 +10:00
windows tests: Rename run-tests to run-tests.py for consistency. 2021-03-12 19:56:09 +11:00
zephyr py/py.cmake: Introduce MICROPY_INC_CORE as a list with core includes. 2021-04-09 13:08:35 +10:00