drv_spi.h 487 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2006-2023, 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. * 2022-11-10 liqiaozhong first commit
  11. * 2023-03-08 liqiaozhong support 4 spis and qspi working together
  12. */
  13. #ifndef __DRV_SPI_H__
  14. #define __DRV_SPI_H__
  15. #include <rtthread.h>
  16. #ifdef __cplusplus
  17. extern "C"
  18. {
  19. #endif
  20. int rt_hw_spi_init(void);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif