rt-thread/bsp/stm32/libraries/HAL_Drivers/drv_qspi.h

27 lines
561 B
C
Raw Normal View History

/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
2019-01-22 10:00:45 +08:00
* 2018-11-27 zylx first version
*/
2020-09-03 14:59:18 +08:00
#ifndef __DRV_QSPI_H__
#define __DRV_QSPI_H__
#include <rtthread.h>
2020-09-03 14:59:18 +08:00
#ifdef __cplusplus
extern "C" {
#endif
rt_err_t stm32_qspi_bus_attach_device(const char *bus_name, const char *device_name, rt_uint32_t pin, rt_uint8_t data_line_width, void (*enter_qspi_mode)(), void (*exit_qspi_mode)());
2020-09-03 14:59:18 +08:00
#ifdef __cplusplus
}
#endif
2020-09-04 07:59:37 +08:00
#endif /* __DRV_QSPI_H__ */