docs/library/pyb.UART: Added clarification about timeouts.

This commit is contained in:
Lorenz Schmid 2016-12-14 23:07:42 +01:00 committed by Damien George
parent c16e7eae5e
commit 0caac94b98
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ Methods
- ``stop`` is the number of stop bits, 1 or 2. - ``stop`` is the number of stop bits, 1 or 2.
- ``flow`` sets the flow control type. Can be 0, ``UART.RTS``, ``UART.CTS`` - ``flow`` sets the flow control type. Can be 0, ``UART.RTS``, ``UART.CTS``
or ``UART.RTS | UART.CTS``. or ``UART.RTS | UART.CTS``.
- ``timeout`` is the timeout in milliseconds to wait for the first character. - ``timeout`` is the timeout in milliseconds to wait for writing/reading the first character.
- ``timeout_char`` is the timeout in milliseconds to wait between characters. - ``timeout_char`` is the timeout in milliseconds to wait between characters while writing or reading.
- ``read_buf_len`` is the character length of the read buffer (0 to disable). - ``read_buf_len`` is the character length of the read buffer (0 to disable).
This method will raise an exception if the baudrate could not be set within This method will raise an exception if the baudrate could not be set within