circuitpython/ports/samd/mcu/samd51
robert-hh 20fd22edad samd/machine_uart: Add support for UART hardware flow control.
By specifying rts=pin(x) and/or cts=Pin(x) in the constructor.  The pad
numbers for the UART pins are fix in this case: TX must be at pad 0, RX at
pad 1, RTS at pad 2 and CTS at pad 3.

repr(uart) shows the pin names for rts and cts, if set.  In case of a RX
overflow, the rx interrupt will be disabled instead of just discarding the
data.  That allows RTS to act.

If RTS is inactive, still 2 bytes can be buffered in the FIFO.

Signed-off-by: robert-hh <robert@hammelrath.com>
2023-05-23 09:53:24 +10:00
..
clock_config.c samd/mcu: Reduce the startup time after hard reset. 2023-05-22 18:41:48 +10:00
manifest.py samd/mcu/samd51: Use an additional manifest.py for SAMD51 boards. 2022-11-08 23:22:26 +11:00
mpconfigmcu.h samd/machine_uart: Add support for UART hardware flow control. 2023-05-23 09:53:24 +10:00
mpconfigmcu.mk samd: Rearrange the MCU-specific loader files. 2023-05-22 18:36:29 +10:00
pin-af-table.csv all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00