1 /* 2 * Copyright (c) 2006-2025, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2023-09-24 Vandoul first version 9 */ 10 11 #ifndef __DRV_SCI_H__ 12 #define __DRV_SCI_H__ 13 14 #include <rtthread.h> 15 #include <rtdevice.h> 16 #include "hal_data.h" 17 #include "board.h" 18 #include <rthw.h> 19 #include <drv_common.h> 20 #include <drv_config.h> 21 22 #ifdef __cplusplus 23 extern "C" { 24 #endif 25 26 #ifdef BSP_USING_SCIn_SPI 27 rt_err_t rt_hw_sci_spi_device_attach(const char *bus_name, const char *device_name, rt_base_t cs_pin); 28 #endif 29 30 #ifdef __cplusplus 31 } 32 #endif 33 34 #endif /*__DRV_SCI_H__ */ 35