1 /* 2 * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its 3 * affiliates 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef R_SPI_CFG_H_ 9 #define R_SPI_CFG_H_ 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #define SPI_CFG_PARAM_CHECKING_ENABLE (1) 15 #if CONFIG_SPI_RA_DTC 16 #define SPI_DMA_SUPPORT_ENABLE (1) 17 #else 18 #define SPI_DMA_SUPPORT_ENABLE (0) 19 #endif 20 #define SPI_TRANSMIT_FROM_RXI_ISR (0) 21 22 #ifdef __cplusplus 23 } 24 #endif 25 #endif /* R_SPI_CFG_H_ */