1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2021-04-11 Carl the first version 9 */ 10 11 #ifndef __DRT_QSPI_H__ 12 #define __DRT_QSPI_H__ 13 14 #include <rtthread.h> 15 16 #ifdef __cplusplus 17 extern "C" 18 { 19 #endif 20 21 #define FT2004_QSPI_NAME "qspi" 22 23 rt_err_t ft2004_qspi_bus_attach_device(const char *bus_name, const char *device_name, rt_uint8_t data_line_width, void (*enter_qspi_mode)(), void (*exit_qspi_mode)()); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif // !DRT_QSPI_H 30