Skip to content

Commit 36839cb

Browse files
Update serial.rst, add ignoreFlowControl docs (#1626)
1 parent 23e6897 commit 36839cb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/serial.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,13 @@ For applications where an IRQ driven serial port is not appropriate, use
4545
4646
For detailed information about the Serial ports, see the
4747
Arduino `Serial Reference <https://www.arduino.cc/reference/en/language/functions/communication/serial/>`_ .
48+
49+
50+
RP2040 Specific SerialUSB methods
51+
---------------------------------
52+
53+
int Serial.ignoreFlowControl(bool ignore)
54+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55+
In some cases, the target application will not assert the DTR virtual line, thus preventing writing operations to succeed.
56+
57+
For this reason, the SerialUSB::ignoreFlowControl() method disables the connection's state verification, enabling the program to write on the port, even though the data might be lost.

0 commit comments

Comments
 (0)