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.
25 lines
415 B
25 lines
415 B
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2021-03-04 Carl the first version
|
|
*/
|
|
|
|
#ifndef __DRV_USART_H__
|
|
#define __DRV_USART_H__
|
|
|
|
#include <rtthread.h>
|
|
#include "rtdevice.h"
|
|
#include "ft_uart.h"
|
|
|
|
struct drv_usart
|
|
{
|
|
Ft_Uart *handle;
|
|
|
|
struct rt_serial_device serial;
|
|
};
|
|
|
|
#endif // !
|
|
|