Skip to content
Commit 00378b56 authored by Aksel Skauge Mellbye's avatar Aksel Skauge Mellbye Committed by Alberto Escolar
Browse files

drivers: serial: gecko: Add device power management



Add basic device power management to USART driver. The initial
implementation only ensures that the TX FIFO is flushed before
allowing the system to go to sleep by polling the TXIDLE status
register.

This fixes an issue where the last 1-2 characters would be lost
if transmitted immediately before going to deep sleep.

Signed-off-by: default avatarAksel Skauge Mellbye <aksel.mellbye@silabs.com>
parent e0b748e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment