drv_sci.h 600 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-09-24 Vandoul first version
  9. */
  10. #ifndef __DRV_SCI_H__
  11. #define __DRV_SCI_H__
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. #include "hal_data.h"
  15. #include "board.h"
  16. #include <rthw.h>
  17. #include <drv_common.h>
  18. #include <drv_config.h>
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. rt_err_t drv_sci_spi_device_attach(const char *bus_name, const char *device_name, rt_base_t cs_pin);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /*__DRV_SCI_H__ */