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  * 2021-01-04     iysheng           first version
9  */
10 
11 #ifndef __DRV_USART_H__
12 #define __DRV_USART_H__
13 
14 #include <rthw.h>
15 #include <rtthread.h>
16 
17 /* V85XX uart driver */
18 struct V85xx_uart {
19     UART_TypeDef * uart_periph;
20     IRQn_Type irqn;
21 
22     struct rt_serial_device *serial;
23     char *device_name;
24 };
25 
26 #endif
27