Skip to content
Commit 0b9fce46 authored by Bas van Loon's avatar Bas van Loon Committed by Benjamin Cabé
Browse files

drivers: serial: uart_mcux_lpuart: Restore lpuart CTRL register.



When RTS/CTS is toggled it disables the receiver and transmitter
bits to be able to change the flow control bits in the MODIR register.

After it has done so, it should restore the original value of the
CTRL register to re-enable the transmitter and/or receiver if they
were enabled before calling the mcux_lpuart_line_ctrl_set_rts()
function.

Signed-off-by: default avatarBas van Loon <bas@arch-embedded.com>
parent 19384038
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment