1# Copyright (c) 2020 Linumiz 2# 3# Author: Parthiban Nallathambi <parthiban@linumiz.com> 4# SPDX-License-Identifier: Apache-2.0 5 6config UART_XMC4XXX 7 bool "XMC4XX UART driver" 8 default y 9 depends on DT_HAS_INFINEON_XMC4XXX_UART_ENABLED 10 select SERIAL_HAS_DRIVER 11 select SERIAL_SUPPORT_INTERRUPT 12 select SERIAL_SUPPORT_ASYNC if DT_HAS_INFINEON_XMC4XXX_DMA_ENABLED 13 select DMA if UART_ASYNC_API 14 help 15 This option enables the XMC4XX UART driver. 16 17if UART_XMC4XXX 18 19config UART_XMC4XXX_RX_FIFO_INT_TRIGGER 20 bool "Continue to trigger fifo rx interrupt" 21 default n 22 help 23 When this option is enabled, an interrupt will continue to trigger 24 if there is data in the receive fifo. Otherwise, an interrupt will 25 trigger only once on the first received byte. The receive fifo will 26 need to be fully flushed so that the interrupt will trigger again. 27 28endif 29