drv_uart.h 482 B

12345678910111213141516171819202122
  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-01-28 flybreak first version
  9. * 2023-09-26 1ridic Integrate with RT-Thread driver framework.
  10. */
  11. #ifndef __DRV_UART_H__
  12. #define __DRV_UART_H__
  13. #include <rthw.h>
  14. #include <rtthread.h>
  15. #ifdef RT_USING_SERIAL
  16. int rt_hw_uart_init(void);
  17. #endif /* RT_USING_SERIAL */
  18. #endif /* __DRV_UART_H__ */