mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 09:59:24 +08:00
27 lines
466 B
C
27 lines
466 B
C
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2021-01-04 iysheng first version
|
|
*/
|
|
|
|
#ifndef __USART_H__
|
|
#define __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
|