You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
474 B
27 lines
474 B
5 months ago
|
/*
|
||
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2021-01-04 iysheng first version
|
||
|
*/
|
||
|
|
||
|
#ifndef __DRV_USART_H__
|
||
|
#define __DRV_USART_H__
|
||
|
|
||
|
#include <rthw.h>
|
||
|
#include <rtthread.h>
|
||
|
|
||
|
/* V85XX uart driver */
|
||
|
struct V85xx_uart {
|
||
|
UART_TypeDef * uart_periph;
|
||
|
IRQn_Type irqn;
|
||
|
|
||
|
struct rt_serial_device *serial;
|
||
|
char *device_name;
|
||
|
};
|
||
|
|
||
|
#endif
|