2023-05-11 10:25:21 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Email: opensource_embedded@phytium.com.cn
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2023-03-20 zhangyan first version
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-11-21 17:42:23 +08:00
|
|
|
#ifndef __DRV_QSPI_H__
|
|
|
|
#define __DRV_QSPI_H__
|
2023-05-11 10:25:21 +08:00
|
|
|
|
2023-12-08 17:57:55 +08:00
|
|
|
#include "rtdef.h"
|
2023-05-11 10:25:21 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
rt_err_t phytium_qspi_bus_attach_device(const char *bus_name, const char *device_name);
|
|
|
|
|
2023-12-08 17:57:55 +08:00
|
|
|
int rt_hw_qspi_init(void);
|
|
|
|
|
2023-05-11 10:25:21 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif // !DRT_QSPI_H
|
|
|
|
|