mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-13 20:47:38 +00:00
Without first triggering TASKS_STOP{RX,TX}, I observed that the UARTE was never disabled when using device_set_power_state which resulted in the HFCLK never being shut down and several hundred microamps in unnecessary current consumption when idle. This seems to fix the issue. Also added special treatment of uarte if CONFIG_UART_ASYNC_API is selected. Note that the #ifdef isn't enough, since it's possible that the option is set, but only one of the UARTs uses it. Signed-off-by: Benjamin Lindqvist <benjamin.lindqvist@endian.se> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.altera_jtag | ||
Kconfig.cc13xx_cc26xx | ||
Kconfig.cc32xx | ||
Kconfig.cmsdk_apb | ||
Kconfig.esp32 | ||
Kconfig.gecko | ||
Kconfig.imx | ||
Kconfig.leuart_gecko | ||
Kconfig.mcux | ||
Kconfig.mcux_lpc_usart | ||
Kconfig.mcux_lpsci | ||
Kconfig.mcux_lpuart | ||
Kconfig.miv | ||
Kconfig.msp432p4xx | ||
Kconfig.native_posix | ||
Kconfig.nrfx | ||
Kconfig.ns16550 | ||
Kconfig.nsim | ||
Kconfig.pl011 | ||
Kconfig.psoc6 | ||
Kconfig.qmsi | ||
Kconfig.rv32m1_lpuart | ||
Kconfig.sam0 | ||
Kconfig.sifive | ||
Kconfig.stellaris | ||
Kconfig.stm32 | ||
Kconfig.uart_sam | ||
Kconfig.usart_sam | ||
leuart_gecko.c | ||
uart_altera_jtag_hal.c | ||
uart_cc13xx_cc26xx.c | ||
uart_cc32xx.c | ||
uart_cmsdk_apb.c | ||
uart_esp32.c | ||
uart_gecko.c | ||
uart_handlers.c | ||
uart_imx.c | ||
uart_mcux_lpsci.c | ||
uart_mcux_lpuart.c | ||
uart_mcux.c | ||
uart_miv.c | ||
uart_msp432p4xx.c | ||
uart_native_posix.c | ||
uart_nrfx_uart.c | ||
uart_nrfx_uarte.c | ||
uart_ns16550_port_x.h | ||
uart_ns16550.c | ||
uart_nsim.c | ||
uart_pl011.c | ||
uart_psoc6.c | ||
uart_qmsi.c | ||
uart_rv32m1_lpuart.c | ||
uart_sam.c | ||
uart_sam0.c | ||
uart_sifive.c | ||
uart_stellaris.c | ||
uart_stm32.c | ||
uart_stm32.h | ||
usart_mcux_lpc.c | ||
usart_sam.c |