Skip to content
Commit 238067df authored by Jordan Yates's avatar Jordan Yates Committed by Anas Nashif
Browse files

serial: uart_nrfx_uarte: graceful async power down



Gracefully shutdown the UARTE peripheral when the async API is used.
Failure to do so results in the driver being unusable when powered back
up as the required events (ENDTX & TXSTOPPED) are not set. This also
ensures that the last byte sent out via `poll_out` is properly output
on the serial line before powering down.

Fixes #31930.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 5979b008
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment