summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/drivers/drv_qspi.h
blob: 32af7f34bb5f1191fdc8ff9d82cc2f6ed75d3108 (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
31
32
33
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Email: [email protected]
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-03-20     zhangyan     first version
 *
 */

#ifndef __DRT_QSPI_H__
#define __DRT_QSPI_H__

#include <rtthread.h>
#ifdef RT_USING_QSPI
#define PHYTIUM_QSPI_NAME "qspi"

#ifdef __cplusplus
extern "C"
{
#endif

rt_err_t phytium_qspi_bus_attach_device(const char *bus_name, const char *device_name);

#ifdef __cplusplus
}
#endif
#endif
#endif // !DRT_QSPI_H