Driver: Add pin inversion to Esp32 Uart
Additional properties are added to esp32 uart to allow for signal inversion. Signed-off-by: Ayush Kothari <ayush@croxel.com>
This commit is contained in:
parent
3032321938
commit
13dfd86616
2 changed files with 23 additions and 0 deletions
|
@ -21,3 +21,15 @@ properties:
|
|||
Overrides hw-flow-control if both are set.
|
||||
Using this mode, the pin assigned to DTR
|
||||
is asserted during transmission.
|
||||
|
||||
tx-invert:
|
||||
type: boolean
|
||||
description: |
|
||||
Invert the binary logic of tx pin. When enabled, physical logic levels are inverted and
|
||||
we use 1=Low, 0=High instead of 1=High, 0=Low.
|
||||
|
||||
rx-invert:
|
||||
type: boolean
|
||||
description: |
|
||||
Invert the binary logic of rx pin. When enabled, physical logic levels are inverted and
|
||||
we use 1=Low, 0=High instead of 1=High, 0=Low.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue