summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/drivers/drv_spi.h
blob: b3c8535db819d8c0a41d9a171ee1a6efc384a03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Email: [email protected]
 *
 * Change Logs:
 * Date        Author       Notes
 * 2022-11-10  liqiaozhong  first commit
 * 2023-03-08  liqiaozhong  support 4 spis and qspi working together
 */
#ifndef __DRV_SPI_H__
#define __DRV_SPI_H__

#include <rtthread.h>
#ifdef __cplusplus
extern "C"
{
#endif

int rt_hw_spi_init(void);

#ifdef __cplusplus
}
#endif

#endif