drv_uart.h 481 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-08-04 tangzz98 first version
  9. *
  10. */
  11. #ifndef __DRV_UART_H__
  12. #define __DRV_UART_H__
  13. #include <rtthread.h>
  14. #include <rthw.h>
  15. #ifdef RT_USING_DEVICE
  16. #include <rtdevice.h>
  17. #endif
  18. #include "driver/uart.h"
  19. #include "hal/uart_hal.h"
  20. #include "sdkconfig.h"
  21. int rt_hw_uart_init(void);
  22. #endif /* __DRV_UART_H__ */