1 /*
2  * @ : Copyright (c) 2021 Phytium Information Technology, Inc.
3  *
4  * SPDX-License-Identifier: Apache-2.0.
5  *
6  * @Date: 2021-04-25 14:01:39
7  * @LastEditTime: 2021-04-29 09:40:13
8  * @Description:  This files is for
9  *
10  * @Modify History:
11  *  Ver   Who        Date         Changes
12  * ----- ------     --------    --------------------------------------
13  */
14 #ifndef FT_DRIVERS_RTT_SPI_H
15 #define FT_DRIVERS_RTT_SPI_H
16 
17 #include <rtthread.h>
18 
19 #define SPI_BUS_NAME "spi0"
20 #define SPI_DEV_NAME "S25FS256"
21 
22 rt_err_t rt_hw_spi_device_attach(const char *bus_name, const char *device_name, rt_uint16_t cs_gpio_pin);
23 
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28 
29 #endif
30