drv_qspi.h 531 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Email: opensource_embedded@phytium.com.cn
  7. *
  8. * Change Logs:
  9. * Date Author Notes
  10. * 2023-03-20 zhangyan first version
  11. *
  12. */
  13. #ifndef __DRV_QSPI_H__
  14. #define __DRV_QSPI_H__
  15. #include "rtdef.h"
  16. #ifdef __cplusplus
  17. extern "C"
  18. {
  19. #endif
  20. rt_err_t phytium_qspi_bus_attach_device(const char *bus_name, const char *device_name);
  21. int rt_hw_qspi_init(void);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif // !DRT_QSPI_H