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  * 2017-12-04     Haley        the first version
9  */
10 
11 #ifndef __SPI_H_
12 #define __SPI_H_
13 
14 #include <rtthread.h>
15 
16 /* 片选信号结构声明 */
17 struct am_spi_cs
18 {
19     rt_uint32_t chip_select;
20 };
21 
22 /**
23  * @brief External function definitions
24  *
25  */
26 int yr_hw_spi_init(void);
27 
28 #endif // __SPI_H_
29