zephyr/drivers/serial
Benjamin Lindqvist 55e2014d99 drivers: nrf: Trigger STOP RX event and wait before disabling UARTE
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>
2019-05-14 17:02:17 +02:00
..
CMakeLists.txt drivers/uart_ns16550: move UART configuration boilerplate to template 2019-05-04 18:29:32 -04:00
Kconfig soc: ti_simplelink: add support for TI CC13x2 / CC26x2 series 2019-05-04 09:13:43 -05:00
Kconfig.altera_jtag
Kconfig.cc13xx_cc26xx soc: ti_simplelink: add support for TI CC13x2 / CC26x2 series 2019-05-04 09:13:43 -05:00
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 drivers: serial: add config for uart 4 2019-04-18 16:11:34 -05:00
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix
Kconfig.nrfx driver: api: uart: remove exclusive config for async api 2019-05-01 08:33:16 -07:00
Kconfig.ns16550
Kconfig.nsim
Kconfig.pl011
Kconfig.psoc6
Kconfig.qmsi
Kconfig.rv32m1_lpuart
Kconfig.sam0 soc: sam0: Enable generic peripheral selection 2019-04-19 14:37:17 -05:00
Kconfig.sifive
Kconfig.stellaris
Kconfig.stm32
Kconfig.uart_sam
Kconfig.usart_sam
leuart_gecko.c
uart_altera_jtag_hal.c
uart_cc13xx_cc26xx.c soc: ti_simplelink: add support for TI CC13x2 / CC26x2 series 2019-05-04 09:13:43 -05:00
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 driver: api: uart: remove exclusive config for async api 2019-05-01 08:33:16 -07:00
uart_nrfx_uarte.c drivers: nrf: Trigger STOP RX event and wait before disabling UARTE 2019-05-14 17:02:17 +02:00
uart_ns16550_port_x.h drivers/uart_ns16550: fix style issues flagged by Zephyrbot 2019-05-04 18:29:32 -04:00
uart_ns16550.c drivers/uart_ns16550: move UART configuration boilerplate to template 2019-05-04 18:29:32 -04:00
uart_nsim.c
uart_pl011.c
uart_psoc6.c
uart_qmsi.c
uart_rv32m1_lpuart.c
uart_sam.c
uart_sam0.c soc: sam0: Remove SERCOM defines from dts_fixup.h 2019-05-03 08:46:57 -05:00
uart_sifive.c drivers: serial: sifive: Fix UART extern interrupts 2019-05-01 10:29:28 -04:00
uart_stellaris.c
uart_stm32.c Driver: Uart: Add support of 9 bits data length for STM32 2019-05-07 23:16:55 -04:00
uart_stm32.h drivers: serial: stm32: dts binding, and fixup for flow control 2019-04-17 16:09:54 -05:00
usart_mcux_lpc.c
usart_sam.c