Skip to content

Commit

Permalink
docs/library/machine.UART.rst: Add details for invert parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
climblinne authored and dpgeorge committed Mar 7, 2022
1 parent d696d91 commit 5d9171b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/library/machine.UART.rst
Expand Up @@ -63,6 +63,12 @@ Methods
- *timeout* specifies the time to wait for the first character (in ms).
- *timeout_char* specifies the time to wait between characters (in ms).
- *invert* specifies which lines to invert.

- ``0`` will not invert lines (idle state of both lines is logic high).
- ``UART.INV_TX`` will invert TX line (idle state of TX line now logic low).
- ``UART.INV_RX`` will invert RX line (idle state of RX line now logic low).
- ``UART.INV_TX | UART.INV_RX`` will invert both lines (idle state at logic low).

- *flow* specifies which hardware flow control signals to use. The value
is a bitmask.

Expand Down

0 comments on commit 5d9171b

Please sign in to comment.