1 /* 2 * Copyright (c) 2006-2023, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Email: opensource_embedded@phytium.com.cn 7 * 8 * Change Logs: 9 * Date Author Notes 10 * 2022-11-10 liqiaozhong first commit 11 * 2023-03-08 liqiaozhong support 4 spis and qspi working together 12 */ 13 #ifndef __DRV_SPI_H__ 14 #define __DRV_SPI_H__ 15 16 #include <rtthread.h> 17 #ifdef __cplusplus 18 extern "C" 19 { 20 #endif 21 22 int rt_hw_spi_init(void); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif 29 30 31