drv_qspi.h 574 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-04-11 Carl the first version
  9. */
  10. #ifndef __DRT_QSPI_H__
  11. #define __DRT_QSPI_H__
  12. #include <rtthread.h>
  13. #ifdef __cplusplus
  14. extern "C"
  15. {
  16. #endif
  17. #define FT2004_QSPI_NAME "qspi"
  18. rt_err_t ft2004_qspi_bus_attach_device(const char *bus_name, const char *device_name, rt_uint8_t data_line_width, void (*enter_qspi_mode)(), void (*exit_qspi_mode)());
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif // !DRT_QSPI_H