circuitpython/docs/samd
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
..
img docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
tutorial docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
general.rst docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
pinout.rst samd/machine_uart: Add support for UART hardware flow control. 2023-05-23 09:53:24 +10:00
quickref.rst docs/samd: Make use of pin names more consistent in examples. 2023-05-04 13:19:19 +10:00