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  * 2021-09-07     FuC               Suit for V85xx
10  * 2021-09-12     ZhuXW             Suit for V85xxP
11 */
12 
13 #ifndef __DRV_USART_H__
14 #define __DRV_USART_H__
15 
16 #include <rthw.h>
17 #include <rtthread.h>
18 
19 /* V85XXP uart driver */
20 struct V85xxP_uart {
21     UART_Type * uart_periph;
22     IRQn_Type irqn;
23 
24     struct rt_serial_device *serial;
25     char *device_name;
26 };
27 
28 #endif
29