zephyr/drivers/serial
Steven Lemaire 1b94666c21 drivers: serial: gecko: Avoid getting masked interrupts
The USART_IntGet() function seems to return masked interrupts in the
function uart_gecko_irq_tx_ready() where it should return only
non-masked interrupts. Using USART_IntGetEnabled() fixes this issue.

This issue was discovered when using the mcumgr UART backend in the
uart_mcumgr_isr() function.

Signed-off-by: Steven Lemaire <steven.lemaire@zii.aero>
2020-08-06 11:49:16 +02:00
..
CMakeLists.txt
Kconfig
Kconfig.altera_jtag
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx
Kconfig.cmsdk_apb
Kconfig.esp32
Kconfig.gecko
Kconfig.imx
Kconfig.leuart_gecko
Kconfig.litex
Kconfig.lpc11u6x
Kconfig.mcux
Kconfig.mcux_flexcomm
Kconfig.mcux_lpsci
Kconfig.mcux_lpuart
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix
Kconfig.nrfx
Kconfig.ns16550
Kconfig.nuvoton
Kconfig.pl011
Kconfig.psoc6
Kconfig.rtt
Kconfig.rv32m1_lpuart
Kconfig.sam0
Kconfig.sifive
Kconfig.stellaris
Kconfig.stm32
Kconfig.uart_sam
Kconfig.usart_sam
Kconfig.xlnx
Kconfig.xmc4xxx
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_liteuart.c
uart_lpc11u6x.c
uart_lpc11u6x.h
uart_mcux_flexcomm.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_ns16550.h
uart_nuvoton.c
uart_pl011.c
uart_psoc6.c
uart_rtt.c
uart_rv32m1_lpuart.c
uart_sam.c
uart_sam0.c
uart_sifive.c
uart_stellaris.c
uart_stm32.c
uart_stm32.h
uart_xlnx_ps.c
uart_xmc4xxx.c
usart_sam.c