drv_usart.h 415 B

12345678910111213141516171819202122232425
  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-03-04 Carl the first version
  9. */
  10. #ifndef __DRV_USART_H__
  11. #define __DRV_USART_H__
  12. #include <rtthread.h>
  13. #include "rtdevice.h"
  14. #include "ft_uart.h"
  15. struct drv_usart
  16. {
  17. Ft_Uart *handle;
  18. struct rt_serial_device serial;
  19. };
  20. #endif // !