1 /*
2 * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6 
7 #ifndef R_SCI_B_UART_CFG_H_
8 #define R_SCI_B_UART_CFG_H_
9 #ifdef __cplusplus
10             extern "C" {
11             #endif
12 
13 #define SCI_B_UART_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
14 #define SCI_B_UART_CFG_FIFO_SUPPORT (CONFIG_UART_RA_SCI_B_UART_FIFO_ENABLE)
15 #define SCI_B_UART_CFG_DTC_SUPPORTED (CONFIG_USE_RA_FSP_DTC)
16 #define SCI_B_UART_CFG_FLOW_CONTROL_SUPPORT (0)
17 #if CONFIG_UART_INTERRUPT_DRIVEN && !BSP_CFG_INTERRUPT_INIT
18  #undef BSP_CFG_INTERRUPT_INIT
19  #define BSP_CFG_INTERRUPT_INIT (CONFIG_UART_INTERRUPT_DRIVEN)
20 #endif
21 
22 #ifdef __cplusplus
23             }
24             #endif
25 #endif /* R_SCI_B_UART_CFG_H_ */
26