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 11 #ifndef __DRV_USART_H__ 12 #define __DRV_USART_H__ 13 14 #include <rtthread.h> 15 #include "rtdevice.h" 16 #include "ft_uart.h" 17 18 struct drv_usart 19 { 20 Ft_Uart *handle; 21 22 struct rt_serial_device serial; 23 }; 24 25 #endif // ! 26